skysight-inc/HackerNews huggingface dataset:
This is written by someone who has never used jquery or forgot it.
The beauty of jquery was not being able to use CSS selectors to find elements, but in being able to work with multiple selected elements as if it was a single one.

Ok, you will say, but you can always do

[... document.querySelectorAll('.foo .bar')].map(it => it.style.backgroundColor = 'corn');

instead of $('.foo .bar').css('backgroundColor', 'corn');

and it is clearly better because it does not use jQuery.

Don't get me wrong, jQuery has many issues that make it a very poor choice for big modern web applications, but please don't tell me that it can be replaced by querySelectorAll.
"Responsible disclosure" is a buzzword made up by companies to bully security researchers into keeping quiet about vulnerabilities for months. If the OP is unable to contact the maintainer because they are missing it would be irresponsible to keep quiet about the bug.
Defection is easy to define. You once worked for the CIA, now you are working for the KGB. IP "theft" is more nebulous. There is lots of debate as to what is protected intellectual property, what is open source, what is common knowledge, and even which IP law governs the situation. Does every leaked copy of a Hollywood movie qualify as a theft? Some of those movies are worth hundreds of millions and their leak can cost millions in reduced ticket sales. That's a form of both copyright and trade secret theft. Or are we only talking about patented material, which is public? It's very hard to determine what should and shouldn't be on that list.
Turbo Tax only works with Windows 10 and 8.1 with the 2019 version. Shutting out Windows 7 and under filers who can use the IRS free file system.
>People have been saying this for a while now and all evidence points to it being radically wrong so far.

People have also been saying that Germany needs to 'catch up' and to follow the trend of American or British startups for 50 years and they've been wrong every time.

The German carmakers make as many cars per day as Tesla makes in a year. Over the next two decades, the majority of cars on global roads will still be non-electric.

What the German carmakers need to do is what they have always done. Slowly adopt modern technology while avoiding to buy into the hysteria of the week.
This is definitely a fun little project to hack on! I created a pull request to keep the current state in the URL. Here's something I made with it:
#IjIqKioyIgoxKioqMQoKMRwZGzEKCjEYARgxCgoxGhkdMQoKMSwsLDEKIzAsLCwwIw==
For some reason (possibly security limitations) it doesn't seem to be able to
monitor connections over a WireGuard connection's tunX interface.
> how long can they be papered over?

until the administration changes.

Or, until china becomes so potent a force that their purchasing power cannot be checked and no amount of papering over in the US works - thus leading to WW3
> repo injection

i have not understood what the repo market is - anyone care to give a laymen's explanation?
I was about to go on a bit of a rant about my general tone of condescension but I caught myself. I'll tell a joke instead.

"You know how stupid the average person is, yeah? Well, by definition, half of them are dumber than that."

> I'm certain that practically no one who uses Facebook is actually unaware that the rest of the web exists.

I wish there was a way to make a bet on that because I'd like to take your money.

> You know the Eloi were the villains, right?

Are you sure? The Eloi were the innocent beautiful idiot surface dwellers, the Morlocks were the grotesque cannibal machine-tenders, eh? My metaphor is that tech-elites (myself somewhat included) are the Morlocks and the users are Eloi.
Do you have a source for the claim that low wages are rising more quickly than that of the managers? That would be good news if true.

I’ve heard wages are very low. 44% of Americans earn $18,000/yr.
Use of IoT in the Education Sector and Why It’s a Good Idea?
Irrelevant of diesel, if you only need a city car, say alike the Citroen C1, you can get a gas car with 600km range for about 12,000EUR. That 1.5x better range for 20% of the price and 25% smaller on top of that. For the same package, the Citroen C0 has about 20% of the range for twice the price.
It's not UBI, it's a rolling stimulus package :)

That money is going to spent. For startups, 100 bucks, 300 bucks, 800 bucks. Some of that is going to go to subscriptions. That's for the digital service economy.

