Minetest logo

IRC log for #minetest-hub, 2017-12-05

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

All times shown according to UTC.

Time Nick Message
00:00 Jordach except, you'll notice that the sleeping state is set before the formspec is given
00:00 sofar (you still need to be careful that a bad client can cause a `nil` deref or concatenation)
00:00 Fixer what about chest/furnace formspecs?
00:00 Fixer or creative
00:00 sofar I've looked at mtg a bit, I need to delve into another range of exploits
00:00 sofar that'll be next, most likely
00:02 Jordach i'm suprisingly clean though
00:02 benrob0329 can I make minetest.show_formspec return a value from the handling code?
00:02 Jordach that's unusal
00:02 sofar benrob0329: a bad client can do a ton of bad stuff with that code
00:02 sofar benrob0329: when you fix it, ping me and I'll check
00:02 sofar benrob0329: no, you can't
00:02 sofar you will want to store `pos` into a local cache_table = {}
00:03 sofar for each player
00:03 benrob0329 sofar: the problem is that I have no way to get the owner of the tardis the navigation panel was right clicked on
00:03 Fixer sofar: wonder if minetest has those nasty vulnerabilities in engine itself, allowing gaining user or root
00:03 sofar yes you do
00:03 benrob0329 I suppose I could do that
00:03 sofar tardisses[player_name] = pos
00:03 sofar you just have to make a lookup table and maintain it
00:03 rubenwardy https://rubenwardy.com/minetest_modding_book/en/chapters/formspecs.html#contexts
00:03 sofar (and, empty it, too)
00:03 Jordach how does one clear a formspec field
00:04 sofar rubenwardy to the rescue
00:04 sofar I didn't realize you even documented it
00:04 benrob0329 sofar: are you looking at the git? I stopped using raw table calls a while ago
00:04 sofar nice
00:04 sofar https://github.com/benrob0329/tardis/blob/871b004fab0b648a97c02deadf5e566414fec03a/functions.lua#L181 is what I see
00:05 sofar https://github.com/benrob0329/tardis/blob/master/functions.lua#L181 is same
00:05 Jordach rubenwardy, how do i clear a field's text entryt
00:05 Jordach (say on button press)
00:05 rubenwardy Jordach, resend
00:05 rubenwardy minetest.show_formspec
00:05 Jordach i already do that
00:05 Jordach doesn't clear it
00:05 Fixer how you even understand those formspecs, i've looked it and all i see is a brick wall
00:05 benrob0329 sofar: Right, I'm fixiing that bit
00:05 rubenwardy well, you need to blank the field value
00:06 benrob0329 will upload to gist when done
00:07 Jordach doing fields.chat_send = "" does nothing
00:10 Jordach entering a bed now hides your onscreen wielditem
00:10 Jordach and exiting shows it again
00:11 benrob0329 sofar: https://gist.github.com/benrob0329/54e8e54e484fa05cbb81782c446c8e34
00:11 benrob0329 I'll have to adapt the logic changes to the nil pos check on my desktop
00:12 benrob0329 (it doesnt pitch everything if one value is nil)
00:13 benrob0329 oh wait, need to add a nil check on the context
00:22 sofar I made some comments
00:23 sofar on the gist
00:25 sofar btw, benrob0329: mod_storage has a bug when used in register_on_generated that was only fixed 3 days ago
00:34 benrob0329 sofar: what is that?
00:37 benrob0329 also, posted logic from desktop into gist comment to update on laptop
00:38 Jordach https://jordach.net/images/jlfmfvhjdfjigzby.png
00:38 Jordach :^)
00:38 Jordach lava cooling sometimes gives ores out
00:40 benrob0329 Jordach: I feel like that could be exploited
00:40 Jordach shit oregen rates
00:42 benrob0329 sofar: relaod
00:47 benrob0329 actually, hold on
00:47 benrob0329 need to change a few things
00:48 Jordach benrob0329, for maximum kek
00:48 Jordach the breakers require two level 5 mese picks
00:49 Jordach the first one to create the inital breaker, then the second one to convert it into a auto block collector
00:49 Jordach collectors don't use the drops table, they drop the whole node as is gently
00:53 Jordach benrob0329, the ore gen has given: 3 gold, 9 silver, 7 copper, 11 coal, 83 cobble, 2 iron and a diamond
00:56 benrob0329 sofar: ok, should be good now
00:57 sofar afk commute and stuff
00:57 sofar I can review code again later, if people desire
00:57 ThomasMonroe joined #minetest-hub
00:57 benrob0329 gonna commit then, everything seems to work
01:31 atorian37 joined #minetest-hub
01:59 sniper338 joined #minetest-hub
02:23 sniper338 joined #minetest-hub
03:49 atorian37 joined #minetest-hub
04:48 lhofhansl joined #minetest-hub
05:27 compunerd joined #minetest-hub
05:31 sofar alright, anyone want their formspec code looked at?
05:35 benrob0329 sofar: I mentioned you in a pr for a final once-over before I merge, if you don't mind :-)
05:38 sofar of course not
05:41 benrob0329 thanks
05:55 sofar ohhhh I just found a nice big hole
05:55 sofar I mean, like, big
05:56 benrob0329 what is it?
05:57 sofar I'm not sure I want to disclose this one yet
05:57 benrob0329 an engine bug, or a mod bug?
05:57 benrob0329 because the mod has only ever been run on one server
05:58 sofar mtg, not your mod
05:58 benrob0329 ahh
05:58 benrob0329 I thought I done did screwed up *wipes sweat off brow*
05:59 sofar you're not out of the woods yet :P
06:00 benrob0329 no, probably not :PP
06:01 benrob0329 "how does this code even work in the first place?"
06:01 sofar kek
06:01 benrob0329 tbh some parts of it I have to go trace what function comes from which file
06:01 benrob0329 its better now than it used to be
06:01 benrob0329 but there is still a ways to go
06:03 benrob0329 its out of the "quickly hacked together, barely works by power of duct tape" stage
06:04 sofar disclosing to the core team only
06:04 sofar this one is too hot for now, I'll disclose it fully later
06:30 nore sofar: ow
07:03 nerzhul joined #minetest-hub
07:25 sofar nore: you saw the video link I posted?
07:25 nore sofar: yep
07:25 nore well I guess that's at least not too hard to fix
07:28 sofar no, but it opens a can of worms where we may have to add 10-20 fixes of the same nature, perhaps
07:44 CWz joined #minetest-hub
07:44 nore true
08:07 sofar later all, I'm off to bed
08:54 MaybeDragon joined #minetest-hub
09:15 nerzhul joined #minetest-hub
09:59 atorian37 joined #minetest-hub
10:29 nerzhul joined #minetest-hub
11:16 Fixer joined #minetest-hub
11:20 MaybeDragon joined #minetest-hub
12:08 * Raven262 , do you even test your own boxes?
12:10 Raven262 sofar, Should be fixable.
12:10 Raven262 Wait
12:10 Raven262 Wrong channel
12:10 Raven262 -hub, no worries, its just #insidethebox leaking.
12:42 Jordach joined #minetest-hub
12:51 CBugDCoder joined #minetest-hub
13:05 ThomasMonroe joined #minetest-hub
13:30 Mr_Pardison joined #minetest-hub
13:35 Mr_Pardison It's install day.
13:35 Mr_Pardison and Now I get an error.
13:36 Mr_Pardison Fedora gives me this error:
13:36 Mr_Pardison [FAILED] Failed to start Switch Root. See 'systemctl status initrd-switch-root.service' for details
13:37 Mr_Pardison after that, it says "Entering emergency mode. Exit the shell to continue.
13:37 * Mr_Pardison should pastebin all of this and will do so
13:37 Mr_Pardison Will take me a while to do so tho.
13:39 lisac joined #minetest-hub
13:39 Mr_Pardison forget pastebin.
13:40 Mr_Pardison I'll pasteboard the errors that I got.
13:41 Mr_Pardison greetings lisac
13:41 lisac Hey Mr_Pardison
13:42 Mr_Pardison Installing fedora but I got an error thing.
13:42 Mr_Pardison grrrrrrrrr
13:42 Mr_Pardison within the next hour, I'll have it up on pasteboard.
13:43 Mr_Pardison Hopefully I can get this fixed as I really need this ocmputer.
13:43 Mr_Pardison *computer
13:51 lisac Mr_Pardison, first time I installed arch I accidentally formatted my HDD
13:52 Mr_Pardison I'm installing it from a live USB.
13:52 Mr_Pardison I made the install media on ubuntu using unetbootin.
13:53 Mr_Pardison at least i tried installing it.
14:00 Mr_Pardison My deadline for the next hour was too cnservative.
14:00 Mr_Pardison It'
14:00 Mr_Pardison It's going to be during 3rd block as that's when I have a class with the person who took a picture of the errors I got.
14:34 lisac DOTA started crashing on my OS
14:34 lisac I need to reinstall
14:34 lisac KDE got bloated
14:34 lisac it's time to switch
14:34 lisac I was thinking Linux Mint, Cinnamon
14:34 lisac Arch has too much setup
14:34 Mr_Pardison If Fedora doesn't work out, I was thinking of going with Kali.
14:36 lisac why?
14:37 lisac Kali seems useless if you don't use it as a security toolkit
14:40 Mr_Pardison Ubuntu is heavy and slow on my computer.
14:40 Amaz Void is nice :)
14:40 benrob0329 ^^
14:40 Mr_Pardison Kali is a last resort but I'm going to try a few other OS's if I don't get this error fixed.
14:41 Megaf Greetings
14:41 lisac hey Amaz
14:41 Amaz Hello :)
14:41 benrob0329 Void is my main Distro, but I'd recommend starting with Ubuntu or Fedora is you are a total noob
14:42 lisac Amaz, I'm reluctant to try a less used distro
14:42 lisac makes me compile everything
14:42 Mr_Pardison Greetings Megaf
14:42 lisac benrob0329, not a total noob. Been using linux for two years. :)
14:42 Amaz lisac: Void has a pretty good selection of packages
14:42 Mr_Pardison benrob0329: I am not a total noob.
14:42 lisac I'd use arch, but I can't take the time to set it up
14:43 Mr_Pardison I've been using Ubuntu for years on my other computers but those are slow
14:44 Mr_Pardison Currently, I'm using ChromeOS on a chromebook (which is pretty nice if you can put it in developer mode b/c you can run linux native (offers Unity, KDE, or xfce))
14:45 lisac Mint boot usb done
14:45 lisac rebooting
14:47 Megaf Linux Mint and OpenMandriva are my picks for layman
14:47 Megaf OpenMandriva would be more professional even
14:48 Mr_Pardison I am going for something that is easy for me to use but still has a nice CLI (I got used to using xterm for updates and stuff)
14:53 Megaf This is cool https://www.phoronix.com/scan.php?page=news_item&px=Vivaldi-For-ARM
15:17 Megaf !tell paramat Hi, I just want you to be sure I'm not attacking or criticising you or anyone for that matter.
15:17 MinetestBot Megaf: yeah, sure, whatever
15:17 Jordach joined #minetest-hub
15:17 Megaf MinetestBot: !
15:17 Megaf Hi Jordach
15:19 Megaf We need someone to adopt this https://github.com/minetest/minetest/pull/4420
15:19 Megaf Please
15:31 Jordach joined #minetest-hub
15:45 Fixer *,,,,,*
16:14 Megaf Jordach: welcome back?
16:31 Jordach >gets 100k/hash on RX 480 under 15% max load
16:33 Megaf Lol
16:33 Megaf Are you actually making money?
16:33 Megaf Because all the energy usage
16:33 Jordach fuck no lmao, dogecoin for memes :^)
16:33 Megaf Dogecoin? Is this a thing?
16:34 Jordach https://www.reddit.com/r/dogecoin/
16:36 Mr_Pardison Value: 0.00000022 Bitcoin (0.002032USD) as of November 2017
16:36 Megaf :|
16:37 Jordach remember that on the 18th, bitcoin can be shorted by wall st.
16:37 Jordach alt-coins will probably replace BTC
16:40 Fixer mememememms
16:40 Fixer this coin debacle is ridiculous
16:59 Raven262 joined #minetest-hub
17:16 Mr_Pardison https://pasteboard.co/GWPvmhT.jpg
17:16 Mr_Pardison that's the error that I got.
17:16 Mr_Pardison 2nd image of it (hopefully better) in a sec.
17:18 Mr_Pardison https://pasteboard.co/GWPwg83.jpg
17:18 Mr_Pardison there.
17:19 Mr_Pardison both of the images are of the same screen but one of them shows it better.
17:19 Mr_Pardison any suggestions or ideas on how I can fix them?
17:20 sofar not sure what you are doing
17:20 Mr_Pardison I booted fedora from a live USB.
17:20 Mr_Pardison Put it in start mode and it gave me that.
17:22 sofar usb3 stick?
17:22 Mr_Pardison idk.
17:22 Mr_Pardison doesn't say on it.
17:22 Mr_Pardison I borrowed it from a friend since they don't use it anymore.
17:27 benrob0329 Mr_Pardison: you should probably ask in a Linux support room
17:27 Mr_Pardison have any in mind?
17:34 benrob0329 #linux
17:34 Krock joined #minetest-hub
17:38 Mr_Pardison so, how would I go about asking for help with it since I'm new to that channel?
17:54 IhrFussel joined #minetest-hub
17:55 Raven262 joined #minetest-hub
17:56 MaybeDragon joined #minetest-hub
18:03 nerzhul joined #minetest-hub
18:06 Raven262 joined #minetest-hub
18:07 Krock Mr_Pardison, reading the channel topic might be a good start. Then just don't ask for asking and go ahead providing as much information as compact you can
18:19 sniper338 joined #minetest-hub
18:37 Mr_Pardison joined #minetest-hub
18:59 Fixer reaching new level of offtopic
18:59 Mr_Pardison offtopic levels up.
19:00 Mr_Pardison what is the / mount point?
19:00 Mr_Pardison is that like your home directory?
19:00 Raven262 Thats root.
19:01 Raven262 the home dir is usually /home/username
19:01 Raven262 But its configurable.
19:01 Mr_Pardison ah.
19:03 Krock ~/ is the home dir too .. but shortened
19:03 Mr_Pardison I'm installing Fedora ATM
19:07 Krock ATM = anal torture machine?
19:07 Mr_Pardison XD nay
19:07 Krock someone in here came up with this term.. just don't remember who it was :(
19:07 Mr_Pardison so, what would the mount point name be for the home directory where all my downloads and stuff wil go?
19:07 Mr_Pardison *will
19:08 Krock you mount devices, not directories. Most likey you mean ~/Downloads/
19:09 Krock other stuff, like installed apps spread into multiple directories, "whereis <appname>" tells you more about that
19:11 Mr_Pardison I'm trying to install Fedora right now.
19:11 Mr_Pardison Manually partitioning the drives.
19:26 lisac joined #minetest-hub
19:31 Fixer NOBODY HERE
19:32 rubenwardy (y)
19:32 Fixer keyboard not found
19:39 Megaf im here
19:39 Megaf kinda
19:39 rubenwardy you're not there, at least
19:42 Mr_Pardison joined #minetest-hub
19:45 ImNotThere Mr_Pardison: so you are thinking about migrating to Linux?
19:46 Mr_Pardison Migrating?
19:46 Mr_Pardison I already did  with some of my other computers.
19:46 Mr_Pardison This one I had to backup my files since windows 10 refused to boot (tried to repair it and nothing worked) so I'm installing a new OS
19:47 Krock install gentoo
19:47 ImNotThere Mr_Pardison: so, if you just want a nice desktop OS that will just work after installing, then I suggest Linux Mint or OpenMandriva
19:48 Mr_Pardison I will try those out at a later time to see how they compare with Fedora as so far it seems to be nice and easy to use.
19:48 ImNotThere Mr_Pardison: Fedora is not user friendly
19:49 * Mr_Pardison sighs
19:49 ImNotThere it tried to be, but contemporany hardware requires a lot of proprietary stuff
19:49 ImNotThere that Fedora doesnt have
19:49 Mr_Pardison I'll try mint later today.
19:49 ImNotThere updates to your CPU microcode for example
19:49 ImNotThere are non-free stuff
19:49 ImNotThere if your CPU has a bug, it wont be updated
19:50 ImNotThere if you want decent 3D performance, you wont get it, because you need non-free firmware for it
19:50 IhrFussel Mr_Pardison, Ubuntu is not "slow" ... the default DE is just slow (Unity) but I think they said they will switch to a former one again... I personally use xfce with Ubuntu so my OS is called Xubuntu
19:50 ImNotThere Ubuntu is shit
19:50 * ImNotThere hides
19:50 IhrFussel No it's not...not sure what your problem is with that OS ... I use it since 2014 an it never crashed on me cause of a software bug
19:51 Mr_Pardison ermergerd.
19:51 Mr_Pardison I'll stick with Fedora for now and if I don't like it, I will try out Mint.
19:51 Mr_Pardison k?
19:51 Mr_Pardison joined #minetest-hub
19:51 IhrFussel Isn't Mint just a rebranded Ubuntu?
19:52 Mr_Pardison Mint w/ xfce
19:52 Mr_Pardison now that that is settled,  what's up?
19:52 ImNotHere IhrFussel: nope
19:52 ImNotHere Mint its quite its own thing now a days
19:53 IhrFussel It still uses Ubuntu repos
19:53 ImNotHere Mr_Pardison: XFCE is not user friednly either
19:53 Mr_Pardison fine.
19:53 Mr_Pardison kde?
19:53 ImNotHere you need some knowledge
19:53 Mr_Pardison I'm not new to using Linux.
19:53 ImNotHere Mr_Pardison: if you try Mint, then try the default DE, Cinnamon
19:53 ImNotHere Mr_Pardison: your questions show me you are very new
19:53 Mr_Pardison I have a working knowledge of how to use the CLI and stuff from there.
19:54 IhrFussel XFCE is basically Windows XP DE ... not a looker but fast
19:54 Mr_Pardison I've been stressed out lately. Seems my brain is either in a state of panic or is choking (not literally ofc)
19:55 ImNotHere Mr_Pardison: If you ask me, I'd use Minet Debian Edition with Mate
19:55 rubenwardy IhrFussel, with themes XFCE is nice
19:55 ImNotHere That's for a lightweight thing
19:55 rubenwardy you really need to theme XFCE
19:55 Mr_Pardison My computer is a dell Vostro
19:55 ImNotHere If you want something pretty and nice to use, then Minet with Cinnamon
19:55 rubenwardy XFCE is quite popular in r/unixporn
19:55 Mr_Pardison has an i5 4 core CPU
19:56 ImNotHere Mint*
19:56 rubenwardy not as much as i3
19:56 ImNotHere Mr_Pardison: you will be quite please with Mint with Cinnamon
19:56 ImNotHere pleased*
19:56 Wayward_One Mint Cinnamon is my go-to distro
19:56 Mr_Pardison I will have to try all these out and see what I think of them.
19:56 ImNotHere Cinnamon is somewhat similar to GNOME 3 that you are used to on Fedora
19:56 Mr_Pardison k?
19:56 ImNotHere just more polished
19:57 Mr_Pardison I'm used to the unity DE
19:57 ImNotHere and try to always use the distros default DE
19:57 IhrFussel There are 500+ Linux distros... you should probably use distrowatcher or some service to decide on your preferenced look
19:57 ImNotHere GNOME for Fedora and Debian, Cinnamon for Mint, KDE for OpenMandriva/Mageia
19:58 ImNotHere Now, everyone, try https://www.openmandriva.org
19:58 ImNotHere Mandriva was the distro that made me migrate to Linux
19:58 ImNotHere back in 2005
19:59 rubenwardy huh
19:59 rubenwardy CTF isn't on the server list...
19:59 ImNotHere I ditched Windows Server 2003 Enterprise Edition as main OS and migrated fully to Mandriva
19:59 ImNotHere Was already using Linux very often back then. But always dual booted.
20:00 rubenwardy 2017-12-05 01:58:26: ERROR[CurlFetch]: servers.minetest.net/announce not found (Couldn't connect to server) (response code 0)
20:00 rubenwardy grrr
20:00 ImNotHere https://gallery.openmandriva.org/index.php?/category/22
20:12 Megaf sofar: Hi
20:13 Megaf Hows your week going so far? (No pun intended)
21:04 Mr-Pardison g2g cya tomorrow peeps
21:04 Mr-Pardison left #minetest-hub
21:10 Fixer rubenwardy: xfce is one of those classical DE that is not perverted by """modern"""
21:11 * Jordach looks at KDE
21:11 Jordach KDE might survive too
21:13 lisac joined #minetest-hub
21:16 nerzhul joined #minetest-hub
21:25 Aerozoic joined #minetest-hub
21:27 Jordach anyone know how replacements work in recipes?
21:31 Jordach never mind
21:39 * Jordach had a minor panic
21:45 compunerd joined #minetest-hub
22:17 shivajiva rubenwardy: is that error with the latest code?
22:27 Megaf joined #minetest-hub
22:27 IhrFussel shivajiva, are you refering to the case-sensitive bug? I so then it's fixed (updated sauth yesterday)
22:28 IhrFussel If*
22:28 shivajiva https://github.com/shivajiva101/sban/issues/7
22:28 IhrFussel Oh okay then I can't help there =P
22:29 Megaf Greetings
22:29 shivajiva I'll catch that error but how does it even get to that point given the checks preceding it...
22:29 shivajiva Hiya Megaf
22:30 Megaf So I just plugged my Raspberry Pi to a power bank and wifi
22:30 Megaf 100% wireless server
22:30 Megaf oh boy, what a time to be alive
22:30 shivajiva lol :)
22:30 Megaf I conneted to IRC via my raspberry pi btw
22:31 Megaf running Quassel Core there and Quassel Client on macOS High Sierra Beta 6
22:31 Megaf 10.13.2 Beta (17C85a)
22:32 Megaf Nothing different from normal mac as far as I can tell...
22:39 sofar Megaf: busy, but fun so far
22:40 Megaf Glad in hear that
22:44 sofar https://i.imgur.com/nj6DIRo.jpg
22:45 nore sofar: is that your new house?
22:46 sofar no it's a random picture I found on the internet
22:46 sofar ;)
22:47 nore ^^
22:47 nore looks good anyway
22:50 Megaf joined #minetest-hub
22:52 Megaf powerbank battery just died
22:52 Megaf :P
22:55 rubenwardy shivajiva, no, it didn't have https://github.com/shivajiva101/sban/commit/0f2855883deac0955f8a5e838cd0d7a42c20eeed
22:55 rubenwardy that looks about right anyway
22:56 rubenwardy I suggest starting bug fixes commits with "Fix" :D
23:04 shivajiva :)
23:19 Fixer sofar: jeez, utility prices will be insane?
23:20 rubenwardy an entirely wood house is quite strange
23:20 rubenwardy I know it's common in the US
23:21 Fixer they have lots of wood
23:21 Fixer unlike europe
23:22 rubenwardy that makes sense, most of europe is denser
23:22 rubenwardy especially the UK
23:24 sofar Fixer: should be okay, very well insulated
23:25 sofar plus supplemental firewood is free
23:25 sofar there's like a cubic trillion ton of wood nearby
23:51 Megaf MinetestBot!
23:51 MinetestBot Megaf!
23:54 Megaf MinetestBot!
23:54 MinetestBot Megaf!
23:55 Megaf Watching Wonder Woman
23:55 Megaf It's... Interesting
23:55 benrob0329 Megaf: its a very good film imo
23:56 rubenwardy it's the only good recent film by DC
23:56 Megaf Im 44 min in
23:56 rubenwardy except the batman trilogy, not sure if that was directly by DC
23:56 Fixer what is DC?
23:56 rubenwardy it's the company behind batman, superman, and wonder woman
23:57 benrob0329 rubenwardy: haven't seen Justice League yet though
23:57 rubenwardy !g DC comic company
23:57 rubenwardy !ddg DC comic company
23:57 rubenwardy !b DC comic company
23:57 rubenwardy !title https://en.wikipedia.org/wiki/DC_Comics
23:57 MinetestBot rubenwardy: DC Comics - Wikipedia
23:58 Fixer finally stopped eye bleeding after Dwarf Fortress, to some degree
23:58 Fixer had to download bigger font
23:58 rubenwardy rimworld is really good
23:58 rubenwardy it's Dwarf Fortress but a game
23:59 rubenwardy https://rimworldgame.com/
23:59 rubenwardy it's proprietary though

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