skysight-inc/HackerNews huggingface dataset:
Code clutter is much more consequential than it gets credit for. Poor formatting, inconsistent whitespace, snips of unused code, and misleading filenames are speedbumps (or worse, spike strips!) that a developer is going to hit every time they sit down to code.

And unlike bad abstractions -- which you can "learn" about and mentally model -- the friction of clutter is a constant damping to your productivity.

Building features in a cluttered codebase is like being asked to install plumbing in a hoarder's basement.

Understanding a cluttered codebase is like reading an advanced math textbook by candlelight that was written with broken typewriters by a group of modernist poets.

De-cluttering is the first thing you should do, and you should stick to it above all else. Before you add tooling, before you refactor, before you abstract and framework-ize, get rid of the clutter. That means format your code, and use a linter whose rules are based on widely adopted community conventions.
Justice Dept. resumes asset forfeiture program
He Always Had a Dark Side
Oracle has a legal department twice the size of its developing department

:-)
You would think that but plenty of these scams run for ages without getting the accounts shut down.
> Money which is not in motion is not money.

Absolutely the most important thing that can be said. My response to moralizing and angst over how the economically disadvantaged spend welfare money, or judgment about "lazy" people who wouldn't continue to work in the face of basic income is "who gives a fuck? As long as they spend the money, its moving and the economy moves with it."

Money has gravity. It will always move towards those concentrations of wealth that exist at the top and away from the bottom. Without a mechanism of some kind to remove it from the top and inject it into the bottom, it will never move in any way that provides benefit to the larger economy, and might as well be a closed system.
I'll take some time tonight to make it a bit better at dealing with different shapes of Bs. If you want to know what the 'canonical' stroke pattern is, you can click on the little graphics above the tablet. They will animate to show you the expected stroke path (although, it should just work, so I'll fix that tonight)
This is true, and may be a market failure, but the basic problem is independant of that problem :

Companies largely don't see opportunities for improvement of the economy anymore.

The hoarding of cash is a symptom of this, not a cause. This is also a problem that can't be fixed by financial rearrangement, however creative. And we should keep in mind that improving things by meddling with financials is really hard, destroying entire economies with that same meddling is very, very easy.

We should do more basic research. That might help. Might.

When it comes to the problem you identified, I think the cause is QE and cheap loans. How do these profits work ? Well, easy : every bit of revenue coming in becomes profit and you use loans to finance everything. In some cases, they literally use loans to buy raw materials instead of revenue. In sadly more than a few cases, loans are being used directly to be paid out as profits, either directly or through share buybacks.

This seems to me a stupid deal for shareholders : you're trading equivalent value for a senior position in the liquidity chain. But it has that "money now" ring to it, of course.

This is not sustainable, and will blow wide open once interest rates rise again. And they will rise as sure as the sun will come up. Either because some central bank causes inflation, or because they simply stop pushing down interest rates.
Now does this mean that iPhones can be hacked? The government has said that in the vast majority of cases it will disclose security vulnerabilities, though in a small handful it doesn't. It would be good for everyone’s security if they disclosed, but they probably won’t
There's nothing like eating your own dog food :)
Manhattan wasnt one project any more than Apollo was and most of the money went to Uranium enrichment.

http://blog.nuclearsecrecy.com/2013/05/17/the-price-of-the-m...
All this is solved by a linter though, there's no point even trying to remember this, just define your linter rules and let it deal with it.

It might not be the default linter styles, but set up your linter for your project and give your mind more important things to focus on.
I'd love to hear more about their backups/deployment.
Speeding can be civil or criminal based on the speed in relation to the posted limits or other parameters...

Example Arizona

Most cases of minor speeding are civil speeding violations.

However, criminal speeding tickets can be issued in these common cases:

When a driver exceeds 85 mph anywhere in the state
When a driver exceeds 35 mph while near a school crossing
When a driver exceeds a posted speed limit by 20 mph in a business or residential area
When a driver exceeds 45 mph when no speed is posted in a business or residential area
I just wished google would use C++ for Android. It's does away with all this nonsense. I'm looking forward to the day where I have to pay oracle for every android app download I get even if the app is free...
90s jams. Alternating between mid 90s R&B and Hip-Hop and Shoegaze / Britpop bands.
The code I'm working on now, and the code I worked on before that, was designed to be memorized. I suspect the only reason the team is productive is that they are working from long term memory most of the time.

The insidious things about this are twofold. First, it makes all new team members look like idiots. These other guys are getting work done, what's your problem? Our problem is we can't figure out wtf is going on without breaking things to do it.

Second, everyone doing work to fix the problem is a threat, because they are moving code that is memorized.

I honestly don't know how to fix this problem, I used to just walk away but I feel like I should be able to do better than that. Boiling that frog is a long term commitment.
You mean https://blog.soundcloud.com/2016/03/29/introducing-soundclou...

I assume SoundCloud will at some point post other blog content and so in a matter of days/weeks this general link will not go to the right spot.
FullStory – See what your users see
How We Made “No Browser Left Behind” Work
How container metadata changes your POV
That's coming up! Deployment is the next post in queue: https://trello.com/c/bh4GZ30c/25-deployment
That's a little bit too harsh. The solution is a no-brainer if you come from C#/Javaland, but if you don't... well, we get a nice illustration to the saying that "there are no stupid questions".
It does increase the cognitive load for no particular reason. Which is what the author is trying to avoid.
The author addresses social structures and we seem to live in an age of increasing isolatedness amongst people. I thought it would have been a hard read (I suffer from depression) but it's also liberating to see it in a different light.
Hooking Firefox PR_Write with Frida
Apologies for invoking Poe's Law, but you mean that sarcastically, right?
Worse. Its about management bonuses. "Should we compensate floor mechanics better in our factory? How would that affect my bonus this quarter? It would be smaller? Then hell no." That's all it takes to explain myopic businesses. And so much of our manufacturing sector are motivated in just this way.
Twitter makes its service more accessible to visually impaired
When I got diagnosed with manic depression, I did some research on my family medical history going back several generations. Many of them through two lineages (my father's mother's family, and my mother's father's family) in my family exhibited symptoms of manic depression, but have no corresponding diagnoses.

Not anything scientific, but it does point toward the fact that destigmatizing mental illnesses and our better understanding of them is leading to more diagnoses, not anything else. Everyone's quick to forget how horrifying psychiatric care in the US was up until quite recently.
I really enjoy this analogy as well, thanks!
I read the article - the pros seems to be:

- Ad free music
- Listen offline
- More tracks from established creators

The first two are a given with any streaming service. My point was their catalog isn't enough to make me switch over.

As an artist, unless you're getting some kind of crazy deal to just be on one of the services, your best bet is to be on every one out there.
Xiaomi has sold 18.5m of its Mi Band fitness wearable
So, we're talking 20% cheaper for less content and worse client?

How does that make the service "worth it"?

It sounds like subpar crap in every way but price, and even at that it's nothing to write home about either (a measly $2.5 savings).

If one can afford $9/month, I don't see how $11.5 month are prohibiting for a better experience and more content.
I have to agree. I rarely don't know what happened or how to fix it - at least locally. It may completely screw up the types I use elsewhere and cause me to redesign things entirely, but thats more of poor design on my part, I believe.
How is this any difference than installing Windows 10 on your Kiosk? You are paying for updates and support. You are free to use Linux and OpenJDK if you don't want to pay. Most shops I know of are using OpenJDK for all production deployments at this point unless you have a larger contract with Oracle.
Providence: Architecture and Performance
This would explain why they have removed the local cache option in their Android app.

In previous versions, you could select how much content to cache locally on the device, up to 100%. This meant if you listened to a song once, you could listen to it again offline.

From using their app now, and the website (non-mobile) it seems they have removed all caching completely.

