00:07:44 | * | neceve quit (Ping timeout: 256 seconds) |
00:14:23 | * | opal quit (Ping timeout: 240 seconds) |
00:18:02 | * | opal joined #nim |
00:54:32 | * | dadada quit (Ping timeout: 246 seconds) |
00:59:03 | * | lritter quit (Ping timeout: 272 seconds) |
00:59:05 | * | lritter_ joined #nim |
01:15:13 | * | Tlongir quit (Remote host closed the connection) |
01:23:19 | FromDiscord | <Zed> if i create an object that is a reference object of another object do i have access to all the variables in that ref object? or should i reassign them? |
01:23:37 | * | chemist69 quit (Ping timeout: 260 seconds) |
01:25:38 | * | chemist69 joined #nim |
01:27:38 | FromDiscord | <Elegant Beef> @Zed what do you mean?↵https://play.nim-lang.org/#ix=2ngQ |
01:35:05 | * | Tlongir joined #nim |
01:35:36 | * | theelous3 quit (Ping timeout: 265 seconds) |
01:40:56 | * | Tlongir quit (Read error: Connection reset by peer) |
01:41:15 | * | Tlongir joined #nim |
01:42:20 | * | nphg1 joined #nim |
01:45:18 | * | nphg quit (Ping timeout: 260 seconds) |
01:46:05 | * | bung quit (Quit: Lost terminal) |
01:46:40 | * | bung joined #nim |
01:55:11 | FromDiscord | <Zed> honestly i dont know, i'm so tired right now |
02:03:18 | FromDiscord | <Zed> but yeah what you sent makes sense |
02:20:30 | * | lritter_ quit (Quit: Leaving) |
02:33:03 | * | muffindrake quit (Ping timeout: 272 seconds) |
02:33:40 | FromDiscord | <Technisha Circuit> How would I get the current time for a timezone using the utc number (e.g. -1 for `utc-1` and 1 for `utc+1`) |
02:33:54 | FromDiscord | <Technisha Circuit> I couldn't find it online since my phrasing for this is crap |
02:34:45 | * | muffindrake joined #nim |
02:53:31 | FromDiscord | <Elegant Beef> https://nim-lang.org/docs/times.html#ZonedTime probably has to do with this |
02:56:42 | FromDiscord | <Technisha Circuit> Thanks! |
03:01:24 | FromDiscord | <Elegant Beef> Guess there is also↵https://nim-lang.org/docs/times.html#inZone%2CTime%2CTimezone |
03:06:31 | FromDiscord | <Technisha Circuit> Thanks! |
03:13:23 | FromDiscord | <Zed> is there a way to return multiple different data types from a function |
03:13:32 | FromDiscord | <Zed> the only way i have found is with a tupe |
03:13:38 | FromDiscord | <Zed> but i dont reall y want that |
03:13:45 | FromDiscord | <Zed> *really |
03:15:09 | FromDiscord | <Zed> eg `proc test(input:int, to:string): float,int,float64` this will return either a float, int or float64 based upon the 'to' variable |
03:15:22 | FromDiscord | <Elegant Beef> Oh |
03:16:54 | FromDiscord | <Elegant Beef> I dont know how you'd do that short of object variants |
03:17:00 | * | endragor joined #nim |
03:18:29 | FromDiscord | <Zed> yeah it's a bit of a weird thing, i though about using a tuple and just assigning nil to the values that aren't used and then parse that in the calling function |
03:21:13 | FromDiscord | <Technisha Circuit> Return untyped values maybe? |
03:21:28 | FromDiscord | <Zed> untyped? |
03:21:30 | FromDiscord | <Elegant Beef> Nah rereading it's not too difficult |
03:21:40 | FromDiscord | <Zed> like i dont type it lol |
03:22:01 | FromDiscord | <Zed> yeah, how would you go about doing it? |
03:22:21 | FromDiscord | <Elegant Beef> Well this works for int and float, but not string https://play.nim-lang.org/#ix=2nhf |
03:23:39 | * | shadwick joined #nim |
03:25:15 | FromDiscord | <Technisha Circuit> You could just make your own type? |
03:25:27 | FromDiscord | <Elegant Beef> Well an object variant would be easy to slot in here |
03:25:41 | FromDiscord | <Elegant Beef> Where's all the actual nim programmers at this time |
03:26:36 | FromDiscord | <Technisha Circuit> Also, is something like this valid? ```nim↵type test*:↵ let func* = proc idk() = echo "Noice"```? |
03:26:39 | FromDiscord | <Elegant Beef> (edit) 'Where's all' => 'Where are' |
03:26:56 | FromDiscord | <Technisha Circuit> (edit) 'test*:↵' => 'Test*:↵' |
03:26:57 | FromDiscord | <Elegant Beef> no |
03:27:01 | FromDiscord | <Technisha Circuit> Oof |
03:27:09 | FromDiscord | <Elegant Beef> You cant assign values inside a type block |
03:27:17 | FromDiscord | <Technisha Circuit> Oh |
03:27:20 | FromDiscord | <Zed> that really annoys me |
03:27:21 | FromDiscord | <Technisha Circuit> I'm stupid |
03:27:25 | FromDiscord | <Technisha Circuit> ;-; |
03:27:34 | FromDiscord | <Elegant Beef> Zed do you hate named parameters? |
03:27:44 | FromDiscord | <Technisha Circuit> Lemme take a look at types again |
03:27:48 | FromDiscord | <Zed> no? |
03:27:51 | FromDiscord | <Elegant Beef> Ah |
03:28:09 | FromDiscord | <Elegant Beef> Was going to suggest my constructor macro if you did 😄 |
03:28:22 | FromDiscord | <Elegant Beef> <https://github.com/beef331/constructor> |
03:28:34 | FromDiscord | <Elegant Beef> Just some meh sugar |
03:29:04 | FromDiscord | <Elegant Beef> @Technisha Circuit just make a initTest that assignes the objects fields |
03:29:13 | FromDiscord | <Elegant Beef> Or newTest |
03:29:18 | FromDiscord | <Elegant Beef> Depending on your naming conventions |
03:29:58 | FromDiscord | <Elegant Beef> But yea zed you could just use object variance there |
03:30:02 | FromDiscord | <Elegant Beef> Would be super quick |
03:31:46 | FromDiscord | <Zed> actually that might work |
03:34:34 | * | dddddd quit (Ping timeout: 258 seconds) |
03:37:52 | leorize | Zed: use generics? |
03:37:58 | leorize | though I'm not sure what you're aiming for |
03:38:23 | leorize | @Zed |
03:38:31 | FromDiscord | <Elegant Beef> Yea generics would make the most sense but depends on their needs |
03:39:54 | FromDiscord | <Zed> i thought about that |
03:40:13 | FromDiscord | <Zed> ill probably see if that works as well |
03:41:47 | leorize | if you can tell me what you're trying to do then I might figure something out |
03:42:03 | FromDiscord | <Elegant Beef> More is better when getting help 😄 |
03:43:39 | FromDiscord | <Zed> I have this function `proc loadData*(data_path:string, dataType: DataType)` and based upon the value of `dataType` which is an enum, i want to return a specific object |
03:44:01 | FromDiscord | <Zed> eg `loadData("path/to/file",video)` |
03:44:12 | FromDiscord | <Zed> this should return a video object |
03:44:23 | leorize | object variants |
03:44:35 | leorize | ^ that's your solution :P |
03:45:10 | FromDiscord | <Zed> yeah that's what im trying to implement now, but im not exactly sure what i should return from the function |
03:45:34 | leorize | return the object variant you made? |
03:46:11 | FromDiscord | <Zed> proc test(): ? =↵What should '?' be |
03:47:04 | leorize | the variant type you declare? |
03:47:19 | leorize | how are all these video objects, etc.. represented? |
03:48:56 | FromDiscord | <Zed> `VideoData = object↵ path:string↵ res_x,res_y:int |
03:49:22 | shadwick | Zed: look at `JsonNodeKind` and `JsonNodeObj` in the `json` module as an example: https://nim-lang.org/docs/json.html#JsonNodeObj |
03:51:08 | leorize | @Zed: https://play.nim-lang.org/#ix=2nhi <- something like that? |
03:59:22 | FromDiscord | <Zed> ah so that's doing it directly in the object |
04:02:41 | * | waleee-cl quit (Quit: Connection closed for inactivity) |
04:06:01 | * | supakeen quit (Quit: WeeChat 1.9.1) |
04:06:13 | FromDiscord | <Zed> leorize: Thanks for the playground, it helped a bunch |
04:06:20 | leorize | np :) |
04:06:44 | * | supakeen joined #nim |
04:11:03 | FromDiscord | <Elegant Beef> I had one thrown together but i was still uncertain the design goal so i trashed it 😄 |
04:20:42 | leorize | oh lol we now have a build.out file in the Nim repo |
04:20:49 | leorize | @mratsim accidentally commited it in |
04:36:57 | * | shadwick quit (Remote host closed the connection) |
04:48:55 | * | kungtotte_ quit (Read error: Connection reset by peer) |
04:49:48 | * | kungtotte joined #nim |
05:09:57 | FromDiscord | <Technisha Circuit> Oof |
05:43:38 | FromDiscord | <Rika> good afternoon |
05:47:41 | bung | good afternoon |
06:08:56 | * | Tongir joined #nim |
06:09:32 | * | hvn joined #nim |
06:11:27 | * | Tlongir quit (Ping timeout: 260 seconds) |
06:25:24 | * | solitudesf- joined #nim |
06:25:40 | Prestige | Hello all |
06:26:56 | * | silvernode joined #nim |
06:29:33 | * | hvn quit (Ping timeout: 260 seconds) |
06:45:52 | * | Tongir quit (Ping timeout: 260 seconds) |
06:48:34 | * | Tlongir joined #nim |
06:54:17 | * | silvernode quit (Ping timeout: 258 seconds) |
07:00:51 | * | PMunch joined #nim |
07:00:52 | * | tdc joined #nim |
07:05:20 | bung | @PMunch have you check my PR? |
07:06:00 | PMunch | Looking at it now |
07:06:22 | bung | okay |
07:07:43 | * | Tongir joined #nim |
07:10:33 | * | Tlongir quit (Ping timeout: 256 seconds) |
07:16:15 | * | Tlanger joined #nim |
07:18:19 | * | fredrikhr joined #nim |
07:18:49 | * | Tongir quit (Ping timeout: 264 seconds) |
07:24:51 | * | Senketsu joined #nim |
07:33:09 | * | NimBot joined #nim |
07:36:22 | * | Senketsu quit (Ping timeout: 260 seconds) |
07:48:55 | * | liblq-dev joined #nim |
07:52:02 | * | Trustable joined #nim |
07:53:58 | * | Vladar joined #nim |
08:16:36 | * | brainbomb joined #nim |
08:31:10 | * | abm joined #nim |
08:40:05 | * | Vladar quit (Quit: Leaving) |
09:14:14 | * | letto quit (Quit: Konversation terminated!) |
09:16:03 | * | letto joined #nim |
09:32:07 | * | solitudesf joined #nim |
09:32:09 | * | solitudesf- quit (Remote host closed the connection) |
09:35:49 | PMunch | It's quiet here today |
09:36:29 | liblq-dev | yeah |
09:37:28 | * | neceve joined #nim |
09:52:03 | * | a_b_m joined #nim |
09:52:05 | * | a_b_m quit (Remote host closed the connection) |
09:56:02 | * | abm quit (Ping timeout: 260 seconds) |
09:56:40 | FromDiscord | <dom96> It’s bank holiday in UK and Memorial Day in the US. Probably a holiday in other places too. |
09:57:30 | PMunch | Today? |
10:00:19 | alehander92 | wow |
10:00:27 | alehander92 | its a holiday today as well! |
10:00:45 | alehander92 | but because yesterday it was the day of bulgarian(slavic) alphabet |
10:01:06 | alehander92 | i guess its not the same holiday in UK |
10:01:37 | * | dadada joined #nim |
10:02:01 | * | dadada is now known as Guest71008 |
10:02:10 | alehander92 | (its strange, because actually the guys we celebrate+their disciples created *2* alphabets, and only the later one was the actual cyrillic) |
10:11:09 | PMunch | Huh |
10:11:32 | PMunch | We had holiday on Thursday (Ascension day), and we have next Monday of (Whit Monday) |
10:11:41 | PMunch | What are you celebrating today? |
10:16:50 | * | greenfork joined #nim |
10:19:33 | FromDiscord | <KrispPurg> wait hold on does this mean no schoolwork for others? |
10:20:14 | FromDiscord | <willyboar> cyrilus and methodius |
10:21:12 | alehander92 | wow willyboar do you have a holiday for them as well |
10:21:27 | alehander92 | PMunch awesome! sadly we dont have holidays for those |
10:23:14 | liblq-dev | wait, what? people have *holidays*!? |
10:23:34 | liblq-dev | ↑ or how I've been feeling for the past few weeks of school |
10:24:50 | PMunch | That's a benefit of actually having a job, you actually get a day off on holidays. When I was studying it was like "oh it's ascension day, cool, but my exam is still in a couple of days so I'm going to work anyways.." |
10:25:06 | liblq-dev | oh wait it's Mother's Day tomorrow |
10:27:37 | alehander92 | + |
10:30:37 | FromDiscord | <Clyybber> Only in Poland tho |
10:31:27 | liblq-dev | still |
10:31:33 | liblq-dev | opening my google calendar was worth it |
10:33:03 | FromDiscord | <willyboar> No @alehander92 but they are quite famous in greece |
10:34:29 | alehander92 | willyboar interesting |
10:41:33 | FromDiscord | <willyboar> there is a church for them in thessaloniki |
10:43:22 | alehander92 | hm, yeah, they were popular locally :) |
10:43:35 | alehander92 | big missionaries |
10:44:14 | alehander92 | basically one of the most important reasons for creating those scripts |
11:15:43 | * | letto quit (Ping timeout: 260 seconds) |
11:19:43 | * | konvertex joined #nim |
11:21:01 | * | hvn joined #nim |
11:23:25 | FromDiscord | <dom96> Aww yiss. Nim->JS + Closure compiler + Uglify JS means the JS has the ultimate obfuscation |
11:23:54 | alehander92 | i wouldn't really *bet* on it :D |
11:23:55 | FromDiscord | <Rika> that sounds like death |
11:24:45 | alehander92 | but i often suppose the value is more in the fact that even if people get part of your code, without the whole documented codebase+context knowledge behind choices + env and constantly coming updates |
11:25:04 | alehander92 | its a bit worthless(maybe except for 'secret sauce' stuff) |
11:25:32 | alehander92 | the fact that the industry focused on that so much probably proves me wrong though |
11:26:06 | FromDiscord | <dom96> Its hid the protocol I use at least |
11:26:48 | ftsf | dom96, worse than emscripten? |
11:27:23 | FromDiscord | <dom96> emscripten would probably get us more obfuscation |
11:27:33 | FromDiscord | <dom96> but in my tests it's not necessarily faster for my game |
11:28:52 | FromDiscord | <dom96> Cool. I just updated Stardust to 0.5.0 and everything seems to work fine. |
11:29:07 | FromDiscord | <dom96> Anyone up for joining me in voice chat for a game? https://discord.gg/rhwAUC |
11:32:37 | * | chemist69 quit (Ping timeout: 260 seconds) |
11:33:29 | * | chemist69 joined #nim |
11:40:22 | * | dddddd joined #nim |
11:42:13 | * | theelous3 joined #nim |
11:53:23 | * | brainbomb quit (Read error: Connection reset by peer) |
11:57:32 | * | letto joined #nim |
12:06:02 | * | supakeen quit (Quit: WeeChat 1.9.1) |
12:06:46 | * | supakeen joined #nim |
12:07:12 | * | hvn quit (Ping timeout: 272 seconds) |
12:07:37 | * | sz0 quit (Ping timeout: 260 seconds) |
12:08:12 | * | LyndsySimon quit (Ping timeout: 260 seconds) |
12:09:42 | * | LyndsySimon joined #nim |
12:10:59 | * | sz0 joined #nim |
12:11:58 | * | hvn joined #nim |
12:15:03 | * | gxt__ quit (Ping timeout: 240 seconds) |
12:19:12 | FromDiscord | <Firefell> Hello, here's a link to Chromium page that talk about memory leak with C/C++ : https://www.chromium.org/Home/chromium-security/memory-safety |
12:28:19 | FromDiscord | <exelotl> lol https://media.discordapp.net/attachments/371759389889003532/714454804012728360/Screenshot_20200525-132722_1.png |
12:28:46 | FromDiscord | <exelotl> Just stop writing things in C/C++, problem solved |
12:32:35 | FromDiscord | <exelotl> Oh.. They also reached that conclusion. xD |
12:33:48 | * | Guest71008 quit (Ping timeout: 272 seconds) |
12:35:04 | * | Lord_Nightmare quit (Ping timeout: 258 seconds) |
12:36:54 | * | Lord_Nightmare joined #nim |
12:43:37 | * | krux02 joined #nim |
13:10:22 | * | hvn quit (Ping timeout: 260 seconds) |
13:24:38 | FromDiscord | <Recruit_main707> sent a code paste, see http://ix.io/2niu |
13:26:00 | * | hvn joined #nim |
13:26:10 | PMunch | Yeah that should be right |
13:26:30 | PMunch | But keep in mind that RootObj attaches run-time type information to your object |
13:26:34 | FromDiscord | <Recruit_main707> this is without gc and compiled to dll |
13:27:02 | PMunch | So that object is not the same as struct Foo {int bar} |
13:27:31 | FromDiscord | <Recruit_main707> i should probably use normal object then |
13:27:38 | PMunch | Most certainly |
13:27:57 | PMunch | Unless you specifically need RTTI |
13:28:26 | FromDiscord | <Recruit_main707> can dlls even have that info? |
13:30:10 | * | hvn quit (Ping timeout: 246 seconds) |
13:30:54 | * | endragor quit (Remote host closed the connection) |
13:31:19 | liblq-dev | yeah why not |
13:31:33 | liblq-dev | after all, it's *runtime* type information |
13:33:47 | * | dadada joined #nim |
13:34:11 | * | dadada is now known as Guest84547 |
13:34:30 | FromDiscord | <Technisha Circuit> How would i embed NimScript in my app, and make it so i am able to pass information between my program and NimScript? |
13:36:25 | * | hsh joined #nim |
13:41:37 | FromDiscord | <flywind> Why `nightlies` don't release `linux_x64` since 5.11, I can't update `devel` with choosenim 0.6? |
13:43:47 | PMunch | @Technisha Circuit, I'm working on an article on exactly that topic |
13:44:22 | FromDiscord | <Technisha Circuit> Oh nice! Please tell me when you release it |
13:44:26 | PMunch | Will do |
13:45:11 | PMunch | In the meantime you can have a look at how the Nim test for the feature works: https://github.com/nim-lang/Nim/tree/devel/tests/compilerapi |
13:47:58 | FromDiscord | <Technisha Circuit> Oh nice |
14:23:29 | * | jwm224 quit (Ping timeout: 256 seconds) |
14:24:55 | liblq-dev | where can I browse old documentation? |
14:25:21 | * | jwm224 joined #nim |
14:26:41 | PMunch | Not sure if they are all hosted online |
14:26:56 | PMunch | But you can of course go through the repo and read the RST files or generate them |
14:34:47 | * | waleee-cl joined #nim |
14:43:49 | bung | https://github.com/nim-lang/Nim/pull/14408 |
14:43:51 | disbot | ➥ add bindParams to db_sqlite |
14:44:05 | bung | found prepared .rows not work, anyone can help? |
14:48:11 | disruptek | shashlick: see flyw1nd's comment; is choosenim working for devel on linux-64? |
14:52:53 | FromDiscord | <flywind> It works. Just doesn't have newer linux-x64 release. |
14:53:30 | FromDiscord | <flywind> https://media.discordapp.net/attachments/371759389889003532/714491337394880674/unknown.png |
15:01:11 | * | thomasross quit (Remote host closed the connection) |
15:01:49 | * | thomasross joined #nim |
15:03:02 | * | thomasross_ joined #nim |
15:03:02 | * | thomasross is now known as Guest57993 |
15:03:02 | * | Guest57993 quit (Killed (hitchcock.freenode.net (Nickname regained by services))) |
15:03:02 | * | thomasross_ is now known as thomasross |
15:03:13 | shashlick | There's an issue with holy build box |
15:03:24 | shashlick | I've been sitting on it due to lack of time |
15:03:44 | shashlick | Though @leorize is looking into musl instead |
15:04:37 | * | thomasross quit (Max SendQ exceeded) |
15:05:06 | * | thomasross joined #nim |
15:08:20 | * | Vladar joined #nim |
15:11:03 | * | qbradley quit (Read error: Connection reset by peer) |
15:12:26 | FromDiscord | <Clyybber> PMunch: Since you do a lot with macros, you think we should have a getImpl that takes a typedesc? |
15:13:00 | PMunch | The current one takes a NimNode right? |
15:13:11 | FromDiscord | <Clyybber> Yeah |
15:13:20 | PMunch | Yeah having one for typedesc would be nea |
15:13:30 | FromDiscord | <Clyybber> Ok, thanks |
15:13:47 | * | Senketsu joined #nim |
15:29:46 | disruptek | ~stream |
15:29:47 | disbot | stream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek |
15:29:49 | disruptek | graphs and paths |
15:34:50 | * | hvn joined #nim |
15:34:59 | Zevv | Graphs and paths people, graphs and paths! |
15:40:44 | * | couven92 joined #nim |
15:41:16 | * | fredrikhr quit (Disconnected by services) |
15:41:23 | * | couven92 is now known as fredrikhr |
15:45:51 | disruptek | good afternoon, zevv |
15:46:01 | Zevv | good morning, disruptek |
15:50:48 | * | nim-beginner joined #nim |
15:51:29 | * | krux02_ joined #nim |
15:53:34 | * | krux02 quit (Ping timeout: 240 seconds) |
15:56:09 | * | krux02__ joined #nim |
15:56:24 | * | krux02_ quit (Ping timeout: 256 seconds) |
15:57:03 | * | theelous3 quit (Read error: Connection reset by peer) |
15:57:16 | * | silvernode joined #nim |
15:59:01 | * | Guest84547 quit (Ping timeout: 264 seconds) |
16:00:37 | * | dadada joined #nim |
16:01:13 | * | dadada is now known as Guest60651 |
16:24:18 | * | Guest60651 quit (Ping timeout: 258 seconds) |
16:30:40 | * | dadada__ joined #nim |
16:40:05 | * | solitudesf quit (Remote host closed the connection) |
16:40:45 | * | solitudesf joined #nim |
16:43:07 | nim-beginner | Hello everyone, while doing some advent of code challenges I wondered by result has to be returned explicitly from a prog once shadowed. In my linked code example the proc calcTotalFuel returns unexpectedly 0. https://repl.it/repls/WhimsicalColorlessLead |
16:44:00 | * | nim-beginner quit (Quit: Connection closed) |
16:44:16 | * | nim-beginner joined #nim |
16:44:31 | * | FromGitter quit (Read error: Connection reset by peer) |
16:46:35 | * | zacharycarter joined #nim |
16:54:12 | * | dadada__ quit (Ping timeout: 256 seconds) |
16:55:01 | * | dadada joined #nim |
16:55:26 | * | dadada is now known as Guest67825 |
16:56:02 | * | oprypin quit (Ping timeout: 260 seconds) |
17:01:23 | nim-beginner | The problems was that result has been redeclared with the var keyword. The new result variable has to be returned manually. See https://forum.nim-lang.org/t/5722#35515 |
17:01:27 | * | nim-beginner quit (Quit: Connection closed) |
17:12:23 | * | bung quit (Quit: Lost terminal) |
17:25:21 | * | hvn quit (Ping timeout: 265 seconds) |
17:28:04 | * | oprypin joined #nim |
17:28:42 | * | zacharycarter quit (Ping timeout: 258 seconds) |
17:30:12 | * | greenfork quit (Ping timeout: 272 seconds) |
17:32:37 | FromDiscord | <Rika> nim-beginner: i dont see the issue here, just do `var mass...` then `result = mass` |
17:32:45 | FromDiscord | <Rika> i mean fuel |
17:32:46 | FromDiscord | <Rika> not mass |
17:45:41 | * | Senketsu quit (Quit: WeeChat 2.8) |
17:46:48 | * | Senketsu joined #nim |
18:05:50 | * | gxt__ joined #nim |
18:28:16 | * | silvernode quit (Ping timeout: 256 seconds) |
18:33:21 | * | greenfork joined #nim |
18:34:07 | * | greenfork quit (Client Quit) |
18:34:13 | * | greenfork joined #nim |
18:34:57 | * | Senketsu quit (Ping timeout: 260 seconds) |
18:50:51 | * | Senketsu joined #nim |
19:04:44 | disruptek | Yardanico: use this for your dot graph output: https://github.com/QuinnFreedman/nimgraphviz |
19:08:22 | * | Senketsu quit (Ping timeout: 272 seconds) |
19:14:46 | * | Senketsu joined #nim |
19:17:56 | * | lritter joined #nim |
19:25:58 | * | hsh quit (Quit: Connection closed for inactivity) |
19:28:55 | planetis[m] | so you spend your skill points at random and compute your characters stats, right disruptek? |
19:30:49 | FromDiscord | <Yardanico> @disruptek I don't really have issues with exporting the graph, it's about how to properly visualize it ;) |
19:31:00 | disruptek | that's what i meant. |
19:31:21 | disruptek | i can start with random. |
19:31:22 | FromDiscord | <Clyybber> @Yardanico Oh you are watching? |
19:31:27 | FromDiscord | <Clyybber> why are you not here :p |
19:31:41 | disruptek | planetis[m]: come on the stream; you wrote the lib i'm looking at. |
19:32:02 | FromDiscord | <Yardanico> @Clyybber nah, I'm not :) |
19:32:56 | FromDiscord | <Clyybber> oh :D |
19:33:02 | planetis[m] | I caught you at random ;) |
19:36:43 | * | bung joined #nim |
19:49:39 | * | Trustable quit (Remote host closed the connection) |
19:58:34 | * | Guest67825 quit (Ping timeout: 265 seconds) |
20:00:33 | * | dadada joined #nim |
20:01:14 | * | dadada is now known as Guest61421 |
20:14:43 | * | greenfork quit (Ping timeout: 260 seconds) |
20:23:37 | * | ftsf quit (Ping timeout: 264 seconds) |
20:23:46 | * | bung_ joined #nim |
20:27:17 | * | bung quit (Ping timeout: 256 seconds) |
20:35:01 | * | tdc quit (Ping timeout: 264 seconds) |
20:51:37 | * | PMunch quit (Quit: leaving) |
21:03:54 | liblq-dev | I somehow need to create a system for draw parameters, where the user can derive some draw parameters from some other list |
21:04:16 | liblq-dev | eg. a game has a central constant `dparm` or similar |
21:04:31 | liblq-dev | and in certain places the user could derive them by using `dparm.derive()` or something |
21:04:41 | liblq-dev | my idea for the API was this: http://ix.io/2nla/nim |
21:04:53 | liblq-dev | but tbh I don't really like it because of the chaining |
21:05:29 | liblq-dev | I can't just add parameters to the `derive()` proc because that would just override everything unless I use Options which are ugly |
21:05:34 | liblq-dev | any ideas? |
21:15:07 | * | Senketsu quit (Ping timeout: 265 seconds) |
21:20:21 | * | Jesin quit (Quit: Leaving) |
21:26:16 | * | Senketsu joined #nim |
21:32:35 | * | Vladar quit (Quit: Leaving) |
21:49:52 | * | solitudesf quit (Ping timeout: 272 seconds) |
21:58:26 | * | neceve quit (Ping timeout: 265 seconds) |
22:06:02 | * | oculux quit (Ping timeout: 256 seconds) |
22:06:03 | * | oculuxe joined #nim |
22:06:25 | * | xace quit (Ping timeout: 246 seconds) |
22:07:29 | * | xace joined #nim |
22:12:20 | * | muffindrake quit (Quit: muffindrake) |
22:34:33 | FromDiscord | <Recruit_main707> https://github.com/davidjamesca/ctypesgen/blob/master/README.md↵This looks like a nimterop on steroids and for python |
22:35:17 | FromDiscord | <Recruit_main707> Maybe there are some conpets that can be extrapolated to nimterop. |
22:35:40 | FromDiscord | <Recruit_main707> (I don't remember the username of the main dev, if someone could ping him) |
22:36:06 | * | krux02__ quit (Remote host closed the connection) |
22:36:32 | * | Jesin joined #nim |
22:50:52 | FromDiscord | <Yardanico> cffi existed for Python for ages |
22:52:36 | * | Jesin quit (Quit: Leaving) |
22:54:05 | FromDiscord | <Yardanico> And with Nim it's more complicated since for complete interop you have to map ALL types from the C side in Nim side |
22:54:25 | FromDiscord | <Yardanico> Which should be binary compatible |
22:56:07 | * | Jesin joined #nim |
22:59:32 | * | fredrikhr quit (Ping timeout: 272 seconds) |
23:00:46 | * | liblq-dev quit (Quit: WeeChat 2.8) |
23:01:38 | bung_ | seems gitter bridge not work |
23:03:12 | * | rockcavera joined #nim |
23:09:13 | * | jwm224 quit (Ping timeout: 264 seconds) |
23:10:38 | * | jwm224 joined #nim |
23:30:31 | FromDiscord | <exelotl> heads up, most of these links are broken :\ https://media.discordapp.net/attachments/371759389889003532/714621450136322067/unknown.png |
23:40:13 | skrylar[m] | hoi |
23:59:57 | * | ftsf joined #nim |