MurphyA/hacker-news huggingface dataset:
by mingus88 | 2025-04-21 21:24:07+00:00
Have you ever tried to fully backup data from iCloud?

I try to do it every month because I am that type of techie. They don’t make it easy.

For photos, i have a 2TB family plan. There is no export functionality I can centrally backup my families photos and shared albums

The supported way to do this is to use a Mac, force it to store all images locally in settings, then highlight all your albums and File->export

This takes hours. I need to stay connected to my network drive because I don’t have 4TB of local storage on my laptop. If there is a failure it’s game over. You can’t resume or even know what failed. There is a tiny progress bar icon to work with. That’s all

iCloud Drive? Same thing. You need to force it to sync all your files, and there is no way to know if it’s hung or what. You can’t do this as family account owner for everyone.

What about all that app data that is saved to iCloud? I don’t even know how to access that to back it up.

Apple makes many things very easy and other things practically impossible.

Backing up your entire iCloud data for disaster recovery is one of those things that’s basically impossible.
by dzhiurgis | 2025-04-21 21:24:47+00:00
There are battery-free ones now. But normally battery lasts at least 2 years.

IF battery dies you still have option to go thru pain and horrid of using siri or smartphone to toggle your lights...

You can install wired smart switches, but that would be incredibly stupid on a new build.

The whole point of it isn't walking to it (that's how I use it 99% of time). It's automation of switching all lights at once when going to bed, or all lights switching off when you leave house, or light comes up when you get home after sunset.
by arturmakly | 2025-04-21 21:24:53+00:00
congrats on the launch! I gave it a spin.. found these issues:

1 - after selecting the Body of this page to capture as Design: https://app.visualsitemaps.com/pricing the "Render" tab > result showed be a blank box: https://share.cleanshot.com/jVGlwYND yet there was code in the "Code" tab.

after that it attempted to recreate the design, with some new additions:

- add a row of logos ( failed ) - add testimonials - add case studies - remove a row

Results >> it was 92% there: https://project-tailwind-conversion-with-lucide-icons-756.ma... had some missing images from the OG design.

Overall this is impressive for MVP.. I also like the manual click-to-select-objects for more refinement.

