skysight-inc/HackerNews huggingface dataset:
> It would, indeed, be more sensible to build houses and the like;

This is the branch of thinking that should be extended. What exactly should fiscal stimulus _actually_ be building? THAT is the interesting discussion.

We've ruled out burying bottles with banknotes. So, seriously now, what is a truly productive thing for the government to buy?

New water systems? Repaved and widened highways? A super fat information backbone which reaches into every city and town in the nation? What?

Is there ANY category of spending -- ANYTHING AT ALL -- that can put American workers back into a position of global competitiveness?
I hear they're big in china.

http://dangrover.com/blog/2016/01/31/more-chinese-mobile-ui-...
>I imagine it is a hassle for Google to avoid ads in sensitive topics like "grandma fell from the roof" and "mr snugglepuff just got diagnosed with cancer".

Avoid them? They are their most profitable kind of ads...
What on earth possesses people to insert extra spaces between all the operators? It's so ugly and unnecessary.
Open-source car coded in C. Because you wouldn't download one, would you?
2013 - switch from sane, stable, mature language to weirdest scripting engine extracted from web browser. Because lol that's cool to tear out javascript from browser and put to server lol rofl.
2016 - switch to low-level language, much lower-level than PHP, Ruby and Javascript. Because computers became slow lol.

2019 - switch to PL/1 and raw disk sector addressing because bigdata smoothie silicon googley disrupt the world
These days?

It is known.

And I am guilty of this in this thread as well.
I've seen the this kernel documentation project emerging a while ago.
It's truly amazing how open source can be used to write a book.

Awsome work!
I actually never downvote anyone on HN and I seldom upvote anything at all.
Please compare US states to EU states. If we're going to compare US vs. EU or Norway versus Montana, the EU and Scandinavia don't stack up so nicely. Constitutional differences make sociopolitical and cultural comparisons difficult enough.

While it's true that paid maternity leave doesn't exist at the US level, it does exist at the state level. California, population 39 million (versus 26 million for all EU and non-EU Nordic states) offers maternity & paternity leave since circa 2002.

