Hacker Newsnew | past | comments | ask | show | jobs | submit | thiderman's commentslogin

If you have a DDoS network, taking down something large like Github is a good way to display your power to any potential customer.


Github still holds quite a lot of nines in terms of uptime. It's just that it's extra visible when something big like Github goes down.

The important part you should consider is to switch go git. I'd recommend starting to use Github, and if you find that it's down too much, look at alternatives or at hosting a solution yourself.


No they don't now. Because of the recent DDoSes, they're at 99.93%.


Correct me if I'm wrong, but that still seems like a lot of nines.


Not if you need less than 30m of downtime a month to run your business.


https://github.com/rossy2401/img2xterm

It's pretty easy to use. The problem is usually to create good input for it. I spent roughly an hour in GIMP just tweaking the original doge.png and trying to get good dithering for the colors.


This is worth a few good giggles from my friends so good job! Just a few questions after peeking through the source: how long did it take you? Why is it so much more complicated than it seems on first impression? What was the hardest part?


The initial code work was probably not even an hour from initial idea to actually having random colored strings and a test shibe. Then I spent some time tweaking the image to be better, as already mentioned.

I never felt it looked complicated. The code is not even 300 lines, and at least I feel that the abstraction is all right. I wrote the code to be flexible, and because of that, adding piping to stdout was really simple. What parts of the code do you find complicated?

The hardest part was getting the Python packaging right, haha. It was difficult to get the doge.txt file distributed in the package in a path that would work both when installed to site-packages and that would work whilst developing. I have since started doing more Python packaging for my other projects (I'm on a contribution streak, so I do a lot right now) and it's gotten a lot easier.


What's that font in the terminal? Inconsolata?


It is indeed!



Heh, cute. This means Github could probably do some automated means of informing these people that their code is insecure and would be a danger to themselves and their users. I'm not sure if they should, but it's interesting that they could.


There's definitely an opportunity for a service to help developers spot obvious security holes.

https://codeclimate.com/ is one I've used but it's Ruby only AFAIK.


Lots of these exist. Check out whitehatsec.com and veracode.com


I'm pretty sure anyone can write a github bot. I remember there used to be several (some of which would submit pull requests!)


GitHub has not been friendly to bots in the past[1].

[1] https://news.ycombinator.com/item?id=4982240 "GitHub Says ‘No Thanks’ to Bots — Even if They’re Nice"


The same bot could notify those people via email using the email address found in commits.


I've been a Lenovo man for the longest time, and I am currently running a T430s. I find it to be the best balance of physical size and computing power there is to find.


How do you find the keyboard? I'm not too concerned about the weird island style, but only six rows slightly freak me out (currently using a T410s).


The left side of the laptop gets noticeably hot if you don't vacuum the CPU cooling exhaust regularly. It would've not been a problem, but you end up resting left wrist on a very warm spot. Also the left pinky lingers exactly over the CPU and gets dry and itchy if you try and run a poorly written WebGL demo. The keyboard itself is fine, though I've been using laptops as a primary machine for 10+ years, so YMMV.


I was afraid I wouldn't like it, but after using it for a couple of weeks I am very pleased with it. I think the island style mainly was implemented to allow for the keyboard backlight. That's a bonus for me since I work in low light from time to time. Backlight really helps then. Also, the six rows things is no issue for me. I rarely se the extra keys anyways. The PrtSc placement perplexes me though.


Thanks – yes, the PrtSc key is a little…odd. I was wondering about the PgUp/Dn buttons as well, as they are in this stupid location where they absolutely don’t belong. Why do you find the keyboard backlight helpful? So far, I found the ThinkLight to be more flexible.

Guess I’ll wait a little longer and see what the future brings, hopefully a 4:3 notebook with seven full rows and no touchpad </dreaming>.


With adding the keyboard backlight, did they get rid of the Thinklight at top of the screen?


I can't speak for the T430S but the T430 has 2 levels of backlighting and then if I click function space 1 more time the backlighting goes off and the little lamp at the top of the screen turns on.


after using a t430s in the store, I went home and bought a t420s at the outlet store online, for that very reason.

ymmv. lots of people love the new style too.


Hrm, that's what I feared. I was a proud owner of a [0] before this one, but even the Core i520M slowly gets…slow, especially one of the newer graphics chips would be wonderful sometimes.

[0] http://www.youtube.com/watch?v=_hnOCUkbix0


Where did you find a T430 in a store? I haven't seen ThinkPads in any of the retailers in my area.


Lenovo has some dedicated shops, at least in Germany. What is ‘your area’?


>Oh, we're still fighting this "war"?

No, we're not. That's pretty much the point of the comment and the closing of the bug.


It would be an interesting move from Oracle to even try. Nothing would say corporate desperation as much as trying to buy the project that sprung out when you first bought the project.

That said, I wouldn't put it beneath them...


That probably gave me the most instant "wow" feeling any web page has ever given me. That's _really_ impressive!


That's a really bad screencast, since the fonts are barely readable. Still, cool features. Will try it out to see if they are useful or annoying.


Can't use XFT fonts. Doesn't set 256 colors properly. The blinking cursor is retarded and seemingly cannot be disabled. Those are kind of dealbreakers for me.

On the plus side, it feels really snappy. Impressive speed indeed.


Right click -> Options -> Behaviour -> Cursor blinking -> uncheck.


Thanks. Guess I was kinda quick to jump on that one.


What do you mean by "Doesn't set 256 colors properly" ? You can use fonts provided by fontconfig. Check https://www.youtube.com/watch?v=BYYfQrlXlcM


I want so badly for the XFT thing to not be a problem. All my favorite terms benefit from using the old font system instead, but there just aren't any good fonts I can use.

I do like some of the classic monospace fonts like 6x13, but my monitor resolution is just too high for that.


How about GNU unifont or terminus? they both have fairly large sizes.


I try terminus every now and again, but I always have trouble installing my own fonts (timeshare, not my box) and terminus isn't nice enough to motivate me to struggle through.


as someone who uses several (SEVERAL) xterms on the same screen and focus-follow-mouse, my best bet to see where my words will go when i type is to notice which screen has the blinking green cursor instead of the static white one.

that one would help a lot.

(i used to have a very visible window manager active border and shadows, and also lower the opacity of the non-focused ones... but gnome 3 designers in all their wisdom decided i didn't need all that)


I do that with XFCE. Active window gets a bright title bar and borders with dark text, inactive windows get dark title bars with light text and thinner borders. High contrast in both cases, but easy to differentiate.

Themes like that are very easy to change to suit yourself.


I know, i did that on every window manager since Irix.

But gnome3...

I'm only using it because I'm stubborn. And because i maintain one somewhat popular gui app and i want to test it where i know none of other contributors are testing


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: