jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I got my PhD at the University of Washington.

There are many reasons why schools have become more expensive over the years. The cost of health care, alone, is growing much faster than the rate of inflation.

But honestly, most universities went on a building spree over the last twenty years. Fancy dorms and labs and classrooms and athletic facilities really start to add up -- and grants rarely pay for them. As I said before, there are tons of inefficiencies in the university system. I just don't think they're in the classroom.
And also grad students. Everyone who stops by has a legitimate reason (need signature on some random form, question about a homework, etc.) but the cumulative effect is to prevent coherent thought.
"They actually managed to deliver the whole response in just 70ms, 30ms of which was spent generating the response"

Isn't part of that just the network latency? Based on the timestamps for the SYN and SYN-ACK it looks like a RTT of about 16ms.

EDIT: Nevermind.

Request was sent by the client at 00.017437

Request ACK was received by the client at 00.037139

RTT of about 20ms, so the request was received by the server around 00.027

First packet of the response was received by the client at 00.067151

67-27=40. Assuming a latency of 10ms it took 30ms to generate the request.
His excuse at the bottom of his post is way lame. It's very clear what is and isn't stable on MongoDB's main download page:

http://www.mongodb.org/display/DOCS/Downloads
Agreed, but that has nothing to do with the use of MongoDB. Any data that "can't be lost" needs to be backed up.
Tesla's main competition right now is Nissan with the LEAF. They need to scale up and drive down the price of the Model S and 3rd model rapidly, or they'll get buried by the big players.

What they've done is great from a technological standpoint, but they need economies of scale to keep going.
Wahwahwah. This guy sounds like he has never used open source software before. I have a complex mongodb install in production with no problems. Every time I "bundle install" it breaks something because everything is running edge and the APIs are changing all the time. If you are not competent to deal with that then maybe you shouldn't be playing with shiny new toys.
I hate articles that just make a bunch of assertions without any explanation as to _why_ or performance tests.

If I'm earning a savings of < 1ms by making one choice over the other, it is probably more time efficient for me to simply not worry about it.

> 8 But if you have multiple string concatenation, prefer pushing to an Array and then calling the join() method on it. This is particularly helpful while building HTML snippets.

Depends on too many factors (browser, number of segments, segment length etc) to a be rule. Most of the time, the performance between this and += is going to be more or less the same.

> 26 With AJAX, GET works faster than POST. So prefer GET unless request length is more than 2K; yes, you guessed it right - IE.

Use GET or POST when you're supposed to not based on how much information you think you'll be sending.

> 27. Go easy on scripted animations.

What's easy? What's hard?

> 30. Always fall back to core JavaScript whenever possible. Limit framework usage.

It would be more prudent to _know_ your framework, and know when to not use it. IE (even in 9!) still doesn't implement indexOf - I can roll my own solution or use jQuery's inArray.

Here's a better article http://www.slideshare.net/nzakas/speed-up-your-javascript
Convenience is often on the opposite end of the Security slider. Many people go whole hog on it.

Same with privacy, see Facebook.
Moving wp-config.php outside of the public html folder is easy. Just do it. WordPress checks the main root level and one level above for it automatically. No configuration needed.

Renaming wp-admin is not currently possible. This is slated for future versions though.

And the reason WordPress doesn't use relative URLs is because it uses a rewrite system for most of the site. With the permalink system, most of the URLs don't actually exist as real directories, but are simply indicators to tell WordPress what sort of things you're looking for. Now, I grant you that this is not the case for the admin side of things, which uses direct links to files and the like. Those links there, however, are relative.

However, the reason the admin redirects to the right URL is because of the secure cookie handling. Cookies in WordPress are carefully controlled as to which URLs they are sent to, they're not just indiscriminately sent to the whole site. If you're using SSL Login and Admin, then the login cookies are only sent to the SSL side of things, and only to requests in the admin directories, etc. Other cookies are sent to the normal non-SSL side, which will identify you for login purposes, but not allow you administrative access. All this careful cookie handling means that the correct domain must be present for everything to work. It can't work through some other domain that it doesn't know about.
You can already post a bunch of stupid blog comments as someone else, as long as people realize Posterous has a similar problem, it's not going to ruin your life. (Plus, (a) doesn't seem to be that big of a problem for a service you're using your email to access.)
I only lost my data once but that was enough. My note got stuck in a sync conflict (even visible in the logs).

Support told me to save my note before moving to another device ... I guess I was the first user to forget that. They never apologized for their bug and I was a paid user back then.
Yes, absolutely. Indeed I was slightly happier back when I was doing menial physical labor, since it left my mind free to think, and when I got home, I was physically tired but not mentally exhausted like I am from days of coding binges and context switches.

