Minetest logo

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

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

All times shown according to UTC.

Time Nick Message
00:00 Wayward_One quite susceptible to tsunamis too
00:00 Shara I gave one admin on RC authorisation to delete such builds (or move them if they are actually quite nice)
00:01 Fixer CHA_CHA
00:01 Fixer Wayward_One: unless it is WE tsunami
00:02 Fixer on the other note
00:02 Wayward_One lol
00:04 Fixer insanity, new ADOM is 500mb in size
00:11 Fixer Raven262: how is that Craigs server clean up going? Is it REMOVE enough?
00:12 zorman2000 joined #minetest-hub
00:13 zorman2000 Hi all
00:13 zorman2000 How do I make an entity use a nodebox as model?
00:14 zorman2000 I know there's a way I'm just not sure how
00:15 zorman2000 Nevermind I figured out what to do... I was using Nodebox Editor and I can save to *.obj
00:16 zorman2000 Thanks anyways!
00:16 rubenwardy :D
00:16 rubenwardy lol
00:54 Calinou joined #minetest-hub
01:15 oOChainLynxOo joined #minetest-hub
01:41 ThomasMonroe joined #minetest-hub
01:45 rubenwardy Krock: extended protection radius to include the floor
01:45 rubenwardy oh
01:45 rubenwardy !tell Krock extended protection radius to include the floor
01:45 ShadowBot rubenwardy: O.K.
02:25 Calinou joined #minetest-hub
02:28 ThomasMonroe joined #minetest-hub
03:44 CalebDavis joined #minetest-hub
04:10 Calinou joined #minetest-hub
04:19 Calinou joined #minetest-hub
04:30 Calinou joined #minetest-hub
06:04 xerox123 joined #minetest-hub
08:32 Krock joined #minetest-hub
08:57 Calinou joined #minetest-hub
09:10 nerzhul joined #minetest-hub
09:45 Enricoo joined #minetest-hub
10:38 Megaf joined #minetest-hub
10:44 Enricoo joined #minetest-hub
10:56 Megaf joined #minetest-hub
10:57 Megaf Client: HexChat 2.12.4 • OS: Debian buster/sid • CPU: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz (1.93GHz) • Memory: Physical: 3.5 GiB Total (1.9 GiB Free) Swap: 520.7 MiB Total (495.2 MiB Free) • Storage: 63.2 GB / 121.3 GB (58.2 GB Free) • VGA: NVIDIA Corporation MCP89 [GeForce 320M] @ NVIDIA Corporation MCP89 HOST Bridge • Uptime: 11h 16m 8s
10:57 Megaf Am I the only one using that CPU?
10:58 neinwhal joined #minetest-hub
11:25 Fixer joined #minetest-hub
11:58 sniper338 joined #minetest-hub
12:09 IhrFussel joined #minetest-hub
12:22 Megaf It's always quite an adventure upgrade Debian releases
12:22 Megaf I'm upgrading my servers from Wheezy to Jessie
12:23 Megaf Not that I'm not happy with Wheezy, Wheezy is quite amazing. The problem is that on Wheezy I have to use Wheezy-Updates and Wheezy-Backports
12:23 Megaf on Jessie I can just use the main repo and the security updates, so is more stable and tested
12:24 Megaf also, Jessie will be LTS until April 2020
12:45 Calinou thank Debian LTS for making old software supported for even longer :^)
12:45 Calinou a
12:45 Calinou as if wasn't supported long enough already
12:45 Calinou (Ubuntu, I'm looking at you…)
12:46 Calinou Megaf: you might as well upgrade to Stretch, too :P
12:46 Megaf fuck, I fucking hate facebook
12:46 Megaf they broke HHVM "stable"
12:46 Megaf now my main website is down because I decided to upgrade HHVM
12:47 Calinou HHVM is no longer really supported by anyone
12:47 Megaf https://github.com/facebook/hhvm/i​ssues/8011#issuecomment-343734572
12:47 Calinou Symfony is dropping it, WordPress is dropping it
12:47 Calinou just use PHP 7
12:47 Calinou (on Debian 8, get a third-party repository for PHP 7)
12:47 Megaf I use HHVM as web server, I dont have lighttpd, nginx or apache in front of it
12:47 Megaf and I use a reverse proxy server in front of HHVM in another server
12:48 Megaf and PHP 7 work as a stand alone web server?
12:49 Calinou don't use HHVM as a web server, that sounds silly
12:49 Megaf http://php.net/manual/en/featu​res.commandline.webserver.php
12:49 Calinou same for PHP, python -m SimpleHTTPServer or that web server written in Bash!
12:49 Calinou use a proper nginx/Apache setup
12:49 Calinou I'm not saying this without reason; it is actually suited to production environments
12:49 Megaf Calinou, less layers, less complexity, less overhead, less security holes
12:49 Calinou HTTP/2 (with HTTPS) is supported on this one
12:49 Calinou not on your random, obscure web server that isn't intended for production
12:50 Megaf it's just a wordpress server
12:50 Calinou that doesn't mean you shouldn't care about security or performance :)
12:50 Calinou (because, yes, ad-hoc web servers are slow)
12:50 Calinou "The web server runs a only one single-threaded process, so PHP applications will stall if a request is blocked."
12:50 Calinou also, this ^
12:50 Calinou this is very common in the smaller web servers
12:51 Megaf well, back to R&D
12:52 Calinou it's not that hard to set up nginx or Apache :P
12:52 Calinou I use Apache on my VPS, because it plays better with random PHP software
12:52 Calinou (less setup)
12:52 Megaf Calinou, I've used Apache my whole life
12:53 Megaf then I migrated to Lighttpd, then nginx then finally decided, screw it, I'm using HHVM standalone
12:53 Megaf I think I'm going for Apache https://news.netcraft.com/archives/2017/0​2/27/february-2017-web-server-survey.html
12:54 Calinou lighttpd is meh
12:54 Calinou nginx is very nice as a reverse proxy or static web server. It's not as good as Apache for PHP, I found, though
12:54 Calinou (it can take a lot of time to respond to PHP requests, for some reason)
12:55 Megaf This https://news.netcraft.com/archives/2017/10​/26/october-2017-web-server-survey-13.html
12:55 Megaf Calinou, nginx is fast because it caches, but it drops its cache now and then taking long time to open PHP sometimes
12:57 Megaf Calinou, what flavour of apache are you using?
12:58 Calinou flavour?
12:58 Calinou the one from Ubuntu 16.04, recompiled with HTTP/2 support
12:58 Calinou no Brotli, though :(
12:58 Calinou I'll wait for 18.04 for that one, I guess
12:58 Megaf theres lots of types of apache
12:58 Megaf prefork and stuff
13:01 lisac I never figured out why people use bad login systems until I had to write my own login system
13:11 Jordach joined #minetest-hub
13:13 IhrFussel Calinou, lighttpd is not meh, it is extremely lightweight and you can spawn X amount of PHP processes
13:14 IhrFussel I don't see anything lighttpd doesn't support outside of very rare usecases
13:14 IhrFussel Apache is big and ugly IMO
13:15 IhrFussel Never used nginx but various websites see them as very similar (lighttpd vs nginx)
13:21 * Megaf high fives IhrFussel
13:21 Megaf Lighttpd for the win
13:25 sniper570 joined #minetest-hub
13:29 IhrFussel I'm not sure how well lighttpd handles big websites, but I never had a problem with it and I used it for multiple smaller sites so far
13:38 Megaf well, for now I will stay with HHVM, the nightly version works well
13:38 Megaf the stable is seg faulting
13:38 Megaf https://github.com/facebook/hhvm/i​ssues/8011#issuecomment-343734572
13:38 Megaf my own comment
13:39 Megaf Right now I'm busy writing a new script to build Minetest
13:43 Megaf This is what I've done so far. http://git.megaf.info/Megaf/Minetest_Irrlicht_LuaJ​IT_SQLite_For_Linux_Builder/src/Unstable/Build.sh
13:44 Megaf will write the LuaJIT build section now
13:44 Megaf Listening to this https://open.spotify.com/user/johanb​rook/playlist/2mtlhuFVOFMn6Ho3JmrLc2
13:45 Megaf And drinking wine
13:57 Calinou Megaf: I generally prefer not shortening variable names too much
13:57 Calinou SDIR can get confusing, wheras SOURCE_DIR is pretty self-explanatory
14:00 Megaf Calinou, that's why I commented all lines
14:00 Calinou a good script can be understood with few comments :)
14:05 Megaf left #minetest-hub
14:05 Megaf joined #minetest-hub
14:06 Megaf Calinou, Ok, open an issue suggesting that I will change that for the stable version..
14:06 * Megaf playing as ordinary stupid dev
14:07 Calinou that's good, creating issues will look good on my resume
14:07 Calinou :D
14:07 Megaf lol
14:16 Megaf That's a nice and long song https://open.spotify.com/tr​ack/31uidLEHAcF8Cw1cX1VCS8
14:33 Fixer Megaf: just use plain html and fuck everybody
14:33 Fixer Megaf: plain html is cool
14:34 Calinou that doesn't solve the web server issue :P
14:36 Fixer use usual tools
14:37 Calinou that's what I said
14:37 Fixer i'm tired of this bloated js shit that has 100 words text in it and size of 10 megabytes of shit and 1000m^2 in screen area
14:37 Calinou well, you would be happy to see my portfolio redesign
14:37 Fixer reader mode is good improvement
14:37 Calinou it's pretty simple and doesn't require JavaScript
14:37 Fixer i use it all the time
14:37 Calinou and jQuery isn't used at all
14:37 Fixer nice
14:38 Fixer every asshole wants this jshit for no reason for his 10 word blog with plain text
14:38 Calinou if you have JavaScript enabled, page switching is nearly instant thanks to Barba.js
14:39 Calinou (or even fully instant in many cases)
14:39 Fixer btw https://github.com/JustOff/ca-archive
14:39 Calinou lol https://github.com/JustOff/ca-archive/issues/1
14:39 Calinou glorious first issue
14:40 Calinou also, I'm fairly convinced WebExtensions is a Good Thing™
14:40 Calinou sure, DownThemAll! and the like no longer work
14:40 Calinou but we'll eventually get better things around :)
14:44 Fixer Calinou: mozilla will probably provide additional apis, WE is not a match for that XUL thing
14:44 Fixer Calinou: i'm loosing stuff like Scrapbook, WE alternatives are shit
14:45 Fixer Calinou: it will need lots of time to mature
14:45 Calinou Rome wasn't built in a day
14:46 Fixer Calinou: yeah, but those kinds of regressing transition are very shitty, you loose much of what you love and end up with shit that will need FUCKING YEARS to develope and they will probably never catch up
14:47 Fixer so i will need to move back to ESR or waterfox or smth to wait before it becames usable
14:47 Fixer lots of stuff is not ported
14:47 Fixer or still been ported
14:48 Fixer flashgot, noscript, tab mix plus, etc
14:48 Fixer or that weather plugin, it was nice when I seen current weather near menu for 5 days, now it is small shitty button nobody wants
14:48 Fixer because WE can't do shit
14:49 Fixer and mozilla needs to provide some apis for that
14:54 Calinou Fixer: well, Firefox ESR says hello
15:14 Fixer yep
15:14 Fixer need to move to ESR 52
15:14 Fixer very sad they don't do ESR 56
15:14 Fixer very bad
15:16 CWz joined #minetest-hub
15:19 Megaf meh, cmake doesnt check any of the libs/headers you point to
15:19 Megaf you can point to any directory, whether it exists or not
15:19 Megaf it will finish with no error at all
15:20 benrob0329 I dropped Firefox,when they dropped me :^)
15:21 Fixer make a moooooooooooooooooooooove
15:25 Fixer ready for ESR install
15:25 Fixer lets scroll
15:25 Krock Fixer, there you go https://pastebin.com/raw/wgUpUpWL
15:26 Fixer i hope ESR works with WE extensions
15:28 Fixer lost my tabs list, fuuuuuuuuck
15:28 Fixer but I can probably recover it
15:30 Fixer 100 tabs or so
15:30 Fixer ~_~
15:30 Megaf Opera Presto was the king of multi tabbing
15:30 Megaf multiple row tabs
15:30 Fixer Opera was good browser
15:30 Fixer they don't do it liket hat anymore
15:33 Megaf Is there anyway to make cmake set make install to also copy the used luajit and irrlicht libs to install dir?
15:35 Fixer Megaf: don't bother, copy them via your script.sh
15:35 Fixer .________________.
15:36 Fixer will install portable firefox and redo some things, like exporting list of that tabs
15:36 Fixer apart from that ESR works
15:38 Megaf bin/minetest: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
15:39 Megaf I have no idea where it got that file name from
15:39 Megaf since the right name would be ./LuaJIT/src/libluajit.so
15:40 Fixer just use buildbot.sh if you are on windows
15:41 sfan5 Megaf: it's probably the SONAME
15:42 Megaf and that error is new to me,
15:42 Megaf well, where should I put the .so so the binary can use it?
15:43 Megaf there should be a lib folder in minetest...
15:43 Megaf as pretty much any other software
15:44 Fixer minetest.exe itself should probably be in a root folder of the game
15:44 Fixer and libs in /bin or /lib
15:45 Fixer for windows at least
15:46 Megaf Fixer, I tried putting the lib in the bin folder, didnt work, and its Linux
15:46 Megaf anyway, will just make the script add the libs and create a launcher
15:46 Fixer https://www.youtube.com/watch?v=-RFunvF0mDw minetest development in one video :)
15:50 Fixer current state of WE addons in one quote: "Leaves a lot to be desired at the moment. Looking forward to seeing it grow."
15:57 Megaf Shara, :)
15:57 Shara :)
15:57 * Shara is always happy to see visiting tigers on RC
15:58 coyote1 joined #minetest-hub
15:58 Megaf <sfan5> Megaf: it's probably the SONAME
15:58 Megaf where?
15:58 Megaf in the Makefile files?
15:58 Megaf Shara, voice coyote1 please
15:58 Megaf Thanks
15:58 coyote1 thx
15:58 sfan5 when you compile luajit it probably has -Wl,-soname in the flags somewhere
15:58 IhrFussel My modified mod profiler now showed me that certain mesecons projects lag the server A LOT when they run... up to 200 ms PER STEP so I tried to reduce mesecons steps to 1 per second for now
15:58 Shara Hi there coyote1, and welcome
15:58 Megaf coyote1, so far this is the script. http://git.megaf.info/Megaf/Minetest_Irrlicht_LuaJ​IT_SQLite_For_Linux_Builder/src/Unstable/Build.sh
15:59 coyote1 wow, good work
15:59 sfan5 but instead of enforcing dynamic linking why not just link to luajit.a
16:00 Megaf sfan5, so you mean just pointing the CMAKE thing to .a instead of .so?
16:00 sfan5 yes
16:00 coyote1 i think you also can build sqlite3 in
16:00 Megaf -DLUA_LIBRARY=$LDIR/src/libluajit.so to -DLUA_LIBRARY=$LDIR/src/libluajit.a
16:00 Megaf coyote1, yep, next step,
16:02 Megaf compiling again using the static library
16:02 coyote1 can be jsoncpp optimized?
16:02 coyote1 why not?
16:02 Megaf coyote1, doing that already
16:03 Megaf coyote1, Im using built in jsoncpp, so it is optimized in the build
16:03 coyote1 ah,ok
16:03 Megaf [  1%] Linking CXX static library libjsoncpp.a
16:03 Megaf [  1%] Built target jsoncpp
16:04 Megaf sfan5, for some reason cmake is ignoring the option to use built in gmp
16:04 Megaf -- Using GMP provided by system.
16:04 Megaf -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.so
16:04 Megaf -DUSE_SYSTEM_GMP=0
16:04 sfan5 it's ENABLE_SYSTEM_GMP
16:05 Megaf so why cmake doesnt complain about not recognized specified option?
16:05 Megaf as it does with any other thing you misspell
16:05 Megaf and why json is is USE and GMP us ENABLE?
16:06 Megaf have you ever heard about consistency?
16:06 * Megaf is talking shit again
16:06 coyote1 that's cmake :)
16:06 * Megaf hides
16:06 Megaf coyote1, no, I'm mistaken
16:07 Megaf I'm right in the part that cmake does complain, but the consitency part I'm wrong
16:07 Megaf it's enable for json too
16:07 Megaf sfan5, sorry and thanks
16:07 sfan5 the USE_* things are internal and overwritten by the code, so cmake won't complain
16:08 Megaf -- Detecting GMP from system disabled! (ENABLE_SYSTEM_GMP=0)
16:08 Megaf -- Using bundled mini-gmp library.
16:08 Megaf bettrer
16:09 coyote1 minigmp?
16:09 coyote1 wow
16:10 Megaf coyote1, I like the way you think, like me :P
16:10 Megaf all you suggested are things I'd done
16:10 coyote1 very good
16:11 Megaf I wonder what else could give performance gains, libpng and libjpg?
16:11 Megaf curl?
16:11 coyote1 i'm making config for old android phones
16:11 coyote1 libpng can, but it will not be very big
16:11 coyote1 i think
16:11 Megaf I'm planning in making my script more modular, so it would be possible, in theory, to addapt it to any platform
16:12 coyote1 it will work for all windowses
16:12 Megaf I think sqlite, luajit and irrlicht are the most important parts to be optimized
16:12 coyote1 oops
16:12 coyote1 linuxes!
16:12 Megaf coyote1, I have a script for windows too
16:13 coyote1 windows users probably don't think about performancy
16:13 Megaf coyote1, pretty sure my script is broken tho http://git.megaf.info/Megaf/BuildBot64/src/master/
16:14 Megaf It was forked from the original buildbot
16:14 Megaf gotta love the speed of my gitserver
16:16 coyote1 how's it going?
16:16 Fixer minetest is doing
16:16 Megaf right now I'm building MT again using the new cmake flags for luajit and gmp
16:17 Megaf hopefully it will now work without any ld library hacks
16:18 Megaf coyote1, if this works, then the next think I will do is add sqlite to the script
16:18 coyote1 waiting :)
16:22 Megaf Cool, it works
16:23 Megaf will release a stable version of the script now
16:23 Fixer moved open tabs to ESR, yay
16:24 Megaf Not sure how to create a new branch
16:26 Megaf anyway, you can git clone http://git.megaf.info/Megaf/Minetest_Ir​rlicht_LuaJIT_SQLite_For_Linux_Builder
16:26 Megaf should work on any Linux/UNIX if you already have svn, git and deps installed
16:30 Megaf coyote1, Not sure if I will be able to include sqlite
16:30 Megaf I need to find a svn/git repo for it with stable branch
16:31 Megaf they use fossil
16:31 Megaf blah
16:31 Megaf too much work
16:32 coyote1 why luajit 2.0?
16:32 coyote1 oops
16:32 coyote1 understood
16:33 coyote1 at the end script should echo "Done"
16:33 nerzhul joined #minetest-hub
16:34 coyote1 we need a kernel for minetest only :D
16:36 Megaf <coyote1> at the end script should echo "Done"
16:37 Megaf that's on the TODO
16:37 Megaf <coyote1> we need a kernel for minetest only :D
16:37 Megaf Working on it
16:37 coyote1 and full os
16:37 coyote1 with the special minetest processor
16:37 coyote1 hardware minetest :O
16:38 sfan5 https://fun.irq.dk/funroll-loops.org/
16:38 Megaf retesting the latest version of the script here (with new variable names) (not yet on Git)
16:39 coyote1 also unittests can be disables
16:39 coyote1 d
16:40 Megaf sfan5, should use the flag --omg-optimized for sure
16:42 coyote1 works fast :)
16:42 coyote1 if anyone writes sdl2 backed for irrlicht
16:42 coyote1 ...
16:42 Megaf "I'm currently isntalling Gentoo from stage 1 on 300Mhz laptop with 128 megs of RAM. And the compilation is not an issue. That guy sounds like he plans to do all the compiling during the time he would normally be using the computer. Why not do like I did? I started the bootstrap when I was on my way to bed. In the morning, it was finished. Before I went to work, I emerged system. When I got back home, it was done. X and Fluxbox were both installed
16:42 Megaf during the night, no problems there. I didn't lose any time compiling all that software."
16:42 Megaf Sounds like me when building FlightGear ^
16:44 coyote1 lets try minetest on this
16:44 coyote1 2017-11-12 22:44:14: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
16:44 coyote1 there are lots of this warning :)
16:44 Megaf coyote1, thats mods/server/subgame issue
16:45 Megaf or limbpng issue...
16:45 Megaf libpng*
16:45 coyote1 i think yes
16:45 Megaf but just ignore those
16:46 coyote1 on RedCat's server works at fps 30-40
16:46 Fixer Typical Japanese WebSite: https://crystalmark.info/softwa​re/CrystalDiskInfo/index-e.html
16:46 Megaf coyote1, and how does it compares to a normal Minetest build?
16:46 coyote1 but performance somehow upper
16:46 Megaf at least the feeling of it
16:47 Fixer "SAMSUNG HD155UI/HD204UI has data loss bug." nice
16:47 Megaf does it stutter less?
16:47 coyote1 +5-10% of performance
16:47 Shara coyote1: Do you mean RedCat performance is good or bad for you?
16:47 coyote1 RedCat is a server
16:47 Darcidride joined #minetest-hub
16:47 Shara Yes, I know. It's mine :P
16:47 Fixer oh, they open source it too o_O
16:47 coyote1 Shara: hi
16:48 Shara That's why I'm curious if you meant that was good or bad.
16:48 coyote1 Shara: what good/bad?
16:48 coyote1 performance? better :)
16:48 Shara You said fps was 30 to 40
16:49 coyote1 yes, it's normal
16:49 Shara Okay.
16:49 coyote1 my notebook is 6 year old
16:50 coyote1 so, i prefer to play on 30 fps :)
16:51 Shara Makes sense :)
16:51 coyote1 oh yes
16:51 Megaf coyote1, sfan5 http://git.megaf.info/Megaf/Minetest_Irrli​cht_LuaJIT_SQLite_For_Linux_Builder/commit​/ea979e79692d5a1d00ce4f8f4926c1f3cd46e3da
16:51 Megaf happy?
16:51 coyote1 let's try on my configuration...
16:51 Megaf coyote1, my is 7 years old
16:51 Megaf Client: HexChat 2.12.4 • OS: Debian buster/sid • CPU: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz (1.59GHz) • Memory: Physical: 3.5 GiB Total (1.9 GiB Free) Swap: 520.7 MiB Total (259.6 MiB Free) • Storage: 62.5 GB / 121.3 GB (58.8 GB Free) • VGA: NVIDIA Corporation MCP89 [GeForce 320M] @ NVIDIA Corporation MCP89 HOST Bridge • Uptime: 17h 10m 49s
16:52 coyote1 as my
16:52 coyote1 how to get the same output?
16:53 Megaf coyote1, I'm using HexChat, the command is /sysinfo
16:53 coyote1 pidgin, nope :(
16:54 coyote1 but same as your, with amd
16:54 coyote1 my home is very warm :)
16:59 Megaf added license to the code
16:59 Megaf lets work on the sqlite part now
17:00 Fixer https://crystalmark.info/software/Cr​ystalDiskInfo/manual-en/History.html o_O
17:01 Rodger I have a new mod! https://github.com/rdococ/fake_liquids (and, yes, in case you were sleeping while I grouped this nick into my account, I am rdococ).
17:03 IhrFussel The globalstep of the fire mod takes 3-5 ms to execute by the way ... that's quite a bit considering defazlt steps are 90ms
17:03 IhrFussel default*
17:06 Megaf how do I tell unzip the dir where I want the zip to be extract to?
17:06 Megaf instead of it using the name in the zip itself
17:06 Megaf for example, sqlite.zip is extracted to sqlite-amalgamation-3210000
17:07 Megaf I want it to be extracted to SQLite
17:07 Fixer [2015/05/06] Added XP/2003 support
17:07 Fixer noice
17:07 Fixer if only minetest supported windows xp :trollface:
17:07 Megaf I have no idea what you talking about Fixer
17:07 Megaf and I think my build supports XP
17:08 Megaf just 64 bit tho
17:08 Fixer Megaf: reviewing crystaldiscmark/info hdd benchmarking tools
17:10 Fixer they are opensource for now
17:10 Fixer wonder if can be ported to linux
17:15 Megaf that can be tricky, depends on how it works
17:15 Megaf and the calls it makes
17:18 Megaf coyote1, I have no idea how to build sqlite.... http://git.megaf.info/Megaf/Gi​tPaste/raw/master/BUILD_SQlite
17:19 coyote1 ow
17:20 coyote1 i have to try this
17:20 paramat joined #minetest-hub
17:21 Megaf coyote1, I got it
17:21 coyote1 https://sqlite.org/compile.html
17:21 coyote1 wow
17:22 coyote1 there's lot of options
17:22 coyote1 Setting -DSQLITE_THREADSAFE=0 causes all of the mutex and thread-safety logic in SQLite to be omitted.  This is the single compile-time option that makes the most difference in optimizing the performance of SQLite.
17:22 coyote1 omit this?
17:27 Megaf ok, I figured out the part to get the source, now the building part
17:29 Megaf <coyote1> Setting -DSQLITE_THREADSAFE=0 causes all of the mutex and thread-safety logic in SQLite to be omitted.  This is the single compile-time option that makes the most difference in optimizing the performance of SQLite.
17:29 Megaf that on MT CMAKE?
17:30 coyote1 #error SQLite will not work correctly with the -ffast-math option of GCC.
17:30 coyote1 no, on compiletimeconfig
17:31 coyote1 of sqlite
17:31 coyote1 https://sqlite.org/compile.html
17:31 Megaf yep
17:31 Megaf Im there too now
17:31 Megaf coyote1, you doing configure  -DSQLITE_THREADSAFE=0?
17:31 Megaf How are you passing flags to configure?
17:32 coyote1 i think these configs can be found interesting for us
17:32 coyote1 emm, i don't know how
17:32 coyote1 i just read compile.html
17:33 coyote1 try to pass for make
17:34 Megaf if you wait a bit, I'm playing around here, but first got to get the download and extract thing proper on the script
17:35 Calinou Fixer: CrystalDiskInfo/CrystalDiskMark rely on a lot of system APIs
17:35 Calinou and the GUI is rendered using Windows APIs
17:35 Calinou so, no
17:36 Calinou coyote1: you can use "sqlite_synchronous = 0" if you do not care about data integrity much
17:36 Calinou (make backups often if using this!)
17:36 Calinou (that's a minetest.conf setting)
17:36 Calinou or, better, use PostgreSQL :P
17:36 coyote1 Or redis
17:37 coyote1 what's fastest database for minetest on the world can be (ritorically)
17:37 Calinou https://wiki.minetest.net/Database_backends
17:37 Calinou PostgreSQL is easier on the RAM
17:37 Calinou and should be nearly as fast as Redis
17:37 coyote1 i think one can use dummy, but on exit save it
17:37 Calinou (and easier to set up, since it's more widely available)
17:37 Calinou the player data also goes to the database, when using PostgreSQL, which is not the case with Redis
17:38 coyote1 what about other dbs?
17:38 coyote1 not supported in mt?
17:39 Megaf coyote1, I think you can just pass --disable-threadsafe  to configure
17:39 coyote1 i have an idea
17:39 coyote1 use dummy backend, but on exit save a world on exit
17:41 Calinou coyote1: LevelDB is still supported today
17:41 Calinou but there's not much use in using it
17:41 Calinou singleplayer doesn't really require anything else than SQLite
17:41 Rodger dummy backend is for dummies ;)
17:41 Calinou Rodger: the CTF server uses the dummy backend, as it does not need to save world data :)
17:41 Megaf coyote1, you just described REDIS
17:41 Megaf <coyote1> use dummy backend, but on exit save a world on exit
17:41 Megaf it will keep all in mem
17:42 coyote1 database is needed for servers, big servers
17:42 coyote1 emm, how to force it to use other backend?
17:43 coyote1 Calinou: will add it on wiki :)
17:43 Rodger Calinou: I'm aware of that ;)
17:45 Calinou coyote1: it's already on the wiki
17:45 Calinou I just edited the page a bit, btw
17:45 Calinou (grammer fixes, use of ✔ for checkmark)
17:45 coyote1 i'm about ctf mode
17:48 Megaf sfan5, any idea how do I use the option SQLITE_OMIT_SHARED_CACHE in configure for SQLITE?
17:48 sfan5 nope
17:48 Megaf for SQLITE_THREADSAFE=0 there is --disable-threadsafe
17:48 Megaf I have no idea how to use these VARs https://www.sqlite.org/comp​ile.html#omit_shared_cache
17:49 neinwhal joined #minetest-hub
17:57 coyote1 will 0.5's api be stable
17:58 coyote1 i wanna make a zombie game
17:58 Calinou API stability is not guaranteed in Minetest, IIRC
17:58 Calinou at least, not until 1.0
17:58 coyote1 why not 1.0? :D
17:59 coyote1 i think our code is not very bad
18:02 Megaf coyote1, you still playing with sqlite?
18:03 Megaf or did you give up already?
18:14 Megaf coyote down!
18:14 Megaf CFLAGS="-march=native -mfpmath=both -Ofast -pipe -fomit-frame-pointer -funroll-loops -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_SHARED_CACHE" CPPFLAGS="-march=native -mfpmath=both -Ofast -pipe -fomit-frame-pointer -funroll-loops -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_SHARED_CACHE" $SQLITE_SOURCE_DIR/configure --prefix="$SQLITE_INSTALL_DIR" --disable-threadsafe --disable-tcl --disable-load-extension
18:14 Megaf this should do
18:15 rubenwardy Calinou: we don't use semvar. Whilst we don't declare any guarantees, our scheme is probably closest to 0.major.minor
18:15 rubenwardy So there will be API breakages in 0.5 - naming to do with player models - it is to be minimised so most mods will continue to work
18:16 rubenwardy *namely
18:27 Megaf Get up get up! https://open.spotify.com/tr​ack/5PEZJMU4xfiSNwT26JhHnL
18:31 Megaf on youtube https://www.youtube.com/watch?v=XsZDWNk_RIA
18:35 Megaf joined #minetest-hub
18:45 Megaf WOW
18:45 Megaf I cant believe Linux recovered from that
18:47 Megaf compiling sqlite myself actually did speed up world generation
18:47 Megaf interesting
18:49 Calinou recent SQLite versions are a bit faster
18:50 Calinou (5-15%)
18:50 Calinou -march=native helps a bit too (up to 5%)
18:51 IhrFussel joined #minetest-hub
18:55 Rodger ◕ヮ◕
19:17 Fixer VanessaE: you still against idea of including unifieddyes in homedecor modpack? modpacks should not have external dependancies like this, it is silly :) Even if you got two unifieddyes in Dreambuilder, it is like 200kilobyte of space wasted, only one will be used anyway
19:21 rubenwardy surely unifieddyes is an optional dependency anyway?
19:21 rubenwardy doesn't make sense for creative servers with no need to craft things
19:22 Shara Would be nice if more mods considered things like that, but they rarely do
19:25 Fixer rubenwardy: modpacks external dependancy is silly idea in general
19:26 rubenwardy Fixer, shouldn't be a dependency
19:26 rubenwardy and external dependencies are fine
19:26 rubenwardy Minetest just has shit package management
19:26 Fixer rubenwardy: just include in modpack, why this silliness with those dyes?
19:27 Shara You could always have more than one modpack which needs the same mod
19:27 Fixer rubenwardy: very shit, it has to change, unusable
19:27 Shara It's not at all unusable even if not perfect
19:27 Fixer rubenwardy: in windows you need separate minetest folders for each modpacks, on linux - no idea, probably you are fucked
19:28 Fixer Shara: unless you install other modpack, or have some lone mod that is outside of modpack, etc
19:28 Fixer shitty system
19:29 Shara Fixer: I'm handling a couple hundred mods for my servers, and though I agree it could certainly better, it's certainly not unusable.
19:29 Shara be better*
19:29 Fixer Shara: i'm a player, if i install different modpack, it should just work
19:29 Fixer and it is not
19:30 Shara actually no, there's no reason why a modpack should just work
19:30 Fixer because it does not take folders into account, it just loads random (or whatever) mod (if there are many)
19:30 Shara That's saying a modpack can't depend on anything
19:31 rubenwardy FFS MINETEST.RU
19:31 rubenwardy ARGH
19:31 Fixer Shara: modpack has silly mod, there is also silly mod outside of this modpack (but little different), modpack is enabled, yet it still uses wrong silly mod
19:31 Fixer rubenwardy: >COM
19:31 Fixer rubenwardy: >ORG
19:32 Fixer it is on anything, but not on hipster friendly .io
19:32 Fixer minetest.io
19:32 Shara Fixer: that's different from bloating modpacks just because you don't  want to need to add one extra mod yourself
19:32 rubenwardy please stop pinging me so often, it's very annoying
19:32 Fixer rubenwardy: yellow lines are too annoying?
19:32 Megaf Shara, what happened to Coyote?
19:33 Fixer Shara: it is not bloat, it requires that damn unifieddyes thing
19:33 Shara Megaf: No idea. Signed out?
19:33 Fixer but i have for some reason need to download it separately
19:33 Shara Fixer: then correct fix what be what ruben asked for.
19:33 Megaf Timeout and not back yet, is he in your server?
19:34 Shara I don't know. Check on server list or join server channel where you can see? :P
19:34 Megaf lol
19:35 Fixer sure, compared to minecraft, enabling modpack in minetest is easy, but it has some flies in the soup
19:35 Fixer why not take out that flies?
19:35 Shara Fixer: sure, would be nice, but fixing doesn't come from doubling up mods or bloating things
19:36 Fixer maybe nobody cares that much, DreamB does not even run properly on windows, and who uses those other modpacks? 2.5 anonymous minetest players
19:36 Shara I use several modpacks on my servers
19:36 Fixer Shara: unifieddyes is not related to modpack problems, it is this certain modpack problem, it can store unifieddyes in itself
19:37 Fixer it is player hostile
19:37 HandyAndy joined #minetest-hub
19:37 Shara The modpack shouldn't depend on it
19:38 Fixer in readme it says it requires unifieddyes and minetest itself
19:39 Megaf ok, that's better! http://git.megaf.info/Megaf/Minetest_Irrlicht_LuaJ​IT_SQLite_For_Linux_Builder/src/Unstable/Build.sh
19:39 Shara Fixer: Yet I'm running slightly edited version of homedecor with no unifieddyes and no troubles
19:39 Fixer yeah, but I'm talking about official
19:40 Fixer it is silly that some 20mb mod (or such) requires 200kbyte external dependancy just because
19:40 Fixer modpack*
19:40 Shara and to repeat myself yet again - official shouldn't actual require it either
19:40 Shara actually*
19:41 Megaf Agreed
19:42 Shara A lot of mods require things they don't actually really need
19:42 Fixer it is like unifieddyes is big ass megaimportant addon that I need to waste my time downloading while it can be optional or included in modpack itself (it is 200kbyte in size)
19:42 Shara Better to make them optional depends when possible and  open up some fleixibility
19:42 Shara flexibility*
19:46 Megaf * Shara is always happy to see visiting tigers on RC
19:46 Megaf Had totally missed that
19:46 Megaf my answer to that is...
19:46 Megaf :D
19:47 Shara :D
19:48 Megaf well, this last version seems to work very well, just some line spaces to be improved and then I think the script is done.
19:49 Megaf http://git.megaf.info/Megaf/Minetest_Irrlicht_LuaJ​IT_SQLite_For_Linux_Builder/src/Unstable/Build.sh
19:49 Megaf Anyone willing to test it?
19:49 Megaf You need to have install git, wget, zip and tar
19:49 Megaf and regular mt deps...
19:51 Megaf meh, been working on this thing for 7 hours already
19:52 shivajiva I see the build flags are candidates for variables Megaf :)
19:53 Megaf shivajiva, Usually I used them as variables, until I made a script to install FlightGear, and flags wouldnt work as variables for some bizarre reason when compiling one of the dependencies.
19:54 shivajiva that's good to know, I'll file that for when stuff doesn't want to play
19:55 Megaf shivajiva, here, http://git.megaf.info/Megaf/FlightGear_Bui​lder_For_Debian/src/master/Build_FG.sh#L30
19:56 Megaf this part wouldnt take flags as variables
19:56 Megaf and I duplicated them on make yes
20:24 Calinou joined #minetest-hub
20:34 shivajiva must be in the way bash handles the substitution Megaf
20:41 oOChainLynxOo joined #minetest-hub
20:48 ThomasMonroe joined #minetest-hub
21:14 Megaf shivajiva, but is weird regardless
21:46 ImNotHere joined #minetest-hub
22:27 paramat joined #minetest-hub
22:59 Raven262 joined #minetest-hub
23:51 Grandolf joined #minetest-hub
23:51 Grandolf joined #minetest-hub
23:59 lhofhansl joined #minetest-hub

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