HNHacker News
TopNewBestAskShowJobs

larschdk

725 karma · joined September 3, 2011

submissionscomments
larschdk··on datetime.utcnow() is now deprecated
They should respect semantic versioning and ensure that any 3.x version remains backwards compatible with 3.0 code.
larschdk··on Northlight technology in Alan Wake 2
I think there is also a difference between realistic and believable. The original Half-Life had IMHO more believable leg/feet movement. In HL, the feet were much more "stuck to the ground" compared to most modern games where they just slide around.

It appears much more believable to me than the character pathing demo, where the character moonwalks 1/2 the time. The entire pedal structure is extremely stiff compared to how humans move (feet, thigh and torso can all turn nearly 90 degrees, but they hardly turn at all in the demo). The other demos are better, but their bodies still appear stiff, like they are suffering from hernia.

larschdk··on Suzuki Omnichord Heaven
Albarn showing it: https://youtube.com/shorts/Wn0NtSNeQEQ?si=alHRDiTrEjMhTn4K
larschdk··on Can you use your "free will"? Try your hand
I can keep it quite consistently at ~45%, by changing my pattern.
larschdk··on NASA just sent a software update to a spacecraft 12B miles away
We did yeet New Horizons at Pluto. It got an assist from Jupiter, but could have reached Pluto without, six years delayed.
larschdk··on USB-C head-to-head comparison
Tons of 4-pin cable testers, no 24-pin testers that I can find.
larschdk··on Pythagorean Theorem found on clay tablet 1k years older than Pythagoras (2009)
3Blue1Brown: https://youtu.be/v0YEaeIClKY?si=BQ2W64DWIuhHoUuX
larschdk··on Code Golfing in Commodore BASIC
The stored version also uses token code points (single bytes >127), not literal tokens.
larschdk··on Goodbye integers, hello UUIDv7
Not very useful. Always decodes to 00NaN-0NaN-0NaN-0NaN-000000NaN.
larschdk··on 25% of the 13 minute journey from Whitechapel to Paddington is spent not moving
I don't think it's being ungrateful, or at least not something unique to Londoners. People think and act relatively. We will always complain about the biggest issue we face, not matter how trivial it is compared others. Or you could say, we always try to improve no matter how good things are. We shouldn't stop fixing things or improving just because someone has it worse.
larschdk··on Telemetry
No. To "opt" literally means "to make a choice". If the choice has been made for you, you are not "opted-in", you are in.
larschdk··on What is wrong with TOML? (2019)
INI-files are crap too, as there is no standard. Every program has it's own dialect, and automating around them can be a pain.
larschdk··on Someone keeps trying to reset my Facebook password
Ah, sorry, I see now, but the underlying point is the same. You should not reveal any information. A "We have sent an email to the address associated with the account" would be sufficient.
larschdk··on Someone keeps trying to reset my Facebook password
Best practice would be to display this message no matter whether the email address is correct or not, to avoid leaking information. Many sites do this.
larschdk··on Someone keeps trying to reset my Facebook password
Why does any company needs more than one 2nd level domain?

Microsoft, I'm looking at you (https://learn.microsoft.com/en-us/microsoft-365/enterprise/u...). It nerve-wrecking trying to figure out if some login box or link is legit. They claim to be transitioning to cloud.microsoft, but if you go there, you are redirected to yet another new domain (microsoft365.com) which looks like a scam site, which doesn't render properly in Firefox.

Why do we allow this?

larschdk··on Doom for 16-bit DOS computers
This is sped up (look at the cursor blinking fast). This guy's experience on a 24 Mhz 286 is more like 0.1-0.2 fps. https://www.twitch.tv/videos/1911540009
larschdk··on Learn AutoHotKey by stealing my scripts
Thanks, I'm stealing PrintScreen.

Spotify responds to Send {Volume_Up}/{Volume_Down}.

Any particular reason using Cmder and not Windows Terminal?

larschdk··on Learn AutoHotKey by stealing my scripts
My similar solution that I use for Outlook/Teams/TotalCommander/more: https://github.com/larsch/AutoHotkeyScripts/blob/main/Launch...

I do include Minimize-if-already-active though. I like to be able to temporary flip an application into focus (e.g. Outlook) and then return to what I was previously working on.

Plus a tweak: When launching, programs may open in the background because Windows attempts to prevent applications stealing focus when you are working in another program. I overcome this by focusing the tray before launching.

