skysight-inc/HackerNews huggingface dataset:
Trickle down economics?

The IMF found if income share of top 20 percent increases, GDP declines over medium term. Conversely, if bottom 20 percent increases, GDP goes up.

It makes sense - rich people invest their money, which may or may not drive economy. Poor people spend, which absolutely drives economy.
The Life Lesson I Learned from Being Arrested
Buy Visitors
How to Eat Yourself Thin
This is a recurring theme within the Unix world — amongst others, vulnerable programs have included tar(1), xterm(1), and vim(1), and they always stem from the eagerness of the authors to provide both the ability to run shell commands, and the ability to run commands from untrusted sources; the fix is to limit the extended ability to trusted sources. But when reported, it (1) gets fixed quickly, and (2) leads to an uproar within the community. Here it has been a wontfix: works as expected, and will likely stay that way.
Helen Keller's Business Advice: 'Put Your Husband in the Kitchen' (1932)
Your typical investor isn't going to invest in "What Koch provides but less profit margin". Rather, they'd just invest in what Koch provides.
If the laws were amended as you suggest, what would happen is it prison capacities would be constantly redefined, rather like the debt ceiling. You'd need the law to impose a hard limit on prisoners per square foot or something to make it reasonably hard to evade. Also, if it's easier and cheaper to change the law than build a new prison, it won't work.

You've definitely identified the crux of the problem, though - prison capacities need to be treated as hard limits not to be exceeded, and not some nominal "design" number, which is routinely exceeded without limitation. If more people need to be incarcerated than there is capacity for, the solution needs to be building a new prison.

To be unconstitutionally cruel and unusual, a punishment needs to be well, cruel and unusual. Prison overcrowding may be cruel, but it's not unusual.
Data Mining Reveals the Four Urban Conditions That Create Vibrant City Life
The original CR48 was a netbook by most specs: Atom CPU, 2GB RAM, 16GB SSD. While this distro should work on most netbooks, there's really no reason not to install a lightweight release of a major distro such as Debian. If you choose LXDE or XFCE instead of GNOME/KDE, things should go smoothly.
This article describes what I'm doing right now.

The academic group I am a part of have developed an adaptive or active machine learning system. This code is being used by the New Yorker to run their caption contest (example contest at [1]). It tries to find the funniest caption and uses previous answers to decide which question to ask next.

The code used to create this contest is a mess. Developing a new experiment type (not a new algorithm) meant copying and pasting roughly 1500 lines and changing 20.

We have since rewritten it to make it much better, and the shared code is in only one file. Developing a new experiment type is only 120 lines of code now :)

[1]:http://www.newyorker.com/cartoons/vote
I buy or get stacks of old laptops: sure the boards are bigger but full featured and for experiments I do not really mind the size...
There's a semantic issue. Random number test are less often that it does X and more often that it doesn't do !X. For example, the description for the final test #6 is that it "generates random number between 1 and 100 inclusive". However, the test doesn't do that. It only tests that the method doesn't generate a value outside the range 1 to 100.

For example, if the implementation were that from step #2, which always returns 50, then it will pass the test, even though the underlying code isn't random. A better description of the final test is "generates a value between 1 and 100 inclusive", that is, remove the word 'random' and highlight that it only does one test.

The test suite really should fail if #2 were substituted for the final result. This also means this is not an example of red-green TDD as no test actually failed, to drive the code change.

"[Step 5] The tests will pass"

I don't think the author tested that code. It shouldn't pass, if I understand correctly what it's doing. It generates 100 random numbers in the range 1 to 100, inclusive, then tests that each of the values 1 to 100 are in the result. This is very unlikely. The odds of this happening are 100! / (100^100) or about 1E-42.

It worked in the original code because 100 draws of 6 values has a (5/6)^100 ~ 1E-8 chance of not failing.

One of the common failure modes in code like this is to omit one of the end points. The test should run long enough to see at least one 1 and one 100, and no 0 and no 101. Assuming a failure rate of 1 in a million is acceptable, that's log(1/1000000) / log(99/100) or about 1400 tests.

To answer the questions posed:

"Why generate 100 random numbers?" Because for 6 numbers it gives a high likelihood of checking that only the number 1-6 are generated. But it isn't a good test for numbers in the range 1-100.

"What is the minimum number of random numbers you need to write the test?" About 1500.

"How can we specify that the generated random number is within the expected range of numbers?" That's the easiest part of the test, and doesn't give much confidence that the test is valid.

"What if we can eliminate the loop altogether so that we don't generate 100 random numbers for each test run?" Then it's a low-quality test, which adds little that wouldn't be found by the high-quality tests which are still needed for this code.

Consider if the implementation were "Random.new.rand(0..100)". How often would the test from step #6 pass even though the underlying code is wrong? About 50 times on average.
Looks like it was created with an older version of Scribble: http://docs.racket-lang.org/scribble/

