skysight-inc/HackerNews huggingface dataset:
Still, using `try` seems much slower (in Chrome 52):

var times = [[],[]]
var sums = [0, 0]
var funcs = [
function(){ sums[0]+=1 },
function(){try{ sums[1]+=1 }catch(e){}}
]

function bench(n){
var t0 = performance.now()
for(var i = 0; i< 30000; i++) funcs[n]()
times[n].push(performance.now()-t0)
}

for(var j = 0; j< 10000; j++) bench(j%2)

function avg(ary){return ary.reduce(function(acc, v){return acc+v}, 0)/ary.length}

console.log(times.map(avg))

// results:
// [bare , wrapped in try{} ]
// VM89:18 [0.347546000033617, 0.7464809999451041]

Let's do some more work inside the function / try block:

var times = [[],[]]
var sums = [0, 0]
var funcs = [
function(){ for (var i = 0; i < 1000; i++) sums[0]+=1 },
function(){try{ for (var i = 0; i < 1000; i++) sums[1]+=1 }catch(e){}}
]

function bench(n){
var t0 = performance.now()
for(var i = 0; i< 30; i++) funcs[n]()
times[n].push(performance.now()-t0)
}

for(var j = 0; j< 10000; j++) bench(j%2)

function avg(ary){return ary.reduce(function(acc, v){return acc+v}, 0)/ary.length}

console.log(times.map(avg))

// results:
// [bare , wrapped in try{} ]
// VM90:18 [0.09457900004982948, 0.5069960000008344]

I'm sure I'm doing many things wrong since I'm not a JS perf expert, but still, the difference here is goes from 2 to 50 times slower with the `try` block...

Edit: for the sake of completeness, on the same machine:

Firefox gives [10.2, 10.3] and [5.30, 5.45]

Safari gives [5.56, 5.60] and [4.91, 4.94]
Nice post. Confirmed that I was right to systematically ignore Amazon recruiters.
What about the interference from the trisolarians?
Amazon is just as bad, if not worse. (Not trying to excuse Ebay here.) I'll frequently do a search on Amazon and see some ultra-low price on something, then click on that to see the product. Half the time, the product page will have a bunch of different options, and the ones you want all cost far more, and only the ugly pink one is cheap, or the one in extra-extra-small. Or sometimes, I won't even be able to find the one at that ultra-low advertised price. Or it'll be in the "other sellers" section, along with a gigantic shipping fee.
Yes, I've read about the stress.

And yet. If Lars will mail out that disk to somebody, somebody may well just pitch to a bunch of VCs, build a fresh web interface and bury it all in ads.

Couldn't Lars do that himself?

The plastering it all in ads, I mean. As somebody in another comment said correctly, the age of online altruism is dead. We have our ideas who killed it, we mourn the passing of an age, but we can't change it.

(OK, just ignore this if the ads are already all over Gmane. I wouldn't know, I adblock...)
I agree that the data is the data. I take the author's concern to be with the practice of treating the data without considering that it may reflect underlying biases in the materials it encodes and thereby claiming objectivity or neutrality in the products that apply the data when making decisions.

For example, if an automated news generation application uses Word2Vec, statistically it will reflect the same word associations as are found in the source data. Which is to say that if the source articles contain a significant number of word associations an individual might deem sexist, then the automated news generation will likely also contain similar word associations the same individual is likely to deem sexist.

One way of looking at it is that at best, Word2Vec perpetuates the degree of sexism in word associations that existed at the time the data set was collected and applications built upon Word2Vec will have no more or less sexism in their word associations than existed at the time of Word2Vec's creation.

If one believes that reducing the output of word associations reflecting sexism is a good thing, then relying on Word2Vec will not achieve that good thing.

This is the case regardless of how one defines or recognizes "sexism."
Holy shit this is ridiculous
NetSuite was a solution for people who outgrew stuff like QuickBooks and needed a grownup accounting solution, but didn't have the need or pockets for Oracle Financials.
I'm not affiliated, but it's a shameless plug anyway because I'm huge fan of it since its Amiga days: Get Directory Opus, that is, download the free trial of the pro version and explore the settings and help files some, and of course, use the search function, too... let's see if you can do without it afterwards :) I for one cannot STAND using windows without Directory Opus after having used it with, it's one of the precious few applications which have been pretty much perfect for a long time, yet keep getting better. Sorry not sorry for rambling, I love this thing.
but programmer has to know what ds/algorithm to choose, of course you can look up complexities and stuff but it doesn't help in cases where performance tuning of caches ect is necessary. you have to understand what that particular algorithm/ds is actually doing to tune it properly.
Yes major brain drain.
Because you can't fairly evaluate the offering if you can't see it until after you've already given away the item of value (in this case, your email address) in exchange for which the offering is made.
> Yeah or don't be shitty to your employees, or don't hire managers that are so bad at giving negative performance reviews that the employee goes out for revenge.

