skysight-inc/HackerNews huggingface dataset:
It's not free. It's on the honor system. If it were free, they wouldn't ask for payment via text.

[Throttled:] I have actually seen someone walk into a Walgreens, fill up a backpack, and walk right back out without paying. I looked up at a cashier, and saw that she had been watching the whole thing, too. I looked further up, and saw that it was likely all captured on the security cameras.

Probably the only person who actually cared was an accounts manager 950 miles north of the store, in Deerfield, who wouldn't even notice until the next week.

So far, I haven't had any dramatic Spider-Man moments, when I would discover that it was actually the shoplifter who killed my uncle, right after I decided to let him go. But I still wonder if there was even an option that qualified as doing the right thing. If someone is so poor that they steal bread in order to eat, is it right to stop them from doing it? Perhaps they are eating 3-5 slices of ham per day from their employer's deli without paying, for 8 years running. Is it right to charge them with felony theft?
Why isn’t it a good introduction to programming? It has a really consistent syntax, and polymorphism via multiple dispatch is a lot simpler to learn than polymorphism via classes imo.
unicorns are real, they live in the sea
> who said this.

Who said what?
Nvidia Turing Architecture In-Depth
Yes, you live there, so the violation happened in your country.

If you live in an "insignificant" country it is possible Sony as no presence and so your win won't get you anything. However in the US or most of Europe Sony has enough presence that some part of them will have to pay.
These are not phones. A smart phone is not a phone. Perhaps we should drop the phone tag? It's like how podcasts aren't limited to iPods. It's a term that no longer means what it says.
Keep in mind that teaching is its own skill. Especially in universities, that skill can get awfully specific awfully fast.

In particular, for a TT professor at an R1, odds are extremely good that they've NEVER taught anything below calculus and may have never even been the instructor of record even for calculus courses! They were hired to do research and teach graduate/upper-level undergraduate courses.

Teachers that know how to explain and assess everything in a graduate analysis course with perfect clarity might not know how to handle the situation where a student doesn't know what it means to "show you work" in the context of calculating a derivative or solving a linear equation. In fact, they might not have even thought about learning/teaching that material themselves since early high school or maybe even middle school. This doesn't make them a bad teacher. It just makes them a bad calc I/college algebra teacher. Which is okay -- teaching those courses is not their job and is not what they were hired to do.

So this is somehow a bit like complaining that a web programmer isn't particularly adept at kernel hacking. That doesn't make them a bad programmer, it just means they focus is elsewhere.

Again, most universities do hire experts in teaching the lower-level courses. They're just not typically tenure-track professors.
Botflow and Jupyter:Analysis fresh real time data and visual crawler
It isn't a good deed when the deed is something that every other developed country expects from society as the most basic right.
You really need to watch the first season of The Good Place. :-)
Couple of thoughts about gas and electricity and the similarities and differences:

- an overpressure situation is specifically trying to blow through whatever "off" means (e.g. a ball valve or whatever the valves are). If the pressure rises too much, that valve is going to fail. That's true of circuit breakers too, but the "overvoltage fault voltage" of a circuit breaker is likely going to be way way way higher than anything you could reasonably expect from the grid, although lightning could probably flash over it.

- Your breaker box will turn off during certain forms of fault, but not all. A line overvoltage probably wouldn't trip a breaker until the line voltage gets high enough to cause a fault in some piece of equipment connected downstream of the breaker (e.g. it blows up a switching power supply in your house and that fault current trips the breaker)

- In the gas overpressure case, if all of the houses had gas meters that automatically turned off... the pressure in the community gas line would rise higher and higher. This is going to sound a bit cold, but it's likely better to have some houses blow up due to overpressure than to have a gas main explode after all of the houses have already shut off the gas.

