Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fainpul
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
391.
▲
by
fainpul
1y ago
Why bother with invoking shell programs instead of using built-in ways of the language to do the same task? let result = try! FileManager.default.contentsOfDirectory(atPath: "/etc") print(result) Various other FileMa
392.
▲
by
fainpul
1y ago
I don't know the X13, but I have lots of experience with old Thinkpads. Keyboard replacement really used to be super easy: Turn Laptop over, look for the screw holes with a keyboard icon next to it, remove those screws with a Phillips
393.
▲
by
fainpul
1y ago
But if you just try the live ISO and go back to your Windows without installing, you're infected? Seems like someone wants users to switch to Linux :P
394.
▲
by
fainpul
1y ago
> We invent machines to free ourselves from labour That's a very romantic view. The development, production and use of machines to replace labour is driven by employers to produce more efficiently, to gain an edge and make more mone
395.
▲
by
fainpul
1y ago
As somebody already mentioned, uBlock Origin helps. I have these in my filters to make YouTube bearable: www.youtube.com###comments www.youtube.com###related www.youtube.com###sponsor-button www.youtube.com###donation-shelf www.
396.
▲
by
fainpul
1y ago
Remember when it was illegal to export strong cryptography from the US? There was no law to restrict that, so they just made something up. It basically went like this: Problem: we can't make cryptography exports (software exports) ille
397.
▲
by
fainpul
1y ago
Done https://www.youtube.com/watch?v=YjyJRTM0knE
398.
▲
by
fainpul
1y ago
But you understand that cars are made to transport people, and hamburgers are much smaller than people, hence it would be a tiny bit wasteful to drive hamburgers in "people cars", right?
399.
▲
by
fainpul
1y ago
Ah, Phoenix — as prophesised by "Not Just Bikes"! https://youtu.be/040ejWnFkj0?si=buVxsUBX4tIRmxDS&t=858
400.
▲
by
fainpul
1y ago
CAD applications usually require graphics acceleration. I've tried to make Fusion 360 work on linux using VMware, VirtualBox and GNOME Boxes – performance was unacceptably bad.
401.
▲
by
fainpul
1y ago
I assume this is the same as this? # python [127 * sin(x * tau * freq / samplerate) for x in range(samplerate)]
402.
▲
by
fainpul
1y ago
Thanks. So, simply sending a download link for an APK to a friend is not enough anymore - I now have to teach them how to install and use adb. EDIT > we are also introducing a free developer account type that will allow teachers, student
403.
▲
by
fainpul
1y ago
> if you compile from source and deploy via adb nothing changes That's not how I understand it. Do you have a source? "Starting in September 2026, Android will require all apps to be registered by verified developers in order
404.
▲
by
fainpul
1y ago
They're pulling a Sonos. Brands don't seem to matter anymore. Everything connected is not under your control and companies will cripple your device when they feel like it. > Q: Why is Bose ending support for SoundTouch? >
405.
▲
by
fainpul
1y ago
╭────────────────────────────╮ │ │ │ Yes │ │ │ ╰────────────────────────────╯ ᴿᵉᵐᶦⁿᵈ ᵐᵉ ˡᵃᵗᵉʳ
406.
▲
by
fainpul
1y ago
Exactly. For a company that offers "free", ad-supported services, the customers are the advertisers, not the users.
407.
▲
by
fainpul
1y ago
> Human receptionists were far better than IVRs and “press 3 for” automation, but it was cheaper and good enough. Good enough? Depends on who you ask. It was and is clearly terrible for the users (customers). People hate to navigate huge
408.
▲
by
fainpul
1y ago
Yes - I mean not "automatic", but user-adjustable. A video player which allows adjusting the dynamic range, just like you can adjust the volume, would be awesome.
409.
▲
by
fainpul
1y ago
Just a note for those planning to make a simple game or animation in JavaScript: in most cases it's preferrable to use `requestAnimationFrame` instead of `setInterval` or `setTimeout`. https://stackoverflow.com/a/3
410.
▲
by
fainpul
1y ago
> eron-level Enron?
411.
▲
by
fainpul
1y ago
These are attacks on boats, not on humans. "Wild orcas have never been documented hunting or eating humans, so it is unlikely this relates to wanting a meal." (quote from https://www.newscientist.com/article/2
412.
▲
by
fainpul
1y ago
The birds in the video are out of reach (until one isn't). I'm sure orcas perceive humans in water as very slow and easy to catch - baiting would not make sense.
413.
▲
by
fainpul
1y ago
That header picture is top slop! Seriously, please stop it. If you talk about an abstract topic, feel free to have no picture, just text.
414.
▲
by
fainpul
1y ago
> Stupid mistake by a programmer assumption turns into a program crash. I guess you can just catch the exception in Ada? In Rust you might instead manually check the age validity and return Err if it's out of range. Then you need to
415.
▲
by
fainpul
1y ago
Inventions / discoveries.
416.
▲
by
fainpul
1y ago
Highly related recommendation: https://i18n-puzzles.com/ It's a series of tasks ("puzzles") in the style of Advent of Code. Some deal with text handling, some with dates and times. In my opinion it's a f
417.
▲
by
fainpul
1y ago
> I put absolute LLM negativity right up there with comments like "i never use a debugger and just use printf statements". To me it just screams you never learnt the tool. To me it just feels different. Learning to use a debugg
418.
▲
by
fainpul
1y ago
It's most satisfying when the text selection has a nice color, that fits the theme of the site, instead of the boring default blue. Web devs, please make use of https://developer.mozilla.org/en-US/docs/Web
419.
▲
by
fainpul
1y ago
Maybe this is a thing people commonly have to do, but I have never heard of it and would have wished the article started with an explanation why simply casting the u64 values to a more appropriate type (u16 in this case) is not good enough.
420.
▲
by
fainpul
1y ago
Any plain old TextView on iOS and Android has text selection disabled by default. As a developer, you need to make it selectable explicitly. Apparently Apple and Google want it that way.
More ›