skysight-inc/HackerNews huggingface dataset:
As I understand, the only ones' complement architecture in active use is UNIVAC (yes, believe or not UNIVAC is in active use and Unisys provides commercial support).

Non-8-bit char is a bit more common, probably the most common is TMS320 C5000, see https://lists.llvm.org/pipermail/llvm-dev/2009-September/026... for an example. As far as I know there is no GCC port, but it could very well have one, after all TMS320 C6000 port is upstream in GCC. (It is c6x in your table.)
13. But if the line with UB isn't executed, then the program will work normally as if the UB wasn't there.

14. Okay, but if the line with UB is unreachable (dead) code, then it's as if the UB wasn't there.

15. If the line with UB is unreachable code, then the program won't crash because of the UB.

16. If the line with UB is unreachable code, then the program will at least stop running somehow and at some point.

This is nonsense. The line with UB has to be reached for the execution to be undefined.
Your comment reeks to high heaven of textbook engineer. The practices you advise do not survive in a world of bottom dollar commodity pipe fittings.

Everyone with dirty fingernails knows that 3-4 wraps is a pretty good rule of thumb for fittings that are meant to go together and you need more when you're mix and matching BSP and NPT threads because you have a larger leak path to take up.

Nobody bothers stocking multiple widths of tape. That only makes sense in a production environment where you're only ever working with one size and can build to it.

In a pinch you can "augment" things like compression fittings with tape on the OD of the ferrule.
True, only executions of a program that exhibit undefined behavior are affected.
But the moment it is clear a program will exhibit undefined behavior, the compiler is already allowed to do whatever it wants. So if 20 lines below an important function call you will certainly call a function that will certainly cause undefined behavior, the important function call can be already be left out.
As someone with no deep knowledge in virology, epidemiology or even biology, I tend to agree with you. However I also understand how having the virus originating from China , maybe, or maybe not, from a lab leak, and having china so hell bent on a 0 covid policy going so far as boarding and ceiling the doors of appartment buildings might be frightening even if the virus has been well studied.

Let's say you're the head of a fancy lab with all the equipment and a team that does everything you ask gratis. You go to have lunch and get some soup. The owner comes to you with your soup and say " Here is you soup, nothing's wrong with it, just a normal, regular soup I can assured you that nobody dipper their balls in it or added anything dubious to it haha, go ahead and eat" and then turns around and yell at the kitchen staff that they better not eat the soup .

You decide not to eat the soup, you take it back with you and run every possible test on it. All the tests come back normal you can't find anything weird in it. Do you eat the soup ? More importantly do you brush the weird behavior of the owner off or do you keep wondering what the hell have they done to the soup ?

I'm not saying this is a perfect analogy but just trying to explain why some things might make us uneasy even if logic tells us we shouldn't.
What if the UB is in constexpr function used during the compilation?
Honestly, billing is really not that hard. I've built some billing systems myself, and although it's easy to make mistakes if you read up on the known pitfalls rolling your own billing system is not a big deal.

One key thing to remember is that if you want your billing to make sense to your customer you can't get too clever about it. A few rules of thumb: when you have to round anything, round in favor of the customer. Split the logic that calculates what should happen and the billing part of the billing system. For example, if you store a next_billing_date for each customer you can trivially adjust the date as needed, but if you have a crobjob that calculates which customers should get billed and then immediately bills them manual overrides are harder.

Giving a user what amounts to a few free days of service when they upgrade/downgrade is no big deal. Especially because you should see more upgrades than downgrades in any given month. In some cases the easiest way to credit people is to move their next_billing_date forward. For usage based pricing (e.g. number of active users in a month) do the easy and fair thing where you take the minimum of active users during the month (store num_active_users each night for each customer, and use that for billing and for user facing billing dashboard). Otherwise you get edge cases where you overcharge customers when they add and remove many users because then the max of unique user ids is >> the number of active users at any given time. The example query in the blogpost gets this wrong.

