Time |
Nick |
Message |
00:01 |
|
bigfoot548 joined #minetest-hub |
00:11 |
|
paramat joined #minetest-hub |
00:43 |
|
RichardTheTurd joined #minetest-hub |
01:19 |
|
lumidify_ joined #minetest-hub |
01:35 |
|
ssieb joined #minetest-hub |
02:05 |
Sokomine |
is there anything that uses the 8-color palette for colorfacedir? |
02:06 |
Sokomine |
or, rather: does anyone have a suitable palette at hand? these 8-pixel-color things? |
02:18 |
paramat |
i linked you to one the other night |
02:19 |
paramat |
as easy to make as a texture is |
02:22 |
* Sokomine |
hides |
02:22 |
Sokomine |
making a texture isn't easy |
02:22 |
paramat |
ok .. |
02:23 |
paramat |
https://github.com/DS-Minetest/minetest_game/blob/861e4c4ee6a05990863a4ae3aade74022a63bf7c/mods/beds/textures/beds_palette.png |
02:23 |
paramat |
but the white is off-white, more cream |
02:23 |
paramat |
you could edit the pixels in an image editor if needed |
02:24 |
benrob0329 |
http://imgur.com/a/6ukgJ |
02:28 |
Sokomine |
the main problem is that white isn't the first color. other colors may need adjustments as well |
02:29 |
paramat |
you'll have to learn to use an image editor, it's not difficult :] |
02:35 |
Sokomine |
they conspire against me :) |
02:35 |
Sokomine |
but yes, maybe i will have to eventually... |
02:36 |
benrob0329 |
Gimp ftw |
02:38 |
paramat |
are you on linux? gimp is excellent |
02:38 |
Sokomine |
i've run gimp a few times, but never got further than applying very simple filters |
02:47 |
paramat |
i found it beginner-friendly, many MT modders use it |
02:50 |
benrob0329 |
There is also Krita, though it is more drawing/painting orientated |
02:57 |
Sokomine |
i have no idea why i'm so unable to draw with a computer. i have no trouble with more physical means like pencil, brushes and so on. i'm no artist (far from it) but it's good enough. trying to draw with the mouse somehow just doesn't work for me at all |
02:58 |
paramat |
not for me either, but you don't have to 'draw' like with a pencil |
02:58 |
Sokomine |
maybe that's one of the reasons why it seems so difficult |
02:58 |
paramat |
just enlarge the texture to 1600% and click each pixel |
02:59 |
paramat |
ii'm a lifelong drawer but if i try to 'draw' with a mouse just get a horrible random line |
02:59 |
paramat |
*i'm |
02:59 |
Sokomine |
yes, enlarging the texture that much did work. clicking on a pixel doesn't seem to do much. maybe a not too large color-selection menu ought to pop up |
03:00 |
paramat |
well i mean, work per-pixel using the pencil tool and the colour creation menu |
03:01 |
Sokomine |
seems i managed to loose the worktools window somehow |
03:02 |
benrob0329 |
Sokomine: window->single window mode |
03:04 |
Sokomine |
i found something which would translate as "color table window". that even shoed the color code in hex and allowed me to change one color. that's some progress at last |
03:06 |
Sokomine |
ah. that single window mode looks promising |
03:07 |
benrob0329 |
Sokomine: https://youtu.be/ZZr8mBLiY8Y |
03:08 |
benrob0329 |
Basic tutorial for you :-) |
03:10 |
Sokomine |
that color palette i found seems to be helpful. it allows me to enter color names and color codes in hex for the palette. seems to work in this case |
03:20 |
|
Natechip joined #minetest-hub |
03:20 |
|
Natechip joined #minetest-hub |
04:26 |
Sokomine |
results of playing with colorfacedir (and others): http://picpaste.com/pics/bunt1-yW7yKAK8.1501820782.jpg |
07:10 |
|
CWz joined #minetest-hub |
07:30 |
|
tenplus1 joined #minetest-hub |
07:30 |
tenplus1 |
hi folks |
07:55 |
CWz |
Ello |
07:56 |
tenplus1 |
hi CWz |
09:52 |
|
cx384 joined #minetest-hub |
09:52 |
tenplus1 |
hi cx |
09:55 |
cx384 |
hi |
09:56 |
tenplus1 |
Mobs API updated (pathfinding fixes), Lucky Blocks updated (code tweaks), PlayerPlus updated (on_walk_over support). |
10:01 |
|
DS-minetest joined #minetest-hub |
10:01 |
tenplus1 |
hi DS |
10:02 |
DS-minetest |
hi |
10:06 |
Raven262 |
Hi tenplus1 |
10:07 |
tenplus1 |
hi raven :0 |
10:59 |
|
DS-minetest joined #minetest-hub |
11:04 |
|
Jordach joined #minetest-hub |
11:15 |
|
Bobr joined #minetest-hub |
11:35 |
|
Fixer joined #minetest-hub |
11:42 |
|
ThomasMonroe joined #minetest-hub |
11:45 |
Fixer |
+38*C ^_^ |
11:47 |
|
CalebDavis joined #minetest-hub |
12:11 |
Calinou |
https://lut.im/01wkdshstH/yrmzYE0tXggE1h9H.png |
12:11 |
Calinou |
weather here ^ |
12:26 |
Fixer |
weather here v |
12:26 |
Fixer |
http://i0.kym-cdn.com/photos/images/newsfeed/000/614/575/7c7.png |
12:27 |
Fixer |
lol +23c |
12:27 |
Fixer |
+27/+12 |
12:27 |
Fixer |
lololol |
12:28 |
Fixer |
i have like +40/+30(at night) |
13:52 |
|
Megaf joined #minetest-hub |
14:46 |
|
soupfly joined #minetest-hub |
14:57 |
|
IhrFussel joined #minetest-hub |
14:57 |
IhrFussel |
This stupid HUD bug happens DAILY now for some reason...I guess I'll have to file an issue |
15:00 |
IhrFussel |
What's the best way to word it? "Unexpected HUD statbars behavior in certain situations"? |
15:01 |
|
cx384 joined #minetest-hub |
15:02 |
|
tenplus1 joined #minetest-hub |
15:02 |
tenplus1 |
hi folks |
15:04 |
tenplus1 |
for anyone interested, Mobs Redo API, Mobs Animals, Lucky Blocks, PlayerPlus, Teleport Potion and Simple Skins updated! |
15:06 |
|
DS-minetest joined #minetest-hub |
15:08 |
tenplus1 |
wb DS |
15:08 |
IhrFussel |
https://github.com/minetest/minetest/issues/6204 |
15:09 |
tenplus1 |
hi Fussel |
15:09 |
tenplus1 |
weird issue, no other mods interfering with hud ? |
15:09 |
DS-minetest |
thx tenplus1 |
15:12 |
IhrFussel |
tenplus1, I don't think this can be a mod issue if it works normally for 5 hours and then suddenly starts to bug |
15:13 |
tenplus1 |
out of curiosity, what other mods are you running that uses hud ?? |
15:13 |
IhrFussel |
I should mention that I show multiple statbars + 3 text HUDs at ALL times |
15:14 |
IhrFussel |
No mod is causing it, it started happening since I added my recent text HUD I think...my HUD doesn't depend on the hud mod it is standalone |
15:15 |
tenplus1 |
until you find the true cause dont rule anything out just yet |
15:15 |
IhrFussel |
And the "hud" mod statbars worked correctly until recently...my guess is the engine sometimes cannot handle all my HUDs and freaks out |
15:16 |
IhrFussel |
Can you tell me how a mod is supposed to cause IDs getting switched around? |
15:17 |
IhrFussel |
AFAIK mods don't have the power to modify foreign HUD IDs without using their exact definition |
15:18 |
tenplus1 |
:P |
15:20 |
IhrFussel |
It is happening right now on my client...I have no health meter because it is my armor meter |
15:21 |
tenplus1 |
sounds like an id is getting mixed up and overwritten |
15:22 |
IhrFussel |
It happens to multiple statbar HUDs at once...armor = air, air = gone, health = armor, stamina = empty |
15:23 |
IhrFussel |
The stamina mod also doesn't use the hud mod as framework AFAIK...so why would it be affected if it was a mod error? |
15:24 |
tenplus1 |
gotta check code for each of the HUD mods until you find the culprit |
15:25 |
CalebDavis |
thx ten |
15:28 |
tenplus1 |
:P |
15:28 |
shivajiva |
it's pretty easy to break minetest by adding global functions with matching names in diff mods, hope that's not the case |
15:29 |
shivajiva |
Hi ten :P |
15:29 |
tenplus1 |
might be... hi shiva |
15:29 |
CalebDavis |
hi shiva |
15:29 |
shivajiva |
Hi CalebDavis :) |
15:30 |
benrob0329 |
shivajiva: isnt that why you put your functions in a table? |
15:30 |
shivajiva |
exactly benrob :) |
15:30 |
tenplus1 |
good idea.... in fussels case if could be a global HUD variable/table |
15:32 |
benrob0329 |
Doing so basically gives you a per mod namespace |
15:32 |
IhrFussel |
It started happening after I added my most recent text HUD on the player screen, which is why I'm strongly suspecting a "too many huds" bug ... I didn't add any new hud mods and also didn't modify hud mods or global variables from hud mods |
15:33 |
shivajiva |
how many is too many? |
15:34 |
tenplus1 |
I've seen servers with health, hunger, air, armor, mana, sprint, darkness and time in corner and it all works |
15:35 |
shivajiva |
if you disable the latest addition does it work as expected again? |
15:37 |
IhrFussel |
armor,stamina,health,air,protections,quests and time/event ... I don't see how my text HUD could've caused it..it's a simple text HUD like my time/event one |
15:38 |
benrob0329 |
Idea: rather than placing an ugly box around everything, change the crosshair when you can hut something with the currently wielded item |
15:38 |
tenplus1 |
but does it work fine when you disable it ? |
15:39 |
IhrFussel |
Like I said it doesn't happen right away, it takes some time to occur...the HUDs work/update fine for a long time and then SUDDENLY they get mixed up |
15:40 |
tenplus1 |
can you show the code for your hud changes ? |
15:42 |
IhrFussel |
This is the most recent HUD https://pastebin.com/95a9G97c |
15:44 |
IhrFussel |
My server uses 0.4.16-dev from June but it happens on dev client and stable client |
15:46 |
tenplus1 |
seems ok, is that a quest mod on forum ?? http://dev.minetest.net/HUD |
15:48 |
IhrFussel |
No the mod is my own coded and all statbars worked fine before I added that HUD...maybe my HUD isn't causing it and it's just a coincidence but it should be noted that the "wrong HUD IDs" thing only happens to statbars it seems...the text HUDs continue to work as expected |
15:49 |
shivajiva |
interesting |
15:50 |
Sokomine |
was the range at which objects can be placed reduced? |
15:51 |
tenplus1 |
I remember something about circular reach, but am not sure... hi sokomine |
15:54 |
tenplus1 |
IhrFussel: do you have your mod on github in full ? |
15:56 |
IhrFussel |
tenplus1, no but you can imagine a simple quest mod that adds a text HUD on joinplayer, checks every X secs if a player completed a quest and if so gives out a new one and a command that let's players enable/disable that HUD ... that's it |
15:57 |
tenplus1 |
lol, doesnt help imagining such a mod, the code is what I need to look at to see if the HUD glitch lays somewhere inside |
15:58 |
IhrFussel |
There can't be a HUD glitch I copy&paste the code I posted |
16:00 |
tenplus1 |
lol, it's ok... I wont ask anymoer |
16:18 |
|
IhrFussel joined #minetest-hub |
16:38 |
rdococ |
hm. |
16:38 |
rdococ |
does minetest.send_chat_message(message) call minetest.register_on_sending_chat_message(func(message))? |
16:41 |
DS-minetest |
yes |
16:41 |
DS-minetest |
i think |
16:41 |
rdococ |
ugh. how am I going to modify the chat message before sending it then? |
16:41 |
tenplus1 |
https://github.com/minetest/minetest/blob/79f19b8369a0120fbf0bd0ee3739989fbbbca50e/src/script/lua_api/l_client.cpp#L90 |
16:41 |
DS-minetest |
the client sends it to server and the server sends back, the client can't know that it comes from csm |
16:42 |
DS-minetest |
oops, forget what i wrote >_< |
16:42 |
rdococ |
heh |
16:48 |
rdococ |
do I have to enable clientside mods manually? |
16:48 |
tenplus1 |
yeh |
16:49 |
rdococ |
where? |
16:49 |
tenplus1 |
enable_client_modding = true inside minetest.conf |
16:49 |
rdococ |
ah |
16:49 |
tenplus1 |
and in the clientmods directory a text file called mods.conf with each mod set to true |
16:49 |
tenplus1 |
e.g. load_mod_chest_inspector = true |
16:50 |
rdococ |
ah |
16:50 |
rdococ |
wait, uppercase letters aren't allowed in clientside mods? |
16:51 |
tenplus1 |
lowercase filenames by default, just incase :) |
16:53 |
rdococ |
can you minetest.send_chat_message() in a minetest.register_on_sending_chat_message(function (message)) callback? |
16:53 |
tenplus1 |
I think you return "text" to print instead |
16:54 |
rdococ |
oh. |
16:54 |
tenplus1 |
that's how my swear filter works... changes text and returns "new text" |
16:54 |
rdococ |
it doesn't seem to work |
16:55 |
rdococ |
no, nothing seems to show up |
16:55 |
rdococ |
can I see your swear filter? |
17:02 |
Shara |
Hello all |
17:02 |
shivajiva |
Hi Shara |
17:02 |
Shara |
Hi shivajiva |
17:02 |
tenplus1 |
hi shara :P |
17:02 |
Shara |
tenplus1: You were just beaten :P |
17:03 |
Shara |
How's everyone doing? :) |
17:03 |
tenplus1 |
das ok... am having a chill day :D |
17:04 |
tenplus1 |
busy day but okie... you / |
17:04 |
Shara |
Sooo glad it's the weekend. |
17:05 |
tenplus1 |
heh, not I... am working sat/sun :P |
17:10 |
Shara |
Ewww :P |
17:14 |
* CWz |
wonder why c++11 doesn't support XP |
17:15 |
tenplus1 |
brb |
17:18 |
Calinou |
https://pbs.twimg.com/media/C0yg9SyVEAAbYtK.jpg:large |
17:18 |
Calinou |
dankest meme ever |
17:20 |
|
paramat joined #minetest-hub |
17:23 |
tenplus1 |
lol Cal |
17:33 |
|
Natechip joined #minetest-hub |
17:46 |
CWz |
i remember there used to be a mapgen called indev back in the old 0.4.7 days |
17:46 |
tenplus1 |
yeh, huge caves :P |
17:47 |
CWz |
which version removed it again? |
17:48 |
tenplus1 |
0.4.13 I think |
17:49 |
tenplus1 |
but the indev caves are still in use for certain mapgens :D |
17:50 |
paramat |
massive caverns yes, but completely different code, indev caverns were horribly hacky, and very cuboid |
17:51 |
Bobr2 |
hello all |
17:51 |
tenplus1 |
wb bob |
17:51 |
Bobr2 |
thank you |
17:51 |
Bobr2 |
you too |
17:52 |
tenplus1 |
I remember having a lot of fun in those oddly cuboid caverns ;D |
17:52 |
Bobr2 |
lol |
17:53 |
sofar |
tbh the current mgv7 lava caves are fairly cuboid too |
17:54 |
tenplus1 |
hi sofar |
17:54 |
DS-minetest |
what would you think of a mod that brings back minetest.register_on_receiving_chat_messages in csm for stable users? it would be one line heh |
17:55 |
paramat |
no, they're wormlike :] but they sometimes have flat top and bottom |
17:55 |
DS-minetest |
so, brings back the s version and gives the without s version |
17:55 |
|
soupfly joined #minetest-hub |
17:56 |
rdococ |
hm. |
17:56 |
rdococ |
how can I update a node to check if it will fall? |
17:56 |
rdococ |
e.g. sand |
17:57 |
tenplus1 |
minetest.check_for_falling(p) |
17:58 |
rdococ |
k |
17:58 |
rdococ |
I'm updating my conveyors to act on gravity-affected nodes like sand |
18:06 |
DS-minetest |
done: https://github.com/DS-Minetest/s_compatibility |
18:19 |
|
LazyJ joined #minetest-hub |
18:19 |
tenplus1 |
hi LazyJ |
18:20 |
LazyJ |
Howdy tenplus1 ;) |
18:20 |
tenplus1 |
:P |
18:22 |
rdococ |
lazy j detected |
18:36 |
lisac |
Hi tenplus1 |
18:36 |
tenplus1 |
hi lisac |
18:36 |
lisac |
did you ever try Kvass, tenplus1? |
18:36 |
tenplus1 |
kvass? |
18:37 |
lisac |
https://en.wikipedia.org/wiki/Kvass |
18:37 |
tenplus1 |
fermented beverage made from rye bread |
18:37 |
tenplus1 |
nope, cant say I have :P |
18:38 |
lisac |
:( if you ever happen to find some, don't get the one with fruit in it |
18:38 |
lisac |
plain kvass is the best kvass |
18:38 |
lisac |
Raven and me tried making our own Kvass once |
18:38 |
lisac |
wasn't the best Kvass ever. |
18:39 |
tenplus1 |
what's it taste like ? |
18:39 |
|
LazyJ joined #minetest-hub |
18:40 |
lisac |
hmm it's sweet |
18:40 |
tenplus1 |
will give it a bash sometimes :PP |
18:40 |
lisac |
:D |
18:40 |
lisac |
too bad you can't find 2l bottles here |
18:40 |
lisac |
only .5l ones |
18:41 |
tenplus1 |
heh, they prolly want ppl to drink responsibly |
18:41 |
lisac |
y lol |
18:42 |
tenplus1 |
z |
18:42 |
tenplus1 |
:P |
18:47 |
Jordach |
lisac, i bet it tasted like Kvass |
18:47 |
* rdococ |
is sad |
18:47 |
tenplus1 |
whassup rdococ? |
18:47 |
* Bobr2 |
is annoyed |
18:47 |
tenplus1 |
? |
18:47 |
rdococ |
tenplus1: 2 + 2 = 4, and I wanted it to be 5. it's terrible. |
18:49 |
tenplus1 |
will this help: https://i.stack.imgur.com/c0rxM.jpg |
18:49 |
lisac |
rdococ, https://www.youtube.com/watch?v=5xdbPhnfFEI |
18:55 |
CWz |
Time for a Pun! a smart daring person should always be familiar and know the Ledge they are standing on. |
18:56 |
CWz |
^ bad pun |
18:56 |
rdococ |
Sounds like you're not the sharpest tool in the shedge when it comes to puns. |
18:56 |
tenplus1 |
a skeleton walks into a bar and orders a drink and a mop |
18:56 |
CWz |
well know the Ledge is a pun off knowLedge |
18:58 |
rdococ |
a bad pun |
18:58 |
CWz |
The Skeleton said to the Zombie comedian i found your jokes to be Humerus |
18:59 |
CWz |
Another bad pun |
18:59 |
tenplus1 |
lol |
19:02 |
rdococ |
What did the car say to the other car? |
19:02 |
tenplus1 |
beep |
19:02 |
rdococ |
Nothing. Cars can't talk, and aren't even sentient. |
19:03 |
rdococ |
YAY FOR ANTI-HUMOR! :P |
19:03 |
tenplus1 |
lolol |
19:06 |
tenplus1 |
I am terrified of elevators. I’m going to start taking steps to avoid them. |
19:08 |
tenplus1 |
here's one for VanessaE since she is working on colours so much |
19:08 |
tenplus1 |
A red and a blue ship have just collided in the Caribbean. Apparently the survivors are marooned. |
19:09 |
* tenplus1 |
hides |
19:11 |
rdococ |
... |
19:12 |
tenplus1 |
lol |
19:20 |
tenplus1 |
wb lumidify |
19:20 |
lumidify |
Hi tenplus1 |
19:26 |
rdococ |
yay |
19:37 |
|
DS-minetest joined #minetest-hub |
19:37 |
tenplus1 |
wb |
19:37 |
DS-minetest |
thx |
19:39 |
|
soupfly joined #minetest-hub |
19:40 |
|
NatechipDaBoss joined #minetest-hub |
19:41 |
|
Natechip joined #minetest-hub |
19:41 |
|
Natechip joined #minetest-hub |
19:42 |
tenplus1 |
havin' problems Nate ? |
19:42 |
ThomasMonroe_ |
apparently XD |
19:43 |
rdococ |
I'm working on an assistant mod that will provide useful functions like math.round, and vectors with metatables (so you can do #x for magnitude, x.normalize for normalizing (or you could do x/#x, I guess, etc) |
19:43 |
tenplus1 |
would need examples of use |
19:45 |
rdococ |
you mean in the readme? of course |
19:45 |
tenplus1 |
just to see what you would use them for :)) |
19:46 |
rdococ |
it'd be much easier to type #x than vector.length(x) |
19:46 |
rdococ |
and x+y than vector.add(x,y) |
19:47 |
DS-minetest |
rdococ: such a mod would be easy to do but very often it's not used vector.new(x,y,z) but {x=x,y=y,z=z} |
19:47 |
tenplus1 |
ooh, interesting |
19:47 |
|
Krock joined #minetest-hub |
19:47 |
Krock |
hi tenplus1 |
19:47 |
DS-minetest |
hi Krock |
19:47 |
tenplus1 |
hey Krock :) |
19:47 |
Krock |
hi DS-minetest |
19:47 |
DS-minetest |
wow, we both were faster than tenplus1 O_o |
19:48 |
tenplus1 |
:P |
19:48 |
rdococ |
DS-minetest: mods that use the assistant mod will, of course, know that |
19:49 |
DS-minetest |
rdococ: yeah, but if a mod that uses the assistant mod adds an api and that api is used with a simple table instead of a vector table with metatable |
19:50 |
rdococ |
eh |
19:51 |
rdococ |
you might be right |
19:52 |
tenplus1 |
helpers are handy :P |
19:52 |
DS-minetest |
and if you initialize many vectors in short time it could decrease performance |
19:55 |
rdococ |
hm |
19:55 |
rdococ |
I might add complex numbers |
19:55 |
tenplus1 |
nooooooooooooooo |
19:55 |
rdococ |
aw |
19:56 |
rdococ |
what should I do then? |
19:56 |
tenplus1 |
use simple numbers |
19:56 |
rdococ |
quaternions would be cool |
19:56 |
rdococ |
yeah! quaternions! |
19:56 |
tenplus1 |
wut ? |
19:57 |
rdococ |
look them up |
19:58 |
* tenplus1 |
is confused |
19:58 |
rdococ |
me too :P |
19:58 |
|
DI3HARD139 joined #minetest-hub |
19:58 |
tenplus1 |
hi DI3HARD139 |
19:59 |
DI3HARD139 |
Hello tenplus1 |
20:04 |
rdococ |
I guess I could add helper functions |
20:05 |
rdococ |
e.g. vector.fslength(v), which stands for "fast square length", and could be used in comparisons where vector.length itself would be slower. |
20:06 |
rubenwardy |
rdococ, sqdistance would fit in more with the api |
20:06 |
rdococ |
true |
20:06 |
CWz |
Lol at tenplus1 |
20:06 |
rubenwardy |
I was sure this function existed, but apparently not |
20:07 |
CWz |
That was a nice pun |
20:07 |
tenplus1 |
? |
20:07 |
rdococ |
sqdistance(a, b)? |
20:07 |
CWz |
#lateresponce |
20:07 |
tenplus1 |
:PPPP |
20:07 |
rdococ |
rubenwardy: would that be square distance between two vectors then? |
20:07 |
|
ThomasMonroe joined #minetest-hub |
20:08 |
rubenwardy |
rdococ: yeah, dx^2 + dy^2 + dz^2 |
20:09 |
rdococ |
I guess you would subtract(a, b), and then calculate the square distance of the result. |
20:09 |
rdococ |
s/distance/magnitude/ |
20:10 |
rubenwardy |
https://github.com/minetest/minetest/blob/master/builtin/common/vector.lua#L58 |
20:10 |
rdococ |
Yes, I'm aware of the vector.distance function. |
20:10 |
rubenwardy |
wait what |
20:10 |
rubenwardy |
that is a strange implementation |
20:10 |
rdococ |
math.hypot? |
20:11 |
rubenwardy |
I was going to say remove the sqrt |
20:11 |
rdococ |
I assume that stands for hypotenuse. |
20:11 |
rdococ |
Yeah, that would make sense. |
20:11 |
rdococ |
Even weirder is that I can't find any reference to math.hypot in the lua 5.3 reference manual. |
20:12 |
rubenwardy |
https://springrts.com/wiki/Lua_MathExtra |
20:12 |
rubenwardy |
that's all I could fine |
20:12 |
rubenwardy |
-e+d |
20:12 |
rdococ |
That's weird. Minetest doesn't have math.round, as far as I know. |
20:12 |
tenplus1 |
do we have a distance helper between two vectors ? |
20:12 |
rubenwardy |
tenplus1, vector.distance |
20:13 |
tenplus1 |
w00t |
20:13 |
tenplus1 |
ooh, uses math.hypot, isnt that slow? |
20:14 |
rubenwardy |
yeah, slower than sqrt |
20:14 |
tenplus1 |
local get_distance = function(a, b) |
20:14 |
tenplus1 |
local x, y, z = a.x - b.x, a.y - b.y, a.z - b.z |
20:14 |
tenplus1 |
return square(x * x + y * y + z * z) |
20:14 |
tenplus1 |
end |
20:14 |
rubenwardy |
handles overflows better though, apparently |
20:14 |
rdococ |
tenplus1: square? you mean sqrt, right? |
20:14 |
tenplus1 |
yeah |
20:14 |
tenplus1 |
I localise many functions :D |
20:15 |
tenplus1 |
for speeeeeeeeed |
20:15 |
rubenwardy |
tenplus1, local function get_distance(a, b) |
20:15 |
rdococ |
heh |
20:15 |
DS-minetest |
square = ^2, sqrt = ^0.5 i thought |
20:15 |
rdococ |
DS-minetest: yes, that's correct. tenplus1 just got confused :P |
20:16 |
tenplus1 |
square is a local for math.sqrt() |
20:16 |
tenplus1 |
ehehe |
20:16 |
rdococ |
tenplus1: That has got to confuse people :P |
20:16 |
rdococ |
(I mean, I'd find it easier to slap parentheses and ^0.5, but eh.) |
20:16 |
tenplus1 |
I comment it in code :P so they know |
20:16 |
rubenwardy |
discourages people from forking mobs again |
20:17 |
tenplus1 |
mwhehehe |
20:17 |
tenplus1 |
but yeah, that function runs faster than vector.distance |
20:17 |
rdococ |
What would be the best name for a faster helper function? |
20:18 |
rubenwardy |
vfsdh |
20:18 |
rubenwardy |
obviously |
20:18 |
tenplus1 |
if it gives the exact same number as vector.distance then replace the code inside function to faster version |
20:18 |
|
sniper570 joined #minetest-hub |
20:18 |
tenplus1 |
hi sniper |
20:18 |
rdococ |
har |
20:19 |
rdococ |
Hm, do you think using vector.subtract(a, b) would be slower than subtracting the values manually? |
20:19 |
rubenwardy |
yes |
20:19 |
rubenwardy |
function call |
20:20 |
benrob0329 |
https://mail.incredible.ninja/cloud/index.php/s/jQGTKj0Rbnm3epV |
20:20 |
rubenwardy |
the question is, how much does it matter |
20:20 |
rubenwardy |
> mail |
20:20 |
rubenwardy |
> is nextcloud |
20:20 |
rdococ |
Depends on the mod you're writing, and how good your modding skills are, I suppose. |
20:20 |
benrob0329 |
rubenwardy: Same server |
20:20 |
rubenwardy |
use virtual hosts :) |
20:21 |
rubenwardy |
all of rubenwardy.com is on the same server |
20:21 |
rdococ |
To be honest, though, I'm going to try to reduce function calls anyway because it will at least speed up technic. Even if technic doesn't touch vector. :P |
20:21 |
benrob0329 |
rubenwardy: im boy the maintainer, my friend is |
20:21 |
benrob0329 |
*not |
20:21 |
rubenwardy |
ah fair |
20:22 |
tenplus1 |
ooh, you re-writing technic rdococ? |
20:22 |
rdococ |
No. :P |
20:22 |
rdococ |
I just meant reducing function calls in the vector functions. |
20:22 |
rdococ |
Maybe Lua could do with a preprocessing extension, like the C-family's #define. |
20:22 |
rubenwardy |
nah |
20:22 |
rubenwardy |
it needs compiler optimisations |
20:22 |
rdococ |
Then again, that'd require preprocessing. |
20:23 |
rubenwardy |
so it does it automatically |
20:23 |
rdococ |
Ah, true. |
20:23 |
tenplus1 |
would placing the current helpers in c++ code make them any faster ? |
20:23 |
rubenwardy |
I'm not offering though |
20:23 |
rubenwardy |
no, tenplus1 |
20:23 |
|
Krock joined #minetest-hub |
20:23 |
tenplus1 |
wb Krock |
20:23 |
rubenwardy |
the biggest slow down isn't Lua, but transfering data between Lua and C++ |
20:23 |
rubenwardy |
and switching between them |
20:23 |
tenplus1 |
ahh |
20:24 |
Krock |
ty |
20:24 |
tenplus1 |
nite folks :P |
20:24 |
rubenwardy |
o/ |
20:24 |
ThomasMonroe |
night |
20:24 |
|
tenplus1 left #minetest-hub |
20:25 |
benrob0329 |
rubenwardy: but yeah that's my current desktop |
20:25 |
rdococ |
convert minetest's core to lua /s |
20:25 |
rubenwardy |
very nice, benrob0329 |
20:25 |
rubenwardy |
is that i3? |
20:25 |
benrob0329 |
s/lua/clisp |
20:26 |
benrob0329 |
rubenwardy: Bspwm + Polybar |
20:26 |
rdococ |
Actually, what would help speed things up a ton is a C++ api. |
20:26 |
rubenwardy |
sweet |
20:26 |
rdococ |
Or, hell, let's create our own programming language, /specifically designed for/ Minetest mods. |
20:27 |
benrob0329 |
NO! |
20:27 |
rubenwardy |
lets use Kotlin! |
20:27 |
rubenwardy |
wooo |
20:27 |
rdococ |
Mw ha ha ha! |
20:27 |
rubenwardy |
sneak the JVM in |
20:27 |
benrob0329 |
No custom languages! |
20:27 |
rdococ |
Let's use Malbolge! |
20:27 |
|
CalebDavis joined #minetest-hub |
20:27 |
ThomasMonroe |
html? |
20:27 |
benrob0329 |
Lets use Lisp >:-) |
20:27 |
ThomasMonroe |
yeah :) |
20:27 |
Krock |
what? brainfk? |
20:27 |
rdococ |
benrob0329, one word. |
20:27 |
rdococ |
Haskell. |
20:28 |
rdococ |
Funge-98! |
20:28 |
ThomasMonroe |
Golang? |
20:28 |
rubenwardy |
Rufunge! |
20:28 |
rdococ |
Scratch!...wait. |
20:28 |
ThomasMonroe |
R |
20:28 |
benrob0329 |
Haskell isnt extendable like lisp though |
20:28 |
Krock |
I can get to to suicide with one word: PHP |
20:28 |
ThomasMonroe |
Krock: nope |
20:28 |
ThomasMonroe |
this: XML |
20:28 |
benrob0329 |
Brainfuck |
20:28 |
rubenwardy |
Krock, PHP sucks so much |
20:28 |
ThomasMonroe |
javascript |
20:28 |
rubenwardy |
I'm trying to get my work to at least move over to hacklang.org |
20:29 |
rdococ |
On a different, but still similar note, it's funny how people compare Minecraft and Roblox when the latter has a Lua API like Minetest. :P |
20:29 |
benrob0329 |
Gmod uses Lua too |
20:29 |
benrob0329 |
And has *gasp* gamemodes |
20:29 |
* rdococ |
dies |
20:29 |
Krock |
rubenwardy, "foo" == TRUE and "foo" == 0 but TRUE != 0 |
20:30 |
benrob0329 |
I often compare MT and Gmod |
20:30 |
rdococ |
Krock: "foo" == love and "foo" == life |
20:30 |
ThomasMonroe |
has anyone seen the voxel game BlackVoxel? |
20:30 |
rdococ |
benrob0329: I have a Minetest mod called the RMod. Unfortunately, it's not related to GMod. :P |
20:31 |
benrob0329 |
NIL == False T == True |
20:31 |
Krock |
no, is it yet another android client, ThomasMonroe ? |
20:31 |
benrob0329 |
that's lisp logic |
20:31 |
ThomasMonroe |
no |
20:31 |
benrob0329 |
Its a CPP modded voxel game (?) |
20:31 |
ThomasMonroe |
look it up, it a very optimized open source Voxel game |
20:31 |
ThomasMonroe |
idk if it can be modded |
20:31 |
ThomasMonroe |
everything is in c++ so i dont think so |
20:31 |
ThomasMonroe |
but it is very fast |
20:32 |
benrob0329 |
That looks like crap iirc |
20:32 |
Krock |
can't look it up. my connection stalls again |
20:32 |
benrob0329 |
No lighting |
20:32 |
CalebDavis |
it can be modified but you have to edit the source to do it tre |
20:32 |
ThomasMonroe |
wel true |
20:32 |
ThomasMonroe |
its a good game for technical folk |
20:33 |
benrob0329 |
On another note: my contacts and such now sync via WebDAV |
20:33 |
CalebDavis |
it is more complex then using technic in some areas |
20:33 |
benrob0329 |
So I don't need to use Gmail as much anymore |
20:33 |
* rubenwardy |
uses contacts.google.com |
20:34 |
rubenwardy |
**TRIGGER WARNING** |
20:34 |
* rdococ |
farts |
20:34 |
rubenwardy |
Wait, did my client make that **bold**? |
20:34 |
rubenwardy |
no, it's just the font for me |
20:34 |
rdococ |
TRIGGER WARNING...wait, +c, aw |
20:34 |
rubenwardy |
DAMN IT |
20:35 |
rubenwardy |
Funge-98 is basically my language |
20:35 |
benrob0329 |
lisp |
20:35 |
rdococ |
hm. |
20:35 |
Fixer |
PROMISE ME THE LIGHT__ |
20:35 |
benrob0329 |
So we do or don't have colors? |
20:35 |
benrob0329 |
In this channel |
20:35 |
rubenwardy |
test |
20:36 |
benrob0329 |
Nope |
20:36 |
rdococ |
which one is faster: "return math.floor(x + .5)", or "if x % 1 < .5 then return x - x%1 else return 1 + x - x%1 end"? |
20:36 |
rubenwardy |
erm |
20:36 |
benrob0329 |
The one that is more clear is usually best |
20:36 |
rubenwardy |
preoptimisation much? :P |
20:36 |
rdococ |
heh :P |
20:37 |
benrob0329 |
Make simple code, and it will run fast |
20:37 |
rdococ |
What I'd have preferred is different vector types for different numbers of dimensions. |
20:37 |
rubenwardy |
https://github.com/rubenwardy/rufunge and https://github.com/rubenwardy/rufunge/blob/master/specification.md |
20:37 |
rdococ |
vector3.new(x, y, z), vector2.new(x, y), and vector4.new(x, y, z, w). |
20:38 |
benrob0329 |
rubenwardy: so you forked a language because it wasn't practical? |
20:38 |
rubenwardy |
yes |
20:38 |
rubenwardy |
I decided that befunge wasn't serious enough |
20:38 |
benrob0329 |
What kind of language is that?? |
20:38 |
rdococ |
Rufunge. |
20:38 |
rubenwardy |
!g befunge |
20:39 |
ShadowBot |
rubenwardy: Befunge - Wikipedia - Befunge is a stack-based, reflective, esoteric programming language. It differs from conventional languages in that programs are arranged on a two-dimensional grid. " ... </l/?kh=-1&uddg=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FBefunge>, Befunge - Esolang - Befunge was preceded in 1991 by a similar but less featureful language Biota, which was designed for (6 more messages) |
20:39 |
benrob0329 |
!g common lisp |
20:39 |
ShadowBot |
benrob0329: Welcome to Common-Lisp.net! - Introduction. Welcome to the amazing world of Common Lisp, the programmable programming language. This site is one among many gateways to Common Lisp. </l/?kh=-1&uddg=https%3A%2F%2Fcommon%2Dlisp.net%2F>, Common Lisp - Wikipedia - History. Work on Common Lisp started in 1981 after an initiative by ARPA manager Bob Engelmore to develop a single (6 more messages) |
20:39 |
rubenwardy |
rufunge and Funge-98 are both supersets of Befunge |
20:39 |
rubenwardy |
my one focuses on subprograms |
20:39 |
rubenwardy |
Funge-98 focuses on blocks and multiple stack |
20:40 |
benrob0329 |
Again, if its not practical, or useful, why is it still around? |
20:40 |
rubenwardy |
!g esoteric languages |
20:40 |
ShadowBot |
rubenwardy: Esoteric programming language - Wikipedia - An esoteric programming language (sometimes shortened to esolang) is a programming language designed to test the boundaries of computer programming language design ... </l/?kh=-1&uddg=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FEsoteric_programming_language>, Esolang, the esoteric programming languages wiki - One of the best-known (7 more messages) |
20:40 |
Calinou |
hi |
20:40 |
rdococ |
Because it's fun, benrob0329. |
20:41 |
CalebDavis |
hi Calinou |
20:41 |
benrob0329 |
You shouldn't have to fork the language, the language should be extendable |
20:41 |
benrob0329 |
Hi Cal |
20:41 |
rubenwardy |
I didn't fork the language, benrob0329 |
20:41 |
Calinou |
fork the system |
20:41 |
rubenwardy |
I'm a super set |
20:41 |
* Calinou |
hides |
20:41 |
rubenwardy |
like C and C++ |
20:41 |
rubenwardy |
if C++ was a proper superset, that is |
20:41 |
rdococ |
Anyway, do you think MT mods could use quaternions? |
20:42 |
benrob0329 |
O_O |
20:42 |
rdococ |
O_O |
20:42 |
benrob0329 |
o_o |
20:42 |
Fixer |
._. |
20:42 |
benrob0329 |
-_- |
20:42 |
rdococ |
^_^ |
20:42 |
benrob0329 |
>_> |
20:43 |
rdococ |
<_< |
20:43 |
rubenwardy |
> "hello" > , < |
20:43 |
benrob0329 |
Was that the eye dance or something? |
20:43 |
rdococ |
> , < "olleh" < |
20:44 |
rubenwardy |
that's valid rufunge code. Infinite loop which prints hello then a bunch of null characters |
20:44 |
rubenwardy |
or "olleh", I forget |
20:44 |
rdococ |
‮ this text is technically not in reverse.â€â€ |
20:45 |
benrob0329 |
(loop (format t "Hello ~%")) |
20:45 |
rdococ |
cmon, if you want a program to say hello world you type hello world |
20:45 |
rdococ |
easiest programming language ever: "hello world" |
20:45 |
rdococ |
bum |
20:48 |
rubenwardy |
I should write an interpreter for rufunge in rufunge |
20:48 |
rubenwardy |
although that'll likely be difficult |
20:48 |
rubenwardy |
easier for compilers :P |
20:49 |
rdococ |
rubenwardy: do you think quaternions could actually be useful in minetest? |
20:49 |
Calinou |
anyone wants to play Doom (Zandronum)? I'm playing TNT on my server |
20:49 |
Calinou |
you should see it in Doomseeker |
20:50 |
rubenwardy |
rdococ, not sure |
20:51 |
rdococ |
rubenwardy: Additionally, do you think I should store the "w" value, or calculate it from the x, y and z values? |
21:05 |
|
Natechip joined #minetest-hub |
21:05 |
|
Natechip joined #minetest-hub |
21:07 |
Jordach |
ERROR 1547 (HY000): Column count of mysql.user is wrong. Expected 42, found 43. The table is probably corrupted |
21:07 |
Jordach |
*autistic screeching* |
21:08 |
|
paramat joined #minetest-hub |
21:09 |
rubenwardy |
> column count |
21:09 |
rubenwardy |
> 43 |
21:09 |
rubenwardy |
wat |
21:09 |
Jordach |
fresh install of debian 8.2 too |
21:09 |
Jordach |
wat |
21:09 |
rubenwardy |
how are you using that many columns? |
21:09 |
rubenwardy |
is it storing a biography |
21:11 |
Jordach |
yolo sudo rm -r /var/lib/mysql/mysql |
21:11 |
Jordach |
nextcloud being a cunt to install |
21:12 |
Jordach |
now it works |
21:12 |
Jordach |
WTF |
21:12 |
paramat |
eh, language please :] |
21:12 |
Jordach |
paramat, you want to 1v1 mysql |
21:12 |
Jordach |
the worst software devised |
21:13 |
Jordach |
so many forks they can start a damn cutlery business and never run out of stock |
21:16 |
KaadmY |
^ |
21:16 |
|
bigfoot548 joined #minetest-hub |
21:17 |
* rubenwardy |
uses PostreSQL |
21:17 |
benrob0329 |
Nexcloud can use sqlite, no? |
21:19 |
Megaf |
owncloud can |
21:22 |
Jordach |
benrob0329, https://cdn.discordapp.com/attachments/104703448997445632/343141626811514881/unknown.png |
21:24 |
benrob0329 |
Jordach: did you loose everything?? |
21:24 |
Jordach |
lolno |
21:26 |
benrob0329 |
Okgood |
21:41 |
sofar |
nextcloud is good, but I have to poke nerzhul about shitty android app power usage |
21:42 |
sofar |
I run an instance myself too |
21:44 |
benrob0329 |
OpenTasks + Nextcloud = On the go task scheduling for projects |
21:44 |
benrob0329 |
I can write ideas and plans down with a checklist anywhere, its really nice |
21:45 |
benrob0329 |
I just with that I could combine the powers of Nextcloud and git so that when writing scripts I can push from my desktop without having to manually upload |
21:45 |
benrob0329 |
*wish |
21:45 |
rubenwardy |
!g OpenTasks |
21:45 |
ShadowBot |
rubenwardy: OpenTasks - Android Apps on Google Play - An Open Source task app in Material Design. This app supports basic task management and provides user friendly user interface. To complete a task in the ... </l/?kh=-1&uddg=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dorg.dmfs.tasks>, OpenTasks - Android-Apps auf Google Play - An Open Source task app in Material Design. (6 more messages) |
21:46 |
rubenwardy |
noooooo |
21:46 |
rubenwardy |
they have a wrongly colored status bar |
21:46 |
* rubenwardy |
can never use that app |
21:47 |
rubenwardy |
also, the padding is odd |
21:47 |
rubenwardy |
might try it out and submit a PR if I like it |
21:48 |
benrob0329 |
Its nice, though not the most stable |
21:48 |
benrob0329 |
Had it crash a couple times while making a new task |
21:48 |
benrob0329 |
Might look for an alternative |
21:48 |
benrob0329 |
But then again, I could just wait for it ti mature |
21:48 |
benrob0329 |
I did sent a crash report |
21:49 |
rubenwardy |
ah, when I ran the app the status bar is correct |
21:49 |
rubenwardy |
however the search is on its own tab :'( |
21:50 |
rubenwardy |
search should look like that: https://i.rubenwardy.com/YK8QMskMmh.png |
21:58 |
benrob0329 |
rubenwardy: probably should, I don't really mind though |
21:58 |
benrob0329 |
I mean I suppose Google is trying to get a more consistent UI |
21:59 |
benrob0329 |
rubenwardy: note: local tasks arent synced |
22:00 |
rubenwardy |
material design <3 |
22:00 |
benrob0329 |
You have to create a category in your sync app/Nextcloud |
22:02 |
rubenwardy |
would next cloud be appropriate as place to backup my music, and also stream it? |
22:03 |
rubenwardy |
found this: https://github.com/owncloud/music/ |
22:15 |
Jordach |
http://i.imgur.com/DYQ9eSr.png |
22:15 |
Jordach |
MMMMM https |
22:15 |
Jordach |
benrob0329, rubenwardy ^ |
22:15 |
rubenwardy |
nice |
22:15 |
rubenwardy |
let's encrypt |
22:16 |
rubenwardy |
also, nice domain |
22:16 |
Jordach |
rubenwardy, not mine ;) |
22:16 |
rubenwardy |
dang |
22:16 |
Jordach |
we're sharing the server since it's got fucking 8c/8t |
22:16 |
Jordach |
32GB RAM |
22:16 |
rubenwardy |
sweet |
22:16 |
Jordach |
250GB SSD and an internal 50GB SSD |
22:16 |
Jordach |
200Mbit/s unmetered |
22:17 |
Jordach |
jordach.net will be merged/moved into it eventually |
22:17 |
Jordach |
many owncloud shares from my server will die in the coming month |
22:18 |
Jordach |
but not the images directory since that will be kept as is |
22:21 |
rubenwardy |
A- https://www.ssllabs.com/ssltest/analyze.html?d=core.lunar.cloud |
22:23 |
Calinou |
Jordach is now hosting his files on lunar butt? :D |
22:33 |
Jordach |
rubenwardy, tfw digitalocean will be phased out by a new server |
22:33 |
Jordach |
paying the same £12/mo |
22:33 |
rubenwardy |
I use Kimsufi |
22:33 |
rubenwardy |
dedi :) |
22:33 |
Jordach |
this is a physical dedi |
22:35 |
Calinou |
I love the "Kimsufi" name, since spelling it in French gives you "qui me suffit", which translates to "which suffices me" |
22:44 |
benrob0329 |
Friend of mine moved a few sites from DO to Linode |
22:44 |
benrob0329 |
Same price, more ram |
22:46 |
rubenwardy |
I moved to DO from Linode |
22:47 |
rubenwardy |
oops |
22:47 |
rubenwardy |
I moved from DO to Linode |
22:47 |
rubenwardy |
then from Linode to Kimsufi |
22:47 |
benrob0329 |
gonna move my Mother's website to Linode when the time comes to renew |
22:47 |
rubenwardy |
so, I'm trying to set up NextCloud |
22:47 |
rubenwardy |
but it keeps redirecting from foobar.rubenwardy.com to 127.0.0.1 :( |
22:48 |
benrob0329 |
do away with the crappy shared hosting my parents have had for more than a decade |
22:48 |
rubenwardy |
I |
22:48 |
rubenwardy |
I'm using https://github.com/sameersbn/docker-nextcloud |
22:48 |
benrob0329 |
rubenwardy: did you set the external IP? |
22:48 |
benrob0329 |
or leave it at default? |
22:48 |
rubenwardy |
I changed the NEXTCLOUD_URL variable |
22:49 |
benrob0329 |
(I havent set up Own/Nextcloud in a while, so its a shot in the dark) |
22:49 |
rubenwardy |
which adds the correct subdomain to trusted domains in config.php |
22:49 |
benrob0329 |
i see |
22:49 |
benrob0329 |
Webserver setting? |
22:51 |
rubenwardy |
hmmm |
22:51 |
rubenwardy |
foobar.rubenwardy.com -> https://127.0.0.1/index.php/login |
22:52 |
rubenwardy |
so looks like the base URL is wrong |
22:52 |
rubenwardy |
maybe the host isn't being passed in |
22:52 |
* benrob0329 |
emerges nextcloud-client |
22:54 |
rdococ |
eating |
22:55 |
rubenwardy |
wooo |
22:55 |
rubenwardy |
forgot to add proxy_set_header Host |
22:58 |
rdococ |
yay |
22:59 |
* rdococ |
hugs rubenwardy suddenly |
23:46 |
paramat |
good looks like we have a fix for https://github.com/minetest/minetest/issues/6197 |
23:51 |
Shara |
paramat: good to see :) |
23:54 |
DS-minetest |
hm, is are texture modifiers intendedly limited? |
23:55 |
|
soupfly joined #minetest-hub |