skysight-inc/HackerNews huggingface dataset:
sample screenshot url taken using IPFS

https://ipfs.io/ipfs/QmTBiRWHtVsukgmwEtjpZdPfapCrUGMpjfL2gyo...
Until recently, I was primarily a JS and Node developer, recently switching primarily to Python. Python has a similar feature in 3.5 (async/await) and while I used to think it was a little confusing and it forced me to think about the event loop (because when you call an asynchronous function, it doesn't execute until it's called as a future in a loop or in another async function), it seems very well designed compared to this.

In Python, I can't accidentally call an async function without thinking of how it relates to other code, whereas in JS it is a Promise that executes synchronously and returns asynchronously, which means it opens you up to more tricky issues down the road.

The more I've worked with Python, the more I appreciate and respect how well designed it is. I don't have the same appreciation for JS (and yes, I know about how it was originally designed in 10 days, but that was 20 years ago) (and yes, I also was able to skip a lot of the Python 2 vs 3 issue having started recently, but I recognize it was a huge issue in the recent past).
I don't see why this needs to be in MAME. The Internet Archive already hosts games for platforms not covered by MAME. For instance, DOS titles are served using EM-DOSBOX.
The block which is long enough to need block scope is long enough to be a function.

Special bonus to couple decomposing assignment with IIFE so that any variables/symbols which "escape" from the nested function are explicit (and the locals simply disappear with the nested function).

Const would be nice, if it went further - treating the const declared identifier as if it were deeply frozen, at least within the scope of the const identifier. Alas, that touches on what is wrong with most programming languages in common use today: mutable by default, but we should be requiring "groveling" to make something mutable.
It wasn't impossible to answer, it was just a puzzle. It required you to realize some specific property of the problem, or be stuck implementing a suboptimal solution in a fiddly editor with no debugging features.

It also had pretty much zero overlap with actual software development (e.g. it completely ignored actual business needs, which is a big part of what devs should care about).
That is a good idea as far as it goes, but it does not go far enough. Soon enough you will find a consistency requirement that does not fit into any structure that works for other consistency requirements (other than the degenerate God object antipattern, which defeats the purpose) - and consistency is only the first step to being correct, anyway.
I got started with Haskell recently, and I'm really regretting not having picked it up earlier. Most of what I knew about types came from C, C++, or Java; so it's a big leap.

I've been using Haskell for Mac IDE [0] while experimenting, and it's been great fun.

The thing that prompted me to give Haskell a a try was this video [1] of a guy using Haskell to generate Elm types, in order to maintain consistent types across the stack. This idea captivated my interests. I'm confident that GraphQL and Relay, or something along those lines, is gonna be the future.

My experience so far has been that Elixir feels more welcoming and beginner friendly. There's nothing wrong with the Haskell community (or my limited interactions with it so far), but so far it's just felt a bit drier.

[0] http://haskellformac.com/

[1] https://www.youtube.com/watch?v=sh4H8yzXnvw
Google Acquires Eyefluence, Signaling Continued Interest in VR/AR
> science can't tell you what's beautiful or how to live.

Yes it can. If you feel otherwise, it is because you're ignorant of how science actually works and how general its base principles are.
It is a long story, rooted in the aforementioned incurable medical condition. Serious health problems are a common root cause or contributing factor to homelessness. (Source: I had a college class on homelessness and public policy some years prior to ending up on the street.)

At this point, if I could come up with a few thousand dollars in relatively short order, I believe I could get off the street under circumstances that would not make my health worse. But that's a rather tall order to fill, given my current circumstances.
The Rio 500 was the first MP3 player I ever used. I thought it was incredible :)

The Volt was the first MP3 player I ever owned. I loved that device. 700 MB of music, and I could burn as many CDs as I wanted... That thing was great.
Safe Rust bridge for creating Erlang NIF functions
Foreign policy recommendations regarding the Middle East:

