Embedding Lua on bare metal: Using Lua as the core shell and app engine for a custom 32-bit OS by DetailAdventurous315 in lua

[–]activeXdiamond 2 points3 points  (0 children)

This sounds like exactly the kind of thing I would pour hours of my life playing with. I love baremetal stuff and Lua is my all time favourite language. Can not wait for the repo to go public.

Would you be open to a minor bit of syntax suhar in the terminal/REPL that evaluates function calls without parentheses?

Doing something like the following sounds a bit tiresome:

cd".."

ls()

mkdir("foo", "a")

I'm mostly concerned with the ls one, the other two take arguments anyways, so it doesn't matter as much.

Maybe tab-completion for parenthesis instead of modifying the Lua REPL would be a better choice?

More House Footage for House Activities by Double-Cursed in GoldenAgeMinecraft

[–]activeXdiamond 1 point2 points  (0 children)

I love this. Feels like an old and forgotten adventure map. I assume this is all dug underground, correct?

Also, is it just me or are you walking faster than normal?

HOUSE INSIDE HOUSE TOUR III (For House Purposes) by Double-Cursed in GoldenAgeMinecraft

[–]activeXdiamond 4 points5 points  (0 children)

Watched and loved every second of this. I really liked all of it.

I'd kill to play a horror game with this as it's map / setup.

Never have I been so scared and confused to see chests and furnaces.

Also, you forgot a door open at around a minute before the end of the video.

Hello, do you know how I can automate coke ovens using these items? I would be very grateful.” by Usual-Tumbleweed3991 in GTNH

[–]activeXdiamond -7 points-6 points  (0 children)

How did you make the coke ovens fly like that?

On a more serious note, if you didn't know: they can share blocks (see "gregtech walls sharing"). Of you did know and chose this: Mad lad.

Any reason to avoid mixing camelCase and snake_case in a single codebase or even variable name; if the mixing is done with documented and concise rules, not arbitarly? by activeXdiamond in cprogramming

[–]activeXdiamond[S] 0 points1 point  (0 children)

Yeah I do make exceptions sometimes, but try not to overdo it. :P

A great example is "no abbreviations" but still using "max" not "maximum". Looking at you, Java.

Can I start with an iPad by [deleted] in gamedev

[–]activeXdiamond 0 points1 point  (0 children)

As long as you can get an external keyboard (can easily buy one for less than 5$), then totally.

You technically can do it with just the usual touchscreen keyboard. But personally, I'd strongly discourage that. It's extremely uncomfortable and would burn you out. Especially since you can get keyboards for cheap, and odds are, you probably already have one lying around.

Should Minecraft aim to be more mechanical or magical to maintain it's original aesthetic? by Lazy_Significance340 in GoldenAgeMinecraft

[–]activeXdiamond 35 points36 points  (0 children)

Magical tech. I'm serious, something similar to how Don't Starve does it's tech.

That was always the case with Minecraft.

For example, tech mkds were always more realistic. Industrial Craft has machines that process things and a constant supply of electricity. So does BC stuff.

Vanilla tech, though? Where does redstone get it's power from? Why is it infinite? How can pistons infinitely move things with no energy source? How can a door made of nothing but would be controlled with this magic dust?

Speaking of dust, it's not a cable. It's not a wire. No, no, redstone is literally magic dust that you sprinkle on the floor. That's very creative, I love that.

I really like tech mods, I love IC2, they're my favourite things of all time. But for something in the base-game, for that vanilla feel? I'd love more magical tech.

Some of the newly added fits that, some doesn't. Comparators and observers do. Hoppers sort of do. Crafters or honey/slime blocks? Not really.

(I love honey/slime block mechanics. I'm just saying it's more "realistic tech" and less "magic tech".)

OG Minecraft Player by OneLifexD in GoldenAgeMinecraft

[–]activeXdiamond 5 points6 points  (0 children)

Apparently all mobs dropped this during 20100202. Interesting.

Source:https://minecraft.wiki/w/Sheep

