skysight-inc/HackerNews huggingface dataset:
Yes, but in other countries everyone gets the same access to health care and people don't die on the street because they can't afford a commodity like an epipen! Though you might die in a hospital bed because the government wont spend a million euros a week on medication that may or may not give you a year more to live.
> What is async in JS and Node (unless you use the sync alternatives) is any kind of IO (disk, network). That is also async for the CPU.

The same statement is true of Erlang and Elixir, yet they manage to handle non-blocking async code without either of the daft callback/promise code styles of Javascript.

Even within the confines of async-capable languages, Node is one of the worse options.
Hardly, I lived in AZ for a while and it's a very legitimate fear. Minorities (not just those who are racially profiled as illegal immigrants) routinely are asked by officers to present identification at fucking barnes and nobles of all places. Source, friends, family, and observation.

--Towns aside from phoenix
Hypnotizing GIFs
Lots of small cores is a significantly more power efficient model than one big core. Picochip, for instance, managed to spectacular things on a low power budget, but you needed to really think out you model and how you were going to apportion work to cores.
I have my primary services spread across 3 separate datacenters (AZ's), and backup services across 3 separate AZ's in a region on the opposite side of the country. I pay far less than I would if I put my equipment in only 3 datacenters (2 primary + one secondary) since most of my backup infrastructure is powered off.

And I have far more control than I had with colocated equipment, if I find I need to scale up my services by 2X, 5X or 10X, all it takes is a little more money during the time I need the extra hardware (i.e. end of month processing, plus holiday shopping season), I don't need to order hardware a month or two in advance and pay for it all even when I don't need it.

What I used to pay for my network infrastructure alone (hardware + support + network engineers) pays for most of my entire AWS compute infrastructure.
hosts file blocking will never be as good and complete as add-on based blocking. You cannot block on DOM, you cannot block specific things from a host but let through others, etc. Not to mention that it is much harder to toggle if you need to.
Funniest Art Critic in the World
Get a pencil, now wrap a piece of string around it. The string protrudes from the pencil "shaft body" as per a screw.

Conversely in a bolt, the thread is machined into the shaft; imagine carving the line that the string made into the pencil (so that you are removing rather than adding material) to produce the thread.
I imagine this happens more often than most people realize.

I worked on a satellite that was launched in 2003 and had a lifetime of 3 years. It operated until at least 2012 when the Air Force decided it was done paying for the downlink, but the satellite itself was still in pretty good condition.
I have a "simple" problem where a piece of code somebody "wrote this morning" doesn't work. Its about thirty lines, has a pretty print harness and well defined inputs and outputs - it normally takes a competent programmer about 15 minutes to solve in an interview setting (less than five outside).

What absolutely shocked me when I first started using it is that it normally takes them 10 minutes for them to decide to insert any form of debugging code, and many try and not talk to me - despite introducing the problem as "a quick debugging task which we hope will show your willingness to talk problems over".

Of course the man that took the biscuit was the one who, after I introduced the problem boldly stated "This is obviously a complex problem. If I had more time I would be able to solve it for you". No.
Even animals on factory farms get fed.
This Is How to Overcome Perfection: The Power of “The Shitty First Draft”
I really don't think that people have been coming up with new frameworks because you can add [1] to 5 and get nonsense.

Javascript cycles through technologies quickly because web developers cycle through technologies quickly, and they do that because they get to work on greenfield projects with minimal expectation for them to be around in 5 years a lot. Check out all the different server side frameworks and infrastructure components that have been in vogue with web developers over the last decade.

In comparison, people who aren't writing consumer-facing websites and webapps tend to have much more clearly-defined goals, longer lifespans of their apps, and don't often get the choice to use anything but industry standard technology. Because of the slower cycle, there's less opportunity to redesign frameworks and core technologies even when it's allowed.
Suppose there were no regulations and no liability for manufacturers. Would you really trust your life or your kid's life to some unregulated clone of the EpiPen that may or may not actually work properly when needed, knowing that if it went wrong the manufacturer wouldn't even have to pay one cent of your medical bills and didn't have to worry about liability for screwing up? I suspect not.
Leaving in algebraic form means you aren't finding a solution, but can see that, e.g. with '3x = 2y/12z' increasing z will decrease x, but increasing y will increase x. So you know the trends for the variables, and which ones can be usefully manipulated. Reasonable advice, if a little glib.
can it be used as a monitor would in external display mode on the mac?

what about a keyboard in that case - can I have a keyboard on the ipad and it works with the closed mac?
Extract Information from LinkedIn Public Data
Bizarre how Americans never seem to think prisons are bad enough. As long as there are prisons worse than American ones the prisons are too good. It seems like the thinking is that if prisons don't get bland or disgusting food, then they are rewarding crime.

It was actually surprising to read that prisons in my home country Norway, which are significantly more humane are not really much more expensive than American ones. There prisoners often get to cook meals themselves. In some prisons they have their own unit with a proper kitchen. I guess part of the reason American prisons are relatively expensive despite the horrible treatment is that they spend so much money on heavy security measures. Norwegian prisons attempt to create an atmosphere that reduce the propensity for violent behavior and thus reducing the need for heavy fortifications.

Being humane can actually be cost effective!
Alternative view: it dissolves couples that actually should have been flings.

If you can't spend a few weeks in the promiscuity of your significant other, chances are you're not that great a long-term match.

(Agreed on pcunite's comment on the two marriage-related books though.)
I know there are a couple of solutions out there, but what exactly stopping the main email providers to offer on demand proxy addresses for one's main account? I think there is a legitimate demand for it, but not enough to actually sign up for yet another service.
The penalty will be reality, but I believe science really progresses on the gut instincts of scientists.

Imagine you're presented with the data of an experiment, you can either publish the data resonably objectivly "the mean is 5" or you can hypothesise a cause and invent a new experiment to test it. There's no scientific method for how this hypothesis comes to you. That's a result of your lived experience.

So your stance is absolutely essential to the form and direction of research, even if wrong then the experiments performed can give valuable data for people with more or less different stances.

This situation appears to be an expression of what Micheal Wheeler called the Heideggarian philosophy-science nexus. Which is explained in a single paragraph on the page I see when I go to this link.

https://books.google.co.uk/books?id=UKsf3Zziar8C&lpg=PA166&o...
I completely disagree. Tux is the success of mascots. With less successful followers such as darwin, freebsd and openbsd.
C# is the copycat today.
An ordinary persons understanding of holograms (ie as a shimmery 3d light projection, like in Star Wars) is actually quite close to AR, which presumably is why MS have chosen to use that term. It's a bit more immediately understandable than Augmented Reality.
How to delegate managing projects to other users on Worksnaps
Yes, but that's mostly because the safest car is more like a suburban tank while the smart car is more like an urban mobility device. If there were no suburban tanks around, the smart car would instantly be much safer.
Attrs: the one python library that everyone needs
But they're bad people, and they must be punished. /s
Interview with Alysha Naples, Former Magic Leap
I'm hoping to give another quick presentation at next weeks London Coinscrum - Tuesday 30th. At the same venue. Please come and introduce yourself and I'll buy you a pint :)
> What I'd really love would be a feature that lets me see the scenery currently around me, as if I were flying in the air without the plane. You could just use Google Maps data at first, but if someday they installed a few cameras on the exterior...

Wouldn't that make you sick by itself though ? :)
Get outta here with your socialist appeals to cost effectiveness. I want to feel that bad people are being punished.

/s
The "zip inconsistency" linked is not a problem of the Zip file format specification. The goal of the zip format was never to provide a tamper-proof cryptographically secure binary package. Whoever uses this structure for some more security-wise complex demands is responsible to make sure that the security assumptions he needs are respected by the code he implements. One simple method were signing the resulting archive, then no modification is possible, and therefore also isn't possible adding a second entry with the same name by the attacker.

I really don't care about HTTP headers or Reed-Salomon, as they are completely irrelevant to the Zip format designed in eighties for very specific purposes then (being fast on the floppy disk and 4 MHz 8088 processor, allowing to recover as much as possible from the floppy even after the floppy disk sector failure), I just claim, through the whole conversation here, that the Zip format is not a bad format for having a central directory and the metadata outside of it too, and I gave my arguments for that. NTFS also has some metadata on more than one place and it's an intentional design decision solving real problems: in Zip case allowing for fast access of the list of the files in the archive but also easy recovery of the single files when some part of the archive gets corrupted.

I also claim that the Zip format is not in any way "bad" for not making impossible per the archive format design and specification of having the two identical file names in the archive. I can even imagine use cases where exactly allowing that is/was beneficial.
The page itself has some good examples - really remote on montain tops e.g.
You should do that. I'd probably use it.
I use Scala with spray.io. Plain-old-code rather than annotations or config files (they've structured their API so that you can write a route definition that looks almost like a config file - see e.g. https://github.com/spray/spray/blob/release/1.3/examples/spr... - but it's all plain old code that you can refactor according to the normal rules of refactoring code). You can use callbacks if you really want but generally you just return Futures and compose them with for/yield, which is the sweet spot IMO: your code can look like:

for {
user <- loadUser(userId)
bestFriendId = user.friendships.maxBy(_.strength).friendId
bestFriend <- loadUser(friendId)
response = buildResponse(user, bestFriend)
} yield response

so there's very little overhead to doing async calls (just the difference between "<-" and "="), but you do have visibility over which calls are async and which aren't when you're reading the code. (async/await are arguably even better in this specific case, but they're tied to async, whereas for/yield is generic functionality that you can also use to e.g. manage database transactions).

