skysight-inc/HackerNews huggingface dataset:
I don't understand the use of clock_getres() here. A second of posix monotonic clock time means a second of real time, the clock resolution has no bearing on that. Seems to me that on any system where the claimed CLOCK_MONOTONIC resolution isn't 1ns this code will advance the clock at the wrong pace.

> This is not a hard task. Nothing we've done above requires more than reading the documentation carefully. Attention to details like this is what makes the difference between working and rock-solid software. #frencharrogance

Um, right...
http://en.wikipedia.org/wiki/AP1000
I think you're missing the larger observation: the expectation that children will move out of their parents homes around age 18 may have been a temporary phenomenon.

I find it strange that some people would rather assume that an entire generation is uniquely incompetent, rather than assume that they're pretty much like all other human generations, but the environment in which they live has changed.
Allez cuisine!
Instead of trying to learn a PHP framework, try learning how to build modules/plugins for a popular CMS. You get a lot of functionality out-of-the-box with a CMS (Drupal, Wordpress, etc.), and a lot of different theme options (themeforest.net). Additionally, using a CMS is going to be much more secure than creating a web app with a framework from scratch - especially as a beginner. Furthermore, there are many, many 3rd party modules/plugins that you can use instead of building everything from scratch. Once you learn how to build modules/plugins the right way, you will be surprised how much creative latitude you have working inside a CMS.
Stick around, the percentage of people that own drones is only going up.
Erm, look at the URL of the original page...
I'm not the parent, but here's my input: As a sysadmin/devops type who mostly enjoys building infrastructure, none of the stuff I've learned at work could really be done on my own time, and none of it is stuff I would be likely to find via contract work (or at least, nothing that I could schedule around a 9-5 job).

Also, not everyone has, or wants to execute on, startup ideas. Some people don't want to be founders. Some people don't want the stress, the responsibility, etc. I sure don't. I have a nice job where I can do experimental things with small/medium-sized infrastructure, I have a much higher budget than I would in a startup, I get a steady paycheque and vacation time, and a lot of awesome coworkers.

So all the stuff I've done at my job, like the parent post, is investment in my skills. The things I've built here, the technologies I've learned, the failed experiments, all of it contributes towards my professional skills much more effectively and more efficiently than doing it in my spare time, for a contract, or for a startup idea.
"""One of the reasons we formally teach handwriting to young children is that you don’t want a bottleneck between the ideas they’re forming and the writing. """

Talking with my son's teachers and pediatricians, one big reason that early classes emphasize writing is not just about literacy, but rather about developing hand muscles.
> There was a great presentation by someone in the gaming community about this.

You're probably thinking of Tony Albrecht's fantastic "Pitfalls of Object-Oriented Programming" talk which is referenced by (and inspired!) the chapter:

http://research.scee.net/files/presentations/gcapaustralia09...
> We take your privacy seriously.

That's a funny way of spelling "we will give all your data to the NSA".

If they really cared about my privacy, then their app would encrypt the data on the way out and automatically decrypt it by the receiver, so that any information on their servers would be unreadable. Oh and their app would also be open source.
> The realities, laid out in the article, are all economic and well researched. Millennials have high debt and low wages with a poor job outlook. The underlying trends have existed for quite some time and appear to be getting worse over time, especially with the recent recession hitting youth hardest.

But WHY do these kids have high debt and low wages?

They have a high debt-to-wage ratio in some fields and quite reasonable ratios in others. People with STEM degrees as a whole are better off than those with less immediately relevant degrees. If these trends have been going on for some time and the factors underlying them haven't been changing, then why has the primary message been "do what you love" instead of "do something that will keep you alive" since as it seems, the future is kinda bleak right now.

> But yeah, let's blame motivation rather than figure out how to improve the system.

I was doing EXACTLY the opposite. The problem is that people have unrealistic expectations because they've been set-up by their parents or society or whoever (it's nebulous) to fail. If employment in general is terrible but in some fields it's still good, telling people to "do what they love" is idiotic at best and criminally negligent at worst.

