skysight-inc/HackerNews huggingface dataset:
Having been only lightly exposed to MISRA, my impression is that in MISRA the "Required" label doesn't mean "You must always do this"; rather it means, "You must do this or document why it's necessary and safe not to do it".

It's a bit like an operating system write-protecting pages. Sometimes you write-protect pages that the process really shouldn't write to, like shared libraries or something like that. But sometimes you write-protect pages that you actually expect a program to write to, like memory-mapped pages, because then when the write happens it triggers something else (like copy-on-write or marking a page dirty or something).

Rules like "Don't use dynamically allocated memory" are one example of this -- not that they really expect you never to do it, but that marking it "Required" is a way to force you to document how you plan to make it safe.

Similarly, if it's easier to rearrange a function to have only a single exit point than to explain why you need multiple exit points, just rearrange it; you really need multiple exit points, just document why.
naivety isn’t evil but it’s highly damaging
Kudos to the parent for setting clear limits to their kids cell phone use.

Most of us on HN can be grateful for having been able to fully develop our faculties in an age where instant dopamine shots weren't available 24/7.

Looking at kids growing up now and stories from teachers in classrooms it's dystopic IMO. A 1/3 of teachers' time spent battling for attention against TikTok. Teenagers sitting together and not giving each other proper attention because of constant interrupts from Snapchat. No room for boredness-initiated creativity in the lives whatsoever.

I don't think Soma from Brave New World was all that far off from what's happening with smartphones.

I hope we're at the top of the curve now though, at least in Norway phone use in education and social settings is seen more and more like smoking and more and more parents at least try to delay the introduction of screens for as long as they can. And (some) high schools are finally imposing PROPER bans against smartphones during class (i.e. confiscation rather than "I promise not to use it" which simply doesn't work). It's a hard long battle at this point though; made harder by adult techno-optimists (most of whom I can only assume probably haven't properly seen teenagers these days in action)
Takes an hour and it will hang there for a few years.

I see the use case if you want to move it often though. Though as soon as you bump it you have to move it slightly again. Or let it run through autocalibration etc. For me it's more convenient to hang it to a fixed position where it can't accidently be moved.
> Governments are not designed (nor should they be) for efficiency. They are designed for safety, accountability, transparency, and universality.

And that's the way it should be, considering that government has that monopoly on the use of force.

Is there a chance we could write these attributes into a constitutional amendment ? A little гласность goes a long way.
Quitlessia and NeoQuitlessia... These names are evil. (Doom Emacs lies in NeoQuitlessia instead of Emacsia, which surprisingly makes sense. :)
Some valid points. But seeing how traditional media has been framing certain events, avoiding to name certain agressors, while being very clear with others, it is obvious that our Western media has a strong bias towards certain narratives. You might say "isn't that normal / desired?". No, I would like to have objective reports, no matter who is doing what.
What a joke. Every single political party that will ever be in power will want this sort of bills to be passed. It benefits them directly.
> crisis response protocols for emergency events (such as last summer’s riots).

Or maybe the proles organising mass protests at the government. No, surely not.
Your second sentence is a gross misunderstanding and you might benefit from some therapy to be kinder to others. Regarding the first do you realize TikTok is not allowed in China and Byte Dance runs Douyin with a government safety system for content ? And secondly would you consider any government modifying a virality algorithm to still be a free speech platform?
How the mighty have fallen. I remember the Arab Spring and all the excitement about media being in people's hands, safe from censorship... So finally, non-Arab people got the same opportunity too. And now, apparently, there's nuance.
>As an independent, I see both sides making the situation worse, but only one side saying they want smaller government, but then doing nothing to stand behind that principle.

it sounds like you're saying the side that consistently lies about something is slightly better because at least they're saying what you want to hear?
Side note. But if they're banning TikTok, they totally need to ban Youtube and Instagram as both of them have what TikTok has. I.e. The never-ending slot-machine of dopamine known as Shorts and Reels.
Generally when people refer to the "times" they are discussing the vibes over some aggregate. Zoom in enough on anything and you start to see different individuals with unique circumstances, but this doesn't make futile the entire endeavor of observing larger patterns
Time for a code-yellow?: A blunt instrument that works
An impact-based level system for engineers
Does geocentric go hand in hand with flat earth?

Because it was pretty common scientific knowledge that earth was round back then. A knowledge that got lost during the dark ages.

For example: In the third century BCE , Eratosthenes, a Greek librarian in Alexandria , Egypt , determined the earth's circumference to be 40,250 to 45,900 kilometers (25,000 to 28,500 miles) by comparing the Sun's relative position at two different locations on the earth's surface.
This is what I meant by direct investment. Owning true controlling shares versus the cayman economic proxy
> Is there any way that we can overwhelm them?