There are people unable to take even the nicest, most constructive of criticisms (or even perceive non-critical statements as such). Hard to say without knowing the people involved on a personal level.
I've used Getaround as both a renter and owner, and have had a pretty positive experience. The killer featured is the "Connect" kit they install in your car, that lets a renter unlock the car with a smartphone -- no need to coordinate key handoff/pickup. It also gives you free 2FA for your car; you need to unlock with the app before the key will start the engine.
How many finance professionals were saying "I don't want to look down on struggling homeowners, but from a macroeconomic standpoint the housing loan "crisis" is at least an order of magnitude smaller than the early 2000's tech bubble or the S&L scandals of the 80's" in 2006?
Must-haves on a homepage to attract developers
> One feature that FreeBSD may be missing is the dynamic behavior of desktop and mobile machines, which doesn't seem to map well to the existing init scripts.

I keep seeing this argument, and i keep wondering what it is actually trying to say.

Just about the only time i can think of that i want to spin up a daemon in response to hardware changes would be with a USB bluetooth dongle, as it would require certain daemons to get working.

But the cost of just leaving a deamon idle in ram seems much lower than having to engineer a whole new init that monitor /dev changes so that it can start or stop a process or two in response to them.

Then again, maybe i am not the laptop packing dev convention goer that seems to use their laptop more like an oversized phone than a laptop (never mind a desktop).

Edit: damn keyboard ignored the copy command somehow, so i had the wrong quote pasted...
What Marissa Mayer Brought to Yahoo That Can’t Be Bought or Sold
An implementation of FreeBSD sensor framework[0] suffered a similar fate/criticism -- it was incorporated as a GSoC project (ported from OpenBSD iirc), and presented at BSDCan but happened to be ripped out just before (again, iirc) the presentation[1]... and phk[2] said (roughly) that "'good enough' is the enemy of 'good'", which as a phrase is simple, catchy, and worth remembering (I obviously did). The discourse around things like engineering decisions in the *BSD camps is mostly civilized, and a treat to witness...

[0] https://www.openbsd.org/papers/bsdcan08-sensors.pdf

[1] I attended the BSDCan this was presented at, and sat close to phk and witnessed the exchanges about the technical merits, problems, "'good enough' vs 'good'", but am recalling from memory.

[2] Poul-Henning Kamp, https://twitter.com/bsdphk
> Plus, even if your housing cost doubles, other expenses don't. Food costs, gas, vacations, and everything on Amazon is the same. I actually spend a lot less on transportation because I can take public transit instead of a car. We were able to sell one of our cars too.

That's actually not true. I'm referring to cost-of-living, which includes housing, gas, food, etc. All the things you list. Here's a calculator you can use to try it for yourself [1]. Using that, if I live in Columbia, MO (which I chose at random) and make $60k, I must make $111k in the Bay Area to maintain the same standard of living.

[1] http://www.bankrate.com/calculators/savings/moving-cost-of-l...

> You're forgetting things like raises, bonuses, and 401(k) matching that are a % of your salary. Not to mention sign-on bonuses and stock benefits, which are rare in the Midwest.

