skysight-inc/HackerNews huggingface dataset:
No, because if nbytes > sizeof(*hwrpb), your version causes the kernel to only write part of the buffer, and then when the app accesses fields at the end of the struct, it would read uninitialized data, which is very bad.

Recall that the API is intended to be used like this:

struct hwrbp buf;
getsysinfo(GSI_GET_HWRPB, &buf, sizeof(buf), /* .. */);

At first glance, it might seem unnecessary to pass the buffer size at all, because in theory the user and kernel should agree on what the sizeof(struct hwrbp) is. But the reason it is passed is because there are various reasons why the separately compiled kernel and user binaries might disagree (e.g., incorrect compiler flags, wrong header file being used, struct has changed between different versions, etc.), and it's useful to detect that. So you can make an argument that the most conservative check is:

if (nbytes != sizeof(\*hwrpb)) return -1;

After all, if the user and kernel disagree on the correct size of the struct, then something is wrong! But allowing nbytes < sizeof(*hwrpb) has the benefit that the kernel developers can add fields at the end of the struct without breaking backward compatibility with older applications.

I would agree with you if the kernel had some other mechanism to pass the size of the buffer that was actually filled to the client (like e.g. the read() syscall does) but the getsysinfo() API doesn't return that data, so the kernel must either fill the buffer entirely or return failure.*
May have been involved, but I believe in that case there was an explicit human decision made after referring to a senior. I recall somebody quoting an official to this effect.
huh? It's the "default messaging app" for many countries, more than SMS use etc
Thanks for these efforts. I am surprised that you “… were surprised how many built bespoke state management layers and used printlines to debug.” Print is the common debug tool since the start of CS, and bespoke state management layers, though not ideal in a hypothetical world, involve less transition effort than a commitment to a new framework not invented here that eventually has to change. Maybe you meant something different?
This is exactly why we’ve been unable to hold anyone responsible for misuse of their powers in so many instances.
I can't blame you, my comment originally didn't have the word "linked", I edited that in after I realized the potential misunderstanding. Maybe you saw it before the edit. My bad.
What government handouts are you talking about? Stimulus ended years ago and food stamps can't go towards vehicle purchases.
I'm not sure. I'm a big plant guy and when I think about how plants adapt to new environments it's all about growth. Movement to better soil, water, or light is achieved by growing to a new location and then abandoning the old stems/leaves/etc. A plant that can't grow is about to be toast - these often bloom in a last-ditch effort to continue their genes through new plants (that will have to grow) elsewhere. It's very hard, or even impossible, to maintain a static ecosystem. Plant parts age or get mechanically damaged - the only way to replace them is growing new ones.

It's obviously not a perfect analogy. But in complex natural systems stability without growth is rare.
Good god the abysmal failure.

