skysight-inc/HackerNews huggingface dataset:
This happens already. I'd love to add some more women to my dev team, as that has shown great benefits in earlier teams i hired for.
> using "a pointer was dereferenced" as evidence "this pointer is safe to dereference" is comically bad evidence

Do you think the compiler would be right to remove the second check here?

if (!x) std::abort();
if (!x) return;
... = *x;

What about changing std::abort with the following?

[[noreturn]] void my_abort();

How's that different form a check after dereferencing a pointer? In both cases the check can be removed because dataflow or control flow analysis.

What if my_abort returns instead? Or another thread changes x after the fact?
> So they say, but nobody in the City thinks these things.

No Londoner would write 'the City' to mean anything other than 'the City of London' (i.e. excluding the rest of the 'city') - which makes it unclear to me how to read your comment, especially given other familiarity/information. Are you saying 'nobody' (I'm not being pedantic on that, hence quotes) living/working in the City sees it as anything other than another borough? (But implicitly others do?)
VLCD diet intervention is associated with improvement in glycaemia control in patients with Type 2 Diabetes. It does not mean it heals from diabetes.

If fasting was a solution, Muslims would experience less diabetes. Yet the prevalence of diabetes in several countries with large Muslim populations appears to be similar to the rates observed in western countries and increasing by 10% per year as a result of urbanization and socioeconomic development.

https://diabetesjournals.org/care/article/27/10/2306/23219/A...
The scope of EU laws is growing. Do member countries enjoy having social-economical policies dictated from above? This is meddling in what should be internal matters of sovereign states. Then they are surprised anti-EU sentiment is growing.
Honest question - why only on corporate boards?
Why not trashmen (trashwomen)?
Why not miners?

Why all the mundane jobs are OK to be performed only (or mostly) by men?
This is why I use unsigned integers for indices (and firmly believe most everyone should).
Investment in education and social welfare, combined with time.

My university is growing into having a more balanced faculty mainly because it is now seeing an increasing number of female candidates. This is a result of the study (economics and finance) becoming more popular in the past two decades with women, and we are seeing the results only now. There will always be lagged effects in this.

Granted, there are quotas in place too.
Well this is the Matrix level attack on Bitcoin.
Conflate it with all the crypto Ponzi out there.

Rendering the mind of the regular normie incapacitated, unable to ascertain what is true and what is false.
Jortage: Communal Cloud for the Fediverse
The hardware is great, but it’s not just the hardware.

There are also some pretty good apps for macOS that just aren’t available on Linux.

And then some of us really enjoy the desktop experience of macOS.

When I need Linux tools they are easy to access via Lima. (One could also use Parallels or VirtualBox, but IMHO Lima is far more ergonomic.)
AFAIK, Avalara is the defacto player on this kind of stuff
> If I add a website uptime monitor (a "foo.com returns 200" type test), should I immediately take my site offline for a while to make sure it fails?

Ideally yes, to test the uptime monitor!
Great. Now do the HR or DEI boards :D

HR and DEI (ironically) are almost 99% female and wield almost absolute power over the corporation. When will we have proper gender-representation there?
This is meaningless when you've destroyed the meaning of the word 'gender'.

Any company not meeting quotas could simply have half the men start identifying as women.
We can do SANS training as part of a company security program. They’re actually fairly intensive and useful, but it’a hard to make the time when you have so many other things to do.

My previous company had bi-weekly presentations by some engineer on a technical topic they enjoyed.
Yes absolutely, and this is possible today with only open source software. So money is not a barrier.

The sanitizers (UB, address, memory, threads) are supported by both Clang and GCC [1]. Yes that's up to 4 different builds and tests runs but with an automated C/I this is not a big deal.

The Clang static analyzer, with Z3 enabled as a checker, used through CodeChecker [2] is now very good, so much so that I prefer it to a different commercial product showing too many false alarms. Using it on an embedded GCC cross-compiled code base may still require some workarounds, but nothing too bad and this is improving regularly too.

I wouldn't want to do without this. Switching to Rust may not always be possible, and there are big C and C++ code base that will live a long while. Tools like this help and they should be used.

[1] https://github.com/google/sanitizers/

[2] https://codechecker.readthedocs.io/en/latest/
> Only for a while. After a while it will become normal and the distrust will fall away.

Really? What do you base this on? From my understanding of race-based affirmative action in the United States, that distrust hasn't gone away after many, many decades. I've heard African-Americans complain it's more difficult to be taken seriously when quotas are in place, but it's hard to say how common that experience is.
> So the issue is that it has tons of extra data than they need because it * doesn’t make their recommendation any better. ...YouTube is incredibly simplistic in its recommendations. I find it very hard to believe that they couldn’t achieve the same quality with much less info on me.

An example of YouTube insanity is their video quality settings. There is no clear manual setting (which should be labeled as such), to keep them at only a specific video resolution at all times (until adjusted by the user). Instead, users have to constantly battle with YouTube auto and resizing, to include when going to and from full screen, or make their own custom workaround.

> For instance, my IP changes when I travel... YouTube insists in showing me local ads in different languages when I’m in foreign countries...

The point is not the convenience of the user, but rather maximum data extraction from users and selling that data to 3rd parties (including governments). This is why users should not blink in finding workarounds for what Google is doing. Users should have no more concern or loyalty to Google, as they have for them, which is zero outside of how much money they can make.

The possibilities of having a truly open-source YouTube client is that users can configure their settings to exactly as they wish, without tracking and massive privacy violations.
Same.

Fun game. Let's see if I keep coming back like wordle and quordle.
I don't think the lack of dual-stick killed it.
Many factors play in:
* Mostly the piracy killed Dreamcast. It was way simpler to copy the GD-ROM than the Xbox and PS2 DVDs.
* The lack of DVD functionality, which both Xbox and PS2 came with.

But the performance was outstanding in Dreamcast.
The Origin of the Roblox “Oof” Sound
Mastodon Stampede
Know your users. Who are the target users of GCC, and to what extent are they aware that UB can cause the then-branch of an if-statement to be executed even though the condition is actually false? Does GCC, in an "intentional no true scotsman" way, define its target users to be those that are aware of such pitfalls?

In the end, GCC's users must use it, and they are the ones to give hints (ideally, answers) towards how GCC should behave in such a situation, e.g. whether GCC should prioritize optimization or (programmer's) fault tolerance.
I can't really follow. What would be wrong with making -fwrapv the default? i.e. let the compiler assume signed integers are two's complement on according platforms (i.e. virtually everything in use today). Then stop assuming "a + 1 < a" cannot be true for signed ints. How would that make existing code worse, or break it? It's basically what you already get with -O0 afaict, so any such program would be broken with optimizations turned off.
EU is leaning towards German-style management of regulating everything in excess. Most people in my country don't realize what is going on, there is only a minority that is making a bit of noise, but they are too few to be believed (we have a culture where the majority opinion is considered to be "right").
One simple method: You start the search with a 50%/50% split, in this case half men and half women, then hire the best candidate from that cohort
This is mostly PR and will likely not do any serious damage :) But it might do some good by setting a positive goal.