Here's a quote from my original post: "But what that cheery, the-world-is-your-oyster message fails to communicate is that life can be difficult and that for a great many people just keeping themselves alive SOMEHOW is really about all that they can do. And that for the entire history of the world minus about 50 years that could be considered Success(tm)."

So how exactly am I blaming people's motivation?
Yet another vendor implementation, yet more divergent behavior to be expected...
So from what I understand, Google has a bunch of OpenSSL patches they use. They used to re-apply those patches to each new OpenSSL release, but now they're going to keep their own branch (BoringSSL) and pull and merge changes from OpenSSL?

What are the costs/benifits of one method over the other?
It's a shame. I think they would be useful for preventing poaching.
He's getting hamstrung by Java's intolerance of self-signed certs.

Which overriding is a bit of black magic.
A lowering of the real rate of interest, either by a voluntary decrease in spending and a corresponding increase in savings, or by an artificial rate set by central bank policy, will indeed lead to more investment into earlier stage production areas such as farming, mining and startups.

Taxes discourage investment, however, so they can change time preference again towards less savings and more later stage consumption. Then again, also here we see a political preference for the early stage production areas, e.g. farming subsidies.
Woz joins Lessig's MAYDAY Super PAC for removing money from U.S. politics
We have a joke around here that if you get a job at Oracle out of college the first project they put you on is the Oracle Universal Installer. The thing has never worked. If you want to entertain yourself for a couple of weeks, try installing the latest version of the Oracle Database on the latest version of Oracle Linux. Oh, and try doing something "advanced" like using a non-default block size for the database. There is a little check box for that, but it doesn't work. You'll end up hand-editing a lot of Perl and Korn shell scripts and essentially running (and re-running) the whole install by hand. It's ridiculous. Once you get it running the software is amazing. Obviously they are capable of writing an installer. They just don't care.
I never understood how trustworthy is cert that you could buy for 100$. What that certificate proves? That whoever signed the stuff had a 100$ at some point?

Besides ... why can't java just pull the certs out of the system (like you did manually) or ship with them like every browser does (I presume).
Embedding Perl 6 in Eclipse
You should check out some Karl Marx sometime. This isn't exactly what he says, but it is a part of it. The concepts you refer to in your post are called "fixed capital" and "variable capital" and their ratios, as well as the "reserve army of labor," amongst other things.
This Touchscreen Network Router is Powerd by KitKat
On the contrary, I would apply the 90/10 rule and would say that you only need to know what actually IS in memory when you have to care about it (and it becomes a performance problem). And for the other 90% of the situations, I'll take the development speed/convenience.

Also, as an example, most JITs (including the JVM one) optimize through vtable lookups (so you can inline a whole series of polymorphic calls that might boil down to a constant value). That's an example of an ease of dev vs performance tradeoff (polymorphic methods) that's been alleviated in an automated way by tools.
I see them as merely a correlation of the overvaluation of tech companies, not a continuation of the bubble cycle. Most of those huge acquisitions are done with stock, and if that stock is overvalued, so is the purchase price, even if the purchase price was correctly valued once you control for the price of the stock.

Take WhatsApp's acquisition which is the holy grail of overvaluation. If you think Facebook's stock is way overvalued, then Facebook may have correctly valued WhatsApp's price. If you remember it was initially announced as 19b before Facebook's stock devalued it to 16b in the face of the seemingly hilarious overpay.
That's what I was thinking, it's one of the nation's top schools, and you get paid for at least a PhD education. Still a tough job market.

I also wonder about the Rhode Island School of Design degree, I really don't know much of anything about that whole area of design and fine arts, but I been told they're one of the top schools in their areas of specialization, and a moment with Wikipedia indicates they're #1. Plus it sounds like they're intertwined with Brown.

