skysight-inc/HackerNews huggingface dataset:
Analyzing a Confusing Crash
It would be cool if the US Congress can just pass a budget for a year or two years and not just continuing resolutions.
IMO, async/await itself makes it worth upgrading to ES6. So much cleaner.
Redis as the primary data store?
How about something as simple as a spare tire?

Having been unlucky enough (twice) to have experienced sidewall tire damage, the one deal breaker for me on a new car is the absence of a spare tire and/or a well in the trunk and the option to buy one.

Every year, the number of automobiles that have a spare tire or the option to even have one in the car shrinks. I'm assuming this de-contenting has to do with making the car lighter to improve fuel economy?

In my mind, a "tire inflation kit" (aka an aerosol can) or expensive-to-replace run-flats have limited benefits in general and absolutely zero benefits when it comes to sidewall damage. I would not want to be in the middle of nowhere with the wrong kind of flat in a car without a spare.
Python 3-to-2 backport Tauthon is now up to date with 2.7.14
It's kinda sad the only time the Woz is relevant anymore is on political commentary.
Limiting your focus makes marketing easier.
I ran a hosting company in the nineties. My experience: in those days everybody needed speed. Hardware was underpowered and number of hits unexpected. Connection pooling was either unknown, or very new, in any case, not enabled by default. So a hit required a new connection to be started. This was way easier with MySQL, which was just a socket connection, where PostgreSQL started an entire new process for each connection. Way to slow. Because of this people even took for granted that you needed to check MySQL databases for errors every night.
And how does one does that? That's right, by studying algorithms in and out.
How to Setup a Bitcoin Wallet for iCoin Pro to Get Paid – CBD Health
Yep, unfortunately, due to the nature of the business, I would not share any details...
In reality, there is no way that anti-trumpers going to let Trump have aa legacy on par with JFK.
Those of you who tried WebAssembly, what kind of performance are you getting compared to native? In my application, execution time is about 200% of native, which is quite bad compared to the few benchmarks I could find:
https://hacks.mozilla.org/2016/10/webassembly-browser-previe...
https://blog.acolyer.org/2017/09/18/bringing-the-web-up-to-s...

It's a head-scratcher as my code is nothing special and I don't see what I could be doing wrong. Then it occurred to me that these benchmarks look suspicious, with many scores below 100%. Are there fair benchmark results somewhere, measured by someone not trying to promote WebAssembly? What performance ratios are HN readers getting currently, and what performance ratios should we expect in the long term?
My immediate thought is that this is spoofed. I doubt anyone at Apple would be silly enough to allow software on an unannounced OS to freely send out analytic data. I expect they'd have some sort of filtering applied either right on their dev/test machines (something like Little Snitch, though surely built in-house) or at the network level.
It's been while since I've had to code heavily in JS (when ES6 required transpiling from Babel), so I'm fuzzy on the syntax. But what does the underscore and the use of the fat arrow mean in this context?

https://github.com/Chalarangelo/30-seconds-of-code#current-u...

> Use window.location.href to get current URL.

var currentUrl = _ => window.location.href;
It makes me really happy that there are people like you who have achieved this.

Anxiety is destroying me in my current job, even though I love my co-workers. I need to figure out how to value money less and find an employer that would work with me on a 4 day week schedule.
1. Write educational content targeted at your audience, as lead-in to "and if you don't have time to do all this yourself, hire me to do it for you."

2. Post educational content in places where your target market hangs out (e.g. here).
>And especially, it was never designed to protect your source code.

I hardly get that, all and every major backer of WASM did effectively admit at some point that "ip protection" was the one and only reason they back it.

The absence of a native dom interface or proper I/O implementation at this point means that WASM compiled code actually runs slower for everyday web apps than non-compiled code.
I am curious how other countries operate their space programs that gives them some autonomy from voting cycles. You cannot run a space program with budgets and priorities changes every 4 years.
Sucks for the little guys: http://www.thwink.org/sustain/glossary/CumulativeAdvantagePr...
> I'm assuming this de-contenting has to do with making the car lighter to improve fuel economy?

Correct.
Is there no specific reason why you like it better? Usually you can explain why certain software is preferable to similar software. For example, I use IntelliJ over VS Code for writing Scala because I've had difficulties getting the Ensime extensions to work properly and IntelliJ usually just works. I use VS Code over PyCharm for writing Python code because it's lighter weight and offers 99% of the features that I need. We use Slack at work instead of IRC because there are a lot of non-technical people who need to communicate with the dev team and Slack offers an easy to use UI for organizations.
Don't expect the time you need to just appear by itself.

Take the time to attend shows.
I've used Shazam for years but lately for some reason I've been running into more music that it can't identify from two separate phones (so it's not possibly a bug limited to one device).

