MurphyA/hacker-news huggingface dataset:
by stuxnet79 | 2025-04-01 07:37:24+00:00
I've installed KOReader in about 3 devices but I haven't yet cracked how to keep them all in sync - frankly, I don't know how the syncing process works.

I used to think that it syncs up both the books and the reading progress / metadata but when I tried doing it, it didn't seem to work that way. I would love to hear how folks have done this. It's about the only thing left that's keeping me from using KOReader more frequently on all my devices.
by andy89 | 2025-04-01 07:37:49+00:00
We recently wrote a detailed guide on integrating Okta SAML SSO with Next.js. This covers everything from setting up Okta to handling SAML assertions in your app using passport-saml and iron-session.

Key takeaways: Why Okta + SAML is ideal for enterprise-grade security. How to configure SAML in Okta and Next.js in under 30 minutes. Code examples for login, callback, and session management routes. Best practices for session security and certificate management.

If you’ve worked with SAML before or are considering it for your app, I’d love to hear your thoughts!
by JSR_FDED | 2025-04-01 07:38:40+00:00
And 10x worse than that is booking a flight: I found one that fits your budget, but it leaves at midnight, or requires an extra stop, or is on an airline for which you don't collect frequent flyer miles, or arrives it at a secondary airport in the same city, or it only has a middle seat available.

How many of these inconveniences will you put up with? Any of them, all of them? What price difference makes it worthwhile? What if by traveling a day earlier you save enough money to even pay for a hotel...?

All of that is for just 1 flight, what if there are several alternatives? I can't imagine have a dialogue about this with a computer.
by virgilp | 2025-04-01 07:38:44+00:00
There's no mention of "cheap" or "cheaper" in that article. None. I tend to agree that's what they meant, but I for one resent that it's not spelled out/ it's implied. The _cause_ is lower price, it's not source of the product. Is it lower price because it's imported? Sure, probably. But damn it, spell it out - you can even make something interesting out of it (chart consumption vs price, dunno). And let me tell you - I'm not even convinced they got the causality right, even _if_ that's what they meant. It's basically a meme that boomers were telling young people that they're poor because they eat avocado toast - which implies that it got popular (in a niche) before it got cheap. Sure, there's a positive feedback loop in there (more interest -> more import -> economies of scale -> lower prices -> even more interest), but I think they missed the "why".

> the average water use would go up "because" it was coming from someplace other than your village's small oasis

No, absolutely not. It would go up, in your example, because it was more readily available. The source has nothing to do with it except indirectly - the availability has everything to do with it.
by JanecekPetr | 2025-04-01 07:40:28+00:00
- It doesn't work with ErrorProne (https://github.com/google/error-prone/issues?q=sort%3Aupdate...) - you need a special plugin in your IDE for the generated classes to be visible and/or the code to be parsable - it does not work with many other tools, usually there is a bridge to fix that, e.g. with MapStruct: https://mapstruct.org/faq/#Can-I-use-MapStruct-together-with...

Other tools and libraries generally do not interact in such an errorprone manner.

That said, when you know how it works, what it needs, and you know how to iron all of those tiny wrinkles, it works fine and saves you some code and/or sanity. It's not the devil, it's a powerful tool with some downsides.
by theshackleford | 2025-04-01 07:43:03+00:00
Yup, we are all different. I require auditory stimulation to work at my peak.

I did horribly in school but once I was in an environment where I could have some kind of background audio/video playing I began to excel. It also helps me sleep of a night. It’s like the audio keeps the portion of me that would otherwise distract me occupied.
by dkh | 2025-04-01 07:43:26+00:00
For people in within the industry or the tech side of it, Netflix’s engineering blog has always been fascinating and extremely useful because of the insane amount of stuff in this space they have solved or reworked. They have put more into tech side of modern-day TV/film than anybody else, and it's not even close. In a technical/workflow sense, working on a Netflix show is unlike working on any other. I have my issues with Netflix in other respects, but with respect to technology and workflow, they are awesome.

