skysight-inc/HackerNews huggingface dataset:
I miss this attention to detail in popular websites' UI. Often even clicking on the label won't update the form.
Archaeology at El Perú-Waka': A Maya Ritual Resurrection Scene
Are those migrations still editable, out of curiosity? Oftentimes I'll want to have migrations add things that simply aren't possible with some ORMs (e.g. generated columns, which can't be schema'd in most ORMs).

The main thing holding me back from Prisma is precisely what you like about it - if the migrations are auto-generated and I can't edit them afterward, I won't be able to do what I need to.
Discussion (67 points, 1 day ago, 73 comments) https://news.ycombinator.com/item?id=41604817
Well, you are moving the goalposts like crazy, considering you were just executing a simple command with your original example, but let me search it and demonstrate the rest of it, rather than your Ctrl-F find one option in question:

https://manpages.ubuntu.com/manpages/noble/en/man8/sudo.8.ht...

-E, --preserve-env

--preserve-env=list

-H, --set-home

-i, --login

-s, --shell

The sudoers policy subjects environment variables passed as options to the same restrictions as existing environment variables with one important difference. If the setenv option is set in sudoers, the command to be run has the SETENV tag set or the command matched is ALL, the user may set variables that would otherwise be forbidden.

I am not sure what is meant by "masquerading as root" -- effective UID rather than real UID? "sudo" should set both to the target; there is no masquerading, even if you end up in a root shell with features of the invoking user's environment, those relevant variables should've been adjusted in the process.

So what you're proposing to do is to escalate privilege using "sudo"s security model and configuration, which may add, suppress, or alter environment variables, as well as SELinux and resource limits and cgroups or whatever, and then have a second go-round through "su" may alter the environment further, making for an unpredictable interaction. Hopefully it's all harmonized through PAM, but all you wanted is an interactive shell. Why try to justify this copy-paste idiom?

In fact, I could rewrite your original snippet as

sudo ls /sys/module

Why are you even opening an interactive shell to do one simple command? If that's all you want, then learn and use the appropriate idiom for it. "sudo(8)" was originally designed to run one-off commands without invoking that shell. In fact, security experts will tell you not to leave root shells open at any time. If you can run a "sudo command" and return to your user shell, then that is best practice.
I don't see this as Best Buy's preferred situation, rather they really need to bring people into stores and this is an agreement with carriers to give them preferential treatment regarding access to their registration systems
there are other ways to block ads
Artisans can make objects out of raw material, but they can also take apart objects to reclaim raw material. Software engineering tends to only ever do the former, because traditional toolchains are a one-way street from source code to assembly code to object files to programs.

That article rings very differently to me because of the tooling I've developed. With the ability to break apart programs into object files and reusing them to make new programs, I can do the latter. In a sense, using both pristine source code and second-hand binary code to make programs is as artisanal as software development can get.
It depends purely on the level of snobbery you want to strive for.
For people on macOS, the free app Aiko on the App Store makes it easy to use Whisper, if you want a GUI: https://sindresorhus.com/aiko
where in the analogy does social software fit?
https://youtu.be/j2oSyAfPzWg?si=bwM2NAsORzkqLQLk

Fun fields discussion on what particles are…
One of the very frequent challenges I have with optimizing code, is that unless the problem is very highly contained, first I have to look at this code that’s all over the place, both physically and emotionally, and just try to figure out wtf it’s actually trying to do. I can’t replace it unless I know the requirements. The intent.

Give me a piece of code that’s wrong but clear about it, and we’re good. I can get in and out and move on to the next most tricky:value ratio’s problem.

Refactoring it to that point will always pay dividends. Even if it’s just for the next person trying to add more functionality in this area.
Well it’s not in the uk.
> you're working on tight margins and designs become obsolete very quickly.

This seems like the exact place where open source is a competitive advantage.

Step 1, open source your existing firmware for the previous generation hardware. The people who have the hardware now fix problems you didn't have the resources to fix.