That is definitely correct. But you can certainly find companies offering good (signing and regular) bonuses and 401k matching; I did. Stock is much rarer, as you say.
You are assuming they can't get anyone in the doors. Strike breakers at an iron factory don't really work unless they get close to the old workforce. In IT 10% of the staff can often keep the bare bones systems operating.
A userspace I/O cache is always going to be faster than the Linux one but that is not a problem with Linux per se. The userspace implementation not only has far more context about the workload with which to make decisions but the design of the underlying I/O cache itself can be perfectly tuned for the expected and desired behaviors a priori. The Linux buffer cache can't reasonably be designed for a single application. This has large performance effects.

By analogy, it is similar to how a purpose-designed hash map will almost always significantly outperform a generic hash map. There are enough design knobs that perfect foreknowledge of the use case allows significant optimization of the implementation.
Right. The only difference between that and what we have now is the ability to detect tampering.
Oops. Wrong terminal.

Always a fear of mine. I always try to pause for a second before I run a command like that.
No, it doesn't see the No Communication theorem. https://en.wikipedia.org/wiki/No-communication_theorem
Preemptive Scheduling of Erlang NIFs
I very much hope that a $1B judgment is enough to put Getty Images out of business based on their terrible practices but sadly I would imagine it would take much more than that.
AFAICT, pretty close to zero. There were people that were denying a problem even existed, and people portraying it as an enormous bomb poised to go off anytime, and very few people in the middle.
> If you're going to be building search engines or whatever, OK.

But this one does build search engines or whatever.
Instead of the dinner, they probably could've negotiated a lower fee which in turn would be beneficial for both clients and the company.

TFA said they were at an impasse on the fee issue. This is just one way of breaking the deadlock. If anybody is worried about ethics issues just change it so that the dinner is Dutch. The point is about A. moving forward, and B. having those meetings - not the couple of hundred dollars spent on the meal itself.
After a quick glance at the code, I noticed the salt is limited to letters only ("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"), which limits the possibilities to 52 per byte instead of allowing 256 values. One can fathom this was done because of a misunderstanding of the need for the hash to be ASCII printable without using hex to encode it. Even so, it could have included numbers and all other printable characters.

It uses 16 bytes of salt, but each byte is crippled to roughly 1/5th of the amount of psudo-random bits it can carry. As implemented, this 16 byte salt is equivalent to 3.25 bytes (26 bits) of pseudo-random data (52/256*16).

This person at least made their source code available. When you run closed-sourced security-sensitive software, you're just taking the vendor's word for it.
> Plus, even if your housing cost doubles, other expenses don't. Food costs, gas, vacations, and everything on Amazon is the same.

That is not what I see. Food seems to be about 10% - 15% higher than here in Dallas. Sales tax is slightly higher. Gas is definitely higher (about 20%). Travel from SeaTac is more expensive and less flexible than travel from DFW. I spend maybe $5000/year on online purchases and other things that would be the exact same price regardless of geography.

Everything, with the probable exception of insurance, is more expensive in the PNW than it is in the Midwest. It certainly is not as big a part of the calculation as housing, but it is not a wash.
Old idea. There's banks and cc companies that currently and previously have offered this. It never caught on because there's not a market for it.
Requiring someone to log in to use your site or service is not a dark pattern though. There's nothing nefarious going on there. As another poster said somewhere in this chain, if upon signing up you have to give your life away via the TOS, or there's pre-checked boxes signing you up for mailing lists, those are dark patterns. Simply requiring a user sign up is not.
I'm using Smolin's terminology because he was defending Seers in his book, is Markopoulos' ex-husband and colleague, and a central piece at the Perimeter. From his book, cited above (the whole chapter is very much worth reading):

"Master craftspeople and seers come to science for different reasons. Master craftspeople go into science because, for the most part, they have discovered in school that they’re good at it. They are usually the best students in their math and physics classes from junior high school all the way up to graduate school, where they finally meet their peers. They have always been able to solve math problems faster and more accurately than their classmates, so problem solving is what they tend to value in other scientists.

Seers are very different. They are dreamers. They go into science because they have questions about the nature of existence that their schoolbooks don’t answer. If they weren’t scientists, they might be artists or writers or they might end up in divinity school. It is only to be expected that members of these two groups misunderstand and mistrust each other.

