skysight-inc/HackerNews huggingface dataset:
Moving the repo is the source of the issue here. From now on every developer will see "hey, this belongs to strongloop now".

It is completely different from Automattic, because they took over almost dead project. I saw socket.io at the moment with months without commits, and it was necessary to do something about it.

It is different from Joyent. I would rather see node under a foundation now, but five years ago Ryan probably couldn't promote it by himself and needed help.

Express.js had three active developers working on a new version already. It had an organization named "expressjs" where all related modules are stored. It didn't need to be transferred anywhere (especially not to a for-profit organization for using the repo as an advertising place).

Even if strongloop guys will manage to avoid doing harm (not sure about that), seeing the company name in the all hyperlinks to github is a harm enough (considering that the company did nothing for it... well... except for the transfer payment...).
The taxi industry is crushing Uber and Lyft on the lobbying front, 3,500 to 1
7 Things Status Reports Have Taught About Your Team
Get notifications about unhandled exceptions on your iPhone
Let's say we have the following:

file1.hh:

<?hh
$giveMeAnArray = (time() > 1)? function(array $x) {}
: function(stdClass $x) {};
$anArray = [];

file2.hh:

<?hh
$giveMeAnArray($anArray);

file3.hh:

<?hh
list($f1, $f2) = (time() > 1)? ['file1.hh', 'file2.hh']
: ['/dev/random', '/dev/random'];
include $f1;

if (time() > 1) $anArray = new stdClass;

include $f2;

As far as I understand it, the following will happen when we run file3.hh:

- HHVM will compile file3.hh. This phase doesn't know what $f1 or $f2 will be, or whether $anArray will become a new stdClass, since they depend on the output of time().

- HHVM finishes compiling file3.hh

- HHVM will execute file3.hh, setting $f1 to 'file1.hh' and $f2 to 'file2.hh'.

- HHVM will compile file1.hh. This phase doesn't know what $giveMeAnArray will be, since it depends on the output of time().

- HHVM will finish compiling file1.hh

- HHVM will run file1.hh, defining $giveMeAnArray = function(array $x) {} and $anArray = []

- HHVM will resume running file3.hh and set $anArray = new stdClass

- HHVM will compile file2.hh, which contains a type error. How does it know?

The most likely answer is that type information is stored in values and checked during usage. That is not static typing, it's 'dynamic typing' (tag-checking).

There is an alternative possibility: the state of the compiler could be preserved between files, so type information from file3.hh and file1.hh is available when compiling file2.hh. However, this information wouldn't include knowledge that "$my_account = new stdClass" has been executed, since that's dynamic run-time information which is only knowable after file3.hh and file1.hh have finished compiling.

There is no way (to my knowledge) that interleaving static type-checking with dynamic execution can produce a type-error when file2.hh is compiled. The type-checking must have access to the execution state of the program, ie. it must be dynamic.

If type-checking happens during/alongside/interleaved-with execution, the compilation phase (which must be done prior to execution) cannot know the types of the code it's compiling. Without this knowledge, the first unit of code it produces is forced to use dynamic types (AKA a unitype). Once that unit is type-checked/executed, the runtime information gained may be used to partially-inform subsequent compilation, somewhat like a JIT, but there would always need to be dynamic fallbacks. Of course, a dynamic fallback defeats the main point of using static types: being informed when there's an error. There may be incidental benefits from doing this though, like faster code.
Not really. Google returns millions of results for every search. 320,000 urls isn't a lot and the number of people that were searching for this stuff and were effected is probably quite low.
This was in Maryland. It seemed you went right to the courtroom and talked to a judge along with 40 other people. There was no prosecutor present as far as I could tell.