Step 2, fork the public firmware for the previous generation hardware when developing the next generation. It has those bug fixes in it and 90% of the code is going to be the same anyway. Publish the new source code on the day the hardware ships in volume but not before. By then it doesn't matter if competitors can see it because "designs become obsolete very quickly" and it's too late for them to use it for their hardware/firmware in this generation. They don't get to see your next generation code until that generation is already shipping. Firmware tricks that span generations and have significant value can't be kept secret anyway because any significant firmware-based advantage would be reverse engineered by competitors for the next generation regardless of whether they have the source code.

Now your development costs are lower than competitors' because you didn't have to pay to fix any bugs that one of your customers fixed first, and more people buy your hardware because your firmware is less broken than the competition.
Awesome!! Let's shut down some coal plants and let people enjoy the blue skies. I hope this effort expands across the country.
Yes, all the screen readers handle implicit labels just fine. As the a11ysupport.io tests show, it's Voice Control software that fails, not just Dragon NaturallySpeaking but also the built-in Voice Control in macOS.

I think the implication is these voice control programs aren't using the accessibility tree built by the browser but parsing the DOM themselves, poorly. It's not really surprising for Dragon since it does hardly anything in a browser without its browser extension installed and extensions don't have access to the accessibility tree. It's more surprising for macOS Voice Control.
Likewise, this contrasts with the (rightful) criticism of Google and other companies censoring anti-government material in China - which could also be described as "company complies with local laws"
Better performance. For a hash table, a cryptographic hash function is overkill (i.e. spends a lot of time to provide security properties that are not needed).
https://old.reddit.com/r/LocalLLaMA/ is a great community for this sort of thing as well.
Joke aside, seems like a frequency illusion[1] to me.

[1]: https://en.m.wikipedia.org/wiki/Frequency_illusion
> There is no wrong or right.

Only alternate facts?

I answered to a comment that said "I don't use copyleft because I don't want to have to pay a lawyer", which to me is a completely invalid point. It's like saying "I don't use copyleft because I don't want to eat bananas". You can use copyleft and not sue, just like you can use copyleft and not eat bananas.

> No one releasing something under an open source license has any sort of responsibility or obligation to some random other open source project they may not even know about.

I meant that permissively-licensed libraries tend to be favored, so that's an advantage when competing with similar libraries. If you care enough to choose a license but you are not trying to compete with other open source alternatives, then it would be nicer to go for copyleft.

I know permissively-licensed projects that were inferior to copyleft alternatives but got more traction because... well because companies could freeride on the permissive license. In that case those who chose the permissive license knew exactly what they were doing and decided to compete this way instead of technical merit.
That sounds promising, for some reason the webkit issue says “resolved / fixed” but I don’t see any updates in the issue itself: https://bugs.webkit.org/show_bug.cgi?id=167335
Beyond bacteria: the growing threat of antifungal resistance
The basics of Emacs are not that hard. One of my introductory freshman courses taught us XEmacs in parallel, as we went through Lex & Yacc.

Basically you need to learn a few basic movements, which are also really useful on any terminal thanks to GNU Readline, and a some basic concepts like the minibuffer, interactive commands, etc. From there onward, things are quite easy to discover little by little, especially with newer packages like vertico, marginalia or which-key.

Obviously, its much harder than VSCode, but investing on Emacs is IMHO worth the effort if one values stability. It will be probably still relevant when most competing solutions are gone. Plus, it offers great support for lots of niche languages and workflows, like Org.
I think there is an argument for this simply based on the fact that Verizon is currently disadvantaged competitively since they already abide per a previous FCC agreement.
you have to tell them

Yup! Justin (who posted this to HN) is trying to solve that by having a software system tell students exactly which exercise to do next.

BTW thank you for freely sharing your textbooks.
Technically it is an interesting project.

