skysight-inc/HackerNews huggingface dataset:
Writing a non-fiction (technical oriented) book is on my to-do list for the next 1-2 years, so this post is very much appreciated.

One thing I've noticed a lot when it comes to advice for traditional and self-published authors alike - having an active community around your expertise is essential.
Echoing this comment. I and my team are big fans of OpenTelemetry! It's made distributed tracing so plug and play.

Only complaint is the churn over the past year, especially in the metrics world. We use OTel Python and have had to pin our libraries to an older version so we can continue to record metrics stably until the python SDK catches up to the latest metrics specification.
yeh I'm a bit shocked they stuck with micro-usb. I understand its a little cheaper but I'd certainly be willing to pay a few quid more for it
"...had it in my possession last two weeks.."
I'm a native-CJK user myself and well aware this phenomenon, but honestly it's not really that bad in most of cases due to the following reasons:

1. Websites that are in Japanese are likely tagged with lang=ja already. So they will display fine. Unfortunately, this practice seems to be less followed by Chinese sites. I checked a few top sites, qq.com do have lang=zh-cn, while baidu.com and sina.com.cn don't.

2. Majority of UI elements in OS will prioritize the display language you set when choosing variants. This means, if the users are reading content in Japanese while also using Japanese UI, the glyphs would be correct. Of course, this will cause problem if a Japanese is reading Chinese or vice versa, but such scenario is in minority.

Another scenario, which I think is more common, is when someone is using a Latin-language UI. For example, lots of my (Chinese/Japanese) friends are using English UI while reading Chinese/Japanese a lot. The OS in this case will default to one variant (I believe Apple by default would choose Japanese) and therefore display another language's glyphs wrong (side note: for web pages, desktop browsers often have their own font/glyph fallback logic above the OS one).

3. Most of people are just not sensitive to such thing. I pointed it out to lots of people (when due to their setting, some glyphs are displayed wrong, like 门), and they can't care less.

Also, there is no simple "fix" if you have multi-language content. Without manually assign <lang> tag to every single string, you can't display both Japanese and Chinese correct at the same time. It isn't worth the hassle for just a few phrases in text. A good example is Wikipedia, they have templates for all kinds of languages so you can display them correctly even if it's just one Japanese word on, say, English Wikipedia. And Wiki editors do use them all the time!
they do. and linked article also mentions the us spies on their allies and reverse is true also.
which means spy-game is know your enemy, know your friend and treat them the same way, with suspicion.
I actually think it might be a good example because it highlights the distinction between "medicine" and "alternative medicine": approval for use. Many drugs have been approved for a use in the past, only to be superseded by better drugs or found to be dangerous or ineffective.

Take for example acetaminophen (aka paracetamol/tylenol): it is borderline ineffective, has been superseded by ibuprofen for almost all use cases, and the required dosage for its tiny effect is also very close to dangerous levels. Yet it is still the go-to drug of parents, GPs and hospitals for a range of ailments from the common cold to post-operative pain. "Good old paracetamol" is in every medicine cabinet in the Western world. I've told my folks a hundred times that it simply doesn't work, but they use it for pretty much any condition. Mum even gave it to her old dog. It's trusted like oxo cubes, Campbell's soup or a nice cup of tea. And that's why it's the foremost cause of acute liver failure in the Western world. While it hasn't had it's approval removed yet, I wouldn't be surprised if it did some day, and I doubt it would be approved today if it were being introduced.

Even so: is it still very much "medicine", not "alternative medicine".
What's the supply situation for Raspberry PIs? Not just this one but the other models.
Sounds like I don't know nearly as as you... I minored in stats 20+ years ago, but since then I do a lot more arguing about stats than actually using them for work.

You're kinda right about one thing, though... I am definitely talking down to OP, and a couple of other folks.

I'm frustrated. There are real problems in how science uses statistics, and it sounds like OP & co have heard about those problems. But the way they talk about this study, they're just throwing crap against the wall to have something to say. They don't really seem to understand the problems they're talking about, or how those problems apply to the study we're currently talking about.