I've fought them in Connecticut later and there you only meet with a prosecutor and they warn you all over the place that if you don't take the deal and try to go to court the judge can significantly increase the fine :-(
What is 30x500? I googled and it looks like some kind of class but I don't understand. What is 30 and what is 500?
Is it just me, or did they really just fit a quintic curve to theirs "Fraudsters are Sneaky" plot? There had better be a good reason for their using such a high-dimensional polynomial.
Is there a patent review person in charge of the patent at the PTO? That is, is there a name of a PTO person that we can attach to these to say "John Doe approved/accepted/submitted on behalf of... this patent?" If so, I would like to see EFF attach the name. Maybe public ridicule will make them a little more careful.
Big Data Firm Says It Can Link Snowden Data To Changed Terrorist Behavior
I love the idea, I get that its an experiment and I'm interested in seeing what happens. Good luck!!
You can't say these things on HN. It's not nice. Putin is a villain, period. Who are you to spoil the bashing with your rational arguments?
No one here is likely to hold a grudge. I see you got hammered on one thread, but once you figure out what specific things to avoid then people will treat you appropriately.

I have had a few comments downvoted. Some of them a lot, but I learned that sarcasm doesn't translate well in text. Complaints about downvotes get downvoted every time, usually even by people who didn't mind the first comment.

If you are worried about your karma level then try to post interesting stories you find elsewhere. A comment will never get more than a few upvotes, but you can get hundreds from posting a story.
How to model inheritance in a relational database?
How to Deploy an Angular/Rails Single-Page Application to Heroku
I think this is a good example for complexity management. Linus has a bottom-up approach to this. With a few building blocks you build up a system where you can define and work with simple algorithms that are both understandable and approachable by a single human mind.

The underlying assumption is that simple approaches can lead to an "easy" solution. To contrast this with a complex algorithm, a complex algorithm is in a lot of cases harder to implement and reason about.

I would like to object that generally, you cannot assume that simple means easy and complex means hard, there are complex systems that actually turn out to be easy to reason about and simple systems that turn out to be quite hard.

I actually would not be surprised if the next generation of VCS will feature more complexity than GIT to make working with rewritten history easier and to pave the way for certain workflows that git makes possible but not convenient. Then I hope that these approaches will be complex but easy.

PS: Subversion is for example an example for complex and hard. While the interface of subversion aims at being quite easy and usable, the implementation is very complex with a lot of corner cases, exceptions and an abundance of leaky abstractions. It is a primary example of top-down design gone wrong.
If you want to donate, just donate! The EFF always puts the money to excellent uses.

https://supporters.eff.org/donate
At first maybe, but it really is an artform. Most people i know have with tattoos use them to tell a story of sorts: a life event, a homage to an influence to their life, and/or recognition of someone they deeply care for (kids/parents/whatever).
Interesting. I'm sure writing a custom renderer for an app like this would be a very large chunk of work.
I wonder if there is a way to adopt something analogous to a franchise model here. It strikes me that only the communities that are really, really engaged are going to be able to pull this off (which is true of most public works projects). That being said, it would be great to not have every small town and borough have to figure everything out for themselves. A franchise operator for a fast food restaurant doesn't have to worry about where to buy burgers, the brand of deep fryers, or even the optimal amount of time to fry the tater tots. If there was a full on recipe for doing this that is proven to work, a small number of citizens might be able to make it happen even in places where the local government is ambivalent. A proper setup would include some national branding to help with PR (I.e. Every article in every newspaper about community broadband would use the same name for it). It would include marketing materials for the public as well as briefing packs for local officials, legal briefs for attorneys, etc... On the technical side it would recommend specific hardware, suppliers, and designs.

The advantage to such an approach would be to harness economy of scale at a national level, but allow local communities to drive the process and own the network.

I'm not sure how you would structure it to avoid creating another monopoly in the parent company of the franchises. But perhaps a nonprofit or a corporation 100% owned by the community franchisees would work.
Funny how everyone believes software could solve the problem.

Exploit the baseband and route out cleartext audio. Most certainly the NSA is capable of this.
How Spotify Builds Products
If you're a solo founder I think the place where the money is is in "boring" B2B products. There's a whole community called the micro-ISV community you might not be aware of that is full of people doing what you seem to want to do.

I wrote about the micro-ISV community here: http://www.jasonswett.net/the-whos-who-of-the-micro-isv-worl...
Android L Hands On
Barker's erd notation
2004 / age 14
I discovered an exploit on the GameFAQs message boards that allowed me to use HTML in topic titles. I just used this to post some topics with images as titles, instead of looking for SQL injections.

That same year I obtained every student's social security number from my school's database, though I didn't write them down. I never told the school about their massive security flaw because I was afraid I would get in trouble.
the article does not claim that they were arrogant in this discussion. It was very much not an article of the "Linus-Torvalds-is-rude" kind but more of a comparison of visions.

In a way, Torvalds showed with git that he is a good software engineer by putting together established techniques to form an excellent "product". He did not get side-tracked by reinventing the wheel but focused on a useful feature set and a performant implementation. A very good job indeed.
You are missed that Internet was invented by US
I think the main challenge here is getting people to play it repeatedly. The leaderboards is the only aspect that really keeps you motivated. I think having the ability to challenge another player to a "Grid Off" would be a good feature. Pick someone from the leaderboards, go head to head for the highest score.

I also think you should consider the time to solve in the score. That would motivate people to not only try to solve the pattern better, but to be able to do it faster.

Overall decent job. The execution of the idea is done pretty well, I just don't know that the concept is super strong. Adding a few things could make it better, but I understand keeping the scope simple and trying to get it out there quickly.
US search warrants apply to overseas computers
You are arguing -- hey all these cats are grey, so all are the same. All are grey, but there is a very large difference in how dark some are.

Let me discuss your examples:

Israel handled neutral in Europe?!

With all due respect, you have just a clue about English media? I can talk about Swedish media. There, Pallywood was never mentioned in the major news outlets. Torture between Palestinians was straight out censored, even when it was front page news on BBC/NY Times. Negative news for Israel was/are consistently front page.

(I can go check my bookmarks, there are lots of cases.)

There were lots of criticism in Swedish of the Iraq invasion. And especially after the occupation was so incredibly mismanaged.

Whichever, this was my point -- the Western media is heterogenous.

Was the Guardian article the most pro Putin on Ukraine you could find [in major English language media]? :-) It basically said: We can't get rid of Putin, let's try "Peace in our time" and be careful with sanctions, Russia is a smaller problem now than 1989.

