skysight-inc/HackerNews huggingface dataset:
> I want the features Apple decides are best for the iPhone because I prefer their philosophy to the idea of some device with unlimited options and settings.

Okay, then you've got me confused. Apple decided years ago to allow applications to bind to port 80 and run a personal website on their phones.

Does that mean you want Apple to change something or not? Because Apple decided their devices should be able to serve anything on "privileged" ports.
Related: [Police stage ‘chilling’ raid on Marion County newspaper](https://news.ycombinator.com/item?id=37096015) 248pts, 131 comments, 1 day ago
It's no lighter than a process running in docker, on a Linux machine at least. With docker you have a whole root filesystem packaged up and a process inside it is executed on your system with certain kernel namespacing to set its root filesystem, users, network access, limits on memory and CPU usage, etc.

With nix instead of a tarball being the root filesystem it's a bunch of symlinks to stuff in the nix store directory--the process you run is exactly the same as whatever you're running in docker.

One crucial difference is that nix does nothing for network isolation, you have to do all that on your own (if you need it).
as is the original link. the site is so not a modern design, it actually took me a second to decide if this was a real site or not
That is what I was trying to say by

> Other than using version control to determine what are the sources of the derivation

I don't think that defaulting to using git to list the sources when inside a git repo means that it is tightly coupled to git. If one doesn't want to commit/stage the flake files in the repo one can do `nix develop .` and it works . It will take a little longer because it will copy the entire directory to the store iiuc.
> It’s quite possible to avoid learning this.

Could it be inferred? It feels kind of self explanatory...
> smiling cartoon robot doc

It oddly reminds me of Clippy. Reason enough not to trust.
>but will it be maintained overall with all factors considered?

Is a straight up death count not enough for you? Like seriously, there are few less ambigious outcomes in biostatistics than mortality. And by that measure, yes, short hard lockdowns with long term international border closures absolutely worked.

If you are implying mental health, then maybe consider being able to live your life without fear before the vaccines was a great way to maintain mental health. Also, not having anyone you know die of the virus (this is still true for most Australians including myself).
The food comment is frankly bizarre. The food you get in Whole Foods is at best similar to what you find in a petrol station in Europe. The US has the worst food in the developed world.
You're welcome!

I had to rebase a patch to PG across thousands of upstream commits after having left it alone for a year+, and it was very painful going until I talked to @vdukhovni about it, and he had this tool, which was `slowrebase` at the time, and we improved it to do a sort of bisection approach to rebasing. That made the rebase I had to do go real fast!

I never had to re-resolve the same conflicts using this script.
The first bullet reminds me of the "cones" from _The Clipper Ship Strategy _ -- it's a great read that not many people have heard of.
The point being made is that other countries don't boast about their freedom as much.
Here's the full article as screenshots: https://imgur.com/a/FO2I7Li

Interestingly they appear to use javascript to disable copy-paste. I was going to copy it into a gist.
> Do you get anything when not using NixOS to manage everything? [...] Has anyone gone down this route?

Yeah, for sure! I don't use Nix this way very much on Linux because I mostly just use NixOS. But I use Nix this way on macOS at work every day, because that's the Unix desktop that's available to engineers there.

By not going full NixOS, the tradeoff is that you suffer some minor integration issues, and in return you get some more escape hatches. This is a pretty good option for some people imo.

Declarative system config on non-NixOS is a bit more work, because you either have to write your own sort of metapackages with buildEnv¹ or use a third-party module system like Home Manager, System Manager (that one's in very early stages, so pronably skip it if you're a newbie), or Nix-Darwin. The latter are really nice, but you might have to think about how they plug into things like your OS's bashrc file sometimes, and sometimes their install procedures are kinda wonky.

The other main integration quirk to watch out for on non-NixOS is 3D graphics acceleration. Check out nixGL and you'll be covered for that.

Using Nix for nifty per-project development environments, though, is pretty smooth and basically identical whether you're on NixOS or not. If that's an interesting use case for you, Nix on non-NixOS is worth checking out.

Nix as a package manager for CLI tools that don't depend on the base system, or trying out software without permanently installing it, is also kinda nice on other distros. It's especially nice for running newer software on top of stale distros, but it can also take you in the other direction, which might sometimes be useful on Arch.

I think the head first approach of just committing to daily driving NixOS can be good for some people, and it certainly was for me. But learning your way around the Nix language and developer tools by focusing on developer environments and oddball packages on a foreign OS can definitely make for an easier, lower stakes learning process.

> What good is it if half my system is installed by pacman, half by asdf-per-project and the rest by nix?

If you're not using Nix for any per-project stuff, you're definitely missing some value, as that's likely among the first low-hanging fruit you'll encounter on your Nix journey.

That said, stacking Nix with other package managers and only using it where it makes most sense is totally viable. On macOS, I use it in combination with light use of pkgsrc and Homebrew. You can definitely do the same kind of thing on Linux.
To be fair to the author—they state it can “pass the medical exam.” Which is different than if I should ask it for medical advice. I mean it can’t examine me physically therefore it can’t be my doctor.

On the other hand, there aren’t enough doctors where I live so I guess I’ll take it! Lol
Can someone that understands this "limbo" and "long standing tensions" give a TL;DR for someone that knows what flakes and the new cli are but hasn't been following the community discussions around it?
"Equal rights" is not the same as the broader and less-defined "equality". If this conversation is to go anywhere, it behooves us all to be very specific in which meaning of "equality" we are using.
Ditto. I wonder what happened to archive.is. Maybe it was just a bad implementation of captchas, but it makes their site inaccessible for most of us.
There's a real problem in the US with cities that are near the US border. It's hard for anything to get done across the border by US entities. At least that's my hunch. Can anybody confirm if this happens with other near-border cities?

San Diego is located within an awesome ecosystem with a lot of fascinating native plants and animals. A lot of research into native stuff never crosses the border despite the fact that better data is often over there.

https://en.wikipedia.org/wiki/Xylococcus_bicolor is one my favorite native plants. Notice how the image of the native distribution just stops at the border.
> Flakes copy the entire directory into the nix store. This is terrible for mono-repos - and especially if it contains any large files. There is an issue about making the copying of the entire directory into /nix/store lazy - though this doesn't really address the problem. It just treats some common symptoms.

Could you not just do a sparse checkout for monorepos?

https://github.com/NixOS/nixpkgs/pull/135881
In order to have scientific dissidents we need to -as a society- reject dogma. I'm looking at all of you who "followed the science" dogmatically these past three years.
Idle loops are harder to implement when your system doesn't have multitasking.
You’re entitled to that opinion. I am of the opinion that porn companies should not be able to freely provide their content to children with impunity. Parents and device makers should provide censorship solutions, but that doesn’t absolve porn providers from their duty to check the ID of the people who view their content.

I never said I don’t want to talk about the problems with online ID. You’re arguing with a strawman.
not being a lawyer, i'm not familiar with all of the various levels of charges, but is this something that could be charged with something along the lines of negligent homicide? playing the what if game, but what if the actions of the police are deemed improper? what are the possible repercussions of the collateral damage?
(author) Thanks! Ultimately it made me appreciate how much work unwinding these protection schemes were back in the day without emulators or modern debugging tools. A lot of manual drudgery and by-hand execution.
I think it would be good to put this at the top of the readme. I can see you’re curating content instead of creating it, but this seems like a worthwhile exception. It will orient people who stumble into your repo.
They didn’t get filthy rich.. .I mean, so well endowed, by /giving money away/.
I really don't see how conflating performance problems with data retention problems helps illustrate your point.
Seems like even the servers are going offline - opened this on my phone - then after 30 minutes I was going to read this on my desktop but the website is now down.

Wayback Machine is broken.
Spooky.
Check your DNS, there are issues using Cloudflare to reach archive.{is | li | today | etc }
Google DNS and others work where Cloudflare does not.
I don’t know the value of half-assing it, but committing your full ass is amazing.

Indeed. As no less than Ron Swanson rendered unto us - an exemplar in classic American yarn form:

https://youtu.be/k6hZ9KdG1QU

... wise words.
A doctor is simply a database of past cases, information they've read, and medical knowledge.

They take in symptoms, perform tests, analysis output, repeat
Fedora is better at keeping packages up to date than Arch.
In particular, Fedora is much quicker to adopt the latest compiler toolchain releases.
Looks like we found the person “building and leading amazing teams” in the thread. How could those lowly coders ever figure out how to secure a product?
Oof. I do indeed have my router configured to use 8.8.8.8 with 1.1.1.1 as a backup.

Whenever I plugged in 1.1.1.1 I had a sneaking feeling of "maybe this is a bad idea" based on random comments claiming problems on HN, but this is the first I've been bitten by it.

Thanks!
That's interesting that there's an actual reason!

I always thought they were kind of like the art you see on silicon chips, not really practical but accepted because trying to only do 100% practical things for a solid 8 hours isn't really the best plan, and only done by the programmers with a talent for raster art in general.

It does seem a bit time consuming unless you have a strong ability to visualize entire layouts. Being able to imagine 3 boxes is a lot different from being able to imagine 3 boxes on a screen all at once in proportion, and that's pretty far outside of what programmers ever are trained for unless you specifically seek out ways to learn that.

Using real pen and paper for diagrams is an interesting idea! Sometimes I see other coders with a notepad on their desk but I never got into it and am never quite sure what it's for, usually people seem to be making a lot of bullet points of text.
I got home. The book is Handbook of Algorithms and Data Structures in Pascal and C by G.H. Gonnet and R. Baeza Yates.
I did not <follow the science> so to speak in that I believed the masking restrictions were not strict _enough_. But in this climate any criticism of these practices is co-opted by the anti-science people into shitting on all scientific practice and also for some reason invoking rants about wokeness, Bidens age and aliens. Simply put I feel afraid of saying anything about this for fear of getting clumped with people like Joe Rogan, RFK or any of these VCs who associate with this crowd now.
Probably nearly all of them over 30 of sound mind and body, that live in America, avoided the lure of alcohol, drugs, and crime, got themselves educated in a useful skill, and avoided the tar pits of victimhood and grievances.
Show HN: Photo Exif Viewer and Drawer with frame (fully open-sourced)
Gotcha. Thank you so much for your feedback. This is actually a work in progress and I am drafting a nice logo + intro for it ;)
Not to access them on other systems, but to listen on them.
What’s the statin controversy. I mean I know what it is, but do you have reliable citations?
> that is the process for military boats and we have 60 years of experience in that environment