But anyone who has visited the museum will find it weird. It is very different. The building architecture is very different, there are thousands more works in the exposition, and the order of the works is very different, ...
That's a good example actually - should criticism of Trump now be subject to restrictions due to the two attempts on his life? "Stochastic terrorism" must be applied equally in both directions
You have to trick someone into opening your presentation and clicking a specific button, that’s not something a random person knowing my email could easily do. It’s a problem but I wouldn’t exactly say it allows anyone to access anyone else’s private drive files.
> What makes you say "over-villified"?

This article, of course. The obsession with investigating every possible company that has ever been remotely associated with the Sacklers. Etc.
I didn't accuse tptacek of being off-topic, I accused him of a non sequitur.
A key thing any senior leader usually learn is that you MUST adapt your behavior in front of the audience, depending on the audience. People won't react to your "charisma" the same way, and being consistent isn't a necessity.

Anyone who worked with a charismatic leader (from Steve Jobs to Adam Neumann) will tell you they wear many faces, depending on the setting, and they're usually different (so not a "true self").
For anyone unfamiliar with the acronyms:

PQ = Post Quantum (cryptography)

KEM = Key Encapsulation Method
Load Balancing and Sessionless UDP
I'm considering not using Facebook and Meta, but all my friends and relatives are on it. We just got rid of Alexa as Facebook advertisements show up based on what we speak near it. For example, mention motorcycles and get bombarded with ads for motorcycles.
Inference.net
There's many interesting books on the subject - "the culture map" is a fun and easy read, covering examples on various cultures (and how to create a more welcoming environment by being aware that differences exist)
They've been underprescribed for probably a decade now. We started overcorrecting long, long ago.

https://www.cdc.gov/mmwr/volumes/66/wr/mm6626a4.htm#:~:text=....

> First, average daily MME per prescription decreased after 2010, both nationwide and in most counties. The largest decreases occurred from 2010 to 2012, following publication of two national guidelines defining high-dose opioid prescribing as >200 MME/day (15,16). ... Nationally, opioid prescribing rates leveled off from 2010 to 2012, and then decreased by 13.1% from 2012 to 2015. ... This pattern, along with the trends in overall numbers of opioid prescriptions, might reflect fewer patients initiated on opioid therapy after 2012...
> You're confirming that you see the left as more deserving of speech than the right

No I’m not.
'Western society' might be a stretch.
Something about this article smells a bit fishy, but I can't put my finger on it.
The only time I've ever lucid dreamed was when I played an obscene amount of tetris, and I could actually play games in my sleep. Like games that followed the rules, falling pieces randomy, I could rotate them, lines would disappear, the whole thing. It was really really wild.
I believe in only buying things I really need and using them until they are no longer usable.

Then I sell them for a really low price to give them a second life in another household. Leaving devices lying around unused until they become electronic waste is a sin against the environment.
This is why TULIP oil makes a great fuel additive.
I think we've all seen bad software. I agree it's a problem. What I question is where the blame is being placed.

> Naturally, if writing flawless code was super easy, it would be done without fail. Some developers are clearly careless or clueless, leading to vulnerabilities and other bugs, and sometimes skilled humans with the best intentions simply make mistakes. In any case, Easterly isn't happy with the current defect rate.

To be fair this is the author of the article saying this. However just about all the examples of guideline adherence are about product features, not bugs.

The software quality problem squarely lies with incompetent management and idiots with checklists. That this role is currently being filled by someone with a military background doesn't help at all.
Correct, this is private.
this is nonsense. people will believe this but not believe that being in ketosis cat put PTSD into remission. it has for many people including myself. that frustrates me so much
I sure hope we can get to a happier software harmony, of enjoying code and systems.

One of the recurring trends thats cropped up is so called barefoot developers, folks just cobbling together some kind of task not for big industrial software with millions or even dozens of users, but just because it makes their lives or a small group of people's lives better.

Maggie Appleton recently followed up with a post saying that these are the folks ML/LLMs might best be able to help. To get them their stuff. https://news.ycombinator.com/item?id=40633029 https://maggieappleton.com/home-cooked-software

