skysight-inc/HackerNews huggingface dataset:
stm32g0 parts (for example the stm32g030) can often be in the <$1 range, or <$0.50 at decent quantities. I think there is even an stm32c0 line planned at a lower price point.

There are likely lower cost parts, but the REALLY cheap 32 bit parts are moving to RISC-V, see WCH's recent releases.

Edit: as a specific example, the STM32G030F6P6TR is available at $0.74 for one, or $0.45/ea at qty 1000 over on JLCPCB's part list:

https://jlcpcb.com/partdetail/Stmicroelectronics-STM32G030F6...

I put some of these on a very recent project.
I wouldn't call those metrics arbitrary, they're just trying to measure something different. It's no longer measuring user productivity, it's measuring user engagement. It's no longer how quickly a user familiarizes and gets something done with the software, it's how often and how long the user uses the software.
> Good friend is not, "Will donate a kidney"

I have a rather tighter notion of a "good friend". It includes things like "will not steal from me", "won't betray my confidences", "will be straight with me". Otherwise they're just mates; people I feel OK hanging out with.

I have no good friends just now, and I haven't had good friends for quite a few years. I don't think my standards are exacting; I have mates, but I just wouldn't rely on them. I'd be quite surprised to learn that they were relying on me.

A good friend is a scarce treasure. If you're lucky enough to have one, hang on tight.

[Edit] I don't think you can plan to make a "good friend". It involves trust, which involves time. You can make friends with someone in an evening, but I've never had a "good friend" that I've known for less than a few months. All of my good friends were people I'd known for several years, but it doesn't need to take that long.
Agreed. I don't understand why CSS should know the page's URL. Today, one can use a bit of JS to figure out the page's URL, and use it to add a class to <html> or <body>.
My questions are will vegans or vegetarians eat this? Why or why not? Also what about people that hold cows sacred? Will they be able to eat this? Why or why not?
Technically everything is a ponzi scheme based on the assumption that it correlates with world GDP growth.

Land, Homes, Gold, Stocks are all Ponzi. It's just that the duration of the scheme is longer. If an asteroid hits and kill all humans tomorrow except 100 people, those 100 people can get all the above 'assets' for $0.

E.g The Gold Scheme has lasted over 5,000 years. Who is to say that BTC will not last at least 50. As an investor, it's not whether something is a ponzi or not, but how long the scheme will last.

For something like land, it could well be till the population peaks or Metaverse makes land less valuable or we find another amazing planet where we can all instantly migrate to. But eventually the land that you own will have no value. When is the question, till then you'll keep buying land in the hope of selling it to someone else for a higher value
I don't think this is sound reasoning as the main issue with slavery is the abuse of the slaves. What GP is saying is that animals are more abused by nature than by people. If the same could be proven that homeless would be better as slaves (ie. thag they would not be whipped and worked to death) then that would in fact be better but since we can't make that guarantee and history has generally shown otherwise we do not allow it. There is also the fact that it would normalize slavery in general.
The competition is in many things in Asia we also have Amazon competing with homegrown services as well as Chinese large companies. With how much US politicians harp about free market and competition its funny to me to see that China seems to have a freer market and more competitive landscape. As the Communist party does not want any single company to dominate and get out of its control they do not allow any 1 company to dominate too much so all services and products have competitors.
> from a pregnant mare

I’m quite skeptical about this. How do they obtain and culture chicken cells from a horse?
In 2022 / 2023 you could also consider using Proxmox VE or TrueNAS Scale, where you get much more than a simple NAS.

I've recently built a small Home-Server with an old Fujitsu D3417-B2 Board, 32GB ECC RAM and Xeon E3 1225v5, 2TB Samsung Pro and Fractal Define Mini C for about 400 Bucks total (used) and can now enjoy fully encrypted ZFS Proxmox with LXC containers and Device Passthrough running 9.4W Idle.