I'm not sure why that would call the contents into question.
We are working on a new editor, a total rebuild (dropping Eclipse), which will also have a much better GUI/look. It will also enable extendability of the editor and pipeline.

It will have a unified look across all platforms though, but I would believe it's a bit more "OS X like" compared to the old Eclipse stuff.

In short, it will look a bit more modern than the current one. :)
Went to the website. Wanted to see how the install process works because I won't try it if it's too complicated. There's a "download" link and a "donate" link but no docs. I assume the wiki might have some info on this so I go there. Everything above the fold is about community + downloading. Only after scrolling down do I finally see some docs.

Not a huge UX fail, but something I hoped would be easier
First question - "they reduce liquidity" - how?

Second, I don't think anyone is arguing that active investing can beat potentially beat passive investing.

The problems with active management vs. passive are:
- Most active manager will continue to underperform (this year I believe it was north of 90%)
- That it is just about impossible to predict which funds will be leaders
- That the fees active managers require are too high relative to the lack of any real value

The point of the article isn't that active management can't ever beat passive - it's that the fees on investing are coming down because most active management provides little value.

So if active management is going to win, the fees may be compressed and that may change the industry.
Well it's a good point about the other angle of not using anyone else's code at all. I think there should be a good balance between using others' and writing your own code. It requires good judgement. In origami, however, you almost solely use other people's designs, but I think we should encourage putting in your own interpretation.
Poses the general question, which approach is "better"?
The focused tool is more efficient and easier to understand, but things tend toward convergence of previous separate functions.

Is it the way of the world that we start with focused tools to introduce a concept, and turn it into a feature of another product to gain mass acceptance? What then pushes the gravity of convergence toward one device or another?
What do you mean by 'safe'? There is such a tool built-into semver -- it's releasing with a patch or minor version bump! Which means it should be entirely backwards compatible with the previous release. Do you mean something else by 'safe'?

I think the issue parent is worried about is if you can't trust the author's declaration of safety.
Slack for Animals
I had a Casseopeia I bought second hand. The problem I had with it as compared to the Psion Series 5 was simply that it was too power hungry and windows CE was simply not reliable enough. I had cases where alarms would not go off, data corruption, and a battery that lasted at most a day.
I believe he was demonstrating spatial awareness, or perhaps it's merely because the compositer doesn't do well with intersection.
>But here's the catch - they are the ones who are supposed to build the cages for themselves !

I have come to the same conclusion a number of times in various domains. You can propose a solution that might be better regarding some property (more just, more effective etc.) in theory, but the hard problem is creating an incentive to implement the change, because usually the ones profiting from being in the local extrema are the ones holding the keys. And you can't really blame someone acting in their own interests.
Myrtille, an open source solution to connect remote desktops from any browser
I don't think this is unfortunate at all. I shouldn't have to wait for someone to review my code before publishing an important bugfix. This is the primary thing that drove me away from mobile apps.
I came back to this article again, and actually, I'm now reconsidering my initial reaction. While it does contain a few abrasive or seemingly unsubstantiated statements, the article does make valid points about the suitability of JavaScript for "serious software engineering".

There's a recent article describing how a company was basically forced to migrate from Node.js to Go, due to the architectural limitations of the former: The Way of the Gopher (https://medium.com/@theflapjack103/the-way-of-the-gopher-669...). This was a convincing real-world example of how a JavaScript backend is not scaleable in some cases, with concrete data to back it up.
Ask HN: If you make more than $200k, how do you manage your money?
Hey Everyone,

I've just finished my taxes for 2015 and after reviewing all my accounts I had an interesting thought. Over the last year, my wife and I have really stopped budgeting like we use to. Most of our eight years of marriage has been a combination of graduating university, getting into serious debt, being broke, paying off debt, and now we are financially fine. We have no debt and I've made a reasonable salary for the last three years.

Now that we have no debt and more cash coming in, we've gotten away from our budgeting habits. We use to follow an envelope system to manage money but we've just stopped doing it.

For those of you that take home $200,000+ a year, how do you manage your money? I've started maxing out my employers 401k matching, but beyond that I have no idea. Any good resources, or blogs to read? I've read Dave Ramsey's books, but not sure if there are any others our there that I should look at.

Thanks for any help!
Chipping Drill
I can understand coming from that perspective, that including analytics could be interpreted as unnecessary for people not actually needing it. One of the reason it was added is since a lot of game devs want to actually see how their game is doing when released. But this is something they don't want to spend precious development time on. That money/time is better spent on doing cool games instead. :)