larschdk··on Learn AutoHotKey by stealing my scripts
https://github.com/larsch/AutoHotkeyScripts
larschdk··on Learn AutoHotKey by stealing my scripts
Great stuff. I use AutoHotKey all the time too:

  - Insert date/timestamps shortcut (6 different formats, including ISO, and filename-friendly)
  - PuTTY/SSH launcher shortcuts for often used hosts and serial ports
  - Stateful DWIM Application Launcher for 10+ applications, e.g. Outlook (Win+O), Windows Terminal (Win+Space), Total Commander (Win+T), etc. (Either launches, activates, or minimizes depending on current state)
  - Paste clipboard in plaintext (no format) in any aplication  (Win+V)
  - Paste clipboard removing newlines in any application (Win+Alt+V)
  - AltGr input layer for special characters (æøåµΩ° and some emojis)
  - Media & Volume shortcuts (start/stop/next, volume up, volume down)
larschdk··on $HOME, not so sweet $HOME
There is complexity in making the change and diverging on different platforms. ~/.myapprc was there first and it was XDG that came along and wanted everything to change.
larschdk··on My Overkill Home Network
I'm not, even though I also DIY. A multi-2.5GBe port fanless N6005 mini-PC (plus a cheap barebones WiFi AP) does it for router, switch, storage, game server (Valheim & Satisfactory), timeserver (chrony), DNS (unbound with blocklist), InfluxDB, MQTT, and it doesn't even sweat, and consumes less than 20W combined.
larschdk··on Pay no attention to the USB port behind the “no USB” sticker
I agree. I get the impression that the intended message is "USB not necessary" rather than "unavailable". I can imagine that many users seeing the USB port would think that it is required (since it was on older printers), not understanding that WiFi-only is an option.
larschdk··on Intel x86 documentation has more pages than the 6502 has transistors (2013)
No division, no floating point, only 8-bit multiplication and addition, no pipeline, no cache, no MMU, no preemptive multitasking, very inefficient for higher level languages (even C). But you would get about 450 of them for the number of transistors on a 486.
larschdk··on WinFsp · Windows File System Proxy
ProjFS can solve some of the same use cases, but is different by design. It is basically local file storage with a virtual backend that can provide files and data to the local file system. Once files are local, the provider is not asked when files are accessed or modified. The provider can monitor changes and synchronize them with the backend (with chance of conflicts). The provider also needs to manually update the local view when the backing store has changes. It appears to be built for OneDrive. It is way more efficient for many use cases, but also requires more effort to synchronize and resolve conflicts.
larschdk··on The XY Problem (2014)
This is what working with people is like. You will need to make your case and get buy-in from people if you expect their support. You can't just bluntly expect them to respect your conclusion. If you fixate on your conclusion, you will be unable to explain your reasoning getting there, since it will seem irrelevant to you now that you are sure your conclusion is solid.

Understanding what doesn't work is also an important part of understanding the problem.

If One Is Truly to Succeed in Leading a Person to a Specific Place, One Must First and Foremost Take Care to Find Him Where He is and Begin There. -- Kirkegaard

I am often in a situation where a developer is asking help for Y and I'm wondering why he's doing that instead of Z, W, etc. He might be right in going for Y, but I still need to adopt his reasoning, if I am to defend the solution on a system and organizational levels, for reasons like budget/resource/risk/customer experience/technical debt, and ensure buy-in from other stakeholders (product managers, commercial stakeholders etc).

larschdk··on Digital Audio Workstation Front End Development Struggles
I was primarily looking at demos on the homepage.
larschdk··on Digital Audio Workstation Front End Development Struggles
I find Slint's font rendering odd and somewhat off-putting. It doesn't look sharp, especially on classic 96 DPI displays. Big text look inconsistently both fuzzy and aliased, and small text has inconsistent intensity. Lack of subpixel rendering and hinting? Rounded corners look sharp in comparison.
larschdk··on So you've installed `fzf` – now what?
In my environment:

  ~/project% find -type d | wc -l
  13946
I access files in a dozen or so folders in this hierarchy regularly, so fuzzy find is an extreme boost for me.
larschdk··on So you've installed `fzf` – now what?
Fuzzy history is nice, but the real game changer for me was the ability to pretty much stop remembering paths in big projects. The default keybindings provide the Ctrl-T shortcut to insert a path/filename on the command line using fuzzy search and Alt-C to fuzzy-cd. No more tedious completion - just search + enter.
← PreviousPage 3 of 6Next →