skysight-inc/HackerNews huggingface dataset:
> int is cross-platform and forward compatible whereas uint32_t, uint64_t, uint8_t, uint16_t, etc. will all always be unsigned within a specified bound, so whenever we have 128-bit or 256-bit registers, we'll have to go back and update all this code

uintN_t (and intN_t) are MORE portable and cross platform than int in the sense that you get much better guarantees about it's size and layout.

Furthermore, int is NOT the size of the register (x64 commonly has an int of 32 bits) so any updating you'd have to do to uintN_t, you'd have to do to int as well. Regardless, I can't imagine why you'd need to do any updating in the first place - it's perfectly valid to stick a uint32_t in a 64 bit register.

> nevermind the fact that int is usually more optimized than uint these days

Where are ints more optimized than uint? Not in the processor, not in the compiler (modulo undefined behavior on overflow) and not in libraries.
In a professional audio context XLR (as in RS-297-A) is pretty much equivalent with balanced audio, of cause this requires a balanced output and signal chain. Just as well as a stereo phono connector can be used for a balanced mono signal.

You surely heard a GSM pulse on your speakers before; that's not just noise. Especially when living in an apartment where you can't control what kind of cold fusion reactor your neighbor from hell is running, this a significant improvement over RCA and extensive shielding also in a home setting.

I'm not talking about using the full dynamic range in a linear fashion, more about doing the compression at home and not in the studio. Like being able to listen to a whisper, a piano and a chainsaw from the same recording, recorded at it's original amplitude, at playback mapped to a pleasant listening range at full fidelity, yes that's not the normal casual use case but that's what a higher bit depth enables.
> [...] The problem is with code reuse. The only real form of code reuse that OOP addresses is direct object inheritance. [...]

Inheritance is a form of code reuse in OOP. Composition is another one which is often preferred since it does not have the issues you mention here.

Note that just a couple of days ago this was posted on HN: http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay...
It's the definition that basically the inventor of Object Oriented Programming gave of OOP itself.
One of the nice things he says is that he left out inheritance on purpose because he "didn't like it" the way it was done and wanted to "understand it better".

Regardless, I think your advice of learning other programming paradigms is great.
The size of everything is unsigned. You may not know if size_t is unsigned int or unsigned long, but you can always be sure it isn't int.
I don't believe he said it makes no difference.
I'd recommend using contracts when you have sales people involved. That typically describes products that cost >=$5k/year (at least for inside sales).

The primary benefits for you are: predictable usage, predictable revenue, and easier commissions. It also turns out that most companies prefer/expect to buy these products this way.
I had my first nasty production bug (back in the early 2000s) when I assumed an Integer was 32bit in VBScript.

2 billion survey results was never going to happen. 32,767 would have been fine as well except to compound the issue ops pointed the production site at the test database.
We obviously don't give wheels to interns and all go on vacation. Initially interns gets work that is fairly low risk to your business. You observe their quality and evolution and gradually give them work that has higher stacks. Same for residents, I would think they would get work that is at Nurse+ level initially, then may be they start as helping hand in operating rooms and so on. As you see they are reliable and consistent, you increase your risk tolerance. Although tech industry don't get as many law suits I think they face much higher financial consequences for screwing up. Imagine Facebook intern bringing down a service because of an error. That would be equivalent of many lawsuits in terms of loss of revenue.
The parent article is "How To Hire When Everyone Wants To Found Their Own Startup". Not be an employee of a startup, FOUND their own startup.