The SQL query that aggregates the number of API calls for a user is wrong for the same reason because it confuses API calls with billable API calls. You should have a cron that counts the API calls for each user and stores them separately in a billing table. Then when a good customer has a junior programmer make a ton of API calls by mistake you can easily go into the billing table for that customer and manually adjust the usage, with total confidence that future invoices will be correct. If you compute the usage at the time of billing then everything gets needlessly complicated.
It's probably about saving face. There is no way they would buy western vaccines because that would be admitting theirs don't work as good.
> Why not javascript specifically?

Javascript has one number type; float.
Emotionally Intelligent People dont need the three-word phrase because they can understand and comprehend human feedback.
> there are better and worse things compilers can do in the presence of UB, and the big one is warning you about it when it possibly can.

GCC should add -Wundefined-behaviour flag that will unconditionally print "warning: this program might or not have UB" as the first diagnostic.
That (or more general 13-16) also does not make sense to me. Most UB (although perhaps not all, so it may be true for some obscure UB, or ones with constant arguments) are undefined for specific dynamic conditions, so it is not 'line with UB' but more 'line with UB under specific program state', e.g. expression 'a / b;' has UB if b == 0, 'a->item' has UB if b == NULL, or 'a * 4' has UB if a is int and large enough to cause overflow. If the expression is not executed, the dynamic conditions are not there, and therefore there is no UB.
> The most obvious solution was a bridge.

> This is what they came up with: a 3 km long cable-stayed bridge sitting about 65 m above the water ...

Confederation Bridge, linking mainland Canada with Prince Edward Island (highway only, no rail) is 12.9 km long.

https://www.confederationbridge.com/site/about

That's pretty insane.
I see. Yes, many of these tools aim to be rather universal, which is detrimental to "leanness". OTOH all these bloaty tools are relatively well understood. E.g. being able to write unit files that heavily up the security of random daemons is really something I learned to value the last years.
But I only used init.d as an alternative, so my horizon is a bit limited in that regard. Not using glibc, well, I was under the impression this causes a lot of pain for a general purpose Linux.

Regarding the "growing" OS, hm... I've manually checked what's installed on my Debians using aptitude, and removed old stuff. Similarly, I could let pacman produce a list of installed packages to audit and check which are not required anymore. Either case needs manual action, because the automatic tool will not know if I still need that random python lib I manually installed, or if it can be removed (truth be told: neither do I!). Now for unused dependencies this is different.
Pulling in lots of stuff is a problem, yes. I think this could be solved by building those packages with a modified PKGBUILD locally (making it more like Gentoo), but for my "Linux on a big machine" I never saw the need to try that.

Anyway, I didn't read it like you were claiming Arch to be a poor choice :)

Thanks for the reply, I really appreciate the perspective. I don't want to drag you into a discussion over details, especially since I don't feel like "you're wrong". So feel free to just let it stand like this. OTOH, what are your favorite glibc/coreutils/systemd/PAM replacements?
I'm sure something of the sort would have happened without him. But he's not the type to do anything in response to this or confront CCP with the regular praise he heaps on them. He even said Taiwan should be part of China like HK.
There are GUIs for ffmpeg out there, I haven't used one in awhile but they exist
React Beta looks promising, thanks!

The existing codebase was unfortunately developed by not-so-senior people, so I'm reluctant to just jump in without first trying to establish a base line. I mean I saw some of their Java code, it was... interesting.
>"Pipe dope is generally stronger seal than Teflon tape, which is why plumbers and other professionals use it rather than tape for seals that are permanent."

They use it because it's faster. As long as it's good enough any performance difference is secondary.
Thanks for the excellent summary.

And very good point about the Overton window aspect of this issue. There's a large number of things in this world that might potentially be improved but people aren't allowed to discuss the problems or solutions freely.
> I’m interested in how companies create 10x engineers.

How do professional sports clubs create 10x athletes? I expect the answer is that they don't. They seek out 10x athletes who were most likely born with certain qualities that allow them to stand out above the typical player. It would be a lot simpler for them if they could simply choose any person at random, put them through a training program, and output a star athlete but the world does not appear to work that way.