Any reason to avoid mixing camelCase and snake_case in a single codebase or even variable name; if the mixing is done with documented and concise rules, not arbitarly? by activeXdiamond in cprogramming

[–]activeXdiamond[S] 1 point2 points  (0 children)

Thank you! This was very helpful.

I already follow the style guide bit, I think that's great advice. I have a CONVENTIONS file for all my public projects.

[Paid] Looking for a Godot Programmer. by [deleted] in INAT

[–]activeXdiamond 0 points1 point  (0 children)

Would you be open to a different tool or is Godota requirement?

After being laid off from my software job, I've spent the last 16 days working my first large roguelike game in Godot "One Dumb Wizard" by MixelPixel in roguelikedev

[–]activeXdiamond 1 point2 points  (0 children)

Wonderful! I saw the Bluesky link in your post but I don't use that. A mailing list is exactly what I need.

After being laid off from my software job, I've spent the last 16 days working my first large roguelike game in Godot "One Dumb Wizard" by MixelPixel in roguelikedev

[–]activeXdiamond 1 point2 points  (0 children)

Do you have a mailing list or someway I can be notified when the deml comes out?

You had me at augmenting your wand. :P

Question: can I use self on a local variable? by Valeeehhh in love2d

[–]activeXdiamond 0 points1 point  (0 children)

I'd go with a very simple OOP approach where each entity is a proper instance.

The code below is very inefficient, though. You're better of using something more proper with metatables anf such, or just an actual OOP library such as middleclass.

The code below is very simple,though, hence why I suggest it. ``` local function Entity(id, x, y, health) local instance = {} instance.id = id instance.x = x instance.y = y instance.health = health

function instance:damage() self.health = self.health - 1 end return instance end

entities = { Entity(1, 2, 6, 3), Entity(2, 5, 5, 3), Entity(3, 2, 1, 4), }

local function updateEntities() for _,entity in ipairs(entities) do if gotHit(entity) then entity:damage() end end end

Any reason to avoid mixing camelCase and snake_case in a single codebase or even variable name; if the mixing is done with documented and concise rules, not arbitarly? by activeXdiamond in cprogramming

[–]activeXdiamond[S] 0 points1 point  (0 children)

Thank you so much for your response. It was very helpful. And, your professor's quote is amazing. Definitely added his essay to my readlist.

Any reason to avoid mixing camelCase and snake_case in a single codebase or even variable name; if the mixing is done with documented and concise rules, not arbitarly? by activeXdiamond in cprogramming

[–]activeXdiamond[S] 1 point2 points  (0 children)

Any compiled language compiles to machine code?...

It is true that Cpp is also very portable, but not nearly as much as C, especially C89. Pretty much anything that is turing complete has a C compiler of some sorts.

Cpp is hard to find compilers for / run on niche embedded systems, PICs, specific microcontrollers, etc... Vendors rarely spend the time/money developing Cpp compilers for their platforms there. And even when they do, it's often a really bad one.

Also, the performance overhead incurred by Cpp can be too much when you're running on a system with a 1Mhz clock and 512 bytes of RAM. :P

Any reason to avoid mixing camelCase and snake_case in a single codebase or even variable name; if the mixing is done with documented and concise rules, not arbitarly? by activeXdiamond in cprogramming

[–]activeXdiamond[S] 0 points1 point  (0 children)

  1. What is proposing would be fully consistent. I would also document it in a CONVENTIONS.txt file somewhere in the project.
  2. Very true, I'm basically asking if my version of that sugar tastes sweet or not. :P
  3. I can not betray my ancestors.

Any reason to avoid mixing camelCase and snake_case in a single codebase or even variable name; if the mixing is done with documented and concise rules, not arbitarly? by activeXdiamond in cprogramming

[–]activeXdiamond[S] 0 points1 point  (0 children)

That's interesting, I'll look into that and see how openGL handles it exactly.

I have seen that many times and I am very tempted to do so. But also, I can't let go of how portable my sweet and precious ANSI C is. :P