skysight-inc/HackerNews huggingface dataset:
Ars Technica wrote a report on the debacle[1], and I've since stopped using pfsense. I was already on the fence following their move away from open-source with "pfSense Plus"[2].

[1] https://arstechnica.com/gadgets/2021/03/buffer-overruns-lice...

[2] https://www.phoronix.com/scan.php?page=news_item&px=Netgate-...
Static images are well supported, but I haven't heard of anything about interactive plots. Of course, it's possible in principle, but someone would need to code it.
My point was that the author could have presented a much better JSX code for better comparison. I assume it's not intentionally made worse to make the Clojure version look simpler and better, but it felt like a TV shop commercial with the black and white "lame people" :)

What ifs are what ifs ;)

Fair point on the ternaries, I use that too when it makes sense.
The....what?

If you make a product X and someone imports product X from a country where labour is 1/10th of the price, you go bust. In a lot of cases countries impose customs duties to protect those businesses, because it's better to have a working industry than cheap goods.

Which part exactly is a lie?
Maybe he drove off, remembered he had to register your package, and then stopped to register it as delivered. Later a thief took it from your mailbox?
Forgive my ignorance but why does it matter who controls exit nodes? Unless you identify yourself on the clearnet an exit node operator can't identify you can they?

Like you, I imagine plenty of governments run exit nodes just to see what's happening and keep the system working for their own uses.
I’m not making a claim about its quality but gvisor is another isolation focused runtime https://github.com/google/gvisor
Why would that be? The warranty is against defects in the product(design or manufacturing) that prevents you from using it for the expected lifetime. Limiting it to way shorter period than the lifetime doesn't feel right.
Just means Google controls the standard body as well as the only browser, so they'll be the only people who get to make up ideas, and will therefore make up tons of silly (and user-identifying) ideas to make it harder to enter the market.
Service-Oriented vs. Monolith: Organizational Perspective
Sounds.. strange. Why would ebay keep the package? What would they do with it? Sounds more likely that it's thrown away somewhere.
We are demonizing those business owners who value profit over everything. They sold their soul to make a buck and are keen on offering workers as sacrificial lambs to the god of the greenback.
randomInt
Half their songs are covers of older blues songs.
Protectionism seems to be working great for China though
Tariffs aren't imposed to protect the population, but specific well-connected players who lobby for such protections to avoid competition.
Even for 2006, what would make this argument for me is actual numbers. Is it plausible that some programs worked well like that then? Sure. But I can promise not everything did. The kernel's approach to caching is optimized for the general case, but each program is specific. It's plausible to me that a caching service like Varnish is a very close match. But that's an empirical question, not a theoretical one.
You know what this would mostly affect? Code that passes longs or doubles by value, when compiled for 32-bit architectures (like many modern ARM microcontrollers still are.) Something doesn’t have to be a struct to be larger than a machine register.
As one of the comments on the original article points out:

"I notice your ‘Signature’ is a printed string."

