skysight-inc/HackerNews huggingface dataset:
It's more than just execution speed. It could something as simple making a function using assembly that swaps the virtual memory page table on a processor. That's not something you gonna find in a high level language.
Anecdotally, DMT made me black out and go crazy for 20 minutes. I would not make it easily available.
Same here. I tried Andrew Ng's course a few times ever since it launched a few years back but I could only get through half of it. Fast ai makes more sense to me and I've picked up a decent amount of concepts where I can now go back and feel confident enough to tackle theory.
Interesting! Thank you for writing this up.
So given the choice between a reporter claiming he said something and the person’s family and coworkers saying he didn’t, you’d go with the reporter?
Why don't you recommend fast.ai and kaggle?
Generally that kind of thing goes through a GOT/PLT for security and performance reasons.
It filtered out people with different interests. You do find way more diverse topics out there now in good quality. There are still plenty of forums and sources for technically interested people now - more then before. What also exists are forums and places for everybody else - majority of Internet.
What would the advantage be over manufacturing new ones? The risk of infection would make it a no go, I’d think. We wouldn’t use donor organs if we could make new ones. Also I thought they had to be customised to some extent.
> In the US, we've had decades of (largely GOP) messaging that the government can't do anything properly. A substantial portion of the population believes it.

What are your top 5 well-run federal government programs?

Slate likes these: https://slate.com/news-and-politics/2014/04/the-top-dozen-fe... Includes things like land grants, patents, and highways.

Mother Jones likes transfer programs (for efficientcy measured by % of funds transferred, rather than effectiveness of achieving stated goals): https://www.motherjones.com/kevin-drum/2012/01/chart-day-fed...
Ask HN: Biggest project you worked on this decade?
Having written self modifying x86 code. The most annoying thing is that instructions are not a fixed width. This means patching code requires you are able to parse every instruction, or a look up table where each instruction starts or just regenerate the entire code whole cloth. This also can cause problems if self modifying code has more than one thread since you suddenly may need to update 1 to 15 bytes atomically.

Generally, easiest to do the last or put NOPs or doing something like windows hot patch point for functions. Where hot patchable functions are preceded with a 5 bytes of nops, and the function always starts with MOV EDI, EDI which again is a pretty much a NOP, but takes two bytes.

This allows one to replace MOV EDI, EDI to a short jump to the start of those 5 bytes which is large enough to hold a long jump to any code. Windows went this route because originally multi byte NOPs where not part of the spec so if you used the one byte NOPs not only would each nop need to be execute slowing down function calls, but in multi-threaded code you would have to lock all threads to edit the code since it would be fetching on byte at time ect...
Just go for it. Learning the math just helps you understand it’s not magic, like learning to program helps you understand computers aren’t magic.

As someone that learned a good bit of the math and implemented NN code with backprop from scratch, I agree with the parent. To learn the math and get better results than cutting edge ML researchers would be as likely as winning the lottery.

As an exercise, the math is fun to learn and not terribly complicated for backprop type of stuff.
Pilot here - that’s wildly incorrect.

Smooth does not equal greater chance of bounce. Smooth is not riskier.

A smooth landing is entirely down to the rate of descent from the flare. Yes you have ground effect to contend with, but wind / gusts, your approach speed over the threshold, the flare, your crosswind technique play a far greater part in ensuring the plane sets down gently.

Some days you’ll land smooth as butter. Other days you’ll be porpoising down half the runway thinking “So this is what pilot induced oscillations are”, before going around.

Generally big jets have to get all their main gear down, and if there’s a >10kt crosswind usually they’ll always come in a crab and straighten out as the wheels touch - those will always feel rough.

No pilot purposefully does hard landings; the co-pilot / captain has a litany of jokes lined up for such a scenario.