That article specifically didn't discuss how nice Putin's regime is. What is the Guardian's position there? No link?

Do you think it is a western conspiracy that Russia is classified as authocratic these days by democracy indexes?

And so on.
8Mb is less than a thousand of a percent of my hard drive. That space is well worth the convenience of not having to worry about installing a language/checking version/compiling/whatever.
Why all the weird snarky replies?

Google Keep is a simple little synchronized notepad thing... It isn't an all-singing, all-dancing, mega-app―but it is quite useful for keeping notes which you can then access from everywhere, and it's quick and easy to use.

I've found it very handy!
It means bloggers with more than 3,000 daily readers must register with the mass media regulator, Roskomnadzor, and conform to the regulations that govern the country's larger media outlets.

We have a simillar law in Poland, good old communist legacy. Formally, you need to register every media outlet with the court. Whether this applies to blogs is unclear, and it's generally not enforced.

But it could be. Which is a situation bureaucrats love.

I'm guessing that this is how it will work in Russia. No one will get in trouble for praising Putin on their unregistered website.
As you go faster, your stopping distance (that is, the distance you should maintain between you and cars in front and behind you) increases. This leads to roads having a maximum capacity somewhere in the area that speed limits are set. If you go faster than that, you're reducing efficiency of traffic.
The NSA's Patents, in One Searchable Database
I guess this is the article that's really of interest:

http://platformsandnetworks.blogspot.com/2014/01/managing-st...

Although the Spotify article is particularly interesting to me
> To get around this, my always speeding grandpere would just have us stop for gas, un cafe, etc right before each toll booth.