Hoping this doesn't mean there service is degrading because I've really benefited from it over the years.
Not complaining, but curious about why this link took off and mine didn't. (https://news.ycombinator.com/item?id=15892476)

Did adding the "Data Storage and Retrieval as an ML Task" synopsis make it less appealing?
Lasers are still subject to the diffraction limit, regardless of the quality of focus.

We can examine this limit in the context of delivering energy to a remote object. This analysis will be simple - we assume that the optics are perfectly aligned (dubious - pointing is difficult); we assume nothing about the absorption properties of the object, which will necessarily need to be very high efficiency. The angular size T of a laser beam of wavelength L emitted by an aperture of diameter D_a is roughly L/D_a. Similarly, using the small angle approximation, this angular size T at the object itself will be the width of the beam, W, divided by the distance between the object and the aperture, D_o: T = W/D_o. Ultimately, this gives us the width: W = L*(D_o/D_a).

What does this tell us about the practicality of such a system? Visible light, wavelength roughly 500 nm, is perhaps a solid guess for a real system. Realistically the aperture size is probably limited to about 10 meters, but we can go even further and assume a synthesized aperture of a realistic system being 100 meters. You would want to get all of your beam for power transmission, so lets assume an upper limit for the beam width at the object to be 100 meters as well - probably unrealistic, but maybe solar sail/ultralight absorbers could get there. Throwing these numbers in gives a maximum range of... 2x10^10 meters. This is roughly a tenth of an AU. In comparison, this is about 50 Earth-Moon distances... and only a quarter of the distance between Earth and Mars at their closest approach. Coincidentally, this is also about one light-minute.

Any real power delivery system, using current tech and without assuming convenient fictions, will have a much more limited range. In short, lasers are not really perfect rays, even though they are approximately so over scales we typically encounter; at astronomical scale, diffraction always wins. This is why it is usually way better to bring the power with you - especially as you lose solar irradiance as you get further from the Sun. And for bringing power with you, nothing beats nuclear for energy density.
If anyone is into Space and Politics/Policy, the Planetary Society has semi-recently started doing monthly "Space Policy Edition" episodes. Here's the most recent:

http://www.planetary.org/multimedia/planetary-radio/show/201...

