skysight-inc/HackerNews huggingface dataset:
> I wonder how your programs do I/O if not with strings.

There's this one weird trick we call binary. Let me give you an example of how I did I/O yesterday:

static void usb_tx(struct usb_ep *ep, const void *data, uint len) {
if (len) memcpy(ep->buf, data, len);
*ep->bufctl = BC_FULL | ep->datax << BC_DATAX_S | BC_AVAIL | len;
ep->datax ^= 1;
}

Usage example:

struct kb_report r = {.m={.id=KB_ID_M, .x=-a[1], .y=-a[0]}};
usb_tx(KB_IN, &r.m, sizeof r.m);

stdin does not exist in this program.

> As another comment pointed out, C has many flaws unrelated to its standard library.

Yes it does, but this thread has already become a tangent of a tangent. Let's not turn it into a general diatribe against C, as opposed to a discussion about the library interface that TFA takes issue with.

> You know what's the main cause of dependency hell? Needing a library for every basic thing. Notice that mountains of dependencies are much less common in “batteries-included” languages.

In theory, yes. Like I said, libc sucks, and I would love to have a better standard (or de-facto standard) library. But anecdotally C programs are not very prone dependency bloat, perhaps precisely thanks to the fact that C doesn't have a de-facto package manager that allows you to just install a bunch of crap.

Anecdotally, "batteries included" languages are still prone to dependency bloat if there's a package manager. This includes recent experience with Python (I can't remember the last time I had to lay my hands on a python project that didn't need a bunch of things to be installed with pip) and somewhat less recently with Perl (isn't cpan pretty much the grandfather of "oh there's a library for that"?).

Hilariously, my recent experience has people using Python and depending on Python libraries which then depend on C and C++ libraries in order to implement the same things that I'm doing in plain C with no dependencies.

But I'll conclude my participation in this subthread with this message because it's gone too far off the rails into a pointless language flame war.
You probably just hang out with people in the top income quintile or decile.

If I were to guess, the vast majority of kids still get to school via school bus.
Gotta topper up once a month. That boosting is all about recharging your battery to fight whatever else is out there lurking around every corner just waiting for you. God this is ridiculous. The vaccines were approved to prevent transmission and they didn't do that, but now Pfizer and the likes will make sure that they get their money's worth and then some.
further evidence that modern C++ is an esoteric language
Every job has random overhead and your productivity is boosted quite a lot by already being familiar with some random bullshit problem like "don't configure your test environment this way or you'll run out of file handles after a day or two." Hiring more experienced people means fewer delays due to issues like that, even for boring "code-monkey" work.
I don't like these questions either. But, I've come to accept that it's worth your time if the companies you're interested in ask the questions. Especially so if they have a big compensation package.
A very kind and insightful post. PSC = Performance Summary Cycle
. At Google/Alphabet we call this Perf , performance reviews, every 6 months. Mobility at different parts of Alphabet is more difficult, you may even have to interview again, switching from X or Waymo or DeepMind to Google.
Here in Oregon many bars now serve kombucha and cbd sodas on tap. Makes a nice beverage that isn’t alcoholic but still feels like a real drink (and looks like one too).
I feel like I really started to have more empathy and better understand the world the moment in my life where I realized that black and white don't actually exist, they're unattainable ideals. It's all just shades of gray. It's so rare to find things like math where the answer is either right or wrong.
I fully agree with all you said.

Some comments:
- we have proposal for provenance rules (N2676), which would clarify the rules and make sure that pointer-integer roundtrips work (now broken on some compilers due to an "interesting" interpretation of provenance) Pointer-to-integer round trips could then be used to work around provenance-based optimizations if you need to (and fix existing code with those casts).

- for signed overflow, you can get run-time traps with the right compiler flags and this is IMHO far better than defined wrap-around for unsigned.

- C23 will get checked integer functions based on the GCC builtins

- you can get (relatively cheap) run-time bounds checking by using VLAs (some people think VLAs are generally bad, but pointers to VLAs are a bounded pointer type!)