Anyway, it's absolutely trivial to download the raw songs (MP3) from SoundCloud using Developer Tools in your favourite browser. It's not the highest quality, but since SoundCloud is 90% user contributed tracks, the original quality is often questionable anyway.

I see no added value from this service. Just download the songs as MP3 files and listen to them, offline and ad free!
I agree, but I feel that HN in general thinks downvotes are for "I don't like what you said".
"Feeling" like you've helped more often then not does more harm than good unless it leads to action; signing petition unless there's an expressed count required for action that's enforceable is often meaningless.
This is serious Server HW porn. Thanks for sharing! Would love to know more information about your bandwidth usage, limits, etc. Also, do you have any closer idea as to how much this would cost in "cloud" services in % terms? (I'm doing general research in Bare Metal & Colocation vs Cloud pricing comparison). Thank you!
actually a bit more since Sun cost Oracle about $7.4B.
His "If I Forget Thee, Oh Earth" is still once of the most moving (and cautionary) Sci-Fi short stories ever written.
http://hermiene.net/short-stories/if_i_forget_thee.html
Oh, no doubt that can be a reason. The literature around the "efficiency wage" is well developed [1], my comment was only disputing that there were a reason to pay above market clearing wages for reasons of stimulating demand.

[1](https://en.wikipedia.org/wiki/Efficiency_wage)
Ask HN: Why is user management not delegated to 3rd parties like credit cards?
Why does every startup needs to store user data, passwords and personal information. Most of us reuse our passwords and so our accounts are as secure as the least secure website/startup where it was used. And, it is fairly easy to know if you are a user or not using the 'Forgot password' thing. There are other problems to take care of like rate limiting in case of brute force attacks, incorrectly configured security for OTPs, 2 factor support implementation, bad password hashing and salting, user data leaks due to incorrect use of authorization tokens.

I know there are companies like stormpath, auth0, userapp that are doing similar stuff but why is it not mainstream the way credit card storage, billing, support software have been delegated.
Who pays for this service if it is free and shows no advertisements?
Funny! Now for a business name... "Palms Up, Inc."? Or maybe just "Public Relations LLC."
A tremendous amount of (very difficult to mimic) dexterity is still required for cleaning toilets, last time I checked.
The only response by FBI will be angling to get their own team in the new Inter-Agency Syrian Proxy League. They're really pissed now; it's not fair that they never get the memo when fun evil shit like this is getting set up. Now CIA will have already bagged all the cool clubhouse locations, and FBI will be stuck with some lame faction like the Yazidis.

Seriously, though, be on the lookout for news of FBI missions to "investigate Syrian sources of domestic terror".
React twice as fast
Where in the article does it say you have be exclusively on this platform? The word is exclusive is mentioned twice and both times in relation to Tidal.
It's becoming a ritual with Erdogan's govt recently to launch airstrikes against PKK positions in Qandil, Northern Iraq following every terrorist attack in Turkey that's blamed on militant Kurdish nationalists and they even sent troops to Iraqi Kurdistan last December with the tacit approval of the Kurdish authorities to neutralize PKK militants there.

There's always been tension between Kurdish nationalist factions and they even had a brief civil war[1] between Iraqi Kurds in the 90s (Talabani vs Barzani) and there's rivalry between the Peshmerga and the PKK esp. in the area where the Peshmerga deems its territories in Iraq where some PKK members challenge their authority there but despite all of this, some Kurdish nationalist love to portray the conflict between Turkey and the Kurds as an ethnic and not a political one as it garners more support and sympathy for their cause and make Turkey look like the bad guy in this conflict.

[1]: https://en.wikipedia.org/wiki/Iraqi_Kurdish_Civil_War
I usually stay away from economist "writing."

Here some laughing points from this article:

* according to polling by Pew, a research outfit....

* Return on capital is at near-record levels, too (adjusted for goodwill).

* Together they own 10-20% of most American companies

* The spectre of very big online travel sites dominating the purchase of hotel rooms has led the hotel firms to consolidate, too
What do you mean by use the type? Query for type metadata at runtime?
> My personal experience is around 1 bottle out of 12 is badly enough affected by cork taint to degrade the wine.

You know, I like wine. I've drunk plenty of wine in my time. I've read folks write things like '1 bottle out of 12 [is cork-tainted].' And yet I've never, ever had a taint bottle of wine. Is it just that I'm drinking younger wines?

FWIW, I love real corks and I hate how wine and liquor bottles have been replacing them with lifeless plastic.
There are research projects/papers on the topic with claims that are all based on Brier scores. I'd say Brier scores are inherently biased by choices in framing/asking questions, but at least measure everyone uniformly/fairly who is given the same questions:

https://en.wikipedia.org/wiki/The_Good_Judgment_Project

For full datasets, I'm not sure if they provide it since not all researchers are good about open data. You could look at open prediction markets which are directly observable but they wont give you any insight into how professional analysts compare with the crowd.
My Debt Cure . Biz
You mean, if researchers would voluntarily send their papers to black holes that won't get read until someone who is duplicating their work does a literature search.

Journal reputation is a rather effective filter on paper quality, and the open access journal business model has a very uphill battle to fight, since it looks very close to the scumbag, predatory "you pay, we publish, no questions asked" [1] model of garbage.

[1] Really scumbag: "You just literally copy-pasted someone else's entire research paper and slapped your name on it? We don't care."
Show HN: A Telegram bot to subscribe to Travis builds
The end result is the same in terms of broken eco-system, anything is just word games.
I'm interested in it because the machine learning library Torch is using it (and by extension Facebook and other big tech companies). It's also one of the fastest dynamic languages for web applications
Absolutely nobody has suggested that formal reasoning about algorithms is a useless skill.
I think that's a fair perspective. With all these deals shaking out as a customer I'm quite happy with Amazon Prime Music for streaming/mainstream and then purchasing tracks or the occasional album via Beatport/CDs/etc. So now SoundCloud wants creators to pay for a Pro account and listeners to pay for a Go account...hmmm...well it does sound like they are genuinely trying to get revenue up. We'll see if this works.
He should find an old Sun e10000 or e15000 now to fill up his basement.
My personal choice at the moment is Ruby with Roda[0] and whatever ORM meets my needs best, or even skip the ORM and use the DB adapter directly if it's something quick and simple

[0]: http://roda.jeremyevans.net/documentation.html
Show HN: Issue Tracker from Usersnap
Microsoft and the new market realities
Stereotypes are an extension of UML to include extra information about the class. This[1] is a class diagram (albeit, overly detailed) I created for a library that we used. Above the class names are stereotypes. I know which classes came directly from the library, which are service classes, etc.

[1]: http://i67.tinypic.com/33xyaz4.png
> a comment on HN should not be the right place to design a really fair publication metric.

Where is? Because I'm interested in this question ad really disappointed in everything I've read.
The Story Behind an Infamous Escobar Cartel Assassination
Interestingly, Lwan is the fastest server for json serialization : https://www.techempower.com/benchmarks/#section=data-r12&hw=...

This could be a great choice as a json server, if they showed more examples working with data stores (postgres or cloud data stores) and also testing
100 % FDI Allowed in Indian Ecommerce – Good News for Amazon and Alibaba
I can easily see you ending up with string methods like safePadLeft and unsafePadLeft that do exactly the same thing but are named for where in the code they are used...

I don't follow. Since the argument type to either method would be the same (a string), why are two methods necessary? Or are you inferring that we define subtypes of String: SafeString and UnsafeString? And wouldn't subtypes inherit behavior from their parent?
How to Use Elasticsearch with Python and Django (Part 2), Populate a Database
Meh. If any of this exposes anything, it is that you do not want your secrets to rest in anyone's hands but your own. Apple may/may-not have managed to protect their keys, but there is no guarantee that is the case.

Meanwhile Joe Public comes away with the idea Apple==SafeEncryption.

If this were some new encrypted messaging service we'd all be ripping the shit out of it just on this basis.
Journals act as the Yahoo of scientific papers. That is they are an index of certain topical relevance and editorial quality. (The original idea of Yahoo was a vetted directory to web pages) I am not sure if papers scattered around random university servers would be easily found.

A case in point is the annual proceedings of the SIGGRAPH computer graphics conference. ACM sells a wonderfully color printed volume of these papers for nearly a hundred dollars. However an individual keeps a web index to the half of these papers posted on private laboratory websites. The index is free, but the quality of printing varies. This private index has already been vetted by SIGGRAPH for conference quality- the only accept about 1 in 15 submissions. Occasionally I poke around distinguished computer graphics labsvwesites. But their quality is variable. Sometimes the website is abandoned when the grad student care taker moves on.
In my experience, most bad code is written by dogmatic cargo cult programmers that are more interested in writing code that adheres to their pet development philosophy or framework instead of programming to solve a problem in the simplest way possible.
Communicate with your client and tell them that your 50+ hour weeks have to become 9-5, or you won't be able to support them as a client any longer.

It boils down to a choice between saving your sanity and continuing to work in the field, or burning out and quitting-- losing a major income stream in the process.

Is this one client worth that much?
They never claimed their implementation to be Java compatible, and there is no legal precedent entitling one to demand all implementations of a library to be compatible even when they do not claim compatibility. GNU/Linux certainly has never paid to be Unix(TM) certified, and despite SCO's repeated legal assaults, the API itself was never in dispute.
i have found that dogfooding and acceptance tests (tracking regressions), combined with focused source commits are the most practical.

while unit tests laser in on specific problems, they are often unnecessary and with frequent commits and sensible commit messages, the causes of problems are always trackable and nearly always obvious.

git bisect helps in situations where the commit count is high (in large teams).
> As far as I'm aware, no IDE will give you a Scala project with a Maven POM.

When you hit "new maven project" you choose a template (archetype). Some of those are already set up for Scala. No?

> Also, you may have to figure out how to let your IDE know that your project is both a Maven project and Scala project.

Scala-ide (or any eclipse-based system with the m2eclipse-scala plugin) will detect that automatically.
Huh. I guess since I signed up for it through their website so it was always $10/month for me, so I didn't notice.

But see, I was an iOS user paying $10/month for Spotify (because I paid on the web). Does Soundcloud offer this, or is it truly every iOS user has to pay through Apple for their subscription to Soundcloud Go, and thus have no choice but to pay more? It seems like it's the latter by the wording of their copy.
Sure, no problem.

As a kinda funny aside, I also wrote the linked-to FAQ answer. Took a number of drafts to get all the fiddly Unicode terminology right.
Why Dividing by Zero Makes a Mechanical Calculator Go Berserk
Does "for use in developing world" mean "isn't compliant with regulations in developed countries", or why isn't a cheaper monitor also interesting for eg the US?
While this used to be the case, with Valve's steam machines they seem to have a native client now[0].

[0]https://developer.valvesoftware.com/wiki/Steam_under_Linux
A subset of OSS - the R/Bioconductor community is full of free software fanatics, and anyway all academic software is necessarily, without thought, free software.
'Avoid using language extensions and libraries that do not play well with your IDE'

I'm of the opinion this should be extended to "does not play well without an IDE". Because even in projects that said "everyone, use Eclipse(/IntelliJ/whatever)", and tried to share project files, there was constant pain in ensuring that everyone had the same development environment ("Oh, yeah, I made a local change to my project file, but then I also made a change that needed to be shared, and whoops, I broke everyone" and the like). Not to mention trying to work with code deployed onto boxes without an IDE. I've gotten to where "if I can't make sense of it and be productive in it with just vim, grep, and find, your code is too complex".
HBO Go
Go (golang)
Go (game)