HNHacker News
TopNewBestAskShowJobs

widdershins

927 karma · joined January 31, 2013

submissionscomments
widdershins··on Neovide – A simple, no-nonsense, cross-platform GUI for Neovim
For some people (myself included) the infinite configurability is the selling point, and configuration is the 'cost of doing business'. I'm an Emacs person but I'm sure it's the same for (Neo)Vim people too. You're gradually crafting your editor using your editor, and that feels good.

Along the way there are innumberable little choices that you make that shape it into something completely your own. Plus you know it's never going away or getting enshittified because it's open source and has been for decades.

Now, does it actually make you more productive? Or is any productivity you gain swallowed up by tinkering with configuration? That's an open question, and a valid one. People who enjoy an out-of-the-box IDE experience are fine by me - different strokes and all. I just enjoy working in an environment that is always gradually evolving according to my needs, even if it means putting in the work.

widdershins··on Zed, a collaborative code editor, is now open source
Ah, thanks for the link, I hadn't seen that. I will give Eglot another go with this set up!
widdershins··on Zed, a collaborative code editor, is now open source
It comes with quite a few language servers built-in.
widdershins··on Zed, a collaborative code editor, is now open source
I've been impressed with the C++ clangd language server snappiness in Zed compared to both CLion (my old favorite) and Emacs (apple of my eye for 2.5 yrs).

I always thought the major slowness was coming from clangd itself, so I'm surprised and impressed to see that Zed appears to be quicker on this front. I might be using Zed as a 'second opinion' editor because of this.

However, now I'm used to the infinite customizability and coziness of Emacs, it's going to be hard for me to move across to Zed permanently.

widdershins··on When America first dropped acid
> Sure, I had read various books about opening the doors of perception but at some point you realize it's just more "you" that you are finding.

But that's what opening the doors of perception means. Of course you're "only" discovering things about yourself, but that is still valuable and I think that is what a lot of people find 'mystical' about these drugs.

I agree that shamanistic woo-woo doesn't do any good though.

widdershins··on Apple hiring compiler developers for improving Swift / C++ interoperability
I don't know that Rust would solve the issues you mentioned. It's great for fixing memory errors, and making it hard to make logical mistakes where you forget to handle a particular case. But it doesn't do much to stop deadlocks, quadratic algorithms, or 'scheduling' type mistakes where a thread gets into an asynchronously reptitive loop.
widdershins··on Wind turbines are friendlier to birds than oil-and-gas drilling
And kill all pet cats.
widdershins··on Optimizing the unoptimizable: a journey to faster C++ compile times
So why on earth is std::string so slow to compile, if it's possible to compile this full-featured formatting library in 1/4 of the time?
widdershins··on Firefox on the brink?
Yep, you're right. At 5$/month they'd need 6.66M subscribed users. Still a lot, but more acheivable.
widdershins··on Redbean – Single-file distributable web server (with embedded Lua and SQLite)
I made the website for my wedding with Redbean, just for a bit of fun. It was a delightful experience. Deployment was just: upload one file, restart a process. I developed on my Mac, and deployed the executable, unchanged, to a Linux server. It just worked. Nice.
widdershins··on UK Parliament undermined the privacy, security, freedom of all internet users
The Conservative party are in government. Their programme is designed to extract wealth and political agency from the general populace, and suck it up into the control of their own class of people (a mixture of landed gentry, financiers etc).

Their vehicles for doing this are fear and distraction, propagated by the media outlets they and their friends own.

In this context, zeal for surveillance makes perfect sense. It plays well with people convinced by the Daily Mail that some boogyman (immigrants, paedophiles, whatever) is coming to get them and their children. And it's also useful for keeping tabs on protesters and strikers, who try to draw attention to their tactics and goals.

widdershins··on Memory-efficient enum arrays in Zig
It's about when you want to enable optimisations or conveniences depending on the parameterized type.

For example, in the std::vector<T> type, if T supports being moved, you want to use that when growing your vector for performance. If T doesn't support being moved, you will have to copy it instead.

Boom: you've ended up with template metaprogramming.

widdershins··on Asphalt Wasteland: Maybe parking does explain the world
You've missed the forest for the trees. The idea is that with fewer cars we would design our urban areas for walking and cycling. Your apartment block wouldn't have only one grocery store nearby, you would have a thriving ecosystem of local stores and restaurants within walking distance. You would take public transport or cycle to work. This is preferable for many reasons.

Of course, as you point out, this only works if places are designed around local shopping streets and cycle paths, instead of strip malls and freeways smashing through city centres. Obviously we're not there yet, and a car-free life is unattainable for many as a result.

Nobody is saying that this goal is acheivable in the short term. It's an ideal we'd have to work towards gradually, piecing together the required infrastructure and rebuilding the fabric of cities over decades.

FWIW I am lucky enough to live in a high density part of an old city, and it is wonderful. I can walk 8 minutes to a small street of shops with almost everything I need. I can cycle to other parts of the city to enjoy other amenities and meet friends. But I don't kid myself that this is possible for most people, yet.