First thing that jumped out at me too when I read that label. I wonder if that's the reason. As far as I know, an actual signature is required there.
It's probably only mushrooms that grow on wood. I doubt button mushrooms are going to confer much anti-cancer benefit.
Nevertheless, an unrooted tree is still a tree, in the graph sense of the word. (Not that this matters for the article though; they're talking about botanical trees)
eBay may keep it, destroy it, or do whatever with it, who knows? The key point is that neither seller nor buyer receive it.
A coworker and I both replaced almost every incandescent we had with cheap Walmart LEDs [1] about three years ago. That was 26 bulbs for me, and I believe quite a bit more for him.

All are still working fine for both of us.

I went around after installing them and measured their light output. A couple years later I went around and measured again, and there was little or no detectable reduction.

[1] they were a particularly good deal because the electric company here and Walmart had made some sort of deal that marked the 60 W equivalent and 40 W equivalent bulbs down to $0.17 each.
Loose Ideas for Operating Systems
Particles as shown in most introductory particle physics courses. Because of particle/wave (alternatively particle/field) duality the question of whether particles or fields are the fundamental constituents remains open but the current consensus is the later (fields).
I find it important to identify that yes, a license is required to use someone else’s code - I mean this legally, not morally: you can be sued.

The sibling points about trademark law (which is different) and remix culture (which has some legal protection but not that I’m aware for lines of code) seem to miss this point.

This is a licensed use, it turns out, which is great. If the author here had not identified that before publishing, then they were putting themselves at legal risk.

[on a technicality, the MIT license hasn’t been properly invoked, since the MIT license requires the text of the license to be included in full, but the original author’s consent for use seems now to be clear]
Usql 0.9.1 – Now with Autocomplete
There's a new version of usql - the universal command-line client for SQL databases.

After I started contributing to it a while ago, I went through all comments in older posts about it here on hackernews. I think the most requested feature was autocomplete. So I went ahead and implemented it. I surprised myself, how useful it ended up being. This includes completing filenames and even command names which I use on a regular basis and know very well.

Another thing we managed to figure out are static builds for Linux. If you previously had issues with starting usql, seeing errors about libicu, you might want to give this latest version a try.

There's also a basic implementation of the `\copy` command. Combined with the `csvq` driver, it allows loading CSV or JSON files to any supported database. But it doesn't do _any_ type mapping, so you might have to add some casting in the source query.

Other new features include pager support, output to a file or a pipe, `\crosstab` command, and many more.

If that got your attention, give it a spin. Full release notes are available at https://github.com/xo/usql/releases. As always, all feedback and contributions are welcome.
>EDIT: Also, before anyone thinks I'm blindly pro-government regulation

The fact that you feel the need to add this edit makes me think about how the conservative framing of almost every issue is assumed to be true by both sides. Nobody would make an edit like this about being blindly anti-government regulation, because that's the default position. Government regulation is not bad by default and your overall point is excellent.
But you are presented with a new option with 50:50 odds and should take it. Since the original odds were worse.
Seems like main issue you have is with corruption, not customs. Corruption is bad regardless.

I'm happy our customs is making it harder for people to import all kinds of illegal and/or dangerous goods, like weapons and assorted chemicals pretending to be medicine or drugs, into our country.
Being able to buy stuff cheaper is actually good because both supply and demand exist. A better way to grow an economy is to do "export discipline", the opposite of import restriction, where you force your local industries to be international quality so that other countries buy from you.
I think if you buy a first ticket, and somehow found out (but lotteries usually don't allow this) that it wasn't a winner, and only _then_ buying a second one, your reasoning would be correct.
Maybe they have a crappy algorithm that sees "EMU" and thinks: https://en.wikipedia.org/wiki/Emu and says "nope, we're not touching animals, you need a special form"?

Either way, the lack of transparency is a huge problem. I thought the United States had all those guns to prevent the State from messing with them? Not sure that seems to have helped here.

Good luck figuring this out! Go to the news media.
Veritasium made a cool video about this some months ago: https://www.youtube.com/watch?v=XRr1kaXKBsU
You haven't seen a trend to ban anything remotely offensive to US citizens in the past few years?

The coq-club archives seem to have vanished, but a Reddit thread suggests that the initial thread title was:

"Why is the Coq logo made to look like a penis? This year, I had a student point out to me the 'flesh-colored logo with what looks like a mushroom top'."

Apart from the fact that the logo looks like a strange chess figure at best, this qualifies as extreme pressure in the current climate. In such discussions only one side speaks up freely in public and maintains that this is the general view of the project.

If 100% of the Coq contributors are genuinely annoyed (i.e. without having had a "little chat" with their university administrations), the situation is different. I doubt that this can be established, as no one has voiced support on discourse at all and the coq-club archives are no longer public.
If it's a pre-printed computer generated label then all you need is the printed name.
Oh hai! This is your daily site's cookie/privacy pop-up analysis:

(-) site does "legitimate interest" toggle shenanigans which are defaulted to ON and there is no disable/disagree to all for them.

(+) the "non-legitimate" interests have a disagree to all.

These are things I will not stand for, ergo I care not to read the website, since it is disrespecting my time and expects me to show each and every "vendor" to checked whether it has "legitimate interest" toggle, and to manually turn it off. No. I'm sick of it. To hell with your website.

Signed,

-- frustrated now-not-user/reader
Besides the sibling comments, this is already highly exploited in JITs for example.

Since only the JIT sees the native code, alongside JIT caches[0] you have basically LTO and PGO data across runs and some call graphs might eventually be collapse into simple basic block, or structs might be reduced to the actual set of fields that are used.

[0] - This includes all modern JVM implementations including the Android cousin, and .NET to certain extent already with usability improvements coming in version 6.
Nope. Before Covid real wage gains weee being made in the US.

https://www.census.gov/library/publications/2020/demo/p60-27...

The 2019 real median incomes of White, Black, Asian, and Hispanic households all increased from their 2018 medians [between 5.7% (Blacks) and 10.6% (Asians)]
Percentage change in share of aggregate income was highest for the lowest income quintile (+1.8%). High income quintile saw decrease in share of aggregate income (-0.6%)
Quoth Wiki:

Though there is ongoing debate regarding the reliability of the dating method, some scholars believe the earliest human burial dates back 100,000 years. Human skeletal remains stained with red ochre were discovered in the Skhul cave at Qafzeh, Israel. A variety of grave goods were present at the site, including the mandible of a wild boar in the arms of one of the skeletons
How would that help? FedEx and UPS don't have some special privilege to bypass customs.
New technology has enabled cyber-crime on an industrial scale
Stacks: Stack Overflow's Design System
Tariffs don't protect local businesses, they charge local customers more in order to punish foreign companies. Besides being a tax on your own population, they have bad effects on other local businesses both because you didn't predict their foreign inputs and because they're always followed by retaliation on your own exports.
Well, such a wild accusation requires a source. I can name several examples where tariffs were introduced specifically to protect local industries, mostly farmers, because it would be cheaper to just import foreign apples or carrots than locally grown, but obviously if you allow that to happen you don't have an apple or carrot growing industry next year. You could argue that "rich farm owners lobbied politicians to avoid competition" but you couldn't be any further from the truth. It was demanded by the farmer cooperatives and unions through protests, not some wealthy magnates.
That depends. The original house DJs didn't define "house" as a particular style of music at all, but rather the combination of all the different styles and the vibe of the club(s) or parties it was played in. Kraftwerk were definitely a part of the typical house DJ sets, but so were a lot of other bands whose music was of several very different styles.

House didn't really come to mean what we think of as "house" today until Detroit had already started the "techno" thing, at which point "house" became a somewhat smoother form of dance music that also used mostly electronic instruments.
IDM first gained mainstream attention with the Warp records compilation album "Artificial Intelligence", which called it "electronic listening music." It's a pity this name never caught on, because it's more accurate than IDM. Wikipedia quotes Warp co-founder Steve Beckett:

"You could sit down and listen to it like you would a Kraftwerk or Pink Floyd album. That's why we put those sleeves on the cover of Artificial Intelligence – to get it into people's minds that you weren't supposed to dance to it!"

https://en.wikipedia.org/wiki/Artificial_Intelligence_(compi...
Elon Musk reveals he has Asperger's
The envelope says “plastic carrying case and computer memory module”. Photo of the content there: https://www.bigmessowires.com/shop/product/floppy-emu-model-...

I understand how technically that’s true. Still, I can see how for a non-technical person a PCB with OLED display and buttons does not look like a memory module. 99.99% of memory modules sold are DIMM or M2 SSD modules. They look very differently from the content of the package.

I would try printing slightly more descriptive labels on these packages. Maybe “Custom aftermarket replacement part for 1979-1983 Macintosh computers”
Tani has also had a number of training sessions with Peter Svidler. Svidler has been in the world elite for a couple of decades and won the Russian Championship 8 times. He is also a Hearthstone streamer @polborta.

chess24 sponsored by CoChess produced the "Training with Tani" video series, where Tani was paired up with Svidler.

The first one is here: https://www.youtube.com/watch?v=to5_8zpjSCc
What are some macroscopic examples where a group of stable things change to match a differently configured stable thing introduced into their midst?

Maybe a stampede, where creatures were stationary until one bolts and then the ones around it start running too?

Or a standing ovation, where people standing in front block the vision of those behind who stand up too until everyone is in their feet?

Or dominos arranged upright in a line and then one is placed lying against a neighboring upright domino?
It's a somewhat obsolete term for "lack of information" :

http://www.av8n.com/physics/thermo/entropy.html#sec-s-not-kn...

(Yes, it is indeed context-dependent.)
This video really helped me understand why it’s not a force. Also awesome physics channel as well.

https://youtu.be/XRr1kaXKBsU
I'm sure the latter is possible in some way but the common prion-based diseases kill by misfolding functional proteins in the body (or in this case the brain). As the misfolding spreads, the cells in the immediate vicinity are destroyed and ultimately the surrounding tissue.

You can google it if you want, but the end result is a brain that is essentially turned into a sponge with voids throughout.
Is his stuff really that good? I can't shake the feeling that he has a strong tendency to exaggerate.

https://www.theverge.com/2021/5/7/22424592/tesla-elon-musk-a...

https://www.forbes.com/sites/johnbbrandon/2021/04/13/elon-mu...
No.. Tesla is saving the planet by forcing market trends to accelerate very quickly. Prior to Tesla the only real electric car with market share was a Prius. Now every car manufacturer is fully bought in to electric, thanks to Tesla.
Hz, rpm, no radius nor pi involved.
Not the commenter you posed the question to, but I suspect their dislike for the term EDM is similar to how I felt about the term "electronica" back in the 90's when mainstream artists were appropriating sounds and ideas from electronic artists. When the music was mostly underground or found at illegal parties it felt original and pure, but once the broader music industry took notice and started pillaging it for profit it felt dirty and sacrilegious.

My preferred umbrella term for electronic dance music is simply "electronic music". This helps make room under the umbrella for all manner of experimental and sometimes undanceable music as well. Death to the over-(sub)-genre-fication of electronic music!
Online Cheating Charges Upend Dartmouth Medical (Canvas)
I think I did that, then have problems with the windows installer. A driver prompt. I regularly have to give services to laptops, so I prefer options that "just works". This is also the reason I don't usually use the Windows installation media creator, because is slow and won't burn my several ISOs. There was a time the new Win10 iso installation process would fail on any configuration I would try... I lost somewhat around THREE DAYS trying to solve each f*"** cryptic error message and an old iso did the trick. Just a few hours updating and it was done.

Sadly most of my clients won't just accept the option of installing Linux ;)
because sin and cos have simple Taylor series, but only when measuring angles in radians. sin(x)/x at zero is one only in radians. Just multiplying by the angle is a good approximation of sin for low angles, again only in radians. I bet even an alien mathematician will describe angles in radians.
Bitcoins market cap is 1/10 of Gold. But search volume is about 1/1. Why?
I'm a bit of a Steve Jobs ultrafan, and I've seen the presentation on iPhone maybe a 100 times. Predictably the article takes quotes out of contexts, makes unwarranted assumptions and is overall, worthless. I don't call NYTimes work worthless easily, I kind of have some reverence for them. But that truly was "random blog post" level of writing, pushing the writer's own words in Steve Jobs' mouth. Shame.

Steve Jobs DID call it a "revolutionary internet communicator" like at least half a dozen times in that presentation. And he didn't deemphasize apps. He pushed for a native Google Maps app. He did push for a native YouTube app. He thought most of third party extensibility will be web apps, but he and his team were quickly convinced they need a native store when people jailbroke the phone and made one.

Steve Jobs wasn't the kind of person who has opinions set in stone. In fact he liked to say "I don't need to be right [in an argument], I just want us to do the right thing. The best ideas should win."

Did he imagine we'd stay 24/7 glued to our phones? Probably no, but that's also up to us, not up to our phones.
I've always wondered what it would be like to suddenly lose the ability to build higher technology like computer chips. Obviously this is just a shortage and not the same as manufacturing just vanishing, but the effects will be interesting to observe.
Steve Jobs was a capitalist like every other CEO, so Apple's ever increasing services profits based on using your phone (and their other devices) as much as possible would have delighted him.
>>Tariffs don't protect local businesses, they charge local customers more in order to punish foreign companies.

That statement literally makes no sense whatsoever. No offence. Tariffs are paid by the importing entities, so the idea is to make it more expensive to import foreign goods than locally produced ones.

I am aware that some countries like the US use tariffs punitively but that's like using a hammer to make an omelette.
> My understanding is that at least some (if not all) GMO's are produced by bombarding an organism's genetic material with radiation and then separating out modified organisms that seem to be useful.

GMOs usually refer to a more targeted approach to gene introduction. In the US, a food can be labeled organic and GMO-free even if it was developed with chemical or radiation mutation breeding.
It's not really working that well except that some of it serves their other ends, like being able to enforce laws on local companies better.

What's much more important is they have good industrial policy, export discipline, and that unreasonably good deal with the UPU that lets them send mail to the US for cheaper than we can send it inside the country.
Zombie apocalypse.
We don't name things based on what students who know nothing about the topic find most intuitive based on zero background knowledge. We name things based on what people working in a field find most convenient for their work and the job of the students is to learn the field.

The unit of measurement you propose will be just a new radian - basically 2pi = 1, or pi (old radian)= 1/2 (new radian) except you want to call it a "revolution" because for the circle, this length is the circumference (screw learning other shapes, right?). Then the power series for sine, cosine, etc would be rescaled by this term. This means the derivative of the sine is no longer the cosine, there is this ugly term added. Thus neither is the derivative of the cosine the negative sign. Fourrier series formulas now change. The wave equation now changes as it's not true that taking the derivative twice and adding to the original function is zero -- trig functions no longer satisfy the wave equation! So all these other formulas now get this scaling term inserted into them as well, it just keeps multiplying.

Moreover students would discover when they turn to ellipses and other shapes, that for their formulas to generalize, a "revolution" stops being a "revolution" but merely becomes a distance along an arc and they have to go back and really understand what they were doing all this time was working in terms of arc length rather than revolutions, except that for a unit circle and this special scale, there was an illusion created that it was revolutions that was going into the formulas rather than arc length. That would then be even more confusing and is kinda the definition of a bad education.

So the advantage of rescaling the radian to this new scale and calling it a "revolution" is a net negative to anyone who actually learns the field - which is hopefully the student.

The key concept, the more generalizable and useful concept, is "distance along an arc", not "numbers of revolutions". These two concepts are not the same, and only one of them is at the heart of trigonometry and calculus. We have moved past the understanding the Babylonians had and now we have a deeper understanding of unifying concepts. It is these concepts that we should teach students, even if they are a bit more subtle than "revolution". As the saying goes, "make everything as simple as possible. But not simpler."