Preferences

seabass
Joined 1,223 karma
https://smudge.ai

  1. Wish this were built into the OS! Love the idea
  2. Definitely going to give this a try. One thing I'm curious about--where are the servers? And if I want to choose hosting geographically close to me, how do I do that?
  3. How much is “the public” making? The title of the post says millions. The title of the article says trillions. The second paragraph of the article says not trillions. Sheesh
  4. I love squoosh! It’s been one of the few PWAs I have installed and actually use regularly.

    Does anyone know if their optimization methods still best-in-class these days? It’s been good enough for all my practical needs, but I know it’s been around for a while and there may be better techniques for some file types now.

  5. Ah I think I understand now. The return type of createBook is true | Book, which is likely a mistake, but happens to work because when you attempt to spread a boolean into an object it removes itself. But if you were to edit the example to have a stable return type of Book then it would no longer save memory, so perhaps that was intentional?
  6. Love this! Just wanted to note that I think there’s a mistake on the flyweight pattern page’s example. You’re using getting a boolean with Set.has but treating it like a Book (as if you had used Set.get). I also don’t really understand how this saves memory if you’re spreading the result into a new object, but maybe someone here can enlighten me!
  7. I’m surprised by how good it looks. This is really cool! I do feel like the Q and 4 characters need a little manual tweaking since the blur+threshold technique leaves some artifacts in the corners but those are such minor issues given how readable this font is overall. Love it.
  8. It has a bunch of human imperfections, and I love that. The lowercase lists and inconsistent casing for similarly structured content throughout, the grammar mistakes, and overall structure. This article has a totally different feel compared to the newest ones. When you say it’s very similar, what are you picking up on? They feel like night and day from my perspective.
  9. You can compare the writing style from the earlier articles like this from 2020, pre-GPT.

    https://andreacanton.dev/posts/2020-02-19-git-mantras/

  10. Strongly disagree. If you read enough of it the patterns in ai text are so familiar. Take this paragraph for example:

    > Here’s what surprised me: the practices that made my exit smooth weren’t “exit strategies.” They were professional habits I should have built years earlier—habits that made work better even when I was staying.

    “It’s not x—it’s y.”, the dashes, the q&a style text from the parent comment, and overall cadence were too hard to look past.

    So for a counterpoint about the complaints being tedious, I’d say they are nice to preempt the realization that I’m wasting time reading ai output.

  11. Looks really cool! Love the artwork. Right now the video in the readme doesn’t render on github, though. I had to manually download the mp4 from your demo folder to view it.
  12. I’d expect that the “shut up and do as I say” approach would add more combativeness to the ai, increasing the likelihood that it refuses. Instead, bringing your initial request into a new chat context that hasn’t already been poisoned by a refusal would probably work.
  13. I'm curious how you build something like this. I see file types in the network tab which, as a web dev, I've never worked with before. ktx2 and drc extensions, for example. I'm also seeing some wasm and threejs. Is there an engine that outputs these things or is it more of a manual process to bring everything together?
  14. On the other hand, I'm so glad it didn't. I enjoyed a few minutes of exploration before realizing what I was meant to be doing.
  15. Really beautiful! Love the artwork and the fact that this runs so well in the browser. Was surprised to realize it was multiplayer!
  16. > how easy is it to administer for clients outside of my network or possibly even outside my country?

    You can run Jellyfin in any docker container. If you want to run it on a NAS in your home office and put it on the internet through ngrok or tailscale, you totally can. But you can host it pretty much wherever.

    > how good is the app support? I transcode all of my media to AAC and h264 for compatibility

    The official clients are just ok. They'll support all the file types you'd expect, but they're fairly slow and not great at streaming 4K. I pay for a client (Infuse Pro) that addresses a lot of those pain points, but it's been relatively poor at auto-detecting tv show metadata, so I'm still in the market for an app I'm happy with. Ideally an open source one.

    > - what about for streaming music?

    Technically works, but whether it's a good experience depends on the client you're using.

    > - what do you like the most about jellyfin

    Easy to set up. Great plugins for finding subtitles/artwork/metadata. Open source with good docs. Works with lots of clients. Easy to create and share accounts, and has fun features like synced remote viewing parties.

    - what do you miss most about Plex?

    The ads. jk never used it.

  17. The information I have on this could be outdated, so take this with a grain of salt, but it used to be the case that in hot code paths the presence of a try/catch would force a deoptimization whether or not you throw. The optimizing compiler in v8, for example, would specifically not run on any functions containing try/catch due to its inability to speculatively inline the optimized code. If you're feeling up to it, you can prove whether that is still the case with `d8 --allow-natives-syntax --trace-deopt ./your-script.js` and sprinkle in some `%OptimizeFunctionOnNextCall` in your code. I did a quick search for `try {` in the zod 4 source and didn't see anything, so I suspect that the performance issues surrounding try/catch are still at least somewhat around, unless they are simply avoiding try/catch for code cleanliness which could totally be the case. Regardless, I'd encourage you to look into whether plain old boolean return values in your validators would work for your project. Just include the `throw` part without all the `try/catch` and the code itself will likely be simpler, faster, and easy for the JIT to optimize. Good luck on those benchmarks.
  18. I was surprised by the source including a bunch of try/catch, which results in deopts for that code path as far as I understand, given that the stated benefit over Zod and other validators was that this should be run in performance critical code. I’d be curious to see benchmarks that show whether this is faster than zod, valibot, and zod4 mini in hot code paths.
  19. Is there more info on how the todo list tool is a noop? How exactly does that work?
  20. > One particularly enthusiastic user of LLMs described having two modes: “shipping mode” and “learning mode,” with the former relying heavily on models and the latter involving no LLMs, at least for code generation.

    Crazy that I agreed with the first half of the sentence and was totally thrown off by the end. To me, “learning mode” is when I want the LLM. I’m in a new domain and I might not even know what to google yet, what libraries exist, what key words or concepts are relevant. That’s where an LLM shines. I can see basic generic code that’s well explained and quickly get the gist of something new. Then there’s “shipping mode” where quality is my priority, and subtle sneaky bugs really ought to be avoided—the kind I encounter so often with ai written code.

  21. Hahah how did I miss that! It’s even linked in the description. Glad you pointed it out. Let me also link the word enjoyers out there to another favorite of mine, then: https://carefulwords.com/
  22. I’d be interested to see the performance of the same visualizer in a canvas or animated svg instead. Forcing these animations through the dom seems a little absurd to me, but I’ve been surprised by web performance before.
  23. When it comes to getting a deeper understanding of words you already know, two of my favorite resources are Etymonline [1] and the 1913 edition of Webster’s dictionary [2]. And if you’re curious why 1913 specifically, this post [3] gives a great overview.

    [1] https://www.etymonline.com/

    [2] https://www.websters1913.com/

    [3] https://jsomers.net/blog/dictionary

  24. Very kind of you! Just reached out. And I agree, the lack of sponsored results among the top 3 and overall quality of the results are valuable.
  25. Yep, they had me check my proximity to the nearest Google Cloud region. The ping was ~30ms, so that was pretty unlikely to be the cause. In my screen recordings that compared the exact same searches, despite the low ping, Kagi results wouldn’t appear for around 2s. A search I did just now shows “39 relevant results in 1.7s”. Otoh with Google it feels instant—0.29s for that same search. With their support team we never did end up finding the cause.
  26. I tried to give Kagi a fair shot by using it for a few months. I loved a lot of features, especially the boost/block lists. But I always felt the responses were way too slow for something I use that much. I benchmarked a handful of queries and confirmed they were consistently ~3x slower than Google for normal searches and 5-10x slower for image searches on my home network. I’m sure there are many factors that play into that, so maybe the reason I haven’t seen others complain about the speed has just been that the problem is unique to my network. But ultimately I opted to switch back to Google for my daily driver and just use Kagi for specific lenses.
  27. I love this sort of cs history. I’m also curious—why do we “throw” an error or “raise” an exception? Why did the for loop use “for” instead of, say, “loop”?
  28. The town of Kiruna in Sweden is currently being relocated because it is sinking into the iron mine that originally led to the founding of the town. Some buildings are being relocated on tracks in a similar way to that Shanghai video.

    https://www.theguardian.com/world/2023/feb/05/why-a-swedish-...

  29. Huge kudos for omitting analytics tracking for an app like this. Your reasoning totally resonated with me, and I hope more app devs follow suit!

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal