skysight-inc/HackerNews huggingface dataset:
This is actually just straight up stupid. In so many ways, that I don't care to do a useful deconstruction of the post.

I think we should expect a "Facebook is doomed" article at least once a month and just ignore them because they're usually baseless.
Hi there, code author here. I've been lurking here for years, but couldn't resist an invitation like this.

I've always enjoyed Fabien's analyses so it's great fun to see what he makes of my own code. Anyway, a few clarifications from what I remember of this. (I wrote this '09, and I don't have my old notes in front of me right now):

* The `n` value returned by the trace function, `T()`, is the surface normal. It returns this whether it hit the plane or a sphere.

* The `r` vector in `S()` is the reflection vector off whatever was hit.

* The mystery `c` point in the `main()` function is the offset from the eye point (ignoring the lens perturbation `t`) to the corner of the focal plane. Note below that we're nominally tracing rays for pixel (x,y) in the direction of ax+by+c. At the image midpoint, this should be `g`.

* "although I suspect this to be a side effect: This is not how soft-shadows are done." True. There are true soft shadows in this, but this isn't where they're computed. That's the job of the randomization where `l` is computed in `S()`.

Anyway, please feel free to ask any questions about it.
291 for me.

Colorblindness is frequently a problem: color-coded graphs and maps are usually unusable, and I often have to get help with color in design.
When has it ever been a legal requirement that backdoors be implemented in cryptographic systems?
Great article - but please spellcheck. There are typos every other sentences, it makes the article quite painful to read- which is a shame because the content is interesting!
There is no generic answer. Who is the intended audience, and what are they hoping to see? Look carefully at the various dimensions of the data. What is the nature of the dimension? What is its scale? What is its variation? How would it best be presented? Could you use colors or shapes or sizes instead of numbers? Will the view be interactive so detail can be brought out where requested? How large is your display area? Model out some types of queries your assumed audience might think about, and use these test cases to validate and refine your approach.
CSAW CTF 2013: An entry-level CTF for students who are new to security.
Guilty as charged!

I stopped trying to minimize it when I noticed that.
I deleted my LinkedIn account some time back, but I still get email like this (copy from actual email, not paraphrased)

Subject: [Freind]'s invitation is awaiting your response

Body: [Friend] would like to connect on LinkedIn. How would you like to respond?

[Photo of friend] Confirm you know [Friend]

... and ...

Subject: Invitation to connect on LinkedIn

Body: [Photo of friend]

[Me],

I'd like to include you in my network to share updates and stay in touch.

- [Friend]

All emails sent from friend's email account, not LinkedIn. I've confirmed with friend that they were completely unaware of this and were quite embarrassed.

Not cool, LinkedIn, and most definitely dishonest.
"and the condescension is well-deserved, IMO"

Really? You are to be expected to speak fluently in every language of any country you might visit? Or is it that you are expected to be polite and refuse to visit any country where you can't speak the language?

Criminy, there are far too many languages and interesting foreign countries around to be holding yourself to that standard. As english is the most common lingua franca, knowing it allows one to travel freely to the vast majority of the world and communicate on some level with some locals.

I am friends with a linguist - speaks 9 languages - if German wasn't one, would condescension still be well-deserved? Would you be condescending to a german/thai/ecuadorian visiting your hometown if they couldn't speak english?

Get over your self loathing and enjoy your travels...
Not really. Even this deck (which is clearly one that suffers from not having the full material) I still found it easy to get the general gist of the presentation in just a few minutes from clicking through the slides. Obviously I'd be able to get a lot more out of them if they were annotated with the full content, but I still found them useful on their own.
If you are linked to 100 people on your LinkedIn account, and 10 of them have the same set of people in the address book they imported into LinkedIn, it's not hard for LI to figure out you might also know people in that overlapped set, and recommend them. You don't need to import your address book for this to work -- just enough of your connections, who have connections in common with you, need to do it.
I'm excited to see a competitor to W3Schools if only to have a more useful, up-to-date index.

