skysight-inc/HackerNews huggingface dataset:
One of the things I like about EntityFramework is that you write LINQ, which odds are these days every C# dev should be familiar with. So, standby a few gotchas (which SQL has as well), the code you write to query an in memory collection is the same code you write to query the database.
This also makes it fairly easy to test because you can create in memory representations of your data and check you filters, projections, orders etc.
>See what I got with my "ball and chain"? Turns out it was actually the anchor for the whole boat. Sure, you have to learn a new syntax, sure, it's not sql, but that doesn't make it bad or wrong.

If you are fine with the new debugging this entails. Take the joined load example you gave. Almost every time I encounter SQLAlchemy code, the author didn't understand the lazy joining semantics and every attribute access on each record is emitting a new query and you now have O(n) queries. It's not obvious that is happening until it bites you once you have thousands of records.

For another example, I can count on one hand the number of developers I have encountered that can understand the expiration of the objects in the session or what the engine builder stuff is doing in the boilerplate they paste in to get it to work. It always requires experimentation, a trip back to the SQLAlchemy docs, and then finally logging all SQL queries to see if it's finally emitting the optimal queries with the transaction guarantees you are looking for.

My gripe about SQLAlchemy is that it separates you too much from what is happening underneath.
Windows 8 Activator Unlock All the Windows 8 Features
If you have to ask, then you may want to consider flying solo.

(Sorry if it sounds a bit negative)
What are you talking about?

Blockchain is now 30GB. A 4TB drive costs around $120. So it literally costs you 90 cents to store that data.

If 30GB bothers you, use MultiBit or Electrum.
Sure they may interview, but how does that make the model not work? The answer is going to be the same every time: of course my laptop is regularly in the possession of the IT support organisation.
Now I've seen the video below, I understand the point. It's been a long, long time since I used earlier versions of MacOS and I was never a regular Mac user back then. I'm not sure if that was a better or less convenient method of browsing files. I can see the benefits of both Finders to be honest.
>I could have picked on any program-handling program such as an assembler, a loader, or even hardware microcode.

Prescient.

If I was a 3-letter surveillance agency with an unlimited budget, lots of gifted engineers, and significant legal leverage over the two largest players of the PC processor market via such instruments as National Security Letters, x86 microcode is exactly where I would hide backdoors.
If you received unwanted physical or sexual behavior, that is a real problem and I am genuinely sorry that you had to deal with that.

A long time ago I received some pretty serious harassment from a female coworker. It happens to men too, and it is not fun at all.

But the fact that it also happens to men doesn't mean that you can just dismiss womens' problems like that. Unless you are living in a culture where men and women are exactly equal, then you need to realize that men and women experience these things differently.
I've used *nix for ~15 years and never used a named pipe or process substitution before. Great to know about!
4 Tips for Creating a Web Video That Works
That should have been SunCycle, not SynCycle...
The difference there is that you enter types for thousands of lines of code. OTOH a schema is changed relatively infrequently. Maybe a few times a day during really experimental stuff.
I don't think anyone required anyone else to join that subculture when making that joke to their friend.
Python-flamegraph, a statistical profiler which outputs stackframes
Speaking as an Aussie, I'd much prefer to come across one of these in the bush than I would an angry drop bear.
A practical guide to front-end web development
Amon – Lightweight self-hosted Datadog alternative
while True:
continue

return solve(x)
Lenovo still shipping infected systems as customers grapple with removal
well progressiveness isn't a binary thing, and there's a lot of angles upon which to be progressive. It's possible to be progressive among some angles and not among others.

Just because you aren't racist doesn't give you the right to be sexist (being blunt but the idea is there).
Azure Cloud Service Diagnostics with New Relic
'Top Gear' Host Jeremy Clarkson Suspended by the BBC
How a robot-pupil helps children with learning difficulties
Same for me, it's mostly the romantic element of the lone survivors hidden on that unreal island.
What SoC are they using?

intel? POWER? arm?

