skysight-inc/HackerNews huggingface dataset:
If there is a non-error effect in running sudo rm /foo, then indeed it should have the same effect as rm /foo as root in the chroot environment.

But using sudo, or even root, in a chroot environment isn't good security practice in the first place. For example, the environment's /etc/sudoers, /etc/shadow, /etc/passwd can all be different (but actual user ids are shared), while the environment could mknod the root filesystem device, mount parts of the host under /usr and /home and quite possibly elevate its access to the host filesystem, in which case sudo in a chroot environment would interact with the host in perhaps ways that are not directly constrainable in sudoers in the first place.

I imagine it's possible to carefully construct the chroot environment and craft /etc/sudoers in a way to avoid this, but I wouldn't even try.

In a better contained system implemented with namespaces (as in docker) sudo should work as expected. I imagine e.g. with docker you could have a service that responds to the system dbus messages, either as a separate daemon in the container or something even provided by docker itself. Or, maybe the requests from the container could be forwarded to the main systemd, with information about the context the request comes from, and let it choose how to move forward.

In the end I don't think I agree that a sudo replacement exchanging messages directly with the systemd is the best way to go. There could be another daemon, run by systemd (or not), that handles these messages. I suppose in the case of dbus there is no "dbus firewall" to limit the access to dbus as one can limit access to Unix domain sockets with plain old permissions, though, so perhaps the security benefits would be minimal in the dbus architecture.
IMO if you work on IoT, you are in the wrong place.
But who am I to judge.
https://www.ftc.gov/business-guidance/blog/2024/03/price-fix...

The FTC posted an article about algorithmic price fixing not too long ago too.
Thanks for the good tips!

Until Safari adds a shared reading list feature, Notes collaboration works well for that purpose. Rather than emailing web links to a friend/colleague, just create a shared note for them and add the link to their reading list note. They remove links as they read/pass.
Why did you think weighted probabilities of words occurring together in past internet texts would somehow help you find a market fit idea inside a bunch of interviews?
I think what regulators should start doing instead or on top of of inflicting monetary fines is to force companies to mint a significant amount of new shares and put them in escrow accounts, then in case some future event happen (security incident meeting some specific criteria for a catastrophic incident), the share should be put on sale at market price and used to refund the affected customers and pay for the regulatory costs.

In this way, executives and policy makers have a harder time moving on and not being accounting before the effect of their bad decisions is apparent, because the reputation for sharesholder value destruction could haunt them. Executives will be incentivized to create a better security culture.
So energy retailers, yep for sure, you can change to another one if the one you're with is bad, and there are new rules on just how easy that has to be.

But how are the distributors being privatised a good thing? I don't get to choose if Cadent serves my gas, or whoever my DNO is re: electricity, or if Thames water serves my water, so they have no motivating reason to give a shit about me. Their goal is aimed directly at a) lobbying regulation down, b) working around regulation as much as they can, to make as much money as they can.

This has resulted in distributors for electricity and gas being the #1 and #2 highest profit businesses in the UK (~40% profit IIRC), with water being at #6.
Hyprland 0.40.0 update moving off wlroots
I volunteered to help .netart artists in the early 2000's to get their code working. They were able to do some very creative things with PHP that I know they didn't have the coding skills to do otherwise. Like grabbing random images based on keyword searches from poems and creating montages with them. The industrial programmers would shudder in horror at the PHP code they wrote but it did the job. PHP is for the people. It'd be nice if the bureaucratic programmers would keep on making their proper factory factory singletons they learned at University without turning up their noses at PHP in their boxed world

Malvina Reynolds - Little Boxes
https://youtu.be/VUoXtddNPAM?t=14
Just wait until we have WebSockets in CSS!

Jokes aside, CSS is declarative and while there is overlap between problems solvable by JS and CSS, I think that’s only natural.