If you’re unable to appreciate a behind-the-scenes look at their engineering because the technology isn't for you or available to you, that's totally valid! But it's a you're not interested thing, not a Netflix is boasting about something that doesn't matter thing. Only a few thousand teams in the world need most of what they do over there, but that doesn't mean they aren't massive technical achievements. Most of them are. The scale, complexity, and cadence of modern production has given rise to some of the biggest technical challenges I’ve ever seen. And for anyone close to that world, this kind of content is of great interest — if not genuinely valuable.
by zozbot234 | 2025-04-01 07:44:08+00:00
But then the pattern across strings is also "relative" and only depends on the guitar tuning you're playing. For instance in the standard tuning, two neighboring strings are always a perfect fourth apart (five frets) unless they're the G-B strings in which case they're a major third apart (four frets). So if you know where you'd be playing a note on one string, that same note is just five frets back or four frets back on the next one. Which is again a totally "relative" framing that works for any individual note the same way. You can even figure out where you'd have to play if the tuning was non-standard. These patterns only have to be practiced a little bit, there's not really any need to learn them from scratch.

(If anything, I would want a "guitar learning" app to automatically come up with its own exercises, similar to ear training apps for learning to recognize intervals - and using something like a spaced repetition approach to evaluate how the user is doing.)
by var_cw | 2025-04-01 07:44:09+00:00
have few thoughts on this, esp after working in voice AI since couple of years

1. > "What’s the voice equivalent of a thumbs-up or a keyboard shortcut?" Current ASR systems are much narrow in terms of just capturing the transcript. there is no higher level of intelligence, even the best of GPT voice models fail at this. Humans are highly receptive of non-verbal cues. All the uhms, ahs, even the pauses we take is where the nuance lies.

2. the hardware for voice AI is still not consumer ready interacting with a voice AI is still doesn't feel private. i am only able to do a voice based interaction only when am in my car. sadly at other places it just feels a privacy breach as its acoustically public. have been thinking about a private microphones to enable more AI based conversations.
by throwaway290 | 2025-04-01 07:44:26+00:00
> If you have a team of senior, experienced and bright engineers, you can with a few words point out a desire and, trust them to ask for information when there is relevant ambiguity, and expect a good outcome

It's such a fallacy. First thing an experienced and bright engineer will tell you is to leave the premises with your "few words about a desire" and not return without actual specs and requirements formalized in some way. If you do not understand what you want yourself, it means hours/days/weeks/months/literally years of back and forths and broken solutions and wasted time, because natural language is slow and lossy af (the article hits the nail on the head on this one).

Re "ask for information", my favorite example is when you say one thing if I ask you today and then you reply something else (maybe the opposite, it happened) if I ask you a week later because you forgot or just changed your mind. I bet a conversational interface will deal with this just fine /s
by HenryBemis | 2025-04-01 07:45:18+00:00
This is the job of a lawyer. And it's a knife that cuts both ways. You hate them when you are on the stop, and you love (?) them when they do your dirty bidding.

What do you call 500 lawyers lying on the bottom of the ocean? A good start... (The War of the Roses, 1989)
by aziaziazi | 2025-04-01 07:47:18+00:00
> frontend architect, design engineer, and UX engineers

Damn should I update my resume again? I’ve used webmaster, web developer, full stack developer in the past. Can I use "internet creationist" to leap directly to the next call phrase?

More seriously, I’m lost when using a search bar in a job listing. Now I just type "JavaScript" but that miss the posts only mentioning the higher stack and/or typescript.
by meowface | 2025-04-01 07:47:47+00:00
I can't zoom in to your website on my phone without an email subscription prompt blocking the screen that I can't easily close, and each new zoom in or out repeats it.

Also, unless I'm missing something, the app is called TabTabTab while its only feature is copy & paste? Tabbing doesn't seem to be mentioned at all. I'm guessing tabbing is involved but there doesn't seem to be a word about it except from users referencing it in the reviews. It seems to only bill itself as "magic copy-paste".
by stanac | 2025-04-01 07:47:50+00:00
OPDS (Open Publication Distribution System) is protocol in the background. Jellyfin has a plugin for OPDS and works by simply dropping a file in specified directory, but it doesn't support multiple catalogues (i.e. one per library/directory).

