HNHacker News
TopNewBestAskShowJobs

logbiscuitswave

556 karma · joined December 24, 2020

BigCorp software developer. Sometimes I say insightful things.
submissionscomments
logbiscuitswave··on USB-C hubs and my slow descent into madness (2021)
I had the exact same issue from a Thinkpad docking station. A later firmware update for the dock seemed to fix this.

Was it ever frustrating though trying to figure out why my network would randomly decide to just crap out.

logbiscuitswave··on USB-C hubs and my slow descent into madness (2021)
I have a couple of these. It’s exactly what you would expect: Realtek RTL8153.
logbiscuitswave··on Book Review: The Programmer's Brain
I once spent a whole bunch of time trying to debug and iterate on an issue in a dependency library my application was using. No matter what I tried it just didn’t seem to help with the issue - even though I was certain of the fix. I was going crazy trying different things with none of them making any difference.

I eventually realized I was running into a bug in my build environment. It wasn’t detecting the library had any code changes so it was “optimizing” my build by skipping that library. It was one of a dozen or so dependencies so it wasn’t immediately obvious. Eventually, I set a breakpoint somewhere else in the library code and realized it wasn’t being hit because the source code didn’t match the symbols!

I felt pretty dumb once so figured this out even though rationally I know it wasn’t my fault.

logbiscuitswave··on Horrible edge cases when dealing with music
Or the many ways to have “featuring” — “feat.”, “w/“, “ft.”, “(feat.)”, “[feat.]”, etc. MusicBrainz does a laudable job trying to standardize all this crap and as someone who is really particular about how their music metadata looks it’s highly appreciated.
logbiscuitswave··on A few things to know before stealing my 914
The neat thing about Ford solenoids of that era were that they were very conveniently located near the top of the firewall and can be easily triggered manually if needed with a big screwdriver across the leads. (And hope you don’t get electrocuted in the process.)

Contemporary GM solenoids were integrated into the starter motor and were a real pain to get to. Certainly not impossible to do the screwdriver trick but far less convenient with needing to crawl around on the ground and all. Being located right next to the exhaust headers also meant they were easily susceptible to heat soak problems which would cause a failure to activate - especially if you have a hot-running high performance engine. It was actually a pretty common and easy mod on those GMs to use a Ford solenoid and bypass the one on the starter motor.

logbiscuitswave··on Ubiquiti is suing Brian Krebs for his reporting on their breach
Thanks for the recommendation. I’ve been a long time user of Unifi kit but the utter stagnation of the entire product line has really made me want to start looking for other options.

For instance, I keep hoping for an updated USG3 given the current one hasn’t changed since 2014 and can’t do IPS without throttling speeds to 80Mbps which is simply unacceptable these days, but all they seem to be doing is focusing on big and expensive 1U hardware which I just don’t have room for.

logbiscuitswave··on Killed by Microsoft
Home Server was an excellent product - probably one of the best Windows backup solutions I’ve ever used.

I could build a low-spec PC with a cheap case, slap a bunch of drives in a JBOD configuration, install the backup agent on all my machines and things just worked. Restore files from a few months ago? Go for it. Do a full-metal restore over the network? Sure, why not. It had many ahead of its time features like media streaming, health monitoring, and could act as a remote access gateway. It never failed me and was almost zero maintenance.

I was very saddened when it went end of life but the writing was on the wall when the follow-up “Vail” release was announced. It essentially took away nearly everything that made the original so good - no more media sharing, JBOD support was out, and it ended up being little more than a super watered down Windows Server 2012.

Literally every other backup product I’ve tried for Windows - from paid commercial offerings from Acronis and too many others to name, to the built-in File History never failed to let me down when I really needed it. File History in particular has been a constant disappointment - it’s just shockingly terrible and I have absolutely zero trust for it. It can just go for months not backing up files and never even bother to alert the user. Unacceptable.

