skysight-inc/HackerNews huggingface dataset:
There's the Clib initiative at https://github.com/clibs. I don't know how much they curate/review their entries.

As often said, apt install foo is also a bit of a package manager for C.

Maybe we should establish a sort of expert-led central archive of rock-solid, battle-tested C libs/functions/snippets that one can trust ?
> Yet even highly technical fields like scientific publishing, that already use LaTeX for which Git would be a perfect match and could dramatically improve collaboration, still mostly default to sending versions of documents back and forth by email.

I don’t know how true this is, or how you have concluded this. It feels like people you know don’t use git for this purpose. On the other hand, everybody I know uses git with LaTeX. Where does the border go? It might be dependent on the discipline. Biologists might not even know the existence of git.
- templates instead of macros

- constexpr instead of macros

- if constexpr instead of macros

- stronger type checking

- type inference

- strong type enumerations

- namespacing instead of pre-historic naming prefixes

- classes as means to enforce type invariants

I see some advantages.
It also gives body the time to recover from adverse effects of unhealthy food.
Most higher* animals use fat for energy storage and "lose weight" by fasting. This is a universal fact.

All human cultures with abundant food had fasting as a part of their rituals... except for the modern American one... which then spread everywhere through food industry funded "science".

It's not that fasting is healthy... it's the other way around... eating too much all the time is unhealthy. Fasting is the default.
>I haven’t seen any other country that tries new things and willing to spent than the US

The US owns the money printer to the world trade currency (USD), and has the military force to defend this unique position, so of course it can afford to outspend everyone else.
The important thing is "why?". Every code is readable, more or less, but to understand why the code exists is the important thing.
It's not something I worry about (since sleeping is great) but yes, I can sleep pretty much anywhere I'm comfortable. I can't easily fall asleep if my head isn't supported though so falling asleep when sitting upright doesn't really happen. The thing about the method discussed in the article is that your head is always supported so yeah I could imagine myself falling asleep during a long conference call (if I wasn't engaged in the material).
My own favorite syntax(es) are TAL, TALES, and METAL (Template Attribute Language, TAL Expression Syntax, and Macro Expansion TAL). There are many implementations in various languages. The OG implementation was in Python as part of the Zope:

https://pagetemplates.readthedocs.io/en/latest/tal.html

These days I reach for Chameleon, another Python implementation:

https://chameleon.readthedocs.io/

I'm aware of at least five implementations for JS: template-tal, jstal, Distal, DomTal, ZPT-JS.
FreeBSD used Illumos as upstream, then changed to OpenZFS, OpenZFS is the central project who wants to provide ZFS for Linux,Illumos and BSD and maybe others in the future.

https://openzfs.org/wiki/Main_Page

>>The OpenZFS project brings together developers from the Linux, FreeBSD, illumos, MacOS, and Windows platforms. OpenZFS is supported by a wide range of companies.
Setec astronomy.
Good luck with that bud.
That’s not how trust works.
And much like non-smokers are effected by smokers (particularly when they were the majority) non-social media users are still affected in the sense that it has completely changed and polarised our politics, social/justice issues etc.
Same critic can be applied to any language of the same age as C++.

Try to do a pub quizz about a begginiers friendly language like Ruby or Python, that spans over all their versions.
Skype is also pretty much dead now. So the centralisation argument doesn't really benefit from Skype as an example.
That's the problem with science.. To make linear progress we need an exponential amount of scientists. All the low hanging fruits have been picked.
Overages are overages, whether its 1 penny or thousands of dollars. Data also still costs money per time and can be unpredictable.

This kind of pacing and billing buffer is an immense amount of complexity at scale for very little benefit (even if an individual user might like it).
Have you tried this? Because I remember reading somewhere that you need to reverse engineer the protocol they use to send the seat commands and that's a bit harder than simply hooking it up to power. I could be misremembering, I haven't tried it myself.
To my knowledge, those are outreach initiatives by the respective institutions with the goal of appearing more "tech savvy".

