Time |
Nick |
Message |
00:06 |
|
Lesha_Vel joined #minetest |
00:31 |
fluxionary |
|
00:47 |
|
natewrench joined #minetest |
01:01 |
|
smk joined #minetest |
01:11 |
|
qur joined #minetest |
01:17 |
|
illwieckz joined #minetest |
01:40 |
|
Soni joined #minetest |
01:52 |
|
Zambyte joined #minetest |
02:10 |
|
Soni joined #minetest |
02:15 |
|
uyku joined #minetest |
02:27 |
|
___nick___ joined #minetest |
02:29 |
|
qur joined #minetest |
02:49 |
|
___nick___ joined #minetest |
02:52 |
|
___nick___ joined #minetest |
03:45 |
|
kamdard joined #minetest |
03:46 |
|
sometalgoo joined #minetest |
04:01 |
|
Izaya left #minetest |
04:01 |
|
Izaya joined #minetest |
04:02 |
|
MTDiscord joined #minetest |
04:21 |
|
BuckarooBanzai joined #minetest |
04:42 |
|
sparky4 joined #minetest |
05:08 |
|
v-rob joined #minetest |
05:13 |
|
whosit joined #minetest |
05:24 |
|
calcul0n joined #minetest |
05:45 |
|
Lesha_Vel joined #minetest |
06:06 |
|
v-rob joined #minetest |
06:17 |
|
appguru joined #minetest |
06:49 |
lissobone |
imagine |
06:49 |
lissobone |
lisp in minetest |
06:50 |
potatoxel[m] |
:o |
06:50 |
potatoxel[m] |
the parens |
06:50 |
potatoxel[m] |
the beautiful parens :ooo |
06:50 |
potatoxel[m] |
they need HUGS :O |
06:50 |
lissobone |
Or maybe even Scheme. |
06:51 |
lissobone |
I think it's possible to write a scheme compiler in Lua. |
06:51 |
potatoxel[m] |
lua can do whatev |
06:51 |
potatoxel[m] |
it turing complete |
06:51 |
potatoxel[m] |
:o |
06:51 |
lissobone |
Writing one is discussed in chapter 5 of "Structure and Interpretation of Computer Programs" by Gerald Sussman and Guy L. Steele Junior. |
06:52 |
lissobone |
They don't just needs hugs, it's you who needs hugs by them. |
06:52 |
potatoxel[m] |
o: |
06:52 |
potatoxel[m] |
(me) |
06:52 |
lissobone |
My Emacs highlights them. |
06:53 |
lissobone |
It means that the hugging is being done. |
06:54 |
lissobone |
Anyways, my mod was rejected on ContentDB because the mods couldn't find the license file. |
06:54 |
lissobone |
It was in 'COPYING'. |
06:55 |
lissobone |
Is it in the guidelines to explicitly include the license in 'LICENSE'? |
06:56 |
|
v-rob joined #minetest |
06:56 |
lissobone |
hi |
07:14 |
|
dzho joined #minetest |
07:24 |
luk3yx |
https://fennel-lang.org/ |
07:39 |
sfan5 |
interesting but lisp syntax is weird |
07:47 |
MTDiscord |
<flamore> Emacs my beloved |
07:47 |
MTDiscord |
<flamore> sfan5: wait until you hear about the syntax and wonders of forth |
07:48 |
|
v-rob joined #minetest |
07:49 |
MTDiscord |
<rollerozxa> oh no don't mention forth |
07:58 |
|
v-rob joined #minetest |
08:03 |
|
jvalleroy joined #minetest |
08:13 |
|
mrkubax10 joined #minetest |
08:18 |
|
YuGiOhJCJ joined #minetest |
08:19 |
|
Leopold joined #minetest |
08:21 |
|
peterz joined #minetest |
08:25 |
MTDiscord |
<flamore> why not |
08:40 |
comrad |
nerding into forth took away some weeks of productivity I would have used otherwise ;) |
08:57 |
|
jluc joined #minetest |
08:58 |
|
v-rob joined #minetest |
09:32 |
|
lemonzest joined #minetest |
09:52 |
|
v-rob joined #minetest |
10:07 |
|
uyku joined #minetest |
10:17 |
|
appguru joined #minetest |
10:31 |
|
fizi joined #minetest |
10:31 |
MTDiscord |
<flamore> it's a shame that there's no wider standard that all implementations follow |
10:32 |
MTDiscord |
<flamore> really makes it inferior to other languages |
10:48 |
|
jluc joined #minetest |
10:49 |
|
dabbill_ joined #minetest |
10:52 |
|
v-rob joined #minetest |
10:58 |
|
v_rob joined #minetest |
11:21 |
|
jluc joined #minetest |
11:29 |
|
proller joined #minetest |
11:57 |
|
v_rob joined #minetest |
12:05 |
|
appguru joined #minetest |
12:14 |
|
appguru joined #minetest |
12:40 |
|
sparky4 joined #minetest |
12:51 |
|
v_rob joined #minetest |
13:00 |
|
proller joined #minetest |
13:12 |
|
jluc joined #minetest |
13:37 |
|
natewrench joined #minetest |
13:51 |
|
v_rob joined #minetest |
14:21 |
|
duds` joined #minetest |
14:48 |
|
v_rob joined #minetest |
14:56 |
|
definitelya joined #minetest |
14:56 |
|
Digit joined #minetest |
15:01 |
|
sparky4 joined #minetest |
15:28 |
|
appguru joined #minetest |
15:38 |
|
qur joined #minetest |
15:40 |
|
Desour joined #minetest |
16:00 |
|
triallax[m] joined #minetest |
16:09 |
|
sparky4 joined #minetest |
16:35 |
|
Talkless joined #minetest |
16:43 |
|
v_rob joined #minetest |
17:07 |
|
mrkubax10 joined #minetest |
17:31 |
|
Talkless joined #minetest |
17:33 |
|
Talkless joined #minetest |
18:13 |
jonadab |
Forth love if honk then. |
18:13 |
MTDiscord |
<flamore> honk |
18:14 |
jonadab |
Lisp syntax isn't too bad for things like function calls (once you get used to it), but if you're doing much with regular expressions, all that quadruple-backslashing gets tedious. |
18:15 |
jonadab |
Not that lua is really a regex-heavy language in the first place. Text parsing is not its forte. |
18:16 |
|
appguru joined #minetest |
18:17 |
appguru |
I don't see why you'd need "quadruple backslashing" |
18:17 |
jonadab |
The thing I have difficulty getting used to in lua is the lack of end punctuation to separate statements, so you have to use newlines. |
18:17 |
appguru |
sounds like an issue of the grammar, specifically strings, and the way your regex impl encodes regex |
18:18 |
appguru |
a parser combinator in lisp wouldn't have issues with backslashes |
18:18 |
jonadab |
appguru: Something to do with needing to escape the backslashes for the benefit of the regex engine, and then escape both the original backslash and the escape backslash for the benefit of string syntax. |
18:18 |
jonadab |
It's explained in the Gnu Emacs Lisp Reference Manual. |
18:18 |
appguru |
yeah, that's exactly what I mean by an issue with strings |
18:18 |
appguru |
lua has long bracket strings to make this less awkward |
18:18 |
jonadab |
Ah, right, yes, that would help. |
18:19 |
jonadab |
I'm still a rank newb at lua. |
18:19 |
appguru |
but I think the proper solution is to have regex be *in the language* and constructed through functions / operators |
18:19 |
appguru |
jonadab: you can always use semicolons to delimit statements in Lua (but you rarely have to) |
18:19 |
jonadab |
Oh, interesting, none of the documentation or examples that I've seen depict that. |
18:20 |
Desour |
>The thing I have difficulty getting used to in lua is the lack of end punctuation to separate statements, so you have to use newlines. |
18:20 |
appguru |
newlines don't actually delimit statements, they merely delimit tokens like any other whitespace |
18:20 |
Desour |
you can end statements with ; in lua |
18:20 |
appguru |
(please don't) |
18:20 |
jonadab |
But it would make the language so much easier to parse visually... |
18:21 |
appguru |
that's why you put one statement per line |
18:21 |
MTDiscord |
<goodclover> you can also use ; in place of , in tables |
18:21 |
appguru |
yes |
18:21 |
jonadab |
Still getting used to tables in lua. |
18:21 |
appguru |
but again, use sparsely please |
18:21 |
appguru |
for example to delimit hash and list part |
18:22 |
|
sofar joined #minetest |
18:22 |
Desour |
sometimes, you actually have to use ; to separate statements, like in `some statement ; (function() foo = "bla" end)()` |
18:22 |
Blockhead256[m] |
If I see ; a lot in your Lua code, I know you'd rather be writing C++ or something... |
18:22 |
appguru |
I think semicolons are primarily visual noise if you're already putting one statement per line |
18:22 |
appguru |
Desour: can use "do end" just as well :-) |
18:22 |
jonadab |
Eww, C++, no thank you. |
18:23 |
jonadab |
C++ is even worse than Java. |
18:24 |
Desour |
I also hate C++. but C++ is usefull and cool |
18:24 |
Desour |
java is just bad |
18:25 |
jonadab |
C++ is like C, with the syntax made gratuitously worse, and a half-baked OO library bolted on in a terrible way. |
18:25 |
Krock |
not the language is bad. it's the people who write unreadable garbage |
18:25 |
jonadab |
YOu can write unreadable garbage in any language. |
18:26 |
Desour |
modern C++ is not like C at all |
18:26 |
Desour |
C++ is more like rust, and C is more like lua |
18:26 |
Blockhead256[m] |
lol all had to do was mention C++ and suddenly everybody pops out of the woodwork to give me their opinions |
18:27 |
jonadab |
Granted, most of my knowledge of C++ comes from a college class in C++ in the nineties, using Borland C++ on DOS. |
18:27 |
jonadab |
Then again, a lot of my knowledge of C comes from working with the NetHack codebase, so that's fair. |
18:27 |
Blockhead256[m] |
C, C++, Java, Go, Rust, FORTH, Lisp.. ready, fight! |
18:28 |
* jonadab |
replaces them all with a Perl script. |
18:28 |
Blockhead256[m] |
(please don't actually, that would be awfully off-topic, unless you can point me to a Minetest-related project in each language or something) |
18:29 |
jonadab |
Yes, because we're not off-topic already or anything :-) |
18:29 |
Desour |
chit-chat goes here |
18:30 |
Blockhead256[m] |
the best kind of disruption is disrupting off-topic back into on topic.. that being said |
18:30 |
jonadab |
With that said, I recently had to figure out how to do regex-ish stuff in Lua, and it wasn't as bad as I expected. Felt like something halfway between SQL's LIKE patterns and an actual regex engine. |
18:30 |
Blockhead256[m] |
favourite drawtype? opinions on plantlike rooted? |
18:31 |
jonadab |
glasslike |
18:32 |
jonadab |
Also, I finally figured out how to make the "Midas touch" (the thing where gold tools give you multiple nuggets from a single ore block or whatever) working correctly. |
18:33 |
Desour |
oh no, midas touch. everything you punch becomes gold block. and the items you wield become gold ingots |
18:33 |
Desour |
so you cant eat anything anymore |
18:33 |
jonadab |
That would be more authentic to the source material but significantly less useful. |
18:34 |
jonadab |
I also have mesetouch (which hands you the block itself, when mined with a mese tool), and alatro tools invert probabilities (so e.g. when you hit leaves with an alatro scythe you almost always get saplings). |
18:35 |
jonadab |
I should probably package up my tool_materials mod and put it on github one of these days, since it now has all the really essential tool types. |
18:38 |
|
v_rob joined #minetest |
18:39 |
Blockhead256[m] |
I always was partial to glasslike's liquid level functionality. Seems cool, but not much uses it. |
18:44 |
|
proller joined #minetest |
18:48 |
|
Talkless joined #minetest |
18:58 |
fluxionary |
if i've got a map database w/ blocks stored in a range of formats (27 through 29), and i run `--recompress`, will it update them all to version 29? |
19:03 |
muurkha |
it would be a good curse |
19:22 |
|
hunter0one joined #minetest |
19:22 |
|
Neo[m]123 joined #minetest |
19:38 |
Krock |
fluxionary: that's the point |
19:55 |
sfan5 |
I'm not sure if recompress skips blocks that got bigger after re-serialization |
19:58 |
|
bwarden joined #minetest |
20:05 |
Krock |
no it just processes them all: https://github.com/minetest/minetest/blob/master/src/main.cpp#L1227-L1291 |
20:13 |
|
sparky4 joined #minetest |
20:13 |
|
greeter joined #minetest |
20:28 |
|
Chis27 joined #minetest |
20:32 |
|
Kilroy joined #minetest |
21:13 |
fluxionary |
thanks :) |
21:13 |
fluxionary |
it's gonna take days to process this 150G map though |
21:14 |
|
qur joined #minetest |
21:54 |
|
v-rob joined #minetest |
22:13 |
|
natewrench joined #minetest |
22:18 |
|
mazes_83 joined #minetest |
22:18 |
|
uyku_ joined #minetest |
22:32 |
|
panwolfram joined #minetest |
22:51 |
|
sagax joined #minetest |
23:09 |
|
proller joined #minetest |
23:29 |
|
Lesha_Vel joined #minetest |
23:33 |
|
proller joined #minetest |
23:48 |
|
Alnotz joined #minetest |
23:54 |
|
lhofhansl joined #minetest |
23:59 |
MinetestBot |
[git] lhofhansl -> minetest/minetest: Instrument touchMapBlocks and block loading/deserialization. (#13314) 8f25f48 https://github.com/minetest/minetest/commit/8f25f487fe6a726fdbf65a63c4157738ec748466 (2023-06-19T23:59:08Z) |