But since X is probably about ~25k (which is what I'm shooting for as a developer anyway within the next 5 years), and I already make more than the average pickle-packer, I don't think that's going to happen. :)
As I understand it, unless you're using a Lisp with an reader macro that calls eval, or your code calls eval, and you allow arbitrary input into that code while running vs. loading/compiling, it's just not going to happen.
I am a Harper's subscriber and this is pirated content. But it's so good that I'm glad people here have the chance to see it. That story is funny, sad and scary all at the same time.

This is what happens when so much power is held by people who are -- how should I say it -- left of average on the autism spectrum and with so little knowledge of politics and history: you get dystopian notions such as meritocracy[1] being touted as ideals, and sad-crazy-funny-dangerous ideas such as those mentioned in this article get funded. But I think some powerful people have always been susceptible to crazy notions or to people peddling them (see Scientology or Rasputin).

[1]: http://www.theguardian.com/politics/2001/jun/29/comment
Can also state I had good experience with them and that it's worth looking into. Needed a way to print custom labels and packing slips dynamically and Google Cloud Print was pretty obtuse comparitively.
I don't know, that's good enough looking that it barely counts as brutalist. Robarts at UofT is a brutalist library

https://en.wikipedia.org/wiki/Robarts_Library
Needs more RSS.
I agree in some cases, but Bruno specifically was not attacking homophobia, but was all about making fun of a ridiculous gay straw man.
Pretty sparse on the home page. Some documentation would be nice.
We launched Times Square, Hudson Yards, Penn Station, Columbus Circle, NoMad, Tribeca and more. Our target is leisure/ vacation travelers. Thanks for any help!
"Speech is not reach" - he's clearly not supporting censoring posts. He is advocating for Facebook to restrict the type of messages that can be amplified with their insanely effective programatic advertising tools (have you ever used lookalike audiences!? it's amazing.. and a little scary). Posts are speech ads are not.
There's information on the leak that wouldn't be widely available without accessing LinkedIn data using their APIs. Phone numbers and emails, for example.
> You can probably manufacture that thing quite easily from basic sheet metal, when you have limited machinery and labour on another planet.

Not if it's made of stainless steel - stuff is hard to cut and hard to weld (though might be easier in a non-oxygen rich environment like Mars).

For ease of manufacture and maintainability, plus a lot of other "pluses" - I actually like this truck:

http://oxgvt.com/

Too bad it's unlikely it will be available for purchase in first world countries, if it ever gets to that phase.
OK to be clear this is close to the futurist style of the 70s, but not exactly

https://d14e8oeg5e788p.cloudfront.net/content/56310/c8d68987...

http://oldconceptcars.com/wp-content/uploads/lancia_stratos_...

it's definitely not what is considered futurist today. It's not only ugly, but doesnt even fit well in a retro futurism classification. i know that there's no accounting for taste, but this is a uniquely ugly car, and not in an innovative way.
Actually, that's interesting: did the stuxnet event made the demand for security in such system higher?
It seems to me that this submission (and the other recent Google code quality submission) are an amusing but perhaps misleading sidetrack. Google isn't what it is because of Larry's language choice or his coding chops. It's _much_ more about the idea and execution of page rank.

In one sense, this is the classic path trodden by people who listen to all the good advice available here. The idea of page rank was worth very little. What Larry did was learn enough programming chops to build a prototype, then used then prototype to prove the idea worked, then iterated better and better versions as the requirements became more clear and as the bottlenecks became apparent.

This is exactly the sort of advice I'd give today to anyone with "an idea" - learn enough to code up a quick prototype. If you're starting from scratch, choose a modern fashionable language since it'll probably give you an enthusiastic community of people prepared to give advice and help when you get stuck. (right now, my choice would probably be between Ruby and Haskell). Don't worry too much about code beauty or scaleability or efficiency yet - there's a very high chance your idea will turn out to be not such a great one, and you'll either pivot a few times to find a variation on the idea that is great, or drop it altogether for the next "great idea", so don't fall into the trap of investing more effort than required too early. Have a plan for how you'll do it "properly" if you get traction, but first just get something running quickly to see if anybody is likely to pay you for it...
Doing something they love, building their own business, controlling their own destinies, and making a healthy income to boot.

Sounds like success to me.

If your only measure success is raw numbers, you might be happier in finance or real estate.
The Onion has a great piece on this subject: http://www.theonion.com/video/new-google-phone-service-whisp...
Another honest answer - yes. I read her work only recently and was surprised to find out that she confirmed many of the conclusions I had reached, often quite painfully, myself. She provided the philosophical (theoretical) framework for those conclusions, which further helped me connect the outstanding dots.