Totally different reactor designs.
This is good constructive criticism and I'd like to second every part of it.

You're probably already aware, but for the benefit of newcomers in this thread, here's a link to the massive PR trying to work out more efficient copying of local flakes to the Nix store:

https://github.com/NixOS/nix/pull/6530

A few dedicated folks are working really hard to break that thing down and test it and get it merged. I can hardly wait!
When you see the well developed parts of Mexico you could say that it isn't a third world country... But once you see the poorer parts that quickly changes. The poorest parts of Mexico are very poor, unfortunately a very unequal country. Not to mention the Mexican government is consistently ranked among the most corrupt in the world.
They were raided and apparently had the bulk of their in office IT hardware confiscated - handhelds, desktops, servers, drives, etc.

However they're publishing now it's likely in a very ad hoc rickety manner with limited access to primary resource keys, passwords, et al.

Timely reminder for some here to look at their own work flow setups and ask themselves "what would I do tomorrow if everything I see now was burned up, flooded out, confiscated, etc."
I've already cited examples. You dismissed them because they don't fit your arbitrary narrow criteria.

Want another? Stephen Hsu. Forced to resign for discussing research that found no racial bias in incidents of officer-involved shootings.

Another? After more than a decade at Harvard without complaints, Roland Fryer had several complaints filed against him shortly after he published research showing that Black and Hispanic Americans were no more likely than white Americans to be shot by police in a given interaction with police.