That said, a large part of the problem newcomers have learning to program is not the available materials, but rather the reason. I've seen many people start these tutorials but fail to complete them. They wanted to learn to code because it's something they want to know how to do, not because they had something to build. Programming is a means to an ends, a solution to a problem.

I'm not sure what the solution is, but a product that started with the reason why someone is learning to code or, even better, could give them a reason, would be very successful.
That's the very definition of a good problem to have.

It's much easier to over-estimate your potential success (and worry about it) than to under-estimate it and find you've done a bunch of work that was a waste of time. I've worked on features where I've over-thought them and designed them to limit the negative effects of being over-used, only to find that the real challenge is getting anyone to try them at all.
It also removes a lot of code complexity, or at least moves it to the computer where it's easier to write and update.
Well the other side of the equation also must be true. You should not be interviewing a PhD candidate unless you think you need one for that job. Else if you are interviewing a PhD even though a regular programmer would do, its not fair to the candidate. There in lies the main problem. The expectations are high for both parties involved. Also by definition they are already way too specialized and steering away from that specialization would be tough for a PhD as well.
hahaha never saw that!
At this price - I would love to see an array of these printing into a larger vat to produce large objects.

This will make it so meta-printers can be hacked together:

Mount the Peachy onto XY motion capabilities (whats the word for this?) axes? -- and it should be trivial to make a hydrolically lifted resin system that is quite large indeed. (that was the most ingenious part of this design, IMO.

It should be easy to create a resin vat calculator where you simply provide the XYZ dimensions of your container and it will calculate the drip-resolution for you so you know at what rate to adjust the flow to get whatever resolution you need.

I'm getting several of these.
Rather than asking "will it scale?", I suggest asking "could it scale?". There's no point in doing up-front work to make something scalable if you don't know if it will be needed, but it's also important not to design features that absolutely could not scale under any circumstances. If you can think to yourself "if I need to scale this, I've got a rough idea of how I would do it" you'll probably be fine. And if not... once again, not being able to scale fast enough is a great problem to have (telling an investor "I don't have time to talk to you, our server's can't keep up with all of our new signups" is a great pitch).
You are misapplying the second law of thermodynamics and calling it wisdom. The second law specifically applies to a closed system. Earth is not a closed system. There is no fundamental reason local entropy cannot be maintained.
You can manage the certs yourself. Absolutely nothing to prevent adding your own cert to keychain and signing an app with it.
> LinkedIn is the primary reason I'm cautious to link my different services to something external

I've gone further. I routinely create email aliases for any new services I may need to use. (Yes, I have one dedicated to HN too.) That gives me quite a few nice features:

1) My email addresses are not generally cross-service

2) It's somewhat harder to consolidate my data even when the addresses are "leaked" (read: sold) from one service to another

3) I see with absolute clarity which service my email address was siphoned from.

4) I can trivially delete the address. It's just a line in /etc/aliases.

For #3, I haven't done any accurate measurements but it seems that an address finds its way to spammer lists about as often through the service selling it as it does from a user of that service inadvertantly placing it on one.
The funny part about this is my BA is in Business...
Assuming its whatever malware/rootkit/data-logging/remote-access trojan desired.

EDIT: What we need is a menu/list of the infections available to staff
* .mil

* .gov
> Managing global warming is certainly a good idea for the comfort of our civilization, but we should have more eyes on the bigger threats

Orrrr we could do more than one thing at once?

In any case, a "sudden, full-blown glacial period" has never happened according to any geological record we have. The most "sudden" have happened over centuries. The actual, demonstrated suddenness of current warming trends is a major part of the problem.

