HNHacker News
TopNewBestAskShowJobs

kcartlidge

696 karma · joined September 5, 2020

UK Software Engineer (sometimes Lead). C#, Go, Node, Python, AWS.
submissionscomments
kcartlidge··on ASP.NET Core Blazor
Built a few things with Blazor (largely internal tooling). Feels like a cross between Meteor, WebForms, and Phoenix LiveView. Fast and simple.

- Server-side rendering is great for internal apps, or public facing ones where interactivity is minimal and you enforce websocket support. Lost connections are still messy, but a single codebase (literally) makes life very simple.

- Client-side rendering is great for internal apps, or public facing ones where users are fine with a reasonable-sized up-front traffic hit. Lost connections behave like with any other site, and you can still use shared code and libraries which work unchanged on client and server.

I quite like the latter. A DotNet solution with a client C# project, a server C# project, and shared code projects, with the server running an API and the client consuming it using shared models works well and supports end-to-end debugging.

I'm also looking forward to trying the DotNet 8 hybrid Blazor improvements.

That said, when doing C# I still prefer either plain ASP.Net MVC or a separate client hitting an ASP.Net Web API (pretty much the perfect mix of scalable performance and productive development).

kcartlidge··on Ági Szabados Does Not Need to Apologize to Me
> An influencer was also present on the panel

It should be clarified that she is also a newsreader and runs a book club. There's nothing wrong with being an influencer, but to not mention the rest is incomplete.

kcartlidge··on Wilhelm Reich on pleasure and the genesis of anxiety (2021)
"The Cosmic Pulse of Life" by Trevor James Constable has a decent section on Wilhelm Reich with particular emphasis on Orgone Accumulators and Cloudbusters (including diagrams and photos of the author's own devices).

An interesting book which also includes details of Ruth B Drown and her Radionics devices, plus attracting and then photographing plasma lifeforms in infrared.

I'm not recommending it as a serious scientific treatise (I've no expertise in the relevant fields to allow me to either endorse or debunk [though the latter is the usual assumption]), but rather as an interesting read.

kcartlidge··on My Dearest Data East: Why? Gate of Doom/Dark Seal
Mention of Data East always reminds me of one of my favourite 8-bit games, Bruce Lee. Challenging and with excellent music (which I still remember). Both 'facts' relative to the time it was made of course.
kcartlidge··on Azure dropping database support for MariaDB. Users advised to migrate to MySQL
> Imagine bragging about full vendor lock-In

As a dev I agree with you entirely.

However for a business this is very definitely a valid stance to take (as covered by some sibling posts). To dismiss it out of hand is a failure to accept that business priorities and concerns can, and often do, differ from technical ones.

kcartlidge··on UK dismisses independent AI advisory board
> “The existential risks seem to be the current focus, at least in the PM’s office,” a former member of the CDEI’s advisory board told ComputerWeekly.com. “You could say that it’s easy to focus on future ‘existential’ risks as it avoids having to consider the detail of what is happening now and take action.”

This, unfortunately, seems to be a very common attitude. Often actively promoted by many discussing/promoting the space.

kcartlidge··on The Future of Computer Wargaming (1981)
As this thread has wargamers on it, maybe someone can help me remember a particular book?

In around 1985 (which is why I cannot remember it well enough) I borrowed a book from a local UK library specifically on writing (not playing) computer wargames.

A few such books exist/existed but I remember this one specifically. It was paperback, about half an inch think, and it went into great detail on how to pack army and map information into bytes (2 bits for one thing, 1 for another etc). It had the usual algorithms for movement, terrain, distance-based (not line of sight) fog of war etc., but the thing that stuck out as being different enough that it might be memorable was the bit-level compression of data. It may have been using Pascal, though I'm even more hazy on that as it was 40 years ago. It was definitely slightly more academical than introductory.

I've looked through a lot of the usual books from back then (not just the mainstream Donald Featherstone stuff), tried the library (but they are now a motorbike dealership), and even contacted a few publishers directly (they were nice enough to respond but with a 'not us').