I'm sure you'll find reasons to dismiss these as well.

Edit: As I said, Roland Fryer was at Harvard for more than a decade without incident. It's more than a little suspicious that there was an investigation immediately after he published his research.

And are you just going to ignore Stephen Hsu?

Edit 2: "I gladly will not research your claims further"

I knew you wouldn't in the first place. You've been dismissing any evidence that contradicts your narrow world view.

Edit 3: "Feel free to eat bags friend". I see you've deleted that and all your other unreasonable comments. I'll leave the quotes here though, because you did say these things.

Edit 4: "why keep editing your comment?" Because HN admins don't like long threads like this and have set up a rule that says I'm "posting too fast".
Exactly, I agree with that. We have scientific and apolitical consensus on lots of things, and it very much is consensus for all practical purposes, regardless of whether there is a strict definition or a few loud contrarians. The Covid lab leak idea/debate was always a political and obviously nationalistic argument, not really a scientific one. And I agree there hasn’t been enough time or evidence for it to settle into a scientific consensus yet. There might be scientists who participate in the politics (or there might only be politicians pretending to be scientists and/or putting words in the mouths of scientists), but I’m not arguing whether there’s consensus about the lab leak. I only interjected to counter @Blackstrat’s over-generalizing claims that consensus always means politics, which is untrue, and that all science is corrupt and there’s “always” the possibility of a different answer. The whole notion that science is corrupt and untrustworthy is a talking point of the culture-war political party line of the far right, and the agenda is to distract from discussing real policy. Unfortunately, it’s actually working on the lay-public, and too many people now think ‘science’ is a bad thing even though there is no alternative that can get us to truth faster than science. It scares me that so many people choose to believe in conspiracy everywhere and don’t seem to understand what science is.
Dozens of Children Die Every Year in Hot Cars. Could Technology Save Them?
Far Manager is a critical piece of software for me to be able to use a computer comfortably and efficiently. Used it all the way from Windows 98 to Windows 7, and now Arch Linux.