And it's good for early startups - because if someone has spare change, they're going to be willing to take a chance on an up and coming app.
Which 'prominent people'? It sounds like an incredibly silly argument, one I had never heard of before.
The former is how NSAttributedString works in the Apple ecosystem. It’s a plain string with attributes attached to certain character ranges.

https://developer.apple.com/documentation/foundation/nsattri...
It doesn't sound like a huge fiasco tbh. Those cars were scheduled to be delivered in Summer and the software patches are supposed to be delivered over air after they've patched those 20.000 cars. No customer will get their car later because of this.

It's nothing compared to the fiasco they "suffered" through the Diesel manipulations

PS. VW is owned by Porsche not the other way around.
> IRC has mechanisms that make dealing with spam easy.

> Usenet on the other hand required cooperation from all providers. Actually I blame Google for killing Usenet. They used Microsoft's EEE (Embrace, Extend, Extinguish). They acquired DejaNews, renamed it to Google Groups, provided a gateway that allowed everyone to use Usenet. This introduced a lot of spam to the network, but whenever someone reported it, they did nothing. Eventually they introduced their internal groups, and shifted search in a way that it got hard to use Google Groups for searching Usenet posts.

> They did similar thing with XMPP (Jabber). When they introduced Google Talk, their service was interconnected with the other XMPP servers. Once it got popular they discontinued it and introduced Hangouts (then later iterations) Hangouts was still connected people could see each other being present people on Hangouts could message anyone, but people on other XMPP couldn't message people on Hangouts. It didn't even show an error. This made many users switch to Hangouts to continue taking with their friends.

The Jabber coopting by Google always felt like something straight out of the old "Embrace, extend, extinguish" playbook of yore.
WebAssembly is not assembly in the ways that the article talks about. Like, writing it directly doesn’t give you any special control or guarantees over timing.
Another approach for visualizing lambda calculus is presented in https://ycombinator.chibicode.com/functional-programming-emo... .

It looks quite different and I wonder which one is better? Or are they the same really?
My brain I guess works in a different way. I could never truly understand/appreciate value of the Redux for state management (well except that it is better then nothing).

For this type of things I've always used one or the other implementation of State Machine pattern. Seems way more clear to me.

It is not just about JavaScript. State management is a part of many applications and State Machine is a nice paradigm to work with. At least for my taste.
> Haven't you noticed that the word "recycle" is used here in the exactly opposite way than it should be?

You've said this a few times, but I don't understand what you're trying to say.

In your dictionary definition I guess you're referring to item 3, but that's already given an alternative which is "re-use".

When talking about environmental waste the word "recycle" does not include "reuse", which is why the slogan is "reduce, reuse, recycle". When talking about waste the word reuse is distinct from recycle. https://www.buschsystems.com/resource-center/knowledgeBase/g...
Wasm is different than assembly, so I don't think so.
M$ was a staple on Slashdot in the late 90s, along with the Bill as Borg icon.
TXR Lisp, for one.
I have not had a problem.
If you like books and you want to deeply understand ML techniques I'd suggest jumping straight into "Introduction to Statistical Learning" and only learning calculus/stats/matrix methods (linear algebra) as you need them (you really don't need much from them in practice).

But it's ok to start using libraries and fitting models without understanding how they work deeply, and coming back to these books later (just make sure you come back; there's lots of useful ideas in them!) In which case I'd recommend some of the resources the parent doesn't recommend
X86 is particularly friendly to self modifying code, going so far as to require fewer fences and hints when code is modified. It’s generally easier to implement self- and cross-modifying code on x86 than other ISAs, like say arm.

(I manage a team thag writes self modifying code for a living.)
Not Marshallese but, I spent 15 years on Kwaj testing ICBMs and tracking stuff in space.
We're a decade in on BEVs and the whole "replace your battery pack" worry has utterly failed to materialize. Most BEVs will simply never need a replacement.
so does every non-bankrupt decent sized "Corporation" with accountants who can do kinder garden level additions and subtractions.
Aim of Academic institutions conducting research is for the benefit of humanity. Their principles are to hire the highly qualified people irrespective of their nationality or religion. It’s a merit based hiring.