They dig deep into the current political landscape and how that affects current and future funding of various projects at NASA. Recently they started doing interviews with people which is usually quite interesting too.
In grad school (for math) I used to procrastinate by doing Project Euler problems. I've got that bad habit under control since then (for example, logging in just now, the site told me I haven't done a problem in 56 days!), and am currently at 322 (https://projecteuler.net/profile/oantolin.png).

Don't get sucked in!
Is brevity (in terms of kb) important for this snippets? If not, I think having more explicit variable names (`string` or even `str` instead of `s`) would be better for the purpose of understanding them in less than 30 seconds.

Otherwise, I enjoy reading some of them.
Wow, that is an unusual exit after 6 rounds of funding. Crunchbase has it at $143M in funding up to that point.

It goes to show how the switch from radio (station directed programming) to streaming (user directed programming) has put a huge crimp in music discovery and music promotion.

[1] https://www.crunchbase.com/organization/shazam
I didn't think I would enjoy this, but I do: http://exercism.io/submissions/4778291c472d4c60b79360e02dd75...
> get a good deal

Correction: Something they perceive as being a good deal.

Virtually nobody goes to a car dealership and leaves with the vehicle they want at the price they wanted to pay and a large percentage of people are probably confused about what exactly they end up with and how much they ended up paying for it.
ICO for gold mining in Mali
the `=>` de-sugars to:

var currentUrl = function(_) {
return window.location.href;
}

the underscore is used so they don't have to type `() =>` instead
> I like UBI schemes and I like novel cryptocurrencies but either I'm missing something big or this one is still at the stoned-dorm-room-conversation stage.

That's the question, isn't it?

I've been circling around this from a different angle. I think it requires a shift in how you think about it. This really isn't meant to be thought of like currency we currently have, requiring a majority-rule consensus social reality. This tracks closer to the personal relationships you have with other people.

So I'd start with using on tracking exchanges of favors among friends. Some people have tools or expertise they want to borrow, and this would formalize some of those exisiting exchanges.

Since I'm interested in strengthening local communities, I'm going to find a way to work with that.

Another is applied to open source projects -- start with a tipjar on the projects you use; offering bug bounties, for pull requests. etc.

I also think there is a danger in turning these interactions into transactions. Relationships are not only transactional; the most important relationships are transformational (that is, the participation in a relationship will involve a change in who you are). I'm not sure how to resolve that, yet.
Fat arrow is used to define a lambda function. The left-hand side of the arrow is argument list (_ is used to indicate lack of used arguments) and the right-hand side is the function body. It is equivalent to:

var currentUrl = function () { return window.location.href; }
Politics aside. American people need a new dream to strive for. Without major infrastructure construction going on, people will soon find them living in the past in a few year. Whether to go back to "Moon" is not important but we need to go to "Somewhere".
Then why not just say "single binary, no dependencies," rather than bury it under an additional layer of abstraction? A humblebrag is still bragging...
This is much like an IOU system (for example: http://settle.network) , but with automatic money generation (mining).
Most of these crypto currency exchange are derived from bitcoin's codebase (or at least from bitcoin's white paper) so from that perspective I don't consider calling these other crypto's as "bitcoin" to be incorrect, just not specific. I could imagine that maybe could use the distinction of capital Bitcoin to refer to the specific blockchain while lowercase bitcoin to refer to any Bitcoin forks.
> Every single JIT compiler has to know about 4 ISAs?

Actually it's way worse, but much better.

Better first: Typically, binary programs targeting the mill don't target a specific machine, but they target a hypothetical "general mill" machine code called GenAsm [0]. GenAsm makes some generous assumptions about the hardware, like infinite belt and presence of machine instructions. Included with each machine is the Specializer [1], a program that takes GenAsm and converts it down to the specialized binary encoding for this specific machine; think of it like a linker. This includes translating infinite belt semantics into finite belts, polyfilling any missing machine instructions with microcode, etc, etc. This process is very fast and the OS can cache the result. JITs can use an API to convert generated GenAsm into runnable machine code which includes running it through the Specializer. The specializer is built along with all the other tooling based on the specification that Ivan mentioned briefly.

Now for worse: because mill machines are specification-driven, there could be many more than just 4 ISAs. There could be more ISAs than they have customers depending all on the needs in each case. But it's no big deal because everything targets GenAsm and the machine code differences will be specialized away.

I'm pretty sure it's the Specification talk [2] that goes into the most detail about this.

[0]: http://millcomputing.com/wiki/GenAsm_(code_representation)

[1]: http://millcomputing.com/wiki/Specializer

[2]: https://millcomputing.com/docs/specification/
I'd say this is a generally misleading statement, but if you like it is right in some context.

In particular, one could argue that it is true for clustered indexes (e.g. in SQL Server or MySQL/InnoDB). In that case the table is actually in an ordered fashion and happens to be identical to the leaf-node-level of the index. However, if you argue that this level doesn't belong to the index but is just the payload, the level above the leaf nodes is as they say: it has one pointer per page.
Money is a pretty good predictor of who will win elections. The idea is that Congress is constantly seeking re-election. And because campaigning is so expensive (TV ads, signage, events, staff etc...). You gain influence by either changing the laws, or changing the congressional representative. You do this by donating to those candidates that will favor the ISP providers cause. And because money has such a large impact on who wins elections, by donating more to ISP sympathizers, you gain influence.

Its not that the congress members are looking at who specifically donated. Rather its the other way around. ISP companies pick a pony and bet on their horse.

Money wins elections:
https://www.pbs.org/newshour/politics/money-pretty-good-pred...
>For a UBI to work people have to be able to actually spend the currency they receive.

I don't see why this is true. People were saying the same Bitcoin, yet people still use that, which is turning this conversation in to a circular argument. The truth is a UBI has never really been tested out in the world, it's all theoretical, and a cryptocurrency UBI even more so. I don't think it's right to just write it off completely without actually testing it.

And by "hold value", i meant that humans find value in it. Although I admit that was a poor choice of words due to the traditional financial meaning.
Distance learning is not going back to university.
Agreed, but Async/await is ES2017!
"replacing human engineering"

Good summary, but someone still has to write the machine intelligence!
The full size spare in my current car has been transferred from my two previous cars, I swapped it for space saver spares that came with the newer cars.
What kind of work are you looking to find at the end of this journey? And what kind of mathematics are you studying? As a beginner several years ago, this page helped me develop a healthier attitude toward mathematics and programming that got me to just start programming:

> 1 + 1 = 2

> - The minimum level of math skill needed for an interesting program

http://ruby.bastardsbook.com/about/

If mathematics is necessary for what you want, then by all means, continue to study it! However, the link between mathematics and programming, or even computer science and programming, can be more tenuous than it would seem.
That tells me I'm not going to have to install some command line tools, a couple scripting language or JVM runtimes (make sure it's the right version, which may not be the latest!), a new package manager or three, and a bunch of other crap to run the program. Probably it's a one-file or one-file-and-a-config affair.
Court Says Google Must Unmask Person Who Left One-Star Review of Psychiatrist
Something to strive for? Perhaps eliminating poverty, or malnutrition? We don't need to go to the moon for that, we just need to go south of Market Street.