There is of course much left to be done. But I like to stress that UB gives the compilers room to do what it wants. But this does not have to be optimization. If programmers do not like what they get, they need to complain to their vendors! The standard has to follow existing practice, so this has to be driven by the compiler vendors based on the feedback of their customers. So please, if you want to see changes, tell this to your compiler vendor and do not accept "we do this because the standard allows this" as an answer.
I don't have stats on Smoking/Tabacco. but from the islamic perspective 'Any drink that intoxicates is unlawful.' and alcohol/drugs were specifically mentioned in the quran. This is why Smoking/Tabacco only was forbidden by scholars through a fatwa recently[1]. Saudi Arabia mentioned in the article as one of the highest smokers (23 rd) worldwide.

What the scholars did is basically infer that since smoking is harmful to the body, and since Islam prohibits harming your mind and body, smoking was then considered haram.

Muslim smokers would then just consider it a lesser sin, compared to Alcohol/Gambling/Interest..etc.

[1] https://en.wikipedia.org/wiki/Islamic_views_on_tobacco
There are tons of legit use cases for bots like Slack bots, Discord bots, Zapier integrations, bots to automate workflows, front-end testing bots.
I’ve stopped drinking alcohol and sugary drinks about 4 years ago, but I likely still do the same things as you on my fridays/saturdays. It’s just me ordering water instead of alcohol/sugar, i am still as sociable and ‘fun’ than anyone else in the room, minus the annoying tendencies most drunk people have!

The biggest thing you run into is social pressure for not being called fun etc. Ignore it and you’ll be good :) you’ll notice amazing benefits 3 to 4 weeks after you stop drinking that’ll keep you going!

In terms of how you fill your evenings, that can stay the same, just involves a different drink. :) (unless you literally sit on the couch with an alcoholic beverage and do nothing else, but I’m unfamiliar with that!) hope that helps.
It might be better to look statewide for the US. I believe omicron is just getting started in some places. Cases in NJ are dipping down currently and my college is planning to open up by feb
Awesome and thanks for documenting the process! There's large DOS communities with people running vintage hardware, but not much I know of for linux.
Sorry about your family member, but you really must specify where this occurred.

As bad as US health care system is (and it is bad), it is ridiculously over capitalized. Compared with Canada, the US normally has 50% more ICU beds. More Dr. per capita (slightly) and a ridiculous larger number of nurses and secretaries.

Therefore, Ontario’s health care system gets overwhelmed during bad flu seasons.

In this scenario, Ontario’s recent lockdowns make (material) sense, but that doesnt mean that significant health care resources are being diverted in the US.

By over capitalized, I mean the US has insane medical facilities everywhere people live. I live within a 5 minute drive of three major hospitals, and who knowns how many minor medical centers

EDIT:

Please dont take this to be a judgement on Ontario’s health system. Before COVID both my parents were successfully treated in Ontario for cancer, for which Im grateful.

My comment is merely an illustrative example of how differences health care systems do and must affect government response
Not sure if you're making things up, but I really like your attitude. The world only moves forward because of people with principles, not because of people who make 'tough compromises'
Can you provide details about the 12 week programme that you mentioned? What kind of a program is it?
I think there's a difference in feeling bad for someone with good intentions who got unlucky (vaccine adverse effect) and someone who active tried to make to world a worse place, fucked around and found out (antivaxxe).

This whole pandemic made me realize that Paradox of Tolerance is much more general - there is also Paradox of Empathy and Paradox of Kindness and bunch others.
what if they're actually much healthier than average (because of other personal choices)? and what about all the other bad decisions people do wrt. their health (which is what causes the vast majority of healthcare expenditures)?
Few months ago, somebody did a series of live streaming events on bringing up a 486-based tablet PC (which happened to be an old voting machine) with modern linux. Kernel turned out to be the easy part. Booting grub from BIOS that doesn't support LBA addressing (CHS only) - a bit harder. Running X11 on hardware without PCI - ridiculously hard:

https://diode.zone/w/kMhja4oBUvP6CScsiDZP38
It’s an anchor point to be philosophical about the current state of affairs. It isn’t really about Zombocom.
Absolutely. I dislike the offhand dismissal of things as first world problems, most especially because, if we can find a way to a future where the rest of the world catches up in living standards, these will be everyone’s problems.
Depends, if the function is vectorizable then the cpu can do more elements at a time if it doesn't do the branch prediction work. It is true for non-vectorizable work.
tiert mit der Frage, warum der Immobilienkauf in bar nicht endlich verboten wird, antwortete Scholz: Bargeld sei eben beliebt. Und zwar zu Recht. Es reiche, dass Immobilienmakler verdächtige Bargeldtransaktionen bei der zuständigen Financial Intelligence Unit (FIU) melden müssten. Dabei weiß auch der Minister: Dort stapeln sich 46 000 unbearbeitete Geldwäscheanzeigen. Die Prüfung einer Verdachtsmeldung kann Monate dauern. Bis dahin ist das verdächtige Geld längst verschwunden.
PL/I, created in 1964, had strings. Real strings, where the compiler knows the length even when it gets passed around and is declared char(*) var in the receiving function. You can't have buffer overflows because the compiler and runtime know every string's current length and allocated length.

This isn't a particularly hard problem. C just took a shitty shortcut to fake strings using byte arrays and the world glombed onto it. Now we're stuck with a crappy "standard" that people should have scoffed at when it first showed its ugly face.
What you are looking for is affinity maturation. On first exposure to the antigen the immune system will make low affinity antibodies i.e. simple ones that are fast to make but only stick to very specific part of the antigen. On subsequent exposures immune system will make more antibodies for different parts of the antigen so there is higher likelihood that they stick to a little altered antigen.

Denmark negative effectiveness is most likely explainable by few things. Delta (even that 10%) and omicron are spreading is slightly different populations (delta more in unvaccinated, omicron more in vaccinated), behavioral differences - while unvaccinated population can access everything, testing is a hassle and there might be some testing fatigue, Yule Simpson effect - as a whole there might be negative efficiency but if you look by subcomponents (for example by age), this will disappear.

The spike protein in vaccine is fixed in place by a clever RNA hack but the real one is oscillating randomly between closed and open position. In closed position (as in vaccines) it does not stick to the ACE2 receptor but it does in open position. This means that spike protein in vaccines is less bioactive and also antibodies developed against is are less dangerous because there is a immune mechanism that starts creating antibodies against antibodies (to get rid of the eventually - your body is not from rubber and can hold only limited amount of stuff and you get constantly different kind of stuff your immune system must fight off so there is not room for everything). Now the antibodies that for against antibodies that stick to the open spike protein can also stick to the ACE2 receptor i.e. your own cells and they are called autoantibodies what is kind of bad because they mark your own cells for destruction unnecessarily.

So the spike protein in vaccines is by design less dangerous but it does not necessarily mean that could not cause issues. This must be researched and verified.

My current pet theory is that the lipid shell is to blame for adverse effects because it is inflammatory. Being inflammatory is not bad by itself because it attracts immune reaction and makes production of antibodies more likely but it might cause problems in wrong places like in heart. It has been suspected that vaccines entering the venous blood stream because of faulty injection technique could be the cause but it has not been verified in humans.

I hope that you will see this reply.
>Now do you dismiss an entire language if its standard library is lacking or doesn't exist?

As anything much more than a toy, yes. If there's no standard library at all (or nearly so), the language ecosystem is quite likely to end up a complete mess of incompatible implementations of even the most basic functionality, which is a waste of everyone's time to deal with.
I do not support forced actions like this but you appear to cite a source that is confirming that vaccines are effective.
JCrew has excellent Japanese denim at a reasonable price
>truly exceptional people

They don't use social media. Also,

>Picasso

