00:07:05 | * | scriptum quit (Ping timeout: 246 seconds) |
00:11:50 | * | nsf quit (Quit: WeeChat 1.7.1) |
00:26:02 | * | scriptum joined #nim |
00:32:52 | FromGitter | <zacharycarter> alright I just made bindings to godot for Nim :D |
00:33:22 | FromGitter | <zacharycarter> time to test them out |
00:35:54 | * | Jesin joined #nim |
00:40:07 | captainkraft | That was fast |
00:41:35 | * | scriptum quit (Ping timeout: 240 seconds) |
00:42:38 | * | ElPresidente joined #nim |
00:43:38 | * | scriptum joined #nim |
00:43:56 | ElPresidente | quick question: what does the * mean after something mean? like for example "proc init*(flags: uint32): cint" |
00:45:27 | captainkraft | It means it is "exported" to a module that imports that module. |
00:45:32 | * | couven92 joined #nim |
00:45:47 | * | couven92 quit (Remote host closed the connection) |
00:45:51 | shmup | ftsf: m1 is fine and I can read it with mousebtn(1), but m2 fails on checkInput: index out of bounds [IndexError] |
00:45:54 | captainkraft | Without the *, that proc would be unusable from outside that file. |
00:46:03 | ElPresidente | ah thanks |
00:46:18 | ElPresidente | oh so its like an object> |
00:46:22 | ElPresidente | ? |
00:46:34 | captainkraft | ElPresidente: https://nim-lang.org/docs/manual.html#procedures-export-marker |
00:46:51 | captainkraft | It just changes the visibility. That proc can be called from outside the file. |
00:46:58 | ElPresidente | ty |
00:47:07 | captainkraft | Your welcome |
00:49:20 | captainkraft | You're |
00:59:13 | * | yingjun joined #nim |
01:03:28 | * | yingjun quit (Ping timeout: 240 seconds) |
01:17:44 | * | dddddd quit (Quit: Hasta otra..) |
01:31:01 | * | ElPresidente quit (Quit: Leaving) |
01:38:15 | * | def-pri-pub joined #nim |
01:44:23 | * | Neomex_ quit (Read error: Connection reset by peer) |
01:55:03 | * | yingjun joined #nim |
01:58:36 | * | chemist69 quit (Ping timeout: 255 seconds) |
02:00:05 | FromGitter | <Varriount> Hm, did someone ping me? |
02:00:36 | FromGitter | <Varriount> captainkraft: You there? |
02:02:09 | captainkraft | I am |
02:02:43 | FromGitter | <Varriount> captainkraft: I'm currently working on an AWS library. |
02:02:56 | FromGitter | <Varriount> (Amazon Web Services) |
02:03:21 | FromGitter | <Varriount> It's based partially on the Python library for AWS, boto3. |
02:04:36 | FromGitter | <Varriount> The neat thing about boto3 is that all the API calls and parameter/return types are generated from a JSON specification. However where boto3 has Python generate all these types and procedures at runtime, I'm using Nim's compile-time mechanisms for generation. |
02:06:52 | FromGitter | <Varriount> captainkraft: If you want to contribute to something part time, I would suggest the standard library and/or documentation. |
02:07:14 | FromGitter | <Varriount> We always need more documentation. -_-' |
02:09:33 | captainkraft | Heh, I bet |
02:09:48 | captainkraft | I have been poking around and seeing if there is anything I could help with. Haven't settled yet |
02:09:58 | captainkraft | Standard lib sounds like a good place to take a look |
02:10:14 | captainkraft | Your AWS lib sounds good too. I don't have much experience in that realm though |
02:12:01 | FromGitter | <Varriount> I'm still on the "generate structures and procedures" portion. |
02:12:13 | * | pilne quit (Quit: Quitting!) |
02:12:15 | * | chemist69 joined #nim |
02:12:57 | FromGitter | <Varriount> I'm going to have to postpone procedure generation until I can write up a solid backend. AWS has something like 4 different presentation formats used across the various services. |
02:14:15 | FromGitter | <Varriount> captainkraft: https://gist.github.com/Varriount/e3f43a6657cbdce1bcf8396f83fd10ec |
02:45:06 | * | Jesin quit (Quit: Leaving) |
02:49:16 | * | Jesin joined #nim |
02:50:49 | * | libman quit (Quit: Connection closed for inactivity) |
03:13:25 | * | def-pri-pub quit (Quit: leaving) |
03:24:17 | * | rauss joined #nim |
03:26:59 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
04:12:37 | * | rusua quit (Quit: Connection closed for inactivity) |
04:37:13 | * | yingjun quit (Remote host closed the connection) |
04:43:33 | * | yingjun joined #nim |
04:43:34 | * | yingjun quit (Remote host closed the connection) |
04:43:43 | * | yingjun joined #nim |
04:43:52 | * | yingjun quit (Remote host closed the connection) |
05:02:27 | * | yingjun joined #nim |
05:03:11 | * | nimrodiii joined #nim |
05:07:15 | * | nimrodiii left #nim (#nim) |
05:07:44 | * | vlad1777d joined #nim |
05:17:27 | * | Vladar joined #nim |
05:51:07 | * | rauss quit (Quit: WeeChat 1.8) |
05:53:38 | * | bzb_hh joined #nim |
05:54:10 | * | bzb_hh quit (Client Quit) |
05:58:19 | * | yglukhov quit (Remote host closed the connection) |
05:58:36 | * | yglukhov joined #nim |
06:00:09 | * | yglukhov quit (Remote host closed the connection) |
06:01:01 | * | yglukhov joined #nim |
06:05:32 | * | yglukhov quit (Ping timeout: 255 seconds) |
06:18:21 | Araq | oh I broke the testsuite |
06:18:33 | Araq | but only because of better error messages |
06:18:35 | Araq | :-) |
06:19:16 | * | noethics quit (Quit: Leaving) |
06:21:45 | * | yingjun quit (Remote host closed the connection) |
06:21:57 | * | yingjun joined #nim |
06:23:18 | * | yingjun quit (Remote host closed the connection) |
06:25:53 | * | yingjun joined #nim |
06:38:37 | * | nsf joined #nim |
06:45:23 | * | vlad1777d quit (Ping timeout: 246 seconds) |
06:54:45 | * | scriptum quit (Quit: Leaving) |
07:05:46 | * | yglukhov_ joined #nim |
07:07:50 | * | mal`` quit (Quit: Leaving) |
07:11:52 | * | Vladar quit (Quit: Leaving) |
07:14:46 | * | mal`` joined #nim |
07:22:18 | * | irrequietus joined #nim |
07:22:28 | * | irrequietus quit (Client Quit) |
07:22:34 | * | gokr joined #nim |
07:27:46 | * | yglukhov_ quit () |
07:33:51 | * | gokr quit (Quit: Leaving.) |
07:34:04 | * | gokr joined #nim |
07:34:20 | * | gokr left #nim (#nim) |
07:57:46 | * | Arrrr joined #nim |
07:57:46 | * | Arrrr quit (Changing host) |
07:57:46 | * | Arrrr joined #nim |
08:11:28 | * | yingjun quit (Remote host closed the connection) |
08:11:41 | * | yingjun joined #nim |
08:12:14 | * | vlad1777d joined #nim |
08:12:39 | * | yingjun quit (Remote host closed the connection) |
08:23:22 | * | yingjun joined #nim |
08:29:12 | Arrrr | "By default, Rust uses unbuffered File IO" |
08:29:16 | Arrrr | Is nim doing the same thing? |
08:34:09 | euantor | No, I think C's IO is buffered by default which is what Nim uses |
08:38:25 | * | benny_ joined #nim |
08:40:28 | * | yglukhov joined #nim |
08:40:51 | * | gangstacat quit (Quit: Ĝis!) |
08:58:09 | * | alxf quit (Remote host closed the connection) |
09:33:11 | * | benny__ joined #nim |
09:35:35 | * | benny_ quit (Ping timeout: 240 seconds) |
09:40:26 | * | couven92 joined #nim |
10:06:52 | * | vlad1777d quit (Ping timeout: 246 seconds) |
10:09:06 | * | vlad1777d joined #nim |
10:49:50 | * | Vladar joined #nim |
10:54:51 | * | yingjun quit (Remote host closed the connection) |
11:02:20 | * | Snircle joined #nim |
11:28:52 | * | Evil[1] joined #nim |
11:48:46 | * | Evil[1] left #nim (#nim) |
11:53:50 | * | Snircle quit (Ping timeout: 255 seconds) |
11:55:28 | * | yingjun joined #nim |
11:56:16 | * | Snircle joined #nim |
11:59:48 | * | yingjun quit (Ping timeout: 240 seconds) |
12:05:04 | * | Snircle_ joined #nim |
12:08:06 | * | Snircle quit (Ping timeout: 258 seconds) |
12:16:31 | * | benny__ quit (Remote host closed the connection) |
12:18:31 | * | Snircle joined #nim |
12:20:41 | * | Snircle_ quit (Ping timeout: 246 seconds) |
12:56:50 | * | nsf quit (Quit: WeeChat 1.7.1) |
12:58:13 | * | Neomex joined #nim |
13:15:28 | * | ritchie_ quit (Quit: Leaving) |
13:23:37 | * | PMunch joined #nim |
13:24:38 | FromGitter | <tecbeast42> Hello, can someone point me to a good resource to handle System Signals within nim. (SIGTERM etc.) |
13:28:49 | shmup | not sure how great of a resource this will be for you tecbeast42, but: https://nim-lang.org/docs/posix.html#onSignal.t,varargs[cint],untyped |
13:29:53 | shmup | not sure about this one, techbeast42 https://rosettacode.org/wiki/Handle_a_signal#Nim |
13:38:12 | PMunch | Is there a way to create an object with a default value |
13:38:44 | * | Snircle_ joined #nim |
13:41:14 | PMunch | I've created an object that should keep the state to find the min and max of a series of numbers and I want to default the min to int.high |
13:41:15 | * | Snircle quit (Ping timeout: 258 seconds) |
13:42:33 | * | Snircle_ quit (Client Quit) |
13:57:27 | euantor | Objects are always created with the default 0 value, so you need to provide/use an `initX` proc as far as I know |
13:57:28 | * | yingjun joined #nim |
13:59:19 | * | Neomex quit (Read error: Connection reset by peer) |
14:00:16 | FromGitter | <CaptainKraft> PMunch: You can initialize values when creating the object with ``MyObject(min: 100, max: 200)`` and/or use some kind of init proc |
14:00:39 | PMunch | Yeah, I know. But that's not very safe.. |
14:01:11 | FromGitter | <CaptainKraft> What do you mean? |
14:03:49 | * | yingjun quit (Ping timeout: 246 seconds) |
14:07:12 | * | rauss joined #nim |
14:07:50 | * | couven92 quit (Quit: Client disconnecting) |
14:17:07 | * | Neomex joined #nim |
14:37:02 | * | Jesin quit (Quit: Leaving) |
14:37:10 | * | nsf joined #nim |
15:17:17 | * | yglukhov quit (Remote host closed the connection) |
15:17:52 | * | yglukhov joined #nim |
15:23:43 | * | Jesin joined #nim |
15:24:28 | * | Jesin quit (Remote host closed the connection) |
15:27:42 | * | yglukhov quit (Ping timeout: 255 seconds) |
15:33:22 | * | Trustable joined #nim |
15:50:38 | * | arnetheduck joined #nim |
15:56:58 | * | Jesin joined #nim |
16:03:04 | * | yingjun joined #nim |
16:04:53 | * | nsf quit (Quit: WeeChat 1.7.1) |
16:07:44 | * | yingjun quit (Ping timeout: 260 seconds) |
16:12:53 | * | Trustable quit (Remote host closed the connection) |
16:15:09 | * | yglukhov joined #nim |
16:18:14 | * | yglukhov quit (Remote host closed the connection) |
16:28:24 | * | PMunch quit (Quit: leaving) |
16:28:29 | * | yglukhov joined #nim |
17:00:39 | enthus1ast | it is not possible to reverse iterate a OrderedTable cause its a single linked list right? |
17:08:57 | * | vlad1777d quit (Ping timeout: 255 seconds) |
17:16:38 | * | noethics joined #nim |
17:28:36 | * | pilne joined #nim |
17:35:10 | * | yglukhov quit (Remote host closed the connection) |
17:35:37 | * | yglukhov joined #nim |
17:47:44 | * | yglukhov quit (Remote host closed the connection) |
18:00:28 | * | yglukhov joined #nim |
18:04:28 | * | Arrrr quit (Read error: Connection reset by peer) |
18:06:32 | * | Jesin quit (Quit: Leaving) |
18:10:22 | * | Trustable joined #nim |
18:19:01 | * | nsf joined #nim |
18:21:10 | * | dddddd joined #nim |
18:22:14 | * | adeohluwa joined #nim |
18:22:26 | * | ofelas quit (Quit: shutdown -h now) |
18:41:47 | * | SusWombat quit (Remote host closed the connection) |
18:43:25 | * | ofelas joined #nim |
18:44:41 | * | SusWombat joined #nim |
18:50:46 | * | ofelas quit (Quit: shutdown -h now) |
18:54:02 | * | ofelas joined #nim |
18:58:01 | * | vlad1777d joined #nim |
19:00:45 | * | libman joined #nim |
19:00:48 | * | gangstacat joined #nim |
19:30:39 | * | yglukhov quit (Remote host closed the connection) |
19:43:42 | * | yglukhov joined #nim |
19:52:54 | * | Matthias247 joined #nim |
19:55:48 | * | Trustable quit (Remote host closed the connection) |
20:22:44 | * | Jesin joined #nim |
20:32:00 | * | adeohluwa quit (Quit: Connection closed for inactivity) |
20:35:14 | * | kunev quit (Ping timeout: 268 seconds) |
20:36:31 | * | kunev joined #nim |
20:45:36 | * | Vladar quit (Quit: Leaving) |
21:01:01 | * | jsgrant_ quit (Ping timeout: 246 seconds) |
21:07:03 | * | yingjun joined #nim |
21:09:15 | * | jsgrant_ joined #nim |
21:11:32 | * | yingjun quit (Ping timeout: 260 seconds) |
21:19:17 | * | LeNsTR|away joined #nim |
21:22:08 | * | jsgrant_ quit (Ping timeout: 246 seconds) |
21:32:08 | * | kunev quit (Ping timeout: 240 seconds) |
21:32:41 | * | kunev joined #nim |
21:54:54 | * | adam] joined #nim |
22:00:20 | * | ofelas quit (Quit: shutdown -h now) |
22:01:14 | * | rauss quit (Quit: WeeChat 1.8) |
22:05:09 | * | yglukhov quit (Remote host closed the connection) |
22:05:46 | * | yglukhov joined #nim |
22:07:11 | * | yglukhov quit (Remote host closed the connection) |
22:07:24 | * | yglukhov joined #nim |
22:20:01 | * | chrisheller quit () |
22:32:06 | * | qwertfisch is now known as werfisch |
22:36:31 | * | vlad1777d quit (Remote host closed the connection) |
22:36:36 | * | Matthias247_ joined #nim |
22:38:13 | * | Matthias247 quit (Ping timeout: 240 seconds) |
22:49:30 | * | libman quit (Quit: Connection closed for inactivity) |
22:50:05 | * | nsf quit (Quit: WeeChat 1.7.1) |
23:02:05 | * | werfisch is now known as qwertfisch |
23:17:06 | * | yglukhov quit (Remote host closed the connection) |
23:27:27 | * | LeNsTR|away quit (Ping timeout: 260 seconds) |
23:28:39 | * | LeNsTR|away joined #nim |
23:36:30 | * | Nobabs27 joined #nim |
23:40:33 | * | jsgrant_ joined #nim |
23:43:56 | * | Sentreen quit (Ping timeout: 268 seconds) |
23:46:02 | * | Matthias247_ quit (Read error: Connection reset by peer) |
23:48:07 | * | Matthias247 joined #nim |
23:48:33 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:51:26 | * | rauss joined #nim |
23:57:17 | * | Sentreen joined #nim |