skysight-inc/HackerNews huggingface dataset:
Kind of a strange letter, especially given that Irrational Games is a subsidiary of Take Two. It makes it sound like Irrational is doing great, and Ken Levine just wants to try something different. But if that were the case, demolishing Irrational to try his new thing doesn't make a whole lot of sense. It'd be more sensible for him to just leave Irrational, starting a new endeavor (either another subsidiary under Take-Two, or his own independent thing), and leaving Irrational intact.

Possible explanations include: 1) there is not as much success going on at Irrational as implied; 2) Ken Levine is just really attached to the name, and so wouldn't let it continue in present form while he leaves to do something else under a new name; 3) ...?
Type safety dramatically reduces the number of unit tests required. Since unit tests often depend on the structure of code, that reduces the amount of rewritten and modified test code and the stability of the tests over refactors, which in turn must make refactoring easier.
Show HN: frequency.js, inspired by xkcd's "Frequency" webcomic.
We don't really need more countries, rather we need different countries. Globalization has made the west one giant colorless cat-video-loving nation. Hence the interest in micronations, seasteading and other "alternative citizenships".
This a great tip! We've updated the post and credited you for the info. Thanks!
The creative process that went into designing our new logo
Is anyone doing this for analytics/data science/statistics or business intelligence/data warehousing?
It's not, but what: the financial market provides a mechanism for people to choose between asset classes with varying risks and rates of return. Bond issuers offer notes that pay out at a premium to the interest rate over a fixed period, stocks are issued with the possibility of a dividend or appreciation in value.

Didn't you notice what happened during the recent financial crisis? Capital markets dried up, credit was unavailable to many small and mid-size businesses, and many of them shut down for lack of cash flow during a period of limited demand, rather than any fundamental flaw in their business organization.
In Act Of Protest, Vase Is Destroyed At Miami Museum
How much time are you talking? Professionally, no one's going to mind if you take a few months break. Personally, I strongly encourage you to take a break! Just decompressing after 17 years in school and getting used to real life is going to take a while. Of course this depends on how much "real life" exposure you had during school :) but for me it was about 7 months.
I think you are confusing the real and the nominative. The currency would be sold at a real discount, which means a real premium on my labor if I am exchanging it for dollars instead of DeflataDollars, so that's what I'd prefer to accept if I will be holding it for a short time.

"And the amount of the discount would increase over time until the value of the currency fell to zero."

The exchange rate would change over time; that's unsurprising. I'm not sure the discount (in real terms) would change if the rate of inflation was constant. It is apparent that the value of the currency would fall toward zero - that's basically our premise; it is not apparent that it would fall to zero. You'll have to support that if you want to stand by the claim.
I agree, I can't see the approver's perspective on this one. I sent you a gas receipt today, and I send you a bunch more receipts tomorrow, and some more the following day. How do you know which transactions are legitimate if you're getting them piecewise and not for the whole trip (i.e. bombard the approver with requests so they can't tell falsified charges)?
I'm not sure it makes much sense to refer to a JSON packet as a "document". HTML is truly meant to represent documents, with embedded semantics. JSON is really meant to represent data or objects in the most abstract sense. It has no notion of embedded semantics.
Think about it like this: If you switched to a Dvorak keyboard and suddenly were typing 90% faster, jumping over to a co-worker's machine with a QWERTY keyboard doesn't suddenly render you ineffective.

It might take a moment to switch gears, but it's all there.
That's a tautology. By that reasoning, don't bother writing any tests, because all your bugs in production will get past them anyway!

My bugs got past my type-checker, but only 100 of them. You have 1000 because the 900 my type checker caught, your dynamic language didn't. Then you go and write unit tests for them, and spend a day writing code that my compiler generated automatically for me.
For us, the most common case was non-square-bracket DI syntax in the "resolve" values of Angular UI-Router[1] route definitions.

[1] https://github.com/angular-ui/ui-router
Well, deprecating the language every 12 months would sure be good for developers on support contracts. If we could make it so most new software needs you to have the latest version of the language/vm/runtime, and our software needs an older version with deprecated features, customers would have to keep paying for upgrades whether we were adding new features or not.

For the end users, people who don't get paid to do maintenance etc it might not be so good.
True, I'm curious what (if any) IDE the quote-author is using for refactoring. Or perhaps they are just referring to the simplicity of something like being able to rename/edit a method signature and have the compiler catch all the references to the old name immediately.
What's the underlying database?
I'd like to see the Scala code too. I've played with both and in the end, both codes are pretty complex, just complex in different ways.

It's a complex problem with a lot of edge cases and tricky error cases that need to be handled properly, which is where the elegance of the language or the programming paradigm usually goes down the drain.