First off, it doesn't specify how biological men temporarily identifying as female during the hiring process are to be treated, which seems like an obvious loophole to me.

Second, the actual resolution says: "Where two candidates of different sexes are equally qualified, preference shall be given to the candidate of the underrepresented sex" and that "equally qualified" is another huge loophole. The average male candidate will have a lot more experience, simply because it's been a male-dominated field.

Thirdly, it is up to the member states to come up with appropriate punishment for failing to meet this and "could include fines" doesn't sound that strict to me.
Maybe they will allow boards to just allow self-identified genders. And on that note what happens with non-binary and gender fluid people? Will they be counted as well?
Yes, I've had meetings with those people managers. I would consider them more HR type managers. After some reading it's my understanding that - from an HR perspective - the main difference between a manager and an "individual contributor" is that the IC doesn't have direct reports. Since those tasks would take up too much of their time. Those tasks are being transfered to the HR style managers. But the IC still performs many tasks which are traditionally considered "management responsibilities" with their day-to-day work.
Stupidity : A Canadian documenary directed by Albert Nerenberg
The root of all these problems is that C doesn't guarantee two's complement behavior when compiled for two's complement machines, as far as I understand.
But why is that? Why are integer operations not defined as implementation-defined?

I get that the C standard cannot guarantee two's complement when C code can be compiled for other architectures.
But looking at the list of supported architectures ( https://gcc.gnu.org/backends.html ), even exotic architectures like vax and microblaze seem to be two's complement.

Does gcc even support one's complement machines or those with CHAR_BIT != 8 ? If not, all those optimizations are utterly ridiculous. Basically an adversarial competition between compiler writers and users.
They could have introduced a three strike system to catch repeat offenders or you know, the points system in Germany.
What do you think about hover slideshows on video thumbnails in a search feed?
It’s also the kind of thing that quietly improves economic efficiency by X% per year by expanding the workforce. It unlikely for the most capable people to all come from a tiny percentage of the population rather than some other suboptimal selection criteria rejecting the majority of the most capable people.

People notice the unusually suboptimal but miss more subtle effects.
Rust solves it with an explicit ,,wrapping_mul(..)'' call when it's performance critical.

I believe all languages that don't support bignums should do the same.
I feel like no matter the pressure, if there is a crack and a dirty puddle outside then it will always contaminate the water
It's interesting to see some of them are probably not the places that would be mapped now, e.g. Old Ford would surely be replaced by Bow or Stratford today, in terms of labelling a rough area; I imagine that's probably due to the declined prominence/use of the canals & wharves.
The algorithm exposed in the article would be better served by a Stern-Brocot than average + jitter.
Unethical? Because someone could have profited more?
LibreOffice – Tabbed interface not using whole width
China state CCTV avoids crowd close ups at the World Cup
If you think that government will give up (should they?) on all that tax money, you're probably fooling yourself...
wait what are the five bad things in baking bread?
Take care cause AWS Lambda with node 18 is also changing to aws-sdk v3.

https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-...

I found at least another breaking change not documented in that guide though.

s3.getObject() => response.Body is now a Stream instead of a Buffer.
Using ffmpeg to stream for gaming: https://drewdevault.com/2022/10/12/In-praise-of-ffmpeg.html
It depends on the resources peak (Oil Peak, Gas Peak, Lithium Peak, Minerals Peak...).

Our modern societies maintain themselves via energy consumption, if the energy production problem is solved, then the societies will evolve to more automation and removal of the low specialization jobs. But if we cant produce enough energy to cover the demand, then our societies will go back to previous levels of development and knowledge jobs will achieve the employment levels of the XV century.
ooooo....

in new delhi, india back 7-9 years ago i was living in a pretty garbage area by my normal standards and one of the things we had to be careful about was when to use the water pump. do it during off time and the water from the tap would be green, it would stink and taste like vomit.
that was a really really terrible experience and bad living standards. unless you are poor and cannot afford any other reasonably okay living place, one should not be living in those conditions.
> My thinking is that treating water at home is not that hard. You can easily have one filtered tap at home. It's cheap and easy to retrofit.

I mean, define 'filtered'. A brita-type filter will do precisely nothing for most things that require a boil notice (nor will it do anything for most heavy metal contaminants etc).

In general, "filtered" taps primarily remove chlorine and calcium carbonate, mostly for taste reasons.

Doing actual water treatment at home is not going to be particularly economic or safe.
The practical use is that it's a programming language for purists or Luddites. You know, the kind of people that like suckless tools, Plan 9, C89, maybe Forth, or even R4RS Scheme. Maybe hate on the latest C++ standard or systemd. Programming is social, and these people need their safe spaces too.

Will they pull it off? Languages need killer apps more than they need language features. So there's both a chance and work to do. Let's see.

For me, you know, I feel like this industry is soulless and dull enough; I don't need a boring programming language to top it off. If all I'm doing is helping someone get even richer, at least let me have some fun while doing so.
> Boil water notices occur when your water treatment has entirely failed.

I don't know how it is where you live, but here, boil water notices generally happen because of mundane things well downstream of water treatment. Water demand too high, dropping pressure? Boil water notice. Water main breaks? Boil water notice. In this case, although I wouldn't describe it as mundane, the boil water notice occurred because of a temporary power loss resulting in a pressure drop, not because the water was actually known to be contaminated.

It's also hard to compare across water treatment standards. Are the allowed contaminants the same? For example here, no amount of PFAS contamination results in an advisory, even though it's well over the limits.

I think a better point would be a) there's no such thing as the "American" water system; water systems are virtually all designed, implemented, run, and administered by municipal and county governments, with anyone remotely rural on a well; and b) any minor water failures in the US are going to garner extra attention for the next couple years because of the Jackson debacle.

