[-] MajorHavoc@programming.dev 11 points 10 hours ago

Lol. Two things can both be bad.

[-] MajorHavoc@programming.dev 2 points 10 hours ago

Great movie.

I loved realizing that no child in the entire village lacks red hair.

[-] MajorHavoc@programming.dev 2 points 23 hours ago

I shall henceforth always call "The Proposal" by it's corrected title "The HR Nightmare One". That's so perfect. Thank you for that.

[-] MajorHavoc@programming.dev 1 points 1 day ago

If YAML and JSON were gripping my hands for dear life, dangling off of a cliff...

I would let both drop into the abyss so I could spend more time with INI.

[-] MajorHavoc@programming.dev 14 points 1 day ago* (last edited 1 day ago)

would Python really be better if it switched to braces?

Yes. A thousand times, yes.

[-] MajorHavoc@programming.dev 16 points 1 day ago

That is amazing.

I don't know what I just read.

If my website ever gets married, I'm going to invite this website to stand next to it as a bridesmaid - because it makes my website look pretty by comparison.

[-] MajorHavoc@programming.dev 36 points 1 day ago

I am 90% sure I have never taken any mind-altering drugs.

Before I read this comic, I was 99% sure.

[-] MajorHavoc@programming.dev 8 points 1 day ago* (last edited 1 day ago)

Don't worry! Mullets never went away.

The public lost faith, but the truly committed have kept the tradition/style/lifestyle alive.

But I do hope it's true about the 80s coming back. I'm gonna buy a Trapper Keeper and start saving up for a fresh Pog collection.

[-] MajorHavoc@programming.dev 2 points 1 day ago

With Google's reputation for Easter eggs. I don't know if this is edited, or real.

[-] MajorHavoc@programming.dev 4 points 1 day ago

C# is only good as a scripting language in my usecase, and sometimes you want "hard-code" new features, not script them.

My recent experience with C# suggests you might have a much better time with it, than you think.

C#'s compile phases are nuanced and achieve surprisingly quick results, now.

If it's been awhile since you used C#, you could be happily surprised.

[-] MajorHavoc@programming.dev 4 points 1 day ago* (last edited 1 day ago)

Well said.

Here I am trying to wind people up and you're responding with thoughtful nuanced consideration.

You make some great points.

I'll add - for folks reading along - I do think a class is still almost always an anti-pattern, even with all the OOP class function and factory pattern stuff removed.

I also feel (as you referenced):

  • Functions being forced to reside inside objects is just stupid.
  • Factory patterns are horrible, because they mix config into program code, maximizing uncertainty when debugging

And also:

  • Inheritance is almost always a worse idea than an interface.
  • classes tend to have additional fancy tooling to make it easier to carry state data around - which is usually a bad idea

State data is a necessary evil in most programs.

I've found that most advanced class object implementations treat program state data more like a pet than a threat.

Sorry for the long response - I know you don't need it - you know what kind of tool you're looking for.

I figure they extra detail above might provide food for thought for folks reading along who are surprised there's even contrasting opinions on classes.

(And I feel a little bad for not really posting anything very useful earlier in the thread.)

[-] MajorHavoc@programming.dev 5 points 1 day ago

It amuses me that someone downvoted classes suck.

It's an objectively true fact.

1
submitted 5 months ago* (last edited 5 months ago) by MajorHavoc@programming.dev to c/minetest@lemmy.ml

Since I couldn't find it, here's a bare minimum guide to starting using the Pipeworks mod.

This recipe builds a trivial item sorter.

Mods you need:

  • Pipeworks
  • Mesecon
  • I3 Inventory (optional, strongly recommend)

Resources you need (if building this in survival):

  • 24 wood planks for 4 chests
  • a lot of leaves (for plastic for tubes and for the injector)
  • a lot of mese Crystals (for the injector and the sorting tube segment and the blinky plant)
  • 3 saplings (for the blinky plant)
  • 2 iron for the injector

To build the parts - look up the part recipes in I3 Inventory, or the MineTest wiki.

The Build:

In this order, place, on flat ground, in a straight line:

  • A chest
  • A stack wise filter injector
  • A pneumatic tube segment
  • A sorting pneumatic tube segment
  • A final chest

Now place the last two chests on the ground on either side of the 'sorting pneumatic tube segment'.

Now place a 'blinky plant' beside the 'stackwise filter injector', to get it running. Yes, it must be a blinky plant.

Now throw some crap in the first chest and watch it get moved randomly to the other 3 chests.

Now, grab an item you want sorted, say 'dirt block'. Left click on the 'sorting pneumatic tube segment'. Put the dirt block next to one of the colors. Put more dirt blocks into the first chest.

Watch the dirt blocks follow the color you chose.

Repeat with more item types.

Now your inventory is sorted, kind of.

Finally, add additional chests and sorting tube segments, as needed, to suit your personal play style.

Edit: Of course now I found a decent wiki page that has more detail, so I put that in the URL.

138
PSA - MineTest on SteamDeck (blog.rubenwardy.com)
submitted 5 months ago* (last edited 5 months ago) by MajorHavoc@programming.dev to c/steamdeck@sopuli.xyz

MineTest on a SteamDeck is so fun, y'all.

(Edit: MineTest is a free and open source game engine that started as a clone of Minecraft, and has grown to be that, and much more.)

I would have tried it sooner, if someone had mentioned it to me, so I'm mentioning it to you.

Edit: Disclaimer, I'm not the author of this blog. It's the walkthrough I followed to start playing.

2
Newbie Lessons (programming.dev)
submitted 6 months ago* (last edited 6 months ago) by MajorHavoc@programming.dev to c/minetest@lemmy.ml

Here's things I learned, so far, as a new player of Minetest. I'm new at this, so I'll gladly update this post with any corrections.

  • Mineclone2 is a great place to just start playing!
  • When confident enough to choose my own plugins, I switched back to MineGame/default, for the bigger library of available plugins.
  • Mesecons is redstone, but looks way nicer. Insulated wires alone look like a huge sanity saver.
  • The world is dramatically taller and deeper, so you're going to want a teleporter or elevator plugin. I found Travelnet a practical option.
  • if you're coming from Java edition Minecraft, you may be pleasantly surprised how much faster, lighter and more efficient Mineclone is.
  • The hang glider plugin is a giggle and a half.
  • Building a Cotton farm was a quicker path to beds and hang gliders, for me, than searching for sheep.
view more: next ›

MajorHavoc

joined 8 months ago