I imagine engineering isn't a whole lot different.
No it doesn't. Modern processors do out-of-order execution, so your program might be doing UB before you expect.
When you think about the volume of divisive political messages that have been coming through over the last few years, you have to assume that it’s Russia driven. They’ll amplify anything that divides the US.
60% of the time, it's right every time!
Dropping me in the middle of a confusing, convoluted code base and tasking me with finding my own way. lol

Seriously, though, even if the code itself has lots of room for improvement, the product is great and the team is competent and laid back; they trust me to take my time and do the right thing, and aren't breathing down my neck to get features out by end of sprint.

So give me the spaghetti code base with a non-toxic work environment where everybody is dedicated to incrementally fixing and improving it, any day.
That is the observed behavior of the compiler not the defined behavior. (and while there’s some logical reason to assume that will likely continue to hold, the list is falsehoods programmers believe about undefined behavior, not observed behavior.)
"Integer number of cents" is a fine way to deal with money unless you want sub-cent units. Otherwise, you can divide it up smaller: a few stock exchanges use [price in dollars] * 10^8 as their price unit, and store a 64 bit int.
Is it a headline in international news? I don’t think anyone elsewhere cares to be honest.
Seems to be the case, here is the Google Trends for comparison https://trends.google.es/trends/explore?q=react,svelte
Plumbers, HVAC technicians, Electricians - not only will they survive, they will never be outsourced to cheaper countries. And since Gen Z seems to have little interest in working with their hands, I suspect there will be an acute labor shortage in the trades that continues to drive their already high incomes, higher. As an added bonus, there is no need to all flock to the same handful of overpriced cities.
Long ago I realized that the “cure” that is a HOA is way worse than the disease that is messy neighbors. And with what you save in hoa costs you can buy into a better neighborHood anyway.
> I cannot say I have ever written anything that ran into or caused undefined behavior.

But how would you know? :)
There was a decent wrapper tool called "transcode" which I really liked. Unfortunately went unmaintained and seems to have been forgotten by the internet (webpage has went away and I can only find some traces of its existance in some wikis).
This is currently my top concerns with my career/job.

Biggest obstacle; time/energy. 40 hours with 10 hours a day invested in the job leave me with zero motivation to further do training. Risking burnout here, I need to get away.

My employer current and past has no problem teaching me what I need to know to do my present job but zero involved in progression, that's 100% on me. Obviously that's their prerogative. They all do generally pay for things I take electively, I just need to figure out what I want to do and figure out when to do it.
Got you. It seems like I'm the one misremembering. I thought they'd gotten more sophisticated than that by the end. I guess the story makes the ideas seem more powerful than they'd appear when laid out in a straight-forward way against competing processes.
Only a soundbar with a dedicated center channel, that can be individually adjusted.

So not 2.1. 3.1 possibly.
To update my own answer: You can use shortcuts to run a yt-dlp on youtube videos, which you find from an RSS feed of the youtube channel. Requires 'a-shell mini', shortcuts app, ffmpeg, and some patience.
https://sega.fandom.com/wiki/Bleemcast! for those wondering
Seems like a bad bet to me, and I’m the most cautious pro-vaccine, pro-mask person there is.
I think the -10x engineer is more common, and therefore this type has has more overall impact, than the +10x type.
"All in all I'm being much more careful when researching dependencies and libraries before bringing them in." - As everyone should be. Folks are too blasé about importing bloated dependancies.
Has anyone ever set this in context by doing one of all the non-UNIX OSes?

There are really less than ½ dozen "Unix" OSes. 99% of them are variants on a theme.

#1

There's AT&T UNIX, including System V. That includes UnixWare, SCO OpenServer, Solaris and OpenSolarism and HP-UX .

Are any other SysV descendants still on sale?

#2

There's BSD.