Yes: leave the UK.

I and a lot of high earners are thinking about leaving the UK because it's simply a punishing country where you have high taxes like others in Europe but nothing to show for them. It's also by far the most authoritarian western country, as exemplified by measures like this one.

The way to overwhelm them is to sink the UK by having most of the people it relies on to function (high earners) leave and let the country collapse.
> “The stability of Germany’s economic system as we’ve known it for decades is crumbling,” said Chief Executive Officer Miguel Lopez. “There is no doubting the need to act now.”

A lot of this is structural, but it's also entirely driven by the population and not just the politicians. There is a massive degrowth mentality going around for probably 20 years at this point, and many necessary projects are stuck behind citizens initiatives that are trying their best to kill them.

A good example of this is the Brenner-Nordzulauf, which is a proposed and necessary rail track that would connect to Italy via Austria. The tunnel on the Italian and Austrian side will be done in 2032, but the Germans are in a deadlock for many years now. At the moment they are talking that they won't start with their side of the project until after the tunnel is finished and they track won't be reality until 2040 or later. This is just one of many projects that are stuck with exactly the same issue all over Germany.

What makes all of this feel irreversible is because society at large started to push against the idea of GDP growth. I'm not even sure if politicians can "act now" if the problem is that the population is absolutely okay with how the country is running.
A list of base hack like content grouping, user id, custom user properties and UX metric like page generation time and page load time
That's what happens when government is pretty good for a long time and people get used to trusting it over multiple generations.

This is the biggest cultural shock for 100%-eastern-european-me when I'm exposed to western europe. Why would people trust governments, media and so on? I'll never understand it. Do your own due diligence, prepare for the worst and brace for a beating from government which wants to sell you out. Is it a good way to live? Probably not. But looks like it's the natural state.
Final Cut Pro CONTINUES to beg the user to buy the iPad version on any possible opportunity. That's a $300 app, btw.
Unlikely to change as Gambling companies are major donors to the Labour Party.

https://theguardian.com/society/article/2024/jun/28/tory-bet...
Short History of Artillery – Antiquity to 19th Century
That's OK for things like the Copenhagen Interpretation, which don't consider the wave function to be anything more than a method for computing probabilities of measurement.

However, the MWI is claiming that the real world is described by the Universe wave function, and that classical properties we're used to seeing are merely a consequence of the decoherence of pure quantum states as they get entangled with the general environment.

However, this process doesn't set any preferred basis. So this doesn't explain why all of the classical world appears to have definite properties in the same basis. That is, decoherence explains why we don't see phenomena like self-interference when throwing a basketball at a double slit experiment. But it doesn't explain why we can observe an electron in multiple places at once if we measure it in an energy basis, but we can never observe a basketball in multiple places at once if we measure it in an energy basis. How does the classical world's preferred basis emerge out of the wave function where any basis is just as valid?

This is why, even with the MWI, the wave function alone is not a satisfactory explanation for the universe - it doesn't explain, without additional postulates, how the illusion of a classical world can form.

Contrast this to other counter-intuitive theories like special relativity. Special relativity says that lengths contract in the direction of motion, which we don't observe in normal experiments such as when running really fast or even when driving in our car. But we have a good account of this: the contraction is so small that it just can't be noticed. So there is no real conflict between our most immediate perceptions and the theory, because the effects of the theory are just too small for us to perceive. But the effects that the wave function description of the universe predicts are actually massive: if basket balls could be in multiple places at once just as long as they have a definite kinetic energy level, then we would notice that very clearly.
Which kills any sort of online anonymity as all social media posts will be directly linked to your ID. This will make it much easier to go after anyone that is a dissident in the UK.

Many these awful laws such as one being discussed are sold to us under the guise of protecting the children. The last time I checked 7 people a day were being prosecuted for speech related crimes in the UK (and I checked a while ago).

Parents should be the ones that should be controlling their children's social media usage.
Indeed - they have some very limited freedom, but the policy goals increase in detail on every level from the top and, with that, the set of allowable actions is reduced.

For instance, let's imagine you want to add a feedback form to a website - you need to track the data collected, make sure it's used only in the appropriate legal ways, that the infrastructure to host the data is procured within the budget already set up, and so on. They need to tread carefully not to step outside what government is authorized to do.

