@rubenwardy@fosstodon.org
@rubenwardy@fosstodon.org avatar

rubenwardy

@rubenwardy@fosstodon.org

Andrew Ward | Software engineer and open source contributor | Core dev https://fosstodon.org/@Minetest | 🏳️‍🌈🚀🌔

#fedi22 #gamedev #Minetest #linux #OpenSource #foss #programming #tech #electronics #makers

This profile is from a federated server and may be incomplete. Browse more on the original instance.

rubenwardy, to firefox
@rubenwardy@fosstodon.org avatar
Emi, to random
@Emi@mastodon.gamedev.place avatar

What are your takes about rating systems?
I always feel like the 5 ⭐ system ends up being used as just a 1 or a 5, but the 10/10 is way too granular.
👍👎 seem like a good idea, but it lacks a neutral in my opinion.

Anyone has any interesting reads or takes about rating systems? let me know :)

rubenwardy,
@rubenwardy@fosstodon.org avatar

@Emi

I went with 👍➖👎 for Minetest's game and mod store (https://content.minetest.net), the middle being neutral. I'm not that happy with any of the systems and it probably depends on the volume of ratings you get as well

rubenwardy,
@rubenwardy@fosstodon.org avatar

@Emi

Well I'd be interested to know what you go with and what you find out

Minetest ContentDB has 4150 reviews. Sounds like a lot but they're unevenly spread out over 2400 packages.

Some users have complained that 👍👎 is too black and white and they would prefer a 5 star system.

Some users have complained about the negative option (just because a game isn't for someone doesn't make it bad, it penalises more opinionated games) with suggestions to just have positive and neutral

rubenwardy,
@rubenwardy@fosstodon.org avatar

@Emi

Currently, reviews contribute to the package score in a flat way - +100 for a positive, -100 for negative, 0 for neutral. There have been suggestions on weighting based on creation date or helpful/unhelpful rating

https://content.minetest.net/help/top_packages/

rubenwardy,
@rubenwardy@fosstodon.org avatar

@Emi

Also, all reviews require a comment. It's not possible to leave a rating without writing a comment to back it up

kojack, to random
@kojack@mastodon.gamedev.place avatar

I wish usb cables were labeled with their speed and power rating.
I bought some new cables the other day and I've printed labels for them like:

  • USB2 3A 60W
  • USB3.2 Gen1 5A 100W PD
  • USB3.2 Gen2 12V 3A
    Otherwise I'll never remember which is which.

It was easier when you just needed to remember white, black and blue USB sockets/plugs. Then that got all fucked up.

(The Raspberry Pi 5 requires a 5A supply and cable to run at full performance)

rubenwardy,
@rubenwardy@fosstodon.org avatar

@kojack

This is a thing??? I've always just used any cable, I thought only the devices on either end mattered

rubenwardy,
@rubenwardy@fosstodon.org avatar

@kojack

Ah I see. My 100W USB-C chargers all come with fixed unremovable cables, maybe for this reason

rubenwardy, to androiddev
@rubenwardy@fosstodon.org avatar

New blog post:
Detox and : UI testing with permissions

https://blog.rubenwardy.com/2024/05/24/detox-permissions/

Bobbins, to random
@Bobbins@bobbinsrobots.com avatar

I think Jon Blow complaining about not being able to find Braid on PSN without scrolling to the bottom of the list of new releases and having to be told to stop sorting by best selling and it goes to the top will give me strength for years to come.

rubenwardy,
@rubenwardy@fosstodon.org avatar

@KeefJudge @klord @Bobbins

Fable 2 was my favourite, such great games! So thanks

I wish 2 and 3 would come to PC, I'd love to replay them on my Deck. I guess it'll never happen now 😢

ZachWeinersmith, to random
@ZachWeinersmith@mastodon.social avatar

One of the disappointing things about living in this sci fi future is that nobody wants a heads-up display. They're annoying with basically no upside in most contexts, but when I was a kid I always imagined needing data readouts or whatever.

rubenwardy,
@rubenwardy@fosstodon.org avatar

@ZachWeinersmith

Smart watches are quite popular. I feel like they fulfill a lot of the same purposes

bram, to random

The way Lua only allows you to use a local function AFTER its definition in the file, is absolutely horrible. It forces you to order functions by their local function dependency, making larger files dreadful to navigate through. ​:blobdislike:​

Does anyone have any tips how to organize large Lua files?

rubenwardy,
@rubenwardy@fosstodon.org avatar

@bram

You could use a local table to allow the functions to be defined in any order. But it's often a good idea to break up larger files, if you can find opportunities to do so

local filename = {}  
function filename.one()  
 return filename.two()  
end  
function filename.two()  
 return 2  
end  
rubenwardy,
@rubenwardy@fosstodon.org avatar

@bram

It's convention to declare a global variable with the same name as the mod, to share functions with other mods and files.