It's not that lawmakers or their staff are actually using Git when drafting laws and other legal documents. More like "look, we've arrived in the 21st century, because we allowed one of our summer interns to create this repo in our name".
Here you go buddy ;)

https://github.com/michaeldexter/occambsd

But FreeBSD in itself is already as slim as ~possible (because no installed pkg's)
I just look HN during breaks or when no work is assigned to me
JFYI, around 1993 there was a (not overly successful/common, as it was not cheap) device that essentially was that, the Compaq Concerto:

https://en.wikipedia.org/wiki/Compaq_Concerto

The design was clever, the "tablet" part had a metal bracket that was used to support it when on a desk and the (small but not bad at all) keyboard was detachable and was connected by a short cable with a "normal" PS/2 connector, here is a photo where you can see the detail of the detachable keyboard:

https://www.pinterest.com/pin/780952391606611051/
when every other field, including science and civil engineering, seems to get away without it or any equivalent tool?

I've worked in civil engineering and we definitely used 'equivalent' tools, primarily Projectwise and Perforce. The main problem is that git's support for large files and binary data is pretty bad, and no one over at "git HQ" seems particularly interested in solving the problems this market has. All the Git UI tools that exist are written by and for software developers, with no thought as to what the actual needs of managing a large Civil engineering project actually are. Git offers no value, compared to other tools, if 90+% of what you are checking in are things like CAD files, Excel sheets, elevation models, and geotechnical survey data.
How to Learn Nix, Part 47: New and unimproved shells
I love Reddit, but I wish it was a little less toxic sometimes.

Reducing toxicity online really is a hard problem.
What's so great about Waterloo? It is nowhere near Standard/Caltech/MIT in competition. The quality of students is also just above mediocre given the smaller talent pool of that exists in Canada.
There a lot of industrial diseases like myopia or bad teeth/jaws that they avoid but in exchange they suffer from different but more severe illnesses due to lack of clean water and healthcare.
Search Organizes Information
Just a (small) conflict of interest. Nothing to see here. Please move away and let corruption do its job.
I suppose if you take $10 as the price of a pack of cigarettes and $15/hr as the wage earned, then you could argue 2/3 of an hour of leisure time/personal life is lost per pack purchased/smoked.
Interesting. The latter reminds me of a book ("Drop Dead Healthy"), where the author tests a similar technique to incentivize productive behavior. There it goes a step further, though: If you miss a deadline, break a promise, etc., you must donate a specific amount to a cause that you despise.
Banks, and other companies, can indeed have shareholder votes to make decisions. You can't vote with dollars directly but you can buy more shares.

So shares are similar to governance tokens in DeFi projects. And in the real world, people also borrow money to get more than 50% of the shares. This is called a leveraged buyout.

However, the difference to DeFi is that shareholders have certain rights (like the right to share in the profits and assets) that are protected by laws. That means a majority shareholder cannot take actions that amount to stealing the company's profits or assets from other shareholders, or they'll be sued. They may do things that the other shareholders don't like, like dismantling the company by selling of parts for cash, but they'll have to fairly share the proceeds.
> It looks like typeof() is being added it C23, so his complaint about it sort of makes sense.

To my knowledge typeof was discussed but not adopted to C23, but well, yeah, the proposal is still being updated as of February [1] so it's still on the table. Your argument with chibicc is actually great, though I personally think typeof is too much (in the same reason I think _Generic and <tgmath.h> is too much: they only solve overly specific problems).

> Also, I'm not sure what 1000 functions you're referring to, [...]

This one was my slight misunderstanding. I should have said 200+ functions, and they mostly come from the updated IEEE 754 standard and additional floating point and decimal types [2]. 1000 was the number of additional reserved identifiers. Still I feel uncomfortable about this sudden explosion in the single global namespace of C.

[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2927.htm

[2] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2426.pdf#p...
This seems accurate. Reminds me of libre office which has a settings page to pick between 5 different toolbar UIs. I have got to the point where I don’t want to be customising my toolbar. I just want the default one and I want the default one to be the best UI. While the default on LO hasn’t progressed in 20 years.
> Some business laptops from Lenovo, Dell, and HP rank among the most repairable laptops

I can confirm HP isn't too shabby. Very easy to take apart, and they even put out maintenance and service manuals, at least for their Pro/Elite Desk/Book lines. They show how to disassemble them, the possible part-numbers (for example the different available keyboards with or without backlight).

I've never had to actually source any parts so don't know how easy it is, especially once they get old.

But, in general, I would personally not recommend the laptops. They're cheap junk with ridiculously bad screens.

The desktops are quite OK, though.
I remember this from my Windows XP days (spent another two years on Win 7, before switching to and being happier with Linux). No interest beyond nostalgia but indeed here I am reading at least the comment thread :). Gotta agree that I'd also not use it for anything serious, like it's perhaps useful as hardening for your browser because no regular exploit will expect it, but that's about it. I was already weary of it with my limited security knowledge back in the teen days, and reading of someone whose browser password was stolen, I'm happy that I didn't trust the claims that I seem to remember it making back then. It's a bit similar to containers I guess: probably even safer but even as a security person I don't trust myself to configure those malware-proof.
Stable or cryptocurrency, pick one.
> ... especially in Golang where cleanup deferrment is encouraged and touted in lots of example code

Go's os.File is not a plain file descriptor. It can be safely closed more than once and will close the underlying FD only the first time the .Close() method is called.
Do you know Penpot? https://penpot.app
Its like, sketch/figma online, collaborative and open source. Its not at the same level of Figma but its pretty good!
This is also why many Northern Europeans in old photographs look so ghostly – the chemistry is really sensitive to the blue of the irises in their eyes so they turn nearly as white as the eyeballs.
Do you mean this in the sense that all perceptual experiences seem somehow unsatisfying when quantified? That is, we can study the sensors, we have some ideas about how the signals from those sensors are post-processed in the brain, we can do experiments to determine what things people can (or do) differentiate or detect, and we can observe that have enough of a shared experience of the experience to be able to discuss and use the concepts in practical situations. However, for all that, somehow we have the feeling that we're not able to describe the "real thing".
Actually, his character in Repo Man goes on a rant against communists that seems out of place -- unless it's the same person from Red Dawn. So it's probably part of the RDCU (or Dawniverse if you prefer).
Wait you ssh into a BeagleBoneBlack and compile C on the device?

I’ve seen some janky envs in my life but this is pretty high up. Do you never enable LTO when linking deps? These devices are literally 1000x slower than a typical 8 core desktop.
It broke last Thursday but is back again.
Whole of the UK is trivially purchasable: https://shop.ordnancesurvey.co.uk/maps/paper-maps/
On most embedded systems you cannot include std. You don't have a decent memory allocator. Bad use of templates will consume all of your flash space (code duplication).

Yes, it can work for simple Arduino sketches, and I won't say that there are not complex embedded projects in C++.

But... why should I want to use C++?

For one, I use a small subset, like it's C with classes. I like function overloading and default argument values, initializing default values for some structs, not having to type typedef struct, the fact that for a time I could declare variables mid-function and using literal bool, true, false, etc.

But full-blown C++ on embedded (MCU)? I think I'll pass.
this article may have a good point, real shame the author attempted to lose 40% of readership in the first paragraph
A full blog post just to say they're spinning up a proof of stake ETH node?
When you do research, you select your sample judiciously, and you never really sample the whole population. Depending on the research question, you sometimes want to select a sampling technique that is not representative of the population.
/s I suppose?
Fasting is not malnutrition. A typical human even lean one has enough fat to survive without food for 30-40 days without significant loss of lean mass. This sets us quite apart of other animals including apes.

One starts to loose lean mass during prolonged calorie deficit which takes months.
The cigs were a much better price proposition before smoking was ostracised. Pennies on a dollar.
That's controlled by total calories. Fasting improves body composition for diets with the same macros.
Maybe SpaceX could survive as a satellite launch company using Falcon 9, but if we accept the premise of Elon Musk funding this company to go to Mars, would he continue to provide that funding if plans for the Mars missions go up in smoke?

As for Starlink's commercial viability, it seems reasonable enough if they can launch hundreds of satellites at once with a cheap fully-reusable rocket. Right now they can't do that, they can only use a semi-reusable rocket that launches tens of satellites at a time. So far they've used this to launch 2000+ satellites, which is impressive, but is that enough? I don't think so, because they've received approval for 12,000 and sought approval for 30,000. What they've launched thusfar with Falcon 9 seems to only be a small fraction of what they want. The constellation isn't a one-time expense either; it requires constant upkeep because these satellites are low and only last a few years.

I think they've been making do with what they have, knowing that Starship will be necessary to make the business work in the full scale / long term.

> Also companies are trying to support themselves by "only" being a rocket launch for hire.

Well that's the other thing isn't it? SpaceX is very invested in designing rockets, but doesn't seem to give a shit about colony technology. Doesn't that seem odd to you? Elon Musk constantly talks about going to Mars, but isn't interested in actually developing a Mars colony. Instead he'll leave that part to other groups, and focus on making the spaceship that will get them there. In other words, he's building a bridge to nowhere and is counting on somebody else building the destination required for his bridge to make sense. For a man who supposedly endeavors for Mars, this seems absurd. Instead of buying twitter, he could be throwing tens of billions of dollars at colony R&D. But he isn't.

I don't think Starship is for going to Mars. I think it's for rapidly launching and replenishing large constellations of satellites. Probably for military purposes.
> Bitcoin is a long term bet on collapse.

Honest question: if you truly believe that, how do you account for the infrastructure required to mine it in a post-apocalyptic society? How do you guys envision a post-apocalyptic world where BTC is even remotely viable?
I switched my Twitter Trends location to Falkland Islands and my feed to "Latest Tweets". I guess this technically now is a filter bubble, but I don't feel like I have the obligation to expose myself to algorithmic content and its generated outrage.
In theory, that's a sure way to get diabetes. If muscles and organs don't take glucose from blood it remains there.
The people with usual pro-life discourse are also pro-guns, and generally are only pro-life when it comes to fœtuses…

So them insisting they care about life is just dishonest. It’s obviously to enforce their archaic views of the world. It’s not even written in their beloved Bible, it’s a made up concern.

If you buy into this pro-life bullshit, you’re either being manipulated or dishonest.
>the 4a will not get you out of a breathalyzer test if you get pulled over for suspicion of drunk driving

it doesn't? AFAIK you can refuse such a test, they really can't force it on you. of course if you do there will be consequences, but if you don't want the government to know your blood alcohol level you absolutely can. most probably you will be sentenced for driving under the influence, but that would be just a sentence and not actual provable data about you.
It doesn't need to benefit the employer for it to be overwhelmingly beneficial for everyone else.
An offline copy of wikipedia would be the next most important thing to membership in a community.
40 years ago those newly hires would have only learned BASIC.

Except at least BASIC had compilers available, and Darthmound BASIC was originally designed with what we call JIT nowadays, even if that wasn't a thing on 8 bit home computers.
There's something to the whole regenerative thing and fasting.

Best I remember feeling in my adult life was after a 60 day fast. Not what I'd do today, or at least not the same way, but I highly recommend every healthy human fast for at least 7 days once every couple years.

The plural of anecdote is not evidence, YMMV, consult your doctor, I don't even play one on the internet, etc.

That being said, I'm currently on day 3 of an extended fast myself.
You definitely don't need to consider a hiring pipeline with Common Lisp.
1-2 people are enough to write and maintain it.

But if you prefer 500 devs instead you should consider ruby, python or PHP. Middle managers are getting high on these numbers.
why would you pay 110% up front to demolish? It seems like they are intentionally incentivizing the worst outcome.

Or is there some reason they wanted these people to demolish their homes? I mean if they were trying to avoid claims on these homes, it seems like those claims would only pay out 100% right? so now they are opting in to paying more than their worse case scenario?
> The researchers found that fasting dramatically improves stem cells’ ability to regenerate, in both aged and young mice.

Need a human study to answer other questions.
Any thoughts on Dai stable coin?
the secret sauce is fraud :-)
There's a less expensive solution with a more stable monitor mount. I have one on order that should be shipping soon.