I did not expect this to work that well, but I'm pretty happy with this config and using zfs-auto-snapshot from xshock[1] and OpenMediaVault LXC container from tteck[2] just for shares I don't think I would switch to a pure NAS again.

You have to teach yourself some zfs command line kung fu, though.

[1]: https://github.com/extremeshok/xshok-proxmox
[2]: https://github.com/tteck/Proxmox
I'd much prefer apps use Dock menus, like the HIG suggests. [1] There are very few apps that need to be permanently in the menubar. Plus, the Dock offers a much more high fidelity icon to represent your app. Seems like a win-win for users and app developers, but this bad pattern keeps getting copied.

[1] https://developer.apple.com/design/human-interface-guideline...
Is security the same thing as reliability?
I also feel like people who know of and use adblockers are less likely to be persuaded by ads. So losing that segment is not such a big loss for a platform.
Apple hobbled tool of dissent in China weeks before widespread protests
Serious and thoughtful question here, since this may sound flippant -

Could the Apple ecosystem of devices be the factor that enables the distribution of market caps? (Very interesting point, by the way)

I wonder if it explains the somewhat odd gap in the middle of the China market cap distribution, since Android absolutely dominates the China market at the tail end and Apple dominates at the high end.

Apple conflates their walled garden with the high perceived value of their devices, which I'm intentionally ignoring for the purpose of this question.
It’s call FBS, and it can be grown in a lab, too (if it’s even required…). See companies like Future Fields.
That doesn't make a whole lot of sense. For starters you make assumptions about the motivations of all 'Bitcoiners,' even extending your cynical projection to the ones most vocal about using Bitcoin safely.

But let's take the cynical viewpoint. If I, as a hypothetical Bitcoin holder, want the dollar value of my Bitcoin to go and stay up, then the last outcome I desire is for massive volumes of Bitcoin to end up centralized into a few pockets where they will be gambled on and sold when those bets fail. The most cynical Bitcoin holder has it in their interest for all retail holders to custody their own supply.

Considering the educated base of Bitcoiners have been screaming and citing examples of what happened with FTX since the protocol's inception, "Not your keys, not your coins," it's rather dubious to try and blame them. The reason people get into the space and trust their coins to some third party is that those people are chasing the end of a market cycle and never even come across or seek out the wisdom of the people that were they in the beginning.

'Bitcoiners' at large, judging by the on chain metrics for holders through negative price action, would much rather the volatile market cycles played out as a smoothed average with each new user coming in educated rather than speculators rushing in at the end by any means necessary.
For evidence, my extended family down here raises cattle to this day. It's hard to beat doing hardly anything other than let the beasts eat grass for a couple of years. Try to beat that for a cost of goods.
Mauna Loa is part of Hawai'i Volcanoes National Park, which you can visit. I don't think you get too close to the caldera, though. https://www.nps.gov/havo/index.htm
A lot of inedible feed is going to be stuff like alfalfa, which is specifically grown as feed and whose farming has massive negative effects like starving the Colorado river of water [0].

[0]https://www.theguardian.com/environment/2022/sep/12/colorado...
The C standard defines them very differently though:

undefined behavior
behavior, upon use of a nonportable or erroneous program
construct or of erroneous data, for which this International
Standard imposes no requirements

unspecified behavior
use of an unspecified value, or other behavior where this
International Standard provides two or more possibilities
and imposes no further requirements on which is chosen in
any instance

Implementations need not but may obviously assume that undefined behavior does not happen. Assume that however the program behaves if undefined behavior is invoked is how the compiler chose to implement that case.
How do you monetize fashion photography of fake people using fake products? It would be like putting someone else’s products in your ads. I would guess that advertisers want pictures of people wearing their own products?
"goes into". https://youtu.be/yG1OZ69H_-o?t=1039 You mean this slide of the Joker with title "Do I really look like the kind of language that would define its behavior?"