If you want to keep the functions private, you can pass them using dofile as documented here. Note that this isn't secure, other mods can still get access to the functions in the local table by overriding the dofile function https://rubenwardy.com/minetest_modding_book/en/basics/lua.html#including-other-lua-scripts

Theriac, to gaming
@Theriac@plasmatrap.com avatar

I've looked about the minetest website but not really seeing any mention of this

Does the installer have checksum files somewhere ?

rubenwardy,
@rubenwardy@fosstodon.org avatar

@Theriac

We don't provide any checksum files. The downloads are done over HTTPS which is a reliable network protocol

What you do is make a HEAD request to get the MD5 sum:

curl -L --head https://github.com/minetest/minetest/releases/download/5.8.0/minetest-5.8.0-win32.zip

Look for content-md5

rubenwardy, to animals
@rubenwardy@fosstodon.org avatar

Un petit chien dans le magasin

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

When you feel like writing a blog post but have no topic...

rubenwardy,
@rubenwardy@fosstodon.org avatar

@martijnbraam

I have an issue board with all my blog post ideas. So for me it's usually not an issue of topic, but an issue of having a topic I want to write about at that time

Korny, (edited ) to random
@Korny@hachyderm.io avatar

Relating to a few recent discussions - which of these do you prefer:

CreateMap<Widget, Sprocket>()   
 .ForMember(dest => dest.Active,   
 opt => opt.MapFrom(src => src.Status == ApplicationConstants.StatusOpen))   
 .ForMember(dest => dest.Status, opt => opt.MapFrom(src => src.Status))  
// etc   

or:

const widgetToSprocket = (widget: Widget): Sprocket => {  
 return {  
 active: widget.status === applicationConstants.statusOpen,  
 status: widget.status,  
// etc  
rubenwardy,
@rubenwardy@fosstodon.org avatar

@Korny

The former seems unnecessarily obtuse, what's the reason for it? Surely it's not performance given how many function calls you're adding

Tangentially related, but I'm thinking of Zod now. It's a library that allows you to define a schema and parse untrusted data. You can convert types and perform processing on individual fields. It's much more readable than your mapper

z.object({  
 date: z.date(),  
 count: z.coerce.number(),  
 thing: z.preprocess(x => x+2, z.number())  
})  
rubenwardy,
@rubenwardy@fosstodon.org avatar

@Korny

Ah right, so it can automatically map fields with the same name?

183231bcb, to opensourcegames
rubenwardy,
@rubenwardy@fosstodon.org avatar

@183231bcb

Have a look at the 2022 game jam, one of the themes was "story-driven": https://content.minetest.net/collections/ContentDB/game_jam_2022/

rubenwardy, to Electronics
@rubenwardy@fosstodon.org avatar

PCB assembly is done! I've also measured it for an enclosure. Next is integration testing, designing the enclosure, and programming. I'll probably remove some of the headers after testing

This is my first PCB and is for a plant watering system

#electronics #esp32

The PCB in an enclosure

arturo182, to random
@arturo182@mastodon.social avatar

I live in the contstant anxiety of someone making the same project as me before my lazy ass finishes it 😬

rubenwardy,
@rubenwardy@fosstodon.org avatar

@arturo182

The uniqueness of something comes from the execution, not the idea. Someone else may make the same thing but your execution is what makes it unique

rubenwardy, to Rimworld
@rubenwardy@fosstodon.org avatar

Timelapse of 8 in-game years in . This is my first time playing with all DLC. I've struggled with food production for a lot of the later half of the game, maybe something to do with the 52 dogs!

https://youtu.be/t5gifK_-NgE

popey, to random
@popey@mastodon.social avatar

What's the protocol when someone emails you asking you to "give up" the domain you've owned for 25 years because "You're only using it for a blog", and they want to use it for a community they want to build, and they don't want to have "JoinFoo" dot com.

Do nothing? Explain that other TLDs are available? Tell them to "Jog on?"

rubenwardy,
@rubenwardy@fosstodon.org avatar

@popey

Did they at least offer to buy it or are they asking you to just give it up, out of the kindness of your heart?

Not that you should sell, it's identity! Sounds like a spammer wanting pagerank tbh

rubenwardy, to Rimworld
@rubenwardy@fosstodon.org avatar

Found this cool mod, shows a heat map of where my people go most often. Quite interesting to look at and useful for optimising travel times. You can see there's a lot of traffic to and from the kitchen (top left) and the main residential building (bottom left). There's also a lot of traffic through the killzone (top centre), I'll add a side door to avoid this as it's quite slow to go through

rubenwardy,
@rubenwardy@fosstodon.org avatar
rubenwardy, to Steamdeck
@rubenwardy@fosstodon.org avatar
rubenwardy,
@rubenwardy@fosstodon.org avatar

@advynter

I've not had any issue like that. Does Minetest still appear in desktop mode? Could try uninstalling and reinstalling Minetest (this may lose saved data)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • anitta
  • ethstaker
  • GTA5RPClips
  • modclub
  • tester
  • provamag3
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • megavids
  • Leos
  • lostlight
  • All magazines