skysight-inc/HackerNews huggingface dataset:
I had a feeling it was a poor analogy after I submitted it. I'll leave it up, but the analogy doesn't properly convey the point I was trying to get across. This isn't a discussion about Java's relative performance with C++.

It's more about the performance gains of properly optimizing your DOM modifications aren't generally possible with a static analysis like Svelte employs.
To my understanding, one of (or the singular) author of Svelte was a developer for the NY Times who wanted to easily create visualizations with thousands of data points, and the existing UI libraries weren't cutting it on performance. Depending on the types of applications you build day-to-day, this problem space might be niche. Your standard CRUD app (tables, forms, etc) would not be leveraging Svelete's capabilities; in a sense, it could be a pre-mature optimization.
Great suggestion. Preact is only 3kb so your users will appreciate it too.
I got 8/8. Real Joe Rogan has more tonal variations and tends to put more stress on adjectives.

But again, I shudder to think how technology like this could be used to malign people.

Or rather, would it make maligning people impossible because you would never be able to tell if it's fake or real?
I only missed 1 in 8, and I attribute that to a bit too much wine on a Saturday night. I heard "farm fresh" as "farm fish" and thought I was a genius for catching an algorithm error...

However, as I mentioned in this comment[1] I don't think you have much to worry about. The correct criteria for diagnosing fake vs real is actually not being robotic. I knew immediately what was real because there was emphasis and affectation, as opposed to the monotone counterpart.

Finally, a minor quib: "psychopathy" is not about an ability to infer intonation (quite the opposite). I'm an introvert like you (Hell, I'm probably considered a hermit) and I was easily able to identify the doppelganger.

[1] https://news.ycombinator.com/item?id=19951679
The pension systems have overestimated their annual returns for decades and planned for future returns that are completely out of whack with reality. This is a pretty well known issue.

So if you're putting money into a system, and you know it's not enough to cover your benefits, you're not exactly just a innocent victim here. You're benefitting from a system that you know is broken.
America actually has a pretty liberal immigration policy. The crackdown is on people who do not use the immigration system.
This was the wish also of Hugh Everett, proponent of the many-worlds interpretation of quantum theory. He wanted his body to be thrown out with the garbage. Following his death and cremation this is apparently what happened when his wife decided to honor his request.
Totally interesting! It's not waste for no reason. Energy transfers have thermodynamic efficiencies and at practical temperatures the transformation of chemical energy into shaft horsepower is like 30% efficient in a small engine. Making electricity from fossil or nuclear fuel in large plants is between that and 60% efficient.
Audiobooks in your own voice would be terrible because your voice in your own head is always deeper and richer than your actual voice
The love-hate relationship illustrated in the article has been around since at least 1999, when the US bombed the Chinese Embassy in Yugoslavia.
Or if you refuse to get medical treatment like vaccination
Ahh, you edited significantly while I was replying. Here goes to your current message:

> [...] you ask "Why would I ever want to calculate a cosine in a bash script?"

I wouldn't ask that. This kind of argument strategy is silly too. You should choose your own words, and I'll choose mine. Leave the fake dialogs to Aristotle.

> To illustrate my point: Perhaps you want to write a script that draws a pie chart to illustrate your disk space. With bash, you'd have to call out to another language to do that. Why is that? Tell me why hasn't anyone come up with a way to draw like the canvas API in bash, without forking off dozens if not thousands of processes? Don't you think that would be useful?