There are a bunch of problems in your post (I have no idea where you get the idea that we're in a glacial period, these are just labels, but no one calls the Holocene anything but an interglacial; it is well established that Milankovitch cycles do not explain current trends; current atmospheric carbon will be there for centuries to come and will not stop warming us even if we were to stop all emissions today; you neglect ocean acidification, sea level rise, etc), but the fact remains that its ridiculous to assert that "we should have our eyes" on one threat instead of another, when we could have much more scientists and funding for asteroid detection if someone would exert some political will. That is what's necessary, not trying to minimize other threats with specious (at best) arguments.
Just ask what kind of clothing to wear before you go to the interview. It's not an unreasonable question to ask and prevents the chance of any kind of awkwardness.
Is this related in any way to the DDG search engine?
Knowing that backdoors exist to these products, are Chinese, Russian, and other Western intelligence organizations trying to brute-force calculate the location of these known backdoors?
Startup Mantra
I don't think you know anything about Buffett's investment strategies. If this is the way you think Buffett operates, you should read https://en.wikipedia.org/wiki/The_Intelligent_Investor
Of course there's a bit of urban legend around it but "several others" doesn't make for a good anecdote. I actually heard the story from Andy himself.
An atmosphere filled with clouds would cause more greenhouse than the amount of sun it reflects away? Do you have a source on that?
Thanks Andrew, that 'c' variable was giving me a headache ;) ! I have updated the article with your remarks.

BTW, I have listed a few good resources about raytracing at the bottom of the page: Do you know any other good books/websites ?
Hackers new tip: Buy lactose-free milk and it will stay good for much longer than regular milk.

I don't consume a lot of milk, and I was getting tired of buying a half-gallon and having go bad two weeks later after I had only consumed 1/4 of it.

Lactose-free milk stay good for a long-time. Most of the time when I check, the best-before date is at least 6 weeks into the future. I've never had the milk go bad even if I've had it for 8 weeks. I'm not lactose intolerant BTW.

The only drawback is that the milk definitely tastes sweeter than regular milk. I'm used to it by now, but I'm sure some people would find it disagreeable.

I'm not sure why it lasts so long, even though there is no lactose in it, there is plenty of other sugars in it. Lactose-free milk is made by using enzymes to split the lactose into galactose and glucose. It tastes sweeter because both of the sugars have a higher perceived sweetness than lactose on a weight basis.
I've trained at 3 CrossFit gums and one was bad. The coach would always try to get you to go too heavy and prescribe rediculous weights for the workouts. The other two are fantastic but totally different from each other. All in all I'm kind if surprised that hacker news isn't mire interested in glassman's business model that allowed him to scale a gym.
Tubidy Mobile Video Search Engine 
Tubidy is small java application program to watch a collection of free 3gp format videos on all multimedia mobile phones, Smartphones of android, iPhone,.
Why Apple is the cross-section of great hardware, design and shitty software
Your question seemingly assumes that they contributed 'rounded corners' to the smartphones in the first place.
If the "plaintext input to a PRNG" becomes known to the attacker, the entire output of the PRNG becomes known (i.e., 'predictable') to the attacker.
#define op operator

#define rt return

Then replacing the corresponding inline tokens shaves off another 25 bytes from the source without affecting the output or (arguably) the readability.

Sorry, my inner obfuscator couldn't resist :-)

Beautiful bit of coding, btw.
AppSeed – Turn sketches into functioning prototypes fast
Do you have any evidence to suggest that the crimes that both the citizens and the non-citizens were charged with were different and yet one group got a lesser sentence?
How come you decided for a coordinate system with Z pointing up instead of the traditional right hand/left hands coordinate systems ?
He was given a bus ticket somewhere and some food. I don't think that falls under kidnapping.
BTW, I think that's a great point about the comparison with DSA.
Yep, RIM hires an abnormally high number of co-ops from Waterloo.
Can you pastebin.com it so we can see what it looks like ?
I don't understand the hoopla about editors. It takes me eight hours to write a half page of code. That half-page is well-understood, bug-free, and accomplishes the mission. The more I learn, the less I write. I don't want tools to help me write faster. I want tools to help me understand what it is I am writing.
>>you'll notice that Glassman and every CrossFit coach I've ever met talks about it all the time.