It'd be interesting to find out. Does intel even have a 65w SoC?
The dongle "thing" did not take place at a nerd community nor a professional conference. It took place in a private conversation between two people who happened to be at a professional conference.

The distinction is the same as if they were seated in a coffee shop. Conversations there are between private people, not with some coffee shop "audience". People who listen in to such conversation, and worse, reacts to it, are doing something which polite people consider very rude.
Citation needed!

There's plenty of evidence that gaming machines in the UK are set to far lower than a 95% payout, namely that each machine displays this percentage on it, and they are almost always below 95%

The people installing these machines aren't fools, they know that lowering the payouts increases their profits.
This cool infographic shows all top level domains 1985-2015
Indeed for web development tools like MiniProfiler give you access to the queries in the page along with execution time and duplicate query detection.
We use it on Oracle with the Devart provider and it's pretty snappy even with the somewhat bonkers looking queries it sometimes generates.

Because in my office the alternative is PL/SQL functions that dynamically build WHERE clauses, and I'll choose EF over that any day.
OPTIMAL strategy for video poker is hard.

Here's a dude who claims to have worked it out:
http://wizardofodds.com/games/video-poker/strategy/jacks-or-...

While not a trivial strategy to memorize, it should be quick and easy to code.
Hands off job discovery, no positions browsing required – Searchin
Really? I thought brogrammers were programmers that exercise and aren't introverted. Never really considered brogrammers to be a 'force trying to tear down programming'. At least that describes everyone I've ever met described that way, including some very talented, welcoming people.

Likewise, some of the most technically talented people in node identify as feminists.