I’m actually really excited for all the new features added to CSS lately, less interpreted code is better.
Hence why letter of the law, and spirit of the law, exist in first place.
LFG is a CLI tool using llama3 to help you find terminal commands
I created a terminal tool in Python to help me explain CLI commands based on the llama3 model using Grog. It works surprisingly well and has helped me do my work quicker than using Google/ChatGPT directly.
Another note is that I did not like the GitHub Copilot due to the strange command syntax. Could of course create an alias here to simplify it.

Nothing special about the code. Quite straightforward. Feel free to modify it as you wish.
I think if you find yourself labeling something as hype, you should trust your own judgment, and assume it is just hype.
This is turning into a public relations disaster for Sony.
A compression method something like this figured into Vernor Vinge's 1988-era short story "The Blabber".
> Nature is brutal, and if I am not among the best, I'm going to experience pain.

Working so hard to get into the 1% is also very painful. Looks like, in your philosophy, pain is inevitable, and you only get to choose which form of it you take.
If you use Adobe Photoshop, Illustrator, Adobe Acrobat, Adobe Premiere Pro, and Adobe After Effects on MacBook, then you have probably seen this error messages: -
- a popup of Adobe genuine software integrity service
- This unlicensed Adobe app will be disabled soon.
- Unlicensed apps may contain malware that exposes your files and personal data to security risks.
- Adobe provides a 10-day grace period to resolve this issue with exclusive discounts on replacement apps

Following the appearance of this error message, the application will become unresponsive, necessitating termination via the task manager. Any unsaved work will be lost. Now, let's address the expired license problem for Adobe applications on MacBook.

- all the steps described in this article:
https://www.itech4mac.net/apps-troubleshooting/how-to-disabl...
Nationalised industries can be (and often are) structured as ordinary companies where the government owns all the shares.

The ability to sue thing also depends a lot on where you are. The Crown Proceedings Act 1947[0] waived most of the special protections government operations got, especially in "commercial" areas. So in practice it's not worse here than suing any other large organisation.

[0]: https://en.m.wikipedia.org/wiki/Crown_Proceedings_Act_1947
Yeah you can do tons of interaction-dependent stuff without losing the GPU-accelerated nature and declarative style of CSS animations.

We built a high performance animation library on this concept:
https://github.com/Monadical-SAS/redux-time
Crappy, but enough. Or you could buy a $20 camera. If none of these are an option and if there is any need to prepare, don't take the phone at all.
Looking into this!
According to a recent post, UK regulators (the EA and OfWat in this case) are far less likely to implement fines or criminal sanctions against these blatant abuses than their US equivalents. Feargal Sharkey, a big supporter of SAS, states that the existing regulations are sufficient, just that our politicians are cowed by the lobbyists and party contributions. Thames Water was asset stripped by McQuarie bank who have extracted £bns in profits and dividends under OfWat noses. Not least is the revolving door of recruitment in this back scratching world.
Adblocker!

You can try ublock origin, its the best of the bunch.

If youre on iOS, Brave is a good(ish) option as it even blocks youtube ads. Enjoy.
Expensive yes; unburned is a choice (and less important given the energy density); the long term danger is both true and misleading because while it's a long time the actual volume of material is tiny.

For me, the problem with nuclear is the safety profile: although the mean deaths per TWh is really really low, the observed upper bound on damage that can happen when it does go wrong is sufficient to bankrupt a superpower.

Low mean/high variance is exactly the kind of scenario where I expect people to cut corners because they think it will never affect them.
I tend to cocoon myself in making more features rather than marketing and finding product market fit. I'd spend too much time scripting instead of getting real customers and listening to them.

I built a basecamp style CRM before basecamp existed and tried to educate people on why they should use it but they never heard of such a thing. The new user entry effort cost was too high.

Getting into something too early is bad because trying to teach people what it is too much work you need something that has plenty of competition and you can just differentiate from that competition and say mine is better because of x.