I'd like to see a fully functional snippet of code that gracefully handles errors in both languages.
I'm not sure if there conclusions that one can draw from it, but I think it has use for reasoning about security - both physical and virtual. It sounds like the people who want to progress in the game have started to adopt a set of "best practices" to both deal with honest players and trolls. I think the constant presence of trolls makes it quite interesting.

The obvious parallels are to a public-facing computer system, where attackers are constantly trying to get in. The difference, here, though, is that no one has privileged access. I find that an interesting thought experiment: is it possible to have any security when attackers have the same rights as legit users?
From the NEWS section in the page:

Improvements

grep -i in a multibyte locale is now typically 10 times faster
for patterns that do not contain \ or [.

grep (without -i) in a multibyte locale is now up to 7 times faster
when processing many matched lines.
If you have complete control over your programmatic infrastructure and you are getting PHP 'cake in the face' you shouldn't blame PHP. You're just a shitty programmer.
Outrage pointed at the government:

I don't agree with the supposed intentions of the government. If the government really was trying to 'protect the little guy', it wouldn't allow all those short-term credit schemes that charge exorbitantly high interest rates.

Those things are toxic, screwing up peoples' lives all the time, but the government lets it keep on going.

What kind of person who can barely put food on the table invest in a startup? It's stupid.

Even if you can put food on the table, you should be able to do whatever the hell you want with your money.

False advertising and misrepresentation is the issue that needs attention here, not "protecting the little guy."
A few months off won't hurt you. I've got gaps between all of my jobs and it's never been a problem. It does put you in a slight disadvantage in negotiations (companies will often bid your salary up higher if they feel like they have to hire you quickly or else somebody else will), but if you have solid skills and tangible accomplishments to demonstrate, they'll want you regardless and figure they don't want to leave you on the open market for somebody else to grab.

A few years out of the workforce can hurt you. I have a friend that decided to spend a few months traipsing around South-east Asia, that few months became 5 years, and now he worries about being unemployable.
Not much on game theory here; the article was mostly a summary of what happened so far on stream.
White Girl 4
This definitely opens up risks to anyone you pair with. However, the thought is that by restricting access to a specific tmux session and only to those you have explicitly added as "authorized", you can limit those risks by a considerable amount. This works well for us because we only use this for developers on our teams. I would advise not adding anyone's public key to your authorized_keys file that you don't fully trust. Thanks for feedback!
The Engineer Crunch
Then how did the Helvetic Republic come about? During the wars of the French revolution it had pitched battles fought on its territory by outside forces (some of which had Swiss regiments on payroll, if not on the battlefield). Foreign powers moved large military forces through Swiss territory for many centuries.
My impression is that you completely misunderstood. (I only skimmed the article.)

The folly that is being held up to ridicule are the objections to bitcoin.

The means by which it is held up is to show that bills as a medium of exchange can be attacked just as strongly. People still use it. Nobody is going to make you go to the bank to give them $5 back, they use bills. And if you only have a $10 note, they'll make change for you.

This is directly what's being compared to bitcoin (for example) - by pointing out that whatever objections anyone might have against bitcoin (theft, etc), could be made - ridiculously - against paper currency.

The reason it is ridiculous is because the benefits of paper currency far outweigh the inconvenience stemming from using it.

Likewise, bitcoin can have tons of problems - but the benefits far outweigh them. That is the point being made.

"It is folly to criticize bitcoin".
Yep.

> A disgruntled former employee of Texas Auto Center chose a creative way to get back at the Austin-based dealership: He hacked into the company's computers and remotely activated the vehicle-immobilization system, which triggered the horn and disabled the ignition system in more than 100 of the vehicles. The dealership had installed the system in its cars as a way to deal with customers who fell behind on their payments.

I'm not going to get into the benefits of open source for consumer appliances, just that there is quite a bit of research into internal communication within the vehicle's operational systems and it's quite poor.

Giving all cars a 3G connection to the world and having shitty security means we're going to have a bad time. I had hopes with Google showing interest in getting Android into cars, but it's just for "infotainment" which in all likelihood means offloading the development of those shitty DVD players.

Updating the firmware of the various ECUs within your car involves bringing it to a dealership/repair shop, which probably means they're never going to get updated. Let that sink in for a moment -- imagine a plethora of Windows XP boxes having 3G connections and rarely getting updated even by the end-user.

[1] http://www.computerworld.com/s/article/9229919/Car_hacking_R...
This is awesome! Really great work. I can think of about five different instances in the last couple weeks where this could've really helped me out. Oftentimes, I ended up just using something like NameMangler[1] instead and pining for the flexibility of my editor.

For the other commenters in this thread that don't see the appeal or keep comparing it to other alternatives, here's what's so compelling to me:

- Editor agnostic. This isn't just for vim, people. ST2 is awesome for this kind of thing.

- Undo. Easy undo. That's a killer feature, and I wouldn't be surprised if it's unique to this tool.

Effusive praise aside, I ran into a couple small issues on OS X:

$ massren --config editor 'subl'
massren: Config has been changed: "editor" = "subl"
$ massren
massren: exec: "subl": executable file not found in $PATH

subl is indeed in my $PATH, but it's actually just a symlink to the ST2 application directory, as the ST2 docs suggest [2]. I solved this by just adding the app directory to my $PATH, but it'd be nice to keep it out of there if possible.

Also, I'd like to be able to pass switches along with my editor command, like git config's core.editor [3]. However, this doesn't seem to work:

massren: exec: "subl -wn": executable file not found in $PATH

Anyway, great work once again, and thanks for releasing such a cool tool!

[1] http://manytricks.com/namemangler/

[2] http://www.sublimetext.com/docs/2/osx_command_line.html

[3] https://help.github.com/articles/using-sublime-text-2-as-you...
So, what do your co-founders think? Are they trying to create a culture of workaholics only? If your planning on hiring people over 30 or women your company is going to have to deal with it sooner or later.
What a useless piece of PR. No details, lots of fear, and then: buy our anti-virus !
> not ask to be notified when it completes

This is trivial to add (Guava offers it as ListenableFuture), but either way, it's a library concern, not a language one, so I don't think it makes sense to pit Java and Scala over this.
The non-techie translation guide: What are these nerds really saying?
"Coursera was founded by programmers and is dominated by programmers."

I doubt Daphne Koller or Andrew Ng were (production) programmers. They probably wrote enough Matlab or whatever for their teaching research needs like most academics. (imo, glad to be corrected).
Ask HN: Where is Brute Force Search still useful/used?
What are some famous problems where Brute Force Search still beats other deterministic approaches in computation time and/or resources usage ?
Sounds like the protesters are trying to throw Molotov cocktails at the water cannons. They are also using laser pointers to blind the police.

Photos: http://america.aljazeera.com/multimedia/photo-gallery/2014/2...
If you also built the computer, wouldn't you already have that specific and concrete evidence?
My preferred language these days is Clojure, which is dynamic, but I don't agree that most errors have nothing to do with type safety.

Most errors are fairly random. There isn't a pattern to them. Misspellings, misconceptions. Whether your type system catches them depends on the strength of your type system in addition to how you represent things. (Hashmaps vs. records, whether the get call on a Hashmap returns a nil value or an error when the key's not found.)

