skysight-inc/HackerNews huggingface dataset:
Well yes, arrow functions are the magic ingredient.

But the point is that with them you can express custom control flows trough custom functions instead of built-in syntax without much of a loss of readability.

So we don't necessarily have to wait for ES7. We already have alternatives.
Some people have also built async from generators (yield) + promises. So that's another ES6 alternative.
We have a pretty strong reliance on the estate tax for situations like these. I imagine if longevity were discovered, that would change to another kind of wealth tax within 10 years.
Apple-Tesla acquisition: Tim Cook dodges the question
Because email is almost too easy. When you take the time to call or write them a letter you're letting them know that you're serious.
I have never worked in a company, large or small, where my coworkers behaved in this manner. Meanwhile, I have worked in numerous companies where a colleague was not able to make a scheduled interview and asked me to stand in for them instead.

I'm not discounting the possibility of your guess, but I have never experienced it personally, and I would have a major issue working with anyone who behaved in this manner in a professional environment.
> Is something "publicly available" if you can be sued for using it?

Yes.

> There's a difference between the details of the invention being known and it being available for use.

"You have to pay for it" doesn't equate to "it is not available". You can argue that it's an exorbitant price, but Google is paying for it.
How a 3D-Printed Cracker Could Transform the Food Industry
> What power? He's both unprofessional and socially inept, but he holds no power over her at that stage.

he can still hire her

EDIT: changed citation
OT: is this domain also owned by Popcorn Time guys? https://popcorn-time.se/

I noticed a difference that these guys also offer iOS version.
What if he scares off 10 1x engineers because he's poisonous? Or what if he scares off another 10x engineer who happens to be a woman? Keeping toxic people around is not usually going to pay off, regardless of "outrage culture" (which is an odd way of describing a culture that punishes abuse of power).
I don't think there is any current theory that completely eliminates stop-the-world. Taking the .Net concurrent GC as a reference point, it will drastically reduce the amount of times the GC needs to stop-the-world.

off-topic warning

> someone that's not very familiar with garbage collectors

Something that will greatly increase your understanding of GCs is knowing what they actually are: a GC is actually not technically a memory-reclamation device, instead it is a device that simulates infinite memory; if you actually have infinite memory noop is actually a GC. Understanding that is key to understanding the conservative optimizations that some people recommend, if you are too aggressive with how you treat the GC and memory pressure you program might fall apart when influenced by a different GC implementation. Correct GC treatment results in a program that executes well under any GC implementation - including a concurrent GC. There are probably some programs already out there that rely too heavily on the current Go GC and they will likely need to re-align with the new GC implementation. Always be very careful when reading literature that goes very heavily into the implementation of a specific GC, and how you can capitalize off of its implementation. Good literature on GCs has truisms even in the noop GC scenario.
Would you mind giving a few examples where OpenBSD is lacking consistency or polish?

I was a huge NetBSD fan for many years, but I moved to OpenBSD about 6-7 years ago because I felt it actually had more consistency and polish. It's been so long now though that I don't remember specifics.
Having a pretty tough time understanding this comment... Are you saying that having someone fill in for an interviewer is a huge problem that we should "all try to do something about"?
The curious case of Technoviking
This post reflects an interesting technical narrative of companies switching off MongoDB to more traditional relational databases as they grow.

Importantly, I don't think that's an indictment of MongoDB. Instead, it highlights the key advantages of NoSQL: ease of use and rapid iteration.

When you're first working on a project, MongoDB is very easy to slap in. You don't even have to create tables/collections. As you iterate, you don't have to constantly be updating schemas as your product direction shifts. Thus, MongoDB is perfect for early startups.

As a company scales, of course it's warts start to show. The very attributes (like schemaless storage) which were an asset when just a few developers were hacking on the project become a drawback as the company grows in size. Reliability becomes more of a concern.