Most runways are long enough to bleed off any excess energy, and those that aren’t - well, you go around; but most airlines / pilots have minimums to be established in a stable approach by (way before getting to the flare) - if that doesn’t happen they’re following their “missed approach” procedure and trying again.
Pure interpreters like CPython?
As always, the correct answer depends on what you have installed, what you’re familiar with, how much data you have, and whether you’re going to be doing it on a regular basis and want to automate it.
Useful evolutionary timeframes are days to months when the substrate reproduces in hours or minutes. Just a few generations can produce very significant adaptations via massive parallelism.
No, nothing to do with 1Password, I don't have it installed and I see the same thing. I'm also on mobile.
I built Metadigest (http://metadigest.uzpg.me). It's a weekly newsletter that sends the most popular tech content from around the web.

I am now working on Devolio (https://www.devol.io), a welcoming community for developers to share and discuss. I am really excited about letting users custom-design their profile and integrating with Github. I wrote about what I learned this year and how I got into programming at http://uzpg.me/2019/12/28/projects-and-learning-in-2019.html
> Wrong. For people who disabled Cortana, it kept re-enabling itself automatically after updates. I think that problem is mostly gone now, but it was definitely an issue all the way up till earlier this year.

I'm pretty sure this only applies if you disabled it through the UWP configurator applet. I vaguely remember this happening to me once. I disabled Cortana in group policy or the registry editor and it never happened again. And you're undermining your own argument by admitting that the problem doesn't actually exist anymore anyway...

> The article has one tiny line-item about fragmentation and it was about architecture. I agree that it's not an issue for most people, but OP is making a comment about a design problem. You are mis-representing the argument by talking past it.

The article's brief mention of fragmentation issues was wrong. It doesn't get a pass just because it was a brief mention. A huge list of issues looks impressive until someone breaks it down and points out how many of the issues aren't valid.

I have no idea what you mean by "architecture" or "design problem." The article claimed that disk fragmentation is an issue, and it's not.

> When Windows 10 first came out there were a TON of devices, including very popular printers and scanners, which had no support.

This was a big issue with Vista, but much less so with 10. Even at its absolute worst, Windows 10 was vastly better than Linux for driver support on the desktop. MacOS doesn't really count because of all their first-party hardware. If there's no superior alternative I don't see a valid point against Windows here.

> when the author wrote this, it was true. He should probably update the site.

Oh... I was assuming it was just published since there's no date in parens in the HN story title. I felt like the article was being disingenuous in repeatedly mentioning old issues that have since been fixed, but if the article is older then that changes a lot.
Leaving San Francisco
Also means that a dollar invested stocks today buys you 22% less stock than a year ago. Basically this is inflation nothing more.
Wouldn’t it be great if it was automatic and right the first time

Except that life doesn't work that way. Not everything in life is linear. Things have to be changed. Going back and making revisions is what humans do.
For enhanced security you can run as a "standard user" then switch users whenever you need to run something with admin privileges. And by switch users I mean literally go through the login screen to change desktop to an admin user.

Obviously this isn't ideal. I've been using this set up for awhile and mostly I can live with it but installing/updating programs is a pain. Especially if they bizarrely don't expect to be installed from a different account then the one that runs them (games can be particularly bad about this, even modern ones).

Of course there's a lot a malicious application can do even with standard user privileges (e.g. it has access to all your files and the internet). It's easier to get rid of though.
That seems incorrect to me. Trade deficit means US is giving money to other countries to buy their resources. Thus, it is capital outflow.

However, without this trade deficit, US dollar will start declining as the major reserve currency. There just won't be as many dollars around in the world for other countries to hold.

As you surmised, yes, that will be pretty bad for the US.
The last Windows version where updates worked more or less OK was XP.

With Vista they introduced WinSxS and while in theory it was a great idea, it incurred some extremely heavy tradeoffs in terms of updates.
Look at it from the other side.

How can you get the MAXIMUM tax revenue from your citizens?

The easiest way is to do it slowly, and if possible hide it.

#1 1913 implement an income tax

#2 1942 implement payroll withholding (easier to take what you never saw)

#3 make it convenient to just say "ok" to complicated taxes (free filing)

I'm surprised they didn't give you a "tax break" for letting the government do your taxes for you.
I know this is quite ignorant, but for the sake of devils advocate, what’s different between this and any form of wireless communication (Bluetooth for example)?

Obviously they are quite different, but they define “teleportation” as the copying of data from one point to another without a physical connection. Playing devils advocate, can’t you say that wireless data transferring?

What makes this “teleportation”? The quantum bits aren’t moved in regards to their physical location, it’s just that their “buddy” reveals their state and data transfer can be inferred from this.
Another tool that can do this and other operations on CSV files is CSVkit. I’ve had very good use for it.

https://csvkit.readthedocs.io/en/1.0.2/
If Pandas is slow, than you can use Spark. For such big files laptop is not an option anyway. SQLite can be fast if you index your data (but I've worked with files < 10G). Nowadays I am just uploading CSV to some cloud database and work with data there.
And how many miles you get from harvested heart? 5 years? Maybe 10? Average, I think, is 6 years.

I mean this could be calculated with relative easy whether it is worth harvesting or not, but I see no difference between harvesting natural organs vs harvesting artificial parts
Yawn. I'm still waiting for COBOL to retire.
This one seems to be a reasonable use of DMCA: this is a logo that shouldn't exist, it's never used, but it's on Wikipedia and people are finding it there and attempting to use it for actual purposes, which is confusing. So BP issues a narrow DMCA for only this incorrect version of the logo, leaving all others untouched.

https://foundation.wikimedia.org/wiki/Legal:DMCA_BP_logo
As long as a drug's success rate in making someone psychotic is low enough, it will not be able to be weaponized.

Per https://www.health.harvard.edu/blog/teens-who-smoke-pot-at-r... if you have marijuana while young and no other particular risk factors, your chances of becoming psychotic increase by 7/1000. The combination of you had to take it while young and this low rate make it a poor choice of a way to abuse dissident adults.
Yep, anything permitted and worth harvesting shall be harvested
A few years ago, a friend of mine here in Seattle went to visit his friend in Ohio, who wanted him to bring some legal pot. He took a train to Chicago, then rented a car to drive the rest of the way. He got stopped in Indiana, consented to a search where the officer found the pot in the car. My friend was lucky, he only got a warning with the pot seized, he was carrying a bit more than what would be considered a personal stash.

The cop told him that a quarter of the rental cars he stopped on the highway were carrying some form of contraband. Apparently, out of state rental cars on the highway attract police attention.
If you're against mj legalization at this point you're either ignorant or complicit.
My favourite part was Oceanair astutely switching up who's handling the radios. Errrr... maybe they preferred English so Lufthansa would know what's going on until that disabled ATC comms...

Any idea why Lufthansa wasn't able to find MANGA?
I'm planning on doing this in webgl. Then she would be able to fully navigate her virtual kitchen. =)
I'm not so sure about that. I would expect that the actual hardware represents only a small portion of the total cost of getting a knee replacement. I wouldn't be surprised if the cost savings of going with used hardware doesn't really justify the shorter expected lifespan of the prosthesis.

Also, the wide variation in the price of a knee replacement, even within a single market, suggests that using used hardware is probably not the low-hanging fruit when it comes to reducing the cost. e.g., https://www.bcbs.com/news/press-releases/blue-cross-blue-shi...
The interpreters themselves go through assembly language. Assembly is relevant because the whole stack is still actively built on it.
Bear in mind Elements of Statistical Learning is a grad-level text. I would never recommend that to a beginner to the field over an Introduction to Statistical Inference, by the same authors.

Geron Aurelien's Oreilly book is great - Hands-On Machine Learning with Scikit-Learn and TensorFlow. Get the second edition which covers Tensorflow 2.
I think a lot of the time, it is a side effect of lifestyle decisions (and/or misuse) that the drug in question can induce, not necessarily the drug itself. For example, amphetamine is prescribed to millions of Americans for ADHD (see, Adderall/Vynanse). However, if one were to for example, have poor sleep hygenine as a result of miuse, the chance of psychosis is high from not getting enough sleep.

There are definitely neurotoxic substances that can induce psychosis or other problems (such as parkinsonianism) but these tend not to be very usable either clinically or recreationally. I think overall, the chance of cardiotoxic or repository depression is more of a common problem with most common recreatioal drugs at common doses.
Ask HN: What were the best books you read this year? (2019)
Last year toward the end of 2018 there was an awesome thread asking this same question. I personally found it very valuable, but have not seen one so far for 2019. I thought I'd get it started!

What were the best books you read this year? Preference to books released this year, but if an older book changed you for the better by all means please include it!
A lot of good advice here.

One thing I would add is replicate a couple of ML papers. It can help develop a lot of intuition about the specific area.
Yup. The example I implemented in college is stack pointer manipulation to implement multithreading (think pthread).

Some things can only be done in assembly.
This is at number two on the front page, I'm wondering how much this is driven by a specific interest in this story, or whether other people are having the same, probably childish emotional reaction that I am, an almost dumbfounded disbelief that a major institution is not charging headlong towards death cult dystopia. A public institution has acted seemingly for public good. Regardless of whether its driven as much by shame as by duty and altruism, - I'm deeply confused about how to think about this.

Is this a trick? Sleight of hand to distract, to funnel the non wealthy towards a presentation of the tax code that obscures the existence of incantations to the elder gods known only to operating thetan level VIII accountants?

Is this a bellwether of positive change, or a an eddy current in the river Styx?

Is this just normal institutional behavior?
Is Ragnarök 2020 just a delusional end-of-days narrative I've bought into?
I can't believe we've made it this far - Y2k didn't kick off, I was sure at least Agile would be dead by now, am I 'dude you\'re overthinking this'?

Am I in a distributed doomsday cult?

oh, also - happy new year.
I’ve never used pure K, but Q is a real beauty. Maybe one of the best language I’ve used (though I haven’t used it in prod, so take what I say with a grain of salt).

But to answe your question, K/Q is mostly used at banks and some HFT operations.
Isn't that like being arrested and hoping the court will streamline your judgement, sentencing and incarceration.

In other words: the government and the IRS should have checks and balances to income taxation, not (literal) carte blanche.
I'm not against laws. I'm against the mentality of "if it's not covered by the law then it's A OK."
You're right about ESL, that's why I started the list with some more fundamental material. Also, +1 for Aurelien's book, it's really good; I didn't know he had a revised edition for TensorFlow 2.
Chemists, Chinese Factories, and ‘Dark Web’ Dealers Spread Fentanyl to US
So we eat tons of the stuff every year. Now what? Try searching for "what happens to ingested microplastic". To kill the suspense, most everyone looking to scare you with huge numbers also seem to avoid answering that more interesting question. But from the small amount of information that I could gather, I suspect that the answer is too big of a let down (figuratively and literally) to make interesting news. Happy trails to all looking for answers.
Ask HN: Do you see your team or company becoming remote-first in the new decade?
I haven't used xsv, but one of the nice feature appears to be that it will work on arbitrarily large datasets. From the README[0]:

> These commands are instantaneous because they run in time and memory proportional to the size of the slice (which means they will scale to arbitrarily large CSV data).

The example given with LINQ reads the whole files into memory:

string[] names = System.IO.File.ReadAllLines(@"../../../names.csv");
string[] scores = System.IO.File.ReadAllLines(@"../../../scores.csv");

As a fellow LINQ (probably with LINQPad in this case for a quick and dirty script) user, I'd love to know LINQ can be used to read the files in "slices" like xsv. I'm sure this could be accomblished with enough code, but is there quick / easy way to do it?

[0]: https://github.com/BurntSushi/xsv#a-whirlwind-tour
Same! I was wondering A) how in the world they managed to get that closr and B) how they managed to measure it.
Good chat platform. We can call it differently but essence is the same: async communication.

Pretty much everything email has modern chat can have too.
I'm rarely keen on posting negatives on articles that clearly took a lot of time to make, but I think this requires a bit of correction.

I think this article is very, very simplistic. All of it relates to a 8 bits CPU that is 40+ years old.

I switched to HLL as soon as I could get my hand on a compiler, namely, UCSD Pascal at the time! Then the Pascal, then to C and then myriads of other languages. I covered 6502, Z80, 68k (all of them, to 68040), PowerPC (all of them from 601 prototypes to G5s), ARMs (more than I can count) and x86s (same).

True to be told, the assembly language I started with /helped a LOT/ with be becoming an efficient developer; a developer who understand what 'code' is being generated when he writes an expression, a statement, a loop, and one who understands what the runtime implication are for most of the 'sugar coating' HLL gives.

However, starting (a bit) with the 68k, then even more so with the PowerPC, it became pretty much impossible to write /from scratch/ an assembly equivalent that was QUICKER than the compiler generated code. That was 20+ years ago. DRAM latency happened, pipelining happened and SIMD happened.

Today, hand writing assembly is pretty much stupid on modern CPUs. Given the register files, timings, shadow registers, bus latencies etc etc the compiler will ALWAYS be better because there is so much criteria to think about when generating code...

I'm not saying that having the knowledge is not useful; the best use of assembly is to write some code il HLL, one that is supposed to be super-mega-critical-quick, then disassemble it and see how it looks. More often then not, you can't make it better than it is in situ -- most of the time you will gain is to prepare your data better, align it better etc etc -- basically, 'hinting' the compiler to do a better job. You can do serious code butchery like that, without a hint of assembler [0].

But really, I haven't written any assembly for /performance reasons/ in 15 years, and that was Altivec on PowerPC.

For 8 bits, it's all smooth as butter, but the article also doesn't take into account the massive progress in compilers; I'm the author of SimAVR [1] and I've seen my load of generated code for that CPU, and the GCC toolchain is /very hard to beat/ by hand these days.

[0]: critical audio loop on one of my old PCI card driver, converting float<->int, applying gain etc while using the register file to the max, and making most use of the pipelining of the G4 (at the time) https://gist.github.com/buserror/0a3a69cca927b8da6c9c7ee1605... -- note, the inner loop was generated by a script that was doing the cycle calculations (!)

[1]: https://github.com/buserror/simavr
I read the article linked in the SE link you posted and there is nothing about "coworkers". It's only Ehrlichman's children who said it was uncharacteristic of their father.
All recent versions of iOS for both points.

An extremist version of the first point appears in Qubes, but Qubes doesn't really count as anything other than a research distribution.

TL;DRs aren't really helpful for this, but all three are pretty well documented.
Underwater Scans Show Canada May Have Sunk Japanese Sub 75 Years Ago
I'm impressed by the responses generated in this conversation. My expectation was to get several links and start browsing each one of them. However, many have agreed that the best way is to start with a specific example and start creating a model. Many times I have tried to answer that same question, "which model to apply"? How do I know I'm not re-inventing the wheel?
Ubuntu is a controversial example. Probably better usability than most linux distros, but it collects a lot of data (lots of telemetry, amazon app, etc)
Interesting. Ok, so the stuff related above comes from a pilot of a pretty well known airline, I know the difference between a cross wind landing and a regular one, and there is a huge difference between a 'hard' landing as defined by the book and what a passenger experiences.

I meant the second version. Also, the size of the aircraft seems to have a major effect on the kind of landing you get.

What make & type do you fly?
>would be preposterously better than any heat engine you can fit in an Alaska cabin.

Or a cabin on Mars. Solar and nuclear would be used on Mars. For nuclear - with 20% efficiency i think it would allow to use simple RTG (Matt Damon style) instead of full blown nuclear reactor with working fluids, pumps, turbines, etc.
Also: https://esolangs.org/wiki/Iota
I'm not sure what your point is. Some people will always do less than ideal things. You were 18 working there, and you still allowed that to happen. We don't stop all adults from working because a few don't pay attention to labor conditions, we make penalties harsher for employers that exploit laborers.