Protocol is atom based, chatgpt was able to make a custom OPDS server for my needs within minutes, it took another hour or two to fix and customize generated code.
by byschii | 2025-04-01 07:48:26+00:00
(assuming privacy is handled correctly) i like the idea of my pc always having a side-channel for communication of "simpler" things.

I m not sure how it could fit in to my 2 modalities of work: (i) alone in complete focus / silence (ii) in the office where there is already too much spoken communication between humans... maybe it s just a matter of getting used to it
by jonathanstrange | 2025-04-01 07:50:32+00:00
That's the case in any working democracy. Defensive democracy is a different conception, e.g. the German constitution allows for party prohibitions. In a defensive democracy, rules like party prohibitions are ideally not applied by an ordinary court but by an independent political organ. To give an example from Germany, the German Supreme Court is an independent political organ that serves as a power division element to check the work of the two parliaments for constitutionality. The "highest" ordinary court is the Bunderverwaltungsgericht.
by thomassmith65 | 2025-04-01 07:50:48+00:00
That's not the point, though. Yes, we understand why ANNs work, and we - clearly - understand how to create them, even fancy ones like ChatGPT.

What we understand poorly is what kinds of tasks they are capable of. That is too complex to reason about; we cannot deduce that from the spec or source code or training corpus. We can only study how what we have built actually seems to function.
by lukasfischer | 2025-04-01 07:51:03+00:00
Next.js, Svelte, Solid, Astro, Vue, Nuxt, Remix, Qwik and jQuery join forces to build FRAMEWERK.

Today marks a historic moment in web development. No, this isn’t another Vite plugin or a beta for something that was already released six months ago. It’s bigger. It’s bolder. It’s… consolidation.
by bb88 | 2025-04-01 07:51:05+00:00
I don't remember frankly, maybe something with the script, maybe something with KFMon. Lack of integration with the Kobo OS itself? Maybe it had to be rooted to install KFMon, but I was reading Koreader could just run inside nickel menu maybe? But yet the script installed KFMon?

Again, I don't remember. And whatever it was it's not worth me trying to reinstall it just to remember what it was, and then to uninstall it again.
by greg0r | 2025-04-01 07:51:21+00:00
If the authors of this project mean to say that a button in react wouldn’t work without including the react library (which is why the button is supposed to be 73kb), it’s a weak point, because the react library would be reused by other parts of the app bundle at this point.

This is misleading to people and the promise is so shallow that it almost feels insulting.
by eesmith | 2025-04-01 07:53:32+00:00
In those terms, "spanking" is to "beating" like 2.4% beer is to doing shots.

Children should have neither, and few countries lets 2 year olds drink alcohol, with or without a temperance movement.

I was spanked more than once. Was it my fault for not learning as quickly as you did? Was it my parent's fault for not spanking me the right way? Or, hey, let's skip the entire conversation of how to spank the right way and simply ban corporal punishment, since other child-raising methods demonstrably work.
by mytailorisrich | 2025-04-01 07:54:08+00:00
It's rarely "center-left", more clearly left-wing.

Anyway, the very clear ideological orientation, even openly so, is what makes it a "propaganda magazine" of sort (like all ideologically orientated newspapers). I find it very similar to the Daily Mail on the other side of the spectrum, actually. I think the readership is more educated on average so it is more "intellectual" but overall it is the same type of highly orientated take on things.

Interesting that articles from The Guardian appear so often here ;)

Edit: It's saddening that this apparently cannot be said or discussed. Or is it a superiority complex because I compared it to the Daily Mail? (Oh dear, what have I done ;) )
by raattgift | 2025-04-01 07:54:22+00:00
When two black holes collide, gravitational radiation shoots out into space. The origin of the radiation is in the dynamical spacetime outside each black hole's horizon, however. This is what the gravitational wave detectors operated by LIGO, Virgo, KAGRA, and others look for.