Naturally, people shift to a more traditional database. Personally, I'm almost ready to switch some of our core functionality from MongoDB to Postgres. This isn't an indictment of Mongo though.
Why this intentional misleading title?
I guess "Big Brother" is alive and well.
Despite all that effort, Java GC still has a lot of problems today; long pauses still happen in heavily loaded servers unless they're tuned carefully. Sometimes taking a fresh approach is worthwhile.
It's definitely easier than typing in sixteen digits (plus expiration and security code), assuming you have a device with your Bitcoin wallet handy but no credit card autofiller. If your device has both your Bitcoin wallet and a credit card autofiller, I would say both methods are equally easy.
>If he just waited a few weeks with that second mail, we could hardly fault him for being unprofessional could we?

We could fault him for being sexist - she'd have to wonder if she didn't get the job because he wanted to date her.
If you think real estate in SF and the valley is bad now ...
I've heard dark themes can actually damage your eyesight because the contrast isn't high enough. I like white themes because it's just like paper. Black text is easy to see.
Six-Legged Giant Finds Secret Hideaway, Hides for 80 Years (2012)
Ask HN: Non-Sexist Behaviour Guidelines?
Question related to the topic of multiple discussion threads about sexist behaviour in the tech industry...

There are many cases where it is clear ethically and legally what can be said/done with coworkers of any sex - this is one of the cases where the person's behaviour was clearly wrong: https://news.ycombinator.com/item?id=9178681

However, there also some other situation in the modern workplaces where you can find yourself in the legal/ethical grey zone. For example: you gradually become friends with your coworkers, start spending time together doing things outside of your work context. You can end up hanging out privately with your superiors or subordinates and this can eventually lead to various personal and romantic entanglements.

The legal advice would be: don't. But, the modern workplace culture encourages being more then 'professional coworker' to your coworkers outside of the office. And I personally think it is a good thing because it makes workplaces more human. I certainly made some amazing friends (both male and female) at the places where I worked.

But, my question is: has anybody with legal and/or HR credentials and some ethical sense written any definitive guide what is OK and what is not specifically in the context of the modern office?
Googlers' Epic Hack Exploits How Memory Leaks Electricity
Why do you think they're spending all their time raising money? So they can campaign to YOU! Obviously it can make a difference if people get involved.

Look; Its going to be hard. Its going to take a long time. So? Isn't it worth it?
The Winklevoss twins believe Bitcoin will come to dominate global finance
A resounding yes.
If it's currently unavailable on Android, you should be able to start seeing the site again whenever the TTL of the DNS records ages out... this just happened for me on my own home network where I have a DNSSEC-validating DNS resolver on the edge of my network.

However, when I do "dig +dnssec @8.8.8.8 ds hbonow.com" I don't get any DS records back, indicating that the issue should be fixed on Google's PDNS.

Can you tell what DNS servers you are using on your Android device? It may be that your ISP is doing DNSSEC validation and experiencing a similar TTL issue.
OP will be back in three years talking about migrating off of Ruby...if they make it that far :-)
How to Start Working on a Project and Find the Way to a Client's Heart
You don't agree with me, so you question my motives?
I assure you that whoever wrote that code knows SQL.

The builder syntax is convenient because it allows queries to be composable without ugly string-smashing. For instance, you could take the object built out of that "User.select..." and pass it around into other functions that append extra 'where' clauses, etc.
It's making an advance for the eventual goal of sex. How is that not a sexual advance? How is an email chain between interviewee and interviewer, discussing your interview results, not a professional setting?
Your comment made me realize why I prefer to work in ORMs instead of raw SQL, even though I'm frequently frustrated by their limitations - it all comes down to composability.

The mongodb syntax looks like it supports composing statements much more readily than SQL. It makes me wonder if there's been any serious work done making a query language that's fully as general as SQL, but is designed to be safely and easily composable so that you can build queries up from parts.

