News for hackers. Stuff that matters.
Re:Approximating Mathematical Constants Using Minecraft by sourcepluck on Wednesday December 04, 2024 @10:28AM (#42318380)
Wonder if the authors are familiar with https://www.luanti.org/. Just as "fun" surely, and less nudging kids into the jaws of the proprietary toll-extracting behemoths of our world.
Re:Approximating Mathematical Constants Using Minecraft by guipsp on Wednesday December 04, 2024 @11:36AM (#42319152)
If you ask a random kid if they know what luanti is, they would have no clue.
Re:Approximating Mathematical Constants Using Minecraft by westurner on Wednesday December 04, 2024 @11:51AM (#42319333)
Read the docs / documentation / API docs (and contribute)

Read the source

Write tests with test assertions and run them with a test runner

Learnxinyminutes > Lua: https://learnxinyminutes.com/docs/lua/

Learnxinyminutes > Python: https://learnxinyminutes.com/docs/python/

Re:Approximating Mathematical Constants Using Minecraft by sourcepluck on Wednesday December 04, 2024 @01:26PM (#42320388)
Yeah exactly, and they'll only know things that people tell them about. So tell them about Luanti.

I have given lots of classes to kids and young people, and if I followed your logic there I would have only told them about stuff I thought they already knew about. Luckily, I didn't.

Re:Approximating Mathematical Constants Using Minecraft by westurner on Wednesday December 04, 2024 @11:49AM (#42319313)
Luanti (formerly minetest) is open source, written in Lua, has an API with mediawiki docs, and has a vscode extension: https://github.com/minetest/minetest

Luanti wiki > Modding intro: https://dev.minetest.net/Modding_Intro

SensorCraft is open source, written in Python, and is built on the Pyglet OpenGL library (which might compile to WASM someday) https://github.com/AFRL-RY/SensorCraft

/? Minecraft clone typescript site:github.com https://www.google.com/search?q=minecraft+clone+typescript+s...

/?hnlog minecraft:

https://news.ycombinator.com/item?id=32657066 :

> [ mcpi, pytest-minecraft, sensorcraft, ]

mcpi supports "Minecraft: Pi edition" and "RaspberryJuice" (~ Minecraft API on Bukkit server)

minecraft-pi-reborn is an open source rewrite of "Minecraft: Pi edition" that's written in C++. It looks like there's a glfw.h header in libreborn. Emscripten-glfw is a port of glfw which can be compiled to WASM. Glfw wraps OpenGL. Browsers have WebGL.

MCPI-Revival/minecraft-pi-reborn: https://github.com/MCPI-Revival/minecraft-pi-reborn docs: https://github.com/MCPI-Revival/minecraft-pi-reborn/blob/mas...

Re:Approximating Mathematical Constants Using Minecraft by eesmith on Wednesday December 04, 2024 @04:41PM (#42322328)
Given that it ends:

> While we chose to use Minecraft to approximate irrational numbers, we believe there are many settings where this type of experimentation is possible. We would love to hear from anyone who finds inspiration from this paper and does some exploring of their own!

I'm sure they would be happy with you testing Luanti to see if there are equivalents.

Like, how do you generate random dots in Luanti? How do you record deaths? Or do you use other methods entirely? Is velocity isotropic or is traveling on the diagonal faster/slower than horizontal/vertical?

You could go one step further and write it up.

Re:Approximating Mathematical Constants Using Minecraft by sourcepluck on Thursday December 05, 2024 @10:54AM (#42329343)
You're missing the point - I think people involved in education should put the extra effort in to not use things like Minecraft, and should explicitly search for more "community-friendly" projects, based on Free Software.

If none existed, it'd be possible to understand.

If one did exist, and it was really well-documented, with a thriving community, and loads of care put in to modding as a primary facet of the game rather than a sort of add-on, well then... it gets harder to understand.

Whether I can play around with these ideas on luanti myself is completely beside the point.

Re:Approximating Mathematical Constants Using Minecraft by eesmith on Thursday December 05, 2024 @11:22AM (#42329588)
While my point is that they can't know and do everything.

Is luanti able to even do these tasks? Depending on how it implements mobs and the physics, it might not be possible, so your "If none exists" might actually be true - you don't know!

Help them. Don't be yet another annoying FOSS fan who insists others aren't pure enough.

Re:Approximating Mathematical Constants Using Minecraft by sourcepluck on Thursday December 05, 2024 @12:57PM (#42330595)
> While my point is that they can't know and do everything.

Indeed. If you'll relook at my initial comment, I was literally just saying, I wonder if they're aware of Luanti.

> Is luanti able to even do these tasks? Depending on how it implements mobs and the physics, it might not be possible, so your "If none exists" might actually be true - you don't know!

Again, yes, I do not know, I was really just saying, I wonder if they know about and have considered Luanti. I have been playing with Luanti now for a total of about one hour, but it seems great, and I was wondering if they knew it's there.

> Help them. Don't be yet another annoying FOSS fan who insists others aren't pure enough.

Noted. I didn't mean to be, and will be careful not to get up too high on the horse in future. Thanks for the honesty.

Re:Approximating Mathematical Constants Using Minecraft by eesmith on Thursday December 05, 2024 @02:00PM (#42331338)
> and I was wondering if they knew it's there

The friendliest way is to do one of experiments in luanti, then write them to say you liked the paper, but because you don't like proprietary software, you did it in luanti, and let them know of your success/failure.

Re:Approximating Mathematical Constants Using Minecraft by sourcepluck on Thursday December 05, 2024 @05:43PM (#42333673)
I already acquiesced to your basic point, that I should be careful about appearing too "high-horse" about the whole thing. I told you that I really did not mean to, and thanked you for sharing your perception.

And yet you're continuing, and pushing it a little step further, and implying that this is about me not liking proprietary software personally.

How weird. I don't know how I could have been more explicit. I do not think educators should use proprietary software with children if they have the choice to do otherwise. I'm making an ethical point, in the sense that I believe it should be a general rule.

Sometimes making an exception makes sense, sometimes not mentioning the whole thing at all makes sense, the world isn't black and white, sure. But I am not making a point about my personal preferences when it comes to software.

Re:Approximating Mathematical Constants Using Minecraft by eesmith on Friday December 06, 2024 @02:44AM (#42337391)
I'm sorry.

I saw that one possibility to resolve 'wondering if they knew it's there' was to email them directly and ask.

I was trying to caution you that it would be more friendly to include why you were curious, and to include some detail that tells them it you like their work enough to try it out yourself.

> I do not think educators should use proprietary software with children if they have the choice to do otherwise

The target audience is college students, not children.

Re:Approximating Mathematical Constants Using Minecraft by xigoi on Thursday December 05, 2024 @12:05PM (#42330081)
Unfortunately, in my experience, mesecon (the Luanti equivalalent of redstone) mechanisms seem to be unreliable for scientific experimentation because their behavior is framerate-dependent.
Re:Approximating Mathematical Constants Using Minecraft by sourcepluck on Thursday December 05, 2024 @12:59PM (#42330632)
Aha, ok, I didn't know that. I'm only playing around with Luanti very recently. I've made a note of this, and when I get around to experimenting with mesecon (which was on my todo list, as it looks great), I'll look into this, thanks!