Look dude, the problem is not that they don't talk about it. The problem is that they make people do complex exercises in a manner that significantly increases risk of rhabdo and a ton of other injuries despite knowing about those risks. This is irresponsible at best and grossly negligent at worst.

There is a way to lift weights in a safe and responsible manner. Crossfit not only refuses to teach its clients that, but also builds and encourages a culture where injuries become badges of honor. That is what makes it a cult.
I didn't read the page -- I assumed

This is really the heart of it isn't it? Even if LinkedIn has text in a 40pt font that says, "Import your address book, we're going to log into your email account and download your contacts so that we can link you with them and here is exactly what we're going to do with them," you probably still wouldn't have read it.
Exactly, it's the same reason for the large homeless population in Vancouver, BC. It's the one major city in Canada that has a relatively mild winter.
It's because lactose-free milk (or at least the Lactaid brand that I see my roommate drink) is treated at higher temperatures. You can find regular milk that has gone through the same treatment labeled as UHT or ultra-pasteurized, like the Horizon Organic brand and another I've seen at Costco as shelf stable juicebox form factor milk drinks (UHT coincidentally removes the refrigeration requirement too if stored in an appropriate container).

No need to pay extra for the lactose-free variant if you don't really need it and the plain UHT-treated milk is cheaper :)
Yeah, if you refuse it installs some spam apps called "App Search" or some such BS.
Fighting after man gets homeless people to queue for new iPhone in California
I'm pretty sure that MS & corporate IT depts were more than willing to stay on IE6 forever if they could. The gap between IE6 & IE7 was larger than almost any other IE release.
"Comprehensive Counter-Terrorism Act of 1991"
"Sponsor: Sen Biden, Joseph R., Jr. [DE] (introduced 1/24/1991)"
"Cosponsor: [...] Sen Reid, Harry [NV] - 1/30/1991"

"It is the sense of Congress that providers of electronic communications services and manufacturers of electronic communications service equipment shall ensure that communications systems permit the government to obtain the plain text contents of voice, data, and other communications when appropriately authorized by law."

edit: link is not working, but search for the title, it will open up from something like this:
http://thomas.loc.gov/cgi-bin/bdquery/z?d102:S266:
:) Guess it goes to show that passion will out. Got a link for your project?
Official or not, many of the homeless around Vancouver say they were given a bus ticket by their respective provincial governments.

It's sad to see, but it does seem like this is becoming a hot issue. Alec Baldwin's radio show [1] had an interesting episode with Martin Horn, former New York City Commissioner of Correction and Probation. He touches on the issue of how to appropriately address people wrestling with mental illness in the context of corrections.

[1] http://www.wnyc.org/story/289924-martin-horn/
I am a brazilian and I didn't know ANYTHING about those things. Thanks!
I wonder if it was an engineering issue that caused this "rollback", or if it was a management/political issue.

Is there something about the iOS version (or about iOS development in general) that prevents them from disabling that version, while they disable the Android version?
I'd agree with you, if the buffer had a sensible cutoff. The cutoff is currently "tomorrow" - so you'll buy stuff who's useby date is before you've even opened it. Sucks.
There are legal requirements that exist that are laws like "If you break into a building, you go to jail". But there are also effective "legal requirements" like "if you don't install this back door, we're going to find a reason to make your life suck in every imaginable way". Or more subtly "we'll fail to forgive this crime that we know about".

For instance: http://www.theguardian.com/technology/2013/sep/11/yahoo-ceo-...

> Mayer said executives faced jail if they revealed government secrets [...] Mayer was asked why tech companies had not simply decided to tell the public more about what the US surveillance industry was up to. "Releasing classified information is treason and you are incarcerated," she said.

To quote that reddit thread about that article:

> She'd go to jail, but it wouldn't be for breaking the gag order. It'd be because she was suddenly prosecuted for one of the other 1,000 illegal things that any CEO does in a given quarter. Just ask the CEO of Qwest, who blabbed about the NSA surveilling his customers and then was thrown in prison on insider trading charges

