HNHacker News
TopNewBestAskShowJobs

gurkendoktor

3,602 karma · joined August 11, 2011

submissionscomments
gurkendoktor··on Scientists believed Covid leaked from Wuhan lab, but feared debate could hurt
Not only distrust of politicians. I'd say the mainstream media have suffered from a similar loss of trust over the last years because most outlets simply repeat official guidance from the WHO or national agencies.
gurkendoktor··on Darling – Run Mac apps on Linux
Not really. I've played it safe by buying a Linux desktop box in addition to my MacBook. elementary OS was fun (esp. the Daily build) because so many things can be fixed on an evening by sending a small PR, and they also receive support from the Touchégg developer now for better trackpad gestures. But I never managed to treat Linux as more than a thin shell around my IntelliJ IDE.
gurkendoktor··on Pentagon and CIA shaped thousands of Hollywood movies into effective propaganda
Before the mid 2010s, we talked about how the 99% could avoid concentration of power and wealth in the 1%. Now the richest and worst companies in the world paste BLM rainbow flags on their website, and suddenly large swaths of society have decided that, coincidentally, the folks with the big money are the good guys, while random middle and lower class people with slightly outdated beliefs are the actual problem.

There are many long magazine articles discussing whether wokeness is a religion or cult. Either way, it has completely derailed all political discourse for the benefit of the most privileged (as defined by money).

And in the media world, it means that everything is now over-the-top preachy, and that scoring political points has become more important than making good art. Sucks, but at least there are plenty of classic movies to re-watch.

gurkendoktor··on Darling – Run Mac apps on Linux
This too. I sometimes boot a PowerPC iMac from 2004 to rip a CD, and it's amazing how little Apple has broken/removed since then, while adding gestures, cloud syncing, and all sorts of tiny quality-of-life improvements.
gurkendoktor··on Darling – Run Mac apps on Linux
Thanks. I've tried it when it came out and wasn't really convinced. The video on its homepage looks better now, I'll give it another try when I'm on Linux again.
gurkendoktor··on Darling – Run Mac apps on Linux
For me: Git Tower, MoneyMoney (German banking app, absolutely fantastic), Fantastical, to some degree also OmniFocus.

Plus first-party apps like Safari with its fluid trackpad gestures, Photos with its iCloud integration, and of course Xcode, because being able to build/debug things for macOS/iOS is a bonus feature I can offer as a developer.

The list is a lot shorter than 10 or 15 years ago. Most new apps that come out are Electron, but even then there's sometimes no Linux port (Trello, WhatsApp).

gurkendoktor··on Framework Laptop with Ubuntu Review
I'd agree if we were talking about desktop machines, which are basically a box around a GPU, CPU, and some networking. The situation there is infinitely better than on the M1 Mac Mini.

But if I go and buy a random Windows _laptop_ and try to slap Linux on it, I might have all sorts of issues with the trackpad, webcam, fingerprint sensors, never mind sleep/wake.

That's why Linux laptop vendors are a thing and deserve our praise (just like the companies you've mentioned)! All I'm saying is that Apple is hardly the only company left that doesn't actively support Linux.

gurkendoktor··on Framework Laptop with Ubuntu Review
I am aware that for GPUs specifically, the driver situation on Linux is pretty good (minus the Nvidia/Wayland friction). But a laptop is more than just a GPU and a CPU.

When I was shopping around a few years ago, the fingerprint reader even on Dell's Linux-focused developer laptops was dead. I liked the Razer Blade, but many components didn't support Linux; looks like the trackpad on some models still doesn't work.

If "any vendor" actively supported Linux, we wouldn't need companies like Framework or system76 that pick compatible components. I'm not saying that Apple is particularly helpful, just that they're hardly alone in not caring about Linux.

gurkendoktor··on Framework Laptop with Ubuntu Review
Apple has kept the M1 Macs open for other operating systems, which is why a project like Asahi Linux can exist: https://asahilinux.org

Apple doesn't provide Linux drivers for their components, but neither does "anyone else", sadly.

But it means that Linux on M1 Macs might actually happen in the near future.

Edit: And Windows doesn't run natively/officially on M1 Macs because Microsoft has a stupid exclusivity deal: https://www.macrumors.com/2021/11/22/microsoft-qualcomm-arm-...

gurkendoktor··on Elementary OS 6.1
I love elementary, although I couldn't make 6.0 work on my Nvidia-based machine (something has changed about the driver installation?).

