Minetest logo

IRC log for #minetest-dev, 2021-11-17

| Channels | #minetest-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:23 proller joined #minetest-dev
00:43 MTDiscord <exe_virus> As you get into the pre 5.0 GCC era and especially those distributions using them, you get into really inconsistent experiences
00:43 MTDiscord <exe_virus> I live and breathe that era at work and I hate it.
00:43 Alias2 joined #minetest-dev
01:14 olliy joined #minetest-dev
01:21 proller joined #minetest-dev
01:28 erlehmann joined #minetest-dev
01:39 proller joined #minetest-dev
03:02 luk3yx Can https://github.com/minetest/minetest/issues/8316 please be reconsidered? It was closed about one and a half years ago due to a lack of core dev support. I originally sent this in #minetest but wsor thinks it might be more appropriate here.
03:03 MTDiscord <Jonathon> ^agree on re opening it. additionally it might be benifical to allow certain entities to be hidden, but i think? there is another issue for that
03:18 Pexin so if I'm near an invis player, I see nodes appearing/disappearing with no explanation, which seems likely to be used for griefing public mining areas. also how does this affect pvp?
03:18 Pexin example of griefing: the floor disappears from under me
03:21 MTDiscord <Jonathon> it will only be able to be used for griefing if some mod is dumb enough to allow normal users to use it uncontrolled
03:21 MTDiscord <Jonathon> not to mention there are logs
03:21 MTDiscord <Jonathon> so i fail to see how that is a valid concern at all
03:24 Pexin I guess I misunderstood the use case
03:25 MTDiscord <Jonathon> i believe? luk3yx main use case is for the cloaking mod
03:29 queria joined #minetest-dev
03:33 queria joined #minetest-dev
03:56 Extex joined #minetest-dev
03:57 Extex joined #minetest-dev
03:59 Extex joined #minetest-dev
04:00 Extex joined #minetest-dev
04:02 Extex joined #minetest-dev
04:03 Extex joined #minetest-dev
04:04 Extex joined #minetest-dev
04:05 Extex joined #minetest-dev
04:06 Extex joined #minetest-dev
04:58 YuGiOhJCJ joined #minetest-dev
05:00 MTDiscord joined #minetest-dev
06:22 kilbith joined #minetest-dev
07:20 MTDiscord joined #minetest-dev
08:04 kilbith joined #minetest-dev
08:22 kilbith joined #minetest-dev
08:25 asdflkj_sh joined #minetest-dev
09:00 Menchers joined #minetest-dev
09:36 kilbith joined #minetest-dev
10:58 Fleckenstein joined #minetest-dev
11:02 calcul0n__ joined #minetest-dev
11:07 YuGiOhJCJ joined #minetest-dev
11:42 tech_exorcist joined #minetest-dev
12:16 kilbith joined #minetest-dev
12:18 tech_exorcist_ joined #minetest-dev
12:28 MTDiscord joined #minetest-dev
12:31 proller joined #minetest-dev
12:45 kilbith joined #minetest-dev
13:30 erlehmann regarding https://github.com/minetest/minetest/issues/8316 i can confirm that invisibility potion is useless againnst hacked clients
13:45 Fixer joined #minetest-dev
14:30 tech_exorcist joined #minetest-dev
14:44 nrz logical if the player is sent to client
15:26 kilbith joined #minetest-dev
15:29 kilbith_ joined #minetest-dev
15:41 proller joined #minetest-dev
15:51 Fixer joined #minetest-dev
16:07 proller joined #minetest-dev
16:16 Extex joined #minetest-dev
16:56 Extex joined #minetest-dev
17:02 rubenwardy Is there a size limit to mod names?
17:05 sfan5 probably not
17:06 sfan5 you'll want to keep the name shorter than 256 (+ safety space) to avoid filesystem issues
17:06 rubenwardy ContentDB uses a VARCHAR(100) for mod names
17:07 rubenwardy The mod storage sqlite PR uses TEXT
17:08 erlehmann minetest has no problems with a mod.conf having a name that contains 32767 times the letter x
17:09 erlehmann rubenwardy, what is the longest name in contentdb? i am curious
17:10 rubenwardy moremesecons_adjustable_player_detector |     39
17:10 erlehmann ah, that is the filename. i meant the display name.
17:10 rubenwardy that is the longest name
17:10 erlehmann but for mod storage purposes, the filename is prob the primary key?
17:11 rubenwardy mods have a technical name, it's usually also the directory name but it's set by mod.conf name
17:11 erlehmann juuuuuuuuust a small question, is the “move mod storage sqlite PR” backwards compatible? i am asking for a bunch of servers that have portal target coordinates in mod storage.
17:11 rubenwardy there's also a human-readable title which doesn't need to unique
17:12 rubenwardy It's the same as any other backend. You can migrate between them, and files will still work
17:12 erlehmann what does contentdb use for the human-readable title?
17:12 erlehmann ah, good
17:12 rubenwardy VARCHAR(100)
17:12 rubenwardy well, ContentDB actually uses UNICODE(100)
17:12 rubenwardy but same thing
17:12 erlehmann so what exactly happens if the human readable title is longer than that? it gets cut off?
17:12 rubenwardy the form submission fails
17:12 rubenwardy with an error
17:14 erlehmann sounds good
17:16 sfan5 do you have your charset set correctly for emoji to work
17:16 rubenwardy I have tested that emoji works
17:16 rubenwardy oh, in the length count?
17:17 rubenwardy no idea
17:17 rubenwardy I use wtfform validation for that
17:17 sfan5 no not that
17:18 sfan5 the default mysql/mariadb charset calls itself unicode but only handles codepoints until U+10000
17:18 sfan5 which doesn't include emoji
17:20 rubenwardy the ORM I use calls it `db.Unicode`
17:20 rubenwardy using `information_schema`, it looks like postgresql is using "charecter varying"
17:21 sfan5 oh, postgres
17:21 sfan5 that's fine
17:23 erlehmann yeah, the mysql equivalent to java “unicode is two bytes” is “unicode is three bytes”
17:24 rubenwardy unicode is 🤷
17:25 erlehmann rubenwardy, for test purposes: http://news.dieweltistgarnichtso.net/bin/unicode
17:25 erlehmann ; unicode 1f300-1f304
17:25 erlehmann 1F300 🌀1F301 🌁1F302 🌂1F303 🌃1F304 🌄
17:25 erlehmann etc.
18:12 MTDiscord1 joined #minetest-dev
18:18 tech_exorcist joined #minetest-dev
18:40 appguru joined #minetest-dev
19:33 proller joined #minetest-dev
20:37 celeron55 joined #minetest-dev
20:55 proller joined #minetest-dev
21:13 kilbith_ I'm not happy with inventory lists being just plain 2D rectangles; for a modern UI, they should be skinable such as image buttons
21:13 kilbith_ but this is easy to change that
21:19 proller joined #minetest-dev
21:19 kilbith_ and such as the scrollbars, properties like `listcolors` must be migrated into style[]
21:19 kilbith_ lots of inconsistencies in this API
21:24 MTDiscord <Sublayer plank> there's ways to simulate list cell images, but it would still be pretty cool to have official support in the engine for it
21:27 kilbith_ yes but you cannot emulate hovering and pressing for lists
21:27 kilbith_ for textures that is

| Channels | #minetest-dev index | Today | | Google Search | Plaintext