And, while equity distribution still stinks, it's still better to be part of a startup doing something interesting than being a drone at Google. Generally, your salary is probably comparable (being more than 80% from the going rate will be an issue), you're doing something important if not interesting, and there is upside.
Yep, it's only revision control plus user interface.
I've been reading about this for a while. In the eighties at least, among people I knew, law school seemed to be a pretty natural progression for those with liberal arts degrees looking for a relatively structured, well-paid, and fairly stable occupation. As a JD has become a far less reliable meal ticket (while also becoming a more expensive one), I can't say I'm surprised that the same demographic are no longer jumping into law school as the path of least resistance.
Preface: I consider myself an audiophile, but keep reading before you judge. I completely, wholeheartedly agree with the original article and the science behind it. There's no question that our hearing just isn't good enough to discern the minute differences between sound of sufficient quality (which is well defined in the Xiph article).

However, all I'll say is, it's very different to hear or feel a difference, than to prove it 100% without any doubt in the exacting conditions of an ABX test. You behave differently and aim your listening at different things in the special case of critical testing, than when normally listening.

You have to know and respect this to make good arguments against hardcore audiophiles. Only once you give credence to the possibility can you bring on the real science: that the true bandwidth of the ear and the nyquist theorem truly does mean that any signal within our range of hearing can be encoded perfectly in double the sampling frequency and some 65 thousand steps—assuming an ideal decoding, of course, which means, yes, you should respect the idea of DAC design.

The world is full of idiots who are easily parted with their money. But don't throw the baby out with the bathwater. Pursue good quality audio equipment, to a point, because damn, it is enjoyable.
It's a sunk cost, ignore it.
Many theories of "FTL" do not actually involve travelling faster than light, just taking a shorter path. While these theories are still far-fetched they do not result in the kinds of wackadoodle you describe.
It is at about $10k ACV for negotiated terms, and driven primarily by cost concerns. Below $10k, the cost of contract negotiation and signing blows out the sales model. Your reps would need to close ~25 deals a month, and that is hard when redlined are flying back and forth.

Contracts of adhesion you'll have from $1.

The primary benefit of negotiable contracts to a SaaS business is unlocking deep pockets which require specific, custom language to buy anything (or anything "expensive.")

Edit: For bonus karma, spot the error I made while posting before first coffee.
So interns are getting paid astronomical amounts but there are no shortage of workers? Something doesn't add up here.
Don't bother Googling, just go to Law School Transparency.

http://www.lawschooltransparency.com
> salaries rise to the levels enjoyed by doctors and lawyers

The BLS says the median salary for a lawyer is $112k. Median salary for a software developer is $93k.

The $19k difference is not that big when you consider that lawyers have a higher startup cost and higher ongoing cost - wardrobe, dry cleaning, law school tuition + 3 years' opportunity cost. Plus law firms can be a grind, far more than soft eng gigs.
And what if you want to say how many more? You'd have to first check which one is greater, and then subtract in the right direction. The code is simpler if you just use signed integers.
So in the case of a narrow band gap, where does the excess energy go? I'd guess it must be shed as a lower energy photon?
>There is no human-discernible difference between FLAC and V0/320kbps

I can't on almost any modern music (which is the majority of what I listen to), but when I was going through the philips golden ears course, I did a fair amount of blind ABX on harpsichords, cymbals, and a few other instruments at v0/320kbps and didn't have much trouble identifying them.

Granted, at that point I had been going through something specifically intended to help train you for discerning differences in audio, but they were distinct enough I don't think I would have had any trouble beforehand, either.

On some stuff I couldn't immediately tell that some sounded better - just different. Though on some of the samples the FLAC was easily better to my ears.

(My criteria for a 'successful' ABX was accuracy of at least 8 out of 10 using the foobar ABX comparator plugin)
Cost is dropping, but even if/when we reduce the costs by 10-20 times (as expected by the rocket reusability plans) then it's still unprofitable.

Even if Santa gave us a free colony of Mars and the rocket costs dropped as much as we hope and Mars was covered with bricks of platinum and iridium - even then it would be economical to simply leave it alone.
This is great but we should really colonize the moon first. It allows us to get all the necessary systems in place in a test environment. Earth is only 3 days away from the moon rather than 9 months to Mars.