There is no secret conspiracy here to bring down wages of researchers. Some people just do it for the likes.
If a public company can increase prices to increase its profits, it means it is not setting prices correctly!

Prices should be set at the profit-maximizing price. Taxes have nothing to do with it.

Employee compensation is decided by the market.
Well yeah? A 20% reduction is absolutely massive! I don't think anybody expected replacing ICEs to solve the climate catastrophe single handedly.
It’s regarded as pseudoscience? That seems generous, it’s not even that. It’s just a book some guy wrote.

Not sure it’s aspired to be anything else. Though, in fairness it seems to have succeeded somewhat on those terms.
It’s up.
For current American military & local news for Kwaj, go to https://www.smdc.army.mil/
PostgreSQL can do it on live data without importing anything. Set up the "file_fwd" extension:

CREATE EXTENSION file_fdw;
CREATE SERVER fdw FOREIGN DATA WRAPPER file_fdw;

Declare tables:

CREATE FOREIGN TABLE person (id int, sex text)
SERVER fdw
OPTIONS (filename '/tmp/person.csv', format 'csv');
CREATE FOREIGN TABLE weight (id int, weight int)
SERVER fdw
OPTIONS (filename '/tmp/weight.csv', format 'csv');

Now:

SELECT * FROM person JOIN weight ON weight.id = person.id;
Redux is not that hard to learn so why not?

Why spend more time debating whether to learn something than just learn it?
Yes but it still needs to:
a) empty the write buffers into the cache, then
b) flush the current instruction stream (in case the CPU has already fetched and decoded instructions from the modified memory)

Doing this on every write (especially considering multiple possible virtual to physical mappings) is very expensive in terms of hardware - it's why some architectures (RISC-V for example) have explicit instructions to trigger these things
I’ve always respected his work. But I don’t subscribe to blogs, just see it pop up on HN frequently. I didn’t realize he was monetizing it. I’m surprised he’s doing so well with tbh but good for him.
It seems it uses pocketsphinx or kaldi. I've never tried kaldi but I've tried pocketsphinx before and didn't find it accurate enough to be useful.
The risks of working with Chinese state-owned enterprises are well known. The risks of working with private companies (large and small) in China are are also great with CCP "party cells" officially embedded into at least half of private companies. Less discussed is the China's highly-successful "patriotic education" campaign implemented in response to the 1989 pro-democracy protests (the Tiananmen Square massacre). All school children since the mid-1990s have been indoctrinated from birth with a Chinese Communist Party's highly-exaggerated historical narrative called the "century of humiliation". This world view says the US and the European colonial powers held China down between 1839 to 1949, and that only the CCP's leadership China will regain its rightful place as global leader. Its false and highly-exaggerated for a number of reasons (China at its historical peak was never more than a regional power, never a global leader, and the CCP has done more to hold China's development back than western colonialism and the war with Imperial Japan).

Since the patriotic education system came into force in the 1990s, generations of schoolchildren indoctrinated. These students, now adults, have entered the workforce with the ideology continuing to be reinforced by state-propaganda and censorship.

This "century of humiliation" mindset is part of what helps justify the China's strategy of large scale technology theft (theft is a core component of the Made In China 2025 industrial strategy).

Interestingly enough, the CCP promotes its ethno-nationalist ideology far beyond its borders via the United Front Work Department to try and influence everyone, but especially overseas Chinese diaspora communities. It doesn't matter whether someone was born in China, or live as part of an overseas diaspora community, or have Chinese ancestral heritage but have lived for generations in another country, the Chinese Communist Party sees every single ethnically Chinese people in the world as owing allegiance to it, and wants to leverage these people to achieve its goals.

Defeating the CCP's ethno-nationalist agenda and highly-exaggerated historical narratives will be difficult, but understanding it is the key to fighting back against the widespread theft of advanced technology from developed countries to China.