[...]

Of course, some people are mixtures of both. No one makes it through graduate school who is not highly competent on the technical side. But the majority of theoretical physicists I know fall into one or the other group."
Animals+Before+And+After+Adoption+(12+pics)
If you're in the UK, ordering a pizza from a chain gives you forms with a ton of these patterns. Like the incredibly misleading 'tick the boxes below if you don't want to receive an email/text message with future promotions' thing.

Or the awkward auto coupon set up, which seems like it was designed to minimise the amount of money people were saving through codes. It's as if they realised "hang on, lots of people are using 30-40% off codes" so stuck a cheap 5% off one in my default. The user then has to deliberately remove the auto applied one to get the better offer, which is something many people won't bother to do. Or maybe I'm just overly suspicious, who knows.

Either way, they make the sites rather awkward to use.
So...sounds like a hellhole? That might be the point of your comment...sarcasm is hard on the interwebs.

I think OPs point is that while they might have treated OP like gold, he couldn't conscious taking part in the horrifying things they do to their own people, to say nothing of migrant workers (taking passports as a means of control).
Ask HN: Rails 4 or Rails 5
Hello HN
I am new to web development. I have decided to take the Rails route. Luckily a local business has asked me to develop a few apps. So I will learn on a live project. There are no time constraints since the owner of the business is a friend. Should I learn Rails 4 first and develop the app in Rails 4 or should I jump right into Rails 5?
Indeed. They need to cut a lot more if I were to watch any more than the first few episodes. The show feels a bit like the first season of true detective, except it's boring and nothing happens...
In theory the manager is supposed to determine who's needed for a skeleton crew. But there's managers that retain the people they thought were competent but because they're blinded by ass kissing they end up with less than ideal staff. At the end of the day it probably doesn't usually matter that much though, a drastic downsizing is usually a death knell anyway.
The proof is in the pudding. My savings are growing at an astronomically higher rate than it was in the Midwest. I used to tell myself the same thing before I moved.
This seems like a good reason to handle shipping yourself; if the shipping outsourcing partner is this untrustworthy, it's just not worth it.
Credit Card fee negotiation results in a benefit or cost to a company. Steak dinner is a benefit to an individual.

But it wasn't a specific named individual in the contract... it was "Two Hootsuite representatives" (presumably to be chosen by someone with decision making authority at Hootsuite). I would say that changes the dynamic, as it's not like the person negotiating the contract negotiated a steak dinner for themselves.
https://news.ycombinator.com/item?id=12172372
London Startup Cronycle Secures 2.6m in Investment from Andurance Ventures
> In accordance with the use policy of the Facebook APIs you can't require a like in exchange for something.

Unless you're Facebook, I guess: https://www.facebook.com/business/facebook-wifi
The person you are replying to has direct personal experience with this, and you are telling them they are wrong by citing an internet cost of living calculator.
It's much more important to get a smart and adaptable programmer than one who memorized his compsci textbooks. Yes, an understanding of data structures and algorithms can be helpful, but unless messing around in that space is really going to comprise a large percentage of on-the-job duties (and as the grandparent indicated, it's not for 99% of us who can just use the canned implementations from the stdlib), it's stupid to make it a large percentage of success in the interview process.

I'm glad to hear that Amazon kept the textbook-style questions light -- it's not what you usually hear about happening in interviews with big tech companies.
The setup is way too complicated.

I have TO CHOOSE WHICH ADS ARE GOING TO SHOW? How come that is going to work?
The problem is not that they charged money for the photos. They can do that for public domain works. The problem is that they sent C&D letters to other people who used the same work, even though they were not entitled to.

But then, unfortunately, this could be filed as a simple DMCA notification error and would not entitle the author to 150,000$ in damages per work. She will receive only an apology. And this is how Getty gets to strongarm the less rich artists and only have to say "sorry" when they can't win.
If you have "glittery" paint, you might have a metallic color which doesn't use mica. It's the pearlescent colors that use mica.
You can find anecdotes about how working at any company is a bad experience and others about how it's a good experience.