Thinking about it (which I'm forced to because my Twitter timeline is full of this), I don't think anyone really is trying to tear down programming. I think the problem is the false narratives we tell ourselves about the other side.
Apprenticeship Week: apprenticeships vs. university
(Firefox Web audio developer here)

It's because, we've not optimised our implementation _at all_ (I'm exaggerating a bit but you get the idea).

That said now that Firefox's implementation is in good shape in terms of spec compliance, we have started (very recently, one week or something) to work on performance.
How to get a car loan without credit history?
Yes! A thousand times yes!
Levelling up: 16 of Europe’s most exciting mobile gaming companies
How does the > process substitution differ from simply piping the output with | ?

For example (from Wikipedia)

tee >(wc -l >&2) < bigfile | gzip > bigfile.gz

vs

tee < bigfile | wc -l | gzip > bigfile.gz
Tristan Nitot,former Mozilla Europe President, Joins Cozy Cloud Team
No, the CIA isn't stealing Apple's secrets
I've been thinking about this from a long time now, but never researched it.

Does that mean you can't do it with some particular view matrix ?

I always wondered if it's possible to have a very low fov near the center, but still account for a large enough part of the screen, so that the fov progressively increase as the image is far from the center of the camera. That way you would have high details near the center of the camera, but more view angle near the edges.
What if they claimed and displayed 95% payout, but actually only paid out 92%? Don't you think that would be more profitable? Because that is basically what they're claiming is happening here. Do you think enough people will keep track of their winnings for long enough to catch the discrepancy?
Nice article. Really easy to follow introduction.

I only discovered process substitution a few months ago but it's already become a frequently used tool in my kit.

One thing that I find a little annoying about unix commands sometimes is how hard it can be to google for them. '<()', nope, "command as file argument to other command unix," nope. The first couple of times I tried to use it, I knew it existed but struggled to find any documentation. "Damnit, I know it's something like that, how does it work again?..."

Unless you know to look for "Process Substitution" it can be hard to find information on these things. And that's once you even know these things exist....

Anyone know a good resource I should be using when I find myself in a situation like that?
> - BHyve (virtualisation)

For me, not being able to run a current kernel-accelerated qemu is a real problem. Is there anything preventing this work from being done, or is it just a matter of bhyve having the momentum so nobody's bothering?
It's been going on for a lot longer than 2013. I was listening to a friend of mine complain about not being taken seriously and attracting a trail of irritating admirers when we were both undergraduates 15 years ago.
Optimal strategy:

http://wizardofodds.com/games/video-poker/strategy/jacks-or-...

Note that the strategy depends on the payout table.
Efficient WebGL stroking
Negative feedback on the internet is generally pretty disastrous.

People like to jump on the bandwagon when someone "evil" is identified, based sometimes on the flimsiest of evidence. Then, surprise -- if you have millions of "racist-hating" people online who think they've found a racist (or whatever), some of them will retaliate in truly vile ways.

Imagine for a moment that your friend plays a practical joke on you, and posts a stupid sexist comment on twitter as you. And suddenly your employer is getting a dozen calls a minute demanding you be fired, and your home address and yearbook photos and who knows what else are collected and published online. And... it's hard to know when it would stop, but "justice" on the internet is a very, very poor tool at present.

Even at low-scale: just imagine how the typical group of "popular" girls in middle school might decide to use a Facebook "Dislike" button against this week's chosen unpopular girl.
The only real difference here is Sequel.lit

Well, no.

I repeat: The real difference is that most people can't write even this utterly trivial snippet without studying the Sequel documentation first.

Now what if I want a WHERE-clause? Do I have to use s.where? Or s.select_append("where ...")? What if I need to combine them with AND/OR?

It's not ok that we have to think about all this boilerplate that has nothing to do with our actual query.

We shouldn't have to translate our perfectly unambiguous request from english (SQL) to klingon (Sequel API) in order to have it processed.
Prepare for euro-dollar parity
Classes are not an improvement. See Crockford: https://www.youtube.com/watch?v=bo36MrBfTk4
Why does 'government' come into it? Do you really believe that it would be acceptable if a private company was doing the same thing?
Baun: A New Kind of PHP CMS
Or, alternatively, search for an unknown song by a snippet of known lyrics.

"here's a truck stop instead of saint peter's"

Sale might ensue.

Isn't it interesting that we have reciprocal use-cases?
Being an adept sailor is practically a requirement for the upper classes in Norway. The maritime culture is in the DNA of the country. The king himself is a world champion sailor.
If anyone is interesting in reading the Trial Brief from Kleiner Perkins, the pdf is here: http://cdn.arstechnica.net/wp-content/uploads/2015/02/256174...
Given that those factions are mortal enemies, I don't think you can say they both won.
It allows multiple, parallel pipes to each individual command, where the | allows just one.
You might want to prefer population density over population as a metric: the population density of the UK is _much_ higher than that of the US. IIRC, this is true even east of the Mississippi.

Pasture is probably higher quality in the UK though, owing to the wet climate, which would compensate for there being less pasture.
Yeah well, I should have said "Google". Also, don't forget about the SolarCity thing... https://gigaom.com/2015/02/26/google-solarcity-partner-on-75...
So, hypothetically, if we were to believe in fate and love at first sight (humor me here), your suggestion is that an interviewer that has passed on a candidate through a rigorous interview process with multiple interviewers where everyone said no for the same (or different) valid reasons... Simply accept the fact that he will never be able to date his "one and only?" That he won't ever even be able to see "what could have been?" That seems awfully unhuman; to deny yourself and another human the possibility of a potentially blissful relationship, solely because "we once met in a professional setting" seems, frankly, dumb.

Now, if he were the sole interviewer, or if he cut the interview short, or if he asked her DURING the interview, this would be a different conversation. But we don't know that.

Not every situation is the same, and it should not /always/ be "totally unacceptable" to ask someone out on a date. If they say no, and you pressure them, that's a different story.

Sometime you have to apply reason to a situation and understand the facts before casting judgment and making blanket statements. I have no reason to say that what this person did is acceptable; for all I know he WAS the only interviewer, and he did pressure her. But that's just it - we /don't/ know, and you cannot cast judgment to say that this is unacceptable as a result, without knowing more about the intricacies of the situation.

Generalizations like this are how we get into trouble in the first place.
That's good to hear. Just noticed your username and remembered you commented on a stack overflow thread of mine whilst I was developing this, about 24db filters: http://stackoverflow.com/questions/28502028/web-audio-api-24...
In the tee case the substitution is actually going somewhere different than standard out (that's what tee does).

so:

cmd1 | tee out.txt | cmd2

So tee is splitting the stream into two outputs, one that carries on out stdout (into cmd2) and the other one that is redirected into out.txt.

With process substitution you can do extra stuff on the way out, I guess (I've never seen it used for output before).

It looks like in the example given they're writing wc stuff to stderr while zipping the content (over stdout).

Nice to see that example, I hadn't even thought about the usefulness of process substitution for outputting like this!
Monitor: Denver cops failed to record many clashes with body cameras
I'm pretty sure a lot of what they make can't legally be marketed as chocolate in Europe.
What exactly is this? The site does not do a good job in telling me. Is it a competition? Is it a hackathon? I do not understand why I should care about this.
Everyone feel safe using a compiler written by a twisted mind like that?

(Ask someone who uses Go today, for example ;)
You're so far off topic and against the spirit of HN at this point, the only reason I'm even replying is to hopefully make you realize that.

This isn't Reddit, our comment chain isn't supposed to be this long.
They were in love/dating/having sex, then they broke up. It's pretty easy to see why he was upset.

According to the saying, "don't shit where you eat", both of them could have known better before starting their relationship.
"Salesforce had a truly aspirational goal: to change the way enterprise software is delivered."

If that's what counts as aspirational around here, I'm in the wrong job.
> Sometimes it works. Sometimes it’s critical. But sometimes it fails, or results in unintended consequences that we may not notice for years.

A bit off-topic, but it explains why we got Windows 8x and the upcoming Windows 10 - data driven metrics.

When will Microsoft learn that developers and advanced users turned off the "phone-home" metrics gathering functions in Windows XP, Vista, 7 and Office?

People want Windows 10 to be Windows 7.5. It would be nice to get some lost Windows XP functionality back and shell bugs fixed that are in since Vista.
Phishing for android developers
The data might just show that offering 50 inch TVs to someone who just bought one is actually a rich opportunity. Perhaps both televisions were stolen in a burglary. Or someone is finally upgrading all their televisions from CRT to flat screen -- maybe they moved from a house to a small apartment. It would not surprise me in the least if people were 10 times more likely to purchase a television having just bought one, compared to individuals randomly selected.
His presence galvanized and terrified employees in equal measure. [...] “He could be really rough when he was mad about something. He could shame you. But you knew why, and you knew you’d screwed up. If you were as passionate as he was, he loved you, but if not, you were gone.”

Reminds me of someone...
Writing better CSS with meaningful class selectors
Indeed. Just these days the lack of materialized view has been giving me troubles. It would make a certain process about 50 times faster without touching code at all, and it would take me all of three queries.

Granted, the real problem is a poor design of the system, but materialized views would enable me to improve what others have left behind.
unocoin seems to make it quite easy to buy /sell in India.
> ...room for further study.

And if people's belief was based on that study then you might not be wasting your time trying to cast doubt on it. As things stand, it isn't, so you are.

Without actual evidence you can't hope to sway opinion because there's SO much evidence that indicates to the contrary. How do you explain that anorexia and bulimia are massively swung towards people who target male sexual partners? How do you explain the massive difference in the amount of time and money spent on clothes and grooming? How do you explain the fact that ugly/pretty couples are massively swung towards m/f rather than f/m. It's data. The hypothesis needs to fit the data. Yours doesn't.

> Rather I'm trying to nudge the discussion a bit toward a path which I personally think will be more successful overall.

Hang on... so you're trying to divert people away from, y'know, an idea that fits the evidence, so you can change the narrative to what you personally think would be "more successful"? And we should let you do that based on, what, blind faith that you know best? Have I got that right? If so, dude, you're way off the reservation on this.

> My whole point is I don't want to dismiss anyone, least of all 50% of the population!

Assume you don't see the irony there. By trying to protect men you're denying women, because the evidence overwhelmingly points to this being a problem that affects women. How you can you deal with a problem when you deny the evidence for it? It's like #NotAllMen all over again.

Dude, I'm sure your pain is real. I sympathise, I really do. Everyone has shit to deal with. Doesn't make you right.

Denying the facts makes it harder to solve the underlying problem, not easier.

> I'm probably going to check out of this particular story now

Uh-huh.
I'm always surprised at why people (especially those who end up winning these things) tend to use C for these challenges.

Is it just because they can still solve a challenge even if the solution is suboptimal in some cases? It can't possibly be that it's easier for them to think about problems that way...

Another interesting thing is that Python is only really popular in US.

Source: http://www.go-hero.net/jam/14
In that case, would this have been better had he started it with a "Hey, so I have no method of changing anything at this point with regards to the interview, and wouldn't even do it if I could. But I was wondering..."

Would that have been easier for you to swallow? Because the fact that we, as a people, are so cynical as to assume the worst is, to me, incredibly fucking sad. :(
Show HN: Breaking a CAPTCHA, in JavaScript
Photonic crystals cause active colour change in chameleons
Is this a delaying tactic? I started with the reader, I gave working code named PasswdReader. You suggested the alternate name PasswdList so I replied with something that was a better fit to then name PasswdList, in large part because it had list-like performance characteristics.

I think it's safe to assume that "reader" is the one that 'bothers me the most'.

As for "practical", it's a simplification of code I use for parsing a chemical structure file into a sequence of records/molecule objects. I simplified it so it would fit in an HN comment and not require specialized domain knowledge. It does reflect the true intent of practical code.

I'll be surprised if you can come up with a better name for "-Reader". Once that's done, I would like to read about your alternative name for "generator".

But I can point to read-world OO interfaces like ANTLR at https://theantlrguy.atlassian.net/wiki/display/ANTLR4/Parse+... which uses "ParseTreeListener", "JavaLexer", "JavaParser", and "ParseTreeWalker". It's much easier for me to believe you don't know what you are talking about than to believe that all of these "-er" classes reflect bad OO design.
man pages!

$ man bash
/<\(

Drops you right into the Process Substitution section.
Adding Functionality to Ruby Classes with Decorators
I like most of what I see in the sane mode. I would even go further and make "" and 0 truthy in that mode.

I don't think I would use the type system. Maybe it should have its own proposal instead of being "bundled up" with sane mode. At least it is optional.
Why would you ever script password logons? You should be using key-based authentication...
All the translations your graphics card can perform are affine [1]. One effect of this is, that lines always stay lines. If you have a look at the pictures, you will see, that the Pannini projection does not preserve lines. So no – this can not be done with a view matrix.

[1] http://en.wikipedia.org/wiki/Affine_transformation#Propertie...
Most SQL engines support ordering by column number.

select c1, c2, c3, ... order by 2;

would order by "c2"
If you like pipes, then you will love lazy evaluation. It is unfortunate, though, that Unix doesn't support that (operations can block when "writing" only, not when "nobody is reading").
Testing substances on healthy humans is a big deal. At the moment nootropics are used only in disease models.

Also, the creation of nootropics which offer greater upgrades to cognition should be a priority. There have been a few promising chemical such as PRL-8-53[0], but when people have tried such chemicals on themselves they haven't lived up to their promise.

[0] http://en.wikipedia.org/wiki/PRL-8-53
didn't hear about Cozy before, i guess it is free software?
A Canadians tale about where startup motivation comes from
What you want is an abrasive culture and I oppose that.

Why? Why can't hyperion2010, or anyone else, have an abrasive culture if they want to?

There is nowadays some controversy about, best as I can tell, gamers who like abrasive gaming, ie. shoot and insult each other. I can see how one might not want to participate, but why the need to force them to stop? Wouldn't leaving them to it be a reasonable solution?

If some nerds prefer a different code of conduct than you, can you really oppose that? Do you really think you can or should go into their group and tell them how they should behave?

What happened to live and let live?