https://levus.co/
Lua has no OO, and changes its stdlib all the time.
Anything you can learn or use from Shedskin?

https://github.com/shedskin/shedskin
> Alternatively he thought it was a worthwhile policy and hoped the constitution would be amended by the time it took effect, if not, then he had multiple years of his preferred policy in place.

So if I believe something I know to be blatantly illegal is "a worthwhile policy", doing it anyway is OK then, especially if I feel confident I can get away with it for a few years? Does this also apply to policies you personally don't feel to be worthwhile?

> Are all of the unconstitutional ratchet laws that were passed during the Roe era political grandstanding?

Trigger laws you mean? Of course it's political grandstanding, but there is still a night and day difference between having a law which explicitly says it won't come into effect until e.g. Roe vs Wade gets overturned such as here:

https://revisor.mo.gov/main/OneSection.aspx?section=188.017#....

and just passing some law you well know is unconstitutional but trying to enforce it anyway, till the courts actually stop you a few years later.
Before Ships Used GPS, There Was the Fresnel Lens
> Marketers and documentation writers use markdown and git for building websites and books.

In the software industry, sure. Outside of it, I'm willing to bet that 95% of marketers have no idea what Git is.

And Markdown? This again seems highly specific to the tech/open source/blogging microcosm. In the "real world" it's all Microsoft Word, or DTP tools for people who are closer to the printing process.
> Can you write one file of C code and compile it easily for multiple platforms or is there a lot of caveats?