It also makes sense to work on the moon first so we can use it to leap frog to mars rather than sending a shuttle through earths atmosphere.
You can gate the completion of each hash lookup with an absolute-sleep, e.g. using the POSIX function clock_nanosleep with a flags value of TIMER_ABSTIME.

Before the hash lookup, calculate a set time into the future, say 300 ms. Then do the hash lookup. Then wait until the predetermined time and return the result.

Waking up a thread at a specific time is just real-time programming 101.

Another idea: if you have some context information that lets you identify that queries are coming from the same entity (same IP address, same tty, same operating system user, whatever), you can impose a shadow ban after 10 unsuccessful tries: fail even if there is a hash "hit", and randomize the times to feed the attacker junk timing data.
No, I don't think this counts. The Gates foundation policy is going to require CC-BY, and it doesn't sound like Nature is going that way.
The Top 100 Developers of NYC
Are Beats shitty or just expensive? How little would I have to pay to get same quality?

I am finding it hard to believe that they are actually shitty, while I find it very easy to believe that they are way overpriced.

I have never listened to Beats headphones but I imagine they have a lot of base-boost (based on absolutely nothing), but that is not the same as shitty.
Removing a specific job from the market is not necessarily hurting local labor; that depends on the overall effects of immigration. Take a person who comes here on a visa, manages to stay and starts a company which employs other engineers - is s/he hurting the local labor market? What about the person who simply is a great worker and allows the company to grow and hire faster?

In any case, software engineers complaining about having less jobs just strikes me as hypocritical. Our whole professions are essentially centered about eliminating the need for human labor. At least in this case, someone is still getting paid to do the job, even if it's not someone who happened to be born with the right citizenship.
An effective way, though unpopular, would be to significantly increase the price of electricity and light bulbs. The fixtures the article talks about are important also.
I've had similar discussions previously. I've yet to see anyone post any credible (or for the most part any) estimates of cost per kg.

You'll find a list of delta-v budgets here:

http://en.wikipedia.org/wiki/Delta-v_budget

Hrm. Some low-cost references:

LEO on the Cheap

http://www.quarkweb.com/nqc/lib/gencoll/leocheap_ch9.htm

"Highly Reusable Space Transportation: Approaches for Reducing ETO Launch Costs to $100-200 per Pound of Payload"

http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/1996000... (Pre-1995 paper).

Both references are vastly lower than any extant launch system:

Falcon 9 v 1.1- $4,109

DNEPR- $3,784

Ariane 5- $10,476

Delta IV- $13,072

Atlas V- $13,182

http://space.stackexchange.com/questions/1989/what-is-the-cu...