But I also have this feeling, that almost all the webdev we do is artisanal handcraft as is. We hand author endpoint after endpoint for our objects even though there's this high degree of similarity across endpoints; authorize/validate the request, do the thing in the db, return it to the user.

Part of me is sick as shit of just how artisanal software is; it stinks like rot that we keep cranking out more piles of code for each entity & as we intricate/complicate/embellish each entity/resource. We so rarely have broader high level systems where we've escaped from hand crafting web server middle tier glorified-translators of a very basic 3-tirr client-server-db architecture.

I just want companies to pay me to tell them how much less they could do, if they let me PoC their system in something ordered & higher order, such as Hasura. Like CORBA, the UML world also has great scorn as unmaintainable, but again it's like, those folks felt on to something amazing & mighty & we have immense unsurvivor anti-bias, we are pat & confident that this tower of babel built too high & all future towers too will fall & that the effort is folly.

But man, the chaos & lines of code we have been creating as an industry is just so unnecessary & so out of control.
We understand _low_ resolution matter.
Swap Pascal for Javascript and Boeing for SpaceX and the rant still hits.
Has it really been that long? It feels like the opioid epidemic was not that long ago.
Didn’t know that was possible with Omega 3. The pills I have are 660mg and recommends 1 per day, seems you took about 3.5x that dose

By the way, how can you detect arrhythmia? Blood pressure monitor or Apple Watch? General feeling?
In that case the situations would be very similar, and the reporting should be essentially the same, with some word substitutions. If not, this would be indicative of double standards, which I'm glad you oppose
>It turns out that visible matter —
like stars, planets, and galaxies —
makes up only about 5% of the
universe’s total mass-energy
content.

It always blows my mind how little we actually know. Everything we can observe and that science can describe is just a small fraction of what is actually out there. Since we don't know what dark matter is maybe its possible that it is all around us, here on Earth. I find that slightly disturbing for some reason.
The study hypothesizes that rotation is significant, but didn't specifically test that. I wouldn't be surprised if the effect were more general.
We are doing this weird zigzag of a gradient descent because we know that things are bad, but we don’t know exactly how they are bad. We don’t know exactly which direction is “downhill” and which is “uphill”, so we turn around and head somewhere in a 120° code of where we think is the opposite direction. But it’s not the right thing, it just has some of the opposite qualities of the wrong thing.

It’s better than post-disaster politics, where “something must be done, this is something, so we shall do it” but it has an aftertaste of that same sentiment, if that makes sense.
You are so out of touch with reality. Unlike the other mediums you mentioned, you can't leave the house without your phone.
This edit is brilliant!
Anyone have an informed preference between MLKEM and SNTRUP?
Imagine how much money is spent on defence. And then imagine the tiny proportion that is spend on basic research that might result in offensive or defensive weapons.
So the industry sells the phones "at a loss", but it doesn't lose money on that, because it eventaully makes back the full cost and more, and if it doesn't make back the full cost it considers that "fraud". I don't understand how that's supposed to be doing poor people a favor if they still ultimately pay the full cost of the phone and the service.
See also https://elite.bbcelite.com/deep_dives/back-face_culling.html
No, the Twitter lawsuit continued under Musk. The court fine was under Musk.
Executions of the conceivably innocent are no better than human sacrifice
Strawman--nobody said that. All I suggest is that if you wish to accomplish a particular task, then read the manual at that point, and find relevant ways to invoke the command.

The options I've memorized over the years are the ones I've used the most often, and this inertia can lead to ignorance, unless I periodically revisit the manual page to see what else can be done.

Every IT/CS instructor will tell you that your source of truth is the vendor's documentation. Don't waste your time Googling Stackexchange when the manual pages are available right on the system, on a website, or however. The manual pages are written by the developers and tech writers to specifically tell you how to use these commands.

