skysight-inc/HackerNews huggingface dataset:
> The company chose to include that clause in the contract in order to retain the best and the brightest people

Because only the best and brightest would understand what it actually meant?

> there are probably any number of ways that you will get wiped out if you are no longer with them

That's why Facebook employees sell their options on secondary markets.
Live sensor visualizations
Not at all. That code IS easy to write. And when it's fine, it's fine. But when it's a bad idea, it's a bad idea.

This code allocates a lot of memory, needlessly. Why not just do a single `fread' to read in the TOC as one big lump, followed by a loop calling `strncmp' on each entry each time the offset of a particular resource is required? (You don't even need to malloc in this case; just decide that the TOC will never be more than a certain size, and put the buffer in the BSS.)

I personally would prefer the `fread' approach. It doesn't allocate lots of small pieces of memory, so the list of memory allocations is easier to read. You waste less space on malloc bookkeeping overhead, and/or you don't need to go to the effort of writing a specialised allocator for small allocations. If your hash table is closed, you won't end up with a big hole from where it had to rehash.

I've spent a fair amount of time getting game projects ready for release and it always, no matter how cunning everybody is (or tries to be), ends up with you - that'd be me, by the way - sitting there staring at a big long list of allocations, because something weird is happening. There are big holes appearing in the middle of memory, exactly where you don't want them, or there's just too much being allocated, or things are leaking, and the debugging infrastructure (if any) isn't being helpful for whatever reason. Probably those zillions of tiny little allocations exhausting the pool available to store the debug info.

This sort of thing is an easy way to eat up the man-hours saved by writing code like the above. Though I suppose that if you (and this would not mean me this time) can get somebody else to do the cleanup work, it probably doesn't matter.

Of course, once you've done all the hard work of following my advice, you could just pre-generate the hash table in the file already, maybe using a perfect hash system, and use that instead. (One of my colleagues used to like this.) That's fine, but... what's the point? You're about to LOAD A FILE. You have to assume it will take at least 0.1 seconds before the read can even begin to start. The difference between getting to the entry quickly, and getting to the entry really quickly, will just get lost in the noise.

The points implied by this post are all there in his talk, I think ;)
Three things:

First, the guy could be accused of choking babies to death with child porn and that wouldn't make a damn bit of difference as far as his, and the rest of our, fundamental rights are concerned.

Second, accused (or even indicted) is absolutely different than convicted, which itself bears an indirect relationship to 'true'.

Third, courts typically don't post private proceedings on the internet - you'd be amazed how many things you wouldn't be able to "find anything" about via a google search. If he's being held for contempt in relation to a case that he's not actually a defendant in, I imagine it'd be really bloody difficult to find a whole lot about that online, and in either case I can't imagine any sane lawyer giving him the green light to post on the internet details about a case for which he's already being held in contempt.

But by all means, don't let me stop you from impugning the integrity of a man you admit to knowing nothing at all about.
When a user shares content through an application, you should not penalize the application itself when someone hides that content. I am almost positive this is a large reason why these bans are happening. It is a ridiculous measure of spamminess.

The problem, I imagine, is that many games provide incentives for posting stuff on other people's walls. That's clearly spam, but also technically initiated by the user.
I don't get it. Is this a DLL, a plugin, that has to be loaded by Mozilla? Or I'm missing something. I surely won't experiment, but I'm interested to know.
But don't you think that's kind of shitty?

"in line with what most of the rest of the industry does" doesn't make it any better of a metric.
No, they are not required to shut down their site by the letter of the law. However accepting money on the sabbath is not in keeping with the spirit of the sabbath, so I fully understand why they shut down.

A human is not allowed to work on the sabbath, but your machines can, as long as they run automatically.

Interestingly work animals are also required to be given the day off.

The main thing that is not in the spirit of the sabbath is accepting payments, even if by the letter of the law it's allowed.

For example, even though you could leave a physical shop open and unstaffed, and let people (non-jews) buy using the honor system, it's not the right thing to do.

However, leaving the shop open, so people can take things without money, and then they settle later is OK.
If it was prohibitively expensive for you to view (as it is for me), it's not really transparent, is it?
"the right to remain silent..." etc is the Miranda Act which applies when you are taken into custody but before you have been formally charged with a crime. It really just boils down to not having to say anything to the police without legal representation present. That no longer applies since he is now before a court and we can assume he has legal representation (or he was offered it and has refused).

To answer your question directly: No, it applies to all methods of communication.
> If his version is 15x faster than the original Go version, that would make it about twice as fast as the super-optimized C++ version from the paper

The article you just (sort of) read explicitly states that it's not much faster than the C++ version because the C++ version lacked many of the optimizations they did in the article. To make a fair comparison, they applied those same optimizations to the C++ one code and got similar performance:

Of course, it's no longer fair to compare this Go program to the original C++ program, which used inefficient data structures like sets where vectors would be more appropriate. As a sanity check, we translated the final Go program into equivalent C++ code. Its execution time is similar to the Go program's.
What's the topic? Here are some resources

UC Berkeley Webcast/Courses
http://webcast.berkeley.edu/courses.php

MIT's OpenCourseWare
http://ocw.mit.edu/index.htm

Mozilla's School of Webcraft
http://p2pu.org/en/schools/school-of-webcraft/

Google Code University
http://code.google.com/edu/courses.html

Khan Academy
http://www.khanacademy.org/

Ontwik
http://ontwik.com/

Code School
http://www.codeschool.com/

There are also a lot of startups focusing on tutoring&co, like

http://www.skillshare.com/

http://edufire.com/

http://www.tutorspree.com/

http://www.udemy.com/
I still maintain they should send an "all clear" email to people that weren't accessed, just for peace of mind.
A safe is obviously a safe. It obviously contains something.

http://en.wikipedia.org/wiki/The_Mystery_of_Al_Capone%27s_Va...
I dont think when Facebook said they had 500 million users that they meant they had 500 million active users.

From Facebook's Statistics Site

More than 500 million active users

50% of our active users log on to Facebook in any given day

http://www.facebook.com/press/info.php?statistics
Ask HN: Please review my startup - LiveBite.com
That is what I am trying to say.
Drew should really be handling their PR. I'm not sure why they still let Arash post anything publicly.
We Need a Black Zuckerberg
Can you explain the 12:01 effect? I've never come across that term before.
I think the title is misleading.... One person was responsible for exploiting up to 100 people.
awesome, thanks tilt!
Just curious where fellow hackers go to learn across the spectrum :)
The 2 Big, Glaring Failures of the "Voice 3.0" Manifesto
Probably not.

http://painting.about.com/cs/artistscopyright/f/copyrightfaq...
I'll take this point to clarify just what I mean. I totally agree when you say "he has a gift of cutting through the bullshit". And I think that's great, which is why I started following him on Twitter in the first place. I wanted to hear some more 'controversial' opinions from a guy who has quite a fanbase.

Yes - this is a generalisation - but, ultimately, I just found almost everything he said was criticising of something or someone else. To me personally, it feels like he was ultimately just trying to find fault with anything he could lay his hands on, like his job is a professional condemner.

And perhaps some people think that is one of his best skills and attributes, cutting through the bullshit - but I think he is a developer and an entrepreneur. And my view is that from developers, I want to hear things about technology and programming, and from entrepreneurs I want to hear about enterprise and innovation, by all means throw in a certain degree of pillory but I just don't want every single damn tweet to be lambasting someone else!

Maybe I am going out of my way to rail against him, and maybe that's hypocritical. I'm sorry. But when you're criticising for the sake of criticising, I feel that is unnecessary, and that's how it comes across to me.
The site could do with a little UI improvement. Background-vs.-body contrast is rather harsh on the eyes.
I haven't even received my notice that there was a security breach to begin with.

I wonder if Dropbox lists on its balance sheet a teflon shield, or jobsian field of distortion generator....
We'll probably have to retire terms like "eat your own dog food", though.
The more interesting point is that he may not be using a password in the first place; TrueCrypt can do arbitrary keyfiles. Someone found[1] a post elsewhere on the forum citing a subpoena that required someone to "type the passwords or pass phrases necessary to produce the encrypted contents of drives". If that quote is from the same case, he may be physically incapable of carrying out the subpoena as ordered.

[1] http://news.ycombinator.com/item?id=2693754
... Wow. That's an impressive number of resources - thanks a lot! I owe you a beer or something sometime! I'll probably release my solution as open-source, too, so anyone can use it.
Stories like this make me reflect on woes that I've been suffering for a couple of years. As founders (whatever the scale), shouldn't we pay more attention to the loyalty of the people we take under our wing? It seems a fairly common occurence - in my career and at large - to see a good thing taken over by the people we bring for help.

Personally, I wish I had paid attention to that 10 years ago, and I have a feeling that Tetzchner too.
An Israeli site has a problem that US sites don't. Although a Jew can leave a site running and even accept payments on the sabbath, that is only if non-jews are the ones sending the payment. (Because non-jews are not required to observe the sabbath.)

To accept a payment from a Jew on sabbath would definitely be wrong. So an Israeli site, which can expect that Jews will use it, must shut down on the Sabbath.

Leaving the site running, but not accepting money is probably the compromise they made because a lot of Israelis are secular.
Definitely depends on the topic. Typically I search for a forum dedicated to the subject. The forum's search will be great for finding generations of people asking how to do the same things you're now wondering about. And forums provide a living knowledge base rather than a static one.
Having written all that, this comes to mind: http://xkcd.com/386/ ;)
Far from being hacker myself, let's hear more from some serious ones
I don't think the $8B goes all into the set of programs that can be compared to what goes inside a Mac. Apple has a much narrower set of programs it offers their users and part of that $1.1B will go into hardware development. Also, by cleverly leveraging open-source software, their development costs are considerably reduced when compared to Microsoft.

OSX comes with Apache, Samba, GCC, SQLite, Python, Ruby, Perl and a host of tools Apple didn't have to develop themselves, while Microsoft has to fully fund, by itself, IIS, file and printer sharing, their C compiler, Jet, and PowerShell (something that can't compare with the flexibility of the last 3 I mentioned).

To put it very concisely, Apple spends less than 12% of Microsoft's budget, but spends it much more than 8 times better.
I realize that these are two separate stories, but how is someone not "in it to win it" if they get laid off immediately prior to the acquisition?
So they give you enough admin rights to install an app? Security theatre i think.
FWIW, duckduckgo has a feature that allows you to jump to any site from your search bar.

Searching for '!so Hello, world' will pull up a stackoverflow search for 'Hello, world', and searching for '!w Hello, World' will pull up the relevant Wikipedia page.
What is Microsoft doing about this? As the acquirer, they may still be able to "do the right thing" and make some of these guys whole. Sure, it may cost them a few million bucks; but can you imagine the goodwill it will generate for Microsoft? You can't buy that kind of good publicity!

But will Microsoft do such a thing? I doubt it very much. (I would love to be proven wrong, of course)
> Russ Cox (also a Googler) "shreded" the paper here without himself passing it by the Scala enthusiasts for their take on it, etc.

But russ didn't claim anything regarding Scala, the problem with the original paper is that it made explicit and implicit claims regarding Go, Scala, Java, etc. without really bothering to make much of an effort to make the comparison minimally realistic.
Ask HN: Hacker culture becomes mainstream. What's next?
Hacking, the culture of building things, ignoring conventions, moving quickly and breaking things has infiltrated biology, chemistry, electronics, software, space travel, politics etc. , it's becoming a mainstream mode of thinking and acting.

So, what's next?
BigCouch will let you build indexes in parallel.
I generally just use Google whenever I want anything. That way I just get pointed in the direction of the best resources.

@tilt has the best list, though. Update your question to be more specific please so we can answer better :)
I went to college, but was able to get 89% average with about 20 hours a week of homework/studying etc. The girl who beat me, as far as average goes got 99% but spent 60 hours a week on homework/studying.

I was able to tutor 10 students and build two serious web apps in that extra 40 hours a week, who do you think came out on top?
Google could drop you from results, but yeah I get your point.
ptomato's and jgmmo's answers are both right (I think), but seem a little contradictory. If I can be compelled to provide physical evidence, why can't I be compelled to provide mental evidence, e.g. testimony about my crime?
That was my point. Thanks for stepping and clarifying.
Something quite similar happened to me at FundsXpress when UBS forced the sale of the company. Even if your startup is successful, your most likely outcome is to get very little from the resulting sale. Succeeding is rare, but making significant money from success is even more rare, even if the company is profitable and makes a large return on investment for the VCs.

Statistics-wise, you are better off going into consulting. Don't quit your day job.
I had signed up for a separate account in order to get access to their API (you have to have an MCC account to use the API which requires you to create a new account - ridiculous IMO). They make outbound calls to new accounts to assist in setting up campaigns so when that happened I explained the situation and he played mediator to get it back up. Normally I wouldn't suggest breaking their ToS by making multiple accounts but it's likely the only way to get them on the phone.
The Judicial Conference waives fees if they amount to less than $10 in a quarter, I believe. So you get 125 pages free. Be aware that search results do count as a page, though.
But HP doesn't make their own PC operating system (yet).
Kevin mitnick dox hacked by Kryogeniks
FWIW I actually agree with you on this point. It's a bit of a prisoners dilema problem though. Basically everyone at this point has "defected" (reported signups). To be the only company to "cooperate (report active users) would be bad PR in a world in which most people don't pay attention to (or in many cases even understand) the difference.

It sucks a little, but I'm not sure what to do about it.

-harryh, engineering lead @ foursquare
The Short Happy Life of MeeGo
Alas, how we'll hollow out a mountain that'll stand for ages, so a rich man has a place for his wrist watch.
If anyone is unsuccessfully trying to find Bringhurst's book, the title is actually "The Elements of Typographic Style". (Strangely, at least three comments referred to it as "The Elements of Typography".)
I think the bigger takeaway from that article (for me) is that it was a really nice, honest letter to affected customers. I know they got somewhat of a black eye from their responses before, but this one was really good.
Why do you think all those companies report registered users instead of active? Because it's always likely to be much larger and to fool those who don't know any better. Many times the image you project, is in stark contrast with reality. Eg: Skype has 650M registered but when I log in at any given time, there are around 20M users.
We use truecrypt to secure business data on dropbox. It works OK but is not ideal. Problems occur if say I leave the container file mounted on my computer and someone else then mounts it on another. While a file is mounted no syncing can occur. The mere act of mounting and then dismounting a truecrypt file means that as far as dropbox is concerned the file has changed and requires syncing. So if user A mounts, then user B mounts before A dismounts then a copy of the truecrypt file ends up being added to the dropbox folder on each computer.

Whatever the solution is, I think that this security failure demands that user controlled encryption has to be part of it.
The US Social Security online services are also suspended at night (see right column, operating hours): http://www.ssa.gov/onlineservices/
The first link's reference is a dead link.

The second link doesn't really have references that are credible.

I'll repeat: anything reliable?
That's assuming the same algorithm is used throughout.

You can use one algorithm to encrypt/decrypt the original content. But you can use a different algorithm (with a different key) that would output a different output.

The secondary algorithm would be one that given a some text (ciphertext from the original encryption) along with the desired output, would return a suitable key. The most basic example to prove the point would be XOR.
Ya I typically use Google as well to find tutorials. But how do you know you are finding the best resources on Google?
Your story is inspiring but you're making the very common mistake of assuming because you did X and were successful, X is the key to success.

I'm sure there are many others like you who had a "never give up" attitude and put it all on the line for their business and then still drove their companies through the ground, entering financial ruin and perhaps destroying relationships (marriages, etc).

"Never give up" is a good mantra to have, but in reality sometimes you should give up... for now. If you're giving up your current company because the model is unworkable and the brand has no intrinsic value, that's a perfectly valid thing to do.

Sometimes you need to "pivot" more than you really can within the box you've built for your current small company. Regroup in the working class and then start a new thing later... that isn't really "giving up" and sometimes it is 100% the right thing to do.
> I imagine it'd be really bloody difficult to find a whole lot about that online, and in either case I can't imagine any sane lawyer giving him the green light to post on the internet details about a case for which he's already being held in contempt.

I can't imagine a lawyer giving him the green light to post on the internet asking people who don't know anything about the case to spam the judge and prosecutor, either.

In fact, he states that he doesn't have a lawyer.

If he expects people to write letters, he needs to explain WHY they need to write letters. That requires telling us what the case is actually about.
That's not the point. It's possible what he did should be protected by fair use. It's also possible that it shouldn't be and that he owed money. The point is, there was never a trial to decide it one way or another, he had to settle, not because he thought his case was weak, but because it was cheaper than if he did take it to court, win or lose.

The problem is that attempting the fair use defense results in an "I win or you lose" case, where either the defendant wins the case and loses some money, or the defendant loses the case and loses some more money.
Solving real problems?
I wanted to see the images and video from a procedure I had, and I wanted to give them to another doctor.

The provider told me to drive on over (about 20 miles) and pick up a CD.

I asked if they could upload it to Google Health.

They responded, wat?

So I drove on over.

Similarly, my accountant wanted to see various forms (W2, etc.,) so I put them on Google Docs and shared them with him.

He replied to my email that Google Docs sent him along with the link by asking me if I could email the documents to him.

I said, wat?

So I emailed the documents.
> It'd also be trivial to devise a decryption algorithm, and key, which "decrypts" anyones hard drive to reveal illegal images even when none are really there...

How trivial? Remember that the whole hard drive must be consistent, including a file system. Fifty gigabytes of garbage followed by a 2-megabyte photograph followed by fifty more gigabytes of noise is not plausible.
Get Windows 7 onto a USB stick w/ Ubuntu
Goodbye Basecamp, This Is The End
Yea, I can see how that could be a problem. Do you think I should just have a solid color background? Do you think the clouds are too busy?
Ya I def like this idea, but hate when I stumble on an old/dead topic with contributors long gone. So follow on questions can take forever
Are you talking about "Hide", "Report as Spam", or both? Because I hide stuff all the time.

Does it make a difference if a user had to explicitly select me in order to send me the message? Does that make it the user's fault and not the app - i.e. does asking consent of the sender give an app immunity?
Or some legacy app requires admin rights just to work, so instead of locking down they scan for badness every hour. Of course, that won't help against something really bad.
Let's remove the word "entrepreneur" from the dictionary
Lessons learned from Google Health
Nice, quick solid demo
Using it is not the hard bit. The hard bit is when it falls over, they know what they're doing and can fix it before I even find the right terms to google.

We have 6 servers, a bunch of software spread across them, an immense volume of data arriving every second of every day, and a couple thousand users to take care of. It is really nice to "just use" MongoDB and enjoy all the benefits of it without adding their job to my own.
And rather than pay for FF 3.6, enterprises will keep using IE 6 for free.