(Cites a Wikipedia article which doesn't / no longer presents the data in $/kg).

And more: http://www.futron.com/upload/wysiwyg/Resources/Whitepapers/S...
Thanks so much Tyler. I'll do send you an email.
Thanks for sharing your experiences too. Love your talk.
A super lightweight AMD-compliant JavaScript loader
To be fair, I have worked with older sound engineers, and they can hear a lot of audio artifacts that I miss, just because they've been paying closer attention for a lot longer than I have, much in the same way my wife (who plays violin 6+ hours most days) can hear tuning and pitch problems better than I can.

High frequency limiting is not the only artifact that results from data compression.
only 2.8kb while requireJS is 6.2kb. The implement is naive so u can easily read the source to understand how AMD works.
Maybe, but the problem is that the larger a company is, the harder time they have recognizing talent, so it seems like a wash to me.

There is a reason why successful startups tend to be friends who closely know eachother and recognize the talent in eachother. Recognizing talent takes time and knowledge and it isn't something you can foist onto an HR department or recruiter.
Now i is no longer an index, it's index-plus-one.
As I asked the other reply: do you have any substantiation of this?

I do tend to agree with your conclusions. Just looking for solid sources / methods.
Haha I just noticed TFA in my RSS reader 8 days late, and have been thoroughly confused by the majority of comments here.
You have a valid point (although your examples not failing was the results of public action, not the private market). I think there is a trade off between economies of scale and "too big to fail". There is some size that is still too small to hide colossal mistakes, but big enough to streamline its processes.
I believe they're good as far as they go because Bose has the strongest patent portfolio in this area, but wearing any kind of noise canceling headphones immediately gives me the unpleasant sensation of having my eardrums sucked outwards. I'm not sure why; I think it's a side effect of the tiny latency inherent in the design. It's so unpleasant to me that I stopped paying attention to new products in that category so I'm a bad person to ask.
0% of the programmers I know have one. Where do you live?
I think you're missing a unit. You should be measuring eyeball-minutes. An episode of The Walking Dead might be 20M x 45min = 900 megaeyeball-minutes. Gangnam Style is 2B x 3min = 6000 megaeyeball-minutes. Disregarding target demographics for the moment, that says the advertising spend for a first run episode of Walking Dead should be about equal to 15% of the lifetime spend for Gangnam Style.
I plan to disrupt the audiophile business (and crush you in passing) with my homeopathic cables.

As we melt the gold we mix in a few atoms of "rare earth" elements (rare == expensive == so good "they" don't want you to have access) which is then diluted by adding more melted gold until only the imprint of the rare earth atom remains.

The gold will the be hand drawn by virgins (in truth these will be strong, hairy, 50-yo virgins with dreadful hygiene and B.O. though strong enough to pull, but we need not add all that confusing stuff, we'll just say "virgins"). The wire will be lovingly laid into hand-made insulation made from organic pinniped leather.

I see a variety of future applications both in the home (connect your cable modem to your WiFi access point) and business (data centers). To quote Rony Abovitz, we'll soon be "the size of Apple".

Invest now, while you still can!
> what about the ~50% of STEM grads who can't find a job in their industry?

According to the Census bureau, 74% of STEM grads don't work in STEM [1]. I was pretty surprised to read this, until I looked up what the Census bureau considers to be STEM [2].

You can see from this graphic that CS, math, statistics, and engineering majors all end up working in STEM in relatively high proportions. It's the psychology, social sciences, biology, and (to a lesser degree) physical sciences majors who are dragging this statistic down.

This isn't as surprising to me; indeed, if you hover over the labels in the graphic, you'll see that a lot of bio majors go into health care and education -- not surprising -- and that psych and social science majors go into a wide variety of fields -- again, not surprising or particularly relevant to this debate, I think.

Coming back to people with CS/math/engineering degrees, you're right that about 50% are not employed in STEM-related fields [3]. However, we have zero reason to believe all of these people "can't find a job in their industry". Surely some of them voluntarily work outside STEM.

Note that CS/math/engineering majors have significantly lower unemployment than college grads as a whole [4]. Note also that this 50% fraction is significantly higher for CS/math/engineering than it is for any other group of STEM majors; the next highest is physical sciences majors, of whom only a quarter work in STEM.

In fact, the only groups of people I can find who work "in their fields" in a greater proportion than CS/math/engineering majors is non-STEM "science- and engineering-related" majors working in health care (presumably these are human biology majors and the like), and education majors working in education.

Looking at this data, it's really hard for me to believe there's a problem here. Lots of people don't work in the field that they majored in. This is true for CS/math/engeineering majors, but not as much as most other majors.

One more thing:

> a lot of people in your country aren't as comfortable as you are in terms of pay.

This is exactly my point, actually. Any time you make a decision like this, some people will be hurt, and others helped. But rather than judging this policy decision based on its effect on a particular group of people (almost always, it's "people like me"), we should consider its effect on the country as a whole. As I said, highly-skilled immigration is free economic growth, and a fantastic deal for the country as a whole.

[1] http://www.census.gov/newsroom/press-releases/2014/cb14-130....

[2] http://www.census.gov/dataviz/visualizations/stem/stem-html/

[3] https://docs.google.com/spreadsheets/d/1iEhflMxiWCbQvFyVJiRL...

[4] https://docs.google.com/spreadsheets/d/1AcxdY__ls_F8P-rURtt_...
And further: Thompson is on the advisory board of the Ulster Institute, listed on its homepage.
No kidding... It seems to me, outside of a small handful, most lawyers outside of politics aren't going to be raking it in without becoming partners... Paralegals are also cheaper still than new lawyers and can do most of the work.

Not to mention my issues with the legal system becoming to convoluted for anyone... We start with a fairly simple guideline (constitution) and a common-law basis for a legal system beyond that, and it turns into the crap we have today... no bill going through congress should be thousands of pages.
Wow, nice find (blog link).
Funny, I haven't heard anything about Evernote being asked to remove their widget buttons.[1]

I wonder if this is a case of the Today view being so new that there's not agreement between the App Store overlords on what's acceptable.

[1] http://i.imgur.com/a5udgxi.png
Mea culpa. I can't remember why I didn't fix that when I reloaded the entire schema. At least I widened the video ids.
Every time I see

if (index < 0) { /* error */ }

I die a little inside.
Been writing SQL for 10 years. I definitely understand it.

The problem is that it's rigid, and constructing queries based on filters or user input is painful. It disrupts the flow of your code.

That's why I now use query builders, which aren't ideal, but they at least allow me to build my queries in a logical order (adding additional ORDER BY conditions, adding/removing JOINs depending on my needs, etc.)

The problem is that no query builder that I've used flows as well as SQL or "gets out of the way".
Well said! You'll never outbid a body shop. They'll essentially spend whatever it takes to get the workers here and bill them out for 3x whatever they paid. If you as the product company don't like it tough luck. This is because the people is the product for these companies, product companies have other things to concentrate on.
Red Universe (requires Flash + High-speed Internet)
Scientific achievements don't necessarily make for entertaining video content. I'm sure most people would rather read about most scientific achievements (which these days are largely invisible or theoretical) than read a literary translation of Gangnam Style, too.
On yet further research: the paper was produced by an academic with an affiliation at the Ulster Institute. To the best of my knowledge the paper is being hosted by Dr. James Thompson, who sits on the academic advisory council of that same institute. http://ulsterinstitute.org/

I've commented above on the nature and issues concerning the institute, in particular its ties with white nationalists, racists, eugenics proponents, neo-Nazis, and fascists.
If you ask asses not to be asses, turns out they get really mad.
There's no real development effort. Multiple companies have code snippets and tens of plugins available for most popular CMS/Ecommerce/Webplatforms that you just throw on your website, add your unique id and tell the company your bank account. It doesn't get much more complex than that.

Regardless, the point is fair. You could probably raise a few dollars by selling hugs in the streets, doesn't mean it's the best way to spend your time. Whether bitcoin is, it's hard to say. It's definitely small and nascent, no doubt about that, but it also means its users are more eager, more engaged, on average. As in, if you take a million average bitcoin users and a million non-bitcoin users, the former I believe will raise a ton more money. But given there are only a few million, it's inevitably going to be small in absolute terms. In any case I was just replying to someone saying non-profits have near-zero interest and I disagreed.
I'd be curious to know how they discovered it. Were they monitoring it? Did someone report it? Did an alarm trigger? ...
If you use an unsigned 32 bit integer instead of a signed one then you run into problems at 4 instead 2 gigabytes.
> leap frog to mars rather than sending a shuttle through earths atmosphere.

But you still have to get the human through Earth's atmosphere and out of orbit anyways. Once you're out of Earth's orbit you might as well coast all the way to Mars because landing on the Moon doesn't gain you anything.
> That says to me that either advertising on Youtube is a bargain or advertising on TV is way over priced :-)

NEITHER. Advertising on YT is worthless and yes it used to be way overpriced on TV.