What annoys me is that AppCenter takes up so much space in their blog posts and sponsoring campaigns, because I feel it's the worst of their apps. The navigation model never made sense to me (why is search disabled when I'm on "Installed"?). It also doesn't look good, because there are way more tiny utility apps than there are good icon designers, and often the icons are just shown on a giant, colored rectangle because apps have no banner images.

I wish they'd do it more "magazine-like" as Apple does, just with more unsplash images instead of Apple's terrible Corporate Memphis illustrations.

gurkendoktor··on Apple’s use of Swift and SwiftUI in iOS 15
> But for outside devs, Apple has almost frozen ObjC in favour of Swift

In my experience, Apple doesn't even have to freeze anything because the iOS developer community (outside of Apple) is full of proud Early Adopters. Sometimes it feels like a race to use the latest tools on day one. I haven't seen anyone looking for ObjC developers from the day Swift was announced.

gurkendoktor··on Apple’s use of Swift and SwiftUI in iOS 15
The question is, where does ObjC end and where does Swift start? When Apple announced an Objective-C without the C, I assumed they'd keep the Smalltalk object system and message passing. It still boggles my mind that they took a hard turn into the world of value semantics and extremely static types, with all the ABI problems that we know from C++, plus all the interop hacks to bridge both worlds. The syntax almost seems like a superficial detail compared to the new object model.

On the other hand, the Smalltalk model would not have worked for SwiftUI. It really feels like Apple has bet the farm on the next generation of libraries/frameworks.

gurkendoktor··on Ambiguous PNG Packer: Craft PNG files that appear different in Apple software
And I could tell just from reading the comment that it was another case of developers not knowing about Unicode normalization.

It's extremely unhealthy for web standards that every deviation from Chrome's behavior is considered a nonsense bug now.

gurkendoktor··on Rails 7 Released
It's a great example though, I really like how readable Homebrew formulae are. Run "brew edit go" or "brew edit pkg-config" to take a look at how things are downloaded and built.
gurkendoktor··on Asahi Linux for M1 Macs Progress October-November 2021
> I don't see many old macs around

Just anecdata, but from walking through German trains, I disagree. I still see non-Retina MacBook Airs on some trays, for example, last sold in 2015.

Some Mac models are clearly more reliable and maintainable than others, see the butterfly keyboard fiasco. But I think companies should be judged by their better products, not the duds.

gurkendoktor··on Swift Regrets
Some, yes. But in my experience, Xcode is/was amazingly responsive right until the first Swift file or IBDesignable class is added to a project. Then something happens in the background and everything starts to crawl.
gurkendoktor··on Swift Regrets
Fair enough, but I also don't see why we should judge languages based on the absolute worst projects written in them.

For example, the offshore Swift programmers I've encountered will add "?? 0", "?? []" etc. into expressions involving optionals until they compile. That doesn't mean that Swift's nullability is pointless, it's still a great tool for diligent programmers.

gurkendoktor··on Swift Regrets
Lacking capabilities also means fewer decisions. If you want to model something in ObjC, it's a class, full stop. In Swift you have the choice between classes and structs. There are generally more degrees of freedom.

Just observe how much the iOS community talks about Swift patterns. Objective-C was more like Go, in that you accept your fate, keep things simple, and write some boilerplate code here and there. It seems to drive some people crazy, but it also avoids C++-style meta discussions about language features.

Whether this trade-off increases or decreases productivity depends on your team.

gurkendoktor··on Swift Regrets
I have jumped into several badly written ObjC projects and I skimmed the source code of every CocoaPod that I've used, and I have never seen ObjC code that used C string/memory handling "most of the time". Not even when ObjC required manual reference counting.

Except for a couple of malloc'd C arrays (as an optimization over using NSArray<NSValue>), most of it was for interop with C libraries, the same code where in Swift you'd have to use UnsafeMutablePointer.

gurkendoktor··on Busting the 10x software engineer myth
> Anyone who doesn't believe in 10x engineers just hasn't met one yet.

Or they are working in a small and well-funded company that only employs ~10x engineers, and they have never met a (to them) 0.1x engineer.