So if you're going to get such a major, it sounds like the place to do so. And 25K in debt isn't completely insane.
That is valid, I guess this is a case of my point of view clouding my judgement about what other people's options are. :)
What's evil about finding out which ports are being attacked and by who?
I think that it's more important for modern PHP programming to be familiar with PSR-0, Composer and the Model-View-Controller pattern than necessarily a specific framework, because depending on how simple this site needs to be it can be done entirely by pulling in, say, Twig and a url router and some other packages into Composer.

If you want a framework that does less for you, then consider Slim Framework. If you want one intended for scalable projects with a lot of existing libraries and helpers, then consider Laravel (though in the latter case, the learning curve can be a bit steep.)
I agree, this is a great sound test: http://sndtst.com/Streets_of_Rage
No, let me do a diff on your statement to highlight my meaning (diff'd words in italics) I'm claiming that:

1) ... the machine is what makes it patentable as a result of its physical operation and

2) The patent on that the machine is an abstraction largely (to the extent it concerns irrelevant specifics) divorced from its physical operation.

You see the difference now? Those two arguments reconcile because they address different things. To see what I mean, do a search on google patents for, say, "hydraulic modulator", and count how many have claims that specify the precise materials they use. Without such details, these claims are about as abstract as software claims.
I was not aware of PLUTO, thanks for the pointer (no pun intended). If you have used it could you share more. I am particularly interested in how different is the speedup compared to accessin polyhedral loop optimization from inside gcc (or g++). GCC has interface to Cloog and graphite, that seem to target the same features.

With that out of the way, "can be" is a very weak statement. Almost anything "can be", what matters more is "does it now".

@DannyBee Reply appreciated.
I think the costs and benefits are pretty much what you would expect. If your diff from upstream is small, then the tradeoff strongly favours rebasing against upstream and tracking it.

However, as the diff becomes larger, the tradeoff shifts. I think we passed that point a while back but, since we were going to switch models anyway, I took some time to clean up some bits of the code too.
wow. but which is the parasite, and which is the host? :-)
Very true, I was thinking about this recently. Note there's no technical impediment to making the right tools, so if you're tempted, have a blast :) (Otherwise maybe I will)
It would be nice if the article had any information about how this reactor would be different from the 50-year old MSRE (http://en.wikipedia.org/wiki/Molten-Salt_Reactor_Experiment)
There are quite a few independent attempts to do that:
http://en.wikipedia.org/wiki/Molten_salt_reactor#Liquid_fluo...

Mostly based on thorium, but they seems just use enriched uranium (U-235)... So potentially you can construct an atomic bomb fairly easily out of this fuel.
Project Euler partially back online
It's starting to feel like we're permanently addicted to low interest rates.
It was a discussion of the long term trend, not specific to that instance.

So you are saying more people lie about owning a gun to a nosy stranger than they did over the past 40 years?

It also isn't a democrat or republican issue. The growth in gun purchases began in 2002.

Since it won't let me reply yet:

"But by the mid-2000s, the federal government stopped asking the questions, leaving researchers to rely on much smaller surveys, like the General Social Survey, which is conducted by NORC, a research center at the University of Chicago.

Measuring the level of gun ownership can be a vexing problem, with various recent national polls reporting rates between 35 percent and 52 percent. Responses can vary because the survey designs and the wording of questions differ.

But researchers say the survey done by the center at the University of Chicago is crucial because it has consistently tracked gun ownership since 1973, asking if respondents “happen to have in your home (or garage) any guns or revolvers.”

The center’s 2012 survey, conducted mostly in person but also by phone, involved interviews with about 2,000 people from March to September and had a margin of sampling error of plus or minus three percentage points.

Gallup, which asks a similar question but has a different survey design, shows a higher ownership rate and a more moderate decrease. No national survey tracks the number of guns within households."

Key flaw here is the fact it doesn't track nationwide [and there isn't one, even by the NRA and other gun rights groups].

The article itself shows a decline from about 50% to about 30%. I don't think reading the rest would really help you pick apart what I've said.
No, the constitution is quite clear on this point:

To promote the Progress of Science and useful Arts, by securing for limited Times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries.