I should change my attitude, and stop taking out my frustrations on these folks. If they're wrong, I'm probably not going to change their minds by insulting them.
The problem with turing-complete config languages, is not that it might take long to evaluate them. The problem is they are hard to modify by programs. A purely data-driven configuration, e.g. an ini-style config file, json, or xml is relatively easy to parse, transform and unparse again. Doing that with a config file written in a Turing-complete language is substantially harder, theoretically even impossible. But in practice most configuration are evaluated from a subset of all programs. A language like Dhall tries to formalize that subset and and thereby enables better processing of such programs.
Has anyone experience with successful instances? I tried the probably popular examples from office, namely stuff like PowerApps and Flow. I think the software quality is atrociously bad. I like the concept, it is just that this isn't production ready software. Many bugs and bad reliability, so we currently do not invest more energy here.

Am I off here? What are examples of low-code solutions. I am well aware of the business case. Fewer lines simply means less maintenance.
In 10 years a new word may become fashionable. Better to keep technical terms the same.
I am not aware of a linux board that can do this. It'd be pretty sick though, I'd love to be proven wrong.

It seems to me that a microcontroller with an RTOS might be more up this alley (perhaps the esp8266/esp32 platform, but I'm no expert).
How is the Go generic implemented?
Whats with the name exa?
ls is intuitive short form for list.
I would rather name it as els or something that signifies extended, enhanced ls.
https://www.researchgate.net/profile/Alain-Chambrier/publica...

It seems plausible that Amazon rainforest will affect the North tributaries. And the Parana state with its deforestation is about midway of the river.
I’ve used Raspberry Pi to build an always-on midi recorder for my electric piano (in Rust), which was super useful. Having to have a power supply is the ugliest part, I would say, otherwise it has been a fantastic help.
Could this be done in Isabelle?
Isabelle has the ability to prove inductive statements.
(Disclaimer : i am a noob reading Concrete Semantics right now)
I have a similar feeling when browsing on geminispace.

There's something about the rawness of the medium and the predominance of text, that feels like sitting down on a typewriter to write.

I've read the most random, weird, and wonderful things on gemini lately, which I would: a) not expect to find on the web anymore, or b) even if I did, I think I would have somehow walked past it completely. This is despite the fact that some of the content is mirrored in the normal web as well!

The last thing I read was this: gemini://jsreed5.org/math/20210922-the-geometry-of-the-trigonometric-maclaurin-series/index.gmi (ironically, it features images and math, so less of the 'typewriter feel' ... but still.)

Great stuff!
That's what the rest of the thread is complaining about, it's still slapping the strings in there with basic formatting. No different than the top level approach.
The locale might be set to something completely different. A lot of programmers run their machines in English and not in their native language. One could use location to detect which variant to use, but that too wouldn’t work for, say, Chinese speakers in Japan. In ideal world we should use the locale of an input source (if the user sets their keyboard to Traditional Chinese we should use it for that fragment of text). However, operating systems and browsers don’t provide the input source locale API.
This feature in GitHub was made official at GitHub Universe yesterday. https://github.blog/2021-10-27-everything-new-from-universe-...
So in 5 years after they shoot the corpse of Facebook several times whilst spraying it's cohorts with gunfire shall we all install micro facebook serving boxes on our desks and plug them into our routers or cell towers as long as the party writing the software operates nothing or do they get a bullet too?
I think you're mostly right. If you want to be able to preserve enough bandwidth for music, you're talking about kilobytes per second of audio, but yeah, you could just store the streams from each mic in the array, so multiply the bitrate by the array size. And it's probably possible to find ways to save bandwidth with joint encoding.
For learning about clustering, sure, go wild. Or maybe use the latest and greatest Pi (is that Pi4 ATM?) to avoid issues with extremely low end stuff (e.g. even disregarding applications, can you run a "cluster stack" on this without OOM etc.?).

For "real work", nope, not worth it. For that, look into what e.g. the giant IAAS providers (AWS, Azure, GCP) or the top500 list are running on.
I found it useful when changing brightness or tuning with the sound, other than that I don't use it, like, 99% of the time. It would be awesome if you could customize it easily (think i3 status bar, polybar) but I guess this wouldn't happen with Apple. So they abandoned it (which is a wasted effort) for a promising feature.
I’d watch this twice!
Last time I looked at the update performance in windows 10 the issue was that the installers for each of the patches replaced files sequentially, that sequential execution in turn got delayed by single-threaded antivirus.

It could be a lot faster if they parallelized the file operations or deferred the antivirus.
> how about we reduce the need for so much international shipping in the first place?

Because China has 1.44 billion consumers and the USA only has 330 million, and companies like Apple in the long run can sell more iPhones in China because there are more people to buy them. The Chinese see Western brands as more desirable and authentic, much like many affluent Americans would prefer a foreign Mercedes to a domestic Cadillac.

Starting pay for Chinese workers assembling iPhones is $3.15 per hour[1].

China does not have as strong of environmental regulations so massive toxic lakes can be produced there extracting rare earths like neodymium[2].

Chinese women have more children than American women because in America we are constantly told the earth is overpopulated and man is destroying the climate, and in America we are told it is medieval for women to focus on being mothers who produce and raise children who ultimately become the workers and consumers that are a nation's true wealth. (The goose that lays golden eggs is more valuable than the golden eggs.) But if a woman enters the workforce today instead of having children her immediate production and consumption can improve this quarter's profits, whereas if she instead has 4 children who won't enter the workforce until two decades in the future, well, that's two decades in the future and here in the West investors won't wait two decades for returns.

So we must increasingly have non-American women give birth to the workers who make and consume Apple products and other Western brands.

[1] https://archive.ph/yemy3

[2] https://www.bbc.com/future/article/20150402-the-worst-place-...
> he mostly wins arguments by carefully crafting his phrases and forcing his view to less skilled communicators

I think it's the other way round. When people interview Jordan Peterson, they use pre-prepared phrases to and ascribe to him opinions and views he doesn't hold. e.g. the infamous Cathy Newman interview, "So what you're saying is".

This doesn't always happen e.g. the debate between Russell Brand and Jordan Peterson.

I don't think there would have been nearly such a controversy around his work, if he had not touched on the pronoun issue, which was about compelled speech, not even particularly about pronouns.

However that issue is a bit of a hornet's nest, and Peterson is by no means alone for being targeted, as also seen in the UK with Professor Kathleen Stock.
Very tight.

Eben Upton's been mentioning how hard it's been to keep up with demand this year, and it looks like next year won't be better (but hopefully won't be worse!) [1].