This is why I got involved in government work in the first place - free and open-source at least eased the procurement step - we only needed to prove the software was adequate and would not do anything not permitted by the rules that governed the adopting org.
If that's why they were banning TikTok, then sure. But that's not why they're banning TikTok.
That’s a good clarification as not all companies are tech related and there are companies eligible for trading. However northbound trading still follows all applicable laws and there’s no access to direct ownership in some amazing companies
There's a lot not to like about this legislation, but you're way off the mark here. The legislation doesn't impose a generic ban on anything that someone or other considers 'harmful'. It's a raft of quite specific regulatory requirements relating to specific kinds of content. There are certainly arguments to be made against it, but your examples are quite irrelevant.
I've always hated calling these "lambdas" or even "serverless" as a whole. They are not pure and they absolutely run on servers.

Now, of course not all lambdas must be pure... but as a whole, for the entire concept to be called "lambdas" and have the entire link just be it runs a single function seems weak. Like what about the `main` function? It's just co-opting the term lambda to sell PaaS.

What they are is an attempt at making a more basic environment to program around. They are essentially operating systems, no?

Anyway, sorry for the early morning rant on this.
Cmon that’s a bit hyperbolic isint it. This operation is wrong but social discourse online is good
Well "porridge" is not a synonym for "healthy", but i see your point in gambling ads...
same thing can be said about the opposite. People addicted to drugs to be productive, have they tried GP strategy?

> you're also overlooking the affect of stacking drugs on top of all the other things you list.

that’s an exception, people looking for shortcuts won’t take the long route
Some things that make languages easy (or not) to embed in Unix shell scripts (2
Well, that links to EFF's own "propaganda" - perpetuating privacy at all costs. Inevitably the place law and regulation should is somewhere in between, balancing risk and striving for an acceptable position all things considered within a democratic framework.
i have my google recovery codes tattooed on my chest memento style. when i look in the mirror, i see them. only downside is i now sleep with women with my clothes on.
About banning ads for “certain types of porridge”:

> …the majority of porridge, muesli and granola products will not be affected by the advertising restrictions but some less healthy versions (with added sugar, chocolate, syrup) could be affected.

> Sometimes products may be marketed as, or perceived by consumers to be, healthy but in fact contain surprisingly high levels of saturated fat, salt or sugar.

Source: https://healthmedia.blog.gov.uk/2024/12/06/here-are-the-fact...

More details; the pdf in the last link has examples on how scoring (computing NPM score) is done for particular products: https://www.gov.uk/government/publications/restricting-adver... , https://www.gov.uk/government/publications/the-nutrient-prof...
Using Drop for safety in Rust
That sounds very optimistic. Do you have any data to back that up?
Is it hot or cold storage?
I understand, that the breakdown of magnetic field is indeed slow, but the HDD as a whole is not as sturdy, I think - you need to spin the platters, control the heads and so on.
A few additions:

As long as there is enough production capacity (using fossil fuels), it isn't a serious problem, even though not ideal.

Storage systems are economically viable only if there is a high price difference, especially when you have to pay twice the network fee (recently temporarily dropped in Germany).

CO2 pricing will increase the price difference with time (renewable energy stays cheap and fossil backups will be more expensive, making room on the market for businesses storing energy)
> Is there a chance we could write these attributes into a constitutional amendment ?

If all parties acted only in rational ways, it'd already be there. This signals all parties do not act only within the limits of reason.

> A little гласность goes a long way.

¯\_(ツ)_/¯
Sound incredible !

I like the word "simply" in this sentence

> i will simply be able to recreate the baseboard with the new 4G module, a microcontroller, and some audio processing and power management circuitry and it will be able to seamlessly fit inside the phone.

Seems like a bigger project than the author would let us think ! But I hope to see the PCB soon !
The Hayes Code exists to have a standardized industry guideline in response to individual states issuing dozens of differing film censorship bills. So while it is not a law, it is a guideline for how to be compliant with a rapidly proliferating number of censorship laws.
Speaking of which, where's the apology from Türkiye for storing ammo there ?
iPhone 4 Documentary: Theft, Death and Steve Jobs [video]
I don't expect the "DOGE" to ever be part of the government in any legal or official sense. I expect it to operate like a think tank or lobby, giving suggestions/orders to Trump.
I find MOOC videos super useful even though I havent been motivated to complete one properly. I may not have the time to juggle work and an MOOC with homework deadlines, but sometimes the MOOC videos may be all I need to finish a complex task.
Interesting, so no hands-on senior engineering "fractional" positions either? i.e. who actually build things.
I really like Steampipe too. Writing the plugins is quite fun.
You've been making so many weirdly heated blanket assumptions about me as a person in this thread.

If you have a different opinion at least try and be civil.
> I swear I first came across Google as the better alternative to AltaVista in my last year at Uni in '96, but Wikipedia says Google arrived in '98, or at least the company was set up then, is it possible it was usable 2 years before they incorporated?

Sounds like a Mandela effect. :-)
It was more like a discovery of underlying structures of anthropods. Especially the part about positive, negative, and transmutive nationalism.