1) The only winning move is not to play.
That's a common misconception. The laws on protecting classified information allow you to lie to protect it if other parties aren't all cleared for it. Congress passed and continues to uphold those laws. They also uphold an Espionage Act so strong even leaking evidence of crimes might be considered misusing classified information. Until Congress fixes those laws, they're in a grey area where they're justified in deceiving others to protect those programs.

This is why I've long pushed for people to push for a reform of our classification system. Last I checked, it couldn't be used to hide illegal information as that couldn't be classified in the first place. However, they were operating in a bunch of grey areas related to the Patriot Act, Executive Orders, and the FISC. So, these aren't obviously illegal. Needless to say, I'm for canceling that crap too.
This is exactly it. If you have two identical pianos, both precisely equally tempered, but one tuned a half step lower, and then you played notes of the same pitch on both pianos (the notes are a half step apart, the pitch is not), they will sound different. Disregarding all the differences surrounding the natural wood and other materials, and the fact that it's impossible to use the same velocity, and the pianos aren't in the same exact position relative to the room, and everything like that -- you will be left with just the differences that have to do with tension.

On an FFT graph, you'll have the same fundamental and a very similar next few partials, but eventually you'll see (and hear) the results of the different tensions. Those differences represent what people like and don't like about different tunings -- nothing to do with the slightly different pitch between 440/442/438/432/etc!
I love that site. The best part about it is that it gives you all of the common names for stuff like category theory concepts. Eg: the various ways map, flatMap, bind, etc are called across languages.

Because its a pain in the ass to learn those concepts from scratch when you're looking at code in one language but reading a tutorial in another...the concepts are language agnostic, the naming conventions however are not.
Exactly. Most of my value is in telling the client "you'll never needs this. Here's something that will do the job you need right now for a fraction of the cost, and won't prevent you from scaling later on", and not the fact that I can write optimized code to find the midpoint of an array so that the two halves contain an equal number of items divisible by 3 in half an hour.
Apple would say that syncing through iTunes is easier than interacting with a filesystem.

As a concept, this leads into a debate about whether ideas like the Plan 9 operating system – where everything was a filesystem – are right or wrong. Clearly, some people love filesystem interfaces and would like to use that as a metaphor for all information systems. Apple's attitude with their iDevices has always been to use "appliance" interfaces to information systems and make filesystems an implementation detail.
I was talking about electric. But thanks for reminding me to play my upright now and then! Poor thing needs some TLC... and a much lower bridge.
Isn't all this coding a U.S. phenomenon? I've read that single-payer systems like Canada's require orders of magnitude less labor and paperwork.
Experience. I have a Samsung Gear Fit 2 (or something like that) watch from about 2 years ago.
It's a somewhat interesting question. One of my favorite recent albums [1] is at A = 366Hz. That's literally the case (the A string on the fiddle is tuned to 366Hz), but of course you could argue the whole thing is transposed down a minor third and then tuned to A = 435 or so.

[1] https://soundcloud.com/nicolaslbrown/sets/alison-and-nicks-t...
Living in the Age of Software <<expletive as adjective-ish noun>>
If you've got any feedback or ideas, I'd love to read them.
The fact that a const can't be changed is great but in my mind the bigger thing is what the code communicates. Using const vs let tells future devs who work on the code that the value was meant to remain unchanged. If they need to change it, that's a signal that maybe there's more to it than they currently understand.

I agree that pull requests that mass change from let to const are largely a waste of time, but usage of const vs let is a legitimate discussion within your team.
>Is Europe ahead of the US on LGBT rights? Marriage equality is the law of the land in all 50 states here.

Europe got their through politics, US through courts. How long do you think that would take if it was left up to politicians?
uhhh edge still hasn't destructuring
HN Show: Listen to ambient music and music: SimpleMp4 (inspired by Noisli)
Does kotlin have the same compile time, binary size and IDE indexer choking issues as Swift? I've heard that it has similar problems. I would not use Kotlin for a large project if that is the case.
I am aware of that, but the biggest German banks only use their own scheme instead of Visa/MasterCard which doesn't support contactless at the moment.