So, what happened to the former CEO of Qwest: https://en.wikipedia.org/wiki/Qwest#Refusal_of_NSA_surveilla...

> Qwest was allegedly the lone holdout, despite threats from the NSA that their refusal to cooperate may jeopardize future government contracts [...] Former Qwest CEO Joseph Nacchio, convicted of insider trading in April 2007, alleged in appeal documents that the NSA requested that Qwest participate in its wiretapping program more than six months before September 11, 2001. Nacchio recalls the meeting as occurring on February 27, 2001. Nacchio further claims that the NSA cancelled a lucrative contract with Qwest as a result of Qwest's refusal to participate in the wiretapping program. Nacchio surrendered April 14, 2009 to a federal prison camp in Schuylkill, Pennsylvania to begin serving a six-year sentence for the insider trading conviction. The United States Supreme Court denied bail pending appeal the same day
These are "life" in the same way that a batch script is a "computer program". I'm starting to think that any group of molecules that can utilize energy to do something will be called "alive".
> Actually, if the corporate farmers grew the same crops in the field year after year, the land would eventually not be arable.

So you reckon corporate farmers, left to their own devices, will destroy their own ability to grow crops?
A smart watch like, say, the Pebble? It would be foolish to design something like this without acknowledging that there already exist smart watches.
Exactly. Most people aren't realizing that my frustration is with the extremes of the rotation - food shouldn't be going bad/ have a use-by date that is the day after you buy it.

Trader Joe's obviously has had a significant change of policy recently to reduce losses to perishables, and it's foisting those losses on customers. I hate it.
That's all he's trying to show, he's not trying to show that it would save you money.
What do founders do once they hit 35 and are officially over the hill?
Anything to spread the gospel of vim.
"Poor coding skill accounts for perhaps 80% of the industry no-hires. Well...that's not exactly fair. Poor coding skill under pressure."

I have a PhD, and by now I think it's safe to say that I'm a productive programmer, but it was hard to get (back) into the industry. I've experienced the bias against PhD-holding coders firsthand.

The interesting thing is that I've now also been on the interviewer side of this equation more than a few times, and I know that a lot of programmers have a huge inferiority complex that really gets revved up when they hear that a candidate has a PhD. I've seen the hiring bar shift dramatically higher for a candidate simply because interviewers on the loop knew about the advanced degree.

Given that most companies have virtually no interviewer training, and even fewer checks or balances on the attitudes and predispositions of their interviewers, I suspect that this latter problem is a far more parsimonious explanation for the hiring gap for PhDs than is the presumption that >80% of doctoral graduates can't write code.
What if other citizens are prevented from running such business too? Mt Gox almost got shut down because they are competing with the God-given monopoly rights of the banking cartel. The banks do not like to serve the poor but they are also very efficient at getting anybody shutt down who does. Seriously, they are now trying to shut down the entire bitcoin industry, not because it abets drug dealers, but because it would give alternatives to the poor.
He's young, and needs the money.
> Apple has to put its cash to work

Throwing cash at it does not make better software. See the Mythical Man Month. Or don't. But Apple is aware of it.

I do not agree Apple's software is "shitty", but there is certainly room for improvement. But the bottleneck isn't cash (nor is the bottleneck desire. they want to improve things and are working on it).
Holy cow, that is very cool. I have a question about the GA144. How do you get the code to the cores? Once it's there, does it change at all?
Water on Mars: Curiosity Rover Uncovers a Flood of Evidence
That would be totally fine if this was Safeway or somewhere else that isn't selling fresh goods that go bad quickly. This isn't the case for things like bread and cheese at Trader Joe's - those things go bad just after their sell by dates. I'd agree that it wasn't unusual or shady if it wasn't a significant departure from their standard practices - I've shopped at TJs for years, and this change is fairly recent.

The Safeway experience is agonizing, though I'm sure it must be profitable for them at least in the short term. I just avoid them now, even though they have things I just can't find at TJs.