Similarly, the dynamical spacetime around a black hole not near any other black hole can couple with quantum fields -- even fields in a no-particle "vacuum" state as measured by an observer, for example one in orbit around the black hole -- with the result that Hawking radiation is produced.

Both gravitational radiation and Hawking radiation carry away energy (in the sense of ability to do work, per the "sticky bead" argument) from the environment immediately around a black hole. This in turn means that the horizon radius will be less than it could be.

So as a Hawking-radiating isolated black hole will tend to shrink (if it's not fed by hotter cosmic microwave background radiation, for example), the mass of a post-merger binary black hole will be less than the sum of the unmerged binary.

Just because things can't cross from the inside of a black hole horizon to the outside doesn't mean the horizon is always the same -- the horizon can grow and shrink dynamically when interacting with other self-gravitating bodies, with matter like dust or starlight, or with "the quantum vacuum".
by Zollerboy1 | 2025-04-01 07:55:57+00:00
Thanks!

> I'm assuming by the pricing it's "serverless" inference, what's the cold-start time like?

Yeah, you could probably call it serverless inference. However, due to the fact that all fine-tuned models are trained on the same base model(s), we have some interesting optimizations we can apply over standard "serverless" model deployment. The biggest is that we can keep the base model loaded in VRAM and only swap the trained weight deltas per request. This gives us sub-second cold-start times for inference in the average case.

> Any idea on inference costs?

Right now, we’re pricing inference at $0.5/M input tokens, $2.5/M output tokens. That’s in a similar price range but a bit lower than gpt-4o/Claude 3.5, which we consider the main models we’re "competing" with. As it’s our goal to democratize access to models/agents in the long run, we hope that we can drop the prices for inference further, which should be enabled by some other optimizations we’re currently planning.
by levmiseri | 2025-04-01 07:56:23+00:00
WPM and other attempts at putting a one specific number/metric to point to is imo only mudding the waters. Better way to think about just how awfully slow natural language (on average) is as an interface is to think about interactions with {whatever} in terms of *intents* and *actions*.

Comparing "What's the weather in London" with clicking the weather app icon is misleading and too simplistic. When people imagine a future driven by conversational interfaces, they usually picture use cases like:

1. "When is my next train leaving?"

2. "Show me my photos from the vacation in Italy with yellow flowers on them"

3. "Book a flight from New York to Zurich on {dates}"

...

And a way to highlight what's faster/less-noisy is to compare how natural language vs. mouse/touch maps onto the Intent -> Action. The thing is that interactions like these are generally so much more complex. E.g. Does the machine know what 'my' train is? If it doesn't, can it offer reasonable disambiguation? If it can't, what then? And does it present the information in a way where the next likely action is reachable, or will I need to converse about it?

You could picture a long table listing similar use cases in different contexts and compare various input methods and modalities and their speed. Flicking a finger on a 2d surface or using a mouse and a keyboard is going to be — on average — much faster and with less dead-ends.

Conversational interfaces are not the future. Imo even in the sense of 'augmenting', it's not going to happen. Natural-language driven interface will always play the role of a supporting (still important, though!) role. An accessibility aid when e.g. temporarily, permanently, or contextually not able to use the primary input method to 'encode your intent'.
by gwd | 2025-04-01 07:56:45+00:00
> That's what the New function does, isn't it?

But that's only run when the pool needs to allocate more space. What GP seems to expect is that sync.Pool() would always return a zeroed structure, just as Golang allocation does.

I think Golang's implementation does make sense, as sync.Pool() is clearly an optimization you use when performance is an issue; and in that case you almost certainly want to only initialize parts of the struct that are needed. But I can see why it would be surprising.

> [any] is a type

It's typed the way Python is typed, not the way Rust or C are typed; so loses the "if it compiles there's a good chance it's correct" property that people want from statically typed languages.

I don't use sync.Pool, but it does seem like now that we have generics, having a typed pool would be better.
by robocat | 2025-04-01 07:56:48+00:00
> The ones that went too deep into the black-hat world are divorced, can't hold down an apartment, let alone a stable job. Have been swatted, raided, electronics confiscated, and are failures in life

Can you share your opinion on whether (A) its a moral choice, or (B) there's a selection process for going to uni and choosing a normal life or (C) all people that try blackhat end up with deeply shitty outcomes, or (D) make a suggestion for outcome cause.

It isn't clear what influence is needed to help someone avoid the shitty outcomes.
by eviks | 2025-04-01 07:57:04+00:00
> but we’ve never found a mobile equivalent for keyboard shortcuts. Guess why we still don’t have a truly mobile-first productivity app after almost 20 years since the introduction of the iPhone?

Has it even been tried? Is there an iPhone text editing app with fully customizable keyboard that allows for setting up modes/gestures/shortcuts, scriptable if necessary?

> A natural language prompt like “Hey Google, what’s the weather in San Francisco today?” just takes 10x longer than simply tapping the weather app on your homescreen.

That's not entirely fair, the natural language could just as well be side button + saying "Weather" with the same result, though you can make app availability even easier by just displaying weather results on the homescreen without tapping
by benzayb | 2025-04-01 07:57:37+00:00
“May Hegel's philosophy of absolute nonsense - three-fourths cash and one-fourth crazy fancies - continue to pass for unfathomable wisdom without anyone suggesting as an appropriate motto for his writings Shakespeare's words: "Such stuff as madmen tongue and brain not," or, as an emblematical vignette, the cuttle-fish with its ink-bag, creating a cloud of darkness around it to prevent people from seeing what it is, with the device: mea caligine tutus. - May each day bring us, as hitherto, new systems adapted for University purposes, entirely made up of words and phrases and in a learned jargon besides, which allows people to talk whole days without saying anything; and may these delights never be disturbed by the Arabian proverb: "I hear the clappering of the mill, but I see no flour." - For all this is in accordance with the age and must have its course.”

― Arthur Schopenhauer, Essays of Schopenhauer
by internet_points | 2025-04-01 07:58:17+00:00
https://www.libreture.com/bookshops/ has a list of stores (and for Norwegian books there is https://ebok.no/ ), but I have found no way to search "globally" (across sites like that) for DRM-free ebooks.

https://news.ycombinator.com/item?id=32442549 has some more tips.

Oh and https://bookshop.org/beta-search now actually lets you check "DRM-free" when you search, which is a very good step in the right direction!

I have a dream of https://news.ycombinator.com/user?id=marginalia_nu taking up the mantle. Though I think anyone could make something that's better than what we have now, which is nothing.
by HenryBemis | 2025-04-01 07:58:25+00:00
> zero interest

this mean that you are losing anything between 1% and 10% of your money per year (aka inflation). I am not advocating for big banks (which had put food on my table for most of my life) but you only need a (zero-interest) checking account with a debit card for your spending money. Everything else (imho) is most beneficial if you keep them spread out/hidden away, and serving your other purposes (a balance of growth x availability x speed_of_withdrawing).

I remember watching this vid (https://www.youtube.com/watch?v=auzLhKvsxnQ) many years (it feels like it was way before the 6y YT says its age is). I do a combination of this video and the Dave Ramsey 'envelope system' (but with different banks and with different accounts). Now, she speaks about the "US way of life" but I like the principle/discipline of this.
by BoorishBears | 2025-04-01 07:58:51+00:00
So you're just not familiar with shadcn then, that clears things up!

The main selling points and source of shadcn's meteoric rise...

- It's not a component library!

- It's easy to customize!

- You just Ctrl + C, Ctrl + V!

- You can just edit it in your project!

- No more fighting themes!

- It's a kickstarter for your design system! (contrary to my words that you're repeating, many people choose shadcn/ui thinking it is going to make a meaningful difference in starting their own design system, people who have no business starting design systems especially)

> I bet the premise that all these people are using shadcn with the idea of some day modifying it just isn't the most common reality.

The thing is literally distributed via copied files and updated via diffs instead of being a package. The entire cargo cult that lead up to that is 100% the idea they'll modify it. It's just either don't out of apathy (and should have just used a component library), or do and do so terribly (and should have just used a component library).