Luanti logo

IRC log for #luanti, 2026-11-13

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

All times shown according to UTC.

Time Nick Message
00:02 swags joined #luanti
00:06 sknebel joined #luanti
00:11 potter joined #luanti
00:13 z812 joined #luanti
00:54 serp joined #luanti
01:16 pounce joined #luanti
01:26 meldrian joined #luanti
01:26 meldrian joined #luanti
01:40 sugarbeet joined #luanti
01:43 stephan48 joined #luanti
02:29 silverwolf73828 joined #luanti
02:34 turtleman joined #luanti
02:54 Panquesito7_ joined #luanti
03:49 fling joined #luanti
04:00 trbt joined #luanti
04:16 fling joined #luanti
04:34 wallabra joined #luanti
04:46 ndorik-zenith joined #luanti
05:00 MTDiscord joined #luanti
05:14 kimapr left #luanti
05:26 est31 joined #luanti
05:40 Cork joined #luanti
05:56 ShadowBot joined #luanti
05:58 Edgy2 joined #luanti
06:00 est31 joined #luanti
06:21 mmuller joined #luanti
06:23 fling joined #luanti
06:30 FeXoR joined #luanti
06:37 meldrian left #luanti
06:39 jonadab joined #luanti
06:41 ShadowNinja joined #luanti
06:45 trbt joined #luanti
06:49 Unit193 joined #luanti
06:50 kimapr joined #luanti
07:01 est31 joined #luanti
07:04 peterz joined #luanti
07:15 Elouin joined #luanti
07:26 illwieckz joined #luanti
07:39 ndorik-zenith joined #luanti
07:51 kimapr left #luanti
08:02 fling joined #luanti
08:11 winstonsmith joined #luanti
08:21 SwissalpS joined #luanti
08:30 BadGuyAlex joined #luanti
08:35 erbium joined #luanti
08:36 SwissalpS joined #luanti
08:46 SwissalpS joined #luanti
09:09 tzenfore joined #luanti
09:42 cheapie joined #luanti
10:03 SwissalpS joined #luanti
10:32 khimaros joined #luanti
10:47 dv^_^ joined #luanti
11:05 nore joined #luanti
11:06 liceDibrarian joined #luanti
11:11 est31 joined #luanti
11:19 luk3yx joined #luanti
11:21 user333_ joined #luanti
11:22 Krock joined #luanti
11:27 est31 joined #luanti
11:28 MinetestBot joined #luanti
11:32 Ingar joined #luanti
11:37 Bombo joined #luanti
11:37 Bombo joined #luanti
11:39 ndorik-zenith joined #luanti
11:41 Noisytoot joined #luanti
11:47 est31 joined #luanti
11:48 Lai0602 joined #luanti
11:52 nickodd joined #luanti
11:55 est31 joined #luanti
12:07 loggingbotLT joined #luanti
12:07 Topic for #luanti is now The official Luanti (formerly Minetest) channel | General, player and modding discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: https://dev.luanti.org/irc/#rules | Development: #luanti-dev | Server list: https://luanti.org/servers | IRC logs: https://irc.luanti.org/
12:08 Pexin joined #luanti
12:10 est31 joined #luanti
12:12 wisxenia joined #luanti
12:14 eragon joined #luanti
12:14 YuGiOhJCJ joined #luanti
12:19 bdju joined #luanti
12:43 ndorik-zenith joined #luanti
12:44 erstazi joined #luanti
12:49 bwarden joined #luanti
12:57 ZenonSeth joined #luanti
13:02 lumidify joined #luanti
13:16 YuGiOhJCJ joined #luanti
13:34 Fusl joined #luanti
14:12 GNUHacker joined #luanti
14:14 xor_ghost87 joined #luanti
14:14 InFerNo_ joined #luanti
14:16 Sompi joined #luanti
14:48 sparky4 joined #luanti
14:49 Niklp joined #luanti
14:50 Juri joined #luanti
15:02 SwissalpS joined #luanti
15:04 dnp1 joined #luanti
15:11 SwissalpS joined #luanti
15:11 erekir_ joined #luanti
15:31 ndorik-zenith joined #luanti
15:36 heavygale joined #luanti
15:47 SpaceManiac joined #luanti
16:01 user333_ joined #luanti
16:02 mrkubax10 joined #luanti
16:02 mrkubax10 joined #luanti
16:10 _10KBps joined #luanti
16:11 swee joined #luanti
16:11 squeaktoy joined #luanti
16:12 BuddyTheBud joined #luanti
16:15 izzyb joined #luanti
16:41 ndorik-zenith joined #luanti
16:43 chilledfrogs joined #luanti
16:52 Mc joined #luanti
16:52 chilledfrogs joined #luanti
16:56 ndorik-zenith joined #luanti
17:05 fling joined #luanti
17:05 JerryXiao joined #luanti
17:25 sofar joined #luanti
17:40 kaylie joined #luanti
17:50 klea joined #luanti
17:52 chilledfrogs joined #luanti
17:54 SwissalpS joined #luanti
18:08 cheapie too quiet :/
18:08 Panquesito7 joined #luanti
18:09 fling joined #luanti
18:20 mrcheese joined #luanti
18:21 * cheapie gives user333_ a password-protected door that you /can't/ just read the password out of with the inspector tool or //lua: https://cheapiesystems.com/git/rvcontroller/tree/assembly/passworddoor
18:21 user333_ let me guess: hashed with your recent SHA256 implementation?
18:21 cheapie yes
18:21 cheapie With salt too
18:22 user333_ impressive
18:22 user333_ you should try running linux (or making your own unix-like OS) on it
18:22 cheapie someday
18:23 cheapie The downside (or upside, from a security point of view) is that doing the hashing makes it take around 5 seconds to check the password
18:24 user333_ could try a more efficient hash
18:24 user333_ md5 is faster i hear
18:24 cheapie I could, but I don't care that much
18:24 cheapie Yeah, but MD5 is kinda crap and I wanted this thing to at least put some effort into being secure
18:25 cheapie AFAIK SHA-2 isn't broken yet
18:27 cheapie And yes, I made sure it wipes the hash function input and state after it does the hashing. I used the cbo.zero instruction from that shiny new Zicboz extension to do that quickly
18:27 breezystatic77 joined #luanti
18:28 user333_ that's quite a bit above my level..
18:28 cheapie What is, cbo.zero?
18:30 Krock cheapie: add an instruction called sha256. it'll be very fast and efficient :P
18:30 user333_ assembly stuff (though i do have a good understanding of computers in general so it does make some sense)
18:30 cheapie Krock: It already has four instructions to help with it (Zknh extension)
18:31 cheapie user333_: You haven't even seen the most cursed part yet
18:31 cheapie The hash function is big-endian, but the UI is little-endian, so... it switches the processor's endianness back and forth as it runs
18:31 user333_ that is.. very cursed, yes
18:32 cheapie Krock: https://docs.riscv.org/reference/isa/v20260120/unpriv/scalar-crypto.html#zknh
18:32 user333_ good luck with that on real hardware
18:32 cheapie I'm not sure any real RISC-V hardware actually supports selectable endianness, even though the spec allows it to
18:32 cheapie I'm only aware of one hardware core that can do big-endian at all
18:33 user333_ what happens if you introduce multiple cores and selectable endianness on each
18:33 Krock cheapie: oh. having those instructions is pretty nice.
18:33 cheapie Krock: RVController actually supports everything (at least everything defined for RV32) on that page
18:34 cheapie user333_: A processor could do that if it wanted, you would then have some cores with one endianness and some with the other
18:34 cheapie (if software chose to use it that way)
18:35 Krock if you have all instructions and a serial output then you only need an IOMMU and a RV32-built kernel
18:36 cheapie I don't even have a regular MMU, let alone an IOMMU (but I think Linux can be made to work without those), the big thing right now is that I don't have support for S-mode or U-mode yet
18:38 user333_ do you have any real risc-v hardware?
18:38 cheapie Yes, but it's all RV64
18:38 user333_ still cool
18:39 user333_ most obscure architecture i have is probably armv6l
18:39 celeron55 joined #luanti
18:39 cheapie One RV64GC (StarFive JH7110), one RV64GCVBH (SpacemiT K3)
18:41 ___nick___ joined #luanti
18:43 ___nick___ joined #luanti
18:43 cheapie I'd like to pick up some kind of RV32 microcontroller dev board to play with sometime, maybe a CH32V003 thing or something
18:43 cheapie The only problem is I don't really know what I would make with it :P
18:44 Krock weather station
18:44 user333_ i think the RPi Pico 2 has some RISC-V cores, though not very powerful ones
18:44 cheapie meh
18:44 user333_ can it run doom?
18:44 cheapie It seems like my go-to demo project these days is a Windows 95 keygen, so maybe I should make a *physical* Windows 95 keygen
18:46 Krock or a portable mp3 recorder. encode the ADC directly into MP3 and store it onto a flash drive
18:46 bgstack15 I have a question about the password-protected door idea. Is that for a multiplayer server? How do you encrypt the input from the client to the server?
18:47 cheapie bgstack15: It's for fun, and I don't
18:47 bgstack15 Ah, drat. I was hoping you'd solved that problem offhand, lol
18:48 user333_ going a bit more on-topic, you could probably make a lightweight luanti-compatible server for a microcontroller
18:48 bgstack15 I don't expect I can easily guide my users through using stunnel on every client machine...
18:48 Krock there is no client-side logic between sending formspecs
18:48 cheapie The idea with the door was just to stop players from reading the password back out of the Luacontroller
18:48 Krock *formspec fields
18:49 bgstack15 I modded a mod that used short PINs, and I used a uuid on the node and then look up the uuid in mod storage, so a quick metadata dump of the node wouldn't reveal the pw
18:49 bgstack15 But never solved the client<-->server encryption (and never tried)
18:49 cheapie Yeah, if you're doing a mod you can use mod storage. But this isn't a mod :P
18:50 ndorik-zenith joined #luanti
18:50 user333_ SSCSM could probably let you implement some kind of client-to-server encryption in the lua-side
18:50 bgstack15 Hm, please elaborate. I'm not where I can open a link. So what is your project about then, with a password-protected door, not luanti?
18:51 cheapie It's a program that runs in RVController, which in turn is a RISC-V emulator program that runs in a mesecons Luacontroller
18:51 bgstack15 I'm crossing my fingers, toes, and eyes for getting TLS support in Luanti, haha
18:52 bgstack15 Wow, so you're re-implementing a microprocessor all inside lua (mesecons), wow! That is interesting, and starting to reach beyond my understanding even of the topic overview itself.
18:52 cheapie yes
18:52 bgstack15 (no wonder your sha256 operation took 5 seconds)
18:53 cheapie Actually 6 seconds, I timed it after saying that :P
18:53 bgstack15 No worries, 5s was already close enough
18:53 user333_ the only feature i'm wanting in luanti is something like a player detector (an area that runs a function when a player enters/leaves it, implemented in C++ server-side/SSCSM client-side)
18:53 user333_ anyway, i have to go catch a bus, ttyl
18:54 bgstack15 client-side?! Wouldn't you need that enforced/implemented server-side?
18:54 cheapie bgstack15: Every so often someone asks why I made RVController... my favorite answer so far is "to make Luacontrollers harder to program"
18:57 cheapie Really the original reason is "because I thought it would be neat" and then it became quite a learning experience about all sorts of related subjects
18:57 vampirefrog joined #luanti
19:01 panwolfram joined #luanti
19:08 ndorik-zenith joined #luanti
19:44 bwarden joined #luanti
19:49 citrons joined #luanti
20:01 est31 joined #luanti
20:28 diceLibrarian joined #luanti
20:29 FeXoR joined #luanti
20:32 TheWild joined #luanti
21:06 ndorik-zenith_ joined #luanti
21:22 sugarbeet joined #luanti
21:27 mrkubax10 joined #luanti
21:29 user333_ <bgstack15> client-side?! Wouldn't you need that enforced/implemented server-side? | i meant one part SSCSM, one part server-side (though yes, validation of the client data would be near-impossible)
21:33 MTDiscord <luatic> bgstack15: you could offload computations to clients and check them probabilistically
21:45 mmuller joined #luanti
22:07 cheapie user333_: Apparently someone else on the same server wrote an RV32IM emulator without knowing that RVController existed
22:31 TheWild1 joined #luanti
22:37 winstonsmith joined #luanti
23:13 mrkubax10 joined #luanti
23:17 ndorik-zenith joined #luanti
23:33 panwolfram joined #luanti

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