Anyway, I appreciate this is vague but if anyone remembers it I'd be grateful.

kcartlidge··on How many animals get slaughtered every day?
I'm not a vegetarian or vegan. I'm weak-willed in this area and the best I've managed is to choose a non-meat option where the choice is easily available and comparably appetising. I want to do better, but am not in a position to moralise.

Nevertheless I'd recommend reading "The Extended Circle: An Anthology of Humane Thought" (Jon Wynne Tyson). It's one of only a handful of books I've kept a copy of for a very many years and peruse regularly, taking the form of quotes from famous people, not so famous people, historical personages, and founding texts, all concerning the human relationship to animals. A very moving and wounding book.

kcartlidge··on I rewired my brain in six weeks
Seconding Gil Fronsdal's audio. He's very clear and reasonably concise.
kcartlidge··on UK Post Office: 700 Horizon software scandal victims to receive £600k each
A few mentions of Private Eye pushing the story. True, but also worth mentioning The Register and, especially, Computer Weekly who actually broke the story: https://archive.ph/OYJwW
kcartlidge··on LaTeX for tabletop
If you're looking for a GUI editor for your LaTex content, personally I like Lyx [1]. It's featuresome, easy to use, and also includes outline navigation.

[1] https://www.lyx.org/

kcartlidge··on Why isn't dotnet core popular among startups?
> Microsoft and the absolute bottom tier of enterprise ... we considered dotnet beneath us ... shitty consulting firms ... I cannot imagine the average dotnet programmer is very good

Thank you. I very much appreciate you self-selecting yourself out of the pool of people I'm ever likely to have to work with.

kcartlidge··on Ask HN: What is the best way to build a desktop app in Windows in 2023?
Free Pascal with Lazarus.

By career I'm mostly a C# person but (IMHO) everything desktop UI that Microsoft have done since WinForms has proven to be not worth using for the long (or even medium) term.

kcartlidge··on Aardvark'd: The Fog Creek documentary, 18 years later
> I actually bought this on DVD

Same here. Bought it back when it was released, and still have it.

Thoroughly enjoyed it, but I agree with the article in that it was very much all over the place in terms of scripting.

kcartlidge··on Google Chrome pushes browser history-based ad targeting
I really miss the days of the original Opera. Back when the browser was lean, and they were innovating with their own engine and UI.
kcartlidge··on Learn COBOL in a day
Back in the 80's I had to learn me some COBOL as part of a college course. Obviously nostalgia (now) and inexperience (then) are involved, but I actually quite enjoyed it.

At the time the other stuff I was learning involved Pascal on VMS and DBase II on an 8086, so it was all great fun.

kcartlidge··on Multiple Notepad++ Flaws Let Attackers Execute Arbitrary Code
> I also got tired of how the package manager worked. Whenever I was setting up a new install, I could never remember what combination of packages I needed to install to get everything to work how it used to.

This is one of the things VS Code does quite well. Stick a recommended extentions file in your repo root and anyone who pulls it gets automatically offered the chance to install them.

(View -> Command Palette -> search for "Recommended Extensions")

kcartlidge··on Multiple Notepad++ Flaws Let Attackers Execute Arbitrary Code
Kate renders nicely, performs fluidly, opens fast, and never lets you down. I use Notepad++ on Windows as it's work-approved, but Kate where I can.
kcartlidge··on Chromebooks Were Once a Good Deal for Schools. Now They’re Becoming E-Waste
All the technical and business arguments for or against Chromebooks are a side-show. This is the real answer. Thank you.
kcartlidge··on Chromebooks Were Once a Good Deal for Schools. Now They’re Becoming E-Waste
> I fail to see how pointing the finger at chromebooks specifically is more than a distraction.

They have a built-in kill switch. After pre-set number of years (from launch and not from purchase) they become useless to schools.

Macs and PCs only die when they die, not when they hit their cut-off date. At that point the other devices have resale values and 'expired' Chromebooks don't.

> There is a bigger problem at play here, a massive culture of consumption.

