[-] houseofleft@slrpnk.net 4 points 1 week ago

Thanks for such a well reasoned response 😁 My knee jerk "public transport good" response did miss a lot of the subtlety you've captured here!

[-] houseofleft@slrpnk.net 7 points 1 week ago

Ok really tangential rant here!

I find societal attitudes to art and morality really crazy.

I don't necessarily disagree with the idea that art and morality should be linked, but it only ever seems to happen in a negative capacity of "don't listen to x because they did y".

There's a whole strain of:

  • Artists who are not necessarily bad people, but whose art is aggresively immoral (I guess an obvious example would be Biggie Smalls or someone who frequently raps about sexual assault and violence in a positive way, but also the ammount of mainstream pop or country that has sexist or racist undertones)
  • Artists who try hard to inject their morality into their work (such as Becky Chambers' climate positive fiction, or Giancinto Scelsi's anti-facist music)

On the whole, I don't see anyone care very much about the above two points, people just "like what they like", which is as if we think morality and art are two seperate things.

That makes sense, but then there's this wierd category where "oh that person did this bad thing, so now their art is invalid".

So, what's the overall attitude? Like, art isn't related to morality generally, but there's some mysterious line where if it's crossed art moves into the "forbidden zone"?

I'm all for calling bad people to account for their moral behaviour, but the way we do it in art is so jumbled and inconsistent.

[-] houseofleft@slrpnk.net 8 points 2 weeks ago

If the government actually want people to install heat pumps (I hope they do) they really need a lot more policy.

The current £7,500 grant sounds great, but when you look at British Gas' installation estimates[1], it costs about £5,000 more than that on average to carry out an installation. That means even for customers who have to install a new heating system (i.e. their current boiler is broken beyond repair) it is still substantially cheaper to install a combi-boiler (less than half the price on average).

And that's people who have to install a new system- if we want to move from fossil fuels we need people to replace working boilers with heat pumps.

Honestly, the government has a tonne of levers it can pull, but any serious plan needs to not rely on people making hard to afford decisions because they are environmentally justified. They beed to actually do something so that the relstive emissions of heating get reflected in the cost of systems and fuel.

[1] https://www.britishgas.co.uk/heating/air-source-heat-pumps/carbon-cruncher.html

[-] houseofleft@slrpnk.net 4 points 2 weeks ago

This, combined with the fact that global emissions have skyrocketted since the late 80s, which is also (not coincidentally) when UK hugely ramped down it's national coal production, really make me wonder the total mass of fossil fuels burned (not just produced)!

[-] houseofleft@slrpnk.net 4 points 2 weeks ago

Before someone says it, I know a lot of this stuff doesn't need to be done. I'm just giving it as examples for why Java has the rep it does.

[-] houseofleft@slrpnk.net 8 points 2 weeks ago

I think a lot of it is "ceremony", so it's pretty common in java to:

  • create a get method for every object variable
  • create a set method for every object variable

Then add on top that you have the increased code of type annotations PLUS the increased code of having to check if a value is null all the time because all types are nullable.

None of that is hugely complicated compared to sone of the concepts in say Rust, but it does lead to a codebase with a lot more lines of code than you'd see in other similar languages.

[-] houseofleft@slrpnk.net 5 points 1 month ago* (last edited 1 month ago)

I feel like in a lot of ways, most languages are great candidates for this, for lots of different reasons!

  • Rust: Great choice because it produces a small, very well optimised binary. If you just care about the output binary being small and non-memory intensive, then this is probably a good call.

Buuuuut, Rust's compilation can be pretty resource intensive, so if you're actually developing on limited hardware:

  • C (or curveball option, Hare): produces a small, well optimised binary, with faster compilation. But less framework type things to help you on your way to apis/servers/etc.

Then there's the fact that it's a home server, so always on, meaning you actually have generous resources in some ways, because any available CPU is kinda just there to use so:

  • Python: has a runtime and can be pretty heavy CPU wise, but lots of frameworks, and in all honesty, would wind up being a lot faster to put stuff together in than Rust or C. Probably a great default option until you hit resource issues.

And then why not go whole hog into the world of experimental languages:

  • Roc: Doesn't have versions yet, so super new, but should produce a pretty small binary and give you higher level ergonomics than something like Rust or C, especially if you're into FP.

And then we're forgetting about:

  • Haskell: Haskell is the only true programming language, and any time there's a selection of programming languages, picking the one that isn't Haskell is the wrong choice. Just ask anyone who programs in Haskell.

But that doesn't factor in:

  • Javascript: Sooner or later, everything is just javascript anyway, why even try to resit?

Plus:

  • Assembly: Can you even trust that it's well optimised unless you're writing the assembly yourself?

Edit: My actual serious answer is that Rust + Rocket would be great fun if you're interested in learning something new, and you'd get very optimised code. If you just want it to use less memory that java and don't want to spend too much time learning new things then python is probably fine and very quick to learn. Go is a nice halfway point.

[-] houseofleft@slrpnk.net 4 points 1 month ago

This is so true!

I think people are so in love with the idea of "innovation" because secretly we all just know that it means "easy-fix" and that sounds a lot better than "hard work".

[-] houseofleft@slrpnk.net 5 points 1 month ago

Take a look at retropi, which is more or less what you're talking about!

Depending what you're wanting to get out the project:

  • You might be happy just using retropi
  • You might be happy working on top of retropi
  • You might want to build something from scratch and just use retropi as a refence

Anywag, I'll stop being a shill now and just give you the link: https://retropie.org.uk/

[-] houseofleft@slrpnk.net 4 points 1 month ago

I lile this a lot. This reminds me a lot of KQL (a microsoft query language that's used for a bunch if azure logging).

I use a lot of python pandas/dask- I've definitely got used to viewing a table as a series of operations to perform rather than the kind of declarative queries you get in SQL.

At what point is it no longer SQL? If we're changing fundamental stuff, I'd love a way of writing loops or if statements that isn't painful too.

[-] houseofleft@slrpnk.net 5 points 1 month ago

I though this would be some kind of scifi future Venice type thing, and was pretty stoked. Even more exciting that it's a real project!

I surf and it's amazing just how many beaches aren't always safe to swim at, let alone city rivers and lakes. I think we forget how surreal it is how little lives in those waters.

[-] houseofleft@slrpnk.net 6 points 1 month ago

Ah Marginalia is absolutely awesome! I feel like modern search is almost an extension of website names now, so if I want to find netflix but don't know it's website, I might search for "netflix". Marginalia is actually a cool way to find new stuff- like you can search "bike maintenance" and find cool blog posts about that topic.

I honestly can't remember if that's something google and the like used to do, but doesn't now, or if they never did. Either way, I love it!

view more: ‹ prev next ›

houseofleft

joined 2 months ago