That sort of defeats the point of speeding. Why endanger your lives and the lives of the others if you even don't get faster to your destination as you make additional stops to "defeat" anti-speeding systems?
The two approaches also exist for in-application undo/redo stacks.

You can either try to track the operation you did that will need to be undone, or you can track the state of the document prior to the change, whatever change that be. I have found the second approach to be more robust and simpler to think about.
Critics to FTC: Why do you hate in-app purchasing freedom?
Just a note, this thread is likely to get trampled once the real one is posted by the whoishiring bot. https://news.ycombinator.com/submitted?id=whoishiring
I never thought of it that way. It's clearly better to be a dog that gets left at home 8-10 hours on workdays than a dog that sits in a raised crate above it's own shit 23.5 hours per day.
I refer you to the techdirt article linked above. If you upload a KeePass file to dropbox now, you may be vulnerable to a way of cracking keepass files available at some future date.
aha ok. i m deleting..
Show HN: Project tool that focuses on Ideas
It's a strong implication.

Kiro quotes two items from the parent, and says he doesn't want to be bothered with "those" things.

Kinda implies he doesn't use git, since that was one of the two items quoted.
Israel Gaza : Rain Rockets In Gaza City | RAW VIDEO
Sure enough, that's a real problem when the attacker is on the local network, but what if the attacker is not on the local network? Because I think that this attack is supposed to work from an external network, or the Internet.
Wow, so it was. Takes me back :) Thanks for digging it up! Here’s the source story: http://www.openvms.org/stories.php?story=03/11/28/7758863
Do you need to be on the same local network as the user to do that or does that work with an attacker being on the internet?
Also the Ukraine government accidentally shot down Siberia Airlines Flight 1812 in 2001.

Now I do believe that Russia probably supplied a missile system to Ukrainian separatists who then shot down an airliner, however I do not believe that they wanted to shoot down that airliner. It seems much more likely that they were paranoid idiots.

If you look at all the different political responses to airliners being downed by military recklessness, the one thing that seems consistent is the complete lack of consistency.
"Me _personally_, I want to have something that is very repeatable and non-clever."

This is what all software engineers should aim for.
The Cantor-Bernstein-Schröder Theorem
Probing Mobile Operator Networks
I don't get why people are bringing this point up like this was something weird, IMO it should be obvious. You own a dangerous kinetic weapon, you should be responsible for how it's used, either by yourself or by anyone who you lend it to.
I don't know why anyone would find this surprising, there is no balance of power in Russia, it is a dictatorship.
It depends on each url popularity, I doubt any of the requests deals with a ressource you would find on the 500 th page of a search result.
I'm not the guy you're replying to, but from my experience I think it is less a matter of features and more about different ways of doing the same thing. Basic stuff as how selection works (will the selection marquee select only the encompassing objects, every object it touches or a fragment of the object?) is very important when you are spending hours a day with a tool.
W3C Launches Push for Social Web Application Interoperability
This requires the baseband processor to have control over the audio codec which it may or may not have based on the phone that you have.

Of the baseband processor has direct i2c/spi and direct i2s access then, yes, it is possible. If it doesn't, then RCE on the baseband processor is defeated with Signal.
IPNs were unaffected for us. This probably only affected a small segment of customers.
Thanks for a reasoned and informed opinion on this subject.

How do you think about this:

You should not help dictators based on natural resources economically. Countries built on industry will have to democratize when they reach a certain economic level. Countries who get their money from natural resources will just generate more money in Swiss banks if the prices increase.