[1] https://www.theregister.com/2021/08/20/raspberry_pi_supply_e...
First read about this address map diff instead of binary diff compression in Chrome updates. And how they reduced binary update size by 90%.

Guess Chrome updates still use this compression.
If you had read it you might have derived value from the article which is simply factual. It's the reality of expecting senile old men born before widespread computers became the norm that is absurd not this piece.
Nowadays, yes, because literacy is nigh universal.

It wasn't prior to the Modern Age and scholars of the losing side tended to end up dead, imprisoned or exiled. (Interesting exceptions apply; such as the exodus of learned people from the collapsing Byzantine Empire.)
This seem similar to "Penney's game" and the "Humble-Nishiyama Randomness Game" (https://en.wikipedia.org/wiki/Penney%27s_game) - betting on which coin-toss sequence appears first. For the 3-bit game there is also always a better pattern.
A product perspective:

- Co-pilot will not replace software engineers, however ...

- I do think it will in some cases help them be more productive as some have expressed in this thread already.

- Once they open it up to fine-tuning on your own codebase I suspect it can be used to bring new engineers upto speed faster plus it get will get more trustworthy.

- I do have concerns about the legal aspect of selling software built with assistance if co-pilot but a lawyer could probably get me comfortable (or not!)

- I have personally found it useful for data science type tasks especially getting familiar with new libraries.
Unfortunately it's not antenna. It is actually used for testing purposes. [1]

https://www.raspberrypi.com/news/new-raspberry-pi-zero-2-w-2...
What's the alternative? Every winter months of lockdowns, economic disruption, overflowing hospitals and hundreds of thousands of needless deaths?

Just get your shots. Stop being pricks about it, it's not a big deal.
It looks like it's set up so you could jump the antenna connection to the connector if you solder it yourself. The Zero W had the same setup (in a slightly different spot on the board), but has never been available with a connector pre-soldered AFAIK.
Well, if you look at a map, Muscle Shoals is fairly close to equidistant to Memphis, Nashville, and Birmingham. (Although, as I recall, it might as well have been Antarctica because nobody in the Rolling Stones could drive a car ... LOL).

However, it's probably mostly happenstance relating to a laissez-faire (for the time) attitude toward race from the area. WLAY would play both "hillbilly" and "race" music. Sam Philips (founder of SUN Records and ex-DJ from WLAY) and Rick Hall (founder of FAME Studios) were quite happy to record (some people would say exploit) artists regardless of race and that was a really big deal at that point.

Quote from here about the issues in the Jim Crow South:
https://www.usatoday.com/in-depth/entertainment/music/2021/0...

"You'd go into a town and you'd find somebody nice enough to fix a dinner for you and let you sleep in a bed," Rush said. "You'd put some mattresses on the floor ... or you'd sleep in your car. That's what we had, man, and we didn't think nothin' about it."

And, do remember, The Blues in the US was almost dead by 1965--rock had pushed everything aside. It was all those silly Brits with electric guitars picking it back up and putting it into rock that effectively resurrected it.
Why are they scalping PIs? Not much use for mining right?
If found them both to eat a bit much battery for much, though I was connecting to wifi.

That said, it is incredible how fast they can boot, connect to wifi, send something and shutdown again.
But it uses json for parts. So scraping and just writing it to your library is a real option, especially when you fall back on existing parts. It can also import parts from kicad, although I didn't try that.
Fixed in C++23 by adoption of P1949R7 [0], which didn't originally set out to fix that, but seems to have after a Netherlands national body ballot comment.

[0] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p194...
I've been running one of these for a few months too and was excited when I saw an ARMv7 CPU. In the open source and container world, many projects have stopped supporting the Zero and RPi1 due to its lack of RAM and slow CPU speed. Even running "go build" can take multiple seconds on a simple program. Starting Node.js was also fairly slow.

The RPi zero shines for Python scripts that access hardware - for sensors and camera projects that are low power and cheap to make. It was actually perfect for the GrowLab project that we did over the summer with 20 others from the community https://growlab.dev - sensor data and camera images were aggregated to a more powerful RPi3/4 and then either uploaded to a static GitHub Pages site, fed into InfluxDB to create beautiful charts with Grafana.

The new Zero 2 means that I can start to run ARMv7 or even ARM64 containers on the zero again, but with the limit of 512GB of RAM. The launch blog post explains why this couldn't be made higher.

The first thing I tried out was not K3s, which I knew already suffers on a Raspberry Pi 3, but faasd. Faasd is OpenFaaS but built for pure containerd, no multi-node networking and no Kubernetes. It works fairly well for a few functions, even with NATS and Prometheus being deployed as part of the stack.

So whilst you're not going to be building K3s clusters with these, they can run containers - with Docker, containerd, nerdctl and even as a full application stack with faasd.

Where this gets more interesting for me, is hosting small applications, integrations or APIs. Perhaps with Ingress via a tunnel that can penetrate NAT/firewalls like Inlets, Argo or Ngrok.

I've ordered one of the release models to see how it performs. Look out for a blog post from me soon.
Ask HN: Best file storage solution for our product?
Hi Hackernews!

Longtime lurker here, and I finally have a question.

We have an existing product with a file archive as part of the feature set. Currently files are stored in MSSQL in the same database as the rest of the data. This isn't ideal, since it leads to long backup/restore cycles, not great performance, and expensive database SSD storage. The larger instances (single tenant) are ~2-3 TB of which 90% are files, but we predict file archive usage only going up.

Requirements:
- On premise hosting
- Search file contents (Word/Excel/PPT support)
- Good backup support (differential backups would be great!)
wait what? i didn’t realize my green eyes were rare. interesting and also that’s a huge jump from 2-4%, honestly at least we don’t have to worry about them going extinct, but still sad
I know it is unpopular nowadays, but it really helps understanding between people if we stop redefining terms all the time. So, let's have a look at what a dictionary definition (taken from [1]) of code is:

1. a systematic statement of a body of law
2. a system of principles or rules moral code
3. a. a system of signals or symbols for communication
b. a system of symbols (such as letters or numbers) used to represent assigned and often secret meanings
c. coded language : a word or phrase chosen in place of another word or phrase in order to communicate an attitude or meaning without stating it explicitly
4. genetic code
5. instructions for a computer

Relevant to the discussion here are points 3 and 5. I would argue json, yaml, and xml, would be called code under points 3 as well as 5.

[1]: https://www.merriam-webster.com/dictionary/code
As a Japanese learner, this has been a massive disappointment in unicode for me, and a pain in my ass. It has sort of formed into a challenge for me, trying to get the characters to display consistently on all of my devices. Believe it or not, even with pango configured to always show the japanese variants, and fontconfig set to always prefer the JP font, some applications like Firefox find a way to mess it up.

Can't blame them much though, han unification is a huge mess and designed by someone who I can only posit to be entirely brainless. There aren't many characters that are affected, you aren't even saving any considerable amount of codepoints. It's just west-centricism and lack of knowledge on the subject.
1300 Linux Commands Manual
Yes; check my blog post [1] or latest YouTube video [2] for details, but the tldr is 0.4W (80 mA) idle minimum for Zero W, 0.6W (100 mA) idle minimum for Zero W 2.

Zero W goes up to 160 mA at load, while Zero W 2 gets up to 400-500 mA due to the three extra CPU cores.

[1] https://www.jeffgeerling.com/blog/2021/look-inside-raspberry...

[2] https://www.youtube.com/watch?v=lKS2ElWQizA
i guess it's just natural distrust of anything that's new (mrna vaccines are most certainly a first time here). And tbh i find this suspicion quite reasonable.
I have been using cuelang.org now for half a year and have nothing but praise to give.
> Neither do we say that chihuahua's and labradors have evolved into their present form.

This is artificial selection. When it occurs naturally, it's called Natural selection & it's the basis of evolution. The mechanism of both artificial and natural selection is the same -- increase of a trait in the population by selecting only animals with that trait to reproduce. Speciation is merely a result of this process.

Btw the pulitzer winning book "The beak of the finch" discusses how evolution actually doesn't need many generations to happen. What it needs is selection pressure -- events (such as severe draught) that force natural selection to happen within a handful of generations. It's a fascinating book on a fascinating study.
Emotional distress has been a concept in tort law for decades and the sky has yet to fall. It's generally measured as a combination of 'here's the awful thing that happened, imagine how you'd feel, jurors' and testimony from the victim and/or psychiatrist(s) assessing the impact of the emotional injury in terms of subsequent dysfunction.
Uh ok sorry. I guess the context for me is a string of 100% crazy mentions of Australia on HN lately - Australia is a totalitarian police state, Australians should all have guns to resist covid lockdown, etc. Apart from that, the usual dangerous-Australian-animal porn.

"This type of humor" is one thing coming from Australians, entirely another just claiming to be from Australia, like it seemed to me. Well, a lot of the meanings were suspiciously accurate, much better than you find on the usual "Aussie english for americans" web pages! Anyway.. good luck.
GIF is a legacy format and it is absolutely necessary. Browser support for APNG is surprisingly good, but that's not the whole story. APNG isn't supported almost anywhere else on the stack.

I don't think any chat platform currently out there will play APNG files like it does with GIF. Usually they get broken by the compression system and only show the first frame. Same for GitHub Markdown, WordPress, most forum software...

As it turns out, the only case wen you can reliably use APNG is when you're the one writing the HTML and at that point it's usually better to use a muted video anyways (far better compression).