There is no hidden agenda here, we really just want to enable people to track installs/DAU etc across platforms without writing a row of boring platform specific analytics code.
I hope you appreciate that the word “magic” is relative to the person using it. For you, it’s self-modifying code. But to someone else, it’s mapping. And to a third person, it’s monkey-patching. And to a fourth person, it’s lazy evaluation of infinite streams, and to a fifth person, it’s ...
You are obviously trying to do some appeal to authority, which doesn't work on me. No one is an authority for me.

> This is the website of John Walker, cofounder of Autodesk

If he's a cofounder of Autodesk and can't make a decent website himself, how hard would it be to pay someone who can?

> Paul Graham's site

Even worse than the former. Someone, stop that pain, tell him finally how to adjust screen resolution over 640x480!

> Does that detract from the quality of the content?

Yes. It shows the real attitude to the target audience.

> Hell, you're on hacker news. It doesn't even define a doctype and also uses tables for layouts.

Correct, but at least it has some CSS and doesn't look like a hello-from-nineties.
If interested, there's a js/node rete called "nools"
I just save + encrypt the original QR code somewhere at the time of scanning it.
It does suck how much of the time you wind up in the situation that, to make any progress, you have to work in secret behind some smokescreen of other less useful work, to keep the micromanaging and the hemming and hawing from consuming any improvements.

It's not uncommon that orders of magnitude more time wasted in debate and FUD'ing round on things than it takes to actually do them.
iOS 9.3 cydia
That passage relates to us reaching out to you as a developer. (Your players and their data is covered in the separate player privacy policy.) If you don't want mails about updates etc just tell us and we'll stop sending them.
CLIPS is a useful implementation written in C, that is explicitly distributed as public domain software:

https://en.m.wikipedia.org/wiki/CLIPS
Hopefully not, because it is completely wrong. They are a way to check that what you test is not broken, which is usually not even remotely the same as "nothing is broken". I have seen so many pieces of code that didn't work in the real world but had many unit tests, good test coverage and were therefore "high quality" - yeah, sure.
> I tend to use the word magic for those situations when you can not easily examine the source code and follow the control flow.

Reminds me of the quote “In Smalltalk, everything happens somewhere else “—Adele Goldberg.

I call these kinds of things, “action-at-a-distance,” or if I’m feeling snide, “COMEFROM code.” The thing is, action-at-a-distance is exactly what I want when I’m trying to separate concerns.

In Rails, for example, you can decorate a controller method using `before` at the top of a controller. To the person unfamiliar with the spell, this makes perfect sense:

def index
authenticate_current_user

render something_or_other
end

But this is magic:

before authenticate_current_user, only: [:index]

# ...lots of code...

def index
render something_or_other
end

That is perfectly grep-able if you know to grep a method name, and if you have a small controller class it ought to stand out, &c. &c., so it rarely offends. But it’s still magic.

It’s a win if we want to make our index method as simple as possible.

And that goes for all of Rails, really. The very idea of “convention over configuration” is a wholesale embrace of magic. In Ember:

userService: service(),

How is it that if you write `service()` without naming a service, the function defaults to the name of the property it is bound to? That makes absolutely zero sense in JavaScript, and the more you know about JavaScript, the more magical this becomes.

There is, in fact, no way to find the code that does this unless somebody whispers in your ear that Ember does compile-time chicanery, and you aren’t really programming in JavaScript, you’re programming in Ember, a language that has a lot in common with JavaScript, and that compiles to JavaScript.

You can decide for yourself if this is a win. Lots of people like it.
Assuming FI\ER is a goal, Reddit has a good place you can ask the same question:
https://www.reddit.com/r/financialindependence
I think that the non-linear shannon-limit, limits currently LONG-RANGE installed fiber to around 12Tbps. It's possible to install wide-core fibers to improve on that, but that's extremely expensive, nobody wants to do it, and it's doubtful it would decrease data costs over fully appreciated fibers, in the short term.

Also we're not there yet, but we're pretty close and it might not make sense to upgrade further, so some say that in the next few years we'll stop seeing data prices go down.
Whitelist based email
And then Mark comes along, realizes you have some great employees, refuses to collude, and hires them for $50/hr.
apt and yum are emphatically better since at least they verify their sources and maintainers and sign packages, and it doesn't really require much compared to the effort put into actually writing all that packaged software. These scripting language packaging systems have none of that.
I would say Debian is not vulnerable (to step 6), even for users of the rolling "unstable" release, since maintainers need to sign package uploads with their PGP key, which is usually protected by a separate password.
Python uses NotImplementedError exactly for the purpose of signaling the
method should be overriden by the subclass.

And code with almost complete, but not really, interface (i.e. with several
methods lacking) looks awful. I would say it's an error on the Ruby language
developers' side not to provide means to signal the method needs to be
overriden.
Speaking of React/Angular - they are obsessed because they never used 10-years-old computers and slow Internet connection and don't actually know how users feel when their weak machines are thrown all that stuff at.