A strong type system makes it likelier that errors are caught earlier. This may or may not be justified, depending on the application. For some problems, the reduced error-to-failure distance is considerable and it's a huge win.
World's Strongest Coffee
Say what you want about Darwin's ideas and how they have been used and abused by others, but everything I hear about this guy endears me to him.

I'd like to think if I were in alive his time and lived in his neighbourhood that he's the kind of man who could tell a fantastic story, dazzle you with his knowledge and various ideas, but above all be humble enough to treat you with the same respect.

I wish I could say the same for scientists today, so many I've run into are so focused on their own area of research that they have lost the ability to relate that learning and wonder they see to anybody who isn't just like themselves.
I don't get why it has to be a policeman, an automated system would be better.

Otherwise, bitcoin just found a great new application: sending bribes to policemen.
Irrational Games closing down
Last time I was a victim of credit card fraud: never.
My first child arrived around the time the original founder of boxcar.io invited me on to be CTO. In my case my wife also had to go back to work (surgery resident at the time) less than three weeks after the kid was born. We made it work, but it was tough on everyone involved. In general it very much depends on your individual situation and how much outside help you can expect/afford, and also how understanding your wife is and what her situation is. We moved my mother in law into our two bedroom apartment and made that work, not sure I would recommend that, but it was pretty much the only reason I was able to do the work I was doing. Even then I was forced to change my work habits greatly - I needed to become much much more productive with the time I had, whether it was at work or with my family. Feel free to contact me directly if you want, contact info in my profile.
Startup of the Week | Calgary
I don't feel like that is a good indicator. Sales start pretty early nowadays, the $60 price point is really just for people that cannot wait (there are exceptions, as always).
I also practice CDD. But my experience is that few people complain. Maybe 1 out of 20. The rest silently endure a bad UI, walk away from the app without comment, or badmouth the app to their trusted friends.

Complainers have to be cultivated. Complainers can be your most valuable asset.
Any chance of an example from a slightly more recent language?