Especially since LuaJIT support was added in Far 3 (and far2l Linux port's fork, far2m), I made it to be able to execute a line of Lua code under cursor or in a block of selected text, and print the result (if any) to the editor, turning the editor into something conceptually stronger than a REPL or a command prompt combined.

So now I have two upgrades over command prompt: file-focused, as with Far by default, and Lua-focused.

I've been joking that Far Manager has become my real OS. It also was a source of endless debates with my Linux friend, who insists that everything I can do in Far, he can do in Bash quicker, but that seems true only because he doesn't know Far keyboard shortcuts.
https://archive.ph/BxASk
> The total training time for DoctorGPT including supervised fine-tuning of the initial LLama model on custom medical data, as well as further improving it via Reinforcement Learning from Constitional AI Feedback took 24 hours on a paid instance of Google Colab.

The most impressive part of this project is that they got Google Colab to not close the session for 24 hours straight.
My use case here is not using pkgs.fetchgit etc - but rather when developing a package locally and rebuilding it.

Let's say I'm working on a huge monorepo locally, with GBs of code and data in it, most of which I want to ignore in my nix build. Let's say the files I actually care about are also not in a single subfolder. Then I can't just move the flake.nix to that subfolder either.
This. They're right you know.

It is quite reckless to have such extraordinary claims of which this LLM can allegedly "pass the US Medical Licensing Exam" and to overall "provide everyone their own private doctor" as if the opinion of this AI model can be trusted not to hallucinate or regurgitate harmful medical advice.

Even if it does, a black-box AI product using a deep neural network is totally unsuitable and even borderline dangerous for use for medical advice or any related use-case because of the extreme lack of explainability when it hallucinates or generates nonsense.

I think the author needs a massive disclaimer to mention that obvious unavoidable risk for this AI model and to highlight that this is for 'entertainment purposes not to be used in production and to use at your own risk.'
No worries, glad it worked out for you, hopefully others see the message :)
vermectin and hydroxychloroquine still are not correct treatment of covid-19 now.
Another contestant in the competition here. Really great stuff from Casey! I'd strongly recommend all those interested in more updates to join the discord server:

https://discord.gg/6FgWYNjb4N

Competition website:
https://scrollprize.org/
Airplane Autopilot – AI coding assistant for internal tools
Nope,still a phone
What a strange advice. So much to disagree with, but I'll just stick with algorithms specifically. Only once I went through ds & algo, after a relatively long career, that I understood what Linus Torvalds meant by "bad programmers worry about the code. Good programmers worry about data structures and their relationships."
I've been having the same issue, but I've been blessed with getting through using another browser.

I think I set it off initially by trying to complete the captcha using keyboard input, which I actually captured on video: https://www.youtube.com/watch?v=nmbXyP46W9I

After that, this browser's fingerprint got tagged, and I haven't been able to get past it since. But using another browser from the same computer (and connection) worked fine.
Believe it or not, not everyone is even using a flavour of React.

One nice side effect of using tRPC is that you can pack up and move to a different framework on the front-end if desired, and a lot of the tRPC work can be used directly
We basically had three fields. First and last, but that was because we had to interface with tons of internal and external entities that required it. And we had a freetext “spoken name” that would be used all over the site.

Good times.

There is an ISO standard for phone numbers, actually. There are even libraries to parse phone numbers into the format. That being said, for “non machine readable” phone numbers (say for a contacts app) some say you should keep it free text because people plug all kinds of shit into the field and if you aren’t using it to send messages/voice/whatever just let the user do whatever…
Imagine a future where GPT can fact check something.

What a beautiful dream that would be.
GP to a tee.
Is this satire?

Read about Eric Garner for "repercussions" of literal caught-on-camera homicide.

It took an entire country rioting to get justice for George Floyd.. there won't even be an investigation into this.
I have no idea what you mean by this. Can you explain please?
How Far Will Salmon Swim for a Craft Beer?
The names make sense to me once I understood what they represent. How else would you like to call them?
Us PC folks had it easy compared to the commie rats. The PC drives wouldn't do that much by comparison to the amazingly ingenious and insane tricks the copy protection schemes on commodores availed themselves of.

I had tricked out floppy hardware on my PC and there was c64 disks I couldn't do anything with, still. I could read and write Victor 9000 disks but some of the c64 tricks were even nastier.
Well there's the computer "virus" metaphor. Arguably one of the most mainstream concepts of information security. There's also attack "vector".
You missed the AirBnB effect of driving rents up and kicking poor people out of apartments.
The link points to a blog post. I think it should redirect to betterstacks.com to be a good "Show HN" post.
Passing the USLME also doesn’t make you a doctor. There’s a reason why doctors have to go through residency. Hands-on training is a huge part of training.

Maybe where this tool COULD have use is medical education for everyday folks. Could be just me, but sometimes there’s medical jargon thrown around in my medical visits that my doctor and I don’t have time to go through. (Note: This is just in my experience of US-based healthcare, where most doctors are pushed by healthcare administration to see as many patients as possible because healthcare in the US is a business, and seeing more patients = $$$.) This could be a useful tool to have that jargon explained in layman’s terms.

This tool won’t replace doctors, but it could certainly be something that enhances the healthcare experience by being a part of patient education.
I think you are mistaken. Watch this: https://www.pbs.org/wgbh/frontline/documentary/growing-up-po...
Thanks for the response. That sounds like a pretty monumental task
Journal of Magnetism and Magnetic Materials
Disabling Intel E-Cores CPU Nets 50% Better Performance in Atlas Fallen