Luanti logo

IRC log for #minetest, 2022-06-23

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
26 more elements. Show/hide.
11:00 celeron55 rubenwardy: quite interesting
11:01 celeron55 the first thing i end up looking in these is where does it end up saving persistent data
11:01 rubenwardy I've seen it use node meta and player meta. Not asked it to use files
11:02 rubenwardy ok, stores to `"counter.txt"`, no path
11:03 rubenwardy with "Persist a counter that increments each time a player joins"
11:03 rubenwardy wait
11:03 rubenwardy using "Store a counter that increments each time a player joins"   results in it using   worldpath .. "/counter2
11:03 rubenwardy https://gist.github.com/rubenwardy/e468515b740741fd4c7fac4a86577b07
11:04 celeron55 it's pretty good
11:05 rubenwardy something I briefly tried since that article is getting GPT-3 to generate ideas and then make them
11:05 rubenwardy it produces almost correct code
11:05 celeron55 it will take months for the average human to learn to program that well
11:05 rubenwardy yeah
11:05 celeron55 (given a reasonable base education)
11:06 celeron55 i bet if it was given the ability to test these programs it wouldn't be difficult for it to determine what's wrong and fix it
11:06 rubenwardy hmmm
11:07 rubenwardy maybe I could use edit mode and provide error messages
11:07 celeron55 can you automatically generate a test report?
11:07 celeron55 and feed that to it
11:07 celeron55 maybe even a manually written one could work
11:07 MTDiscord <luatic> celeron55: And it took way longer for GPT to train
11:07 celeron55 like, describe what doesn't work and let it attempt a fix
11:08 celeron55 or describe what happens and claim it's wrong
11:08 celeron55 or even... just describe what happens and let it determine itself whether that's right or not
11:08 rubenwardy holy shit
11:08 rubenwardy it works
11:09 rubenwardy https://rwdy.uk/MekgP.png
11:09 celeron55 epic
11:09 celeron55 can you make it not use a global variable by complaining about it?
11:10 celeron55 i don't even know how you'd go about not using a global really, without a specific need
11:10 celeron55 could be a stupid complaint
11:10 rubenwardy what happened to the warning about setting a global != modname
11:11 MTDiscord <luatic> rubenwardy: "A node that alternatives between saying duck and goose when punched" - did you mean "alternates" there?
11:11 rubenwardy read on
11:11 MTDiscord <luatic> nvm
11:11 rubenwardy celeron55: https://rwdy.uk/nciIk.png
11:12 rubenwardy oops, forgot to amend that message
11:12 rubenwardy same output with s/foo/fruit_list/
11:13 celeron55 if you talk about a table of fruit does it make a table instead of labels?
11:15 celeron55 and... can you tell it to escape the fruit names?
11:15 rubenwardy probably
11:15 celeron55 just using language that a linter would use
11:15 rubenwardy I really should do other things though at some point
11:15 rubenwardy https://beta.openai.com/playground
11:16 celeron55 well... i'm also at work 8) will have to find some time later
11:17 celeron55 anyway, it seems if you coupled this with some feedback like a test run or a linter, it could do way more
11:18 MTDiscord <luatic> "it made up an API function called send_message" - we need this API function for player refs (perhaps named send_chat_message), would make the API cleaner
11:18 MTDiscord <luatic> minetest.chat_send_player(player:get_player_name(), message) is very suboptimal
11:19 MTDiscord <Warr1024> How big can the prompts be?  I'd love if we could dump a ton of code on it, describe a bug, and have it figure out why and explain to us what we're doing wrong :-)
11:20 MTDiscord <Warr1024> Heh, luatic, yeah, GPT can be a bit passive-aggressive in its critique of the API but it's not necessarily wrong :-D
11:24 rubenwardy 2048 tokens
11:24 rubenwardy A token doesn't have a predictable mapping to characters or words
15 more elements. Show/hide.
14:53 independent56 How do i find really deep seas?
14:53 independent56 Like more then 50 metres
19 more elements. Show/hide.
17:37 hn_ smol asf question (maybe finally wont be dead chat) - someone knows how to show location of node in pointing to (not my location, node) in hud? means - in game, not mods api...
17:38 hn_ @here
4 more elements. Show/hide.
17:44 Krock hn_: press F5
17:44 hn_ it only shows mine position, not node's
17:44 hn_ i have node name instead
17:45 Krock it shows the node that you're pointing at
17:45 Pexin hn_: write a mod
17:45 Krock it must be in range though
17:45 hn_ it is but still. i even was using mods but noone have pointing coords
17:46 Krock use raycast based on the player's position and viewing direction
17:46 Pexin it wouldnt be player pointed_thing under pos ?
17:47 hn_ but i talk about coords. same as players are for node, yesnt? wanted to write an internal mod for some game having exact teleportations... made gui for it but didnt made tp
17:47 Krock only if you have a pointed thing in first place
17:47 hn_ but i need to have coords from where to where
17:49 hn_ + im not enough good and quick in maths to use Pythagoras. (pitch + yaw)
17:51 sobkas joined #minetest
18:05 calcul0n hn_, the replacer mod has an inspector tool which gives the node coords with its type iirc
18:09 hn_ ? ok, will try =]
5 more elements. Show/hide.
18:23 hn_ thx. workec <3
12 more elements. Show/hide.
20:12 Pexin okaay. I'm not seeing a conf/api setting for adjusting inertia / air resistance. anything?
20:17 muurkha is there air resistance?
20:17 independent56 joined #minetest
20:17 independent56 What do you think of my reading room?
20:17 independent56 https://i.imgur.com/uA4okon.png
20:17 independent56 Inspired by a visit to Manchester's central library https://i.dailymail.co.uk/i/pix/2016/03/29/12/32A3361200000578-0-image-a-93_1459250758831.jpg
20:19 independent56 And i will begin building the rest of the library around the reading room
13 more elements. Show/hide.
23:08 Zughy[m] Hello! Tomorrow at 20:00 UTC +0 we're having an FPS tournament on our Minetest server, "A.E.S.": we were wondering if some streamers were interested in joining the event as spectators, to provide some commentary and - in general - to have some memories of the event on video. We had an official streamer but due to some misunderstanding he won't be able to go live. Even a recorded video is fine, as long as it's posted somewhere
23:09 Zughy[m] "Tomorrow" being Friday, June 24
23:10 freshreplicant[m Nathan to the rescue?
23:11 freshreplicant[m This event has to have somebody streaming, was really fun last time.
23:24 rubenwardy we're overdue for another celeron55 trainwreck stream
23:59 specing_ joined #minetest

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