If you are going to say we shouldn't use C because of overflow handling, at least suggest a language that actually does it. Otherwise you haven't really made your case.
To put some meat on the discussion, what would be an example of a logic error which would be introduced by a refactoring?
Well the accredited investor rules really are there to protect people from getting scammed. That rule just accepts that a material number of the people asking for investment are going to be unscrupulous bastards who are just out to take their "investors" money. This way they take it away from people who can afford to lose it, rather than people who cannot. There are avenues for non-accredited investors to invest in the market in which the SEC has put a lot of constraints on the people trying to you pitch you such that if they are really crooks you can sue them and try to get your money back. Sometimes even that fails, as in the Madoff case, but they try.
A very weird line of code in Linux Kernel
I enjoyed this article because it stated without a whole lot of bias why Scala was the right tool for the job.

Python could have fulfilled some of the requirements such as the lighter concurrency; however it would have come at the expense of the ease of deployment.

I disagree with type safety being integral to refactoring, but each team has their own culture and this seems to fit theirs well.
How does Netflix get content to you so quickly?
RE: Quick price drop over 6 months.

I think every game does that these days. There usually are fairly official numbers for sales of video games as it is a highly mature market. What are the real sales numbers?

Here they are:

https://en.wikipedia.org/wiki/BioShock_Infinite#Sales

I suspect they budget was insanely high for the game though, so they needed not just a blockbuster, but a massive one.
I wouldn't want to work with people who self describe as top performers, unless that classification is also given by their peers, performance reviews, and accomplishments.
Good Design Can Make Anything Sexy. Even Dry Cleaning
No Secret: the Demand For Mobile Engineers is Absurdly High
> Still, there's nothing like it ...

Very true, and in the long term, there's nothing but it -- only those who make this choice are represented in the future population. The rest of us live on, not as organisms, but as memes.

> Yes, there are a great number of "right choices", but some are objectively better than others. A lot better.

Surely you understand that that sentence contradicts itself, yes? If one "right choice" is a lot better than another, this means there's only one right choice -- the choices aren't equivalent, or even comparable.

> Still, there's nothing like it, and it's worth speaking about the positive aspects of heterosexual marriage in a forum dominated by, quite frankly, people like you who have an irrational, negative, and hostile attitude towards non-gay marriage and families, to the extreme point where mutilation of your reproductive system is an acceptable choice.

Ah -- now I get it: choosing not to have children is mutilation. I read your post out of order, but in sum it makes its point very clearly.

To those reading this thread who expressed doubt that there are people who refuse to accept any choice but marriage and children -- hey! I found one, and there are many more.
I feel like I'll veer off topic here but you should probably weigh the advantages/disadvantages of that sort of opposition.

Unlike what movies might lead us to believe, running away from the police (car chase style) seems to be very useless in terms of your chances of getting your innocence proved or whatever (not like you're going to run off and discover that proof).

This site(http://pursuitsafety.org/mediakit/statistics.html) has a bunch of tidbits on the topic, namely that pursuits are extremely dangerous (most end in car crashes) and are dangerous to bystanders as well.

The role of police aggresivity can also be an issue, but that's why we have the constitution. Searches without warrants are no-gos, so in theory you have no incentive to speed off( There was that recent article about the FBI pulling people over and making up probable cause though...).

I am slightly biased because of some personal reasons, but I am absolutely fine with having your liberty to drive extremely fast and putting everyone around you in danger for self-driving cars. In fact, I'm willing to give up that liberty just for the safety effects. All the logistics bonuses (sharing cars and whatnot) are a great plus, obviously. In any case the police will stop you at one point if they really want to. I think there are probably more fundamental issues to tackle if you want to get into issues with the police force.
A New Tool That Seals Bullet Wounds in Seconds With High-Tech Sponges
The facts are not copyrightable. http://www.lib.umich.edu/copyright/facts-and-data

But there's probably a violation of the terms of use, so maybe it's not a good idea to say to everybody that you take the data on the official website.
They't need to be not just clearly defined but enforced; wouldn't it be cool if we could write a tool that automatically enforces them ? hmmm ... :)
taken from http://git.savannah.gnu.org/gitweb/?p=grep.git;a=commit;h=97... it seems like the speedup was achieved in the most common case of usage, which is with the -i switch (for case insensitive searching).

taken from the commit log:

"The trick is to realize that for some search strings, it is easy to convert to an equivalent one that is handled much more efficiently.
E.G. convert this command:

grep -i foobar k

to this:

grep '[fF][oO][oO][bB][aA][rR]' k

That allows the matcher to search in buffer mode, rather than having to extract/case-convert/search each line separately. Currently, we perform this conversion only when search strings contain neither '\' nor '['."
I wonder how large you have to be before Google will answer.
Here are a few Couchbase users (but there's a lot we can't tell you about.) http://www.couchbase.com/customers
Cops already have that power, yes. But random assholes on the internet didn't have that power, until now. That's the problem with this sort of bound-to-be-insecure remote shut-off technology (trolls or criminal abuse).
The Next Samsung Galaxy S Takes Shape
If you write unit tests that make assertions that would be caught by a type checker, you're writing bad tests.