Anyone know of such a thing? The mongodb approach of query-as-data-structure is as close as I've seen.
> Letting HR know about the incident will likely cause this person to be terminated.

HR doesn't generally have the ability to decide to fire people. So if this person's bosses, in consultation with HR, think this is worth terminating someone over, that's certainly their right.

I don't want to parse words with you, but this is wildly inappropriate behavior and it certainly should not be ignored. HR is the correct department to make sure it gets addressed.

And, frankly, some companies may believe that "creepy" and "mean" behavior on its own is a serious offense even if, as you assert, no abuse or harassment occurred.
As funny as this is, no not really. It would take your 100 years and spread them out over 500 (as it slows aging), so that would leave you with 250 years of unemployment :)
Surely we can find a middle ground between ping pong and unzipped trousers. The boundaries are just not that complicated.

I'm all for encouraging women in tech and executive positions, but we shouldn't need women to tell us this is wrong or to police our behavior.

I hope none of that sounds too much like disagreement. I think we're mostly in alignment, except perhaps the suggestion that with a preponderance of men in executive positions and on boards this kind of behavior is inevitable. I have to believe that men can do better on their own if they want to, however much the help from women is welcome.
Or 450x new projects and job openings, depending how you look at it.

Of course, a 22 year old engineer won't stand a chance of getting hired over a 222 year old engineer. :) at that point they may as well be called wizards.
"why swiss music is... oh well..."

Reminds me of a favorite recording of Dizzy Gillespie playing with his band at Montreux. It's a pretty reserved audience, and Dizzy, who was renowned for having a lively interchange with his audiences, said while introducing vibe player Milt Jackson:

"So far, you are a typical Swiss audience. Of course, a Swiss audience might not be the greatest audience in the world. But they will do until the real thing comes along."

The last was said mirthfully, pausing to emphasize each word, and the audience chuckles good-naturedly, knowing their limitations.
while i've not spent much time with the "nosql" products, its mostly because i've decided to stay SQL. The bottom line is that most humans think of data the same way SQL thinks about data. When you talk to people outside of engineering (i.e. mgmt or customers), they expect the product to be able to do things that SQL does naturally (normalized data for easy changes to things like 'user name', join and sort based on a variety of cross cutting properties, etc). You can always make both do the same thing eventually, but one will fight you more than the other....
You are misunderstanding my point. I am fine with ping-pong tables and beer on tap, if they come with professionalism, where professionalism includes things like not sexually harassing women. Alcohol especially needs to be handled with care, and encouraging employees to have more than one drink is downright irresponsible. My point was that there is a contingent of business-types whose gameplan is to use the fun stuff as an excuse to drop professionalism, as in, why should you ask for a raise when you're having so much fun here? It's one big party!

The reason I say this is that I was recently job interviewing and I had one company that acted like this, and even brought me into a Friday happy hour as part of the interview process, where a bunch of young males were playing beer pong. First of all, how is that not a hostile environment for a woman? Secondly, I didn't want to drink, so was I supposed to look like I was no fun or bend my principles? Finally, when I complained to the recruiter, I was told they _only_ did that for engineers, and it was clear to me that it was a general strategy of indoctrination to avoid paying market rate, because it was all fun and games until we started talking compensation. And the company I most recently worked with before was more or less the same, the startup industry is filled with companies exactly like this.

We have a culture of brogrammers because the VCs create it to avoid paying engineers. And if you think programmers are all men, take a look at the VC and senior management gender diversity sometime.
The concept of moving from one database technology to another, especially something like NoSQL to Postgres, sounds like a huge task.

Aside from redesigning the schema/model and changing all the code, what about new backup/restore procedures? Scaling and performance best practices? Did you need to hire a postgres expert?
Why I recommend EmberJS over AngularJS
eww sql, have fun paying a dba :)
How to structure the code of iOS apps
“Tearing apart the products of U.S. manufacturers and potentially putting backdoors in software distributed by unknowing developers all seems to be going a bit beyond ‘targeting bad guys.’ It may be a means to an end, but it’s a hell of a means.”