You can either "cat for clarity" for the rest of your career, or you can learn new methods like shell redirects, "tee(1)", "exec <file; while read var; do cmd; done". I wouldn't be surprised if people start their careers thinking that "cat" is just for starting up a pipeline. Other students may be taught that "cat" is an elementary way to just put file contents on their terminal screen, and then they'll subsequently learn how "more(1)" is superior in this regard.

"When all you have is a hammer, everything looks like a nail."
It looks like you’re working in a very toxic environment if you consider all your coworkers like that - you might want to leave.

I’ll add that being disappointed with people is something that will happen outside of work as well : failed romantic relationships, family, etc.

Whenever you get close to people, there’s a risk something can go bad.
Reality is often disappointing.

That doesn't make ignoring it a good idea.
I love how the banner image is of an unlicensed Tetris knockoff.
> A hidden mechanism exists within the code base that allows Meta to bypass any user-facing controls, enabling them to access personal data even if you’ve set your privacy settings to the most restrictive levels.

While concerning, this is worded so vaguely that it could conceivably apply to any code that changes at runtime. You could be referring to anything from an iOS/Android CVE to a poorly-programmed Javascript library. Without serious details it's hard to say what you're talking about, and therefore it's hard to judge the threat you're whistleblowing.
Essentially all of Facebook is useless except for Messenger. If you can get people to message you on something else you could delete your whole account.
Funny. I remember when Turbo Pascal came out after that and blew people away at how fast it compiled.

https://www.freepascal.org/ Free Pascal is somewhat Turbo Pascal compatible and with Lazarus can do Object Pascal like Delphi.

I learned Turbo Pascal 3.0 in 1985 at my high school on IBM PC/XTs.

I didn't list Pascal on my resume because recruiters discriminate against Pascal Programmers.
Ask HN: Axiomatic algebra, like ch 1 Spivak's Calculus?
If mathematics comprises algebra and analysis, it's curious that Spivak's Calculus begins with an axiomatization of algebra.

It's not complete - addition and multiplication are not defined, nor even "number". Instead, it's properties of commutativity, associativity, distributivity, identities and inverses, and it's astonishing how far that takes us.

I really enjoyed this approach, but it has omissions: details like equality transitivity (things equal to something are equal to each other), and there's deliberate gaps (like using 0.a=0 twice in a proof before being proven, while claiming a comsequence).

I'd like full rigour, a treatment I could code, without need of mathematical maturity to paper-over abbreviations.

This is a big ask: I also want this detail without tedium; to retain the joie de vivre of Spivak, without gaps. The fun of building, like a construction set or building blocks.

Any recommendations? (perhaps I'll have to write it myself)
Here we go again, heh. What drives these replies? It's by far one of the easier and simpler dependencies as far as "involved runtime" packages go. That is - easier to deal with than various Python versions, OpenJDK or even Node.js.

Garnet also has pre-built docker images for easy deployment: https://github.com/orgs/microsoft/packages?repo_name=garnet

I find it a bit ironic that the complaints are for what is effectively the simplest process of building the entire thing from source which is distributed under MIT (because that's what dotnet run does the first time you invoke it after cloning the repo), sometimes you just can't win.
> decidedly quotidian view

That makes me think of Planetes, which follows a space-junk cleanup crew.

Being "hard" sci-fi, it too might end up being prescient.
That’s what I’ve been working towards, even despite recent trends.
Is this Jim Neilsen related to Jakob Neilsen (famous UI guy)?
My beliefs in the same vein:

- If you think you've found all the bugs, look again.
- If you think you've just fixed a bug, test again.
- If you think your program is done, you're wrong.
Just learned about Kubed here, but I’m a longtime user of k9s and I’m keen to try out Kubed to see how it compares. It will be interesting to see if there are any workflow benefits to be gained from Kubed.
Where Are America's Most Expensive Towns?
Separate from phone hardware not being locked to a particular carrier, I'm especially interested in phone hardware not being locked to a bootloader.

Currently, Google Pixel hardware units bought through some carriers can't have GrapheneOS installed on them, because that carrier chose to disable "OEM Unlocking" of the bootloader.