Minetest logo

IRC log for #minetest-hub, 2019-08-19

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

All times shown according to UTC.

Time Nick Message
02:06 pauloue joined #minetest-hub
02:59 rdococ where would I go to throw out mod ideas in case anyone likes them?
03:43 rubenwardy website redesign: https://rwdy.uk/2wNDr.png
03:47 ssieb joined #minetest-hub
06:08 ANAND rowdy.uk :)
06:10 rdococ https://i.imgur.com/KtufuwG.png <- messing with shaders, the nodes are weirdly shaped!
06:29 ANAND Wow
06:29 ANAND Neat!
06:34 CWz_ joined #minetest-hub
07:09 kaeptmblaubaer joined #minetest-hub
07:28 rdococ Light spreading suggestion: light could spread diagonally, but only if the light level is high enough. https://i.imgur.com/wA5zamX.png
07:33 kaeptmblaubaer joined #minetest-hub
07:39 kaeptmblaubaer joined #minetest-hub
08:43 Guest31894 joined #minetest-hub
08:54 CWz_ joined #minetest-hub
09:00 CWz__ joined #minetest-hub
10:29 tomraceror joined #minetest-hub
10:59 DarkRacerTrooper joined #minetest-hub
11:27 Fixer joined #minetest-hub
11:33 calcul0n joined #minetest-hub
12:12 calcul0n joined #minetest-hub
13:08 ANAND #8820 is epic, lol
13:08 ShadowBot https://github.com/minetest/minetest/issues/8820 -- Node Box gets HUGE and causes the game to lag
13:38 Megaf joined #minetest-hub
14:16 jas_ what a philosophical question
14:17 jas_ if it's not true, anand, is it a fact?
14:17 ANAND lol
14:17 jas_ i ask sincerly.  like "does a tree in the forst...."
14:17 jas_ if there's no one there to hear it fall, lol does it make a sound?
14:17 ANAND What I meant of course, is whether the stuff the narrator claims as facts are true or not. :)
14:18 jas_ oh i didn't watch it, or know what it's about.  but now i feel so roped.
14:18 jas_ oh no 10 minutes
14:19 jas_ omg the socket looking different.  i'm in 650 ft apartment in poor neighborhood
14:19 jas_ lot of open space here, lot of places in between places.  some towns have no names, only numbers
14:19 jas_ i have no room, i work in a corner on a pile of horded gadgets
14:19 jas_ i'm afraid this may only be true for a minority
14:20 jas_ ie rich ppl
14:20 jas_ i have no washer/dryer
14:20 jas_ i hand wash my clothes
14:21 jas_ my basement is a giant cobweb
14:21 jas_ yeah i'm gonna stop now but, pretty sure this is a "differences between those with money and those without" video
14:21 ircSparky yea it's accurate to a point
14:22 ANAND Hmm
14:22 ircSparky rural houses can be pretty large, even if the inhabitants are terribly well off (like my family)
14:22 ircSparky arent***
14:22 ircSparky lol
14:22 jas_ :)
14:22 jas_ greetings from maine, btw
14:23 ANAND return 0;
14:23 ANAND nvm, that was stupid
14:23 tumeninodes joined #minetest-hub
14:23 ircSparky greetings from Minnesota :D
14:23 jas_ nice ^5
14:24 jas_ i hear about your state frequently lately lol
14:24 jas_ something about a congresswoman?  lol i'm going to go smoke some mariujuana, bye
14:24 ANAND Greetings from... er, Earth :D
14:24 ircSparky lol yea, we hear a lot about her too :P
14:25 tumeninodes ugh, anyone around who is good at rebasing? Every time I've attempted it I make a mess. And I'm tired of constantly having to completely redo PRs because of this and I'm sure it's annoying to others
14:27 ANAND I wouldn't call myself good, but rebasing is just git rebase -i HEAD~<no. of commits to include>
14:28 ANAND Replace pick with e or edit for commits that you want to edit, save and close the editor.
14:28 ANAND git will pause at commits which you marked with e or edit, for you to make changes
14:28 ANAND Once you've made the necessary changes, git add <filename> or git add .
14:29 ANAND then, git commit --amend '-S', and then git rebase --continue
14:29 ANAND (Dunno what the '-S' is for, git recommends it when amending commits in the rebasing process)
14:30 ANAND Repeat the last two steps for all the commits marked for editing.
14:30 ANAND Once all the commits have been amended, git will automatically finish the rebase
14:31 ANAND Then force-push to your remote: git push -f or git push --force
14:31 ANAND I think that's basically it
14:32 tumeninodes :( does <no. of commits to include> mean the commit number or as in 1, 2, 3 etc?
14:33 tumeninodes sorry, my brain fizzles with things like this
14:33 scr267 joined #minetest-hub
14:33 tumeninodes Ive read the documentation and I seem to get it until they start throwing multiple scenarios into the mix
14:34 tumeninodes I think I did it successfully once recently, but I forget what I did because I just started guessing and it worked... don;t know what or how but it worked
14:37 tumeninodes oh, wait... I think I have something Ezzh shared with me once... I'll have a look at that
15:00 tumeninodes oorah! I did rebase... I think
15:00 tumeninodes thank you Shara
15:17 ANAND tumeninodes: Sorry for the late reply, but <number of commits to include> should be replaced by the numbers of commits from HEAD you want to include in the rebase operation. If you're rebasing for a PR containing 3 commits, for example, use git rebase -i HEAD~3
15:23 jas_ and the command for 'squashing' those 3 commits into one ?
15:23 jas_ (for when he's done?)
15:25 ANAND git rebase -i HEAD~<no. of commits to include>
15:25 jas_ oh ok hx
15:26 jas_ thx
15:26 ANAND then replace pick with s (or f to discard commit messages of squashed commits) for all except the first commit
15:27 jas_ so after you type that, you just hit 'f' ?
15:27 ANAND Save and close the file, and git squashes the commits
15:27 tumeninodes thank you Anand... I actually already did the rebase... I think haha
15:27 ANAND No
15:27 ANAND Yay :)
15:27 ANAND What went wrong though?
15:27 tumeninodes me
15:27 tumeninodes :P
15:27 ANAND lol
15:28 tumeninodes I have great difficulty learning via text
15:29 tumeninodes been a serious issue since childhood, with a brain injury from my early adulthood adding to the problem
15:29 ANAND jas_: git rebase -i <commit ref> opens up a text editor with a list of commits to be rebased. It'd look something like this: https://hackernoon.com/hn-images/0*K_tYrMvbzRdnWOMV.png
15:29 ANAND the word before the commit SHA is interpreted as a command
15:30 ANAND pick simply does nothing
15:30 ANAND Replacing pick with edit or e will make git pause at that commit to allow the user to make amendments to the commit
15:30 tumeninodes most times, any tech documentation prepared by a developer/programmer confuses me... A while back Shara had sent me some text which really helped as she put it into layman's terms
15:31 ANAND Tech documentation is confusing by nature :)
15:31 tumeninodes in short, she's brilliant, knows her $hit... and can still "talk" to people too ;)
15:32 ANAND That's a very rare combination these days :P
15:34 tumeninodes often times when a dev tries to help a person who is a novice programmer and they say "git rebase -i <commit ref>.... the person they are trying to help will literally type it exactly as they are told using <commit ref> and not replacing it with an actual commit ref
15:35 ANAND True
15:35 tumeninodes A good analogy.... Someone asks you to help them on how to build a house... and you hand them a hammer, and nails, and send them on their way :D
15:35 ANAND heh
15:35 tumeninodes not anyone's fault, it's just the way different mindsets think
15:36 tumeninodes I am a mechanical learner, I learn by watching and doing
15:37 tumeninodes I get lost in text and by the time I get to the third line, I completely forgot what the first two lines said, so I continuously go back and reread over and over and still get confused
15:37 tumeninodes At the same time, I can read extensive novels and enjoy them... mysteries of the human mind
15:38 ANAND Well, novels are written in English, not in C++ :)
15:39 tumeninodes so the way I just did it, as it was explained (though I use a slightly diff wording) I git checkout back to my local master, git pull upstream master, then git push origin master
15:40 tumeninodes next I checkout the PR branch Im working on... git fetch origin master, then git rebase origin <branch>
15:41 rubenwardy tumeninodes: do you prefer videos?
15:41 tumeninodes then --force push to origin master.. and viola
15:41 tumeninodes yes, at times video instruction can help
15:41 rubenwardy Have you tried reading my 'book'? Wondering how good it is for "laymen" :)
15:42 rubenwardy I'm tempted to make my own Minetest modding video series
15:42 tumeninodes but mostly if the presenter is acxtually doing and showing what they are doing mechanically while they explain it
15:43 tumeninodes Your book does help a lot. though some areas are a bit rough/vague regarding my ability to understand
15:44 tumeninodes more actual examples would be even more helpful with certain parts. Hard for me to offer an actual example, I would have to run into it to be able to make a note of it.
15:44 rubenwardy I'd appreciate some pointers on that
15:44 rubenwardy ah, cool
15:44 rubenwardy have you seen the new formspec chapter?
15:44 rubenwardy !book formspec
15:44 MinetestBot rubenwardy: Formspecs - https://rubenwardy.com/minetest_modding_book//en/players/formspecs.html
15:44 tumeninodes When I come upon moment like that I willbe sure to make a note of it and let you know
15:44 rubenwardy I've been trying to rewrite chapters with a reoccuring example throughout
15:44 tumeninodes yes, that is done quite well actually
15:44 rubenwardy is that the sort of example you mena?
15:45 tumeninodes yes
15:45 tumeninodes that was how I realized it is a bit similar to when I used to work on splash screens etc for a Linux dist some years ago
15:45 tumeninodes meaning as far as using coords, etc.
15:47 tumeninodes most people who do/will read the book, will already have a basic understanding of coding in the first place
15:47 tumeninodes it will be quite rare to have a ding dong like me come along, who loves to poke at everything
15:48 tumeninodes the most "programming" or coding I ever did, was related to graphics and UI for distros before popping into this project
15:50 tumeninodes PCLinuxOS, Granular, and then Unity Linux after the PCLOS split but that turned into just being a base OS with not much need for the graphics end that I liked to play with
15:51 tumeninodes btw I mentioned this a few days ago... I think a link to your book should be added to the api (on line 6)
15:52 tumeninodes https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L6   <----there
15:53 rubenwardy I would like that
15:53 rubenwardy however, I'm not sure other people would accept that
15:53 tumeninodes giddyup :D
15:54 rubenwardy If someone else proposes it, and it's supported by other people, then it could be added
15:54 rubenwardy but I won't approve the PR because conflict of interest
15:54 tumeninodes I don't see why not. One link goes to a notoriously often outdated ref and the other loops right back to the lua.api git page
15:54 tumeninodes yeh thats true...
15:55 tumeninodes hmmmm
15:56 tumeninodes dang... we'll have to dispatch everyone here who saw that now...
15:56 tumeninodes :P
16:01 pauloue joined #minetest-hub
16:24 tumeninodes Krock: and anyone else avail recipes changed, and added locks to the textures https://github.com/minetest/minetest_game/pull/2443 (sorry for nagging)
16:40 tomraceror joined #minetest-hub
16:52 Krock joined #minetest-hub
16:52 MinetestBot Krock: Aug-18 21:05 UTC <DS-minetest> So, you don't like using || for floats? It would work.
16:52 Krock !tell DS-minetest (a || b) is always a boolean value FYI
16:52 MinetestBot Krock: I'll pass that on when DS-minetest is around
16:52 Krock thx MinetestBot
18:03 ANAND Krock: How do I load up a saved map in singleplayer?
18:03 ANAND Replacing map.sqlite doesn't work
18:03 Krock world.mt -> change gameid
18:03 Krock change the backend to dummy
18:03 Krock readonly_backend = sqlite
18:04 Krock *sqlite3
18:04 Krock mkdir readonly
18:04 Krock cd readonly && ln -s ../map.sqlite .
18:04 ANAND Whoa that's complicated...
18:04 sfan5 there are easier ways
18:04 Krock no, it's just so you cannot modify the map, neither can lua
18:04 Krock in case anything goes wrong
18:05 Krock simplest way is just to set the game ID, and check the mainmenu
18:05 ANAND I have to create a world.mt for that first, right?
18:05 Krock yes
18:06 ANAND righty-ho
18:06 Krock gameid = minetest  ought to be enough since all other settings default to what you nede
18:06 Krock unless I'm mistaken.. I though it was that way
18:09 ANAND Looks like it works
18:09 ANAND But I spawned in the middle of nowhere
18:10 ANAND lol
18:10 ANAND I'll have to recheck the server's spawn's coords
18:11 ANAND Yay
18:12 ANAND Thousands of unknown nodes :D
18:17 Krock trying accurate position checks
18:24 sfan5 I think accurate position checks are much cheaper than rendering blocks that shouldn't be
18:24 Krock found a middle-way through. using approximate as long as possible, then falling back to accurate
18:26 ANAND PR gives me 5-6 more FPS than master
18:28 ANAND Tested by flying to the same coords, after loading a near-equal number of chunks.
18:42 IcyDiamond https://www.bountysource.com/issues/44703548-change-inventory-image-using-itemstack-metadata i put a bounty on it
18:42 IcyDiamond yes im that desperate
18:45 Krock ANAND: maybe you'll get 1 FPS more now
18:45 Krock IcyDiamond: isn't there a PR for that?
18:46 IcyDiamond i dont think so
18:46 Krock nvm, just the issue #5686
18:46 ShadowBot https://github.com/minetest/minetest/issues/5686 -- Change inventory image using Itemstack Metadata
18:47 IcyDiamond that issue requires a big rewrite of the item rendering code i think, so a bounty is appropriate
18:47 IcyDiamond xD
18:47 IcyDiamond how does the bounty label get added
18:49 Krock $20.000
18:49 Krock $20.000000
18:49 IcyDiamond needs more zero
18:49 ANAND Krock: Cool, I'll try again
18:49 IcyDiamond i would put $20,000 if i had that much
18:49 IcyDiamond :D
18:50 ANAND Oooh, a bounty!
18:50 Krock the local number format here uses commas as decimal separator btw
18:50 Krock so still 20 bucks
18:50 IcyDiamond same
18:50 IcyDiamond :P
18:51 IcyDiamond my local format is 1 000 000,00
18:51 Krock 1'000'000,00 here. Lua likes those escapes
18:51 IcyDiamond :D
18:54 ANAND Krock: I'm in the middle of a tedious rebase, and then I'm going to get some sleep (it's already tomorrow here). I can only test tomorrow :(
18:54 ANAND Well, texhnically today, but after I wake up :P
18:54 ANAND technically*
18:54 DS-minetest joined #minetest-hub
18:55 ANAND Heya DS-minetest!
18:55 DS-minetest o/
18:55 ANAND Also, good night o/
18:55 Krock gn
18:55 Krock hi DS-minetest
18:58 * DS-minetest didn't know that || makes bools and didn't test good enough, sorry for that
18:59 Krock no problem. it looks like it could work
18:59 tomraceror joined #minetest-hub
19:00 Krock just add a "til" in front and the blooper turns into an educational lesson
19:03 DS-minetest /= b + !b would work, though
19:04 Krock feels hacky though, whereas the calculation could simply be skipped if b == 0
19:04 Krock whatever. possibilities exist
19:06 Krock (distance == 0 && (direction /= distance)); I wonder whether that would work
19:06 Krock s/==/>/
19:07 Krock update: yes it does
19:08 DS-minetest you mean != 0
19:08 DS-minetest what is this s/==… thing?
19:08 Krock sed
19:09 Krock https://de.wikipedia.org/wiki/Sed_(Unix)
19:11 aerozoic joined #minetest-hub
19:14 Krock It would be a good idea to require users to have at least 10 (or so) posts in order to create a topic in "Builds". The first forum seems very attractive for spammers
19:18 DS-minetest +
19:21 homthack joined #minetest-hub
19:33 behalebabo joined #minetest-hub
19:38 Sokomine hard to tell. spam is certainly a problem. too much restriction is also problematic. based on what i've seen, spammers will then just spam in existing threads. unless it's easier for them to create new ones?
19:40 tumeninodes ugh, my branch is one commit behind... again. Just rebased a couple hours ago
19:42 DS-minetest just do "git pull --rebase https://github.com/minetest/minetest_game master", there won't be any merge conflicts, probably
19:53 tumeninodes did it the way I know, just to be safety
19:54 tumeninodes I'm just happy to be able to do it now (as long as there are no conflicts) Constantly redoing PRs is annoying to all involved
19:56 tumeninodes QiskitBlocks Game looks very promising for the community :)
19:57 tumeninodes The more educational related aspects the better
19:58 tumeninodes something like that project is likely (hopefully) to bring interest of more experienced and skilled people
20:00 tumeninodes I was playing with tnt cuz of the new temp pop sound and had a thought... has anyone ever done "reverse tnt"?
20:00 DS-minetest hm?
20:01 tumeninodes when it blows, it produces a huge pile of nodes
20:01 DS-minetest like a tnt that does rollback? a time machine tnt
20:01 DS-minetest oh
20:01 DS-minetest wouldn't that be rather boring?
20:01 tumeninodes or even bubble tnt haha
20:02 tumeninodes no, set it as a trap... when set off it can bury the other player in nodes
20:03 tumeninodes maybe boring... but funny
20:03 tumeninodes cow tnt... when it blows it spawns a $shit ton of cows
20:04 tumeninodes woops
20:04 DS-minetest uh
20:04 DS-minetest eww
20:05 tumeninodes could be done with just about anything... like chance blocks, chance tnt... it could be used to make a pile of diamonds etc
20:05 DarkRacerTrooper joined #minetest-hub
20:15 * tumeninodes really wishes the forum had a "mark all as read" button : /
20:16 DS-minetest it has
20:18 Fixer this will be a spammer for sure -> https://forum.minetest.net/memberlist.php?mode=viewprofile&amp;u=25165 / github link is fake and text itself is weird
20:18 tumeninodes right... who the hell types those out?
20:19 tumeninodes ehem smf ehem cough cough (just sayin)
20:22 tumeninodes hmmm it may be legit weblink is to a YT page under Anderman, all MC shtuff
20:33 EvergreenTree joined #minetest-hub
20:35 EvergreenTree joined #minetest-hub
20:35 EvergreenTree left #minetest-hub
20:39 Sokomine tumeninodes: some of the lucky blocks seem like that inverse tnt you're looking for. those blocks sometimes produce colored baked clay or sand around the player
20:41 tumeninodes I'll have to have a look at those, now my curiosity is triggered
20:57 Calinou does anyone know what would cause https://github.com/minetest-mods/moreblocks/issues/147 ?
20:57 Calinou thanks in advance :)
21:09 VanessaE Calinou: I blame black holes.
21:16 rubenwardy new site now live: https://rubenwardy.com/
21:20 Calinou rubenwardy: looking good :)
21:21 Calinou rubenwardy: you may want to darken the Multiplayer Topdown Game background image so that the text is easier to read
21:22 Calinou it definitely doesn't pass https://webaim.org/resources/contrastchecker/ right now :)
21:24 rubenwardy will do
21:24 rubenwardy also
21:24 rubenwardy someone suggested not having that project be full width
21:24 rubenwardy and instead do this   https://rwdy.uk/T0PlE.png
21:25 rubenwardy is that better?
21:25 rubenwardy I prefer the appearence of the current version, although I do understand that it is less obvious where it is in the hierarcy
21:30 Calinou rubenwardy: either is fine to me, I don't think there's a clear winner
21:41 homthack joined #minetest-hub
21:56 behalebabo joined #minetest-hub
22:25 homthack joined #minetest-hub
22:32 Lone_Wolf joined #minetest-hub
23:51 nri joined #minetest-hub

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