Visa/MasterCard debits are extremely rare in Germany.
Garry saved my company … twice. There is nobody like this team.
>gets your Wifi password through their app via the "cloud".

And? What does it matter that someone has a password that's only good for about 100 metres around your house?

Of all the passwords I have, my wifi password is the one I care least about.

I'd be more worried about what the app itself is doing on my phone - I caught one attempting to update outside of the Play Store. No thanks.
Never heard of this brand. DR has been my go-to for years and recently gave Rotosound a try after going on a Yes bender. Thanks for the tip.
Oops. Thanks for pointing that out.
The arrow basically says that 14% and 16% are similar.

"As a rich high school dropout, you have a 14% chance of being in the top 20%."
"As a poor college grad, you have a 16% chance of being in the bottom 20%."

If you're in that ~15% of each group, you get the premise that the "poor" college grads didn't do better than the corresponding "rich" dropouts.
Speaking of Australian death codes: http://deathmatch.me/
If you accidentally delete the Google 2FA app, or your phone is stolen / lost, you have to regenerate all the tokens, which can be quite a pain. This happened to me once, and I was lucky I had several 'recovery codes' which I then used to reset the tokens. Personally I would stay clear from a Google-issued 2FA app as they have more reason to track you and the services you use.

Go for something like FreeOTP: https://freeotp.github.io/

Also 2FA can sometimes be overkill, especially if you're constantly logging into accounts which you know will get old and dusty over time (think Yahoo Mail for example)
Bluetooth earbuds & headsets have all the downsides of smartwatches: they cost roughly the same (for headsets; earbuds are a lot cheaper), they make you look as dorky or more, they're IMHO less comfortable, and they're another accessory that can fall out and get lost. And they seem to have similar adoption numbers. The main difference is audio vs. visual: headsets are better for some uses (notably taking calls) but worse for others (interacting or reading quick notifications).
"Even though these groups provide a disproportionately large economic growth contribution"

No, most of productivity growth in industrialized countries arose from economics of scale from multinationals.

Its the same for China, Germany, South Korea, Japan, Soviet Union ...

Countries do not industrialize due to small business and entrepreneurs - regardless of much the average american likes to think that is true.
GET READY FOR HallOWEEN
Fair, although this is something I discovered mostly through picking up and playing my bass without bothering to tune it, or than something I do on purpose.
it's sad the longest of [var, let, const] is the most useful one. They should have made let behave like const
It's because SAA completed the encirclement of E Aleppo. You can pinpoint it to that event, just a few months ago. That is when all the hysteria started. To be fair, that encirclement is the worst thing to happen to the rebels in the entirety of the war. If they lose there, they have basically lost the war. It's happening, it will just trickle very slowly for the next few years. That is all unless there is stronger Western intervention (particularly by the US).

The media campaign on Aleppo is just the war drums beating subtly to hopefully get the public behind a future intervention. Especially under a future Clinton admin.

The coverage has been a disgrace though, hardly even acknowledging that the rebels in E Aleppo are overwhelmingly jihadists, fighting for an exclusionary Sunni theocracy.
There is a cost to not playing the game, as Europe is in the early stages of discovering. Just like there was a cost to the US, to let Haiti go to hell, paid for in immigration. The difference is that Haiti is tiny, and the Middle East and North Africa are huge.
I really want to warn people from using long-to-compile languages in big projects. And by long, I mean longer than C++. From what I heard Haskell has compile time issues.

You will regret it once your in that position and it is hard to get out of once your there.
For the average German retailer it's around:

0.23% EC

0.5% Maestro/VPay/MasterCard Debit/Visa Debit

0.8% MasterCard Credit/Visa Credit

2.5% Amex

But of course that depends on the size and the negotiation skills of the retailer. I'm always envy when visiting the Netherlands, "PINNEN ja graag" signs everywhere :)
Yes, please! I suspect lack of lane discipline to be the single biggest disadvantage US freeways have to American's. I would love to test that at least via simulation. I would expect that two lanes with lane discipline are better than three without. Potentially even better than four.
In the end, it is like trying to cut down a tree with a butterknife.
> While I don't know the exact overhead of 10GigE, there is likely still some overhead.

