skysight-inc/HackerNews huggingface dataset:
> Good job justifying harassment. I'm sure anyone who bullied you thought they were justified too.

I'll try and keep calm when I explain this because, quite frankly in context, this is a ridiculous thing to say.

Consider, if you will, which of the following constitutes harassment or bullying.

a) Peppering your code with racist, homophobic, sexist, transphobic, or generally any other type of bigotry and posting it in a public place.

b) Correcting code which contains bigoted slurs, submitting a pull request and saying "Hey, I removed the stuff that makes people feel bad, would be super rad if you accept".

If you picked option b, I'm sorry, that's the wrong answer. But I'm a pretty nice guy, so I'll let you have another try!
Most physicists[1] would dispute the conclusion that "as such it doesn't exist." They would simply say that there can be no interaction with anything beyond the horizon---that stuff out there is certainly... out there.

[1] myself included
ok thanks for the suggestions! one other data point: we seem to have a ton of sleeping mysql connections that continue to crop up even after we try killing them. is this symptomatic of a botnet attack?
I am from CloudFlare. If you need help getting setup feel free to email me (dane AT cloudflare.com).
> This is a case where two people did something unusual in a work environment and garnered the attention of their coworkers. That's expected.

Did this ever say it was in their office? All it said was they were hula-hooping to some music and the response from the bench-full of male employees was embarrassing. If it were outdoors, it wouldn't be unusual.

Either way, in what world do you see something out of the ordinary — but not strange — happening at work and line up to gawk at it?

> It's unexpected that you think it necessarily implies sexual objectification.

It's certainly possible for a bench-full of 20-something programmers to sexually objectify someone. Julie was made to feel uncomfortable, and since she's the best eye witness to the event we've got, there's no reason to doubt her testimony.

Not everything needs to be picked apart. Sometimes, if a bunch of guys are gawking at women, that's what they're doing. You don't need to stick up for them.
You mean something like the Baseball's "World Series" when Baseball is practically unheard of elsewhere.

I think what they mean by the "world" is the U.S.
What's crazy is that enterprise pricing often comes down to, "is that one paragraph really worth $10,000+ to your business, and potentially much more than that?" If yes, pay for the enterprise pricing already.

If not...stop worrying about stuff that doesn't make that big a difference to your business!

Which of course continues to elude many people who would rather waste time arguing that $29 is too expensive. And this despite the fact that, as a business expense, $29 is quickly eclipsed by "at least one person in the business has to care about it at some point in a given month."
Fair enough. I misunderstood the parent when posting that. Re-reading it and your comment, it makes more sense.

That makes me curious as to just how much legacy code still exists in Vista/7/8/8.1, and where. I guess it's time for me to do some more research.
How to Use DVDShrink to Burn DVD without Installing Nero on Windows 8
If you want to download DVD Shrink 3.2.0.15 free and use it to burn DVDs without installing Nero 7/8/9 on Windows 8, please read this tutorial for DVD Shrink Alternative.
Read faster. ;>

Trolling was much, much better. There was a delicate obscenity to it that was appreciated by the smaller community.
The problem is you can't run with the DPad. You have to hold a button down to imitate it. So even with the 3DS analog stick, it'd still have the same problem.

That single handily broke the game for me. It doesn't feel good to use the touchscreen as an analog stick.
My understanding is that bank ATMs aren't on Windows XP proper, they're on Windows XP Embedded. According to this document:

https://www.microsoft.com/windowsembedded/en-us/product-life...