logbiscuitswave··on Windows needs a change in priorities
I couldn't agree with many of the things stated in this article more. I really disliked Windows 8. Windows 10 was what made me move to a Mac for my next personal computer acquisition (I'm still stuck with Windows at work), but at least it grew on me after a while. I mean, I'm still not a huge fan of it but many of the rough edges got ironed out and I've gotten used to many of its quirks. Windows 11 on the other hand -- it's just so aggressively terrible that I actively dread using it. Just simple things like changing the volume, or changing the power settings on a laptop have become excruciatingly slow or require much more effort than before. In so many places text has been removed for the sake of "cleanliness" -- like in File Explorer, the Ribbon is now just a set of largely indistinguishable buttons with no labels that I'll never use. The Explorer context menu has been reduced to mostly things I don't care about and a more indistinguishable buttons I'll never use while burying the context menu things I really want behind another mouse click. (Thankfully there's a magic registry key that restores the old-style context menus.)

It's easy to point out the consistency issues -- and yeah, they are really bad, and everywhere making Windows 11 feel like an early beta, not a full fledged release. More than anything even basic stuff that's worked well for years or decades has regressed to a point where so many things are barely functional or even recognizable anymore. It's like some designer had MacOS described to them verbally and decided to redesign Windows to look similar. Unfortunately, the latest versions of MacOS aren't all that awesome either when it comes to consistency or usability. In so many ways the design decisions in Windows 11 feel like solutions in search of problems -- they certainly don't make my experience using it any better -- all they do is make me appreciate Windows 10 more than ever (never thought I'd have that sentiment). I keep hoping Windows 11 will get better but even on the latest Insider builds I see very little in the way of improvements to things I really care about so it gives me little confidence.

The article brings up a some great points about how there's no "one" UI framework and the difficulties for developers to make their applications look consistent -- and this is totally true. There's so many different UI frameworks from Microsoft with different levels of maturity, abandonment, usefulness, usability, and use. I'm a big fan of WPF and I think it's one of the best desktop UI frameworks out there -- and sadly it's largely been left to rot which is a real shame and it doesn't support many of the newer aspects of Windows without a lot of hacks. UWP is simply awful -- I swore it off after using it for one project. WinUI and MAUI have huge problems of their own and still feel beta. It makes you wonder what are you supposed to use for new projects when you're stuck with either a great framework that seems dead , or a bunch of new ones that don't feel production ready. This nearly 20 year old blog post from Joel Spolsky is just as relevant and prescient as ever: https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost...

logbiscuitswave··on Please put units in names
Fully agree with everything in this article. This is definitely a code smell to me to see unitless sizes and intervals specified. I know that whenever I’m doing a code review and I see some property or variable name like “timeout” or “size” I will ask the developer to change the name to make it clear what the unit is trying to portray.

When possible, I also encourage the use of better types than simple integer values, (like TimeSpan if .NET) as these further reduce ambiguity and the potential for mistakes.

This is such a simple thing to find and fix but it definitely helps in the long term.

logbiscuitswave··on Polar Express – How Airlines are plotting a new-route to Asia
The article mentioned flying under Russia would be a longer distance but could be faster with favorable wind conditions. I’m guessing they are leaning toward more predictable conditions with their chosen route.
logbiscuitswave··on Ask HN: Are Web3 and DApps the Future?
Something that Web 3 supplants? I still have yet to read a coherent explanation of what Web 3 is.
logbiscuitswave··on When Apple Built a Mac OS Running on Top of Solaris and HP-UX
To me it seems like it’s pretty much peak mid-1990s tech advertising. Pick up any issue of WIRED from this time period and it’s filled with advertisements with similar kinds of aggressively strange imagery. Things like this were definitely memorable - I certainly can never forget the infamous Logitech ad with the peeing baby. I wouldn’t be surprised if much of this style of imagery all came from the same ad firm.
logbiscuitswave··on .NET Myths Dispelled
I’ve been using async/await in .NET since it was an extension versus built in feature. It’s so much better than the old way of doing asynchronous programming using delegates and callbacks. But, it’s not perfect - it works great, until it doesn’t. The moment you start needing to think about things like synchronization contexts (with ConfigureAwait), unexplained deadlocks, or debug them (which is still a pretty lousy experience) then it’s hard not to wish it wasn’t just a _little_ better.