Target POSIX, and there's very few caveats. You're looking at portability as "how many processors can this run on". Think of it more as "how many places can use my library if I wrote it in C".

You're missing the major upside of writing in C: if you write your library in C, it is callable (with no changes) from Python, Ruby, Java, C++, C#, Lisp ... just about any language, really.

The language is so simple that an automated tool can be used to automatically generate bindings from your language of choice to C. I use Swig. Look into Swig.

You see C as an ancient dinosaur with no use, the reality is that it is usually the only real way to write reusable software[1].

[1] Sure, you can write in C++, but you'd still have to wrap it in C.
Social media allows people to feel less alone, I guess...

The problem of internet is toxicity, where users feel they can disrespect others without consequences, something they would not do face to face.

It seems there is no good solution to this problem, except reducing the size of communities so they don't feel anonymous.

I really think the website who will solve the toxicity problem will win a lot of money.
Why doesn’t DigitalOcean go after the enterprise market?
From their latest earnings call “Average revenue per customer in the quarter was $68.90”.

This seems extremely low, and suggests the vast majority of their customers are on their base $5/month plan.

Doesn’t the company have sales teams? If not, why is that? And if they do, why are they so ineffective?
sound like FUD to me!
/s
I still remember when social media/web 2.0 was kicking off. All my mates were on it. I tried I really did but I thought the whole thing was a waste of time. When I finally learned the true intent behind these platforms wasn't connecting people but was making money from those people (connecting people is just the hook) I was done.

Having seen how these platforms affect my children I'm now dead set against them.

You literally are the product, and are manipulated to stay on the platforms to continue to be so.

This is my long way of saying, with personal annocdotes, that I am not surprised at all by this finding.
Absolutely. When I had a workout (or went running or hiking) on the same day or even the day before, it is extremely hard to keep my eyes open after 9:30pm. I could be watching / reading the most exciting thing.

When I "just work" i.e. don't do much in terms of physical activity, I can stay awake as long as I want.