Bad situation all around :(. While acknowledging that I'm not a Mech E, my guess would be that the best solution would be to have periodically-placed blow-off valves on the gas main that could flare the gas if there were an overpressure situation. You don't really want to just release it, because then you've got a cloud of gas floating around that could get ignited by... whatever random ignition source.
These things often get cited over and over again, that does not make them true.

I assume vaccinations could make a reliable sanity check for pet ownership, but I am having trouble getting annual numbers.
Or ya know put the gas meters outside so they don't vent into a confined space when the regulator seal fails
Is that a rhetorical question, or did you really not read the GP comment?
That is an interesting story! For some reason, however, I can't help but think that SpaceX has better odds...
I think anyone who hasn't learned to do X in Python already really should be better off learning it in Python 3 rather than a version of the language which is in the process of deprecation.
There is no good solution to that problem. Loser pays is even worse as you have to risk the loss if you incorrectly lose in court.
Sure it provides search results that seem fine - but why use this over duckduckgo?

I also really don't like the lack of data density. The news doesn't make any sense in most cases.
I learned about this in bio back in the 2000s. As I studied how genomes actually worked it quickly became apparent that genetic systems are absolutely nothing like human engineered systems. Every part simultaneously interacts with every other part in real time and determines everything in parallel.

Take the genome for example. I really think the notion of gene sequences hobbles our understanding. The genome is not a sequence. It can be sequenced, but that's not what it actually is. A genome is a molecule. Every part of the surface of that molecule is constantly interacting with other molecules. In programming terminology it's like a program where every instruction executes in parallel, always, and in real time. That means that trying to read the genome sequentially like a program or a book is missing the point entirely. We're holding it wrong.

I truly think we are a long way from being able to really "grok" these systems. It took us thousands of years to develop the math, logic, and science to understand complex systems with discrete components and discrete logic. In many ways the digital computer is the apex product of our understanding of discrete systems and discrete logic.

Now we get to figure out concurrent systems and concurrent n^n combinatorial "logic." It might take a lot less than thousands of years because there are more of us and we have a lot more knowledge to work with, but it's not going to be overnight.
I could also be that a week before the hack started. I know that my line of thinking is very "Mr Robot". Let's hope it's not a hack and it's just human error.
I'm doubtful that polygenic scores work, in the sense that we all acknowledge that complex traits like intelligence are interactions between genetics and environment.

You can always decompose a function of two variables into three parts (with some hand-waving for notation):

f(a, b) = f(a) + f(b) + interaction term

where E(interaction term) = 0 in some statistical sense.

If the interaction term is zero, then great, your function is trivially decomposable. For our problem, take a = genetics and b = environment, that means you can precisely talk about someone's 'genetic score for intelligence' and someone's 'environmental score for intelligence', and never have to consider them together.

But I strongly suspect that the interaction between genes and environment is very very high; the latest effort to map genes to intelligence only accounts for 10% of variance not because the environment determines the other 90%, but probably the interaction term, which can be complicated and highly nonlinear.

Another thing: variance of your inputs can only be considered in a statistical sense so the relative importance of genes vs. environment won't be stable. If somehow the world became completely uniform (every single child in the world received the exact same education and upbringing), you'd expect genetic variation to account for everything just by definition.
I understand why everyone wants git cheatsheets (there are a lot of commands), but I have yet to see a cheatsheet/etc that does little more than become a crutch.

For better or for worse, git really demands that you learn the concepts and fundamentals. It has a steep learning curve, but it's one that easily pays dividends.

Do I wish it were easier to learn? Of course.

Can you substitute actually learning how git and its workflows are used with cheatsheets and quick primers? Not remotely.

That being said, I think this one is a step in the right direction by being interactive. Something like a "git simulator" could be incredibly powerful in teaching people git.
terrorism hacked gate system?
Another good google term is OSINT open source intelligence.

One source says they've got THE number one national secret radar lab, what could be hurt by making that public? Another source admits the place is brimming over with test pilots. Another source says they're doing a massive heavy construction project. Another source says this is a period of high optempo for flying despite heavy construction limiting runway operations. A great place to observe the AFB, such as a semi-abandoned observatory, is under temporary lockdown.

Note they're only locking down a great place to park a van full of radio observing gear, not locking down every little hiking trail where you can optically observe the base. Almost as if the AF base were a national secret radar lab; oh wait, it is, per their own public website and historical events.

Individually nothing above is classified or "intel worthy" but in combination if it isn't a week long systems integration test for some kind of anti-aircraft radar experiment, they've gone to great lengths to make it appear in public to be so. And that's the whole OSINT thing in a nutshell.

Comically, if they're not doing this kind of activity, you have to ask why not, since that kind of activity is why that publicly known national radar lab exists in the first place. I mean, if they're not doing what they're funded to do, that in itself is some kind of conspiracy theory.

I suppose the whole thing could be a psyop to determine conspiracy theory susceptibility; have a known, public, radar lab, do radar lab things, and see who freaks out is a valid psyop experiment. Personally I think the HAARP project of the 90s was more of a psyop troll along the lines of the above, than an actual scientific study OR an actual conspiracy theory. Some scientific research did happen, but mostly I think they just wanted to F with Art Bell listeners and see how they respond.

Of course, OSINT can be a diversion up to and including faking the whole thing by releasing a small number of cheap and easy irrelevant press releases and seeing which vans full of electronics equipment driven by foreign nationals sit in parking lots in sight of the base; its entirely possible literally nothing is going on inside the base, its all a counter-intel operation. A honeypot operation. Maybe some foreigner took the bait and drove up to the observatory surrounded by FBI agents with a van full of monitoring equipment, that would be an epic troll of a foreign intel agency, usually they keep that kind of thing quiet and we'll never hear. Possibly locking the place down and closing the post office and getting news coverage including here is a component of the counter-intel honeypot operation, LOL.

OSINT is more of a method of analyzing seemingly unrelated data, than proving any hypothesis. But the OSINT synthesis of the situation boils down to "a known military radar lab appears to be extremely busy doing radar stuff this week".
A weird reference imo. Perhaps useful to build as a learning experience but I wouldn't expect who needs if/else included in a cheat sheet to be ready to learn to languages.
A domestic insurgency will always be more effective than an outside group.
Terrorism? Hacked gate system Stuxnet virus?
the problem here seems to have nothing to do with REST
This isn't even close to as bad as some of the shit they've pulled.
I run with my phone and I hate the arm bands. With phones getting bigger, it is harder to securely put the phone in my pocket.
And the EU.
When I read the headline I was expecting the X windowing system. When I clicked the article and saw “junior programmer” I thought this is about to be impressive.

Cool site :P
Yes.

It is desirable to produce _according to specs_ as efficiently as possible.

It isn't desirable to lower specs in order to improve efficiency (for some definition of 'efficiency').
When I saw this it looked more like a safety device than a way of imprisoning workers, and it seemed like a lot of media sensationalism. Am I missing something?

Not saying Amazon doesn't have bad working conditions in its warehouses, but they seem to be of the more mundane variety: overly long hours, lack of breaks, crappy pay, fire-fast, etc.
How to write using X in both languages:

Python: https://github.com/python-xlib/python-xlib

Node.js: https://github.com/sidorares/node-x11
To Solve Flying Cars' Biggest Problem, Tie Them to Power Lines
I genuinely love the design of the page. It has personality without compromising readability. This is something a lot of people struggle to get right.
> emptive copyright filter for content-sharing sites, as well as the idea that news publishers should have the right to sue others for quoting news items online

I don't understand the justification for this. If you quote them to either point out the news or the errors they can turn on you if they want to and sue you.

> “removal order”, which will oblige hosting service providers to remove content within one hour of being ordered to do so.

Something tells me there is a lobbyist out there for a company which sell automated removal of "infringing" content.

> EU now wants to expand that to defining the limits of political speech too.

That seems scary, I hope EFF is exaggerating. This to me seems like very a authoritarian move. I wouldn't have expected it from EU at least.
Hey. I'm the reporter from this story, a friend directed me to this comment thread. This data was sent to me by research firm Mintel.
Very cool! Reminds me of http://youmightnotneedjquery.com/

I particularly enjoyed seeing that you used snake case in Python and camel case in JavaScript. Great attention to detail.
You know, the whaling industry looks like it could use a disruption - drones with harpoons, coming to you YC Summer 2020!
http://hyperpolyglot.org/ is a great website with a similar idea.
You hear these stories all over the country. It's a sickness but I'm not pinning it on Massachusetts specifically.
Britain is already in neither; it's never been in Schengen, and left the EFTA when joining the EEC as the EU was then. Although the other 3 countries in EFTA are part of the EEA (edit: which is how they're part of the single market), Switzerland isn't. Instead, they participate in the single market via a bunch of bilateral treaties:

https://en.wikipedia.org/wiki/Switzerland%E2%80%93European_U...
> Unlearning things requires you to review entire branches of your knowledge tree to eradicate every trace of the now wrong fact

You cannot be serious. So if someone tells you that you’ve got a fact wrong, you have to review entire branches of your knowledge tree to eradicate every trace of the now wrong fact? So if you get the directions to a party wrong it’s a project to get rid of them and learn the correct one?
If you're a PC gamer (and there are millions of them) you are almost certainly playing on Windows, because you kind of have to.

And most business that are not big-tech (as in, most of the world's businesses) are still utterly invested in Windows and Microsoft.

Enterprise has always been Microsoft's biggest cash cow.
but but no need to write both, just one and compile the other (http://piter.io/projects/js2py, http://pyjs.org/, etc..)
I haven't read the book, but from watching the video it sounds like the main idea of it is to practice mindfulness.
This isn't a very helpful answer for students at that level. It's necessary to say these words at some point, but without lots of examples students will have no idea what "good argument", "follows trivially from the last", or "counts as trivial" mean.

The only method I've seen work for a large set of students is to show lots of examples of what "good" and "not good" versions of "show your work" look like. Preferably on problems that look similar to the homework problems. And emphasize this during lectures.

E.g. after doing a derivation on the board: "by the way, this is what I expect to see when I say 'show your work' on a <insert problem type> problem."
As someone who is often switching languages, I find these sorts of cheatsheets useful.

I know all the syntax in them but I'll be damned if I can ever remember which language uses which until I've settled back in to things.
Consider renaming to "How to write $X in both Python 3 and JavaScript" to avoid the confusion with X11 that others have pointed out? Nice article!
Apple Has Started Paying Hackers for iPhone Exploits
Before you take the headline too literally, much of the story is accusations from his friends that Wikileaks is exaggerating his relationship with them in order to create controversy, and that Wikileaks is only one of many organizations he advised.

The Dutchman’s friends have accused Wikileaksof using his disappearance for its own benefit, and are upset that some media reports have unquestioningly repeated the organisation’s claim was an Assange “associate”. ...

“I hate how overblown Arjen’s Wikileaks connection is becoming,” said one, Ancilla van der Leest. “He advised many parties and journalistic organisations on infosecurity. In this light he was also a ‘Reuters associate’.”

and

Carlo, who is also the director of Big Brother Watch, tweeted: “WikiLeaks might want to make this sound like it’s about them, but it is not ... It makes me, and others, feel sick to my stomach to see Arjen being missing/out of contact reported like a WikiLeaks murder mystery.”
Nice list.

Perhabs just personal preference but I'd use

for(let element of someList){
console.log(element);
}

instead of

someList.forEach(element => {
console.log(element)
})

for...of is easier to read and recognize as a loop construct at first glance, and as far as I recall it's also faster nowadays since the body of the loop is inline, whereas forEach requires the runtime to deal with a function object.
It's kind of a shame that this is the most up voted comment where this guy is just sharing something cool he made, he's not saying it's the next big thing. It may not be worth spending the time to optimize for these other platforms unless he can get some initial traction.

I would be curious to know where the performance lies and what could be done to improve. I saw on another commend he mentioned how using a css blur was a big performance gain over canvas shadowBlur
> if you don't think these are going to be challenging problems.

are they show stoppers? c'mon assessing risk is old as the hills. There's an entire profession that is devoted to assessing and pricing in risk. With regard to liability, the courts will decide. It'll be messy but it'll get sorted out in time.

>Trying to sell a generation on driverless cars on some unproven projection that "they will be X times safer!" will fall on deaf ears to drivers who have made it a lifetime of safe driving.

people will get over their fear in time. People feared cars when first introduced too.

from https://timeline.com/forget-self-driving-car-anxiety-in-the-...:

"With all the anxiety around driverless cars lately, it’s worth remembering there was a time people worried about cars exactly because they had human drivers. In fact, it was the removal of the horses—the horseless carriage—that gave some people fits.

In the 1890s, the prospect of a person driving without the aid of a second intelligence was a real concern. A horse, or team of horses, acted as a crude form of cruise control and collision aversion.

In 1896 Alfred Sennett warned, “We should not overlook the fact that the driving of a horseless carriage calls for a larger amount of attention for he has not the advantage of the intelligence of the horse in shaping his path, and it is consequently incumbent upon him to be ever watchful of the course his vehicle is taking.”
This may be addressed(corporate firewall blocking me) but how much is that driven by Google Image Spam though? I honestly can't think of the last time someone has even mentioned Pinterest to me, and most of my friends are female.
It's not going to be the sort of thing we "grok", at least in the traditional sense. Human minds can fully understand relatively simple discrete logical steps in a system but massively parallel interactions like the genome are fundamentally beyond our ability to "grok".

In order to make sense of and manipulate things like genetics we will need to develop machines that can do those things for us. While that's unsatisfying because we generally like the feeling of fully understanding things, such machines will still yield progress and results, which is all we can really hope for here.
Show HN: Rwtxt – a space for reading and writing text
Excellent educational tool - will be passing this around to colleagues who need it. Thanks!
You're missing the larger point. I'll try one last time.

Labor "at will" doesn't mean you get to abuse the conditions "at will". If you can, and do have all the wherewithal in the world to make your workers lives less inhumane, why on earth wouldn't you do it? You jolly well must do it!

On your assumptions on where I shop, yes, I admit that occasionally (maybe once in 3 months) I do shop on Amazon (for the things that I can't get locally; and these are not any 'big expenses'). But I boycott them to a large extent. And I "vote with my wallet" (and end up spending more than I "should") to support the local and stay sustainable to the most meaningful extent that I can, knowing my circumstances and dependents. I am reasonably proud of how I make my spending choices.
This only an issue if you want to have many hardcoded strings in a switch. If you want that, there is a probably a better way to organize the code.