on 10gige pipes, at max Ethernet mtu (1500) bytes etc, there is approx. 94% of available bandwidth for user data (accounting for things like inter-frame-gap, crc checksums etc). with jumbo-frames that number goes to 99%.
The smaller size at Moes is at least a dollar cheaper, or at least it was when I went there last
Remember, this was the era where "Apple are doomed" was the attitude applied to everything Apple did. Most analysts were dismissive of Apple because they expected Apple to disappear.
The Science of Binaural Beats
Which, in hindsight, was probably a good way to test a market, and ensure demand didn't outstrip supply too badly at the outset.
> But collecting and (forever) burning collections was a royal pain in the ass. Plus, CD readers would struggle and skip/stop/jump all the time as they bounced in your pocket or in your bag

Well, after the first generation of CD players they wised up and added high-speed drives that read into buffers ("skip-proof"/"ESP"/etc) so that skipping wasn't a big deal. Since MP3s were a smaller quantity of data, they actually worked better at this.

Ideally you wanted a player that could read CD-RWs (whether full of audio tracks or MP3 files). Still a pain in the ass but less expensive. Not all players used a laser that could read RW media. And not all media used to be readable by all drives in those days - some drives were very very sensitive. I remember the horror of desperately searching DVDR-Help.com to try and find media with good compatibility ratings.

The thing that always amused me as a kid was how indestructable my Sony Discman CD player was. I went through probably 4 or 5 off-brand CD and MP3-CD players that had skip-proof before I finally switched to MP3 players. Every time they'd conk out after a year or two and I'd have to fall back to that stupid skip-prone Discman. The thing was built like a tank and I wouldn't be surprised if it still worked today, 20 years later. When I replaced it with an early iRiver HDD player in 2003 I shelled out like two years of savings for it, and that iRiver ended up lasting a decade. It was an important lesson for young me: you get what you pay for.

> Absolutely. A lot of cheap Chinese sticks wouldn't even understand filesystem structures deeper than one level.

That too, but I was really thinking about the scroll-wheel there. I can still remember the interminable pain of scrolling through a giant list of albums at about 2 per second. The iPod scroll wheel and the Zen Vision M's touch-strip were massive improvements for how they let you scroll rapidly but also have fine control.

The iRiver fixed it with firmware brute-forcing (in Rockbox). All you had was a D-pad but it would scroll exponentially faster the longer you held it down, so you could actually get where you wanted to go in a reasonable amount of time. Not elegant but it worked.
Most of the coverage I've seen has been pretty neutral on the "rebels", choosing to focus instead on the immense collateral damage to noncombatants.
Many tasks like this are completely automated, normally to get this done quickly someone that is really good at automation like a systems engineer will be assigned a very important, large multi-step task that needs to be done throughout the year (think financial, system, inventory reports). The systems engineer will normally turn it into a fully testable and automated system that no longer requires any human intervention.

This is especially the case when the application needs to pull information from systems only the system engineers have full access too that regular development teams have little or no access too (inventory systems, human resources systems, database servers, production web, email, infrastructure, system and applications, backup archives, financial transaction systems, payroll systems, etc.) that access is only granted to the top system engineers in the company.

These automation tasks are normally engineered and receive by-in from executives pretty quickly and go through a few weeks of the full development cycle and normally end up in a cronjob or scheduled task to only been seen again when a few tweaks are needed in the future.
So that's what I just did. It has some very reasonable points but much of it is utter crack. I can't help but feel reminded of dmr's foreword to The UNIX-Haters Handbook:

Here is my metaphor: your book is a pudding stuffed with apposite observations, many well-conceived. Like excrement, it contains enough undigested nuggets of nutrition to sustain life for some. But it is not a tasty pie: it reeks too much of contempt and of envy.

