Minetest logo

IRC log for #minetest, 2021-03-09

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

All times shown according to UTC.

Time Nick Message
00:14 hisforever joined #minetest
00:40 craigevil joined #minetest
01:10 Verticen joined #minetest
02:14 Hawk777 joined #minetest
02:25 galex-713 joined #minetest
02:33 galex-713_ joined #minetest
02:38 DS-minetest_ joined #minetest
02:44 Conradish006 joined #minetest
02:47 Sven_vB joined #minetest
02:47 galex-713 joined #minetest
02:53 Taoki joined #minetest
03:01 galex-713_ joined #minetest
03:12 galex-713 joined #minetest
03:51 BuckarooBanzai2 joined #minetest
03:52 xerox123_ joined #minetest
03:52 Krock_ joined #minetest
03:53 simon8162 joined #minetest
03:53 Exagone314 joined #minetest
03:54 Vadtec_ joined #minetest
03:54 Vadtec_ joined #minetest
03:54 bwarden_ joined #minetest
03:54 basxto1 joined #minetest
03:54 Taserfac1 joined #minetest
03:55 PjotrOrial_ joined #minetest
03:55 nuala2 joined #minetest
03:55 Rafi59_ joined #minetest
03:56 TC01_ joined #minetest
03:56 macc24_ joined #minetest
04:00 perrier joined #minetest
04:00 illwieckz joined #minetest
04:01 jess joined #minetest
04:02 indiana joined #minetest
04:11 Glorfindel joined #minetest
04:11 Glorfindel joined #minetest
04:12 ircSparky_ joined #minetest
04:12 ircSparky joined #minetest
04:12 ircSparky joined #minetest
04:12 ircSparky joined #minetest
04:12 ircSparky joined #minetest
05:00 MTDiscord joined #minetest
05:51 Flabb joined #minetest
06:08 YuGiOhJCJ joined #minetest
06:42 MTDiscord <NoNameDude> hi
06:54 Seirdy joined #minetest
07:08 delta23 joined #minetest
07:09 z812 joined #minetest
07:24 TomTom joined #minetest
07:40 hlqkj joined #minetest
07:46 FeXoR joined #minetest
08:00 ShadowNinja joined #minetest
08:04 riff_IRC joined #minetest
09:47 olliy joined #minetest
09:50 calcul0n joined #minetest
10:04 craigevil joined #minetest
10:27 illwieckz joined #minetest
10:35 Fixer joined #minetest
10:36 proller joined #minetest
10:39 calcul0n_ joined #minetest
11:03 Fractalis joined #minetest
11:05 olliy joined #minetest
11:13 hlqkj joined #minetest
11:23 craigevil joined #minetest
11:33 MadScientist joined #minetest
11:42 SwissalpS joined #minetest
12:03 submariner joined #minetest
12:10 * VanessaE waves some fresh coffee under Krock_'s nose ;)
12:38 Wuzzy joined #minetest
12:42 tech_exorcist joined #minetest
12:50 submariner joined #minetest
12:53 hlqkj joined #minetest
12:58 Verticen joined #minetest
12:59 DivideByZero joined #minetest
12:59 DivideByZero Good morning.
13:23 VanessaE hi
13:38 MTDiscord <TableToo> k
13:38 MTDiscord <TableToo> hi
14:32 craigevil joined #minetest
14:36 mizux joined #minetest
14:38 submariner joined #minetest
14:43 I_am_6r1d joined #minetest
15:31 erlehmann joined #minetest
15:31 Fixer joined #minetest
15:35 hlqkj joined #minetest
15:46 perrier joined #minetest
15:52 * VanessaE looks at Krock_ and hovers her mouse over the "Squash and merge" button :)  (actually, I do want to squash the PR down *some*, just to smooth-off minor changes, lint, etc)
16:11 Talkless joined #minetest
16:13 Hawk777 joined #minetest
16:42 numzero joined #minetest
16:52 Fractalis joined #minetest
16:59 dabbill joined #minetest
17:06 Taoki joined #minetest
17:29 DS-minetest joined #minetest
17:29 delta23 joined #minetest
17:36 dabbill joined #minetest
18:04 jluc joined #minetest
18:04 VanessaE Krock, you're killin' me. :P
18:06 Krock VanessaE: are you hyped?
18:06 VanessaE nope
18:07 Krock your actions tell otherwise
18:07 VanessaE just impatient :)
18:07 Krock yeah
18:17 proller joined #minetest
18:31 z812 joined #minetest
19:00 ircSparky joined #minetest
19:00 ircSparky joined #minetest
19:04 Extexo What are you two working on VanessaE and Krock ? xD
19:05 VanessaE Extexo: I made a pull request to Unified Inventory to write some it to use more modern formspec features and to improve its appearance.  Krock has been goading me to basically improve the overall code :)
19:05 VanessaE I think it's done, I'm just waiting for the green light to merge it :)
19:05 Extexo Oooh ok
19:08 Fractalis joined #minetest
19:23 DivideByZero Vanessa: I'm trying to read the code from the contentDB screen of your LED Marquee, but it's too small even blurry when I zoom in. Can I read this in text form somewhere?
19:23 DivideByZero I want to make a LED that says SPAWN!
19:24 DivideByZero digiline_send["Text",
19:24 DivideByZero string.char(0]
19:28 * VanessaE hides
19:28 VanessaE Krock: spacing and translations fixed.
19:29 Krock interesting indenting style
19:29 VanessaE guesswork there.
19:30 VanessaE considering how far in I needed to indent
19:30 VanessaE I usually do that sort of thing when I have to continue a string or function across two or more lines.
19:30 VanessaE easier to read.
19:30 Krock sometimes it's then easier to keep the first line empty so that the entire "block" can be treated the same
19:31 VanessaE yeah, thought about that too
19:31 Krock whatever
19:31 VanessaE I often do that with tables
19:31 VanessaE (as in the btnlist one I fixed the translations on)
19:32 VanessaE note: I use a 4-space-long tab, like in MT
19:33 homthack joined #minetest
19:34 VanessaE but, I'm generally happy with the code :)
19:36 DivideByZero Vanessa: Is there an example of the LED Marquee code somewhere to read?
19:36 Krock VanessaE: 1. is "unified inventory single slot 256px with trash.xcf" still needed?
19:37 DivideByZero The code I put into the luacontroller, not the source code.
19:37 Krock 2. what would you think about an unified_inventory.version = 2   variable to help API compat in the future, or so that this new style can be detected?
19:37 DS-minetest DivideByZero: that's not valid lua
19:37 VanessaE the xcf isn't "needed", per se.  just figured it should be published.
19:37 Krock simple variable, but would need a documentation line
19:37 VanessaE a version number might be a good idea yeah
19:37 Krock makes sense yes
19:38 Krock am I right assuming the textures are optipng'd?
19:38 DivideByZero This is what I tried:
19:38 DivideByZero digiline_send["Text",
19:38 DivideByZero string.char(0).."S"
19:38 DivideByZero string.char(1).."P"
19:38 DivideByZero string.char(2).."A"
19:38 DivideByZero string.char(3).."W"
19:38 DivideByZero string.char(4).."N"
19:38 DivideByZero ]
19:38 Krock DivideByZero: seriously please use a paste service
19:38 DivideByZero For something that short?
19:39 Krock the message was delayed automatically. wanted to give an input before it grows any further
19:39 Krock which it.. didn't-
19:40 DivideByZero I'm trying to use the LED Marquee to make a sing that says "SPAWN". I can't find directions to read.
19:40 DS-minetest DivideByZero: functions are called with round parentheses (); lookup what string.char does; ...
19:40 DivideByZero sign = sign
19:40 DivideByZero sing = sign
19:40 DS-minetest !reference DivideByZero
19:41 DS-minetest !pil DivideByZero
19:41 MinetestBot DivideByZero, someone thinks you need to brush up on or learn Lua, please read https://www.lua.org/pil/contents.html or https://www.lua.org/manual/5.1/
19:41 Krock DivideByZero: someone thinks that you should read the reference manual. https://www.lua.org/manual/5.1/manual.html
19:41 Krock damn it
19:41 VanessaE Krock: no, they're not, but since I only added three and they're tiny, I didn't think about it :)  but I'll opti and crush them.
19:41 DS-minetest \o/
19:41 Krock |
19:41 DivideByZero I have to learn the entire LUA language just to use the LED Marquee sign?
19:42 Krock / \  bad alirgnment gang
19:42 DivideByZero A simple example would get me by.
19:42 DS-minetest lua is very easy, it can be learnt in very few minutes
19:43 Krock well, you could try the commands in command line to ensure they're doing what you want
19:43 DS-minetest try something like digiline_send("the channel", "A")
19:43 DivideByZero ok
19:44 DivideByZero that worked, I see an A now. thank you. :D
19:45 VanessaE Krock: ok, images crushed+opti'd
19:45 VanessaE and xcf deleted
19:45 VanessaE (only optimized the ones that I worked on, of course)
19:45 DivideByZero Now it says "SPAWN!"
19:46 DivideByZero :)
19:46 DivideByZero It doesn't scroll, but I guess that's fine.
19:49 DivideByZero I'll look at the lua guide and see if I can make it do some more stuff.
19:49 VanessaE you just have to turn on autoscroll and set a speed
19:50 DivideByZero Is that done in the lua controller or a config file?
19:50 Krock VanessaE: https://pastebin.com/raw/q3Ce2BvL
19:50 VanessaE DivideByZero: in the lua controller code.
19:50 DivideByZero ok
19:51 VanessaE Krock: oh right, forgot to add the description for the version
19:51 DivideByZero If you have a document on your LED Marquee I'd be glad to have it and read through it. Thanks.
19:53 VanessaE Krock:  https://imgur.com/E3pMgOX.png  look right?
19:53 Krock yes sure
19:53 Krock feel free to add your own thoughts
19:53 VanessaE nah, I'm good.
19:53 awell joined #minetest
19:53 Krock I just kept it to a bare minimum
19:56 VanessaE Krock: since that last image update took off another ~188kB or so, maybe we should just squash the whole PR down into one commit before merging
19:56 VanessaE (otherwise doing so is a little pointless because of the size of the git history :) )
19:57 Krock the topics are kinda mixed now and grouping those might really take more time than what's worth
19:57 VanessaE hm yeah
19:57 Krock go ahead squash rebase push
19:58 VanessaE nah, I"ll leave the history intact
19:58 Conradish006 joined #minetest
19:58 z812 joined #minetest
19:58 VanessaE last chance to say "OH SHIT, WAIT!" :)
19:59 Krock well, I don't feel responsible fixing the mods
19:59 VanessaE no worries, I'll do that.
19:59 Krock u_i in itself seems to function well, and looks good
20:00 Krock likely that another translation string went missing somewhere but that would be noticed sooner or later anyway
20:00 DivideByZero How to ask the lua controller to sleep(1) ?  os.execute doesn't seem to be allowed.
20:00 sfan5 you can't do blocking sleeping
20:00 Krock interval counting
20:01 DivideByZero os.execute("sleep " .. tonumber(n))
20:01 DivideByZero I tried that.
20:01 DS-minetest user interrupts
20:01 Krock DivideByZero: the entire Lua environment is handled in a single thread. what do you think would happen if you'd use sleep?
20:01 VanessaE Krock: yeah, easy to fix later if one shows up.
20:01 DS-minetest Krock: my samer can do sleeps
20:02 Krock DivideByZero: correct! You'd block basically the entire server
20:02 DivideByZero I thought my script would sleep for 1s, but by your concern the whole game would sleep for 1s?
20:02 Krock DS-minetest: but in a separate env or by special interval-based triggers
20:02 sfan5 yes
20:03 DS-minetest Krock: with coroutines, it yields the croutine and continues it after some time via globalsteps
20:03 DS-minetest (doesn't work over server-restarts though)
20:04 Krock ah yes, that's a nice trick
20:04 VanessaE there it is, Krock.  merged to master
20:04 VanessaE should I tag it?
20:05 Krock VanessaE: perhaps? I never do tags in general
20:06 VanessaE tagged as "version-2"
20:07 Krock pretty cool. a 16% increase in commits
20:07 VanessaE heh
20:09 Krock VanessaE: we forgot the README
20:09 Krock 5.4.0+
20:09 VanessaE oh, I'll fix that
20:10 Krock thx
20:11 VanessaE also slid the "version-2" tag up to that commit
20:11 VanessaE (figured it'd only been a minute. :) )
20:12 z812_ joined #minetest
20:14 DS-minetest wow, that giant spike https://github.com/minetest-mods/unified_inventory/graphs/contributors
20:14 VanessaE :D
20:20 VanessaE Krock: I'm gonna tag "version-1" at d1a4396f, the last commit before the PR was merged.
20:28 z812 joined #minetest
20:47 Helenah joined #minetest
20:55 MinetestBot [git] sfan5 -> minetest/minetest: CI: update configurations for Irrlicht fork 75eb28b https://git.io/JqmCC (2021-03-09T20:53:17Z)
20:55 MinetestBot [git] sfan5 -> minetest/minetest: Switch Irrlicht dependency to our own fork 91c9313 https://git.io/JqmCW (2021-03-09T20:53:17Z)
20:55 MinetestBot [git] sfan5 -> minetest/minetest: Restore Irrlicht 1.9 support 3579dd2 https://git.io/JqmC8 (2021-03-09T20:53:17Z)
22:13 proller joined #minetest
22:32 FreeFull joined #minetest
22:44 Verticen joined #minetest
23:01 Fixer_ joined #minetest

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