It's clear from the historical record that this was about ensuring monetary compensation for invention, as knock-off devices were just as common then as they are now.

In fact, public access to patents was basically non-existent until the Patent Act of 1836. The "non-obvious" test came even later.
Method for Swinging on a Swing

http://www.google.com/patents/US6368227
Honestly, $10K for Asian Humanities at UCLA doesn't sound so bad, either. Maybe that major isn't a natural moneymaker, but UCLA is another very good school, and I bet plenty of companies wanting to do business in Asia would be happy to hire a bright student with that background.
The United States of Bouncy Balls
Perhaps, but unless the slideshow had a typo, it was a BA in Biology...
Correct. They only made rdtsc constant-rate with Nehalem and later chips, IIRC.
If CSS is a saw, a CSS pre-processor is a chain saw.

A chain saw cuts wood faster, but also cuts your finger faster. Use responsibly.
Please note I specifically said I wasn't talking about javascript or languages with dynamic typing in general. I'm not fluent in javascript and the only js code I've looked at in my current job is HORRIBLE, and it isn't functional-style code. We are phasing it out because no-one wants to touch it.

I was talking about currying and FP in nicer languages.
> For many years planes kept getting faster and faster, until one day they didn't

Planes are still getting faster and faster. Though now they are mainly unmanned.

HTV-2 Falcon scramjet reached 13,201 mph on 22 April 2010.

NASA X-43 reached 6,600+ mph.
Damn, and I thought I knew a little bit about the ALife field. But I have to admit, I had also never heard of Nils Barricelli until now.

This is the kind of content I love HN for. This is good stuff. I'm looking forward to looking up some of Barricelli's work and reading up on it.

Thank you, ayberkt, for submitting this.

Also, from the "scientists a lot of people have not heard of, but probably should have" department, I offer Ilya Prigogine. Probably not as obscure as Barricelli, but I haven't found a lot of people know much about Prigogine.

http://en.wikipedia.org/wiki/Ilya_Prigogine
>And then those companies invent things that make more jobs obsolete, causing unemployment to remain high.

I would say this one is incorrect. It isn't so simple as that. Inventing new tech often creates new jobs. As an example look at the different medical imaging technologies created over the years: x-ray, ultrasound, CAT scan, MRI, etc. Each added to the number of medical imaging jobs it didn't obsolete anyone.
The Truth About Central Banking and Business Cycles (in 6 minutes)
What do you mean?

Edit: If you're disdainful of the "BA", you should be aware that there isn't any formal distinction between a "BA" and "BS", and every school decides for itself what type of degree to award.

Northwestern University happens to award BA degrees for biology: http://www.biosci.northwestern.edu/undergraduate/

> The undergraduate life sciences major offered in Weinberg College of Arts & Sciences is the Bachelor of Arts in Biological Sciences with concentration in one of five areas: biochemistry, genetics and molecular biology, neurobiology, physiology, and plant biology.
Forbe: 4 Everyday Items Abt 2 B Completely Reinvented By The Internet Of Things"
I don't know if everyone has to, but my captcha document was from Alice in Wonderland or something, which already had some strange punctuation and capitalization, but the random black lines covered up some of the punctuation and I took too much time trying to figure out what they were rather than just skipping them and taking the accuracy hit.
Yeah. Fuck Advertising.

My take on how advertising tricks you into thinking it gives you the web for free, when in fact it costs you more and fucks up the web while at it: https://news.ycombinator.com/item?id=7767811
Sorry if it was ambiguous, the listed dollar amount is student debt from the slideshow.
Flagged. I'd note that Harrylyme was suspended on Twitter for harassing Shanley and is trying to carry it over here.
> a natural fusion reactor