OTOH, I have well water for myself. ;)

EDIT: Also here's a boil water notice in New South Wales from flooding events, 22 days ago.

https://www.msn.com/en-au/news/australia/residents-boil-drin...
Other influence from OpenVMS is how many of those API surfaces look like, when I looked into OpenVMS documentation for the first time on during my digitial archeology, somehow it felt familiar territory.
No, if pressure is higher on the inside it'll just constantly go from inside the pipe to outside it, and outside contaminants won't leak in.
MS was knee deep in anti-trust negotiations with the DoJ around that time so I imagine acquisitions of that size and scope were off the table. Sega probably was small potatoes financially for MS at the time, but buying one of the three companies in that market wouldn't have helped their anti-competitive reputation.
PlayStation 2 could play PlayStation 1 games. I think that cinched the deal for a lot of consumers.
Do you know what a metaphor is?

No GCC --hlep isn't in the c standard.

But it is a simple example to illustrate how programs react when it receives something that isn't in the spec.
GCC could do anything with Gcc --hlep just like it could do anything with INT_MAX + 1. That doesnt mean that all options open to it are reasonable.

If I typed in GCC --hlep I would be reasonably pissed that it deleted my hard drive. You pointing out that GCC never made any claims about what would happen if I did that doesn't make it ok.