She urges people to relentlessly ask the question why, to examine every premise for every important idea that guides our lives, to follow that premise to its roots, to look for contradictions. I put in the effort to do just that with her philosophy, and that effort matched the brainpower I had needed to build some of my most complex programs and models.

I am 30 now, but I really wish to have read her work when I was 20. If I could offer any advice, it is to read her books before you reach 30 and to think deeply about what she has to say until you are convinced (based on your best effort and knowledge to date) that you either agree or disagree with her. This would be much better than taking someone else's word for it.
Why would the US and Israeli governments actually need help from Siemens? Their SCADA equipment is almost certainly deployed widespread across both countries' power plants, nuclear sites, and other locations. And, does anyone actually think that Siemens doesn't supply SCADA equipment to the US government?

I'd also bet that a lot of their SCADA software is reused across multiple industries, so the exposure to attack vectors is probably pretty enormous. Couple that with the "it can't happen to us" mentality that these large industrial companies have with regards to highly specialized software and, well.... what you see is what you get.
Why didn't he just use Google!?

Oh... that was before the inception of Google.
they lost me at groupon practically invented group buying
If they served no function, they would have been worked out of the gene pool by now.

A developer can build, but what can sell and actually selling it are another matter entirely.

I really gained a lot of respect for sales people at one startup I worked for. How they were able to cold call into a company and find a need and money to pay for addressing it is pretty amazing (to me anyway).
What part exactly did you enjoy if I may ask? Or are you being sarcastic?
IMHO this doesn't help at all. The core issue is that I can't make an app that runs on multiple platforms. I know that cross platform is against Apple's best interest, but I just don't care. I won't be writing Apple applications.
Please post bad certs on "dev-security-policy@lists.mozilla.org". They can be revoked. Mozilla is introducing a Mozilla-controlled revocation list in Firefox 37.

There's a lot going on to tighten up the CA world.
Sure, some people look at it that way, some people look at it other ways. I just see no link between people thinking that a crime causes diffuse harm, and people thinking that a crime is victimless.
“100% of crypto needs to be burned down to the ground. It needs to go because of the enormous harm it does to people and our larger society, for no gains at all.”

well you’ve convinced me
Not really. They have the same origins but totally different focus and have been apart for so long that they are substantially different.

Though they borrow stuff from each other. And even Linux does (OpenSSH for example comes from OpenBSD).

In general FreeBSD is a great allrounder with up to date packages. OpenBSD is very focused on security and it's pretty minimalist as a result though you can install what you want. NetBSD strives to support as many hardware platforms as possible so it's a good choice for that weird old server you found on ebay. They had more similar goals in the past but this is how they've diversified (at least how I see it!)

Besides these focus differences there's also some personalities behind the different BSDs that make Linus look like a kitten :) So that tends to influence people's OS of choice as well. I don't want to get involved in that but I wanted to give the heads-up because it will come up in discussions once you start looking into the BSDs.
Monero is the closest to the original cryptocurrency dream. Enforced privacy, low transaction fees, fast transactions, mining viable on commodity hardware. I've gotten paid via XMR, it works great.

Too bad nobody seems to care much about it because the numbers don't go up.
I wonder if one could route all traffic through a speedtest site
WebAssembly is not a platform.
I'm not saying it shouldn't be an option but we should be conscious of who we give that login data to and how they're use/benefit from it and then misuse or waste the value they extract from it; be conscious of who we reward with our actions.
I was cursing on my ISP for a long time till I understood that Im on a 100Mbit wifi.

Then added a wire connection to my server and instantly 10x the speed :^]

Dont be like me, have wires set up everywhere where needed.
Interesting read. Looks like metamaterials are gonna finally be able to make us invisible as well. http://www.thedp.com/article/2015/02/nanotechnology-invisibi...
I wasn't super thrilled with it either, until I dug in and discovered that it's the global average. We have a ton of international and mobile traffic, which factors into this sum:

1. United States (average load: 1.97 s)
2. United Kingdom (average load: 2.29 s)
3. India (average load: 7.48 s)
4. China (average load: 12.11 s)

Average load of these countries is 6 seconds, which seems absolutely horrid...until I tell you that the US has about seven times more traffic than the UK.

I didn't want to fudge the graph and take out those slow outliers--the truth's the truth.
I know it's not feasible at present, but I'd like to imagine a smartphone that I could consider a high end professional tool. A device like that needs no software or UI changes outside of an occasional patch; hardware fast enough that I couldn't imagine a need for replacing it. A Thinkpad or Nikon, and just as much an extension of my person. Like vim, using the device would feel a bit like playing the piano--something I bend and mold, that also bends and molds me.