https://en.wikipedia.org/wiki/The_sun
Here's a question (not sure if it is really relevant to software patents or not): Could a writer patent a novel grammatical form? If you were to invent something like this (http://www.theatlantic.com/technology/archive/2013/11/englis...), or perhaps more complex, could that be patented?
The consumer markets and VC climates in other markets can be much worse. Take china for example...the VCs are only interested in funding shanzhai rip-off copies of ideas of ideas already proven in western markers.
But Maven is that toolchain. Invoking "java -cp ..." directly and complaining that it's complex is like turning off X11 and then complaining that it's harder to know which programs are available. A modern Java developer doesn't even need to know that the underlying interpreter happens to be called "java"; you can just work in Maven all the time and the conventions are sensible, the project infrastructure gets out of your way and you can get on with writing your code.
I'd recommend not using the native binary protocol unless you have proof it makes a substantial difference for your application.

If you need to do bulk work, connection pooling, keep-alive, and batching on the client-side over HTTP can easily vastly exceed what ES cluster can handle. Users of my library have confirmed this.

You could use my library as a guide to the abstract data types, even I don't use the native protocol.

https://github.com/bitemyapp/bloodhound
I wish the community would just switch entirely to pypy. Being able to just slightly performance sensitive code in python is a huge win.
I wish he went went for western medicine! I miss the guy.
I see his yacht and he never got to use it. I know it's trivial-- a rich guy not setting foot on his yacht, but Steve didn't seem like the typical rich dude. Anyways--his death reaffirmed just how short life is! I wish these companies would throw billions at cancer
research instead of Apps?
That is indeed what I saw. Thanks for posting!
Protect, obfuscate and sitelock your HTML5 games
Not wanting to turn your secretaries, groundskeepers, cooks, and security guards into millionaires is a mindset I have a hard time understanding. Isn't that the very measure of a breakout success?
These basal, fundamental flaws in the educational system give me pause to awe, and a gut feeling the US is gonna get trampled many times over by the likes of China within some decades. So little regulation and such harsh capitalism is eating its heart out bit by bit. I guess what keeps America bright at this point is a legacy from the past century, that's slowly eroding, and the brain drain sucked chiefly out of Asia and Eastern Europe--at least the same hands-off market attracts those people with today a stronger educational background than the average educated American, but how sustainable is it to keep importing talent? Is the power of capital enough to keep the american infrastructure and investment momentum on american grounds indefinitely?
Wow, this is a very exciting moment for the Python world.

And they didn't even reached their funding goal for "py3k in pypy" [1]. This is dedication. I encourage everyone to fund this extremely incredible project!

[1]: http://pypy.org/py3donate.html
You're completely right about shared_ptr not being the right tool for this use case.

However, I haven't tried it but just looked up the implementation of std::shared_ptr in GCC 4.9.0, and accessing it is exactly the same as with a raw pointer. operator-> and operator* just return the internal pointer and do nothing else.

There's some slight space overhead associated with shared_ptr, since it has to store the two counters for shared and weak references, so that might influence the runtime. unique_ptr should behave exactly like a raw pointer.

That said, I'd love to see some benchmarks about this as well and would be even happier to be proven wrong.

Another aspect I find interesting about this is that as the objects grow, it makes sense to store them in column-wise (one array/chunk of memory just for member1, one for member2, ...) instead of row-wise.

I don't know any languages besides Q that make this way of storing data easy/the default.
Yeah the "8-bit" part came from a (really cool) newsletter called The Happening from the Kickstarter employees. I don't think I made a claim like that. My only standard was non CD, I don't know why I guess it feels like I'm surfacing great music that is harder to hear again. The best example of this I can think of is http://sndtst.com/Continuum I had to trick down and build (on OSX) some obscure utilities and libraries to get this specific Amiga MOD rip into a wav format so I could upload it. I've also be encoding these from the the original VGM, NSF, HUE and SPC files with the great library [Game Music Emu](https://code.google.com/p/game-music-emu/) some simple C I adapted https://gist.github.com/jasonsperske/5ce7f90bf591454a08bc#fi.... This project is really my chance to play with HTML5 audio, Python and (very limited) C (and to have something fun playing in my car and while I program :)
I'm stuck bouncing between 55~70 words a minute. My fingers keep tripping over themselves!