EDIT: Why the downvotes? The "patriotic education" campaign, "century of humiliation" narrative, United Front Work Department and state-led technological theft are all core methods in the CCP's strategy (leading situations like the one in the featured article). If you think this comment is reasonable and meets the guidelines, please view it via the permalink and then 'vouch' it.
> Of course, they lose on other axes (like precision).

Well the most important axis that they don't have is UI. Von Neumann architectures are easy to program for.

Of course being able to program for means that it comes with a lot of overhead. Just running x86 linux consumes a ton of unnecessary power.
Innocence Project seeks to clear a man executed 13 years ago
Hydrogen fuel cell concept cars were in the news for as long as I can remember. I consider them nothing more than appeasement to prevent stricter emission standards. German politicians have been prophesying self-regulation towards more efficient cars for more than thirty years now. What we got instead was a SUV boom and cheating on emission tests.
What language expresses itself in the most intuitive way is a somewhat undefined problem as far as I understand it. Humans are fuzzy messy objects, our languages too.

Lambda calculus is partially fun just because of the minimal extent of its description.
There are definitely costs to doing immutable updates of objects and arrays. The engine has to allocate a new object in memory, copy over all the existing keys, and copy any new keys / values you're assigning. For very large objects, yes, this can become noticeable.

But, for most apps, this isn't a concern given the kinds of data and state updates that are common.

There's a specific library called Immutable.js, which implements some complex internal data structures to optimize copying objects. However, the library is relatively large, and complicated some common usage patterns. My opinion is that it's rarely worth using that lib.
I worked with the author at a past company. He was an ideal coworker. He's an excellent communicator and was great at cutting through whatever else was going on to help us get the important things done. I'm happy to see his writing pop up here.
> It's many orders of magnitude larger than 40 watts * 5 seconds. :)

Only if you also want to carry a fully preemptive running operating system with a posix layer, netfilter so you don't get hacked, retpol mitigations, openssl to negotiate tls connections, an ssh daemon so you have access, docker, electron, etc.
You Can't Have a Decent Conversation with Your Voice Assistant Yet
Off-topic:

C++ Newbie here!

I would like to see that code and its tweaked version. If at all possible.
Windows had the best GUI and kernel in the 2000/XP/Classic timeframe. God it sucked hard in many little areas though.

BUT, they've been knocking things out in the last few years. Windows is getting tolerable again:

- Better security

- Windows Terminal

- ExFat specs

- Dark theme

Too bad I'll never use it with telemetry and cortana etc. :-/
The key values of Redux are separating state update logic from the rest of the app, emphasizing writing as much logic as possible as pure functions that are easy to test, and enabling developers to better understand when, where, why, and how their state is changing over time.

Note that it's entirely possible to write your reducer logic as state machines, and in fact we explicitly encourage that :

https://redux.js.org/style-guide/style-guide#treat-reducers-...
Graphs are a natural way to express structures, of things being composed of parts which are somehow related to each other connected to each other.

What are some alternatives to graphs? Well some kind of language, say a programming language. But underlying any program written in any programming language is a graph of the parts of the program and their connections to each other. For instance a variable may be written in one section of the code and read in another, and if it is the same variable then those locations in code are part of the graph showing the data-flow of the program.

So it is my intuition too that graphs are the fundamental representation of reality as we see it, the parts of reality and the connections and relations between those parts.

Knowledge is knowledge about containers and parts and how those related to each other. We can describe it in natural language or perhaps in algebra but really the picture we are expressing in any language is that of wholes and parts and their connections.

This is my intuition about it I don't know if such a general intuition is much good in actual theory formation. Theories are graphs I think.
Side note: Mercedes owned a 10% stake in Tesla early on and had an electric B-class with a Tesla power train briefly.
Tell HN: Happy New Decade
Someone wise once said: “Most people overestimate what they can do in one year and underestimate what they can do in ten.“

May the 2020s bring fruitful and fulfilling endeavors for all!
This may make sense if you want to do image processing and deep reinforcement learning. But there are lots of other domains.