gurkendoktor··on Germany’s no-emotion voting guide surges despite campaign of personalities
Or maybe they want to hang the Greens specifically because they are less popular in Eastern Germany than Die Linke, so that they don't alienate the large number of previous Linke voters. (And on a less strategic level, the subtitle of the poster suggests that it is about hanging green posters everywhere, because green is also the Third Way's party color. That 'pun' wouldn't have worked with other parties.)

I also wonder if parties like The Third Way or the far-left ones aren't partially ops to split the vote on the ends of the spectrum.

gurkendoktor··on Germany’s no-emotion voting guide surges despite campaign of personalities
Only unprecedented during the previous decade, but SPD/Greens were in power from 1998 to 2005.
gurkendoktor··on Germany’s no-emotion voting guide surges despite campaign of personalities
I actually skipped or voted neutral on several important macro questions because I hadn't made up my mind yet, such as how to deal with national debt. However, I have an opinion on comparatively simple issues such as the use of inclusive language. The result was that tiny culture war parties lead the list in my Wahl-o-Mat results. Technically correct, but not great because this is the process that leads to polarization about fringe issues.
gurkendoktor··on Germany’s no-emotion voting guide surges despite campaign of personalities
The "hang Nazis" posters are from the previous election [1], while "hang greens" is a new slogan from this cycle [2]. If I had to guess, I'd say that the party was hoping for the "hang greens" posters to be banned so that they could whine about the "hang nazis" posters being unfairly allowed.

Not AfD by the way, but "Der Dritte Weg", a party that I learned about through the Wahl-O-Mat.

[1] https://www.welt.de/regionales/nrw/article163830133/Hier-koe... [2] https://www.br.de/nachrichten/bayern/landgericht-verbietet-e...

gurkendoktor··on Germany’s no-emotion voting guide surges despite campaign of personalities
Speaking of the German Pirate Party, I found it interesting that I haven't seen a single election poster about technology or direct democracy this year. The ones I saw were exclusively about the 1.5° climate goal, the gender wage gap, and another social topic that I forgot. Not sure if that's an actual strategy, or just the preferred way to empty their wallets while they have no chance to cross the frustrating 5% firewall anyway.
gurkendoktor··on Anonymous Hacks Epik
I don't disagree with what you wrote, but as far as 4chan has developed a style/brand, the tone of the page felt surprisingly non-edgy to me. Anons usually aren't known for unironically repeating media slogans, are they? ("Abortion is a human right!")

The mudkipz catchphrase was also very forced. Reminded me of the "hello fellow young people" meme. Of course, it might all be intentional.

gurkendoktor··on US Cybercom says mass exploitation of Atlassian Confluence vulnerability ongoing
Thanks, that's good to hear. A quick Google search makes it sound like it will finally be possible to use `backticks` for code everywhere.
gurkendoktor··on US Cybercom says mass exploitation of Atlassian Confluence vulnerability ongoing
> ... and that a lot of people do want that complexity (disagree with that as you or I might).

As much as I love to hate Atlassian, I feel like complaining about Atlassian is like techies complaining about management in general. Every single anecdote is both terrible and true, but it's not quite as easy as it seems to do it better.

gurkendoktor··on US Cybercom says mass exploitation of Atlassian Confluence vulnerability ongoing
> There aren’t good integrated replacements

I think even that would be a good attack vector against Atlassian: For them, "integration" means adding links from one product to the other. If I were to pay for an integrated suite of tools, the least I would expect is that their bloody markup languages are consistent. But because Atlassian just buys random products and then doesn't seem to ever change a single thing about them, that's not going to happen.

gurkendoktor··on Swift Protocol Oriented Programming and Testing
I wrote "when you are in a situation..." - but that's not generally my experience, instead controllers are often cluttered with rendering details like colors and animations, networking code, or things that I would've put in the model layer.

To give some context, I remember reading an article about massive view controllers and one example was Firefox for iOS, so I've dug up a snapshot of its main view controller, which exhibits all the things people hate about Apple's MVC:

https://github.com/mozilla-mobile/firefox-ios/blob/21e9d2943...

I have met Swift teams who would have proudly refactored this outdated MVC code into a "modern" MVVM pattern, replacing the 2000 LOC controller with one 2000 LOC ViewModel and a 500 LOC controller (because you still need UIViewControllers in the Apple world).

But in my opinion the bigger issue is the insistence of only having one controller, or view model, or whatever per screen. As soon as you find a way to divide all the interconnected concerns of this screen, the layers and their names are not really that interesting.

← PreviousPage 3 of 34Next →