Cuberite Forum
Random Chitchat 2017 - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html)
+--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html)
+--- Thread: Random Chitchat 2017 (/thread-2727.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


RE: Random Chitchat 2017 - Seadragon91 - 05-24-2017

Debugged a deadlock in the fuzzing plugin and found out that a the lua function loadfile has a problem with nil value.

Smaller code:
print("loading...")
loadfile(nil) -- DEADLOCK
print("loaded")

Edit: Also occurs on lua 5.3


RE: Random Chitchat 2017 - NiLSPACE - 05-24-2017

It's strange, but I doubt we can do much to fix it except removing it from the API.

I've grown tired of the syntax highlighter not working, so I put the Javascript and CSS files inside the thread template manually. Now the syntax highlighter works again. I noticed some weird behavior with the [code] and [url] tag after messing around with the settings, but it seems they are resolved now. There is also the issue where a quick edit with a shcode tag will result in Json being displayed inside the post, but that's a visual glitch which is resolved after reloading the page.


RE: Random Chitchat 2017 - xoft - 05-24-2017

It's not a deadlock. loadfile(), when called without valid parameters, loads the file from stdin.

Ref.: https://www.lua.org/manual/5.1/manual.html#pdf-loadfile

We should probably wrap the function in a wrapper that disallows the stdin reading and return an error instead. There are probably more functions with similar behavior.


RE: Random Chitchat 2017 - Seadragon91 - 05-25-2017

It really smelled like a deadlock Tongue
Yes adding a wrapper should be a good idea.


RE: Random Chitchat 2017 - Mathias - 05-30-2017

Minecraft 1.12 will be released on Friday.
https://twitter.com/jeb_/status/869477395916611584


RE: Random Chitchat 2017 - Mathias - 06-03-2017

(05-30-2017, 09:56 PM)Mathias Wrote: Minecraft 1.12 will be released on Friday.
https://twitter.com/jeb_/status/869477395916611584
I should've known better. https://twitter.com/Dinnerbone/status/870605873617526785


RE: Random Chitchat 2017 - Cl1608Ho - 06-05-2017

Apropos spam protection: best spam filter ever is still the one I enrolled on our forum a few month ago: single sign on with a custom user control serviceTongue mybb registration is locked down by an api key, there hasn't been one spammed in month. (to be fair, the old forum, flarum, didn't have Spammers before, just once, but I think it's the forum software that caused this)


RE: Random Chitchat 2017 - Seadragon91 - 06-06-2017

I got a e-mail from travis that a pull request that was merged in master failed. It's the lighting thread bug.
https://travis-ci.org/cuberite/cuberite/jobs/239116939#L3056


RE: Random Chitchat 2017 - xoft - 06-16-2017

On Tuesday we took a day off with my girlfriend and went for a hike. Great place (ring any bell, STR?), pity that the wind was rather strong, so I didn't dare fly the quadcopter in there, would have been a great video. Well at least I have a nice photo together Smile

[Image: _20170613_123843.jpg]


RE: Random Chitchat 2017 - NiLSPACE - 06-16-2017

Looks like it's just as beautiful as the day I was there Smile

I hope you both have a great time thereBig Grin