If those goals are too pedestrian, we could also aim for shifting our economy to a closed-loop ecologically-sensitive system. It would be far more useful then going to the moon - it would pay farm more technological, and social dividends, and it is the best ROI step that we could take to ensure our continued survival as a civilized species.

But perhaps these goals are beyond our capabilities...
They are only talking as quickly as they can get patents filed. Once the patents are in place then they'll get to taping out, I presume.
Just opened a company in Estonia. The experience so far has been incredible. It's not quite the future - all the technologies should exist everywhere etc. It's the present that should have been, but somehow it's not.
IIRC setting up and doing basic admin (creating users, etc.) was harder for PG than MySQL.
I am not the owner of the project, but from my point of view, brevity should be quite important. Some names could be more descriptive, though.
I did all the exercises.

1. At the time, I could code the kinds of things K & R had me do. But, I couldn't, say, run a wordpress site, because that depends on knowing libraries, how to run php on my system, a bunch of php specific stuff, and other stuff I don't even know I didn't know
2. It's been five years. Without practice, I no longer can do the stuff I did while I was learning. I could pick it up again, I just mean the knowledge isn't currently available.

Basically, I had no project that required me to use the skills, so they didn't grow past what I picked up, and then they atrophied. Pressing business concerns became more important.

But, now I'm at a point where not being able to program has become more of a hindrance.
It is not the same as that. the fat arrow doesn't change the value of "this" while the function definition does.
30 hashes a second seems extremely low and I'm wondering where they got that number. Are they using unoptimized JavaScript I nstead of ASM.js?
Ask HN: Why is no one arbitraging Bitcoin futures?
Bitcoin futures started trading last night and are currently significantly above the spot price. They’re priced at ~17,900 and ~16,700 on the major exchanges. An investor could borrow money, buy bitcoins, short the future and wait until january for a guaranteed return.

Issues I see with this arbitrage strategy:

1. Holding cost of bitcoin from now until January too high

2. Unable to execute at the future or spot price

Am I missing anything else?
The problem is that some of the newer cars don't even have a well for a spare, so then you have to deal with the spare eating up trunk space.
Some snippets, like this, read a lot like codegolf functions.
> all and every major backer of WASM did effectively admit at some point that "ip protection" was the one and only reason they back it.

I'm sure you wouldn't mind providing sources for this bold claim?
Sorry, didn't mean to cause confusion. I know the pool includes all subscribers; I was also just ignoring everyone else for simplicity. But that just exacerbates how hostile the system is toward independent labels and artists.

To clarify further, my issue isn't that payment is calculated per play, but that it's measured relative to other artists instead of absolutely.

Put another way: an artist that that gets X plays shouldn't make more one month than the next, just because the next month they have to compete with a new album by Taylor Swift.

Edit: to clarify even further, I'm not saying they shouldn't be allowed to do this or even that it's immoral. All I'm saying is that it's a system that's heavily biased in favor of major labels at the expense of independent ones.
Just the entirety of my life experience and listening to endless hours of police arrest interrogations videos daily which my partner works on in my home office as a defense attorney. Plus the hundreds of true crime documentaries and books we watch/read.

If a researcher was to measure the average IQ of a police officer and it's affect on wrongful arrests/convictions I would more than support such a study....
Patreon doesnt seem to do much checking of anything. There are patreon users getting money by copying the content of other patreon users and aggrigating it. So far patreon has done nothing. There are also patreon accounts just posting links to torrents and no movement from Patreon
(Reposting comment from https://news.ycombinator.com/item?id=15882184 lightly edited.)

I attended this on Thursday. Knuth started with a problem about rectangles inside rectangles (https://imgur.com/faWRt2q — it's going to be an exercise in 7.2.2.1 of TAOCP when that's published, currently in the draft version of Pre-Fascicle 5C). He worked through some small cases, made a conjecture, showed a problem submitted to the Monthly, and lots of cool stuff with generating functions. The lecture was also peppered with jokes and cool stories, including a fascinating conjecture by Bill Gosper, who has a long history of coming up with these Ramanujan-like identities. He also showed a wonderful conjecture (involving queens on an infinite chessboard) that he thinks may never be proved, and showed a snippet of his CWEB program for the problem.

Knuth is turning 80 in about a month, and his talks seem to get better every year. (Though last year's lecture (https://www.youtube.com/watch?v=DjZB9HvddQk) on Hamiltonian Paths in Antiquity, which among other things covers Sanskrit poems that satisfy a “knight's tour” constraint, holds a special place in my heart — been planning to elaborate on it.)