Man was a hack who contributed to the downfall of a thousand year tradition and the loss of human knowledge. Compare him to Repin or Bouguereau or Solomon and tell me he's anything but a hack.
Don't stop drinking. Live your life. You only have one. Are you going to worry about an air conditioner falling on you while you walk down the pavement?
That works great for you and me. But the average person (or even the average IT dept) does not want to open their machine to update the BIOS.

Essentially your proposition comes down to 'no BIOS updates. And that has it's own problems, from a security pov and from a manufacturing recall pov.
>> you probably don't want a "long", you probably want a particular size like a 64 bit integer. So you have to add ifdefs to call either strtol or strtoll depending on the size of "long" and "long long".

stdint.h (https://en.cppreference.com/w/c/types/integer) provides fixed-width integers in specific sizes. It became a standard in C99.
Another programming language being popular by no means mean that it is a derived language of any sort. Any development is of course retrospective, but it is sorta like saying all music is descendant from pop.
No systemd/cron/…, one extra OS to patch/upgrade, slooow perf on NTFS, can’t ssh into it (trivially), the list goes on. It has its uses but linux has many other uses that it doesn’t reliably cover.
Weed is probably the closest thing, and should be far more healthy than alcohol.

Vaporizers (dry flower or otherwise) are low on smell, edibles have no smell at all but can take a while to kick in.
> It's also many times less pathogenic than Delta

This is a misleading way to say your risk of hospitalization is about half of what it was with Delta.

Vaccination is making it safer to get closer back to normal — which is why Ireland can consider it with their much higher rate of over 92% versus the U.S. 63% — but we still need to be thinking about masks and improved ventilation when it’s spreading, especially since kids are still unable to be vaccinated.
I would be very curious to see a breakdown of average age per rank.

I think a lot of us have been looking up the ranks for years seeing very little mobility, and all of the sudden there has been a shift up.

I’ve been effectively managing r&d and production (I work in electronics) operations for small companies for about 4 years now, of course without the actual “title”. The amount of offers I’ve been getting for big managing positions has shot up significantly during the last year.

In the companies I visit and work with, the “old timer that still holds the job at 70” figure has disappeared. I guess part of it was COVID, but something tells me going remote has also shown a lot of them the truth that they were holding the company back in some aspects.

The ones who did it still visit and work on reduced schedules, but have become less hands on and are more trusting towards younger coworkers.

People are resigning because there’s a bug reshuffling of the labor markets.

My only fear right now is that, at least here in Spain, every company seems eager to go back to 5 days in the office, while everyone I know wants to keep some form of remote work(from full remote to 3 days remote 2 in office). We’ll se where everything lands on, but labor markets here have been always been a “buyers” market..
People change over time, and the people who made that vow at the age of 20 are probably not going to be the same people at the age of 40. If all goes well, the people that they have changed into will remain compatible with each other. But, sadly, all does not always go well. I know multiple older people who are trapped in miserable, loveless, emotionally destructive marriages that they feel they cannot leave solely because their 20 year-old selves made that vow before God. It's not that these people didn't "mean it", it's that they (like all of us) could not perfectly predict the future.
Kids.. make kids don’t worry about how to spend free time you won’t have any
I wonder if the timing could be related to recent market performance.
Google actually created it. It was a deliberate, intentional project to do so. They were very quiet about it.

If you find the people who did it, and ask them about projects named after mortal kombat characters, they will be happy to tell you the reality of what happened - in part because they've never been allowed to say it publicly :)
I think the key might be prevalence of obesity sadly as that's a common co-morbidity in the US, more so than anywhere else.
I don’t think that life can be as fun without alcohol so instead of totally quitting i would try to reduce it for special occasions like night clubbing
> That you should be glad that your vaccination made you an order of magnitude less likely to have a severe case?

For Omicron? And even if. It is great if it is a result of my personal decision to get vaccinated. It is awful to force others to get vaccinated, especially if most claims regarding efficacy get weakened a lot over time and people ignore that. Vaccine mandates and mandatory passports everywhere have failed and we should be happy about that.

Who also supports forced vaccinations like in Rwanda?

https://www.dw.com/en/rwanda-forcibly-vaccinating-people-aga...
Thanks for the constructive feedback! It's nice to have some new ideas.

In the audio contexts I'm working in, it is a feature to have the zero crossings and errors jump out. It's less "pretty" but is as data-dense as I could get just with unicode.

> why not use color when available?

You are right, color would increase data density. In both my test context and in my debugger, color is unfortunately unavailable...

> Silence should be easy to spot, not crammed behind numbers!

The condensed 0(256) notation is ugly, it's true. However, you can't miss it, and it's information dense. This was the toughest element to design and I tried a few other styles before this, because yes, it's ugly :)