The equivalent end-of-support date for XP Embedded appears to be January 12, 2016 (though I don't understand the end-of-license date about a year later). And I'd have to think that that banks using XP Embedded for ATMs would be extremely likely to pay for ongoing security fixes if they still depended on it in 2016.
Do these people know that you wouldn't fund them anyway?
Australian Attorney General's new war on encrypted web services
Refocus on the third sentence...

Instead, they are elected by "electors" who are chosen by popular vote on a state-by-state basis.[3]
> I don't get what's all the buzz about streaming.

There is a noticeable difference between starting to watch a movie in 10 seconds and waiting >15 mins to download completely.

Suppose a movie takes an average 25 minutes to download. I can start watching it in my lunch break if I am streaming it. If I have to download it completely first, I may not have finished downloading it by the end of it.

Streaming is a _much_ better experience, even if it has a bunch of downsides.
He flies RC planes too. He just likes flying planes I think.
Whoa, blast from the past! I remember loading this up when I was on dialup!
Engineers and art – On Society and Jigsaw Puzzles
How about over water though?
Another example. Working "correctly" with threads is not something I would typically think of as a distinguishing feature of stack allocation. All basic c allocation techniques work equally well with threads. That is, they all work fine when only one thread attempts to perform transactions on the memory, and none of them do if more than one does (sans locks, of course).
Errr, I don't follow. I'm a co-founder and in an office of 5 people. My wife stops by to visit me at least once a week. The only defacto power she has is to steal my gummy worms off my desk.
Just as a reason for doing this in parallel. Space based detectors (such as LISA) are sensitive to a different frequency range than ground based detectors such as LIGO and thus to different of astrophysical phenomena [1]

[1] http://www.ast.cam.ac.uk/~rhc26/sources/
I am insufficiently skilled at MySQL to diagnose probable reasons for that, but think it is unlikely that it would be uniquely triggered by a botnet. Instead, I'm betting that it is a problem with the application (PHP, maybe?) which is opening one new connection per page view and failing to close it, either because the application is improperly coded or because the application might be dying due to lack of resources (caused by your traffic spike) and not clean up after itself in the event of death.
shutdown servers. go outside. frustrate attackers by don't caring.
Not sure why this isn't top of HN. Isn't this huge?

Stream Monday 17th, 15:55 UTC -

http://www.cfa.harvard.edu/news/news_conferences.html
Crypto Coins | Ultracoin (UTC)
> Maybe it's a stupid remard, but - isn't Windows XP vulnerable as it is right now anyway?

Yes, but until April 8th Microsoft will patch any uncovered vulnerabilities. After April 8th, hackers can have a field day because no one will patch any detected flaws. That's a big difference.

> Also, if someone is still running Windows XP in 2014, he probably doesn't use the newest updates and antivirus anyway ...

Not true, not true at all. It's too easy for a user to turn on automatic updates and run an antivirus program. My point is that one of these features will disappear 22 days from today, and hackers are going to exploit that fact to the fullest. There are even rumors that hackers are saving discovered XP vulnerabilities for use after April 8th, because they'll never be fixed and can therefore be exploited over and over.
If they didn't have the resources to upgrade from XP to something else in the last decade, what makes you think they have the resources (or knowledge) to hire developers?
After 9/11 we learned of "chatter".

I have wondered what the NSA etc. can say about chatter in recent weeks. What the NSA might know.

And if the NSA doesn't know, what that says about NSA efficacy.
Whether he isn't or is, it doesn't matter. Leave the poor guy alone you terrible people.
Wrong again, not in the music scene. A lot of people still prefer amps made out of vacuum tubes, because they feel the sound is more human, has more texture, and is more smooth.

Whether it's correct or not is not the point, but proves the point TylerE was making: This is an emotional thing. And some will make the point of theatre and cinema, but there's still theatre and theatre has never really been as interactive as a music concert / DJ on the deck anyway.
Malloc and free are not as low level as you portrait them. They actually do quite a bit of work, that could be done differently.

The article talked about different issues, though.
Blahah, after reading this for a few hours it's pretty easy to conclude, you are oblivious, as well as uneducated to this beautiful thing call self education and peer to peer sharing. AKA, The internet. Countless studies have been released stating the dangers of GMO's, glyphosate, agrobacterium, prions, and everything that has to do with MONSANTO..... Short of being shocked at your ignorance it's people like you holding back this movement.
Google DNS 8.8.8.8/32 was hijacked for ~22min yesterday
"door handle, gear shift, or paper book" are antiquated ideas that people either have gotten rid of or are in the process of removing in RL now that the tech exists.

Coffees cups, yes currently they'll be around for a while longer. To much culture attached ATM.
I wish these kind of articles targeted to higher-level programmers would start teaching to use 'calloc' before 'malloc'. New C users will have a bad time catching random bugs when they allocate a struct via malloc and immediately check members using de-referencing in 'if' conditions which will be randomly evaluated as true because malloc doesn't initialize the memory to zero and therefore all the members of the struct through the pointer returned by malloc are full of garbage. My rules are: either use malloc if you intent to immediately initialize the memory or use calloc and pass the pointer around.
Why would the US deploy such satellites to view the southern Indian Ocean? I could understand deployment in potential areas of interest, but that particular area is about as boring as it gets.

My point is that even if those capabilities exist, it's not clear that they would be able to help in this particular case.
What do you suggest? Should the government restrict the ability of people to set their own prices on the products they offer? Perhaps they can limit your wages too since it's so greedy of you to be making more than a basic liveable wage. What if the government paid for movies to be made then distributed the proceeds to the citizens, each according to his needs? No DRM, no greed.
Agreed that the the big environment concerts will have a place for a long time to come - but many of the bands we see are in small venues, usually seating < 200 people. I'm willing to wager that those types of experiences will be given a run for their money pretty soon.

Also - think of all the concerts with crappy sound balancing, poor sight lines, and long lines for the bathroom.
"...converting NetHack's codebase to a new language would be very difficult (even one as similar as C++, which has many potentially relevant details that differ from C)."

I was a NetHack devteam member for a few years in the late 1980s and early 1990s, so I got to know the code pretty well... it's pretty hairy, and that may be putting it mildly.

I wish the NetHack 4 folks would reconsider and explore a complete reimplementation in a new language. Yes, it would be a much more significant project, but I think it would be the best thing for the game in the long run. And it would be a lot of fun, but I'm biased.

I wonder what language would be the best choice at this point, for such a project.
What does your stack look like? If you're running a ruby app, check out rack-attack: https://github.com/kickstarter/rack-attack

It was created by kickstarter to fend off these kind of attacks.
>They do because they can.

Yes. In which case they should lose all moralistic pretenses.
They really don't. Suspend doesn't always wake up all devices, different kernel releases break hibernate completely. Also Ubuntu just disabled hibernate for a vast chunk of time. It's never worked properly. And don't get me started on all the playing around you have to do with powertop to get usable battery life.

And that is Ubuntu (12.04 LTS) noob friendly edition on standard Intel Centrino hardware.
Cloudflare's plans that include DDoS protection are as good or better than typical hosting resellers. May not know enough about your site to make the decisions a good datacenter team could though. On the up-side Cloudflare really is there 24/7.

Unfortunately the advanced DDoS support is only in their upper $$ plans. Might be worth it to keep your site revenue going though.
I would highly recommend Asus F202 laptop that has been my official work laptop (with my employer's) for over a year now. It's a single boot Arch Linux (removed Win 8). I work on Android (Eclipse) and embedded C / C++ (mostly vim and terminal, a little kdevelop). Two things that I love about Arch Linux that made me use it, first and the most important, rolling release and second, excellent docs and forums. Also, I've never had a driver issue.

The specs are good enough, i3 3rd gen, 4gb soldered RAM, 500gb, 11.6inch 1366x768 glossy touchscreen, 1.4kg. (It's like a budget macbook air).

No use for the touchscreen (it's more of a hinderance, when someone touches the screen while pointing out something). Two major essential that I needed for a laptop, small and lightweight, and non-reflective (put a matte screen guard which works great).

Highly recommended.
For a start, you can read the archive of that blog.
If you're really actually in a bind, drop me a line (email's in profile). I'll give you a hand.

If you're looking for advice on how to mitigate this yourself:

- apachetop is a useful tool for this sort of thing, and since the activity is occurring on a single site, it should be easy to use. (Assuming of course you use apache.)

- If it's an actual botnet, you'll need to pick some honeypot URLs -- links that regular customers aren't hitting but the botnet is -- and then use something like Fail2Ban to pipe accesses to those URLs into iptables bans.

- If it's a crawler, it should be from a limited set of IPs and a quick iptables rule addition will fix you up. For reference, here are two easy-to-use rules:

iptables -A INPUT -s <source_ip_address> -j DROP

iptables -A INPUT -m iprange --src-range <source_ip_range> -j DROP

The first rule will add a "drop" command to your INPUT table for any traffic coming from <source_ip_address>. The second rule will allow you to quickly drop a range of IP addresses; <source_ip_range> should look something like "10.0.0.1-10.0.1.255", and "iprange" is a literal.
Nethack dates back to 1987 (as the article says, predating ANSI C) and the same codebase is still in development today. You need to keep that in mind when reading the article. Nowadays, yeah, just using a garbage collected language would solve the vast majority of their problems with negligible effects on performance (it's a roguelike), but it wasn't really an option when the project started, and rewriting it now isn't acceptable either. This article still full of interesting tricks to have up your sleeve (comically unsafe things like the "ring buffer of objects" aside) in case you're in a similar situation as the Nethack devs were in the 80s and 90s, pushing the boundaries of what is possible in a video game/computer program of your choice on limited hardware.

>I'm rather agravated that this post has this level of visibility and the potential damage it can do.

Potential damage, really? The people naive enough to try everything listed in this article probably aren't programming in C to begin with these days. The average Fancy New Web Framework That Will Change Everything Again article hurts way more than this.
Who mentioned GC?

Modula-2 also uses manual memory management just like C.

So by using it, there is a whole class of C errors that are not exploitable:

- Buffer overflows

- Pointers that go astray, injure some critical data structure, only to die minutes later in another totaly unrelated place.

- Strings without null terminator

- No implicit conversions between types

- Proper enumerations

- Arrays are properly bound checked by default (unless explicitly disabled)

Still problems like memory leaks and double free exploits do prevail. However the set of possible exploits is surely smaller than C and C++ offer to hackers.
This is probably the dumbest theory I've heard so far. You can just render them in Europe and corporate jet them to anywhere on the planet.

No, let's take the entire god damn airliner! /sarcasm

Do conspiracy theorists even think their theories through before they say them?

I'm guessing no.
Detailed articles like this are great for understanding and exposing all the freedom and power you get with C's memory management philosophy. I agree with the author's view that it is sufficiently complex that it can force you to think about not allocating, i.e. "should I really be doing this?" and thus you often arrive at a simpler, more efficient solution than you would if you'd used something like Java and thought "I'll just create a new X object". I see this all the time in C code written by programmers who first learnt Java - malloc()'ing and copying objects everywhere, often with an underuse of free() and thus plenty of memory leaks.

My personal preference is for not using fixed-length buffers for storing things like (non-static) strings, unless I know for certain that they won't ever grow past a certain length (and document it clearly, so if something ever needs a length check I can go back and find them); strings of user input and other possibly indeterminately long things get documented as "limited by available memory" (i.e. they're dynamically allocated) or "limited to X bytes" (usually due to a fixed-length buffer somewhere).

As a note, the fragment

str = malloc(1 + sizeof "submenu");
strcpy(str, "submenu");
return str;

could be replaced by a single

return strdup("submenu");
I have an SSD. Windows resume from hibernate in about 8 seconds. Complete cold start takes 12 seconds (less than OSX). That's windows 7. On windows 8.1 it's even faster.
Actually flying at 5000 ft is pretty easy and airliners obviously have to do some of that during descent. The stuff fighter pilots do clearing power cables and hills by a few feet is quite different. Airliners avoid flying at 5000ft so as not to collide with light aircraft mostly.
"Sure, but how does hula-hooping poison the environment? As far as we can tell, the women doing the hula-hooping were doing it for fun/exercise with no sexual intent, and the men watching just thought it was entertaining and not sexual."

Exactly. The intension is very important.
Also if the hula hooping girls would of been bothered by the guys watching them I guess they should've let them know.
One of the things I'm very curious about is what effect this will have on GitHub's culture as a whole. I've been in a startups where one of my colleagues triggered events that slowly began transforming our startup culture into more of a corporate culture.
That was the 2nd one. The first one was as the Coordinator of International Relations at a prefectural technology incubator. We didn't have many International Relations to Coordinate and I was theoretically getting paid out of the R&D division's budget, so I got myself assigned to the anti-spam group so that I didn't spend 3 hours a month translating and 157 hours a month reading Slashdot.
I made one of those, and I was almost suspended in high school because I put a 'virus' on the shared drive.
On the other hand, if it's available, Valgrind will do a better job of catching uninitialized memory use if you use malloc instead of calloc.

(IMO, explicit initialization is better than just zeroing stuff out, because there's no guarantee that zeroed memory is valid. Especially when pointers are involved—dereferencing a null pointer in C is undefined behavior, so compilers are free to wreak havoc on any code that it can prove attempts to do that...)
Why do people even care when the story isn't fully developed?
> Ubuntu/RedHat/SUSE abandoned the distro? Well, hire devs to support it. You have the code.

They are too incompetent to switch from xp to vista or 7. What makes you think they could survive the transition to linux, let alone maintain a distribution?
Unless the satellites are in geosync, it's likely they are orbiting and could just randomly come across the correct area at that time.

If not, I'm wondering why people like Skybox [1] didn't deploy resources immediately to start covering ground. It seems like that approach would be much more effective than ships in the ocean?

[1] http://skyboximaging.com/
Except for those of us that were already coding in the 80s.

Modula-2, Turbo Pascal and Ada weren't research languages, rather well known languages, while C was mainly UNIX only one, slowly spreading alongside UNIX into the enterprise.

I think the problem is that many young developers never experienced those days and think C and C++ are the only game in town for systems programming languages.
> Not sure why this isn't top of HN.

Gravitational waves beating a story about someone who Hula hooped for a rapt audience of geeks? Get serious. :)

> Isn't this huge?

It could well be huge. Gravitational waves are the last confirmation of general relativity that so far has no direct observational evidence.

I say "direct" because pulsars (compact, very massive collapsed stars that emit radio pulses) have been observed to slow their pulse rates over time consistent with the idea that they're radiating away some of their kinetic energy in the form of gravitational waves. But this is indirect evidence at best, and there are other possible explanations for the decline in pulse rates.
I know, it's alarming how they even have the internet monopolized in a way....these quacks are everywhere
Perhaps he doesn't find the whole situation to be pleasant, but as of 6 days ago, he's been donated at least $28,000 (https://blockchain.info/address/1Dorian4RoXcnBv9hnQ4Y2C1an6N...). Hopefully this offsets things.
Did Malaysian Airlines 370 disappear using SIA68/SQ68 (another 777)?
Houston still weirds me out this way. I stayed in a warehouse near Dynamo for a year or so, in one direction it was a dystopian hell hole and in the other a booming-soon-to-be-hip area. I think that our lack of zoning laws makes this cycle even stranger compared to the rest of the country.
Is he gonna fix the damned gamera as well?
Dude! Check out Walter Russell! Russellian Science!
> It's seldom OK to use static variables even with accessor functions. Wrap the state that the functions operate in structs that you pass to functions.

Why? I note that the word "because" doesn't appear once in your post.
He says so in the video that he needs to work on the camera angle, among other things.
Python 3.4.0 released
That's true. I usually initialize the struct in the stack and then assign it to the pointer, then pass the pointer around.
How come it is not?

- Create an interpreter library for language X

- Offer a GUI/CLI application using the said library

Not all repls need to work at function level like LISP does.
The assumption for the past 100 years has been that gravity propagates as a wave -- as mentioned in the article, it's the last untested prediction of Einstein's general relativity. But conclusive evidence has not been discovered.