I was unable to find the CSS styling code however ( sorry not a React/Tailwind user ) it just showed me index.css like so: {@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities';}
by jekude | 2025-04-21 21:25:04+00:00
Recently diagnosed with Type 1 Diabetes, and learnt quickly that calculating insulin doses sucks (and you have to do it 4+ times a day). BolusGPT is a ChatGPT plugin that translates meal descriptions into nutrition information that is fed into an insulin dosing algorithm. Also hooks up to Dexcom CGMs. Happy to answer any questions!
by whalesalad | 2025-04-21 21:25:54+00:00
That is a lot of work just to use Dolphin. I daily drive KDE on my workstation and while it is not a terrible file explorer, I probably wouldn't go to those lengths to use it over Finder. Props for getting it done though, I didn't even realize it was possible. Makes sense though considering a lot of KDE apps are cross platform, like kdenlive.
by joshuaturner | 2025-04-21 21:26:25+00:00
My understanding of that situation was that they could either remove that content from being accessible on Bluesky (the client) or have the site blocked entirely.

They landed on country-specific moderation, which is all publicly accessible and documented, allowing countries to label specific posts/contents and have them hidden in the country. Again, this is only on the Bluesky client; other clients can ignore the 'hide' label if they choose.

This is an article that details it pretty well and links to a few tools that allow you to view everything hidden by any country moderation team: https://fediversereport.com/bluesky-censorship-and-country-b...
by godelski | 2025-04-21 21:26:28+00:00
Certainly most businesses do not work like democracies (even representative democracies). More so, it isn't like many CEOs are afraid to admit that they run their businesses like a dictatorship or in an authoritarian manner.[0]

This is why it has always scared me when people have said "run the government like a business." I don't want to live in a monarchy/dictatorship/oligarcy/plutocracy/etc. I don't want government decisions to be based on "shareholders" views. That just sounds like Plutocracy. I want a government to be representative, to care not just for the rich and powerful, but the weakest. If we judge a man by how he treats those he has nothing to gain from then we judge a government by how it treats its poorest and worst off citizens. I don't care about a ceiling inasmuch as I care about a floor.

[0] I also don't quite understand why people are so hostile to employee owned organizations or even organizations where there is still a clear hierarchy but shares are distributed more liberally or any such systems are employed that allow for employees to more directly participate. There's a wide range of solutions between total dictatorship and complete socialist style equality.
by JofArnold | 2025-04-21 21:27:29+00:00
I used magic patterns for a couple of months and it was one of the first no brainer AI services I've paid for outside of the main LLMs and IDEs. It did such an amazing job on quite an esoteric frontend that's very much not your normal web app. Impressive. Next time I need to design and build some more frontend code I'll be subscribing again.

Edit: to add some meat to that comment what surprised me was just how much better it was than Anthropic and OpenAI tools at that time for coming up with great looking products with minimal prompting. I also fed it other designs for inspiration and it replicated them brilliantly while incorporating my requirements. Good stuff.
by mikerg87 | 2025-04-21 21:27:29+00:00
It was a sort of way to learn code. What does this asm opcode do or this basic function do. As you typed it in. In a way it was like long form watching gif images stream in during the early internet.

Modems we expensive and compuserve or the source charged an hourly rate. If you lived in a city with a node it wasn’t horrible but with long distance it was obscene.

I remember when analog computing came up with a checksum program to check the listing. Game changer. You could be assured your work wasn’t in vein. Pretty soon all the magazines had one and typing in the code was a way to get a cheap game compared to $30-40 for a rom game or disk. All it cost was some time at night playing with your computer. Typing in code to see your machine do something you’d never seen before. A technique or trick. A magical time.
by msteffen | 2025-04-21 21:28:03+00:00
IIUC, it does have code generation—the ability to generate strings at compile-time and feed them back into the compiler.

The argument that the author of TFA is making is that Zig’s comptime is a very limited feature (which, they argue, is good. It restricts users from introducing architecture dependencies/cross-compilation bugs, is more amenable to optimization, etc), and yet it allows users to do most of the things that more general alternatives (such as code generation or a macro system) are often used for.

In other words, while Zig of course didn’t invent compile-time functions (see lisp macros), it is notable and useful from a PL perspective if Zig users are doing things that seem to require macros or code generation without actually having those features. D users, in contrast, do have code generation.

Or, alternatively, while many languages support metaprogramming of some kind, Zig’s metaprogramming language is at a unique maxima of safety (which macros and code generation lack) and utility (which e.g. Java/Go runtime reflection, which couldn’t do the AoS/SoA thing, lack)

Edit Ok, I think Zig comptime expressions are just like D templates, like you said. The syntax is nicer than C++ templates. Zig’s “No host leakage” (to guarantee cross-compile-ability) looks like the one possibly substantively different thing.
by jrowen | 2025-04-21 21:28:34+00:00
Well that is interesting, but I was referring to the wording of the phrase "chasm of possibilities." A chasm is not something I would metaphorically associate with "great potential." A chasm is usually a bad thing, its a hole, a gap, you fall in and the only possibilities are that you are heroically saved, or you die.

The Chasm of Possibilities sounds like a comedic juxtaposition, like something from The Phantom Tollbooth or Hitchhiker's Guide.
by minimaxir | 2025-04-21 21:28:38+00:00
I interviewed at Epic for my first job out of college a decade ago: while the campus is indeed beautiful, the sense I got was that they were trying to emulate Google's quirkyness while offering much lower salaries (but still relatively good given the CoL) and a less exciting product domain. I'm not sure how well that quirkyness appeals to prospective applicants in 2025.
by zahlman | 2025-04-21 21:28:48+00:00
On modern Linux you can type `python` at the command prompt and get a REPL. On Windows you download an installer from the official website (just like one usually does to install anything on Windows), then use `py` at the command prompt.

You don't need to `import` anything to start teaching Python. Even then you can do quite a lot with the standard library. Even then, unless you're using 3.11 or later on Linux you can let Pip install with `--user` until you actually need to isolate things between projects. (And even with new Python on Linux, the instructor can typically avert this by just installing a separate Python in `/usr/local/bin` for example. Yes, that's "cheating", depending on the classroom environment. But that's part of the point: installation hurdles are hurdles for self-learners, not for students.)

You only need to learn about virtual environments once you have projects with mutually conflicting dependencies, and/or once you're at a point where you're ready to publish your own software and should be learning proper testing and development practices. (Which will be largely orthogonal to programming, and not trivial, in any language.)

And when your students do get to that point, you can give them a link such as https://chriswarrick.com/blog/2018/09/04/python-virtual-envi... .

Teachers teach Python because it's easy to teach while still being relevant to the real world, in particular because boilerplate is minimized. You don't have to explain jargon-y keywords like "public" or "static" up front. You don't have to use classes for quite some time (if ever, really). You can express iteration naturally. Types are naturally thought of in terms of capabilities.

In my mind, Python has all the pedagogical advantages of Lisp, plus enough syntactic cues to prevent getting "lost in a sea of parentheses". (Of course, it lacks plenty of other nice Lisp-family features.)
by BeetleB | 2025-04-21 21:29:20+00:00
Ah yes. The company that wanted to know my SAT and GRE scores, and then required me to do a personality profile quiz before rejecting me (did not even get to the entrance exam, which I was looking forward to).

Still, I heard working there was quite good. Obviously not FAANG level salaries, but after you left and completed the 1 year non-compete, other health care companies and/or hospitals would pay a good premium for your MUMPS expertise.

(None of the above is sarcasm, BTW)
Show HN: Add 'unlock' to booking URL to auto-compare the same hotel across sites
by notifinance | 2025-04-21 21:29:57+00:00
I built this after getting tired of checking Booking, Expedia, Hotels.com, etc. one by one.

Now if you have a hotel URL from Booking.com or Expedia, just add unlock before the domain — like: unlockbooking.com/… unlockexpedia.com/…

It redirects to a lightweight site that compares that same hotel’s prices across major booking platforms. No login, no installs, just a shortcut to a comparison view.

Example:

Try this Booking.com link: https://www.booking.com/hotel/us/indigo-dallas-downtown.html... → Now add unlock: https://www.unlockbooking.com/hotel/us/indigo-dallas-downtow...

Or this Expedia link: https://www.expedia.com/New-York-Hotels-The-Bowery-Hotel.h16... → With unlock: https://www.unlockexpedia.com/New-York-Hotels-The-Bowery-Hot...

Would love feedback or suggestions! Planning to add filters, mobile UX, and maybe email alerts if there’s interest.
by vikramkr | 2025-04-21 21:30:39+00:00
The real issue is politics - grids are absolutely going to be required for all the folks who can't generate enough solar on their own roofs, industry, cities, restauraunts, etc. Plus how else are you going to make use of wind, grid scale utility solar installations, etc. I have a feeling many countries in the world (especially china) will not have much trouble forcing the grid to do what's needed and subsidizing shared infrastructure with taxes as a shared societal good. If we insist on not doing that though, the grid system as is is not going to be able to financially and logistically figure out this transition, which is probably a competitive disadvantage for us long term if our own energy grid is stopping us from competing on energy because of the way it's structured.
by Swizec | 2025-04-21 21:31:02+00:00
> wouldn’t want society to know we were about to collide with a star-sized mass

I may be misunderstanding the distances involved but wouldn't such a collision take centuries if not thousands of years to play out? For the most part it would just look like we had 2 suns, one of which gets a few millimeters bigger (to the naked eye) every year.
by lotsofpulp | 2025-04-21 21:31:06+00:00
> This opened the door to the sexual revolution and the sexual exploitation of others, especially women.

I would love to believe the sexual exploitation of women started in the 1930s.

But for thousands of years, women didn’t have 10+ pregnancies with sky high maternal and infant mortality and morbidity rates because they wanted to.

The broader context of a woman being physically unable to protect herself and needing the protection of a man and the man’s allies played a big role.
by bdangubic | 2025-04-21 21:31:26+00:00
though the commenter might have been obtuse to say that banned from the duopoly of ride-share services is a life-altering thing to happen is quite mad. I live in a city and have never used a ride-share service. out the pool of another dozen friends/co-workers 10 of them seldom-to-never use it (we are all in 40's / early 50's). so most definitely not "life-altering thing"
by lelandbatey | 2025-04-21 21:31:54+00:00
The data isn't full E2E encrypted and unreachable in all these cases in the article. The iCloud default is not to encrypt things such that Apple can't decrypt the data; a user has to enable "Advanced Data Protection" for that to happen.

Apple could decrypt and return all the user data in all the cases in the article. They aren't doing that. Some folks are rightly pointing out "what is the point of storing all my stuff in your cloud if you're going to lock me out if I lose my phone?" That's not a backup, that's just paying a monthly fee to store more than what your phone alone can store.
by pja | 2025-04-21 21:32:12+00:00
> Correct, it's impossible to specifically and formally define the natural numbers so that addition and multiplication work. Any definition of the natural numbers will also define things that look very similar to natural numbers but are not actually natural numbers.

Are such objects not inevitably isomorphic to the natural numbers?

Can you give an example of a formal definition that leads to something that obviously isn't the same as the naturals?
by hiAndrewQuinn | 2025-04-21 21:32:48+00:00
My first post-college job! Nothing but good things to say about it, all my colleagues were whip smart at what they did. I especially liked the interview process, where I had to do a couple of standardized tests online to prove I was in the top x% of test takers. Given that I had to lock down a full time job as fast as possible after college it was a real time saver to just be able to demonstrate objective general competence like that and move right on to the interesting stuff.
by lxgr | 2025-04-21 21:32:57+00:00
> Somehow the thief was able to change the account password and email account

That would be the fact that Apple lets anybody that knows the passcode reset the iCloud password as well, without any further authentication. And the passcode can be shoulder surfed by the thief...

"Stolen device protection" was developed as a response to a wave of such thefts: https://support.apple.com/en-us/120340

It seems like a good step forward but still not perfect, and I believe it's not on by default.

On the other side, with Advanced Data Protection, it seems shockingly easy to permanently lock oneself out of an iCloud account: As far as I understand, there is absolutely no way to recover an account protected that way if the recovery code is lost – not even by deleting all data currently stored on it and starting from scratch (e.g. from a local backup).

Given the fact that an iCloud account doesn't only contain a big pile of data, but access to some purchased products and services (subscriptions, app purchases, iTunes songs, the Apple Card etc.), that seems like a pretty big oversight.
by btilly | 2025-04-21 21:33:14+00:00
This only covers stellar black holes. (Note that this black hole is believed to be a stellar black hole.) Those statistics could change quickly if you add to it a currently unknown number of primordial black holes that arose around the Big Bang.

If those primordial black holes are mostly on their own, and are both numerous and small, they make a potential candidate for dark matter. They could also be potentially small enough to be evaporating in our current era. This has been suggested as a potential source of a very high energy neutrino that was found in February. See https://www.livescience.com/space/black-holes/evidence-for-s....

(Note that this is just a single observation. We are a very long way from being able to obtain strong experimental evidence for such speculative theories.)
by Havoc | 2025-04-21 21:33:14+00:00
Sounds really good & human! Got a fair bit of unexpected artifacts though. e.g. 3 seconds hissing noise before dialogue. And music in background when I added (happy) in an attempt to control tone. Also don't understand how to control the S1 and S2 speakers...is it just random based on temp?

> TODO Docker support

Got this adapted pretty easily. Just latest nvidia cuda container, throw python and modules on it and change server to serve on 0.0.0.0. Does mean it pulls the model every time on startup though which isn't ideal
by EnPissant | 2025-04-21 21:33:37+00:00
In programmer terms, imagine you had to define the product function in Python. The most natural way to write it is:

>>> def product(ints): ... result = 1 ... for int in ints: ... result *= int ... return result

In which case there is no need to make 1 a prime as you already have:

>>> product([]) 1
by lelandbatey | 2025-04-21 21:33:48+00:00
Read the article, that's not true by default, the only way you get that level of cryptographic protection is if you enable "Advanced Data Protection". None of the people in the article did that, all of them can trivially prove they are who they say they are via government documents, Apple could decrypt their data and return it, but Apple is refusing to do so.
by ggm | 2025-04-21 21:34:15+00:00
Totally agree. This is Hanlon's razor territory.

Also, before we leap to his alcohol problem, Churchill drank at levels which would horrify most doctors. Moran (his gp) didn't seem too bothered, he even wrote him a script for it during prohibition. Churchill was probably a high level functioning alcoholic-depressive. I don't think Hegseth has the same capacities.
by johnisgood | 2025-04-21 21:34:18+00:00
Sadly no. The format is (with examples):

2025-04-21T19:18:15.09577 user.notice: Apr 21 21:18:15 root: ACPI group/action undefined: jack/lineout / LINEOUT 2025-04-21T19:18:15.98845 daemon.debug: Apr 21 19:18:15 rtkit-daemon[1368]: Supervising 0 threads of 0 processes of 1 users.

And yes! That is even better for configuration!
by YVoyiatzis | 2025-04-21 21:34:42+00:00
I've long suspected these shady practices, and I'm relieved they're finally being exposed. Utilities and others aren’t far behind, sending invoices no reasonable person wouldn’t question.

Since 2019, I've relied on ride-shares and delivery services, consistently questioning their fee structures. During this time, I've spent an unconscionable amount on Uber and Uber Eats alone.

A big shame both to the ones running the show and the ones who trained them to think this is acceptable.
by lxgr | 2025-04-21 21:35:06+00:00
Then delete that data and let the user start over. How come Apple gets to hold iTunes purchases (apps, movies etc.) and somebody's email address hostage just because they also happen to store some end-to-end encrypted data on the same cloud account?

Just imagine Google letting people "brick" their accounts because they have a password protected PDF in their Google Drive they don't remember the password for...

And that's to say nothing about the not end-to-end encrypted data, which is still the default for most things in iCloud accounts (without ADP enabled).
by hughw | 2025-04-21 21:35:07+00:00
I could scarcely believe this new t-string wasn't a joke. As an occasional, grudging Python programmer, I rue the accretion of string formatters over the years. My code bears the history of successive, imperfectly understood (by me)formatters.

"Situation: There are 14 competing standards...." https://xkcd.com/927/
by hinkley | 2025-04-21 21:35:24+00:00
One of the theories is that the properties of the Higgs Field changed and so the laws of physics changed. And that if they ever change again that we'll likely be dead before we know to be afraid, since the change would propagate through the universe at the speed of light. We wouldn't even see the stars blink out before the molecules in our bodies stopped being the molecules in our bodies.
by jokethrowaway | 2025-04-21 21:35:26+00:00
Looking forward to try. My current go-to solution is E5-F2 (great cloning, decent delivery, ok audio quality, a lot of incoherence here and there forcing you to do multiple generations).

I've just been massively disappointed by Sesame's CSM: on their gradio on the website it was generating flawless dialogs with amazing voice cloning. When running it local the voice cloning performance is awful.
by skissane | 2025-04-21 21:35:40+00:00
> It's quite a bit above our pay grade to proclaim categorically who supposedly cannot be redeemed; it verges on blasphemy.

And the idea that atheists can be saved isn't novel in Catholic teaching – it is implicit in the Holy Office's 1949 condemnation of Feeneyism, [0] in which it declared that a person who doesn't believe in Catholicism due to "invincible ignorance" can be saved by an "implicit desire" for God. Although it didn't include the case of atheists, it didn't exclude them either – suggesting that an atheist who doesn't believe in God in their head (due to some intellectual issue) but nonetheless believes in God in their heart can be saved.

[0] https://en.wikipedia.org/wiki/Feeneyism