Then pointing the finger at Chromebooks is extremely relevant, as enforced lifetime limits lead to (relatively) rapidly replaced devices with no future beyond landfill and more consumption.

kcartlidge··on Atlas Shrugged: Ayn Rand’s Most Famous Novel Explained
I've read a fair few of her books (purely out of interest; I'm not inclined towards Objectivism). Atlas Shrugged seemed the least worthy. I found The Fountainhead to be both a better book and a saner text.
kcartlidge··on Microsoft is discontinuing Visual Studio for Mac after major overhaul
DotNet is great for cross-platform.

Native builds cross-compiled with a huge standard library and excellent performance. This is just about IDE priorities, and even though I use it I understand that VS Mac was always niche. Linux dotnet devs use VS Code or Rider anyway so no change there, and this just brings Mac in line with them.

Worth remembering in all this that the developers of Go, Python, PHP, Ruby etc (to name a few, all of which I use and am not dissing) don't produce their own IDEs. You wouldn't expect them too, and would never say their cross-platform creds are bad because of it, so why is MS different just because they choose to produce optional extras beyond the basic language tooling? By that logic you'd have to reach the (ridiculous) conclusion that Go, Python, PHP, Ruby etc are even worse for cross-platform. Double standards really.

kcartlidge··on Microsoft is discontinuing Visual Studio for Mac after major overhaul
I'm on an M1 Mac and even with that iteration you're totally right. Especially given for that battery life you usually still great performance and a silent machine.

But I really miss my ThinkPad (with Mint) whilst I use it. I'm on the Mac probably 95% of the time but other than the battery life and efficiency it has nothing else going for it in comparison. It has a worse screen, awful keyboard, toy UI, and terrible accessibility as my eyesight ages. I wish the non-Apple world would get their act together.

kcartlidge··on Microsoft is discontinuing Visual Studio for Mac after major overhaul
I'm a paid user of Rider, but mostly use VS Mac as it's faster, cleaner, and more intuitive. Plus (and despite also being a paid user of Goland too) there's something about the JetBrains IDE range's font rendering I've never really liked; it seems somehow not crisp enough. Hard to put into words, though their new UI style is much improved.

As long as VS Mac supports your project types over the last year and a half it has come on hugely. I've no problem switching to VS Code, and I saw this coming a while back, but it's a shame.

I also use Visual Studio on Windows extensively. Whilst it does much more than VS Mac it's uglier and far less reliable, both of which matter to me in quality of life ways.

kcartlidge··on Microsoft is discontinuing Visual Studio for Mac after major overhaul
There's no startup time overhead now for my stuff as all my web servers, apis, and command line tooling (.Net CLI apps) are built (by the standard dotnet tooling) into cross-platform stand-alone binaries.

They are native code and generally between around 11MB and 20MB depending upon what they do.

kcartlidge··on The Elements of Style [pdf]
Thank you.
kcartlidge··on Ask HN: Underrated music, books, movies?
There are more obvious underrated movies, but one that rarely gets mentioned is Brotherhood of the Wolf with Mark Dacascos and Vincent Cassel.

A mix of opinions at the time, a few comments about genre confusion, but personally I'd say forget about all that and just watch it on loud in a dark room. Atmosphere by the ton, and massively entertaining.

kcartlidge··on Ask HN: Underrated music, books, movies?
I'd also recommend Lemon Jelly.

The music station Smooth Chill (UK) plays a fair few Lemon Jelly tracks most days, Ramblin' Man being a highlight.

kcartlidge··on Ask HN: Anyone using proportional fonts for coding?
This. I use it all the time. Every character is fixed width except 'm', 'w', 'M', and 'W', which are 150%. It mostly looks and behaves like monospace, but with a very nice minor adjustment that makes it more readable and pleasant.
kcartlidge··on Web Dev Without Tools (2021)
Never seen the project before, but you're looking at desktop wallpaper. Bottom left, possibly off your screen, is a start menu.
← PreviousPage 4 of 19Next →