I routinely use gnuplot as plotter in a child process. This works with bash, python, C++, or any other language which supports popen (that's fork, dup, and exec).

> Because bash can't even perform the simplest APPLESOFT BASIC floating point math operations [...]

I'm not defending bash. I'm saying that putting Python much ahead of it is silly. Why would you want to run a race with either a snail or a turtle? Silly parables about the tortoise and the hare aside, pick a cheetah or something.

> And of course needlessly converting all those numbers back and forth between strings and floating point so many times.

Python tediously checks if the vtable contains the necessary operator, evaluates the function pointer it finds, which checks the other operand's type, unpacks the 8 bytes of doubles from each 32 byte struct, finally performs the operation, then allocates a new 32 byte structure for the return result, which is checked to see if an exception occurred, and then pushed onto the stack. I probably missed some steps, and I certainly ignored the sophomore level interpreter loop overhead.

I mean, yeah that's faster than fork, but I'm not sure it's a huge win over anything else.
An Ode to Ove
It does because those are two different crimes in a row, but for the people it doesn't really matter.
compared to a well written app that updates the DOM directly only when needed (which I find is easy to accomplish in most apps)

Do you do full blown SPAs with this technique? I mean I'm sure it's possible, but I wonder how difficult it is.

I wouldn't use (p)react for a website that just needed a bit of AJAX, but I find it a bit hard to imagine doing an actual app with vanilla JS.
Well-written React code shouldn't need to leverage the shouldComponentUpdate API. The application structure would be off, if that's the case.
If they spit on our western values, what do they love and embrace instead (aside from money)? I would think there are many universal values shared which is why our peoples are quite compatible.
Sure, but in Python's case, what's wrong with bundling a light wrapper around a well maintained C library?
I think you can actually start a Bash process and quite many bc processes in the time the CPython interpreter needs for startup.
> The second version of "The Cossacks" the artist tried to make more "historically authentic". In 1932 it was presented by the Tretyakov Gallery to the M. F. Sumtsov Kharkiv Historical Museum.

The differences in the two versions is interesting. It's mostly some subtle differences in hair styles and clothing design. I'm curious what the exact motivation/reasons were.
and publish the signature on the blockchain for time stamping
Probably because 2003 requires Flash!
https://en.m.wikipedia.org/wiki/Section_230_of_the_Communica...

> Blumenthal v. Drudge, 992 F. Supp. 44, 49-53 (D.D.C. 1998).[25]

> The court upheld AOL's immunity from liability for defamation. AOL's agreement with the contractor allowing AOL to modify or remove such content did not make AOL the "information content provider" because the content was created by an independent contractor. The Court noted that Congress made a policy choice by "providing immunity even where the interactive service provider has an active, even aggressive role in making available content prepared by others."

Facebook is in a weird situation. The editorial control they do exert is demanded by governments and by users. A truly uncensored Facebook might start looking a lot more like Gab or Voat, and would then be attacked even more heavily by politicians as promoting hate, being anti-democracy, and so on.

I think Mark Zuckerberg is trying to pivot the company to privacy to avoid this. Not sure if it can succeed though.
https://www.gutsense.org/fiber-menace/why-fiber-causes-hemor...
Contributing Kubernetes Grafana Mixin
Or Ghost?

This looks more modern than blogger
Canadian Prime Minister clamps down on free speech online to cheers and applause in the name of protecting people from 'hate speech' whatever that means.

We can say what we want about extremism but the reality is I don't see much support for things like the New Zealand supporter anywhere online. I don't think fear of violent extremism is the real reason for suppressing speech. I think the real reason for these kinds of calls is that there is growing alt media and the spread of information online which governments cannot control.

Currently the Canadian government controls who can broadcast in Canada through the CRTC. They have a government sponsored news network (CBC news) and a government sponsored TV network (CBC) both of which answer directly to parliament. They have a government sponsored press syndicate (Canadian press) that feeds stories to private media companies. They have a 600 million dollar funding package going to private news agencies.

The Canadian government controls what the Canadian people see and hear and how they get their news. At the same time, (and probably as a result of state actions) Canada has seen a surge in independent news broadcasters that use the internet. Canada has the Rebel Media, Stefan Molyneux, Lauren Southern, Gavin McInnes. These are all Canadian internet alt-media personalities who are popular internationally and with Canadians seeking an alternative to state manipulated media. Incidentally they have all also been labeled hate speech and would likely be subject to the Prime Minister's new laws.
Yeah, this (that women have some advantages at longer distances that may prove decisive) has also been something that's been something that's been imparted on me as "conventional wisdom" so long ago that I can't really remember when, so I was also surprised by the author's use of "conventional wisdom" for the opposite claim.

If you look at marathon winners, it's clear that the male advantage of more muscle mass doesn't help here. You want to have as little energy-consuming muscle as you can get away with, and as little total weight to lug around as well.
But there was reason to suspect him, so could they not have looked at the evidence from his other crimes?
I was thinking this sounded nearly identical to perl 5s threading implementation.
DOM operations (node insertions, deletions) are trivial. It's the CSS reflow/relayout that's expensive. Though that can be trivially solved by preparing a shadow DOM off-screen, then finally replacing the changed fragment by the newly build-up one. DOM diffing is just a convenient method to do it.
I was wondering how much then is lost in transport. Turns out to be only 2-4%. The same article also confirms that efficiency in large plants is about 60%:
http://insideenergy.org/2015/11/06/lost-in-transmission-how-...
I love that this is downvoted. LOL. I'm all for vaccination, but you are 100% correct.
While it's down, those checklists are available on github[1]. I wondered whether they are general/reusable, but apparently it's mostly organizational (and rather specific) checklists of a software company as of now.

[1] https://github.com/vintasoftware
Freight pays better than passengers. They don't want passengers. They might be obligated to maintain passenger service.
> The Nazis and the Anti-Nazi protesters were not of the same order of magnitude of evil in Charlottesville

Are you intentionally invoking Godwin's law because you know your argument is untenable?

> PyPy is a thing, and it works just fine, you know

I like PyPy. It's not perfect, but it's pretty good. Maybe you should recommend that in the first place next time.

> But it's IMPOSSIBLE to implement a bash JIT compiler [...] to fork "bc"

Never say never. Before V8, everyone thought JavaScript had to be as slow as Python too. Now we have PyPy and LuaJIT, which I would've thought were impossible.

> And no, integrating "bc" into bash isn't a valid solution, or they would have done it ages ago

You seem really hung up on "bc". You do realize that "echo" wasn't always a builtin, and that they added it for performance reasons, right? If anyone cared enough, they could add "bc" as a builtin. Hell, the expression evaluator for integers is well on it's way. You're right that probably nobody cares enough to build in "bc", but I wouldn't be surprised to see a triple paren or square bracket math interpreter with floating point support in bash someday. Heh, maybe they'll even add complex numbers. And a bash JIT is exactly the kind of thing some grad student would do for the absurdity of it all.
That's actually what I didn't understand in Dan Abramov's response ...

If you run a synchronous function that takes 2 seconds your app will block whether you use Svelte or React or whatever. You need to offload it to a webworker anyway.

Still I think it's a good idea to update the DOM not more often than needed: Only update the last change of an element every 23 ms and skip the changes that have been overriden. You can do this without a virt DOM.
Redirecting requests to a specific path to another port in Apache
The poster you're replying to is referring to the misuse of statistics, essentially. Think about it this way: it's not amazing that someone wins the lottery. It'd be pretty amazing if a specific person won the lottery (statistically speaking).

Here's where DNA evidence shines: through other means you have a suspect or a short list of suspects and you use DNA evidence from the crime scene to eliminate suspects or concur with existing evidence.

Here's where DNA evidence is abused: if you take essentially a "hash" of DNA and look for matches to that same hash. There are enough people that you're likely to find unrelated hits (collisions, essentially) and then law enforcement puts the onus of proving their innocence on those people. This works particularly badly for the poor who are less likely to have credit card receipts and other evidence that might otherwise constitute an alibi.

Don't believe me? Consider [1] for issues in fingerprint matching. DNA databases are getting sufficiently large that adventitious matches are much more common than you might think [2]. I believe there's been at least one murder case in the US where searching the fingerprint database brought up a completely unrelated person who had the exact same fingerprint (based on the markers) but I can't find a reference to it now.

tl;dr Fingerprints and DNA are good for eliminating or indicting someone you otherwise have legal cause to suspect and shouldn't be used as a blanket scan.

[1] https://theconversation.com/fingerprinting-to-solve-crimes-n...

[2] https://www.theguardian.com/science/2004/sep/09/sciencenews....
This is what is going on in these races, the best women can sometimes win races where none of the best men are participating. You can easily check this by looking at race results of the women mentioned in the article at ulrasignup.com . They might beat an elite man if the guy bonks and falls apart (which is not all that rare for men or women in ultraruns), but other than that, no, doesn't happen.

I think all of the women mentioned in the article have run at Western States 100, where there are always a decent number of the best men and women (but never as many as want to go, because it's a lottery system with limited spots for elites). It is extremely unlikely a woman will ever win that race. The women's course record (by Ellie Greenwood, one of the women mentioned in the linked article) is 16:47, which is over two hours slower than the men's course record, and in that record-setting run in 2012 she finished the race in 14th place overall. That's an excellent run, even for a male, but she is nowhere near as strong a runner as the best men.

I think all these women are quite aware that they're not at the level of the best men; they're not delusional. It's the media that likes to sensationalize things when they see a woman win a race outright. The media doesn't understand that the fields in these races are wildly uneven; there's a limited number of races where substantial numbers of the best runners show up.
There's still a massive difference between schools that don't fall into the private/top-tier bin. Sorry.

I am from a family of 10 kids and we all went to and were accepted to different schools (all non-private/non-top tier)...there is a massive difference in education levels between schools (maybe it won't affect your career trajectory, but I didn't go to college for a career, I went to learn and be surrounded by others of my caliber).
A First Look at Deep Learning Apps on Smartphones
It seems to be down. HN effect? :)
What's interesting is that this idea has (very loose) roots in antiquity. Many beliefs had deities of fate that controlled the destinies of mortals by weaving.

source: https://en.wikipedia.org/wiki/Fates
The point was that it’s much easier to distribute a single file app than it is to “correctly” distribute a full app with dependencies bundled.
Seems like just an ad for Svelte, and fairly FUD-ish on that. React will warn you by default when doing that exact example, asking you to provide a key to the `<li>` to avoid re-rendering it unnecesarily. Instead, this states "Unless you're unhealthily obsessed with performance, you're not going to optimise that."
I just noticed that Reframe README is very amusing and wickedly hilarious in some parts. It is very refreshing to read compared to other bland/formal/techinical READMEs ... Maybe in future I will try and see if using Reframe itself is joyful like its Readme ...
The Excel file format has been a publicly released open standard for years.
A Waste of 1k Research Papers
I’ll believe the crackdown is strictly about illegal immigration when our First Lady is shown the door.
I've never understood how people view the separation of template, styles, and business logic into separate files as simpler. Now, to work on a single component, I need to open three files in my editor, instead of one.
https://en.wikipedia.org/wiki/Brake-specific_fuel_consumptio...

Yes, it's in the 30s for typical petrol engines, and over 50% for large 2-stroke diesels.
Even Michael Godwin says there are times when it's acceptable to compare shitheads to Nazis.

https://www.thestranger.com/slog/2018/06/19/27874178/godwins...

https://twitter.com/sfmnemonic/status/896884949634232320

>Maybe you should recommend that in the first place next time.

For the third or so time, Python is not the point. I'm not recommending any particular language (or I would have mentioned Lua and Lisp), I'm dis-recommending bash, and merely using Python and JavaScript as widely known and well understood counter-examples.

And I say impossible because of the insurmountable social resistance you would encounter from the bash developers who were not insane, if you actually tried to integrate "bc" into bash.

You admit floating point math in bash would be a good idea, and you seem to think integrating in a way that's compatible with bc's and bash's wonderful mish-mash syntax (the same way bash integrated "echo"), (((or worse yet adding even more mish-mash syntax to bash))), instead of simply building floating point and a library with sin and cos into the language itself is a good idea, so tell me why it hasn't already happened in all these years?

>And a bash JIT is exactly the kind of thing some grad student would do for the absurdity of it all.

That was exactly my point in mentioning the Synthesis Kernel. As brilliant as it was, who's actually running it now? Just because a genius grad student comes up with something brilliant and groundbreaking and beautiful like that, doesn't mean it's practical in the real world.

Seriously, you should read about it -- it's a classic paper from 1988 Usenix:

https://www.usenix.org/legacy/publications/compsystems/1988/...

But PyPy and V8 are here today, run everywhere, behave identically across all platforms including the most popular one Windows, work just great, are well supported and going places fast, and they're both perfectly capable of calling the mul and cos instruction directly and even drawing pie charts. While you're farting bubbles in the bathtub about integrating "bc" into bash, and haven't even proposed how you'll integrate the canvas api yet.
> Bloomberg NEF forecasts sales of electric passenger vehicles ... to overtake sales of those running solely on internal combustion engines in 2038.

Perhaps I am naive, but I would be surprised if it takes that long.

There are so many obvious benefits* to electric cars that the only thing holding them back from Mass adoption (IMHO) is the price of batteries. With such significant investments being made, and such steady progress being made, it is hard for me to imagine it will take almost 20 years to get to this point.

* Yes, range anxiety, cold weather's affect on performance and lack of charging infrastructure are all problems, but they start going away when cheaper batteries make electric cars cheaper to own/run, and more cars are on the road to justify businesses to start installing charge stations in carparks.
My company permits Vue and Angular, but not React. It isn't based in legal reasons, though.
It's sad that this "article" is not going more in-depth.

What bugged me most was:

> [...] it matters where the electrons going into an EV come from; coal-fired power is [...] less than 40% efficient on average. [If ...] we lost 6% in transmission, it would still add up to only 10 million barrels a day in oil terms. The efficiency gain is overwhelming.

No! What about losses in the electric grid? What about losses in the battery? As far as efficiency is concerned, electric cars are just as bad as ICE cars, given their electricity comes from thermal power plants. Plus, a lot of rare earths are required to manufacture them, mainly for the permanent magnets in the synchronous motors and the batteries.
Each of the real Rogan samples had some detail that didn't sound like AI could reproduce it. The AI samples were much more monotonous.
Grumpy Cat’s death marks the end of the joyful Internet
Wandering Earth: Rocket scientist explains how we could move our planet
>Chinese HNWI are forced to redistribute their wealth among americans

I don't see that happen, but I'm seeing average minds are controlled more and more thoroughly with the assistance of modern tech, while the "woke" ones are rushing to America to give birth even if border officers told them they can no longer obtain US citizenship coz Trump said this or that.

https://www.youtube.com/watch?v=t2hBtXdaYsQ
20k Linksys routers leak historic record of every device ever connected
My mind is blown! I've always associated Linear with precision work, can't believe it was all built on eBay equipment. Doesn't seem very Jim Williams...
Will use this calculator should McDonald's ever switch back to the original McNugget recipe.
Did you install the AA hardware from Mazda, or are you using the software tweak, which is not known for performance
I bought a mechanical engineering book, and I found the rent seeking quite clever: the international version(this one was targeted for the Indian market) did not have American units, only SI.
Ask HN: How do you handle female bullies at your workplace?
What are some of the ways you have or you currently handle female bullies at work. Whether they are seniors or peers, female bullies at workplaces tend to be more manipulative or confrontational or both. Also, they use the fake harassment complaint card more often. What are some of the ways HN members (both male and female) who have been bullied by females at workplaces have overcome this?
It's very easy to get a Guava version conflict because (a) Guava frequently adds new stuff, and (b) Guava semi-frequently deprecates and removes stuff a couple versions later.

So all you need is one dep that needs Guava version X with method M that is removed in version X+2 (say) and another dep that needs something new introduced in version X+2, and you have a Guava version conflict. That's, Guava releases are not backwards compatible due to removal of classes and methods.

You can sometimes fix this with a technology like shade or OSGi or whatever to allow private copies but it does not always work.
Performance Impact of MDS/Zombieload; Overall Cost of Spectre/Meltdown/L1TF/MDS