Hit the nail on the head with that one.
Serverless seems to me be just to be a more complicated way to do php shared hosting.
> One always sucks air while the other blows air, synchronized over WiFi. This should be done, or hot air would be pushed out from the building through the walls during the ingress phase, causing heat loss." ...Perfect!

Absolutely.

> A room is not heated by increasing its internal energy but by decreasing its entropy due to the fact that during heating, the volume and pressure remain constant and air is expelled.

https://pubs.aip.org/aapt/ajp/article-abstract/79/1/74/10418...

The point about balancing airflow is crucial, but I think underappreciated by non-professionals. Thermodynamics is highly non-intuitive in places, and the enclosed climate-controlled spaces we love to inhabit are certainly included in that.

Don't get me started on the idea that you can cool a closed room by running a fan or opening a fridge.
These are amazingly beautiful. I'd be tempted to buy one if it didn't have the brand logo etched into the wood.
> The way to overwhelm them is to sink the UK by having most of the people in relies on to function (high earners) leave and let the country collapse.

Leaving is useful, if it improves your personal well-being.

No need to be spiteful about it.
The sweet Raspberry taste of success masks a missed opportunity
Or a very quick way to get your personal email address blocked. Pretty sure this will eventually trigger some sort of automated spam response and that account will promptly get blocked.

Hope they used a throwaway google account with absolutely no link to his domains or main email address.
Glasnost didn't end well. (Edit: for the ones implementing it, I mean)
Posts like this make me very happy - I've never seen a real Plato terminal working and have little idea of the social context they'd be used.

I love to quote William Gibson on this: “The future is already here – it’s just not very evenly distributed.“

You had a glimpse of it. Treasure those memories.
Every public pronouncement they've made about it. The Krugman piece linked elsewhere in these comments examines a few in more detail if you don't find them instantly indicative of non-seriousness without further context (but you should).
https://en.wikipedia.org/wiki/Middle_ground_fallacy

It is never "inevitable" that the correct place for law and regulation is somewhere in the middle on every issue. Sometimes it is, sometimes it isn't, but it's never inevitable.

Assuming that it is makes it far too easy to move the Overton window: regulation proposes something stricter than the status quo, "compromise" moves in that direction, repeat.
I recall reading a study showing that MISRA actually tended to _increase_ the average number of bugs in software projects.
I personally went down the route of creating a mini wrapper around functionless/functions which allow me to run things locally via a server and then when it comes to deployment decide whether it should run via serverless or docker / on a vm via adaptors.

It doesn't allow you to simulate a lambda function directly, but makes the assumption (that held so far) that all the different API's and runtimes usually come down to the same core principles (HTTP / Websocket / timed jobs).

The core idea is exactly around testing which approach works best for lambdas / functionless.

https://vramework.dev/

Disclaimer: The core maintainer and I haven't yet published the serverless adaptors. Also need to update the landing page, as the serverless/server switch is only one of the core principles.
Gemma2 9B has significantly better prompt adherence than Llama 3.1 8B in my experience.

I've just assumed it's down to how it was trained, but no expert.
I don't see the issue if it only pops up when the screen is turned on. In my case that's only when the PC is starting. How often do you turn your screen off...?
What's a rough sketch of your idea for the vimscript?
Funny, this is one of those topics that has repeatedly given me great pessimism. If you take the conclusion that social media is corrosive to society then it should lead to a game of whack-a-mole against all social media. Yet I don't see that being the case in the emerging bipartisan narrative - the implication being that it's great when we do it.

On the other hand if you take it as a threat to national security, there needs to be a clearer argument for why that outweighs the pretty immediate free speech implications of the large number of users who do not want the app to be banned. This sets a huge precedent and yet I see proponents of the ban just getting carried away as to why the perceived short term benefits are justified with such unclear long-term ramifications. This is fundamentally about how speech on the internet stacks up against the interests of the defense department.
As an American or someone who is interested in US security, this is illogical. China bans US software to protect itself and we should do the same. We should also ban most computer hardware as it's not possible to regulate. As Israel has shown with the pagers, supply chain attacks are pretty serious.
Let's say I fit the neurodivergent stereotype, and this sentence especially fits most of my attempted careers down to a T - "I ended up concluding that I didn't have the communication skills needed to do X".

At times (I feel like) I am a great communicator, the other times I can see people thinking I'm damn slow, and most of the time it's bimodal like that.

I am almost 36 as well, never finished a damn thing in my adult life.