I'm not against new concepts. Client-side rendering is awesome, reactivity is awesome. But I'm against all that bloatware. If a new concept can't be implemented without bloatware (hint: it can), we don't really need it.

But these things can and should be done in a different way. For example, all my JS stack (Z5 + DaBi) targets ES5 and is under 4 KB altogether. Yet it provides:

- DOM manipulation and auto-polyfilling some DOM essentials (only for the stuff that's really uncomfortable to do with native APIs - Q.js);

- reactive in-memory storage (with an ability to easily populate from external objects or remote requests - Zen.js);

- easy data-to-DOM and DOM-to-data binding (DaBi library);

- ability to easily build DOM and CSS styles from JS native constructs (XT.js and XS.js - never go through escaping hell again);

- client-side routing (R.js).

And while I agree that React/Angular are the bloatware (even jQuery is), I disagree that server-side rendering is any better and that throwing in another bloatware like ClojureScript would solve this issue. Like I had said in my article about client-side development (http://clientside.surge.sh/), go native or go home.
Oculus Oedipus (2015)
You should probably include options for "Host & Learn" and "BnB & Teach"
Oculus Birth (2014)
Concourse avoids the fan-in/fan-out problems of GoCD's XML configuration by performing planning for you.

That is, you define the inputs and outputs of a job, then Concourse derives how to carry out your jobs in the correct order under the correct conditions.

A Concourse yaml file is pretty flat, as a consequence.

That's a great writeup. I think you'd find Concourse attractive.
NASA already uses Hololens to get the scientists to feel like they're walking on Mars. Rovers basically capture the footage from Mars in all perspectives, these pictures get transferred back to Earth, and scientists are able to "walk" on Mars with as low delay as possible (of course, it takes a while to transfer the images down to Earth). It's a remarkable thing and I really do feel like Hololens (or some other Augmented Reality project) will have a huge impact on the scientific community.

I did an interview with a software developer from NASA about this project: https://opensource.com/life/16/1/scale14x-interview-parker-a...
This one isn't doing anything scary at the moment, but shows the potential:

https://www.npmjs.com/package/uglifyjs

It's getting 30k+ downloads a month.

The actual package people are looking for is here: https://www.npmjs.com/package/uglify-js
> You are obviously trying to do some appeal to authority, which doesn't work on me. No one is an authority for me.

You're mistaken, I'm actually using these people as examples of their technical ability. People may have a website, but not be web devs. Judging people and the contents of their site on the way their site looks is just wrong.
How is it invalid ?
> But in practice you are not really wealthier than someone who owns a £200k home in a village.

Yes, you absolutely 100% are. You could sell your London home, move to that village, and live off the proceeds.

Saying you aren't wealthy because you happen to live in your biggest asset is delusional (and part of a dominant political narrative promoted by the homeowner class).

Consider what would happen if a major financial bill struck each family (like, $500k). The London family might be forced to sell their flat and move into an apartment (or move out of London). The village family would lose everything they own and still be in debt.
Ironically the same person who first reported this npm vulnerability used the wrong package name uglifyjs instead of uglify-js in an unrelated github project.

https://github.com/mishoo/UglifyJS2/issues/936#issuecomment-...

https://github.com/samccone/The-cost-of-transpiling-es2015-i...

Or perhaps was it a security experiment to see how long it took someone to notice.
Except that most pastebins would at least make the text more readable than it is there. Especially on mobiles.

Markdown with Strapdown inclusion, a pastebin, a CMS, bare Bootstrap... anything would be more readable than this.
On my laptop, I basically use a web browser and ssh (well, mosh). Sometimes I download a movie, but I store them long-term in "teh clouds" so I don't care much about disk space.
Ooops, missed this question, sorry for the late reply. :)

The asset pipeline is not as customizable as one could wish for in it's current form, but something that will change with the upcoming new editor. In honesty, we haven't had a lot of requests in this regard in-house yet, but if this is something that is highly requested by indie users we will surely look into this.

(Hold tight, going into a bit of a tangent below.)

We put a lot of effort into performance, keeping the binaries small and having fast development iteration.

One very nifty thing is that the build/pipeline can be run as command line command, without even opening the editor, which enables you to setup your own build command in Sublime Text or on a build bot for example... (I have something like this at home where I can code in Sublime, hit Ctrl+B and it will build with the same code as the editor and automatically launch the game, all from inside my favorite code editor. Just imagine how sweet this will be when the pipeline/engine is a bit more extendable. :))

Yet another cool thing of course is being able to hot reloading resources while the game is running, also tying into the fast development iterations.

Hope this at least answers some of your questions. :)
Yeah, a few of us griped at the Concourse team about this large escape hatch from historical reproducibility and they took us seriously.