That covers 4 FOSS BSDs I can think of offhand, plus AFAIK IBM AIX is derived from BSD. Anything else commercial?

#3

There's macOS. XNU is based on Mach. I can't think of any other current Mach derivatives. The HURD if you're generous.

#4

There's Linux, including Android and ChromeOS.

#5

There's QNX.

#6

There's Minix 3, which now mostly uses the NetBSD userland but has its own kernel.

Is that it?

Any other self-hosting, native on bare metal, Unix-like OSes?

I know a few things can emulate UNIX well enough to pass the Open Group tests if they cared to: IBM z/OS, OpenVMS. MS has 2: NT's POSIX environment, plus WSL1. But their native OS design is not Unix-like nor meant to be Unix-compatible.

Plan 9 isn't a UNIX although it is the one true direct offspring of UNIX. And Inferno is even less UNIX-like.

Serenity OS is not self-hosting and barely runs on bare metal.

HelenOS and Redox OS are only remotely superficially Unix-like.

Everything else is either dead, or historical and only runs in VMs or on emulators.
>ALSO, helpful hint: If you are mixing plastic pipe (like schedule 40/80) and metal pipe, always have metal female couplings and plastic male couplings. A metal male going into a plastic female is one tighten away from cracking the plastic.

At some point it becomes easier to just think about what you're doing avoid being ham fisted moron than it is to seek out parts and design things to be accommodating to that kind of behavior.
What would a better interface be? I mean in C, of course!
Add Material Icons to Your Ruby on Rails App
Yesterday, I released the v4.0.0 of this ruby gem. It includes the latest version of the Material Icons library (+2500 icons) and support for icon variants (round, sharp, outlined and twotone).
There's probably a lot of know how in the form of trade secrets on top of patents. And in any case, merely copying what's in the patents does not help you as far as certifications are concerned, it's almost impossible to get the exact same end product, and who knows how that turns out once injected.
It's interesting how often Sears Roebuck is mentioned. The Amazon of the time!
I think the "code" of the vaccines is pretty much open. It is the production line, that is complicated and hard to set up, if you want to achieve some quality vaccines.
What matters is how people here would interpret your statement “camping in my backyard”. I think most people here would interpret that as “too close for comfort”, not “somewhere within my 24 acre lot”. Therefore, your statement is misleading. Ergo, FUD.
Ugh, you're right, I read the wrong link. Sorry.
They have enough vaccines, they just can't persuade their vulnerable population to take it. Old people in particular don't trust modern medicine and don't trust the government.

You know how some old people believe all sorts of conspiracy theories about the government? Because their government was actually evil during their lifetime, it becomes much harder for them to believe that this one time the government really does want to give them medicine for their own good.
>i do wonder how easy/hard it really is to reverse engineer a vaccine

I think it's easier to gain this information via hacking and data theft or paying insiders for documents than actually reversing the vaccine.
Cassian himself mumbles a lot, in my opinion. I watched the whole series with subtitles. How about that show, by the way. Amazing.
You’ve never had an integer overflow? You’ve never dereferenced a null pointer?

I suspect every C programmer invokes undefined behavior in their first 50 hours of writing C.
This is nonsense. Omicron is quite mild compared to the original strain. Death rates from COVID in western countries is now minimal. Time to move on
The compiler may make optimization decisions based on the presence of UB so the code only needs to be present.

The compiler can't know that an arbitrary part of a function is unreachable if, for instance, that code path is controlled by a parameter or global state since that equates to solving the halting problem.

https://blog.llvm.org/2011/05/what-every-c-programmer-should...
Surprisingly, there doesn't seem to be any link on his page to this reconstructed commit history in github

https://github.com/dspinellis/unix-history-repo
I'd take a 1x engineer over a 10x any day of the week https://1x.engineer/
Yea this is all great until it stops working. I’ve had a FreeNAS build sitting for 3 years and one day I notice Time Machine says it hasn’t backed up. Time Machine refuses to use the disk and says the samba disk is incompatible (code 3 in the logs). It’s the same Samba share I’ve had working on 3 Macs for 3 years but one day my M1 had enough.