All they had to do was prosecute people using drugs in the street.
It seems to have been largely forgotten (or never remembered, as transplants weren't around for it), but I think there's still a lot of scar tissue around eminent domain after the failed Trans-Texas Corridor project. It was pushed by a very popular Republican governor and completely failed after public outcry.

https://en.m.wikipedia.org/wiki/Trans-Texas_Corridor
In a capitalist, competitive market, growth is the signal that a company is successfully adapting. "Grow or die" isn't just a rallying cry, it is a tough lesson learned from decades (centuries!) of running businesses.

I agree with the author's sentiment, that such growth has a cancerous end-game, but it's important to understand that this mindset is the result of systemic pressures. It's as inevitable as the Tragedy of the Commons (1833!), but even more complicated to address.

Game Theory is an exceptionally useful lens to analyze these systematic behaviors. If a company isn't growing, that means they're not adapting to the market. That leaves the opportunity open for a competitor, who will take over. Then the "ethical" original is dead, and you're left with a "cancerous growth" actor, again.
Is having a human make those decisions really better? It was humans who ordered the Holocaust, My Lai, Wounded Knee, Rwanda, Tiananmen, etc.

At least AI pretends to look at some data instead of just defaulting to tribal bloodlust... who's to say it can't be more ethical? It doesn't take much to beat our track record.
The largest glass bottle seems to be 1700L. $1 million is only about 11 liters of $100s. So you could store about $100 million in a glass jar.
What does that even mean? 972 is a local Israeli outfit, with contributors from Israel and Palestine. They have sources within the IDF, sources who may be center-left leaning and are "done" with how the far-right coalition is running this war and they are blowing the whistle on this practice.
Perhaps Chrome Orange or Lead Chromate?

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

https://en.wikipedia.org/wiki/Lead(II)_chromate

These colours help with adulterating turmeric
> The original less-than check was deemed incorrect

It was only deemed incorrect because of an information leak. Not because it's a valid use-case for user space to copy smaller portions of *hwrpb into user space. https://github.com/torvalds/linux/commit/21c5977a836e399fc71...
> A lock is not to keep out bad guys who want to get in

This is definitely not true. Locks are to keep randos from invading your space — drunk, drugged, and/or mentally unhealthy people end up in the oddest places sometimes. My buddy had a guy high on meth open and climb through a laundry room window and start wandering through his house. I’ve twice had drunk people knock on my door loudly and try to let themselves in (different cities) and swear that they were at the right address. These were all in decent/nice areas (some not so nice areas a mile or so away, but still…).

Same with privacy corps…

You don’t want some rando who is irrationally angry at your business or at you to be able to find you easily.

You don’t have to be as famous as Barbra Streisand in order to be a person of interest to mentally unhealthy randos.

Just my 2 cents…
How does muxleq work? It looks like a 'concurrent' subleq...
It skips over the difficult question of "how big is too big?"

Easy to complain about in the abstract. Hard to answer how we restructure society to determine when a company or individual salary is too large, without allowing each company or individual make that decision for themselves.
To quote someone on social media:

> With unintended strikes, there's "we work hard to avoid this, but based on bad intel made a rare, tragic error," and "we've encouraged RoE that foreseeably makes tragic errors frequent, but this looks bad and in hindsight wish we hadn't done it."

> Israel's strike on WCK food aid workers is the latter

Israel has long had pretty plain issues with its rules of engagement. Recall that earlier in this conflict, the IDF shot three of the hostages whose recovery is one of the main goals of the operation!
This should be asked explicitly.
> How will the "rich people" maintain privacy/secrecy after the Corporate Transparency Act?

By hiring ex-CIA Agents having experience with setting up shell corporations after said act.
Can try with a pinned container image.
Fun fact!? TIL: UTC = Coordinated Universal Time but the abbreviation is not CUT that would be "logical", but UTC.

"It came about as a compromise between English and French speakers.
- Coordinated Universal Time in English would normally be abbreviated CUT.
- Temps Universel Coordonné in French would normally be abbreviated TUC.

The International Telecommunication Union (ITU) and the International Astronomical Union wished to minimize confusion and designated one single abbreviation for use in all languages.

UTC does not favor any particular language. In addition, the advantage of choosing UTC is that it is consistent with the abbreviation for Universal Time, UT"

So the reason it's called UTC is because the French and British couldn't agree, who could have guessed? :)
(author of the post on X)

To clarify, Microsoft didn't offer a one-time payment to fix any bug. A volunteer explained for free that a command line option had changed between FFmpeg versions.

Microsoft offered a one-off payment instead of a support contract.
The hedonic treadmill principle isn’t just a personal thing. It passes through the machinery of business to be amplified and expressed in an absolutely massive way. All characteristics of businesses are those of the humans that make them up. It’s in our nature to want more. The author is asking humans to stop being human.
The tech industry requires us to be capable. On this article, we explore the best free initiatives by Microsoft for Devs, Beginners, Students, Workers and Founders!
https://en.wikipedia.org/wiki/Nokia
The 'start' button doubling as 1:00 and +1:00 is my favourite timesaver microwave design.

I've had one dial, two dial and 'no useful controls' microwaves, they're all garbage, give me a number pad and a start button, that's fine, if power is variable too, let me switch which number I'm inputting.
An awful lot of tax evasion could be solved with just two things:

1. Clear beneficial ownership of any company; and

2. Taxing at source when the beneficial ownership isn't clear.

This particularly applies to real estate. Two of the biggest tax havens now are the US and the UK. The US requires all sorts of financial disclosures from other countries but doesn't reciprocate. The UK (London in particular) seems to exist solely to allow billionaires from sanctioned countries to launder money through real estate. Like that's the entire business model.
Show HN: Gimli Bootstrap – The smart DevTools extension for Bootstrap developers
Hello!

I've made a Chrome extension for Bootstrap developers which I hope you find useful:
https://chromewebstore.google.com/detail/gimli-bootstrap/oeohjgdiapbcnlifpfhmppjkdkabkfbj

Here is a short introduction video:
https://www.youtube.com/watch?v=xI05jhoqoPw

The extension is a fork of Gimli Tailwind. But it was modified for Bootstrap development. Link to Gimli Tailwind:
https://chromewebstore.google.com/detail/gimli-tailwind/fojckembkmaoehhmkiomebhkcengcljl

/Joakim
> 12-year-olds will wipe the floor with you

Was chatting with a guy who used to play pick up games at the Marshall and I remember him talking about how humbling it was to get your head kicked in by like a 7 year old. I think this is one of the coolest things about chess: in most other competitions age is a huge predictor of the outcome (I'd crush a 7 year old in basketball), but in chess it can be almost harder to face a young opponent because their learning rate is so ferocious and they're young enough that pride often isn't a distractor. One of my ongoing struggles in getting my Elo higher is to try and keep the childlike playfulness front-and-center. As you say in your anecdote: it's all about playing simple moves and not getting tilted. Let the super-GMs calculate 15-move lines.
It is and it will!
#define strncpyz(d,s,l) *(strncpy(d,s,l)+(l))=0

Of course this one is unsafe for macro expansion. But well, its C :)
Anyone touching anything in the vicinity of abortion services. Pornography LLC. Any number of anonymous chat platforms.
Google is a big company.
Nothing. I like him. I don’t think he deserves a hard sentence.
In other words... being Iceman is better than being Maverick.
We crossed the line of machines that automatically kill a long time ago. A heat seeking missile, or a shell that detects and target tanks [1] are effectively doing that. Software selects the target. The soldier only points in the general direction. AI is only a small technical increment.

[1] https://en.wikipedia.org/wiki/SMArt_155
From the people who bought you WebP CVE-2023-41064/CVE-2023-4863...
Awesome google. Disable zooming on mobile so I can't see the graph detail.

You guys should up your web game
Dropping anchor could very well be a thing you do.

To me it seems like the boat steers of course after regaining power. Am I imagining things? I guess it could happen by chance too, as drift takes on?
Not everyone wants to be an avatar for a social ill. Some people just want to live their lives and be left alone.
Hamas will never return hostages on its own. It needs them to stay in power as insurance against destruction by Israel. Unfortunately, that means an offensive into central Gaza camps where some of the hostages are believed to be held and also Rafah ...
Privacy. My use case is obfuscating my life from data brokers. Law enforcement and the tax folks still know where to find me.
It’s a fixed buzzsaw. One might be confused by the “leaped at his hand”, but Frost says in reality that “he must have given the hand”.

Basically, his sister called him to supper, which apparently distracted the boy enough that he accidentally stuck his hand in the blade.