It also has many footguns — especially how easy it is to make a seemingly asynchronous action blocking, and ‘async void’ can be a big bag of evil if you’re not careful.

I also really wish that chaining things together with ContinueWith wasn’t so clunky.

logbiscuitswave··on .NET Myths Dispelled
I totally agree. The protocols feature of Swift is really cool and it’s great how simple it bridges default implementations and extension methods. C# 8.0 adds default interfaces which are like protocols but they don’t work with older .NET Fx code.

I’m working on a C# project right now where default interface implementations would save me thousands of lines of kludges with extension methods and duplicated class code. Sadly, it’s stuck on .NET 4.8 and can’t be migrated to .NET 6 right now.

logbiscuitswave··on MacPaint-themed interface for Tldraw
Came here to say the same. I was willing to overlook the vectorization creating a very unexpected aesthetic. But the missing pattern brushes were a bridge too far!

The real version of MacPaint can be found here: https://archive.org/details/mac_Paint_2 but it’s not particularly mobile friendly.

logbiscuitswave··on Subaru, Kia shut off some car features rather than adhere to 'right to repair'
That was a great read. Thanks for posting. I’ve been dabbling in reverse engineering embedded devices in my spare time. I find these kind of detailed reports on how someone solved a reverse engineering challenge to be fascinating.
logbiscuitswave··on Xcode Through the Years
I primarily use Visual Studio and VSCode for development professionally. I have been playing around with Xcode a lot for some personal projects on my Mac.

In many ways it’s pretty good, but there’s some omissions and other behaviors that I find simply astonishing.

Why can’t I view two code windows side-by-side? Why can’t I dock the controls library so it’s always visible? Why does the documentation view always have to be on top of everything else? Why can I zoom the Interface Builder when building iOS applications but not Mac applications? Why do things just kind of stop working and require restarting every couple of hours?

In many ways Xcode just seems to lack a lot of the polish and capability Visual Studio has.

I tried playing with Visual Studio and Xamarin on my Mac to see if it could accelerate development by allowing me to leverage my familiarity with C# and found it to be so cumbersome (change to Xcode and mess around with IB, switch to VS, switch back to Xcode…ugh) that I just ditched that flow completely and went all in with Swift/SwiftUI/Obj-C instead.

logbiscuitswave··on Does Visual Studio rot the mind? (2005)
If anything things like refactor suggestions and the like can make bad coders better by telling them things to fix before they even save their changes. It’s like a “code review in a can”. I try to encourage the people I work with to use these tools because it means less time is wasted on nitpicking over things like style and common mistakes during code reviews and everything can go more smoothly.
logbiscuitswave··on Does Visual Studio rot the mind? (2005)
> Eventually, the interactive design stuff found its way into development with C++ and the Microsoft Foundation Classes, and there, I truly believe, code generation was used to hide a lot of really hairy MFC support that nobody wanted to talk about.

Every so often for my day to day job I need to work with some really old and crusty MFC-based UI code and while Visual Studio still technically supports MFC, in practice it seems to be basically unusable. I doubt anybody at Microsoft actually tests this functionality because much of the time it fails spectacularly for me - even the templates don’t even really work. So this means I need to struggle through manually messing around with impenetrable machine-generated code files and hope for the best through extensive trial and error.

logbiscuitswave··on There's an ARM Cortex-M4 with Bluetooth inside a Covid test kit
I would guess either better margins or better low power performance for better battery longevity in the nRF 52.
logbiscuitswave··on Collection of V.90/V.92 modem sounds (2016)
Also relevant: https://www.windytan.com/2012/11/the-sound-of-dialup-picture...
logbiscuitswave··on Collection of V.90/V.92 modem sounds (2016)
The only time I was ever able to connect with anything close to a 56k connection was when my phone lines were upgraded to support ISDN and I’d have to make an old-school modem to modem call.
logbiscuitswave··on There's an ARM Cortex-M4 with Bluetooth inside a Covid test kit
An nRF52 dev kit is like $30. It’s probably not worth the time and aggravation to try to repurpose one of these COVID tests unless you’re really determined. Nordic is one of the better vendors - their tools and docs aren’t too bad.
logbiscuitswave··on There's an ARM Cortex-M4 with Bluetooth inside a Covid test kit
Or if they are already using Nordic chips, slightly more expensive nRF52832 can also do NFC.
logbiscuitswave··on Ligatures in programming fonts: hell no (2019)
I really don’t like ligatures but I also don’t like it when my IDE auto-completing quotes/braces/brackets/etc. I try to turn all that kind of stuff off.