Apple support is less than helpful.
Maybe Handbrake ( https://handbrake.fr/ ) ?
I was about to say the writer doesn't seem to have been very careful with their words but then I checked the article and you have been very careless with your quoting because the entire next paragraph is very relevant the income of mothers.

Did you not read that far or did you choose to not include it for a reason?
Cryptocurrency is as much a ponzi as it's a car.

Cryptocurrency in general is not an investment promising profits, but a tool for payments (or a smart contract platform, whatever).

A Ponzi scheme is a fraud which takes money from investors, pretends to invest it in something profit-generating, but only pays out profits to earlier investors using funds from more recent investors.

Cryptocurrencies like bitcoin, ethereum or monero are nothing like a ponzi scheme. There's zero pretence that it would be a profitable investment. Who would even be paying you these ponzi-dividends?

It's utterly stupid to make me spell this out, presumably anyone making the claim that "The entire crypto ecosystem is a ponzi" should know what those things are.
It seems to have been a song in a 1935 review called "At Home Abroad" - not sure if that's the original source though...?

https://jacksonupperco.com/2014/05/26/a-little-song-a-little...
Animated Portable Network Graphics (APNG)
Much as I'd like to stay out of this thread, I can't resist - that average includes both male and female account owners (of unknown distribution) right? (You haven't said otherwise.) So what does that say about GP's argument?
Ask HN: Password manager that doesn&#x27;t suck?
I want a password manager that does not "suck".

What I want/need:

* somehow integrates into iOS Safari

* somehow integrates into macOS Safari

* somehow integrates into Chrome

* somehow integrates into Android

* has password history (that is non-negotiable)

* isn't owned by shady company and pushes weird nonsensical features (VPN, antivirus, etc) or popups

* cares about synch for me (so no KeePass)

* ideally a bit secure

I am able to pay a bit, but not insanely much.
Quite interesting .

I have tried ketamine for my PTSD and hasn't worked but stellate gangelion block worked perfectly after just one session .
They may be talking about immunological imprinting[1] - Something possibly resulting in a less than optimal immune response - from the initial vaccine creating highly specific antigens, thus not as comprehensive as an initial natural infection might give to prime the immune system against the virus and its variants.
[1] https://en.wikipedia.org//wiki/Original_antigenic_sin
Knowledge of this kind of disruption leads to more disruption? Why? What theories support this? Has this been shown empirically?
> This is nonsense. The line with UB has to be reached for the execution to be undefined.

Check the footnote at item 14, it links to a page which shows one example of how a line with UB can be reached (basically: the optimizer can reorder the code so that parts of the line with UB will run much earlier than you'd expect).
"but it worked fine before" talks about the observed behavior
You're not supposed to exceed the speed limit either...
In "news" today the narrative is all that matters. Facts are not important.
Bahamas Attorney General Gets Defensive as FTX Users Wonder About Bankman-Fried
Chinese Students Protest via Maths
Google have a special naughty list for anyone who google searches automatic or paid captcha solving, which makes recaptcha stricter for a few weeks/months. I wouldn’t be surprised if they apply it to visitors to this chrome web store page and/or installations of the addon
There is nothing wrong. Except that a subset of GCC users prefer -ftrapv and another subset wants no overhead, so the status quo remains.
Taiwan has had the same struggle as mainland China, when it comes to vaccinating old people.

First of all, mainland China's numbers are similar to those of Taiwan. As of March 2022, 82% of people aged 70-79 in China had two shots, while 51% of people aged 80 and up had two shots.[0] These numbers have probably come up a bit since then.

Second of all, Taiwan has a similar curve of vaccination rate vs. age. In Europe and the US, vaccination rate generally rises with age. In mainland China, Taiwan and Hong Kong, it's the opposite, and quite dramatically so.

0. https://www.statista.com/statistics/1306112/china-elderly-po...