Bon appetit!
Congrats, Garry! It's a rare treat to get to work with people as smart, savvy, helpful, and kind as you and your team. I'm glad more founders will have the chance w this new fund.
Thats right - but if you're employed at a place that doesn't offer a 401k, and not self employed you can't do anything.
> It really is a strange, new thing to come from nothing and all of a sudden be able to go out to eat at an Applebee's without worrying about your finances for a month.

This. I come from a background where ordering pizza was a special event. We weren't poor poor, but we had to be careful.

I'm getting more used to eating out and getting takeout, but I still read the menu right-to-left (prices first) even though 99% of the time it really doesn't matter.

Maybe someday I'll stop feeling guilty for not ordering the cheapest thing on the menu. Took me 2 years to get used to appetizers.
I've never seen any embedded UPnP implementation (I think the spec is "Internet Gateway Device") require any kind of authentication before forwarding ports. I wonder if that's even possible?
Why is that hard to believe? The USA created Al Qaeda in our first foray into Afghanistan; they're literally blowback from training mujahedin to fight the Soviets.
that's actually very intriguing! The only thing that worries me is, I'd be concerned about tapping my mechanical watch dozens of times a day. Tapping can exert surprising amount of force to tiny movement pieces.
One problem is that manufacturer-controlled updates are at odds with consumer ownership of software and hardware. The demands of privacy advocates are almost diametrically opposed to the concept of automatic pushed updates. There have been plenty of examples where manufacturer updates have made devices worse in some way.
Super stoked to see this announcement, I know Garry has been cranking on the new fund.

Canadian founders, Garry+Alexis are super canuck friendly, some of the best investors we have :)
The Worst Rap Videos of My Adolescence
The timing is very strange. It seems highly unlikely that Obama would initiate any new actions before the election as it would likely sink his preferred candidate.

That makes me think that the CIA is pushing for more intervention after the election. I think this also explains why Hillary is taking every opportunity to resurrect Russia as America's boogyman, given that they're on the opposing side in Syria.
This explains the years of confusion I've suffered noticing sharp pianos in films. I could never work out what was wrong with American film pianos! Thank you, seriously.
I always thought the sync-cable-doubles-as-power-cable thing was so ingenious. Could you charge any product over USB at the time? I don't remember anyone doing this before Apple did, and it helped that the FW400 cables were the same on both ends. And on top of that, all of the chargers were modular in the way the Macbook chargers still are today; you could swap on the "long cable" end in place of the flip-out prongs, or use the non-North America travel kit tips with any of their chargers as well.

I was sad the day the iPhone started shipping with just a simple USB->power brick with the modularity removed.
For me that memory was Diablo 1 and finally getting to "The Butcher" - the way they got the environment to match the music was incredible.
https://en.wikipedia.org/wiki/2011_military_intervention_in_...
Yup, I've been eating super hots for a number of years now including fresh Carolina reapers. They simply don't hurt at all when I eat them and honestly, getting past the heat really brings out the ability to taste the flavor and I can tell you from experience, if you are experiencing pain, you aren't tasting the flavor.

For anyone picking up the hobby, know this, you will reach the point where your stomach and other parts of your body will become a limiting factor so build up slowly. I own a bidet.
Few investors I've met feel like they're completely on your side. Garry and Alexis are two of few, and there is absolutely zero doubt.
A dumb tv is a smart tv
Only the pro-rebel noncombatants. Now that rebel-held east Aleppo is surrounded, there are articles every day about how terrible it is and how many people are suffering. But when loyalist-held west Aleppo - which has at least four times the population - was surrounded in fall 2013, not a peep from anyone.
As a classically trained but relatively amateur singer, and professional audio engineer, this fascinates me because I would've thought such breaks vary enough from person to person that it wouldn't be possible for a composer/conductor to expect it to be somewhere with anything like quarter-tone precision. Cool!
This only means it's hard to judge manually.
>This happened over and over again with the other stuff they made.

I heard someone (maybe Jon Gruber) once say that Apple doesn't invent sliced bread, or cold cuts, or bib lettuce or condiments. They invent the sandwich.