The trouble with the means justifying the ends, is that ends are fictions invented to enable the telling of stories. Outside the structures required for stories, there is only ever really the means.
Best case scenario is that the interviewer learns from this mistake.
> (If he's that creepy, he'd get her the job and hit on her then)

This may not be creepy so much as the optimal strategy for avoiding internet outrage if she rejects your advances... Does everyone here seriously have no idea how much office hooking up goes on in the world, or is it only okay if the date is asked for after work hours on the elevator?
#DanBC: Even those with other viewpoints, are not defending his behaviour. It is more to do with what next ? This is not a case of harassment as far as I can tell - but unethical and unprofessional behaviour and needs to be condoned for sure. But stretching it to a borderline harassment case is what needs to be avoided (atleast not until full facts are known).
Can you explain the difference between a filtered aggregate and an aggregate on a result set that has been limited by a WHERE clause? It's difficult to tell the difference from the annotation on the comparison table.
> Define "properly secured wallet"?

Cold Storage[0] done right, that's a properly secured wallet. I think this is the best, and cheapest security (minus fiat currency conversion expenses) available atm.

> And whose responsible for securing wallets?

With cold storage, you are.

[0] https://en.bitcoin.it/wiki/Cold_storage
Better question is, who's sponsoring the vpn company behind popcorn time? Is it an mpaa honeypot?
NetBSD is normally the first choice for embedded products in the BSD family, I'm aware of some large companies used NetBSD in their routers and printers.
I'm in India and I can't even buy it easily. Paypal hates it, as does India's Reserve Bank.

Too much effort for too little reward. Right now, the only thing I'd actually want to buy with BTC is illegal stuff off the darknet. There is virtually nothing else I need that bad that normal cash can't do.
based on the information we have he didn't do anything to test her experience.
The distinction that is important in my mind is:

* This code is bad; vs.
* You are [A named person is] a worthless person.

The first is fine and a healthy part of software development. In a casual environment like open source development on the internet, it can be said with humour, with venom, with fervour, with sarcasm, or with hyperbole. Don't take it personally, even if happens to be code that you wrote. It's not a personal flaw of yours if everything that comes out of your keyboard is not instantly the best code ever written. Calm your ego. Use it to become better, stronger.

The second is a personal attack and is not acceptable.

Some people don't seem to be able to tell the difference, and treat the first as the second. Furthermore, since they can't tell the difference, they often react by doing the second (e.g. "Linus is a shithead for saying that and should go die in a fire"). I find that offensive.
Yes there is a solution. The reason it took you days to resync was because you ran the reference implementation, Bitcoin Core, which is meant for "full nodes" running 24/7. Simple users like you should instead run "thin client" or SPV wallets (Simple Payment Verification) which do not need to store the whole block chain, allowing your wallet to resync pretty much instantly. For a list of SPV wallets see https://bitcoin.org/en/choose-your-wallet and look for those labelled "simplified validation".

You also very likely ran into the problem that older versions of Bitcoin Core were slow to download blocks. For example version 0.10.0 released in February 2015 introduces parallel block download, which makes resyncing faster. Numerous other optimizations were made over the last 12-24 months (eg. better detection of stalled downloads). From your description it sounds like you were running a significantly older version of Bitcoin Core, so you were missing out on all these optimizations.