I'm not at all satisfied with this stuff yet--not to the level I described. Currently these phones are indespensible (much like trips to the dentist), but what I really want is for them to feel like an extension of my soul (like a fine car). Things are too buggy, too consumer, and moving much too fast. I imagine we'll eventually hit a plateau, because I want that phone.
You can build NetBSD to be statically linked [1]. It is not the default, but it is trivial to do, one line config change. Note that you can build NetBSD from source on any system, eg Linux or OSX and then boot it in a VM, so you dont really need a binary "distro".

[1] https://www.netbsd.org/docs/guide/en/chap-build.html#chap-bu...
I'm not sure if you read the article or not, but I try (and perhaps fail) to make clear that this is not so much eventual consistency in the distributed systems sense, since every accessor sees the same data (if not the same structure), but there are strong parallels with eventual consistency - in fact the same algorithm would work unchanged in an eventually consistent store, if it supported garbage collection. So I felt it helped to put readers in the right mindset.

Since only the structure is "eventually consistent" - the data that is represented by the structure is the same to every accessor, and is reliably (and efficiently) derived from all possible structural states, it behaves as much like its sequential counterpart as any other non-blocking data structure does.

Modern computer are eventually consistent systems by virtue of the caching layers (and local registers) - only once modifications make it to a shared cache are they globally visible. Much like with EC stores that support some kind of atomic read-modify-write operation, such an operation on a CPU incurs extra cost. However unlike in those systems, CPUs can read-modify-write non-transactionally very quickly, so the window for stepping on toes is low. In this structure, usually the desired outcome will be the actual outcome. So it can simply be cheaper to deal with the non-desired outcomes gracefully instead of ensuring they never occur.
Ha! In my early days of computing, when we had to walk to school uphill both ways, 5 miles in the snow, going from punch cards in 1977 to line editors was fantastic, I first used original "ed" in 1978, with it's one error message of "?" (it was developed in the days when 110 baud Teletype terminals put an extreme premium on every character typed and printed), some random ones in micros, then EMACS was a fantastic improvement in 1979-80. And I haven't looked back.
There's a bigger issue: using computational and mathematical complexity that is confusing to large swaths of mere mortal coders. This is sadly why languages, to pick on some easy target religions like PHP and so on have proliferated.

Sure it's possible to reduce LoC and look clever with ever more complex representations of computational structures, but it's another thing to write supportable code that's straightforward to debug, improve and maintain.

If someone wants to use a "research" language in production and/or want perpetual job security, there are plenty of languages for those requirements too.

(There's never a perfect Turing power language for anything, only better fits than others. Clarity for a new-hire reader should be most valued goal after functionality.)
Most comments should end up as an edit to the question or answer, clarifying some point, at which point they can be removed. The Question and Answer are the important things on Stack Overflow, not the communication that went into creating and tuning them.

The remaining comments are just fluff, such as "thanks", which can more appropriately (for the site) be expressed as an upvote or accept. Or they're asking a new question, in which case the parent's comment applies.
As another side-note, this is similar to your article being formatted and indented nicely for reading.
I'd recommend waiting for some more bugs to be worked out before you start using this in production -- but please feel free to start launching instances and helping me find said bugs. :-)
The page mentions that it only responds to the first push until the order is delivered, but you're right, you could still end up with unwanted orders.

"Billy, did you order 1 of everything again?"
It's sad to see folks celebrating computing devices that are more extremely locked down than even the iDevices. A Windows PC/laptop is much more open than a Chromebook.

Can Mozilla even make a Firefox browser for ChromeOS? Only Google can make system and native apps, unlike the iDevices where you can access most of the native functionality even if you have to go through Apple's approval and you're not forced to upload all your information into Google's cloud with paltry local storage like 64GB on even a 1500 dollar machine where the information is mined by Google and is accessible to various parties like the Government. They now even track which retail stores people visit using their Android phones or iPhones. http://digiday.com/platforms/google-tracking/

Looks like user and developer freedom are a big concern only when Apple or Microsoft infringe it(even though Win32 is much more open than ChromeOS, after all Google exploited it with the Chrome browser and bundling it with Flash and Java updates), but Google gets a free pass to lock everything down and still call itself open.
> to pretend like people with less than a million dollars in liquid assets are "too dumb" or "inexperienced" to purchase something is beyond insulting.

Really? Because a lot of that group said they "didn't know any better" and were "misled" when it came to bad mortgages during the crunch. Whether you believe them or not, that was their argument and it worked.

There are entire industries based on exploiting people with bad money management skills (payday lenders, rent-to-own, etc). Clearly the population exists.
I'd argue that the demand for gold jewelry would drop accordingly to the gold price falling to zero. Jewelry is a secondary form of said value store, nothing inherently useful
They did, but the line instruction verbiage is easy enough to trace where it went in the end if you search certain keywords and phrases you can hook into the right places more or less.