00:05:15 | * | brson joined #nim |
00:08:35 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
00:13:47 | * | vendethiel- joined #nim |
00:13:48 | * | vendethiel quit (Ping timeout: 244 seconds) |
00:16:56 | * | rtr_ joined #nim |
00:17:30 | * | rtr_ quit (Remote host closed the connection) |
00:20:31 | * | yglukhov quit (Remote host closed the connection) |
00:23:46 | * | rtr_ joined #nim |
00:24:29 | * | rtr_ quit (Remote host closed the connection) |
00:41:16 | * | AnonymousCoward quit (K-Lined) |
00:47:44 | * | bjz joined #nim |
00:51:16 | * | nsf quit (Quit: WeeChat 1.5) |
01:17:40 | * | yglukhov joined #nim |
01:22:01 | * | yglukhov quit (Ping timeout: 252 seconds) |
01:22:01 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
01:32:42 | * | Sentreen joined #nim |
01:36:27 | * | chemist69 quit (Ping timeout: 264 seconds) |
01:38:42 | * | Sentreen quit (Quit: WeeChat 1.4) |
01:40:58 | * | brson quit (Quit: leaving) |
01:44:04 | * | rtr_ joined #nim |
01:48:21 | * | rtr_ quit (Ping timeout: 244 seconds) |
01:49:17 | * | chemist69 joined #nim |
02:15:14 | * | vendethiel joined #nim |
02:15:42 | * | vendethiel- quit (Ping timeout: 250 seconds) |
02:15:44 | * | Demon_Fox quit (Remote host closed the connection) |
02:15:46 | * | bjz quit (Ping timeout: 255 seconds) |
02:17:57 | * | bjz joined #nim |
02:24:55 | * | brson joined #nim |
02:29:10 | * | dddddd quit (Ping timeout: 244 seconds) |
03:04:20 | * | castlelore joined #nim |
03:05:35 | * | castlelore quit (Client Quit) |
03:14:29 | * | SirCmpwn quit (Ping timeout: 260 seconds) |
03:19:52 | * | yglukhov joined #nim |
03:24:52 | * | yglukhov quit (Ping timeout: 240 seconds) |
03:25:10 | * | vqrs_ joined #nim |
03:25:57 | * | kunev quit (Ping timeout: 258 seconds) |
03:25:57 | * | flyx quit (Ping timeout: 258 seconds) |
03:25:59 | * | niv quit (Ping timeout: 258 seconds) |
03:26:00 | * | cnu- quit (Ping timeout: 258 seconds) |
03:26:00 | * | dyce_ quit (Ping timeout: 258 seconds) |
03:26:00 | * | vqrs quit (Ping timeout: 258 seconds) |
03:26:00 | * | vktec quit (Ping timeout: 258 seconds) |
03:26:34 | * | dyce joined #nim |
03:26:57 | * | kunev joined #nim |
03:27:04 | * | vktec joined #nim |
03:27:07 | * | cnu- joined #nim |
03:27:51 | * | flyx joined #nim |
03:27:54 | * | niv joined #nim |
03:28:34 | * | CARAM__ quit (Ping timeout: 244 seconds) |
03:32:27 | * | CARAM__ joined #nim |
03:45:40 | * | castlelore joined #nim |
04:14:02 | * | brson quit (Quit: leaving) |
04:21:23 | * | kulelu88 quit (Quit: Leaving) |
04:51:27 | * | endragor joined #nim |
04:58:02 | * | endragor quit (Ping timeout: 258 seconds) |
04:59:12 | * | space-wizard joined #nim |
04:59:55 | * | endragor joined #nim |
05:20:51 | * | rtr_ joined #nim |
05:22:27 | * | Demon_Fox joined #nim |
05:23:20 | * | yglukhov joined #nim |
05:27:55 | * | yglukhov quit (Ping timeout: 255 seconds) |
05:44:34 | * | cheatfate joined #nim |
05:57:49 | * | vqrs_ quit (Max SendQ exceeded) |
05:58:35 | * | vqrs joined #nim |
06:27:36 | * | bysin joined #nim |
06:27:41 | * | bysin left #nim (#nim) |
06:28:55 | * | cheatfate quit (Ping timeout: 252 seconds) |
06:48:53 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
07:13:13 | * | rtr_ quit (Ping timeout: 255 seconds) |
07:15:19 | * | rtr_ joined #nim |
07:25:04 | * | yglukhov joined #nim |
07:29:57 | * | yglukhov quit (Ping timeout: 276 seconds) |
08:00:07 | * | yglukhov joined #nim |
08:11:50 | * | rtr_ quit (Remote host closed the connection) |
08:13:08 | * | rtr_ joined #nim |
08:16:31 | * | kingofoz quit (Read error: Connection timed out) |
08:17:28 | * | kingofoz joined #nim |
08:18:59 | * | nsf joined #nim |
08:22:23 | * | rtr_ quit (Remote host closed the connection) |
08:39:11 | * | irrequietus joined #nim |
08:42:29 | * | hooo joined #nim |
08:42:54 | * | hooo left #nim (#nim) |
08:47:59 | * | cheatfate joined #nim |
08:53:26 | * | kier quit (Quit: Ryuu ga waga teki wo kurau!) |
08:53:58 | * | kier joined #nim |
09:13:46 | * | Sentreen joined #nim |
09:23:14 | * | Demon_Fox quit (Quit: Leaving) |
09:33:48 | * | rtr_ joined #nim |
09:52:56 | * | wan quit (Quit: WeeChat 1.5) |
09:54:41 | dom96 | Good morning |
10:06:46 | * | pafmaf joined #nim |
10:14:24 | * | dddddd joined #nim |
10:58:05 | * | cheatfate quit (Ping timeout: 244 seconds) |
11:07:38 | * | fredrik92 joined #nim |
11:15:03 | * | themagician joined #nim |
11:19:23 | * | SirCmpwn joined #nim |
11:30:19 | * | endragor quit (Remote host closed the connection) |
11:42:17 | * | Ven joined #nim |
11:44:18 | * | learath2 joined #nim |
11:51:15 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:10:10 | * | yglukhov quit (Remote host closed the connection) |
12:10:25 | * | yglukhov joined #nim |
12:10:35 | * | Ven joined #nim |
12:13:45 | * | PMunch joined #nim |
12:27:20 | PMunch | Hmm, I'm trying to compare a possibly unassigned variable to nil to see if it has been initialized or not. But I get an error saying that I can't compare between it's type and nil. Is there another way to check for uninitialized? |
12:28:47 | * | rtr_ quit (Remote host closed the connection) |
12:33:17 | PMunch | Hmm I found this: forum.nim-lang.org/t/2168 |
12:33:26 | PMunch | But it appears that fields is undeclared |
12:34:02 | * | learath2 is now known as Learath2 |
12:36:57 | dom96 | what type is it? |
12:41:08 | dom96 | PMunch: ^ |
12:41:12 | PMunch | It's a Rect from the sdl wrapper. Which is defined as a tuple |
12:41:24 | PMunch | Rect* = tuple[x, y: cint, w, h: cint] |
12:42:30 | dom96 | well, like that thread says. Tuples cannot possibly be nil because they are value types. |
12:42:40 | dom96 | var x: Rect # x is not nil here |
12:42:49 | PMunch | But what is it? |
12:42:58 | dom96 | each of its fields are initialised to their default values. |
12:43:05 | PMunch | Is it just a tuple with 0,0,0,0? (Since Nim nulls it's types) |
12:43:10 | dom96 | yes |
12:43:16 | * | yglukhov quit (Remote host closed the connection) |
12:43:17 | PMunch | Hmm, okay |
12:44:10 | dom96 | maybe you should introduce a bool that determines if its been initialised? |
12:44:46 | PMunch | Well, it doesn't really have to be initialized |
12:45:09 | PMunch | I'm parsing through a format that through two fields give the position and the size |
12:45:29 | PMunch | And on whichever came first I just wanted to create a new one |
12:46:09 | dom96 | maybe you could use this pattern: proc parse(value: var Rect): bool ? |
12:46:42 | PMunch | But since it doesn't have to be initialized the problem disappears |
12:47:50 | PMunch | The format consists of a list of names, with indented fields for position, size and other attributes |
12:48:41 | PMunch | When I hit an unindented field I'll just create an object for the values I've gathered so far and then reuse the actual fields |
12:48:55 | PMunch | Since value types are passed by value it should work fine :) |
12:55:20 | * | stisa joined #nim |
12:57:27 | * | fredrik92 quit (Ping timeout: 264 seconds) |
13:13:48 | * | vendethiel quit (Ping timeout: 276 seconds) |
13:18:03 | * | dddddd quit (Ping timeout: 240 seconds) |
13:24:54 | * | gokr joined #nim |
13:27:09 | * | StarBrilliant quit (Quit: ZNC - http://znc.in) |
13:33:44 | * | brechtm joined #nim |
13:42:48 | * | yglukhov joined #nim |
13:48:38 | yglukhov | Araq: i want to fix getCurrentException/getCurrentExceptionMsg on js but it will conflict with my existing pr. should i wait for merge or append it to existing pr? |
13:50:43 | * | rtr_ joined #nim |
13:53:14 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:56:29 | * | brechtm quit (Remote host closed the connection) |
13:57:25 | * | Ven joined #nim |
14:08:19 | * | fredrik92 joined #nim |
14:10:41 | * | fredrik92 quit (Client Quit) |
14:11:20 | * | fredrik92 joined #nim |
14:22:01 | * | vqrs quit (Max SendQ exceeded) |
14:23:14 | * | vqrs joined #nim |
14:33:00 | * | StarBrilliant joined #nim |
14:41:53 | * | Demon_Fox joined #nim |
14:54:40 | * | desophos joined #nim |
14:55:10 | * | cheatfate joined #nim |
14:56:25 | * | stisa quit (Read error: Connection reset by peer) |
14:58:01 | * | nsf quit (Quit: WeeChat 1.5) |
14:59:44 | * | nsf joined #nim |
15:11:21 | * | endragor joined #nim |
15:15:53 | * | endragor quit (Ping timeout: 244 seconds) |
15:26:59 | * | nsf quit (Quit: WeeChat 1.5) |
15:34:50 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:37:44 | * | Ven joined #nim |
15:39:14 | * | Ven quit (Client Quit) |
15:52:55 | * | endragor joined #nim |
15:57:36 | * | endragor quit (Ping timeout: 276 seconds) |
16:05:08 | * | vendethiel joined #nim |
16:09:43 | * | brechtm joined #nim |
16:12:16 | * | endragor joined #nim |
16:14:24 | * | brechtm quit (Ping timeout: 260 seconds) |
16:16:52 | * | endragor quit (Ping timeout: 252 seconds) |
16:21:24 | * | fredrik92 quit (Ping timeout: 260 seconds) |
16:28:30 | * | rtr_ quit (Remote host closed the connection) |
16:39:18 | dom96 | yglukhov: maybe you could put it in another branch and add a reminder for yourself to create a PR when your other PR is merged? |
16:43:58 | * | PMunch quit (Quit: leaving) |
16:52:44 | * | brechtm joined #nim |
16:57:18 | * | yglukhov quit (Remote host closed the connection) |
17:06:02 | * | fredrik92 joined #nim |
17:08:02 | * | brechtm_ joined #nim |
17:09:07 | * | krux02 joined #nim |
17:09:20 | * | brechtm_ quit (Client Quit) |
17:11:15 | * | brechtm quit (Ping timeout: 264 seconds) |
17:12:47 | * | Sentreen quit (Quit: WeeChat 1.4) |
17:15:13 | * | endragor joined #nim |
17:16:56 | * | rtr_ joined #nim |
17:18:12 | * | Trustable joined #nim |
17:19:32 | * | endragor quit (Ping timeout: 240 seconds) |
17:19:32 | * | cheatfate quit (Read error: Connection reset by peer) |
17:19:39 | * | cheatfate_ joined #nim |
17:24:00 | * | vendethiel quit (Quit: q+) |
17:24:34 | * | HogynCymraeg joined #nim |
17:25:57 | HogynCymraeg | hi. I'm experimenting with calling into a C dynamic library and am in the middle of converting a string-like type made up of a length and an array of chars. How can i convert a nim string into an array of cchars? thanks |
17:26:07 | * | space-wizard joined #nim |
17:34:34 | * | krux02 quit (Quit: Verlassend) |
17:47:06 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:47:32 | * | yglukhov joined #nim |
17:49:40 | dom96 | HogynCymraeg: cstring(myString) |
17:51:17 | HogynCymraeg | dom96: wow, ok. the array is already allocated mind. does this do a memcpy under the hood? |
17:51:55 | dom96 | Not unless you assign it to something IIRC |
17:52:37 | HogynCymraeg | ok thanks. I'll try that. |
17:52:57 | * | rtr_ quit (Remote host closed the connection) |
17:55:45 | * | rtr_ joined #nim |
17:55:52 | * | yglukhov quit (Remote host closed the connection) |
17:57:04 | * | endragor joined #nim |
18:00:33 | * | irrequietus quit () |
18:00:45 | * | irrequietus joined #nim |
18:01:38 | * | endragor quit (Ping timeout: 250 seconds) |
18:01:48 | * | brechtm joined #nim |
18:07:37 | * | rtr_ quit (Remote host closed the connection) |
18:07:39 | * | fredrik92 quit (Ping timeout: 264 seconds) |
18:07:52 | * | Jesin quit (Quit: Leaving) |
18:07:56 | * | rtr_ joined #nim |
18:09:42 | * | dddddd joined #nim |
18:09:52 | * | yglukhov joined #nim |
18:12:04 | * | endragor joined #nim |
18:12:11 | * | Jesin joined #nim |
18:12:13 | * | rtr_ quit (Remote host closed the connection) |
18:12:30 | * | rtr_ joined #nim |
18:13:11 | * | nsf joined #nim |
18:14:39 | * | HogynCymraeg quit (Ping timeout: 244 seconds) |
18:16:34 | * | endragor quit (Ping timeout: 244 seconds) |
18:24:18 | * | AnonymousCoward joined #nim |
18:26:01 | * | AnonymousCoward quit (Client Quit) |
18:29:03 | * | desophos quit (Ping timeout: 240 seconds) |
18:32:45 | * | irrequietus quit (Ping timeout: 244 seconds) |
18:36:34 | * | dddddd quit (Ping timeout: 252 seconds) |
18:37:52 | * | brechtm_ joined #nim |
18:41:24 | * | brechtm quit (Ping timeout: 260 seconds) |
18:48:55 | * | nairobi joined #nim |
18:53:57 | * | endragor joined #nim |
18:55:42 | * | SirCmpwn quit (Ping timeout: 276 seconds) |
18:56:45 | * | irrequietus joined #nim |
18:58:41 | * | endragor quit (Ping timeout: 258 seconds) |
18:58:45 | * | dddddd joined #nim |
19:00:47 | * | yglukhov quit (Remote host closed the connection) |
19:03:03 | * | AnonymousCoward joined #nim |
19:10:16 | * | dddddd quit (Read error: Connection reset by peer) |
19:10:29 | * | HogynCymraeg joined #nim |
19:11:12 | * | endragor joined #nim |
19:14:18 | * | dddddd joined #nim |
19:15:12 | * | HogynCymraeg quit (Ping timeout: 276 seconds) |
19:15:38 | * | endragor quit (Ping timeout: 244 seconds) |
19:22:36 | * | yglukhov joined #nim |
19:30:51 | * | desophos joined #nim |
19:35:04 | * | nsf quit (Quit: WeeChat 1.5) |
19:36:35 | * | nairobi quit (Remote host closed the connection) |
19:38:37 | * | nairobi joined #nim |
19:40:42 | * | PMunch joined #nim |
19:43:43 | * | brechtm joined #nim |
19:43:55 | * | nairobi quit (Remote host closed the connection) |
19:45:56 | * | fredrik92 joined #nim |
19:47:19 | * | brechtm_ quit (Ping timeout: 260 seconds) |
19:53:11 | * | endragor joined #nim |
19:54:32 | * | Mat4 joined #nim |
19:55:38 | * | irrequietus quit () |
19:55:54 | * | irrequietus joined #nim |
19:57:52 | * | endragor quit (Ping timeout: 265 seconds) |
19:59:15 | * | _stowa joined #nim |
20:00:21 | * | Sentreen joined #nim |
20:06:46 | * | _stowa quit (K-Lined) |
20:11:08 | * | endragor joined #nim |
20:15:44 | * | endragor quit (Ping timeout: 258 seconds) |
20:16:53 | * | Sentreen quit (Quit: WeeChat 1.4) |
20:18:18 | * | Sentreen joined #nim |
20:20:07 | * | xet7_ quit (Read error: Connection reset by peer) |
20:21:03 | * | pafmaf quit (Ping timeout: 240 seconds) |
20:26:23 | * | brechtm quit () |
20:26:33 | * | Sentreen quit (Ping timeout: 240 seconds) |
20:33:29 | * | irrequietus quit (Ping timeout: 244 seconds) |
20:34:02 | * | SirCmpwn joined #nim |
20:35:02 | * | libman joined #nim |
20:38:55 | * | Calinou quit (Quit: No Ping reply in 180 seconds.) |
20:42:46 | * | irrequietus joined #nim |
20:42:51 | * | Calinou joined #nim |
20:48:13 | * | Mat4 quit (Read error: Connection reset by peer) |
20:49:11 | * | irrequietus quit () |
20:49:26 | * | irrequietus joined #nim |
21:01:45 | * | rtr_ quit (Remote host closed the connection) |
21:06:53 | * | Sentreen joined #nim |
21:09:46 | * | Sentreen quit (Client Quit) |
21:11:10 | * | Sentreen joined #nim |
21:13:23 | * | Sentreen quit (Client Quit) |
21:17:18 | * | Sentreen joined #nim |
21:27:57 | * | nairobi joined #nim |
21:36:12 | libman | What's the official term for Nim programmers (like how Go programmers call themselves "gophers" (or was it "nuts?))? |
21:37:04 | euantor | Please say we don't have one. I think those pet names are completely stupid. |
21:37:34 | euantor | "Rustaceans" are what the rust people call Rust developers |
21:37:35 | libman | Nimmers? Nim kings? Nimrods? Nimieties? :P |
21:37:38 | euantor | Just ugh |
21:37:54 | euantor | Why not "developers" or "programmers"? |
21:38:06 | euantor | Just like we have always been called |
21:38:15 | libman | Nah. We're the kings! :P |
21:43:21 | dom96 | libman: nimians |
21:47:15 | * | gokr quit (Ping timeout: 264 seconds) |
21:49:56 | * | rtr_ joined #nim |
21:53:01 | * | endragor joined #nim |
21:57:12 | * | endragor quit (Ping timeout: 240 seconds) |
21:57:29 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:59:24 | * | nairobi quit (Ping timeout: 244 seconds) |
22:01:59 | SunDwarf | machoists |
22:04:47 | PMunch | I kinda like Nimrods :P |
22:07:28 | libman | We gotta justify the king's crown logo somehow... |
22:09:05 | * | libman imagines a throne made out of golden Java cups and stuffed gophers. :P |
22:10:02 | PMunch | Haha |
22:10:03 | libman | https://www.techempower.com/benchmarks/previews/round13/ |
22:10:16 | PMunch | I think the logo is a kickback to the biblical kind Nimrod |
22:10:19 | * | yglukhov quit (Remote host closed the connection) |
22:10:21 | PMunch | king* |
22:10:38 | libman | Right now it looks like Golang is king... ^^ |
22:11:12 | * | endragor joined #nim |
22:11:31 | libman | Nim nawak at 45% of Go fasthttp... |
22:15:28 | * | endragor quit (Ping timeout: 255 seconds) |
22:22:25 | * | irrequietus quit () |
22:25:39 | * | NhanH quit (Ping timeout: 264 seconds) |
22:26:16 | * | jonafato quit (Ping timeout: 264 seconds) |
22:26:51 | * | jeffc_ joined #nim |
22:26:51 | * | Sentreen quit (Ping timeout: 264 seconds) |
22:26:52 | * | Trixar_za quit (Ping timeout: 264 seconds) |
22:26:52 | * | CcxCZ quit (Ping timeout: 264 seconds) |
22:27:12 | * | space-wizard joined #nim |
22:27:28 | * | joebo quit (Ping timeout: 264 seconds) |
22:27:28 | * | pleiosaur quit (Ping timeout: 264 seconds) |
22:28:03 | * | jeffc quit (Ping timeout: 264 seconds) |
22:28:11 | NimBot | nim-lang/Nim devel 7e3ebc1 Dominik Picheta [+5 ±0 -0]: Adds GitLab CI config.... 129 more lines |
22:28:47 | * | pleiosaur joined #nim |
22:31:32 | * | Trixar_za joined #nim |
22:32:10 | * | jonafato joined #nim |
22:32:22 | * | NhanH joined #nim |
22:36:37 | * | Trustable quit (Remote host closed the connection) |
22:39:43 | * | Sentreen joined #nim |
22:40:17 | * | bjz joined #nim |
22:40:43 | * | joebo joined #nim |
22:41:34 | libman | Nim has so many features it makes me realize how little I know about programming... Perhaps it's just that years of Python / PHP / etc scripting have rotted my brain. I did some Pascal and Visual C++ in the 90s, but it seemed a lot simpler back then. |
22:42:48 | libman | Does Nim also have the superlative of being the programming language with the highest feature count (by which I mean language features, not libraries)? Someone should do a comparison table. |
22:42:51 | * | CcxCZ joined #nim |
22:44:57 | * | SunDwarf is now known as Fuyukai |
22:47:18 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:49:37 | * | PMunch quit (Quit: leaving) |
22:53:07 | * | endragor joined #nim |
22:54:42 | Sentreen | That probably depends on what you call a feature. |
22:55:24 | Sentreen | Also, #features is a bad metric for a language. Adding features is relatively easy, making sure all of your fancy features work together is the real tricky part |
22:56:19 | * | NhanH quit (Ping timeout: 260 seconds) |
22:57:16 | * | endragor quit (Ping timeout: 244 seconds) |
22:57:36 | * | r4vi quit (Ping timeout: 250 seconds) |
23:00:17 | * | zielmicha quit (Read error: Connection reset by peer) |
23:00:35 | * | CARAM__ quit (Ping timeout: 258 seconds) |
23:01:42 | * | themagician quit () |
23:09:20 | * | r4vi joined #nim |
23:09:28 | * | NhanH joined #nim |
23:10:50 | * | yglukhov joined #nim |
23:11:49 | * | nsf joined #nim |
23:11:49 | * | endragor joined #nim |
23:15:42 | * | yglukhov quit (Ping timeout: 276 seconds) |
23:16:14 | * | endragor quit (Ping timeout: 244 seconds) |
23:16:42 | * | zielmicha joined #nim |
23:18:24 | * | CARAM__ joined #nim |
23:43:42 | * | mtj_ quit (Remote host closed the connection) |
23:43:56 | * | mtj_ joined #nim |
23:53:13 | * | nsf quit (Quit: WeeChat 1.5) |
23:54:52 | libman | It's always nice to have superlatives (or at least "within X% of first place" stats) for promoting something. |
23:55:35 | libman | Maybe only 1% of people out there care about a particular superlative, but it still makes a difference in getting a language like Nim off the ground. |
23:56:34 | libman | Thus my interest in making Nim "the programming language with the most unencumbered clear no-hassle no-lawyers-needed permissively-licensed ecosystem" - (ex. https://github.com/andreaferretti/rosencrantz/issues/9 ) |