If you come across UD, there's reasonable and unreasonable ways to deal with that. Reformatting your hard drive which is presumably allowed by the C standard isn't reasonable. I would contend that removing checks is also unreasonable.
Some comments here focus on transgender and gender fluid people, but that's completely missing the point; those are such a tiny percentage of the population they don't figure in these quotas at all.

The point of these quotas is that some companies, even after decades of society striving for more gender equality, banning sex discrimination, etc, still prefer to hire one gender over the other for some functions, and especially for executive roles, this often happens through old-boys networks that exclude women. They may claim that they can't find women suitable for the role, but that's because the networks they hire from tend to exclude them.

It's also been known that people tend to hire people who look like the people already working in that particular role. Even when the people doing the hiring do not look like that. Even when they are aware of this effect.

If we want people to be hired for their ability and not their gender, we need a way to rid ourselves of these effects. For men and women to have the same opportunities to get hired, they already both need to be represented in the pool of people that have already been hired. And they need to be equally represented in the pool that people are hired from.

These sort of quotas are an ugly way to accomplish that, but so far, nobody has been able to come up with a better way of reaching that goal. Don't like quotas? Come up with something better. Because not doing anything is clearly not fixing the issue, and perpetuating the existing inequalities.
What about focusing on solving why parts of the EU have regressed to 3rd world economic status, capital cities that mostly look like ghettos, lack of energy supplies, and poor administration? The EU is gradually becoming a joke. Not that gender issues shouldn't be taken care of, but this is not the way to solve them.
I always just use a form field that's hidden by CSS or JS and then reject submissions with a value in that field. Just name the field after something bots or other services may care about but you don't (e.g. name, if you're not using real names).
There should be a table of contents at the beginning of the post. It's not very detailed, but expands as you scroll to each section.

I agree the reading time does not really convey too much useful info, the blogging platform is designed for simpler and shorter posts. Maybe a replacing it with a wordcount would be better.
I always got upset that my eye colour is not common among the ultra-rich. What can I do about it? Presumably I'm be unfairly kept in my low social stratum as a result and would like to leave these other peasants behind please.
Its 100% accepted here in Sweden. Caveat, never with the other sex than yours, not that always helps!

Our conferences always book double rooms and they are shared. Never a complaint as far as I know. BUT, our conferences are 100% optional, so you do not need to attend. Just saying that this "sharing bed" thing is not that unusual.

This is a IT consultants firm, btw.
Gran Turismo Changed Racing Games Forever
Of course it is. Geez.
Leonid Meteor Shower Could Bring Rare Shooting Star Outburst Tonight
> It raises the question: Who are GCC's main intended users?

Thank you, for not using the word "begs".
> This is how I feel about all the bold circumvention of paywalls. It’s a legally fuzzy area in some cases, but to me at least, it is basically people saying, “here, let me help you steal!”

The problem exists because these companies want to have their cake and eat it. They want people to pay for content yet they want it to be freely available to content spiders and for it to be spread on linking sites such as this one. It's like the old wallet joke: Get someone to crouch down to pick it up and then you yank it away.

If I see a link here from e.g. the washington post, I might read it, but I will never sign up for a monthly subscription. I don't even live in America so most of their content won't interest me. So a paywall in that case is only annoying. Bypassing it will not cost them a subscription which I'd never get anyway.
Except good luck keeping up with all the differences among Linux distros, their package managers, location for configuration files outside the classical UNIX ones, with or without systemd, sandboxing model, which desktop is configured as default, sound stack,...
What makes it a "modern take"? curious :)

What is diff from Good reads or Story graph?
Young women earn more than men in some US cities
It's rude to spam bug reports like that. GCC has a mailing list, if a discussion is what you want.