Minetest logo

IRC log for #minetest, 2017-08-08

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

All times shown according to UTC.

Time Nick Message
00:29 swift110 joined #minetest
00:48 Zehra joined #minetest
01:04 Sokomine joined #minetest
01:14 rubenwardy joined #minetest
01:15 lumidify_ joined #minetest
01:19 Bobby_D joined #minetest
01:20 Bobby_D What would cause this error? http://i.imgur.com/Fr1zeYk.png
01:20 Bobby_D I was working on mods, undone everything i did.
01:20 Bobby_D But my main world wont load not i get that error. I can make a new world using every mod (same mods) as my main world and it works
01:20 Bobby_D So like one world wont load but all others load using same mods.
01:22 Bobby_D World where all main on same versoin of minetest also.
01:24 Genshin that's a minetest.conf issue
01:25 Bobby_D Does it load the main config or load the one in the world folder?
01:25 Tmanyo joined #minetest
01:25 Bobby_D game folder i mean. sorry im noobis
01:26 Bobby_D What i mean is there is a config in main directory and a config in the 'games' folder
01:28 Genshin This should help: http://wiki.minetest.net/Minetest.conf, https://github.com/minetest/minetest/blob/master/minetest.conf.example
01:29 Bobby_D You seen where I can make a new world using all same mods and it works. Just 1 world no longer works? Just making sure becauase i suck at explaingin lol
01:32 Genshin Have you tried setting this to the minetest.conf file? send_pre_v25_init = true
01:33 Bobby_D Just tried that, same thing.
01:33 Bobby_D It's just so odd because I can make new world with same mods so literally same thing and it loads but not my world i built lol
01:35 Genshin What version of minetest are you running?
01:35 Bobby_D 0.4.16
01:36 Genshin hmm
01:36 Bobby_D The world was working; I was editing some mods. Coudln't get what I wanted to work. So edited them back. Then world stopped loading. Tested making the new with same seed/game/mods to try to track down. But it worked, so I kinda hit a wall lol
01:36 Genshin Happens
01:37 Genshin Have you tried undo-ing?
01:37 Bobby_D I did undo everything I did.
01:38 Genshin And yet you're having the same problem?
01:38 Bobby_D Yes.
01:38 Bobby_D I mean I can literallymake a world Using the same seed mods and it works fine.
01:39 Bobby_D by same seed and mods I mean the exact same seed and mods on the world giving that error.
01:39 Bobby_D But a new one works just fine yet my exsiting don't.
01:40 bigfoot547 joined #minetest
01:41 Bobby_D I just took the map.sqlite from the one that isn't loading; and put replaced it one of the new worlds i made and it loaded...
01:41 Bobby_D Odd considering I didn't edit anything in the world folder..
01:42 Bobby_D I'm going to keep copying all my files from the "world" folder over until it errors out (if it does which it should) then I should be able to trace it
01:44 Genshin well map.sqlite can get corrupted at some occasions during modification, should be careful.
01:44 Bobby_D the map.sqlite is basically the world right?
01:45 Bobby_D I mean it loaded taht fine. I basically have the world back I'm just curious why that 'folder' isn't working when all others are.
01:45 Genshin map.squlite is the map database.
01:45 Genshin *sqlite*
01:50 Bobby_D I think i found the file
01:50 Bobby_D env_meta.txt
01:51 Bobby_D When i copied that over. I got the error
01:52 Genshin env.meta.txt is the environment metadata
01:52 Genshin just letting you know
01:52 Bobby_D When i try to open the broken one it says File will not be displayed (trying to opy in visual studio code)
01:53 Genshin looks like it got corrupted
01:53 Bobby_D I agree with you bro. I'm just finishing all files though only like 7 more. Want to make sure that was only one
01:54 Bobby_D Yup, that is the one.
01:54 Bobby_D That shouldn't break my world though right? If I just grab a generic one it will update to right stuff?
01:56 Genshin go ahead and try, though if I were you and I'm fiddling with code I would make a new world just to be safe.
01:56 Bobby_D I will be for now own. Going to make a 'test world' lol
01:57 Bobby_D It does seem pretty generic. I know I can when I loaded my map.sql it did have all my buildings, etc...
01:58 behalebabo Bobby_D: this problem is known and very simple to fix, see here: http://wiki.minetest.net/Troubleshooting#.E2.80.9CServerEnvironment::loadMeta.28.29:_EnvArgsEnd_not_found.E2.80.9D
01:59 Genshin Good thing that's added on the wiki
02:00 Bobby_D yeah Genshin and I tracked that down; Which I would have seen that page first though aha
02:00 Bobby_D Genshin: also Thank you bro
02:01 Bobby_D behalebabo: thank you too bro
02:01 behalebabo glad to help
02:01 Genshin You're welcome Bobby_D
02:04 Genshin How long have I been away from minetest, jeez
02:04 Genshin I gotta catch up
02:08 Lymkwi joined #minetest
02:10 Guest1142 joined #minetest
02:18 Pie-jacker875 joined #minetest
02:22 LBPHacker joined #minetest
02:24 shivajiva joined #minetest
02:26 Player_2 joined #minetest
02:43 octacian joined #minetest
02:43 MinetestBot octacian: Jul-29 07:11 UTC <TheZorcerer> ok ty that /ignore for MT will be useful
03:05 rubenwardy joined #minetest
03:42 Worldblender joined #minetest
04:15 Jousway joined #minetest
04:16 jas2 hi
04:45 kaeza joined #minetest
05:13 YuGiOhJCJ joined #minetest
05:52 YuGiOhJCJ joined #minetest
05:54 rubenwardy joined #minetest
06:01 georgeowell joined #minetest
06:01 DI3HARD139 joined #minetest
06:22 CWz joined #minetest
06:39 enricom joined #minetest
06:40 enricom joined #minetest
06:48 MarisaG joined #minetest
06:50 enricom joined #minetest
06:58 ^v joined #minetest
07:03 MarisaG Hi everyone :)
07:04 jas_ haha minetest android players can walk through 1node open holes on mt-0.4.16-dev server
07:04 jas_ hi
07:05 MarisaG nice to meet you jas_
07:12 Pie-jacker875 joined #minetest
07:15 MarisaG wb Pie-jacker875
07:16 Pie-jacker875 sorry if I rejoin often
07:16 MarisaG oh ok
07:16 Pie-jacker875 I haven't figured out why this client does that
07:17 Pie-jacker875 I pretty much just leave this client to lurk here
07:18 Pie-jacker875 since I'm also on like 8 other channels across a couple of networks
07:18 MarisaG this is my first time here
07:18 MarisaG me too
07:19 habeangur !help
07:19 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md
07:19 habeangur !hi
07:19 habeangur !server
07:19 MinetestBot habeangur: imedias Minetest-Server | agora.imedias.ch | Clients: 0/15, 0/1 | Version: 0.4.15 / minetest | Ping: 24ms
07:19 habeangur !server
07:19 MinetestBot habeangur: DezyrCraft | minetesthosting.com:30943 | Clients: 1/4, 0/1 | Version: 0.4.14 / minetest | Ping: 113ms
07:22 MarisaG !server
07:22 MinetestBot MarisaG: Xanadu | 98.166.84.194 | Clients: 3/40, 4/9 | Version: 0.4.16-dev / minetest | Ping: 98ms
07:23 MarisaG i set up a slack team for minetest, you can join it here: http://minecity.online:3000
07:24 Pie-jacker875 why slack?
07:26 proller joined #minetest
07:26 Ritchie joined #minetest
07:26 MarisaG Its like irc, only you can see the last 10000 lines, transfer files without dcc problems etc
07:27 MarisaG It’s nice. I like it a lot :)
07:28 Pie-jacker875 sounds unecessarily complicated
07:29 Hawk777 joined #minetest
07:29 MarisaG hehe
07:31 MarisaG you might like it. Its like a version of AIM in the old days
07:31 MarisaG If you can use IRC you can surely use slack
07:32 Pie-jacker875 https://slack.com/legal "customer"
07:32 Pie-jacker875 I'll pass
07:33 MarisaG np :)
07:33 jcgruenhage With the difference that slack is a closed, proprietary product, and irc an open protocol.
07:34 jcgruenhage If you want something more like slack, but open and federated, maybe try matrix ^^
07:39 MarisaG Anyone here familiar with running a no-gui server on linux?
07:39 MarisaG Im having trouble with my server
07:39 jcgruenhage Minetest specific or general?
07:40 MarisaG With adding mods to my server
07:40 MarisaG the mobs_repo and related mods
07:40 aheinecke joined #minetest
07:40 MarisaG I asked in the forum, but noone familiar with the linux version has replied yet
07:41 Pie-jacker875 I'll mess with it for a bit
07:58 MarisaG I have a stupid question - how do I set a user as my server owner?
08:10 Pie-jacker875 not really sure what you mean
08:15 ensonic joined #minetest
08:21 Raven262 MarisaG, in minetest.conf, just place the desired username in the place of the "name"
08:21 Raven262 Also, that has to be done in the .conf file that you specified as your server's .conf file
08:21 Raven262 Otherwise you can  use default one
08:22 MarisaG There is a field “name”?
08:22 Raven262 yep
08:22 Raven262 name = something
08:22 Raven262 And that user will get unrevokable privs
08:23 MarisaG is it case sensitive?
08:23 Raven262 Just to warn you, if you are using the default config file, the name field will be overwritten the next time you log in to a server.
08:23 Raven262 Yes it is.
08:24 MarisaG Im running the client on a mac, and my server is on a linux server
08:25 Raven262 Oh, well then you are using the default config on linux?
08:25 Raven262 Okay, it won't change then
08:25 Raven262 As long as you don't have a client at the same path in that linux system.
08:25 MarisaG I custimzed my config file
08:25 MarisaG No, no client
08:26 Raven262 Okay
08:26 MarisaG thanks!
08:26 Raven262 Tell me if you need any more help, i think i know a few stuff about server config :)
08:27 MarisaG 😄 Im having trouble with mods, can you help with that?
08:27 Raven262 Which mods in particular?
08:28 MarisaG Im trying to add the mobs_redo and related mods
08:28 Raven262 And the error is?
08:28 MarisaG I dont get any error loading the main mobs_redo mod, but the actual mob mods I get a “missing dependancy” error
08:29 Raven262 Well, you are missing a dependency
08:29 MarisaG I have no gui on my server, so I have to edit the world.mt file by hand
08:29 Raven262 Another mod has to be added
08:29 Raven262 which dependency is missing?
08:29 MarisaG Yes, but I do have the mod. The mobs_redo mod is supposed to provide the “mobs” mod.
08:30 Raven262 mobs_redo is named "mobs" in the world.mt, right?
08:30 MarisaG I have it listed first in the file, and I dont get any errors, but the related mob mods say that error
08:30 MarisaG I have tried it both ways, as “mods_redo” and just “mobs”
08:31 Raven262 hmmm
08:31 MarisaG Same results either way
08:31 Raven262 i'll check how it works here :/
08:32 MarisaG ok great
08:32 MarisaG I could give you access to my server if you like
08:32 Raven262 Yea, it is only mobs.
08:32 Raven262 I don't think i'll need it.
08:32 MarisaG ok
08:32 Raven262 load_mod_mobs = true
08:32 Raven262 try it that way and give me the error output
08:33 MarisaG ok hold on
08:35 MarisaG The first line is:
08:36 MarisaG 2017-08-08 08:35:22: ERROR[Main]: The following mods could not be found: "mobs_goblins" "mobs_horse" "mobs_sky" "mobs_water"
08:36 MarisaG And then there are these other messages for the remaining mods:
08:36 MarisaG 2017-08-08 08:35:22: ERROR[Main]: mod "bugslive" has unsatisfied dependencies:  "mobs"
08:36 Raven262 Those are optional dependencies, the first ones
08:37 Raven262 So mobs_redo has been loaded?
08:37 Raven262 bugslive... i don't remember which mobs mod it requires
08:37 MarisaG I checks and I have the load_mod_mobs entry enabled and the mods/mobs directory named that way
08:37 MarisaG I have mobs_redo renamed to just “mobs”
08:37 MarisaG bugslive is for mobs_redo
08:38 MarisaG I only installled the ones from the forum thread
08:38 Raven262 mobs_redo should be named mobs_redo
08:38 MarisaG so they are all supposed to work
08:38 Raven262 did you rename mobs_redo to mobs?
08:38 MarisaG I tried it both ways and get the same results. Let me try renaming the folder back
08:38 MarisaG yes
08:39 Raven262 It should be mobs_redo, but in the world.mt it is enabled under the name "mobs"
08:40 MarisaG Ok, just tried it and same results
08:40 Raven262 Very odd
08:40 Raven262 Especially the first part of the error
08:41 Raven262 it is looking for optional dependencies
08:41 Raven262 it should not give an error
08:41 MarisaG Yes, very mystifying
08:42 Raven262 Anyway, if there is a solution to this, tenplus1 knows it.
08:42 Raven262 Just that he isn't here at the moment.
08:42 MarisaG oh
08:42 Raven262 I mean it is his mod after all.
08:42 MarisaG think he will be back soon, or is it night where he is?
08:42 MarisaG Oh good idea!
08:42 Raven262 Nope, it is day, though he usually joins in a few hours from now.
08:43 Raven262 Not sure he is here every day though
08:43 MarisaG i can wait i suppose :)
08:43 MarisaG I asked in the forum but nobody had any ideas either
08:43 Raven262 Forum is a bit of a deserted place sometimes.
08:43 * Raven262 released a mod few weeks ago and got 2 replies :P
08:44 MarisaG what was the mod?
08:44 Raven262 Amber mod
08:45 Raven262 But it is still work in progress.
08:45 proller joined #minetest
08:45 MarisaG oh ok
08:45 Raven262 Just that i'm a bit lazy to work on it.
08:46 MarisaG :)
08:46 rtjure joined #minetest
08:53 Tirifto joined #minetest
08:53 Jordach joined #minetest
08:54 proller joined #minetest
08:59 Pie-jacker875 joined #minetest
09:12 proller joined #minetest
09:23 Tux[Qyou] joined #minetest
09:26 MarisaG Raven262: I PMed him in the forum. It says he was logged in just a couple hours ago…
09:27 enricom joined #minetest
09:30 Raven262 Who knows
09:31 Raven262 He should be here soon though, at least sometimes he comes here at this time.
09:31 enricom joined #minetest
09:32 MarisaG ok
10:09 geir_ joined #minetest
10:13 Pie-jacker875 joined #minetest
10:14 rubenwardy joined #minetest
10:16 pulec joined #minetest
10:18 Calinou joined #minetest
10:19 Freejack joined #minetest
10:20 Wuzzy joined #minetest
10:28 Gundul joined #minetest
10:32 Fixer joined #minetest
10:35 Lymkwi joined #minetest
10:49 SonosFuer joined #minetest
10:50 salahzar joined #minetest
10:51 salahzar Just a question. Does minetest have auto-backup feature in the basic engine or it is provided via mod or via linux shell script? In minecraft I used sbackup mod which was quite useful. is there something similar in minetest?
10:52 sfan5 i don't think there is any mod like that
10:52 sfan5 doing it with a shell script should be quite simple though
10:53 salahzar in that case you need to stop the server, right?
10:53 sfan5 it's not required but a good idea nonetheless to flush all data to disk
10:53 salahzar also I was fascinated by the /rollback command, can it be used to rollback in the past more than a few minutes?
10:53 Dumbeldor Use shell script and cron ;)
10:54 sfan5 if you have enabled rollback recording /rollback can be used as far back as you want
10:54 lumidify_ joined #minetest
10:55 Pie-jacker875 joined #minetest
10:56 salahzar thanks for the reply :)
10:58 troller joined #minetest
10:59 lumidify joined #minetest
11:01 lumidify1 joined #minetest
11:05 Pie-jacker875 joined #minetest
11:13 ensonic joined #minetest
11:28 DS-minetest joined #minetest
11:34 ThomasMonroe joined #minetest
11:35 cx384 joined #minetest
11:41 CalebDavis joined #minetest
11:42 thatgraemeguy joined #minetest
12:26 DS-minetest joined #minetest
12:28 enricom joined #minetest
12:29 twoelk joined #minetest
12:29 Beton joined #minetest
12:33 C00kie joined #minetest
12:34 Taoki joined #minetest
12:50 calcul0n joined #minetest
12:51 twoelk joined #minetest
12:53 troller joined #minetest
12:53 Beton_ joined #minetest
13:03 proller joined #minetest
13:04 Kelticfox_v joined #minetest
13:19 AndDT joined #minetest
13:24 Brackston joined #minetest
13:33 antims joined #minetest
13:52 arsdragonfly joined #minetest
13:53 CWz joined #minetest
14:01 Manzano_ joined #minetest
14:02 Telesight joined #minetest
14:12 MinetestBot [git] Zeno- -> minetest/minetest: Update credits (#6228) b9ab51d https://git.io/v7iiS (2017-08-08T14:11:41Z)
14:29 Cerise joined #minetest
14:29 Cerise joined #minetest
14:30 The_Loko joined #minetest
14:32 jas_ Thank you for Minetest!
14:33 ph3-der-loewe :)
14:34 proller joined #minetest
14:37 arsdragonfly joined #minetest
14:42 grumble joined #minetest
14:49 GreenDimond joined #minetest
14:51 GreenDimond I got a PM from a guy named "Zachtest" on the forum and his PM makes absolutely no sense
14:52 GreenDimond Ey.. VanessaE?
14:54 GreenDimond It appears everyone got one
14:55 enricom joined #minetest
14:56 enricom joined #minetest
14:57 GreenDimond I am so confused
14:58 GreenDimond minetest.org says strange stuff and so does the PM >_<
14:58 Fixer GreenDimond: nevermind
14:58 GreenDimond ?
14:58 Fixer GreenDimond: just ignore it
14:58 GreenDimond Is it fake?
14:59 GreenDimond well ok
15:00 CalebDavis joined #minetest
15:01 ThomasMonroe_ yep ignore it GreenDiamond
15:01 ThomasMonroe_ ik what it is about
15:01 Billre joined #minetest
15:11 Tirifto I guess “Julia” should not be translated?
15:12 sfan5 nah
15:13 sfan5 it's probably referencing the fractal by that name
15:13 Tirifto Yeah, under “mapgen fractal” in settings.
15:17 ensonic joined #minetest
15:22 Alcyone2 joined #minetest
15:29 proller joined #minetest
15:37 Worldblender joined #minetest
15:44 torgdor joined #minetest
15:54 soupfly joined #minetest
15:58 Brackston VanessaE Are you around for a question about the plasma_lamp?
15:58 Pie-jacker875 joined #minetest
16:07 FreeFull joined #minetest
16:18 proller joined #minetest
16:28 torgdor joined #minetest
16:49 Beton joined #minetest
17:02 Cerise joined #minetest
17:02 Cerise joined #minetest
17:11 VanessaE (I wasn't when he asked, answer sent to /msg)
17:13 Brackston Thank VanessaE your the greatest!
17:14 VanessaE you're welcome.
17:17 soupfly joined #minetest
17:23 proller joined #minetest
17:32 Tux[Qyou] joined #minetest
17:45 SonosFuer joined #minetest
17:48 proller joined #minetest
18:25 CalebDavis joined #minetest
18:28 bhelit joined #minetest
18:31 YuGiOhJCJ joined #minetest
18:33 bigfoot547 joined #minetest
18:33 bigfoot547 left #minetest
18:34 behalebabo joined #minetest
18:42 Tux[Qyou] joined #minetest
18:43 jas_ !server dcbl
18:43 MinetestBot jas_: dcbl | dcbl.duckdns.org | Clients: 2/15, 2/3 | Version: 0.4.16-dev / dcbl | Ping: 127ms
19:00 bhelit how do i run a function for a node 'on_use' https://ptpb.pw/VTYb/lua
19:01 proller joined #minetest
19:02 Guest1142 joined #minetest
19:04 calcul0n bhelit, in that case on_use = hearth without the parenthesis
19:05 calcul0n or on_use = function (itemstack, player, pointed) blah() end
19:05 bhelit calcul0n, if you can, could you explain parenthesis use(why none) or point me in the right direction
19:06 Guest1142 joined #minetest
19:06 soupfly joined #minetest
19:06 bhelit the lua ref_man is slim, so im trying to learn by code-reuse. but talk about pitfalls
19:06 calcul0n bhelit, on_use expects a function object that will be called when the node ise "used"
19:07 calcul0n hearth() will just call the function and return its return value, which is nil here
19:07 bhelit hearth() -> set on_use to return object. hearth -> run hearth ??
19:08 calcul0n yes
19:11 Tirifto joined #minetest
19:15 bhelit register_tool dev page says its incomplete. where can i find all table keys? i reworked to code, but it doesnt recognize on_use https://pastebin.com/raw/DuYDqmuY
19:16 rubenwardy https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4039
19:17 rubenwardy or https://rubenwardy.com/minetest_modding_book/lua_api.html#item-definition-register_node-register_craftitem-register_tool
19:18 bhelit rubenwardy, ty
19:20 rubenwardy note that the lua_api is the official docs, as it is updated by devs when stuff is added
19:20 rubenwardy dev.minetest.net is more of a community effort
19:21 bhelit ah that makes sense
19:21 bhelit its a good interface tho imo
19:23 calcul0n i don't think a wiki is a good idea for software docs
19:23 calcul0n it has no structure and is often incomplete
19:23 rubenwardy well, you either want a reference or a tutorial like guide for each thing
19:24 rubenwardy reference -> lua_api.txt (although it's not perfect)
19:24 rubenwardy tutorial/guide -> modding book
19:24 rubenwardy the dev wiki is just because the lua api.txt is so unreadable
19:24 calcul0n true :)
19:24 rubenwardy updated  https://rubenwardy.com/minetest_modding_book/lua_api.html
19:25 rubenwardy turned out I hadn't run the script in 3 months :O
19:25 rubenwardy (I cache excessively so it may take a while)
19:44 bhelit api ( can i use my own fn? ) on_use = func(itemstack, user, pointed_thing), for on_use = hearth,
19:46 bhelit sane? or ditch_for_unoperable?  https://pastebin.com/raw/UjKdUqE9
19:50 calcul0n bhelit, this looks good as you don't seem to care about the func params
19:50 Guest1142 joined #minetest
19:50 calcul0n hu wait,  local player = minetest.get_player_by_name(name) <- this won't work, name is not defined
19:51 calcul0n so you need on_use = function(itemstack, user, pointed) hearth(user) end
19:51 calcul0n and add the user param to hearth
19:51 Fixer sooo moooove
19:51 Fixer everyone with OOMs should try GC64 luajit
19:53 sfan5 gc64 still crashes frequently on linux last time i checked
19:53 bhelit calcul0n, ahh, ive spend hours figuring out how to get player name in my fns ":|
19:53 behalebabo joined #minetest
19:54 Fixer sfan5: better on windows it seems
19:54 Fixer usable
19:54 Fixer on linux VanessaE reports much less OOMs on dreambuilder even on simple luajit for some reason
19:55 Fixer dreambuilder is not playable on simple LJ for me on Win
19:57 ThomasMonroe joined #minetest
20:05 Lukc left #minetest
20:19 Sokomine hmpf. chairs and tables ought to be added to mtg
20:25 * AlexYst starts coding data-storing tables to put in Minetest
20:27 AlexYst +-----------+---------+------+
20:27 AlexYst |Player Name|Nodes Dug|Deaths|
20:27 AlexYst +-----------+---------+------+
20:27 AlexYst |AlexYst    |        5|    11|
20:27 AlexYst +-----------+---------+------+
20:27 AlexYst |Sokomine   |     5932|     2|
20:27 AlexYst +-----------+---------+------+
20:30 proller joined #minetest
20:34 Sokomine nice, alexyst. but don't such mods exist yet? i remember having seen at least one statistic mod on the forum
20:37 AlexYst Sokomine: Oh, yeah. I should've thought of that too, as I'm the one that coded both of those mods.
20:39 joenas[m] `if minetest.get_modpath("some_mod") ~=nil`, is this idiomatic Lua?
20:39 * AlexYst wishes they could change their forum name to match their IRC name
20:39 AlexYst Thanks to that legal name change, my name's actually *presentable* these days.
20:39 rubenwardy !mod stats
20:39 MinetestBot rubenwardy: Stats [stats] by PilzAdam - https://forum.minetest.net/viewtopic.php?t=8127
20:39 rubenwardy but no table
20:40 AlexYst joenas[m]: You don't need the ` ~=nil` part.
20:40 joenas[m] Well that's what I figured but it's present in few mods I've seen
20:41 AlexYst My mining stats mod sort of makes a table. My kill count mod does make one.
20:41 joenas[m] Also what's with the hard tabs/4 spaces? :)
20:42 joenas[m] In a* few
20:42 calcul0n ho no, not the tab vs space troll :)
20:42 AlexYst joenas[m]: Hard tabs are good for semantic indentation and readability. I'm not sure what's up with the spaces.
20:43 joenas[m] Not on github they're not? I'd say it's close to unreadable but I guess opinions differ there :)
20:44 AlexYst Well, to each their own.
20:50 joenas[m] Well I'm just curious, not trolling if that's what you think calculOn. In my programming community soft tabs with 2 spaces is the norm, hence I'm wondering whether hard tabs are a Lua or a Minetest thing
20:51 rubenwardy it's project by project
20:51 rubenwardy Minetest uses tabs
20:51 rubenwardy because they're obviously better 8)
20:52 Calinou joenas[m]: https://ukupat.github.io/tabs-or-spaces/
20:52 Calinou Ctrl+F "lua"
20:52 Sokomine AlexYst: oh :-) then it's good. hope to see that mod on servers
20:53 ThomasMonroe_ hi AlexYst
20:53 Calinou unfortunately, nobody agrees on standard identation for Lua, hard tabs win by a very slight margin
20:53 Calinou heck, 12% of repositories use 3 spaces (!)
20:53 calcul0n well, i was just kidding, but that's the kind of subject where you won't find two people who can agree
20:53 Sokomine in mt mods the convention seems to be to use tabs
20:53 joenas[m] Heh interesting
20:54 joenas[m] So it's a Lua thing then
20:54 joenas[m] 3 spaces... that's just not right tho...
20:55 Calinou odd numbers are superior to powers of two, didn't you hear?
20:55 Sokomine for me it is a lua/mt thing, yes. i don't use tabs in general. it kind of felt as if tabs where used here more generally than not
20:55 joenas[m] Nah i missed that memo apparently
20:56 joenas[m] I'll go convert all my stuff at work to 3 spaces. Seems the only reasonable thing to do
20:57 joenas[m] But I wanna read mod code on GH on my cell.. /cry
20:57 joenas[m] The tabs are killing me
20:57 joenas[m] Anywho
21:03 AlexYst Hey ThomasMonroe_!
21:04 AlexYst I don't think agreeing on a standard in a given language really helps. There's no reason to use something different between languages.
21:04 AlexYst Also, the de facto standard for Python is four spaces or something, but I still use tabs in Python because they're cleaner.
21:05 AlexYst The fact is, programmers will use what they prefer unless they have no real opinion. In that case, per-language agreement wins over.
21:16 joenas[m] Hm maybe you're right. I believe having a standard in a workplace is kinda necessarily tho.
21:18 joenas[m] Interestingly ruby, which is my primary language, seems to be one of the few where it's 100% consensus :)
21:18 joenas[m] Necessary* stupid phone
21:20 Lymkwi joined #minetest
21:20 joenas[m] I guess I could set sublime to display the tabs as 2 spaces...
21:23 rubenwardy tabs in python makes sense to me, given that it's white space dependent
21:24 rubenwardy also, basically everyone uses tabs as 2 or 4 spaces
21:24 rubenwardy [citation needed]
21:28 sfan5 why would you use spaces of tabs? (except for alignment ofc)
21:31 AlexYst joined #minetest
21:31 MinetestBot [git] sfan5 -> minetest/master-server: Refine "guest" name regex da9f297 https://git.io/v7P6A (2017-08-08T21:30:35Z)
21:32 rubenwardy sfan5, I don't understand what you mean by "spaces of tabs"
21:32 sfan5 +instead
21:32 rubenwardy ah, ok
21:42 swift110 joined #minetest
21:45 Billre left #minetest
21:49 AlexYst sfan5: I'm confused by it myself, but a lot of people do it and insist others do it.
21:58 troller joined #minetest
22:07 ElectronLibre_ joined #minetest
22:13 bigfoot547 joined #minetest
22:19 slemonide joined #minetest
22:24 ssieb joined #minetest
22:35 est31 joined #minetest
22:37 est31 left #minetest
22:46 proller joined #minetest
23:57 swift110 joined #minetest

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