I would like to point out that despite the block chain growing continuously, we are still very far from the point where only large service providers can hold the block chain. The average block size is currently ~400 kB (https://blockchain.info/charts/avg-block-size?showDataPoints...), this means the block chain grows by ~20 GB every year. This is only 1% the size of an average desktop hard drive (2 TB), and would take only 4.5 hours to download (once a year, mind you) assuming a steady common residential Internet download speed of 10 Mbit/s.

Heck, a dedicated computer on a common residential Internet connection could still run as a full node and handle an average block size 100x larger that today (~40 MB per block, 2 TB growth per year = 0.5 Mbit/s continuous download). I would hardly describe something an enthusiast can do as a thing that "only large service providers can do". And keep in mind by the time 100x growths happens, CPUs/HDDs/Internet speeds will be much faster than today. Bitcoin's scalability has already been benchmarked pretty well: https://en.bitcoin.it/wiki/Scalability - no immediate bottlenecks are in sight.

"high fees in its transactions"

Fees are optional, and typically 0.0001 BTC (3 cents).

"up to 15 minutes for the transaction to be approved"

No, transactions are typically "received" instantly within seconds, and take 10-60 minutes on average to "settle" (be confirmed by 1 to 6 blocks). This is a lot faster than credit cards or ACH which both take 24h (or more if this is a weekend) to be received (ie. dollars available in the recipient's account), or bank wires which take days (or end-of-business-day if your are lucky).
The Need for Machine Learning Is Everywhere
> 1) How are broad secret court[4] and non-court[5] orders constitutional?

There are two broad concepts these rest on.

First, is that many of the NSA's activities do not require court oversight in the first place, because they rest on the executive's broad powers in foreign affairs. By and large, the Constitution does not apply on foreign soil, and so the NSA does not need a court order to spy on e.g. Angela Merkel. The crucial thing to understand about the FISA Court is that it's not an attempt to take something that previously required a warrant from a regular court and make it a secret proceeding. That would be unconstitutional. Instead, its an attempt to take a process that Constitutionally requires no court oversight and inject some court oversight to ensure that the NSA stays within its foreign mission.

The second broad principle is Smith v. Maryland plus the broad subpoena power. Smith v. Maryland says that information you put in the hands of a third party is not protected by the 4th amendment. The subpoena power says that you can always be compelled to turn over information pursuant to a valid investigation. The subpoena power is very old. It predates the Constitution by hundreds of years.

The anti-NSA side generally misunderstands the context of the 4th and 5th amendments. The background rule is that the government is entitled to evidence relevant to an investigation. Heck, even private litigants are so entitled. If you're suing a company, you can serve a subpoena on a third party obligating them to turn over documents relevant to the lawsuit. The 4th and 5th amendments are exceptions to those broad powers. And in an age where everyone's information is floating around in the "cloud" where third parties have access to it, Smith v. Maryland gives the NSA a very wide latitude in which they can operate and still in good faith say their programs are legal.
nice! What game engine did you use?
Drawing Lines is Hard – an interactive look at GPU line rendering
I don't give a fuck if he's a 10,000x engineer or a 10e100x engineer. If his idiocy destroys his company, then it doesn't matter. Any number multiplied by zero is zero.
Its our fault because we put those politicians in power. Its our fault because we on the whole would rather watch sports, reality tv, play games, etc... than get involved in the running of our country.

And it doesn't even take much. Can you really not spare a 5 minutes once a week to call your representatives? Think about if more people did this. Suddenly those lobbyists voices would get a lot less powerful.
While I agree the SQL it produces looks ugly, performance wise I haven't found too many issues (using EF 5 then 6). The few cases where it produced legitimately bad SQL (slow), was due to the developer failing to grasp how queries are built (in particular abusing "in" and having multiple layers of selects instead of just a flat query which could have done the same thing).

I will say EF requires extra training/knowledge. So it isn't a "free" framework. However being able to migrate your entire code base from one database to another only changing a single annotation in the Code First classes is pretty nice. As is being able to generate your databases via the initialisers.

Is it for every project? No. However for "classical" database projects where you're going to be writing a bunch of CRUD and shoving it into C# classes, it is very helpful.
I like the idea, that JS developer who keep their types straight are rewarded with performance, without introducing "compiler flags".
Lua Fun: High-performance functional programming library for LuaJIT