I'm often working with buffers with 256+ zeros, so zeros had to be condensed to stay legible. Simultaneously, it's often necessary to know the exact number of empty samples (they could occur at the start, middle or end of the block). A dash - for a 0 such as in [----0(256)] might have some ambiguity with a quiet part of a signal (it's important to differentiate true zeros) but your post has me thinking!...
Oberon+ binding for the NAppGUI lean cross-platform OS abstraction/GUI library
Death with Covid is the baseline requirement (although, ideally, we look at death by Covid, even though that's methodologically difficult) for the above data to have any meaning for the question of whether vaccines work.

Suppose there's 0 Covid cases over the study period. Then this is exactly the result we expect to see. Approximately half the deaths being among the vaccinated, and half the deaths being among the unvaccinated. Because there's going to be heart attacks and so on in the two cohorts over the study window.
Just two year of propaganda to be so hateful online. Do you know what hapened in history when segregation was main gonverment propaganda? Just stop it.
This is called moving goalposts. The vaccines application states it will prevent transmissions, not lesson the symptoms. If it is simply "lessoning" the symptoms which has not been my experience with Omicron, but not preventing transmission then the authorizations should be pulled until they can be resubmitted.
Those other situations should also be factored into the price they pay for healthcare. That being said, many of those other issues (addiction, obesity, etc.) are much more difficult to "prevent" than getting a vaccine. If there was a vaccination for those issues, then I would put them in exactly the same class.
Omicron is very resistant to the antibody response of the vaccines - the antibodies are supposed to cover the protein spikes which latch onto and enable infection of cells.

The t-cell response to infected cells learned from the vaccine, though, is very effective. Which is why vaccinated people still get infected (at a lower rate) but are many times less likely to get very sick, and almost none end up in ICU. The vaccines are effective.
It ok to be ignorant, but you should think twice about that smugness. You are wrong, and you have very little excuse for being this wrong after two years of living in a pandemic.
Partner Dancing (on hiatus last 2 years, sadly)

Cooking

Lifting

Reading

Building Stuff

Dabbling in various other hobbies
> According to the CDC (why do I trust them?)

How would you (or really anyone I suppose) evaluate whether to trust the CDC or some other equivalent?

Also, thanks for those numbers. I don't know why that breakdown isn't more widely pushed.
Porsche Whistleblower: 60% of all delivered Taycan have battery issues
Figma is a big one
You can live your life and still avoid the obvious bad ideas. In fact on average you'll live a longer and more fun life.
Ditto. I've been doing it 11 years at this point and it's never come back to bite me.
Is all you want to remember when you look back at your life a bunch of hangovers and stupid things you did?
What he said is true: the vow has some strong words in it that a lot of people are not taking so seriously. Yes, just as many or more people who identify with a religion get divorced, but just because they identify that way on a form does not mean they are giving as much weight to the vow that some of us do. For us, our pastors counsel us at length to think through the commitment in advance—possible differences/preferences in many scenarios, including finances. We are taught to think of marriage as hard, and to take important steps to guard it along the way. Passively identifying with a faith is not the same as actively trying to let it guide your everyday life.
They only use fossil fuels to make the hydrogen. Which can be made more efficiently with electricity. So it's not really a problem. We only do it now because the costs are hidden. The transition is almost entirely political in nature, since not using fossil fuels for this is the better option, and it's already started.