And yes, states with criminal jury trials have traditionally been much harder on crime than Scandinavia. The US population growth rate has been incomparable to Scandinavia's, and the immigrants have by and large not been homogeneous in culture nor orderly. And when you're judged by such peers (as versus the king's nepotistic and political appointments, as in Scandinavia), the judgement can be quite harsh.
Pdfs of Aric Wilmunder's game design documents. Promises a couple every few months. Currently has

* 1983 06 13 Star Raiders II
* 1985 02 14 The Dragon Game (The Eidolon)
* 1985 02 25 Alien Tanknology (Koronis Rift)
* 1985 04 30 The Eidolon
* 1986 12 17 Maniac Mansion
* 1990? Mutiny on Monkey Island
* 1990? The New Monkey Island
* 1991 The SCUMM Tutorial
* 1996 The SCUMM Manual
Safety Check turned on after Lahore explosion, for many people far from Pakistan
To be fair if you were completely inundated with nazi rhetoric non stop, you might think it was the norm too. It's called brainwashing.
I grew up in a non-religious household. I loved the Narnia books as a fantasy, and completely missed the religious subtext. I think it shows the strength of the books ... they are more than just a simplistic allegory. (Except for the last book, as you say.)
Explosion at Park in Lahore, Pakistan, Kills at Least 56
This would be a higher bar than humans themselves can be expected to pass.

I don't mean this in a cynical way. If you consider the time a learning AI spends with humans equivalent to the time a child spends with his family, peers, and teachers while growing up it makes sense. Most children wouldn't fare well if raised by poisonous "nurturers"
here is a nice explanation of what deep sea sat diving is about. http://www.slideshare.net/KevinDuck/simple-30154573
The one hundredth anniversary of the Irish Easter 1916 uprising
IKEA is nice, but is nothing like good quality traditional furniture made of solid wood. So if you want (and can afford) something to last for generations, go for something like this: http://www.manufactum.com/cherry-wood-standing-bureau-p14656...
meanwhile you likely could have sent a DM to anyone who mentioned the given ticker symbol and say "Re your latest tweet - so should I sell or buy?" and then you've simplified it to analyzing the response of anyone who responds for whether their response includes "sell" or "buy". if it's a random sampling you won't even need to tap the same people repeatedly. maybe follow-up DM's to the same person could be "how about now? MSFT, buy or sell?" and so forth. then it's not so blatantly obvious that it's a bot...
Can you clarify what you mean by "kill goroutines?" Because my understanding was if you return while inside a goroutine it get's handled by the GC immediately, and (as someone else mentioned) you can use context to send deadlines/cancellation signals to go routines.
Totalitarian authority over an AI's mind seems just as egregious as over a human's...
Show HN: Underline.js is like underscore.js but using modern ES7 syntax
This project confuses me greatly. How is it better than, for example, perfect privacy?
This guide is nice for people that are motivated, but a large chunk of users (probably the majority, but I have nothing to back that up except a guess) will only encrypt their emails when it's as frictionless as sending an unencrypted email.

Encryption tends to be successful when it's baked in to the system (e.g., WhatsApp theoretically), a preset default (e.g., Android 5.x+ and iOS), or requires absolutely minimal effort (e.g., the HTTP -> HTTPS "switchover"). This has been a known issue for a pretty long time [1, 2].

[1] http://www.gaudior.net/alma/johnny.pdf

[2] https://cups.cs.cmu.edu/soups/2006/posters/sheng-poster_abst...
And it only lost 0.05btc in the span of 2 months.
Maybe using signals there to serve ads elsewhere (i dont have any inside information)but ads on Gmail have certain restrictions.

https://support.google.com/adwordspolicy/answer/6210602

In any case, if you see an ad that you find unacceptable, please report it.
Not natively (yet), but here's a 3D graph someone made: https://www.desmos.com/calculator/6uhmnazdo0

[disclaimer: I work at desmos]
This is exactly how Math should be explained, connecting the dots between abstractions and the real world! beautifully done!
Netflix’s Grand, Daring, Maybe Crazy Plan to Conquer the World
Marcus Aurelius is a funny guy. A caesar "teaching" people to be humble, stoic and productive ... but of course that sounds really thin coming from literally the richest guy of his time on the planet. Granted, he certainly was one of the better and more capable emperors of the Roman Empire (given the list of screwups, that's not as high praise as you might think), but way he found power and richess certainly had less to do with productivity, humbleness and stoic behavior, and rather more with his family's accomplishments. Also he is famous for his hobbies, whilst he was no disaster, he certainly was no Julius Caesar either.

On occasion that leaks through in his writings. For instance he is usually far more concerned with "explaining" a slave's fate than with doing anything about it. Why is anyone a slave because of Marcus Aurelius ? Well, it's their own fault. They are the slave of their emotions, they drink and dance and don't think of tomorrow (slaves in Rome, especially the more skilled ones were treated very well. It is muslims that gave a bad name to the term slavery (although some Roman provinces contributed as well). In the Roman Empire, around Rome itself, it was not that different from being an employee. Sure there were bad jobs, and allowing employers to trade employees was horrifyingly bad for the power relationship, but if you compare to poor-rich relationships elsewhere in the same time, Rome comes out far ahead).

Marcus Aurelius sounds about as fair and balanced as the American Enterprise Institute explaining why there are so many poor. It seems to boil down to not being entrepreneurial enough. Never mind the obvious fact that being an entrepreneur is only common in the top 0.1% (and there, only in name, I've yet to see examples of companies started by the 0.1% that really introduced a new product. Somebody who takes over part of a bank into an independant company is not an entrepreneur in my opinion). In the bottom 50% being an entrepreneur, an independent businessman is actually far more common than in the top-50%, mostly out of necessity. I doubt any explanation for this will be forthcoming from our libertarian think tanks.

But Marcus' opinion of others is similar : if they aren't successful, that must be their own doing. If you didn't own half the farms around Rome, apparently it was because you drink too much (never mind that the Roman rich, not the poor are absolutely famous for just how elaborate their debauchery became).
I'm calling it now. This will get at least 30 upvotes.
One of the things that adds to my depression is that the therapist was also charging $250/hour and I couldnt afford to continue with her.

So I had to stop - because I have three children and I need to cover the expenses for them as a priority. They are the only thing that keeps me here, as I too had to do what you did.
Even if it were currently profitable (after transaction fees), it may be more profitable to release it as a way to introduce new customers to a particular exchange (i.e. Poloniex). I'm not assuming this took place, but if the developer wanted maximum yield, working out some sort of incentive plan:

Flat free to release with "Built to work with Poloniex". Similar to "Click to deploy to Heroku" buttons.

Affiliate link /discount code to track conversions or reward accordingly
> do you really honesty think the media's typical response of "hackers broke in to..." is the correct narrative?

Of course it isn't, but when did media stop at that ? Link baits and ad revenue are more tempting then integrity.

Freedom of press, monetization and responsibility - pick two.
CSS basically turned the whole thing into a crappy apps UI, though the appification of the web honestly started back when Microsoft and Netscape was battling for control over the intranet (and likely why anything and everything is layered on top of TCP/IP these days, for better or worse).

In a way we have come full circle. The personal computer came to be because accountants was fed up begging sysadmins for time on the mainframes. And with CSS and JS "powered" web sites we have returned to the era of the graphical terminal.
Advertising has little relation to quality or wellbeing. It's dangerous to be lazy about researching what products to consume. Junk food has great advertising. Other (not well known) brands have great quality but do not have big advertising budgets.

Maybe we (as society) should start to be less lazy about researching the products we consume instead of letting huge brands with different interests decide for us.
One Bot to rule them All
I think Jobcase is trying to fill the job-related market niche for non-IT professionals.
I personally find LinkedIn useful as companies and jobs reconnaissance tool.
Cynicism is fairly easy, defining the alternative is harder. For example based on what you describe the characteristics of what makes the startup culture "like hell", it sounds like you prefer that work should be nothing more than an exchange of your labor for money, you don't interact with your colleagues other than work, company to not have a defined mission and values other than making money. A hired gun to do whatever we're paid to do. That's also definition of hell for many of us.
I don't know whether the author has anything constructive in his book but judging what's in the article, looks like it's pure snark.
Or JavaScript 1 + "1".
"Power of Go" for me means shared-memory parallelism.

What's the answer for that in Erlang or Elixir?
E2E encryption has a very long way to go. If PGP or S/MIME were the answer it would had successes (conquered the world) by now. I do appreciate the security advocates preaching PGP, but in all fairness it may be a lost cause. Some security is better than none and so we should applaud google and others' initiative to improve the encryption at the transport (SMTP protocol) level, without too much involvement of the end-user. And hope more will follow, whatever it may be.

https://gmail.googleblog.com/2016/02/making-email-safer-for-...
https://openbit.eu/projekte/trusted-internet-services/
On the other hand, people's lived experiences: http://www.chinasmack.com/tag/food-safety
Funzzy – The watcher
Your periodic reminder that under US law, you do not have to somehow get past a login page to be exceeding authorized access to a computer system. A prosecutor needs only to show that a reasonable person, looking at the same computer system, would have known they had no authorized access to it.

That makes things like this a pretty bad idea. At least, in the US.
https://medium.com/@tjholowaychuk/farewell-node-js-4ba9e7f3e...

FTFY
> either way, it's fucking obnoxious to see it on the front page of Hacker News.

Of course, because you can't read, it's obnoxious to be on the front page.
Upvoted for this message at the bottom:

>This is a developing story. Some things that get reported by the media will later turn out to be wrong. We will focus on reports from police officials and other authorities, credible news outlets and reporters who are at the scene. We will update as the situation develops.

Wow, how long have they been doing this? It's really something people should be reminded of every time they read a developing story.
This is kind of funny - I'd bet the majority of the people who received the safety check were using one of the commercials VPNs that provide endpoints in Pakistan - very much liked by people who pirate movies or music.
is should not be used to check string equality, as it is in the space filter. This only works as CPython interns short strings automatically.
I think if you do it this way you can extend the tree without recalculating all the entries. I can just add the next prime to the list of primes.
> 6. What if someone comes up with a better way to solve the problem?
> I want to focus on the last question, because I think it raises the biggest issue. The moment we paste the code into our solution, we create an isolated fork of it. Whenever someone comes up with a better idea, or JavaScript evolves and our solution gets deprecated, we have broken code at our hands and someone needs to fix it.

It must be really weird to program in a language where one must defensively overuse libraries out of fear that somebody will come up with a better run-time predicate to recognize arrays.
The checking subsystem of a Chilean flour factory it seems.
Complete Node.js CheatSheet
I get the feeling this was in the cards when the remaining founder left the company a few years back. Soon after they ditched the Presto driven browser that had been with Opera since the founding, and replaced it with a reskinned Chrome.

Frankly i would use the release of their Coast concept demo as the turning point of the company. From that point on designers and MBAs ran the place, not engineers.

Its is really jarring to see Lie claim that going Chrome helped the standardization effort. At this point in time i no longer trust his judgment on things web tech.
This is relying on the https://en.wikipedia.org/wiki/Chinese_remainder_theorem

The idea is that you will find a place in the tree for your given number at a relatively shallow depth, because every number in the ring Z/p1×p2×..pn×Z has a unique list of remainders in the separate rings Z/pnZ. As long as the product of the primes is larger than the size of your key space, then you won’t get any collisions.

I’m not sure using consecutive primes starting from 2 is actually the best choice though. You could use any primes you like (or for that matter any collection of factors which are all coprime), so long as their product is more than the largest possible key. The choice of factors should probably be tweaked based on benchmarks in real-world use. For instance, the factors could be 25=5², 29, 31, 32=2⁵, 33=3×11, 37.

[Excuse the lack of subscripts in the notation here; no universally installed fonts contain a subscript n, as far as I know. Likewise I’d prefer to use ℤ rather than Z, but I’m afraid it might show up as little boxes for some readers.]
Вывод денег из VKonMILLION лучший заработок в
Why wouldn't it though?

If most humans are offensive jerks then we can't be too surprised when an AI, who we've built specifically to mimic human beings, becomes a jerk too.

I see this debacle as just a natural consequence of a naive and poorly-considered goal. If you build an artificial jackal, don't be surprised when it rips your face off.
Is it possible for this article to be any more full of stereotypes?

I'm surprised it didn't advise sysadmins not to wear pocket protectors.
One man's utopia is another man's dystopia.
at this moment we got 91 reports from random companies claiming we breached their networks, i guess they gonna force us to take it down since they are so fucking stupid to add a 8 digits password to their vnc server! lolz
Good point. I imagine that the higher bar is the level we'll have to aim for. If people know it's an AI they'll try and confuse and break it. I suppose that means there'll be the equivalent of an age of maturity.
Building and shipping functional CSS
I have to admit that I clicked this expecting to read about a fictional Los Angeles detective.
I haven't followed this closely, but I think I can answer your question.

> "Why did everyone else's code refer directly to that guy's repository, and not some centrally-maintained clone thereof?"

I believe the repository, which is on github, did not change. Quoting this article: "And he used that command, deleting 273 modules he had registered in npm (though he left the modules available through GitHub)."

Instead, it was the central registry which changed.

It looks like npm lets others manage "their" parts of the registry, unlike Red Hat which is in complete control of what they release.

> "What I'm really asking is: why is it not done this way for npm also?"

My thought is that it's cheaper. Otherwise each new project in the registry needs an employee to manage it. There's also a long tension going back to at least the WELL's "You Own Your Own Words" of who controls the content provided by members. If something starts off as "we control everything you do" then that's going to be viewed with suspicion.
They should ideally put this message at the top.
Opera used MDI until the last days of version 12.

The tab bar was basically added as a means of easing switching (though control tab was always an option).
Open Source Headless CMSes for front end developers
When you use primes for your modulo, you get unique representation. This is a result of the Chinese remainder theorem. If my key is k, then calculating

k mod 2
k mod 3
k mod 5
...
k mod 29

uniquely determines k mod 2* 3* ...* 29. This way there are no collisions. Any set of pairwise relatively prime moduli would work, but using using primes is simple and it's easy to extend (just add the next prime to the list moduli).
i guess you know my feeling, you just found a reachable ip ? i get like 100 online machines every fucking single day! how bad it could be bro?
You tend not to find the names and addresses of 5 year old children in phone books.
Most humans don't pass that test.
I want to see what Tay 1.1 will be like.

Then, I want to see how Tay 1.2 will tweet.

Then, I want to talk with Tay 2.0.

I will be anxious to have Tay 3.x respond to my inquiries, instead of mindlessly searching StackOverflow.

I can accommodate the problems of Tay's mistakes initially, to see how AI will grow.
Pedantic SW points:

1. Rey is not a Jedi. A better dict key would be "fav_force_user".

2. For the planets, Episode II is missing Coruscant, Episode VI is missing Dagobah.

Edit: formatting
Agree as Javascript is really hot right now. The new syntax makes it feel like a different language.
Web App Using Microservices in Go: Part 4 – Worker and Front End
FWIW, I fixed some of these concerns here: https://github.com/rust-lang/rust/pull/32529
What does this have to do with HN?
Thank you for this comment. As a father of 3, I know the feel of the load, but its important to note that it also needs to be a partnership to succeed - no single person can carry the load of several children alone.

Also, your site is down...
Absolutely.... why would you work if you weren't getting paid for it?? I have better things to do with my time than make someone else's company more profitable at my expense.

We're all here to make money... and yes, HubSpot sounds like a true hell to me (yes, I'm over 40).
I'm sorry but that's a terrible analogy. The whole point of open-source software is aligning the interests of individual developers and groups to create something that can be shared and add value to anyone who uses it. Currency trading is a zero-sum game. You have winners and losers on each transaction. No new value is being created. There's no altruistic reason that would justify someone with a profitable strategy, ML or otherwise, to share their approach with others (fellow contributing developers, ostensibly, but we all know any shared profitable method is going to be exploited by leechers). You could argue that the process of trying to make a profit here advances the field of ML, and I'll grant you that, it might. But beyond that, there's no "profit for everyone" angle here - that's just human nature.
Japanese space telescope Hitomi (ASTRO-H) appears to have broken up in orbit
sadly yet another Chrome clone for speed of development.
A smart sensor to better connect you with your environment
Japan's space agency had earlier reported they had lost contact,

http://www.japantimes.co.jp/news/2016/03/27/national/science...
Very cool. I remember attending a lecture in Buenos Aires on "Fourier Analysis for Dummies" and this complicated mathematical term that had scared me for years suddenly seemed so straightforward. It's a neat thing to see others explain it in ways that don't involve all the equations.
Sorta like signals using RxJS/RxSwift.
I wonder if the filter that I use here, or on Reddit et al., or while gaming, was (is) a consideration.

I know that speaking similarly to those around you is as easy (hard) as absorbing and imitating, but being able to take knowledge from one context into another is more interesting.

I wonder what Tay would have said were it given an output context of a "polite" RL conversation after learning things across the "interwebz".
Reasonable people don't have their doors locked all the time. Maybe they should, but mistakes and oversights happen

Edit: After some additional research, people on message boards pointed out that many home invasions are done with lock-pick kits, or the burglar breaks a window and unlocks the door. Homes are often broken into without any damage to the lock or door, so the insurance company would never even know if you locked the door or not. It just doesn't come up in the investigation.
True. Words are cheap. However, with sufficient severence and a removal of social stigma it might someday be less of a "your life is a failure" situation.
With robinhood hashing, .90 or higher load factor is still quite practical.
> HTree is better for local locks if you want a safe container.

> Goroutine Safety.

Could somebody elaborate on these two points? Why is it a "safe container" and how is it more "goroutine safe" than a map?
ES6 fix is:

for(let i = 0; i < 5; i++) {
// no hacks needed if you don't use ES5 var
}
I've never rated a comment in over a decade, but I rated all of the original poster's comments up. And I really wish I could rate yours down.
And as long as new ideas come about (in the form of languages / platforms), people will keep trying, learning, and sharing. Thankfully.