Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sedatk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
391.
▲
by
sedatk
1y ago
Thanks! I've had several iterations on the code samples while writing the article, swap() was just a remnant. You guessed it correct, it was supposed to be replaced with tuple swaps: "(a,b)=(b,a)". Now, done. :)
392.
▲
by
sedatk
1y ago
Yes, but it can still beat copying.
393.
▲
by
sedatk
1y ago
C# has a separate heap storable span equivalent called Memory<T>.
394.
▲
Safe zero-copy operations in C#
(ssg.dev)
221 points
by
sedatk
1y ago
|
74 comments
395.
▲
by
sedatk
1y ago
Oh that's perfect, thanks! Let me give it a shot.
396.
▲
by
sedatk
1y ago
To mods: This is RPi 500+, not RPi 500. The title is quite editorialized too.
397.
▲
by
sedatk
1y ago
My 2024 Lenovo Thinkpad inexplicably has that red light. Constantly fading in and out too. It could be my only reason not to buy a Thinkpad again.
398.
▲
by
sedatk
1y ago
2045: "yt-dlp needs a copy of your digitized prefrontal cortex in order to bypass Youtube's HumanizeWeb brain scanner"
399.
▲
by
sedatk
1y ago
And the question is "what do you get if you multiply six by nine?"
400.
▲
by
sedatk
1y ago
> This service only applies to parking more than 72-hours, blocked driveway, construction, and temporary no-parking (special event or moving truck) zones. Peak-hour tow-away lanes, hazards, yellow or white zones and other violations are
401.
▲
by
sedatk
1y ago
> why not just carry a large battery-bank Not being allowed to use those on an airplane could be one reason.
402.
▲
by
sedatk
1y ago
This one is $47 right now: https://www.osprey.com/astronova
403.
▲
by
sedatk
1y ago
Nothing to argue about arbitrary disdain for backpacks ¯\_(ツ)_/¯, but I don't remember one backpack that I saw and thought "wow that backpack is ostentatious, that guy is a showoff". Not once. They also mentioned theft d
404.
▲
Don't Purchase Your iPhone with AppleCare+
(ssg.dev)
4 points
by
sedatk
1y ago
|
2 comments
405.
▲
by
sedatk
1y ago
- It has a wide base, so the laptop just swings back and forth while carrying. - Gets the rainwater or any other hazardous material in. - Extremely easy to check out what's inside for a thief. - Can slide out easily and fall when toppl
406.
▲
by
sedatk
1y ago
Windows ARM laptops are quite good in that regard, but I'm not sure how close they're to Macs.
407.
▲
by
sedatk
1y ago
This was the strongest earthquake I felt since I moved to Bay Area ten years ago. Luckily, it was quite short. Woke me and all my friends in the SF and vicinity up though.
408.
▲
by
sedatk
1y ago
AppleCare One is about $240/year and covers three devices. https://www.apple.com/newsroom/2025/07/apple-introduces-appl...
409.
▲
by
sedatk
1y ago
I'm glad that the programmer put some tolerance to it, but it was impossible for me to know whether he did or not at the time, and that was the end of fun for me :)
410.
▲
by
sedatk
1y ago
I know, it maxes out at 5 queens. Still couldn't make it for an hour. :)
411.
▲
by
sedatk
1y ago
I gave up at "Mark all squares of the 64th floor of the Empire State Building"[1]. I had even spent an hour on the chess challenge, but that one looked tasteless if I wasn't missing a trick. I thought that I was supposed to t
412.
▲
An open letter to the Obsidian team
(emilebangma.com)
7 points
by
sedatk
1y ago
|
3 comments
413.
▲
by
sedatk
1y ago
> - Improved fault isolation between different workloads Yes.
414.
▲
by
sedatk
1y ago
Likely using a Mac.
415.
▲
Diacritics restoration: can we do better with neural networks and deep learning?
(ileriseviye.wordpress.com)
2 points
by
sedatk
1y ago
|
0 comments
416.
▲
by
sedatk
1y ago
It's all good until the day comes that one dependency breaks compatibility and drops support for the version you have, and now you have days of dependency resolution work ahead of you because you've never bothered for years. Usual
417.
▲
by
sedatk
1y ago
> "protect" against the "attack" If it's not a real attack, it's not worth protecting against even in the slightest. If it's a real attack, it doesn't matter if it's trivial or not, does it?
418.
▲
by
sedatk
1y ago
`mc` was a gateway drug for me to switch from DOS to Linux in 1995. Because I hadn't been gotten comfortable with other text editors and file management commands yet, mc and its own text editor (mc -e) had felt very intuitive at the ti
419.
▲
by
sedatk
1y ago
I'm actually compiling a list of UI text mishaps, and I plan to publish it as a blog post at one point. A simple one would be to avoid using "your" in a "user -> UI" context (command), and "my" in a &qu
420.
▲
by
sedatk
1y ago
That’s also important with localization. In Turkish, the UI -> user formality is different than user -> UI formality. When the app speaks to the user, the language is formal, but when the user commands the app (through a button for ex
More ›