As far as I can tell there is no reason LLVM couldn't compile a document like "On x86 division by zero throws a #DE exception. On ARM division by zero returns zero. On x86 shifting by more than 32 bits shifts by (cnt mod 32) bits. On ARM shifting by more than 32 bits clears all bits. [...]" that specifies all undefined behavior. The current "nasal demons" behavior is preferred in the name of performance on some SPEC benchmarks that nobody was asking for, screwing OS writers and anyone who expected sane language semantics.
interesting slowdown from 2018-2020.

how come we didnt feel it back then?
I just finished V1 of https://wd.gt/ and was thinking of doing a ShowHN today. Basically it's RSS for widgets. You define some json and host it and then you have a dynamic, web-powered widget with no additional app required besides a generic viewer. Rendering these images would be a perfect fit for widget.json.

https://apps.apple.com/app/id6444323235

Edit: Posted a ShowHN here with more details https://news.ycombinator.com/item?id=33777705
I was primarily making a joke. But it is indeed a big pet peeve of mine.

I do find it annoying that one country in the world likes to use it's own unit. And that of course they are not as nice to use as the units optimized for science. It is annoying for international communication.

But my real issue is that Americans seemingly lie to themselves by pretending everything can be rounded off to the nearest approximation of US customary units without consequences. And so anything you buy in the USA; unless maybe when manufactured with US customary units; is not the advertised size. Worse yet, this habit of rounding off is also applied to US customary units in many case. Because nothing is ever the advertised dimensions, or the tolerances are just laughably large. Nothing ever fits. That is what I am fighting.

Ask for a 48" long piece of lumber in the USA, you get something +- 1/4" at best (+- 6.35mm). Go to my home country asking for 1.2m will get you something +- 0.5mm. It's cultural.
Apple has stopped advertising on Twitter. Do they hate free speech in America?
Hey I love your effort. Unfortunately ffmpeg is not a tool that can be properly demystified in one post. Other's have already suggested this but on a desktop browser this guide desperately needs a more visible ToC.

Also one thing I did last year was add floating text to videos with ffmpeg's drawtext plugin, something I think people often want to do. For example adding reactions, or subs. I'd very much appreciate more guides on how to do that.
> With the Apple Watch, I would be uncomfortable starting a dive with less than 80% battery...

You'd get over that quickly if you owned this watch. It stays above 80% all the time, with just a few minutes on a mag charge in AM, while you're showering for example, and a few minutes in the evening (during a TV show or video game, for example), even when using it all day for work notifications and all night as a sleep monitor.

It goes 2 or 3 days without charge, and that's before their software update to get a multiple of that. Assuming a 30W+ charger brick, it's surprising how quickly it tops back to 80% ready to go another day or two. Workout mode doesn't burn much more, neither does dive.

Your other takes could improve with actual use as well. Nitrox and gas config, for example, is on the 2nd to last and last screenshots of the watch app itself.
Great article, though it does give a sort of programmy-algorithmic answer to one of life's great questions. Not saying that's bad, just unexpected.

I was actually thinking about it today. Here's an awkward truth about friendships that everyone needs to get comfortable with: often one of you is more interested in the relationship than the other. You know what I mean. For instance, I was invited to a wedding a few weeks ago. It never occurred to me to write to this buddy in many years, I didn't invite him to my wedding, but he invited me to his. I had a great time, we caught up and had a good talk. The same has happened the other way round, I'm sure. People I like a lot and contact, but they don't contact me. Yet when we hang out, everyone has a good time.

If you act weird about these relationships, you lose them. You don't want to do that, because marginal relationships are maybe the most rewarding to maintain, IME. People doing different things to you in different places bring a lot more into your mix than the ones you see every day. There also tend to be many of these relationship-seeds, so your close friends will grow from some of them.
I agree - for most users safety is more important than "alternative stores".

This post is very manipulative in my view. It would be really easy to avoid that for the authors - just list the downsides of allowing any app to be installed on an iPhone. What are the consequences of allowing your parent to install "Bank of Amerika" on their phone? Exactly.
The way to think about UB is that it’s like a false premise. Anything and everything can be derived from a false premise. Compilers can end up with arbitrarily false conclusions if the program contains a false premise.

The other important thing to realize is that UB is generally a runtime condition and cannot be detected statically, in the general case. That’s usually why it’s been made UB in the first place.
It's more than "common" it's almost 100% guaranteed.
Interesting! I am tech literate and TTS frustrated me and my group of friends so much we abandoned it.

We tried playing Zombicide, and we kept grabbing the wrong minis, or knocking stuff over, and the UNDO feature occasionally destroyed the state of the game. We spent more time battling the UI than playing the game. This was more than a year ago, so maybe these rough edges have been solved now, but they were bad enough to drive me nuts and so I ditched it.
The one thing missing from this list: Compiler optimizations can have undesirable effects.

A trivial example I ran into in an older job: I was compiling a program that relied on libm.so (the standard math library you get when including math.h). Now I wanted the code to use my own custom libm.so - not the one that was installed in /usr/lib or wherever, so I ensured it was dynamically compiled.

My code had some calls like:

int x = sin(3.2);

During compilation, it computed sin(3.2) using the system libm. Notably, it would not use the sine function in my custom libm.so (and indeed, I needed it to!)

And IIRC, even -O0 was not enough to prevent this from happening. I had to go through the man page to figure out which compiler flags would prevent it.

(I don't recall if this was gcc or icc).
> That's why it's safe to eat a rare steak

The USA department of agriculture begs to differ. https://ask.usda.gov/s/article/Is-a-rare-steak-safe-to-eat

Personally I never place much trust in random comments on the internet.
Boston has uniquely crazy walkers. I know because I was one of them. The narrow winding streets and masshole drivers turn the city into an entertaining game of frogger.
That fact that they can find it out doesn't mean you don't have to report it accurately. Most countries around the world know how much salaried employees make and still require them to declare it in a yearly tax submission and if they do it wrong, they'll get fined. The government knowing has nothing to do with you still needing to accurately report it.
Getting costs down often requires preparing for mass production, prior to this, mass production was not viable, this is the necessary next step.
I implemented my company's SVN to Git migration, and so I was familiar with Git notes because KDE's svn2git program[1] supports using git notes for storing information.

Unfortunately, we immediately had to rewrite everything using `git-lfs` and `git filter-repo`, so all the associations were lost and we just ended up stuffing everything into the commit message instead where people could actually see it.

[1] https://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git
New cults pop up every once a while, claiming to have found a new Holy Book that renders existing Holy Books obsolete.

You might not approve of them since there's no objective way to measure the validity of religions/religious doctrines, but they're there.

Some of the more successful ones in relatively recent times are for example Martin Luther, Joseph Smith, etc.
Yeah, I see all my downvotes. I'm not saying it because I strongly favor OR hate either of these systems. I'm not here trying to say "Fiat is dumb and evil and crypto will save us all."

I'm just saying because it's the truth.

We don't do real "fractional reserves," we don't have "gold" etc. Our money is backed up by "America, with the guns, is good for this made up money," which I believe is generally true, and not a terrible system.
Right but will it drop my logged dives? It claims to only store the 15 recent dives unless you subscribe. Really I want to store dive logs in an open format synced via iCloud, Google Drive, or uploaded to Notion, ideally without needing to screw around with a second app, import/export process, etc.
This is more of a marketing or teaching problem than an actual language design problem. It's not about the compiler overriding the programmer, it's just designed for a different purpose.

There were already a bunch of places in the language that required compile-time evaluation- array sizes, template args, static_assert, case expressions, etc. "Can be" is all about enabling existing APIs to be used in those contexts. You can't (and don't want to) force those APIs to run exclusively at compile time, because programs are already using them at runtime all over the place!

This talk about compile time evaluation got some people thinking about all the other things they'd like to do at compile time. And there is a way to do that with just `constexpr`- `constexpr` variable initializers are a new "compile-time-only" context just like array sizes/etc, so you can decide at the leaves what to compute ahead of time, without forcing the callees to be exclusively compile time.

But there seems to be some kind of disconnect in how people learn about constexpr, where they hear "compile time" and imagine a different design than what actually went into the language, then get even more confused when they hear "can be" and imagine it as something that happens at the compiler's whim rather than deterministically based on the calling context.
This is unbelievable. Thanks so much for sharing.
The problem with AVX isn’t that compilers find it difficult to emit enough of them or that people don’t often work on problems that are easily transformed to simd at all.

It’s enough if a small number of libraries use these instructions, and a lot larger number of programs can benefit.

The problem with AVX-512 in my opinion is the sparse hardware support, power/thermal problems and noisy neighbor phenomenon.

To be useful simd instructions need to be widely available and not have adverse power effects such as making other programs go much slower.
The nice thing about having a physics sandbox is that you can implement better interfaces on top of it using scripts, while still having the full flexibility to go outside the rules if your group feels like it. It's possible to implement a more accessible interface for pretty much any game you like.

For example in TTS there's a Catan one that's particularly good. It randomizes and sets up the board for you at the start of the game with a single click. It will do stuff like automatically distributing resources to players based on the dice roll, which drastically reduces the amount of fiddling around with cards. I actually prefer playing Catan in TTS to the official PC port!
But keep cooking your steak in a pan filled of PTFE
Cool, thanks. I might give starship a try.
That’s not how ‘including inflation’ works.

Inflation is literally calculated by taking a basket of goods including things like ‘a basic family car’, and seeing how much it costs.

So if a basic family car costs more today than it did in the past, then inflation will account for that. That’s what inflation is.
I think the notion of double pumping is only in the VMOV operation. Looking at Agner[1], the rest of the instructions have similar Ops/Latency to their avx2 counterparts.

[1] https://www.agner.org/optimize/instruction_tables.pdf
It seems like the "FART" problem is sort-of driving it, but the second URL contains a rough solution to it that doesn't require the (IMO crazy) idea in the main article.

I think the second linked article required an "edge function" to add the data- attribute to the HTML delivered to the client, and I think TFA's author doesn't like the need for that (i.e., wants to deliver a static document), but I think you could do it with some synchronous Javascript; the fallback for clients not wanting JS would be CSS media queries that just obeyed the UA's preferences… which seems like exactly what one should want…?

(So, I'm also missing a convincing "why", here.)
Nature (biological systems) do not in general consume all available resources to die off. It may happen to bacteria in isolated Petri dishes but in open ecosystems there are in general restoring factors that keep populations within ranges. In fact, despite the "inanity" of low life, over geological timescales a pretty nasty rocky planet has been turned into a vibrant biosphere (the Gaia hypothesis - though its validity is not necessary for my argument).

Technology opens up channels that are so "unnatural" there is little to contain them in the short term - besides human reason and empathy ofcourse, but reports on that front are contradictory. There was, e.g., nothing nature could do to fix the depleting ozone layer hole generated through the mindless release of new gases. Fortunately, in that instance, it was technically and behaviorally possible to start reverting the damage. As another, (currently) most extreme example, the biosphere doesn't know how to handle nuclear energy. Its entirely conceivable that geopolitical strife can make large parts of the planet uninhabitable and whether that happens or not plays out entirely in the mental / emotional states of humans.

I stand by my point that human invented technology opens up immense channels for large scale destruction of the biosphere and there is no natural restoring force to ensure its sustainable use. A casual inspection of the speed with which we alter our environment (for the worse) using technology, coupled with the dominant mindset of widespread ignorance of our condition does not bode well. It may happen that we will somehow "grow up" and develop a globally adopted culture of equilibrium within society and with the environment but that is a big if.
>This container is lazy so it takes more time get the view rendered because SwiftUI has to check if each row is visible before rendering it.

There is absolutely no way a lazy grid ends up being "slower" than a huge list of VStack and HStacks

This is a terrible post