Basically, I find it very distracting when typing something and then seeing something else appearing around my typing. Ligatures definitely fall in that “distracting” realm for me. It may not be as pretty but I like the symbols showing exactly as I typed them.

I don’t begrudge others who like these —- it’s their preference. I just prefer non-ligatured versions of coding fonts.

logbiscuitswave··on Apple’s use of Swift and SwiftUI in iOS 15
Not sure where these accusations are coming coming from but no joke or disingenuousness was intended here. You replied to my comment originally and I answered your question with more details.

I’ve said before that Swift is a relatively new language to me. I’m not up to date on its many “evolutions” or particularly familiar with its history and nuances. I am not even sure what Swift version I’m on right now other than “whatever the latest version of Xcode uses”. I’m just trying to learn the Swift/SwiftUI stack by writing some code for MacOS and iOS as part of a hobbyist project that I’m working on during my downtime.

When I was trying to do something that’s worked fine in many other languages the Swift compiler literally told me “no” because it had been removed from the language in version X. I mean whatever - I found how to work around this - it was a kind of clunky and overwrought one versus the simplicity of the original code but it met my needs and it was a teachable moment.

My overarching point originally wasn’t meant as a hard criticism of Swift. I’m fact I quite like it. It was an observation that Swift is unlike other languages I work with regularly where it’s rare that language features are ever removed (or at worst hidden behind compiler or feature flags).

Swift’s designers clearly think it’s ok to remove things they don’t like or they don’t think meets their vision. That’s fine and valid. My point was that as a result of this stance that means tutorials and samples can become stale in a way that I don’t see with the other languages I work with where you’re more likely to be using old methodologies or obsolete APIs - that can/should emit compiler warnings or IDE refactor hints - but otherwise won’t fail to compile because something was removed completely.

logbiscuitswave··on Giant 555 Timer
If you want something in kit form, I’m a big fan of this: https://shop.evilmadscientist.com/productsmenu/652

It’s a beautiful representation of a 555 timer in discrete component form - and functional too.

The 555 timer itself is a pretty simple IC since it’s just a few dozen transistors and resistors at its core.

logbiscuitswave··on Apple’s use of Swift and SwiftUI in iOS 15
Details: https://github.com/apple/swift-evolution/blob/main/proposals...

There were plenty of alternative ways to accomplish my scenario but they ended up being pretty clunky and overly expressive for what I was trying to do at the time.

It seems like the Swift language designers have no qualms about removing language features and breaking old code as a result - which is certainly their prerogative but it’s not something I’m accustomed to.

logbiscuitswave··on Apple’s use of Swift and SwiftUI in iOS 15
I think the primary difference is while C# evolves, old language features don’t just get removed. Old code samples will still work even if they aren’t “modern” or optimal solutions anymore.

For contrast, Swift will drop support for features that can render old code samples useless. I’ve written code fails to compile with an error literally saying what I am trying to do was removed from the language in version X. Things like that can be aggravating for a newbie like me to deal with.

logbiscuitswave··on Apple’s use of Swift and SwiftUI in iOS 15
This isn’t exactly what I was looking for - basically I wanted an HGrid with a bunch of items that would automatically wrap rather than overflow. (In the WPF world that I’m more accustomed to this would be called a “WrapPanel”).

I eventually found a package on GitHub called WrappingHStack that did exactly what I needed but this struck me as odd that something like this wasn’t out of the box functionality.

← PreviousPage 4 of 7Next →