With Amazon, however, there's something qualitatively different. The anecdotes and evidence of it being a terrible place to work far outweigh the positive. Its bad reputation is confirmed by things you read about their policies, quotes from Jeff Bezos, etc. Poor treatment of employees is consistent across both the corporate and warehouse contexts. This reputation has persisted since at least 2007, the first time I considered working there and did some research on it.
One additional consideration to that - if you're working at a company with a 401k match, 4% of $120k is a lot more in the bank than 4% of $60k. Working (and living) in an expensive area will still make more financial sense than working in a less expensive area - from a retirement standpoint (that's if you move somewhere else in the end for retirement. If you stay where you are it won't balance out)
Seems like a page-filler article based on one job listing.
Some startups might escrow some of their code... but will this mean anything to anybody (apart from Software Escrow companies)? I don't know :-) (probably not since if it meant anything to anybody such startups would not fail, would they?)
That's disingenuous. It's still illegal for a citizen to do this.
I tricked you both and donated per 60euro to both FreeBSD and OpenBSD!
Here's my most recent dark pattern fail.

I tried to use Uber for the first time yesterday (in Moscow). The car wouldn't come for way too long, so I clicked cancel and thought that was it. I even selected a reason for cancelling. As I was walking home, a driver called me saying that he had arrived. I said that I had cancelled the trip a long time ago. Then the app showed that my trip cost 0 and asked to rate the driver, which I did.

When I came home, I discovered that they sneakily took money for that trip! I complained to the support and they said it's working as intended, but they refunded me... in bonus points that can only be used to pay for Uber, which I never intended to use again after this "experience".
I was recently informed [0] about Marten [1,2], which is like RavenDB but uses PostgreSQL for the backend.

[0]: https://github.com/jpsingleton/ANCLAFS/pull/12

[1]: https://jasperfx.github.io/marten

[2]: https://github.com/jasperfx/marten
First rule of email, no one is going to read your email. Keep it incredibly short, I mean one line if you can. Then maybe a small percentage of recipients might glance at it.
Takipi: The 12 Step Program to Realizing Your Java Monitoring Is Flawed
I guess some commenters with a sense of nuance don't find weird VoIP laws to be remotely similar to caveman era rape and monogamy laws and find the conflation somewhat distasteful.
Oracle is not an innovation machine, they are a value capture machine. They seek to monopolize rents in zero-sum games, lock in customers and suck $ out of businesses and large government entities. All companies do this on some level, but as long as they are adding a lot of value, it's a fair deal.

The Oracle Shogunate doesn't care about growing the pie, just grabbing more pieces of it.
Effectiveness in treating what? And what do you mean when you say chiropractics?

You want a study on effectiveness in treating asthma or deafness, then it's probably not available.

Effectiveness in treating something like scoliiosis? Yep, there is a study for that[1]. How about headaches? Seems to be some positive research on it[2].

Now I'm no scientist or statistician and there are also studies point to non-effectiveness in things like lower back-pain[3], yet even that study acknowledges that it's difficult to ascertain since most chiropractic packages aren't limited to simply adjustments.

I find it interesting how many people denounce sweeping generalizations when it comes to programming paradigms and approaches to infrastructure and application development... yet still fall victim to it when it's a topic outside their domain.

We're still just talking about problem solving here, so how come it's not a matter of defining the problem and assessing each approach in context of that problem?

[1] http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3259989/

[2] http://www.ncbi.nlm.nih.gov/pubmed/8775024

[3] http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1447290/
Write them back and tell them you don't want credits, and they'll refund your money.
Reading the full text, I can't help but notice the mention of "Episodic" meaningfulness, which means that meaningfulness peaks at certain times rather than being present at a constant level throughout.

Does this apply to the feelings about what someone is doing that day, or does it apply to the job as a whole?
Why is Rails 4 a consideration for you?
Can you see that it's a people management problem to be careful about the roles you give the kind of people you describe?
That's great, thanks!
Washington has no state income tax.