JSON-wise if you use spray-json-shapeless you get automatically derived json formats at compile time, so better performance than reflection-based approaches, O(1) code to support all your different data types, but if you accidentally try to include something that doesn't make sense to serialize (e.g. a file handle) then you'll get an error at compile time. Similarly, the output "adapter" is resolved implicitly at compile time, so once you've imported the adapter for spray-json and the spray-json-shapeless stuff you can do "complete(foo)" where foo is a Future[MyCaseClass] and it will work correctly, but if you try to complete with something that can't be converted to a valid HTTP response then you get the error at compile time.

(And if you're already using Java, it runs on the JVM, with seamless interop with Java libraries; you can run it as a servlet too, so you can migrate a web API one endpoint at a time (using servlet routing) if you like).
Yes. Tux was one of the reasons I got in touch with Linux when I was young.
[Edited for tone - first pass was written on my phone.]

> You need to track every instance of your good work, every demonstration of your value to the company. You need to know what form your performance feedback will take (quick meeting? annual review? panel?) and be ready with all the ammo/leverage/savvy/whatever you want to call it. You have to be able to show what you're worth, what the company loses by losing you (loss aversion works on your boss too) and all that.

While it's true that you should know why you are valuable to your company, I think following this advice thinking it will help you to get ahead would be a misstep.

I've found since moving abroad that this attitude and the environment which cultivates it is one of the less healthy aspects of working for a US software company. I think anyone in a New Zealand software company who tracked their every achievement and bandied it about looking for their prize would be the least trusted person in the organisation.

As an engineer-turned-manager myself, I can tell you that the best way to get promoted is to consistently deliver value and to help others to do the same. While in a formal performance review it's likely necessary as a matter of process to hold up past achievements, you'll do much better to focus on the future value you'll deliver.

If you're feeling like your achievements are going unnoticed perhaps be a bit proactive and ask your manager if they might offer some advice on areas in which you could improve and how you might go about this improvement. Assuming they bite, follow their advice.

That said, if you feel consistently undervalued you're either not good at consistently delivering value, or you work for a bad manager/company. If it is your own incompetence you likely won't recognise it if you are spending all of your time tracking what you perceive to be achievements.
FB's primary reason for creating Hack was to add type-safety to PHP code. They spoke about how PHP was great for the fast development cycle, but would benefit from more structure if the created codebase was to become long lived. So the new Hack code is the same PHP code, only with types (and the implied benefits such static analysis, optimisations, etc).

Incidentally, this is also why FB created Flowtype - the lack of types is a massive boost during the code's youth, and a massive burden from early adulthood and onwards. Hack/Flow are a clever way to bridge the gap between typed and nontyped languages.
Everything is async in node, because doing sync operations in event loop is terribly slow.
The Unilever Acquisition of DollarDay shave clubbed changed the calculus of a lot of these businesses.
This is about evidence of people who themselves personally came from North Africa. Not people who's ancestors came from North Africa.

The evidence is found in the oxygen isotopes in their teeth from the water they drank in their early lives, so it's nothing to do with genetics or ancestry and is purely environmental.
Turning UIKit Inside Out
I like Tux, calm and hopeful.

If you push me to name a bad logo -> Perl 6 Butterfly (IMHO that is what nightmares are made of, sorry)
Yeah it is. Maybe there is something about the Tensilica cores, as the ESP8266 still hasn't got a real contender? Apparently they have a special toolchain that lets customers create customized cores in a more or less automated way, and they started as a dataplane/DSP company in the 90s. Quite weird.
And async/await are such a game changer its amazing.

I finally bit the bullet and tried it even though it's still not final syntax, it simplified most of my code while keeping the execution exactly the same.

It really is a night and day difference.
Last week I read the very good 'How to build an operating system from scratch' [1], and I'm glad I did. It meant that I could burrow into the files on this github project and understand exactly what was going on.

One day, when I finally have some free time, I am totally going to do this myself.

---

[1] https://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures...
> replacing the damn thing with normal controls

The "damn thing" is a "smart" as it controls the light over the network cable -- there aren't even "normal" cables there with which the "normal" light switch would be possible to be installed.
So many designs! Not as collectible as POGs, but nearly as varied. And probably hard to display in a bar - have to use reinforced wall mounts (they weigh 300 lbs).
Lonely at the Top: Elegant Entrepreneur
London Intern Required for Open Source Project
London intern required for Open Source project. Must have Open Source experience. If interested mail info AT StorageMadeEasy Dot Com.
Check this out from the Times of India
Apple acquires Indian-origin founders' health startup
http://toi.in/N11enY/a19lh
this is one of the worst rant I've ever read.
Nikola Tesla: Inventor's 1898 Patent Appears to Predict Drone Warfare
Though I'm surprised the research didn't simply use present-day Britain DNA records?
Rails 5 trims session storage by discarding some flash messages
I'm not familiar with the swiss health care system, but in Norway the government foots most of the bill for prescription drugs. The government is negotiating price with the manufacturer and as a big buyer they can get a fair price.
Just at the last job, I was hired at the same time as another 'senior' guy. It took me all of 2 hours in the job to realize he was completely incompetent.

I requested a meeting with the director, and explained to him that despite being very new in the job, I suspected the guy was indeed completely incompetent, didn't have any experience of what we were working on and that me being an expert, it was pretty easy for me to realize he didn't know anything about what he was talking about. I emailed him proof that he had at least lied about the work he had done on a task... But the guy still managed to survive the first 3 months, so was 'hired'...

I told the director that I couldn't work with him at all, as I thought he was just a hindrance -- I emailed several times detailed reports to show he was completely incompetent at programming, and was just lying about stuff he did do....

The guy still stayed 18 months in the company, and he eventually left by himself.

After he left, I inherited his 'work' and proved in about 20 minutes that he had completely faked a demo he had done of a feature he was supposed to work on... The code wasn't there at all, they had been conned.

Thing is, said guy probably picked up some extra lingua to put into his CV for the next 'job' he'll go into...
I'd be interested in running Rust on the ESP8266 - are you aware of any efforts of getting LLVM to work on the LX106?
Not safe to trust a manager to remember all you do. At annual review time I simply scan my email history, and make a list of project contributed to or consulted with. To remind said manager.

Its so easy for the last thing you did to color your manager's view of your performance.
The US government has been heavily involved in regulating medicine since 1906. The only reason why "medical costs angled steeply upward immediately after heavy regulation and government involvement in it began" is because "heavy regulation" is a weasel-word; you could pick almost any point after 1900 or so and claim that's when it started in order to justify that argument. Take a look at the list of milestones here for example: http://www.fda.gov/AboutFDA/WhatWeDo/History/Milestones/ucm1...
It's a different school of thought IMHO.

In Europe, prisons are more focused on rehabilitation, whereas US prisons are more focused on punishment.

This can also be seen in the different sentences. Whereas in Norway (maximum sentence 21 years) or Germany (mostly out of prison after 15 years), you can be sentenced for life or even death in the US.

It obviously works out more expensive and doesn't seem really fair, but bad people must be punished!!1
It's just green threading, which has been around for a long time.

You can run millions of threads on a single machine with modern Linux kernels if you either have lots of memory or simply minimize your stack sizes and usage. The kernel doesn't care much. You don't really need any special language features. The main reason fibers/green threads/goroutines/etc have become popular lately is that common language runtimes and standard libraries don't resize thread stacks on the fly and tend to like very deep call stacks, so minimising your memory usage can be rather hard.
Can't seem to get around this paywall at all
The Uncanny Symbiosis of Modern Religion and Sports
Stretchy supercapacitors power wearable electronics
Wisdom to live by. Obviously, I was severely undereducated with regards to bolts and screws.
Uriel didn't quite explain why PHP is any better than nodejs. I'd be even interested to hear!
Facebook Launches App for School Teens Without Privacy Settings
When it gives way, might there be a surge-wave that causes trouble when it hits land elsewhere?
Not all Americans, though...

Personally, I'm surprised and relieved that the federal government has recently decided to abandon private prison contracts.

It's a very positive and unexpected development, no doubt. But I'm disillusioned by the inevitability that public prisons will implement many of the same cost-savings with a priority over humane methods to decrease recidivism.

Most importantly, despite the federal sentencing guidelines, even many minor offenders will be incarcerated for sentences vastly exceeding your Nordic standards. Evidence shows that this is counterproductive, but it is supported by the voter, and won't likely end soon...
> Are key fobs are the canary in the coal mine of RF interference?

If key fobs use receivers similar to the popular and dirt cheap "433 MHz RF Modules (ideal for Arduino)..." sold on eBay for <1$/piece: these are very, very crude and not selective to a particular frequency at all.

So, yes, they will stop working long before anything else (built a little more sophisticated) starts to show problems. Typically they are designed to be used in close proximity to your car, even if some people got used to operate it at considerable distance.
You can pass JSON using Python, or pretty much any server side language.
Making non-instant ramen is pretty easy though, especially if you have to feed hundreds of people. It basically amounts to making an asian-spiced soup, throwing in veggies and some soup-meats (or good meat if you're feeling fancy), maybe an egg or two if you can get them on the cheap and add ramen.

It's still pretty cheap (depending on what you put in of course), and it's not that bad in terms of nutrients. But hey, it's more expensive than the "bricks 'n goo" they serve these days.