For tabular data (which is probably most relevant in Pharma, and probably the best place to start) Introduction to Statistical Learning by Hastie et al and Max Kuhn's Applied Predictive modelling cover a lot of the classical techniques.

For univariate time series forecasting "Forecasting Principles and Practice" is great.

For natural language processing foundations Jurafsky's Speech and Language Processing is broadly recommended; for cutting edge natural language processing Stanford's CS224n is great: http://web.stanford.edu/class/cs224n/
And this is one situation where you can easily distinguish mature, liberal people from hateful radical anarchists. I know which side I am on, I detest political violence and those who condone it.
Tech and Design Details That Stood Out
Have never had a mobile phone. I rely on FB for chatting with friends around the world, so wouldn't want to lose that, although I quite often have breaks from there for months. I communicate with FB and email, and in person. Hard to say "what it's like"..
Tesla battery packs have degraded less than 10% after 250000 km. I think it's very rare to see ICEs that last for more than 500000km.
Windows has process and thread priorities, including so-called "real-time" ones... but there seem to be no mentions of them in the article, as opposed to Linux. Why?
I think this might be considered a bug if it's a reasonable program
Depends [1], but that option is sadly not available at clean and safe meat shops in my city.

[1] https://en.wikipedia.org/wiki/Butcher_paper https://en.wikipedia.org/wiki/Kraft_paper
In 2Q 2019, USA market, the Tesla Model 3 outsold the combined total of BMW 3 series, Audi A4 and Mercedes C/E class.

https://cleantechnica.com/files/2019/08/Tesla-Model-3-vs-Lux...
"Moore's law is the observation that the number of transistors in a dense integrated circuit doubles about every two years. "

https://en.m.wikipedia.org/wiki/Moore%27s_law

It doesn't matter how forcefully you repeat yourself without backing it up.

Also performance has increased with transistor density with more cores.
Now do the same calculation, but instead of replacing nuclear with renewables, replace coal with renewables.
This is beautiful. I think that the success of games like Transport Tycoon is in large part down to an undefined satisfaction that comes from the graphic style.
I get the idea the British would absolutely love it if the pound became the global reserve currency. Especially since a lot of people would really like it if it appreciated in value again after its serious Brexit drop.
Only started using it last year! (although programming since the 80s) Using RSSOwl, works well. It's been useful for blogs and youtube channels.
>>The point is that normal people can't afford to dodge taxes like google (and others) so they are not happy about it.

If your assumption is all of 98,771 Google employees are dodging their income taxes on the extra money Google "saves" from Double Irish Dutch Sandwich, you could not be farther from the truth.

Someday the money "saved" from this "dirty evil" scheme has come-out in the form of
* Stock buy back
* Dividend
* Employee Salaries/Bonus
* R&D Investment
* Merger and Acquisition
* New Hires

All of the above are taxed anyway.

We are talking about extra "Corporate" tax whatever that means.
Google "Milton Friedman and Corporate Taxes" he has a much better explanation than me.
Chaos Mesh - A newly open-sourced chaos engineering platform for K8s
> Hard to say "what it's like"..

Are you ever excluded or written off as crazy for going phoneless?
I use vs code with the vim plugin and it's a happy medium. It's certainly not Vim but it suffices.
Monokai: A Trip Through Japan
How does a rational person distinguish the situation with glyphosate from the one previously with leaded gasoline?

Well, I guess the answer is pretty obvious - look for large scale experiments that have already been done - compare countries that introduced it at different times or that have banned it. So why don't I read about such an analysis?
A Yak Shave with SGI's EFS (2018)
> I just mean the answer is embeded in the source code and not calculated at runtime.

i mod 3 and i mod 5 are just as much embedding the answer in the source code. Saying that the unrolled sequence embeds the answer more than the modulus is the same as saying that

for (i = 0; i < 10; i++)

does not embed the answer to iterating over the integers 0 to 9, but

for (auto i : views::iota(0, 10))

does embed it. I don't think anyone would regard those as anything but equivalent, though.