Edit: pcj50, I doubt even the Saudi A king describes his country as democratic. The West is enough dependent on them that they get a free card. Realpolitik in a democracy means being nice when it isn't too expensive (or the voters back home cares). Dictators are even worse. In sum, there are only varying levels of grey, no black/white. But, well, you knew all this.
Google's Keep will help you to keep engaged -tagline for keep :)
The overzealous HN title will no doubt be updated shortly (currently says "NSA-proof iPhone calls to dead anarchists", should say "Free, Worldwide, Encrypted Phone Calls for iPhone".

I highly doubt Moxie / WhisperSystems thinks this "solves" the problem, as opposed to reducing attack surface in important ways. RedPhone and Signal address an important part of the convenience-vs-security pareto curve. Tapping communication lines is a whole lot easier, and harder to detect, than exploiting hardware.
Ask HN: Ideas for MongoDB exploration project
I want to do a project using MongoDB. IMHO that's the best way to learn something new. Can someone suggest a cool idea I could implement using MongoDB in a weekend or two?

It would be really great if the project fits in the MongoDB's use case and is useful.
Whenever Google puts out a product, you can bet your bottom dollar the comments will be dominated by the cynical view that every product Google releases is somehow the product of a group of shady, hunched-over people with wild eyes rubbing their hands together and saying "How do we get even more data out of people?" "I've got it!" "cackling." This comment is not like that. In the interest of varying the discussion, here's an alternate interpretation.

Google produces Android, which is a platform. The platform business model is well understood: gain a toehold by making a product that provides some fundamental service (telephony, mobile internet, app store), then expand the value of your platform by covering the long tail of things people might find useful (Keep, the new camera app, the various rollouts mobile versions of well-known Google products).

This if why Google Keep exists. Let's say Keep has 10 engineers working on it. Imagine the impact those ten people can have: Android has an addressable market of well over a billion handsets. If you apply standard shitty-startup-business-plan logic, capturing even one percent of them is a significant user base. And they don't even need to worry about revenue because the advertising business is literally printing money! It almost makes you envy them for working at such a large company.
The most annoying things coming back to Java after some days of Scala
You're right - this letter fits perfectly with many languages.

Letter to a Young Visual Basic 6 Programmer

[...]

So how do you help them want to learn it too? You do not tell them this is a language for smart people. You do not tell them you are smart because you use this language.

[...]
He said Botfarm not Botnet, two different things.
> PHP just makes it very easy and the design is actually really clean.

Very little about PHP's treatment of functions is easy or clean.

function foo() { echo "Hello world"; }

$w = 'foo';
echo $w; // foo
$w(); // Hello world
'foo'(); // PHP Parse error: syntax error, unexpected '('

function bar() { return 'foo'; }
$x = bar();
echo $x; // foo
$x(); // Hello world
bar()(); // PHP Parse error: syntax error, unexpected '('

$o = new stdClass;
$o->baz = 'foo';
$y = $o->baz;
echo $y; // foo
$y(); // Hello world
$o->baz(); // PHP Fatal error: Call to undefined method stdClass::baz()

Heck, PHP doesn't even recognise function-call syntax applied to a function!

$z = function() {
echo "Hello world";
};
$z(); // Hello world
(function() {
echo "Hello world";
})(); // PHP Parse error: syntax error, unexpected '('
Nothing is clear. Just as when that all started.
I don't think that's terribly difficult. The NSA has obviously changed their behavior.
/snippy internet comment
I'll go against the grain and say that it's a pretty dangerous article.

What it wants you to do, slay false statements and spread what you know, is exactly the kind of thing that goes terribly the minute you fail to figure out what is true and what is false. Very few things in computing are really black and white, but spending our time proselytizing just leads to more thinking in a black and white world, and adoption of technologies that might leads us in the completely wrong direction (Hello Spring!)

What we have to tell a young language enthusiast is that there is much insight in ideas different than our own, and that there is much to learn in looking outside of what you consider the best. Maybe there are tools that are better suited for other kinds of problems. Maybe not everyone that disagrees with you is very wrong about things and needs to be converted.

I mean, how can you even try to ask people to improve their communication skills, when you say that people that do not think programming is math is because they have the wrong notion of math?! I just don't see how you are going to convince anyone of anything with that level of condescension.

Frankly, and being a bit meaner than I should, it seems to me that the reason Haskell can't catch on is precisely that enough of its community thinks like this.
I heard that you have to do this in order to not get killed when inactive.
for some reason I cant send to you :/. says you arent on the network.