widdershins··on Homebrew Is Awesome
Don't let the haters get you down. I appreciate homebrew every day, and I know there are thousands more out there like me. It makes using a Mac so much more fun! I appreciate this because I sometimes have to use Windows, where package installation is... lacking.
widdershins··on Why Rust helps even if you have to use a lot of `unsafe`
That depends on the sizes of the objects. If the objects in the union are generally small, cache coherence is better than if you have polymorphic objects allocated on the heap.
widdershins··on Using C++ as a scripting language, part 8
Count me among them. I write C++ all day and I'd love to introduce Lisp/Clojure to orchestrate my more performant code. This is a very interesting project!
widdershins··on Never trust a programmer who says they know C++
Haha, that's largely my resume, but I write pretty hardcore high-performance multithreaded code in C++ every day. Reason: I started with C++, got a job in it, and still work in it 15 years later, having mostly not needed another language in my day job.

To be fair, I also write some Lua, Javascript, Python, and I have sideline love affairs with Rust, Zig, Scheme, Common Lisp and others. But I've never had to write serious software in any of these, so applying for jobs where that's the main language would at least require me to honestly say "it'll take a little while before I reach maximum productivity".

widdershins··on Generating Music Tracks with Unified Representation and Diffusion Framework
Yes, that's true for our generation, since we grew up with authors and musicians as role models we admired, and we loved their art and wanted to emulate it. But what will happen in a generation or two, when the world is flooded with AI generated art? Will the children of that era feel any desire to write or compose for pleasure? I'm not sure; I hope they will though.
widdershins··on The average American has the same life expectancy as the worst part of England
Yes, it's fairly common to go to prison for drink-driving here.
widdershins··on Vicuna: An open-source chatbot impressing GPT-4 with 90% ChatGPT quality
But equally useful for those who want to learn how to spot a crook!
widdershins··on Show HN: StratusGFX, my open-source real-time 3D rendering engine
I think bevy is a much more ambitious 'total' framework for making games. Plus, I think by its nature Rust forces you to deal with the really hard questions up front, and get them right first time. In C++ you can punt some of these questions and build a less-than-perfect architecture more quickly. Please don't think I'm disparaging C++, I develop in it for my day job. But I do think there are different trade-offs at different stages of a project's lifetime.
widdershins··on Guardian owner apologises for founders’ links to transatlantic slavery
What if your father's slave trading generated a huge fortune, which is bequeathed to you?
widdershins··on Will AIs take all our jobs and end human history? It’s complicated
Your (oblique) comparison to gun control is interesting... but practically, controlling a technology which is just a special kind of number-crunching is vastly harder than controlling a technology which must be forged from steel in a special factory.
widdershins··on Bank run on Silicon Valley Bank
It was 1873. People spoke and wrote differently - usually more verbosely. It also depends what context the quote has been lifted from. I think your version is excellent if you're 'trying' to write a new aphorism or idiom. But perhaps this formed part of a longer passage where its clauses felt more 'necessary'.
widdershins··on Update to Kagi Search Pricing
> I'm sure Kagi's paying customers are paying for a reason

No ads, blazing fast, and the search results are more than adequate for me (I don't find myself ever reaching for Google as I did with DDG). I'm not too bothered where the results come from when those three things come together. It's just the premium search experience I want.

> all my searches are necessarily tied to a user id

I know that theoretically Kagi could sell me up a river at some point in the future. However, they have every incentive not to - they'll see a huge exodus of users if they ever do that - so the alignment of incentives feels right here.

For the moment I feel reasonably confident that my search preferences aren't being sold to the highest bidder (or every goddamn bidder). If that ever changes, I'll reconsider.

Overall I feel more comfortable paying for my search, and I want to support this business model.

> the metered usage feels far too much like an ancient cell phone plan

I'm going to wait and see how this works out for me. If I find I'm exceeding the $10/mo plan by a lot I'll also have to reconsider. But because I'm partly here to support the business model of paid search, I'm willing to give Kagi some leeway to find a sustainable setup.

widdershins··on Nicola Sturgeon to resign as Scotland's first minister
I personally think that she laid the groundwork for some of the problems we're seeing today. She 'sold the family silver' which creates short-term gains, but in the end you've damaged long-term foundations of the economy: housing, industrial capability, investment in infrastructure etc.
widdershins··on Using Lua with C++
Yeah, we're also employing that same architecture to great effect. A really nice side-effect is that you can reconfigure your app easily without recompiling. It really speeds up iteration times.

We can also have a small core team writing C/C++, and then let a wider team loose to build applications with Lua.

widdershins··on The golden era of being an open startup is gone
I personally find the lack of vaporware from Apple refreshing. With Apple, when you hear about the thing you can go out and buy the thing. From too many companies you hear about cool tech, only to find it disappointing or hobbled a year later when they actually get to release.
widdershins··on New wind, solar are cheaper than costs to operate all but one US coal plant
Wind operates at night, often producing more than it does in the day.
widdershins··on UK expected to be only major economy to shrink in 2023 – IMF
Perhaps you could retain some sympathy for the 48% of us who voted against it.
← PreviousPage 4 of 9Next →