A buzzsaw is in essence a large version of a table saw, and table saws eat many fingers and thumbs every year. Now imagine that the table saw blade is four feet tall.
Both of these options are war crimes. I think only talking about these two options presents a false dichotomy. There are many more options that could have been considered. For example, Israel could have accepted the hostage swap and then picked Hamas operatives slowly but surely given their superior military and intelligence. Israel however prefered killing lots of civilians as "collateral damage" in order to kill a few Hamas operatives and they didn't even manage to rescue hostages. The crime lies in the blatant disregard for civilian life in Gaza.
Microsoft warns Gmail blocks some Outlook email as spam, shares fix
Honest question: What are some examples of legitimate uses of shell companies? I don't know enough about this to know "good" cases, I'm only aware of some bad ones. I can come up with tons of "encryption" good/bad examples but I'm coming up blank on good shell companies.
The real insight (which isn't much) is that people tend to do business with those who are closer to them. It isn't a surprise that if I need something at work now my boss might send me to the local war-mart or whatever.

However that someone in Dallas is more likely to choose a supplier in Austin than one in Boston is interesting - once you leave Dallas does the extra distance to Boston mean anything? I can come up with all kinds of weird ideas.
Location: Utah, USA

Remote: Preferred

Willing to relocate: Depends on role

Technologies: JavaScript, React, Ruby, Go, JavaScript, C/C++, Rust, K8s, AWS, Linux, HTML, CSS, Git, Docker, DevOps, Extreme Programming, Site Reliability Engineering, Cloud Optimization,

Résumé/CV: Available upon request

Email: ethanransom246 [at] gmail

GitHub: https://github.com/ethransom/

LinkedIn: https://www.linkedin.com/in/ethan-ran/

Senior Software Engineer with 5+ years professional experience. Demonstrated history of shipping on a team. I have nearly 10 years of experience working on web technologies, most recently with Ruby, Elixir, and React, but I also have a significant systems background (SQL internals, Linux, Distributed Systems, Concurrency Fundamentals). Passionate about high performance, high efficiency software and can sling code with the best of them.
>If you pick up a gun and start shooting the other side, you are not a civilian.

You're not a civilian while you're holding the gun, but you are once you stop shooting again: you lose your protection as a civilian during your period of direct participation. Should have been more clear on that.

It's probably also worth saying that -- while there's a degree of subtlety and complexity when considering the legal and moral position of Israel's armed forces -- there's very little to debate when it comes to actions like the Re'im music festival attack. That kind of action is obviously illegal and morally repugnant.
nixpkgs unstable (i.e. 24.05) has it at ${libjxl}/bin/cjpegli
I think it's more than an individual or an organisation. The industry as a whole has favoured not caring about dependencies or where they come from in order to increase velocity. Concerns about supply chain (before we even had the term) were dismissed as "unlikely and we won't be blamed because everyone's doing it").

The organisations that did have some measures were complained about loudly, and they diluted their requirements over time in order to avoid stagnation. Example: Debian used to have a "key must be signed by three other Debian developers" requirement. They had to relax the requirement in part because, from the perspective of the wider ecosystem, nobody else had these onerous requirements and so they seemed unreasonable (although Covid was the final straw). If we'd had an ecosystem-wide culture of "know your upstream maintainer", then this kind of expectation as a condition of maintainership would be normal, we'd have much better tooling to do it, and such requirements would not have seemed onerous to anyone. It's like there's an Overton Window of what is acceptable, that has perhaps shifted too far in favour of velocity and at the cost of security, and this kind of incident is needed to get people to sit up and take notice.

This incident provides the ecosystem as a whole the opportunity to consider slowing down in order to improve supply chain security. There's no silver bullet, but there are a variety of measures available to mitigate, such as trying to know the real world identity of maintainers, more cautious code review, banning practices such as binary blobs in source trees, better tooling to roll back, etc. All of these require slowing down velocity in some way. Change can only realistically happen by shifting the Overton Window across the ecosystem as a whole, with everyone accepting the hit to velocity. I think that an individual or organisation within the ecosystem isn't really in a position to stray too far from this Overton Window without becoming ineffective, because of the way that ecosystem elements all depend on each other.

> If you're unwilling to do that, sorry mate, you're just unprofessional.

There are no professionals doing what you suggest today, because if they did, they'd be out-competed on price immediately. It's too expensive and customers do not care.
U.S. Department of Energy: Strategic Transformer Reserve (2017)
Lots of us are IEEE members bound to ethical standards: https://www.ieee.org/about/corporate/governance/p7-8.html

There are also numerous other organisations with such standards.
The problem is tech illiteracy and CGNAT.

The product must be "a router" so people can access it outside of home.
Or it doesn't have to, but then you'll have to proxy traffic through you and charge for it.

And your "router server" must have a decent AP, because the likelyhood people know how to bridge their "routeraps" is pretty low.

IPv6 would help for sure, but there's still "allow 443 to this box", static registrations.

This is before even building the product
The uploaded photos are used for the purpose of recommending hairstyles
I personally prefer Qt, but as was discussed elsewhere in this thread, there is definitely some FUD around licensing. You should be able to build your entire app with Qt's LGPL modules, though, which allow you to remain closed source while not paying for Qt.

If you go to the effort of making your app cross-platform, please go ahead and add official Linux support as well. I don't personally have a need for your app, but I'd love to see more apps for the Linux ecosystem that aren't just "we built a FOSS alternative because $SOFTWARE doesn't support Linux".
The first color is #015.

Regarding computing it for all targets, I optimized it by precomputing the value of guessResults in the first iteration, since it's always the same (no matter the target color), which saves most of the computation. I removed the optimization so the code wouldn't be so long here.
It is. My family runs a saffron business in India and we check all our employees every night when they leave.
(author of the post on X)

We cannot tell volunteers to not do something (i.e help Microsoft) in the same way we cannot tell volunteers to do something.
It’s important to discern drivetrain problems vs trim imperfections. I know X/S are expensive, but buying Tesla you have to accept some of the interior and exterior will not be as MB, but you do get some other benefits. These issues have nothing to do with reliability/longevity.
"Status and outages of Meta business products"

This is for their business products, not consumer "products" (where _we_ are the product). However, they tend to go down and up together, as they're tied to the same data and servers.
1. Obviously Apple's market reach is wildly different-- they can still sell globally without requiring to scale indefinitely.

2. Hardware isn't their only product.

Anyway, infinite growth is impossible, so the comparison to a local business is moot. Also, it should be legally required for Apple to make products that last 10+ years from an environmental standpoint.
It's not a consumer products! It's a transformative business platform that helps enterprises of any size engage audiences, accelerate sales and drive better customer support outcomes on the platform with more than 2 billion users around the world!
> What is the "zero-error" alternative approach for dropping bombs in a war, or firing rockets for that matter?

Honestly, I'm not sure. Obviously humans make errors of all sorts as well, and even make intentionally unethical decisions.

I think the horror of this situation is that it makes war easier to wage. Accepting that all war has costs measured in blood, we should want less war. However, those in control of military forces always have incentive to wage war, so removing friction from the process is dangerous.

Off-topic of AI, but on-topic of your question:

The actual alternative to unleashing AI assassination is not human-selected targets, but not waging war. It isn't necessary to destroy Hamas with violence, it would have worked better to give Palestinians dignity and self-determination long ago. That can still work, although until it does Hamas will continue to be a problem. But as I said, war is useful for the political leaders of Israel, so they stoked and fed the flames for decades to maintain an excuse for the war machine.
US, EU to Use AI to Seek Alternate Chemicals for Making Chips
Many sites do this out of a misguided notion of what web development is.

FWIW Firefox mobile lets you override zooming on a site.
But you see, if you kill just them, then their family would very likely get radicalized because of that, and then you'd have to kill them too, only some time later so it's just more efficient to do it in one fell swoop while you have the chance.

Of course it's perfectly ethical, why do you ask?
Sure, yes, not going to lie I use printlines all the time. There's nothing inherently wrong with it, and meant no offense! In fact, you can even add a hook with Burr that adds as many printlines as you like :) https://burr.dagworks.io/concepts/hooks/. Meant no offense.

That said, logging stuff and using regexes (which is the common way to productionize printlines for live/post-hoc debugging) has a lot of challenges, and this is where we've seen a framework become useful.

There's an obvious trade-off between adopting a framework and rolling your own -- we've seen both work in various contexts (we've been in MLOps for quite a while). Our hope is that this will make people more productive by constraining the space they need to think about and allow more mental room for application logic.
A war that would only kill 10% civilians would be a massive improvement over any recent conflict.