Eventually I worked for a company that had a very simple but profitable online service and I basically just got into the same space. People are mandated to take an online course they go to the government website to find out the providers and they just come and sign up. I spend zero on marketing and don't do any SEO. There are all sorts of courses and tests mandated by the state and if you could provide one of those and get on list people just come and do it at all times today and it's fairly reliable.
For those living under a rock, at the bottom of the sea or in the shed at the end of your garden.
Very few Git users use a true distributed workflow that merge is designed for; naturally, most Git users would have no use for merge.

Merge is useful when there are multiple "canonical" repos which occasionally merge changes in between each other. Think web of trust vs central authority.
What a fucking dumbass
Of course you should use the opposite lane when passing? Hence it shouldn't matter to you where they're placed in the lane, as you should leave ample space when passing anyways and move over.

Isn't it also better for you that the cyclists get a head start, thus you're not stuck behind them in your scenario?
According to https://de.wikipedia.org/wiki/Bubble_Tea (easily accessible via dropdown from the english-language wikipedia), it's sadly Denglish: „der Bubble Tea“

(but by the time it gets its own DIN maybe it'll become „der Kaugummiähnlichtapiokaperlenkondensmilchhonigeinwegeistee“?)
The last PDF page is a play on the Paul Masson and Orson Welles wine commercials of the time.

https://youtu.be/5C6EwLTAvHc

The 1978 commercial says “ We will sell no wine before it’s time”

The PDF business plan says “ We will announce no Apple before it’s time” And shows a man drinking wine who could be Orson Welles.
> you have one infrastructure maintained by a national operator

Yeah I know this model but here the one infrastructure is the service.
If you want a detached house (or a townhouse) in Norway it means wood.
I have grown up in a country occupied by communists and of course everybody was trying to escape across the iron curtain.

Nevertheless, the reasons were because people hated being forced to do and to say things that they did not want to do and to say, and because there were many categories of things that they were completely forbidden to own.

On the other hand, among the few categories of things that they could have, many were quite nice things in comparison with what is available today everywhere.

For instance the quality of clothes and of food has been lowered dramatically after the communists lost the power, the internal market was opened to global commerce and the local factories had been destroyed by their managers (who had stolen all their assets in order to transform themselves from communist bureaucrats into capitalist businessmen).
This article gives me the willies and I can’t exactly articulate why. I think this “luxury beliefs” theory is based on his interactions with Yale students. Yes they are privileged, but more than that, they are 18-22 years old. I’m not surprised that any group of 18 year olds dont understand the importance of stability, let alone ones who have probably not experienced instability.

But the tone of the rest of the article smells of a certain kind of conservative smugness that it is your individual responsibility for improving your own situation. This is absolutely correct but he discredits “community leaders” and students who “had little in common with others other than how they looked” and specifically calls out defunding the police. So it is somehow also about race, and policy decisions.

Just say “I don’t like poor people.” I’m one of the good ones. I made it, so can you. If you didn’t make it, it’s your own fault. Well your parents’ fault but it’s your fault now. Race has nothing to do with it, other than the fact that I’m bringing it up a lot. Don’t organize. Don’t make policy. Stop complaining about the police.
I did just for myself, but open sourced it: https://github.com/bjarneo/LFG
Not if you're interested in compressing more than one file - compression tools are a fixed, one-time cost in size.
The profitability of cartel price fixing in a slow, supply constrained market is enough carrot to cause to lead to anticompetitive coordination.

In this game theory setup, breaking from the cartel only pays off with excess supply (long vacancies, new units you could lease), which is fairly atypical especially bc of regulatory hurdles. If the market is supply constrained, being part of a cartel maximizes profits. Over longer periods, a competitor could increase supply and inject some dynamism that rewards breaking from the cartel, but for urban/suburban apartment complexes, this is long time and of limited effect to the cartel's pricing power.

This is why the FTC exists to prevent this type of illegal coordination (bc it's so attractive to profits!)

Edit: typo
Why does Hacker News not make links open in a new tab?
It's literally a matter of adding target="_blank" to an a tag.
Rusty.hpp: A Borrow Checker and Memory Ownership System for C++20
Is there some way to implement this so that the resulting code is still valid Rust code that can be compiled using vanilla Rust tools?
Who will pay for food on your table and roof above your head?

Billionaires pay little tax so that’s not the answer.
I have very many tools just for myself on all platforms I work on/with. I tend to automate whatever I do (or anticipate to do) more than once. I started doing this in the 80s.
Could someone familiar with Verus comment on the power and expressiveness of Verus vs. Lean4

I understand Verus is an SMT based verification tool, and Lean is both an interactive prover and SMT based tool.

But my understanding in the area of formal verification is limited, and it would be good to get an opinion from someone well versed in formal methods for software.
> Am I somehow held to a different standard just because I was paranoid about surveillance from the start?

Yes, how else could it work? For example if you have a policy to destroy CCTV footage at the end of the day then it’s not illegal to do that. If you have a policy to keep CCTV footage but when the police come and ask you some questions you delete it because you know that it contains evidence of a crime, that’s destruction of evidence. It’s not illegal to delete things, otherwise the world would run out of storage, it’s illegal to delete things to knowingly impede an investigation.
Update code-of-conduct.md to resolve CNCF out of compliance activity
Why should a link open in a new tab? Users here are technical enough to ctrl-click to open a new tab.
Free things are only free until they become

1. discontinued

2. commercialized (paid), or

3. broken with nobody to fix it

IMO the only free services and free software (free as in free beer) you can rely on is software that is open source or source available (in its entirety).

Lets disregard the "youre the product" (and the fact that the hardware wasnt free) for a second and focus on the fact that all these dead services have one thing in common: They shut down because theyre centralized, or because their development is centralized. If an open source project (where all parts are open source) is developed by a paid dev team, and they abandon the project and kill the dev team, the code remains and people can continue to use it if they wish to maintain it also.

I'm no stallman, and I dont generally care for idealistic arguments, but this may be one of those rare times when the "FOSS is better" crowd has a really good point.

Even if its source available, or a non-commercial license, thats still more pro-consumer than whatever google fit et al did.
Ireland tried to privatise water a while back. During the "Celtic Tiger" boom that preceeded the global economic crash of 2008, the governed of the time smiled on idea of privatised water, and were also being gently pressured by the EU to introduce it. Before they could do that, the crash happened. The government were pushed by the EU to bail out the banks and socialise the cost. Ireland was particularly screwed during the property crash for a bunch of reasons. First, we had no rent regulation and extremely low quality housing, so if you were renting your simply got screwed. Second, a large number of people had enough land to build a house on. Third, aside from these existing incentives, it's a peculiarity of Irish people that they need to own their own homes. (I say "peculiarity", even though I'm firmly in that camp - frankly I don't understand how other Europeans can sleep at night knowing that they'll rent forever and with no guarantee on the cost, and who knows what might happen to pensions in the future)

Anyway, after the then government agreed to bail out Irish banks, the EU put the Finance Minister under pressure to introduce austerity. Up to this point only businesses, farmers etc actually got billed for water but regular citizens were not. It's was paid for under progressive taxation. So when the government tried to introduce water charges and privatisation, the backlash was huge. Arguments raged.

Electorate: "Why introduce regressive charges that will disproportionately hurt the poorest?"

Politicians: "Other EU have water charges, get with the program".

Electorate: "So what? That's not an argument."

Politicians: "Actually it's because the infrastructure is crumbling and needs investment, but we have no money because 'austerity'!"

Electorate: "Why is it crumbling? Why didn't you invest in it during the Celtic Tiger boom?"

Politicians: "Uh... well... That's beside the point! People are wasting water! We need to charge people for overuse!"

Electorate: (Does some detective work) "Actually, due to our weather we don't water our lawns or own swimming pools. Our water usage is pretty flat across the social classes, unlike places like California and Florida. In fact our usage is comparable to that of England, who have similar weather and water charges."

Politicians: "Ok, by privatising water, the market will make the system more efficient!"

Electorate: "How will the introduction of a complex new billing system, meters, social welfare credits and a private company with its own organisational overhead, salaries, profits and bonuses ... make this cheaper or more efficient? Won't they just charge us more, pay themselves more and save costs by not investing in infrastructure?

Politicians: "That's just stupid"

Electorate: "Look at England"

That whole debacle basically destroyed Ireland's Labour Party, who were in a coalition government at the time and backed the water project. They never recovered from that.
Show HN: I built a website to share files and messages without any server
NeighborHoodShare: It is a p2p files and messages sharing platform without involvement of any server. It has end-to-end encryption, ensuring your messages and files remain confidential.

These are some features:
- Share photos, documents, videos, and more with ease, no matter the size.
- Connect instantly with anyone for speedy and reliable file transfers, bypassing the need for centralized servers.
- Get started in minutes with our intuitive interface designed for seamless communication. No registration.
- Easily connect with others using QR codes, simplifying the sharing process further.

The inspiration behind NeighborHoodShare stemmed from a common dilemma: the reluctance to share personal contact details like phone numbers or email addresses when sharing photos or messages with strangers. With NeighborHoodShare, you can share content securely without compromising your privacy.

I would be happy to hear your feedback and suggestions for improving NeighborHoodShare.

I had written a blog on how p2p networking in browsers work: https://dikshantraj2001.medium.com/nat-stun-turn-and-ice-466...
Good Ole WSJ.

Always delves deep into the banal as in boring.

The defining word is? "MAY".

May, might, could, the use of those words is always a warning and reminder that I will know less after I read the article, so I never read them.

Like reading research papers with those words scattered amongst the outcome.
>90% of AM radio stations are owned by ~5 companies pushing a conservative agenda

This is a bipartisan bill protecting the government's ability to transmit emergency notices on what is inarguably the best available technology to do it.

Saving lives takes precedence over your political identity, I hope. Thankfully both sides of the Senate think so.

I'm glad you weren't involved in their decision. You seem to have lost sight of what's important.
(I know next to nothing about radio)

I imagine this would depend on who can transmit "louder"? In the case of a disaster, that would likely be emergency services of some kind
The european way right now is to be a freerider. Get military coverage from US and sell assets to China/Russia/etc to get some money for now.

It will be interesting times once easy money dry up and US tells us to pay for our own defense.
It's easy to see how that might be beneficial for Internet: pay Openreach for last mile access but your chosen operator takes over after that. You can see an advantage for electricity and gas if you squint really hard: your supplier is responsible for buying power to add to the grid to serve you, and different suppliers can make different (if heavily constrained) choices.

It's really hard to see how this works with water. Upstream of your taps is an essentially fixed set of water collecting infrastructure. Downstream of your waste pipe is a natural monopoly sewer system which collects waste towards a single geographically determined water treatment plant. What is there for a competitive operator to change?

The honest answer is that water privatisation was the product of a very specific brand of 80s-00s magical thinking that believed the private sector was necessarily more efficient even without a plausible model of how the efficiencies would happen. There's a reason water and rail were two of the last privatisations, long after all the things like British Airways where there were reasonable grounds to believe the private sector was a better home.
Ask HN: Will LLMs hurt adoption of new frameworks and technology?
If I ask some LLM/GPT a react question I get good responses. If I ask it about a framework released after the training data was obtained, it will either not know or hallucinate. Or if it's a lesser known framework the quality will be worse than for a known framework. Same with other things like hardware manuals not being trained on yet etc.

As more and more devs rely on AI tools in their work flows, will emerging tech have a bigger hurdle than before to be adopted? Will we regress to the mean?