00:18:24 | FromGitter | <Willyboar> @xmonader i can't wait to test day 18 project |
00:18:52 | FromGitter | <Willyboar> I hope to finish my static gen soon |
00:23:14 | * | xace quit (Ping timeout: 240 seconds) |
00:24:17 | * | xace joined #nim |
00:29:59 | * | theelous3__ quit (Ping timeout: 250 seconds) |
00:33:38 | FromDiscord | <krab4t> krux02_ no, i mean this https://play.nim-lang.org/#ix=1Zst and this https://play.nim-lang.org/#ix=1Zss |
00:34:33 | krux02_ | krab4t: a value of type bool cannot become nil |
00:34:45 | krux02_ | the default value is false. |
00:35:05 | krux02_ | bool is not a reference type. |
00:35:10 | krux02_ | that that is a good thing |
00:35:55 | krux02_ | a referece is a pointer, takes 8 bytes (64 bits), a bool is usually stored in one byte, adding a poiter indirection would be a lot of overhead. |
00:36:26 | * | theelous3 joined #nim |
00:37:59 | * | krux02_ quit (Remote host closed the connection) |
00:38:22 | * | javasox joined #nim |
00:41:08 | disruptek | i have a dog with nil bools; kind of an odd duck. |
00:44:03 | * | javasox quit (Ping timeout: 260 seconds) |
00:45:40 | FromDiscord | <krab4t> what |
01:03:31 | * | theelous3 quit (Ping timeout: 265 seconds) |
01:19:58 | disruptek | crash your compiler with only 25 characters: https://github.com/nim-lang/Nim/issues/12480 |
01:22:43 | disruptek | gah, i guess you only really need `return`. |
01:23:49 | * | Romanson joined #nim |
01:24:20 | * | Romanson quit (Client Quit) |
01:24:41 | * | Romanson joined #nim |
01:28:07 | * | Hideki_ joined #nim |
01:32:26 | * | Hideki_ quit (Ping timeout: 240 seconds) |
01:38:19 | FromDiscord | <k1tt3hk4t> very cool |
01:44:18 | * | alexander92 quit (Ping timeout: 268 seconds) |
01:48:04 | * | Hideki_ joined #nim |
02:00:57 | * | rockcavera quit (Remote host closed the connection) |
02:10:27 | * | Hideki_ quit (Remote host closed the connection) |
02:14:13 | * | Hideki_ joined #nim |
02:18:26 | * | Hideki_ quit (Ping timeout: 240 seconds) |
02:23:24 | * | sealmove joined #nim |
02:24:30 | * | sealmove quit (Client Quit) |
02:37:07 | * | Hideki_ joined #nim |
02:44:30 | * | Hideki_ quit (Remote host closed the connection) |
02:45:15 | * | Hideki_ joined #nim |
02:46:52 | shashlick | @disruptek - just trying out bump - it just returns 0.0.0 |
02:49:17 | * | Hideki_ quit (Ping timeout: 240 seconds) |
02:52:47 | * | Hideki_ joined #nim |
02:54:33 | * | pbb quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
02:55:10 | * | pbb joined #nim |
03:20:43 | * | chemist69 quit (Ping timeout: 250 seconds) |
03:22:35 | * | chemist69 joined #nim |
03:26:31 | * | Hideki_ quit (Remote host closed the connection) |
03:28:09 | * | Hideki_ joined #nim |
03:31:21 | * | fanta1 joined #nim |
03:32:52 | * | Hideki_ quit (Ping timeout: 265 seconds) |
04:15:58 | * | Hideki_ joined #nim |
04:33:37 | * | dddddd quit (Remote host closed the connection) |
04:36:18 | leorize | anyone with good pcre skills? |
04:43:36 | * | Traviss__ joined #nim |
04:46:51 | * | nsf joined #nim |
04:47:23 | * | traviss quit (Ping timeout: 250 seconds) |
04:47:54 | * | Traviss__ quit (Client Quit) |
05:06:40 | FromGitter | <baby0o01999> hello all |
05:06:54 | FromGitter | <baby0o01999> 10/5000 ⏎ I have a weird problem |
05:07:04 | FromGitter | <baby0o01999> hallo.nims(26, 12) Error: cannot generate VM code for ptr string |
05:07:12 | FromGitter | <baby0o01999> let ws2 = loadLib(ws2dll) ⏎ echo ws2 |
05:07:25 | FromGitter | <baby0o01999> What is the problem |
05:08:20 | FromGitter | <baby0o01999> And this error: |
05:08:26 | FromGitter | <baby0o01999> let t1 = "Hello" ⏎ var ⏎ t2 = t1 ⏎ t3 : pointer = addr(t2) ⏎ echo repr([ptr string]) ... [https://gitter.im/nim-lang/Nim?at=5dae8ecae886fb5aa2d28429] |
05:08:49 | FromGitter | <baby0o01999> All errors related to VM |
05:09:40 | FromGitter | <baby0o01999> Is there anyone here? |
05:10:16 | FromDiscord | <Rika> It's a slow day |
05:11:47 | FromGitter | <baby0o01999> en |
05:13:46 | * | lbartoletti is now known as lbart |
05:15:09 | * | narimiran joined #nim |
05:25:43 | FromDiscord | <Rika> Question, do you really need ptr and addr for this? |
05:26:53 | leorize | baby0o01999: please wrap your code in a codeblock, like this: `\`\`\`code goes here\`\`\`` |
05:27:16 | leorize | lol it doesn't render as I expected :p |
05:27:48 | leorize | basically quote the output with ``` (triple back-ticks) |
05:51:14 | * | fanta1 quit (Quit: fanta1) |
05:55:40 | leorize | disruptek, narimiran: I've worked a bit on nim.nvim syntax file, and now you can configure the string quotes to be highlighted differently from the string itself |
05:56:05 | leorize | the highlighting group for them is `nimQuote` and `nimTripleQuote` |
05:56:10 | leorize | are* |
06:05:12 | Zevv | aw I missed the scifi discussion :( |
06:06:27 | * | Hideki_ quit (Ping timeout: 240 seconds) |
06:08:28 | Zevv | can someone remove the 2nd post on the forum "How to write static function inside a type???", it changed into spam |
06:09:40 | narimiran | Zevv: done |
06:10:20 | narimiran | leorize: i've updated last evening, i hadn't had the time to see what is new |
06:22:37 | * | PMunch joined #nim |
06:26:00 | * | solitudesf joined #nim |
06:28:12 | Zevv | takk |
06:31:10 | PMunch | Takk? |
06:31:54 | Zevv | to narimiran for taking down the spam |
06:32:43 | PMunch | Yeah, I was more curious as to why you chose the word "takk" :P |
06:32:59 | PMunch | Means thank you in the Scandinavian languages |
06:33:02 | Zevv | Well, "tusen takk" is a bit overkill for removing a post from a forum, don't you think? |
06:33:11 | Zevv | it's not like, I washed my car, or something |
06:33:16 | Zevv | like /he/ washed |
06:33:30 | PMunch | Haha, well we tend to use tusen takk for even minor things |
06:33:38 | Zevv | Funny lads |
06:33:47 | PMunch | Takk is a bit short, might sound like you just exhaled sharply at someone |
06:33:57 | narimiran | (i knew 'takk' was 'thank you' in danish, so i understood Zevv) |
06:34:17 | Zevv | if you *really* mean it, spell them out individually, all thousand of them! |
06:34:31 | PMunch | Well, easier to do with copy-paste |
06:34:38 | Zevv | use a pastebin! |
06:35:57 | PMunch | http://ix.io/1Zt6 |
06:36:21 | PMunch | If anyone started getting curious what a thousand takks would actually look like |
06:37:14 | Zevv | makes you go silent, right? Now, after all these years, you *do* realize the impact of these words that are spoken so easily. |
06:37:23 | narimiran | PMunch: sounds like a semi-broken clock |
06:37:28 | Zevv | haha |
06:37:40 | PMunch | Runs half as fast as a regular one |
06:40:50 | * | lritter joined #nim |
06:45:48 | * | filcuc joined #nim |
06:52:30 | * | NimBot joined #nim |
06:53:32 | * | Romanson quit (Quit: Connection closed for inactivity) |
06:54:51 | FromDiscord | <mratsim> I'm back 🙂 |
07:00:00 | * | gmpreussner quit (Quit: kthxbye) |
07:05:10 | * | gmpreussner joined #nim |
07:08:01 | Araq | yay |
07:08:17 | * | krux02 joined #nim |
07:10:23 | * | theelous3 joined #nim |
07:19:41 | leorize | narimiran: well the new "feature" let you color the `"` (quote) around strings with a different color than the string itself |
07:19:58 | leorize | pretty handy if you look at piece of strings like """"""""" |
07:49:06 | lqdev[m] | so we have quite a bit of math homework from ranges and I don't feel like doing it |
07:50:01 | lqdev[m] | I'll just write a parser in npeg that'll solve it for me ;) |
07:50:33 | leorize | how can a match homework be solved with a parser? :p |
07:50:36 | leorize | math* |
07:53:17 | * | theelous3__ joined #nim |
07:57:21 | * | couven92 joined #nim |
08:01:54 | * | floppydh joined #nim |
08:03:33 | * | theelous3 quit (Ping timeout: 268 seconds) |
08:03:41 | * | gmpreussner quit (Ping timeout: 250 seconds) |
08:03:46 | * | gmpreussner_ joined #nim |
08:06:09 | * | Vladar joined #nim |
08:07:23 | * | floppydh quit (Quit: WeeChat 2.6) |
08:10:57 | * | floppydh joined #nim |
08:23:45 | * | JustASlacker joined #nim |
08:31:59 | FromDiscord | <kodkuce> so now shared gc works or still figuring out? |
08:32:29 | * | lbartoletti joined #nim |
08:32:32 | * | lbart quit (Ping timeout: 265 seconds) |
08:35:25 | * | lbartoletti is now known as lbart |
08:46:59 | * | theelous3__ quit (Read error: Connection reset by peer) |
08:47:57 | lqdev[m] | leorize: I'm too lazy to do all the range intersections and whatnot, and as an exercise, I'll create a small language that parses sets and ranges and spits out a nice result |
08:49:44 | leorize | the language is known as wolfram alpha :P |
08:50:46 | leorize | but there aren't any harm spinning your own :) |
08:50:48 | leorize | have fun |
08:51:21 | FromDiscord | <mratsim> You can use one of the Python ISL backend (Integer Set Library), I have an example Nim one: https://github.com/mratsim/nim-isl#example |
08:52:05 | FromDiscord | <mratsim> it's very esoteric though (even though it's being used in LLVM for polyhedral compilation) |
08:52:08 | lqdev[m] | naah using wolfram alpha is kinda cheating, you're not really learning anything new |
08:52:37 | lqdev[m] | mratsim: by the name I assume it only supports integer sets? |
08:52:58 | FromDiscord | <mratsim> that includes ranges |
08:53:13 | FromDiscord | <mratsim> it's used to create infer for loops from 1 to N |
08:53:20 | FromDiscord | <mratsim> and nested for loops |
08:53:31 | lqdev[m] | I need more than that, we're dealing with real numbers |
08:53:53 | FromDiscord | <mratsim> it's probably the most complex C lib I had to read, just by virtue of having memory management every other lines :/ |
08:54:14 | FromDiscord | <mratsim> ah |
08:54:50 | FromDiscord | <mratsim> well, anyway when I tried to port that lib in pure Nim so that I could use it at compile-time, I wrote the parser part, see tests: https://github.com/mratsim/hydra/blob/master/tests/test_sets.nim |
08:54:53 | lqdev[m] | well, I'll see what I need and implement it somehow |
08:56:10 | FromDiscord | <mratsim> and then not sure what you want at the end but you probably need either a linear programming solver or a constraint programming solver |
08:57:05 | livcd | mratsim: is coffeepots still working for Status? |
08:57:28 | lqdev[m] | nah, not really |
08:57:33 | lqdev[m] | I already have an idea in mind |
08:58:01 | FromDiscord | <mratsim> no, he had a startup as well and decided to focus on it, as both were too time-consuming |
08:59:09 | FromDiscord | <mratsim> ah sorry I'm confusing with alehander42 |
08:59:42 | livcd | i am using the mssql lib in nim he created |
08:59:44 | FromDiscord | <mratsim> well maybe coffeepots has a startup as well |
09:00:01 | livcd | have not seen him committing in GH for some time |
09:01:33 | FromDiscord | <mratsim> I'm not sure what he is doing now unfortunately. |
09:01:46 | livcd | hmm ok |
09:03:11 | FromGitter | <gogolxdong> json module refactor missed https://play.nim-lang.org/#ix=1ZtD |
09:03:36 | FromGitter | <gogolxdong> for js backend. |
09:03:42 | livcd | this is the danger of using a niche technology when you cannot pull your own weight |
09:16:59 | * | ng0 joined #nim |
09:26:11 | FromDiscord | <Rokari> Hey guys, I was recently toying with the possible implementations of interfaces in Nim and came up with something similar to what standard stream library uses, but with private closure implementations while maintaining the ability to implement interface in different module. If anyone is interested, I might share. |
09:28:50 | leorize | debugging nimsuggest on neovim: https://asciinema.org/a/ATledWXN11WTnddTsYR4BK87A |
09:29:31 | leorize | narimiran: ^ neovim's new termdebug is nice |
09:31:30 | narimiran | that's some next-level shit |
09:31:42 | narimiran | too advanced for me |
09:32:02 | Zevv | luckily we have leorize |
09:32:39 | Zevv | he proved to be unafraid more then once |
09:33:32 | narimiran | and i'm like "i know my way around vim, i know how to delete a paragraph or record some macro" |
09:39:03 | leorize | it's heavily documented :P |
09:39:07 | leorize | :h :Termdebug |
09:39:17 | leorize | as long as you know how to use gdb, you'll be fine with this |
09:39:32 | * | narimiran will not be fine |
09:39:48 | FromGitter | <baby0o01999> @leorize My problem has been solved. Thank you |
09:43:08 | leorize | narimiran: at least you know how to debug nimsuggest highlighting issues now :P |
09:43:34 | narimiran | mhm, yeah :P |
10:04:03 | * | Hideki_ joined #nim |
10:08:29 | * | Hideki_ quit (Ping timeout: 250 seconds) |
10:14:49 | * | lbartoletti joined #nim |
10:16:45 | * | lbart quit (Ping timeout: 268 seconds) |
10:24:37 | * | abm joined #nim |
10:28:59 | * | lbartoletti_ joined #nim |
10:29:01 | * | lbartoletti quit (Ping timeout: 265 seconds) |
10:29:58 | * | MinSrodowiska joined #nim |
10:30:31 | MinSrodowiska | :) |
10:35:47 | * | lbartoletti_ quit (Ping timeout: 265 seconds) |
10:36:38 | * | lbartoletti joined #nim |
10:36:54 | * | MinSrodowiska quit (Quit: Bye Bye) |
10:41:12 | * | sealmove joined #nim |
10:44:58 | * | lbartoletti quit (Ping timeout: 265 seconds) |
10:45:19 | * | lbartoletti joined #nim |
10:56:23 | * | lbartoletti is now known as lbart |
11:06:50 | * | sealmove quit (Quit: WeeChat 2.6) |
11:12:23 | Zevv | What CI should I chose these days if I want to start something new, travis, azure, others? |
11:13:33 | Araq | azure |
11:13:47 | Araq | it's the fastest and supports all 3 major OSes |
11:15:23 | jken | unpopular opinion, gitlab! |
11:23:24 | livcd | gogolxdong: You are in Shenzhen right ? Where would you recommend me to stay ? What part of the city ? |
11:23:44 | * | theelous3 joined #nim |
11:24:46 | * | alexander92 joined #nim |
11:26:50 | Zevv | ok thanks |
11:32:14 | FromGitter | <gogolxdong> Nanshan District,it has Tencent ,Da Jiang |
11:33:02 | livcd | for vacation i mean :D |
11:38:17 | FromGitter | <gogolxdong> do you have a plan? |
11:39:04 | livcd | not really..I have 3 weeks of vacation and wanted to spend them in Asia. So maybe 2 weeks for china as a whole and the rest will be in Taiwan and SEA |
11:40:14 | livcd | I am going to Thailand today |
11:40:17 | livcd | in a few hours |
11:40:44 | FromGitter | <gogolxdong> Nanshan District, it has Shenzhen Bay Park. |
11:42:53 | FromGitter | <gogolxdong> if you have two weeks, I suggest Shenzhen, Shanghai, Beijng, xi'an, Chengdu |
11:43:37 | livcd | sounds good |
11:45:11 | livcd | it's weird i cant reach weibo profiles...it redirects to passport.weibo.com but when i go to the mobile site it works... |
11:46:38 | FromGitter | <gogolxdong> firewall redirection? donno |
11:47:10 | * | rockcavera joined #nim |
11:47:26 | FromGitter | <gogolxdong> do you need some help? |
11:49:59 | livcd | ill get in touch in Shenzhen thanks! |
11:50:45 | FromGitter | <gogolxdong> do you speak Chinese? |
11:51:14 | livcd | nope |
11:51:52 | FromGitter | <gogolxdong> doesn't matter |
11:56:41 | FromGitter | <gogolxdong> the cities I suggest is in geomitrycally unclockwise . it's also a long journey, you have to by plane to save time |
11:57:08 | FromGitter | <gogolxdong> geographically |
11:59:18 | livcd | i was supposed to go to Dalian to meet my colleague |
12:00:47 | FromGitter | <gogolxdong> it's not far from Beijing |
12:02:57 | * | alexander92 quit (Ping timeout: 240 seconds) |
12:02:58 | * | clyybber joined #nim |
12:12:49 | * | MinSrodowiska joined #nim |
12:14:59 | * | MinSrodowiska left #nim (#nim) |
12:26:21 | clyybber | Araq: Ping, https://irclogs.nim-lang.org/21-10-2019.html#20:11:30 |
12:30:47 | * | Hideki_ joined #nim |
12:31:41 | Araq | clyybber, yes, dunno if that's a bug or desired |
12:31:44 | Araq | Zevv, https://github.com/nim-lang/Nim/pull/12485 |
12:31:48 | Araq | see you later. |
12:48:08 | * | alexander92 joined #nim |
12:48:44 | jken | Can I store a seq of types that match a given concept? |
12:49:03 | jken | Or is there another construct aside from seq that allows mixed but like types? |
12:51:09 | Zevv | sweet araq, will test |
12:54:08 | FromGitter | <mratsim> @jken not until vtables are implemented |
12:58:30 | clyybber | jken: What types? Are they all ref types? |
13:00:05 | jken | clyybber, they are |
13:00:25 | jken | I basically want an array of "things" that implement an "interface" (concept) |
13:01:22 | FromGitter | <mratsim> You can use inheritance at the moment |
13:02:39 | jken | Can you give me a quick example of how to do that with inheritance? I went the concept route because I couldn't figure that out |
13:06:49 | * | nsf quit (Quit: WeeChat 2.6) |
13:07:31 | * | narimiran[m] quit (Remote host closed the connection) |
13:07:33 | * | muxueqz[m] quit (Remote host closed the connection) |
13:07:37 | * | LEdoian[m] quit (Write error: Connection reset by peer) |
13:07:40 | * | yglukhov[m] quit (Remote host closed the connection) |
13:07:43 | * | nergal[m] quit (Read error: Connection reset by peer) |
13:07:43 | * | xomachine[m] quit (Read error: Connection reset by peer) |
13:07:43 | * | skrylar[m] quit (Read error: Connection reset by peer) |
13:07:43 | * | macsek1911[m] quit (Read error: Connection reset by peer) |
13:07:46 | * | zielmicha[m]1 quit (Write error: Connection reset by peer) |
13:07:46 | * | spymasterd[m] quit (Write error: Connection reset by peer) |
13:07:47 | * | leorize[m] quit (Write error: Connection reset by peer) |
13:07:47 | * | TheManiac[m] quit (Remote host closed the connection) |
13:07:47 | * | Demos[m] quit (Read error: Connection reset by peer) |
13:07:47 | * | BitPuffin quit (Read error: Connection reset by peer) |
13:07:47 | * | pigmej quit (Write error: Connection reset by peer) |
13:07:48 | * | MrAxilus quit (Read error: Connection reset by peer) |
13:07:51 | * | GitterIntegratio quit (Write error: Connection reset by peer) |
13:07:51 | * | swisscowbell[m] quit (Remote host closed the connection) |
13:07:52 | * | testgovno[m] quit (Remote host closed the connection) |
13:07:52 | * | isaac[m] quit (Read error: Connection reset by peer) |
13:07:55 | * | k0mpjut0r quit (Read error: Connection reset by peer) |
13:07:55 | * | salotz[m] quit (Remote host closed the connection) |
13:07:57 | * | Miguelngel[m] quit (Remote host closed the connection) |
13:07:57 | * | meff[m] quit (Write error: Connection reset by peer) |
13:07:58 | * | planetis[m] quit (Remote host closed the connection) |
13:07:59 | * | Connor[m] quit (Remote host closed the connection) |
13:08:00 | * | lasso[m] quit (Remote host closed the connection) |
13:08:00 | * | lqdev[m] quit (Remote host closed the connection) |
13:08:00 | * | nc-x[m] quit (Remote host closed the connection) |
13:08:00 | * | ee7[m] quit (Remote host closed the connection) |
13:08:14 | clyybber | jken: You make every object you want to use inherit something, like `of RootObj` |
13:08:24 | clyybber | And then you create a `seq[RootObj]` |
13:08:45 | jken | I had tried that yesterday and ran into issues, ill try again |
13:11:49 | narimiran | jken: https://nim-lang.github.io/Nim/tut2.html#object-oriented-programming |
13:12:14 | jken | thanks |
13:16:06 | * | nif_ quit (Quit: ...) |
13:16:15 | * | nif joined #nim |
13:23:33 | jken | This is the issue I was running into: https://play.nim-lang.org/#ix=1Zuz |
13:23:38 | jken | Can anyone tell me what I am doing wrong? |
13:27:05 | alexander92 | mratsim is right |
13:28:27 | clyybber | alexander92: Thats what he is doing in that snippet |
13:28:33 | clyybber | I can't figure it out either |
13:29:08 | alexander92 | how is default fields going btw |
13:30:05 | clyybber | Can't bootstrap atm some weird bug. And I need to do a bit more transformations in transf.nim. |
13:30:29 | clyybber | s/atm/atm due to |
13:30:53 | * | theelous3_ joined #nim |
13:31:09 | * | dddddd joined #nim |
13:33:25 | jken | well glad its not just me i guess :/ |
13:33:26 | * | Hideki_ quit (Remote host closed the connection) |
13:33:41 | * | Hideki_ joined #nim |
13:35:53 | jken | https://play.nim-lang.org/#ix=1ZuB |
13:36:59 | clyybber | krux02: There is an assignment operator. |
13:38:05 | krux02 | I tried to overload `=` |
13:38:08 | krux02 | didn't work |
13:38:15 | krux02 | I think it is something experimental |
13:41:17 | clyybber | Its used for destructors |
13:41:25 | clyybber | and newruntime |
13:41:53 | clyybber | Its a type bound op, like =destroy and =sink |
13:44:06 | krux02 | ah, yes, I forgot that part. |
13:44:30 | krux02 | but the new runtime isn't active by default yet. |
13:44:54 | clyybber | Yeah |
13:45:02 | clyybber | You can still use `=` though |
13:45:09 | clyybber | and `=destroy` |
13:45:25 | clyybber | I think.. |
13:48:43 | FromGitter | <mratsim> @krux02 tell @Araq last time I said that he said that it should work |
13:54:20 | clyybber | What isn't working? |
13:56:20 | clyybber | Like do you have a snippet? |
14:00:10 | FromDiscord | <galen> Is there a preferred "build system" to use with nim? I've seen https://github.com/fowlmouth/nake. Is this one common or are others more common? |
14:00:26 | disruptek | shashlick: which version? |
14:03:40 | disruptek | i'm not aware of any bugs and the last release should be even better behaved. |
14:05:21 | shashlick | I pulled day before |
14:06:35 | clyybber | krux02: See my reply on github |
14:10:23 | disruptek | oh, you need to update for emojial reasons. |
14:11:09 | disruptek | the tool to change one line in a file already has 11 releases. |
14:11:38 | clyybber | amazing |
14:11:49 | disruptek | i'm one proud papa. |
14:11:56 | clyybber | the real reason we got utf8 is this |
14:12:05 | disruptek | amiright? |
14:15:53 | jken | Is it possible to convert the string produced by name(typedesc) back to that typedesc? |
14:19:35 | * | abm quit (Quit: Leaving) |
14:24:37 | Yardanico | @galen Nimble (you can write your tasks using NimScript for it) :) |
14:26:11 | Yardanico | Nake is better in the sense that you can use Nim (not NimScript) for writing tasks |
14:26:51 | disruptek | leorize: seems like syntax highlighting is more "stable", if that makes sense. you only fixed the """"""" thing? or something else? |
14:31:27 | FromDiscord | <galen> Ah right, will look into it yardanico |
14:34:49 | clyybber | jken: With a macro probably |
14:35:12 | clyybber | You can do newIdentNode |
14:35:48 | jken | clyybber, I was thinking I could solve my problem by storing layers in a table where the key is the typedesc and the value is the actual type, and then I could cast the value to the key |
14:35:54 | jken | but tables cant store typedescs |
14:37:28 | clyybber | yeah, typedesc is a compile-time only construct |
14:37:59 | * | PMunch quit (Remote host closed the connection) |
14:38:03 | jken | right, so if I store the type names as strings, I need a way to get that string back to the type so I can cast |
14:38:11 | jken | probably a terrible idea. |
14:38:13 | * | JustASlacker quit (Ping timeout: 268 seconds) |
14:38:39 | clyybber | Sounds like it :p |
14:40:26 | * | shadowbane quit (Ping timeout: 240 seconds) |
14:42:29 | jken | This is the only other approach I could come up with |
14:42:29 | jken | https://play.nim-lang.org/#ix=1ZuZ |
14:42:45 | jken | Store the procs for a layer on the Layer type, and avoid concepts and inheritence all together. |
14:43:30 | jken | feels less desirable though |
14:44:03 | * | shadowbane joined #nim |
14:47:25 | clyybber | jken: Can you try your inheritance example with --multiMethods:on ? |
14:48:04 | leorize | disruptek: basically I now parse strings the way the compiler does |
14:48:22 | leorize | the "fix" I made for your bug was a walkaround |
14:48:36 | leorize | this time it's guaranteed to be correct |
14:48:44 | jken | clyybber, same results with --multiMethods:on passed to nim c |
14:48:55 | clyybber | Hmm, ok. |
14:49:07 | clyybber | I'd say report it. Seems like a bug to me. |
14:49:18 | leorize | disruptek: also you can now highlight the start and end quotes of a string |
14:49:24 | jken | It calls the right method is i cast it to the right thing in my for loop, but I can't do that dynamicall |
14:50:01 | clyybber | Yeah, jken can you try defining update for layer? And just make it echo something and see if it gets called in the end. |
14:50:32 | jken | clyybber, thats what I did here: https://play.nim-lang.org/#ix=1ZuB |
14:50:39 | jken | It gets called with or without multiMethods:on |
14:51:00 | jken | oh wait |
14:51:05 | jken | if i make those procs methods, it works! |
14:51:19 | jken | and only with multiMethods:on |
14:51:24 | disruptek | leorize: yeah, it's noticeably improved, great job. |
14:51:56 | clyybber | jken: Oh, damn. Yeah of course. I was thinking they were already methods, but didn't look hard enough I guess :) |
14:51:58 | disruptek | yeah, i find that methods don't answer to the name `proc` unless you also yell and point. |
14:52:27 | jken | clyybber, not sure I understand how that works fully, but now I have somewhere to start :D thanks |
14:52:44 | * | nsf joined #nim |
14:53:43 | clyybber | jken: Basically methods do dynamic dispatch. Meaning they decide who will be called at runtime. |
14:53:52 | clyybber | Procs don't do that. Procs only do it at compile time |
14:54:05 | jken | ah, okay. That makes sense. |
14:55:34 | * | Hideki_ quit (Remote host closed the connection) |
15:00:11 | FromGitter | <brentp> seems like zip is not able to handle archives > 4.2GB. is that correct? |
15:00:47 | FromDiscord | <mratsim> @brentp, maybe you need one built with int64? |
15:03:17 | FromGitter | <brentp> looks like I need to pass: ZIP_CM_DEFLATE64, but the interface does not allow it |
15:04:05 | clyybber | Araq: Hmm, one problem that appears when transforming `Obj(d: 1, v: 1)` to `let tmp = Obj(); tmp.d = 1; tmp.v = 1` is with case objects, as a field could be the discriminator. |
15:04:52 | FromGitter | <brentp> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5daf1a93e886fb5aa2d6a8c8] |
15:09:40 | disruptek | hmm, nimQuote is helpful. i think just making it italic is enough. |
15:09:41 | FromGitter | <brentp> https://github.com/nim-lang/zip/issues/48 |
15:10:15 | disruptek | 4.2g outta be enough for anybody. |
15:13:53 | Yardanico | 30 qubits outta be enough for anybody :P |
15:14:58 | FromGitter | <brentp> hrmph |
15:19:46 | clyybber | Araq: AFAICT though I could introduce a flag to evade that error, since I know it is correct. And as a sideeffect that would also allow non-const expressions to be passed to the discriminator. |
15:20:40 | clyybber | The other way to solve this is to inject the default field values into the object constructor, which gets a bit messy implementation wise with case objects. |
15:22:10 | * | PMunch joined #nim |
15:22:47 | FromGitter | <alehander42> mratsim, i am just working in a startup, not really "have" it |
15:22:54 | FromGitter | <alehander42> disruptek, no |
15:22:57 | FromGitter | <alehander42> i dont really have time |
15:23:10 | FromGitter | <alehander42> these days, but i like to see experimentation in that area |
15:23:14 | FromGitter | <alehander42> (the syntax cliff comment) |
15:27:11 | Araq | clyybber: tranform nkCheckedFieldAccess to nkDotExpr? |
15:32:31 | clyybber | Yeah that should work. |
15:34:41 | clyybber | Araq: Hmm afaict I'm not using nkCheckedFieldAccess anywhere |
15:35:58 | clyybber | And I still get the Error: assignment to discriminant changes object branch thing. |
15:36:08 | Araq | then the backend shouldn't be concerned about the safety |
15:36:47 | clyybber | Ok, should the backend check that only with nkCheckedFieldAccess? |
15:39:59 | Araq | yup |
15:44:15 | disruptek | leorize: so nimQuote includes generalized raw string literals. is that a feature? /ident"/someVariable/"/ i can't decide if i like it. 😁 |
15:44:40 | clyybber | mratsim: Welcome back! Btw have you seen the news that ADAM was wrongly implemented in pytorch? |
15:44:45 | leorize | disruptek: there's a PR pending for nimsuggest to highlight that part :P |
15:44:56 | disruptek | hah! |
15:45:14 | disruptek | it's sorta neat looking. |
15:45:19 | clyybber | mratsim: Does arraymancer or laser also implement Adam? |
15:45:25 | disruptek | i think it's a win. |
15:45:49 | FromDiscord | <mratsim> @Clyybber you're late by 10 mins: https://github.com/mratsim/Arraymancer/issues/392 |
15:46:16 | clyybber | huh, nice |
15:47:17 | leorize | disruptek: if you like distinct styling, feel free to make a PR to add nimRawQuote :P |
15:48:08 | disruptek | too lazy, but i guess i can enjoy these for awhile longer. 😀 |
15:48:36 | FromDiscord | <mratsim> AFAIK I used the same equation as Tensorflow instead of copy-pasting from either Tensorflow or PyTorch so I don't think I'm affected: https://github.com/mratsim/Arraymancer/blob/master/src/nn/optimizers/optimizers.nim#L202 @Clyybber |
15:49:02 | leorize | disruptek: or merge this one and enjoy proper highlighting: https://github.com/nim-lang/Nim/pull/12484 |
15:49:14 | clyybber | Yeah, I just checked your code, looks like you are correct |
15:50:21 | * | JustASlacker joined #nim |
15:50:47 | leorize | disruptek: it'll look like this: https://asciinema.org/a/ATledWXN11WTnddTsYR4BK87A?t=3:34 (see the right split) |
15:51:52 | disruptek | when i fullscreen that page and move my pointer to the scrubber, it goes away. then it comes back as soon as i move away from it. 🤣 |
15:53:13 | leorize | :P |
15:53:24 | leorize | next time I should record a smaller terminal |
15:54:09 | disruptek | neovim supports embedded terminals, right? |
15:55:37 | leorize | yea |
15:56:06 | disruptek | do you use it? |
15:56:22 | leorize | I don't |
15:57:04 | leorize | well I do use it in the form of `termdebug`, but no more than that |
15:57:38 | * | lqdev joined #nim |
15:57:50 | lqdev | jeez, the matrix homeserver sucks |
15:58:19 | lqdev | anyways, what does this mean? https://termbin.com/f56l I can't find the culprit just by looking at it |
15:58:26 | disruptek | could have golding giving me timing information in a terminal as i write the code. that could be interesting. |
15:58:30 | disruptek | golden, too. |
15:58:40 | lqdev | it happens when a ton of clients join at the same time |
15:59:01 | leorize | lqdev: did you iterate and add/remove things from a seq? |
15:59:35 | clyybber | golden ding == golding |
15:59:41 | disruptek | this is the same problem zedeus is having; see the expose processClient PR for discussion. |
16:00:04 | disruptek | but, yes, your code could be fixed more easily. |
16:02:42 | * | alexander92 quit (Ping timeout: 252 seconds) |
16:04:00 | * | JustASlacker quit (Quit: Leaving) |
16:07:25 | lqdev | leorize: yes, but I don't remove them in the iterator |
16:07:37 | lqdev | I mean, I use countdown(x.len - 1, 0) |
16:07:46 | lqdev | and then x.delete(i) inside of the loop |
16:08:50 | * | couven92 quit (Quit: Client disconnecting) |
16:09:28 | disruptek | well, don't do that. |
16:09:38 | disruptek | otherwise, the assertion in stdlib will trip and crash your server. |
16:09:53 | lqdev | disruptek: I'm not using x.items. |
16:10:46 | lqdev | see: https://github.com/liquid600pgm/shitchat/blob/master/src/server.nim#L24 |
16:10:48 | disruptek | someone is. |
16:11:18 | lqdev | I'll double-check my code |
16:11:44 | Araq | lqdev: x.len is evaluated only once, when the loop starts |
16:11:55 | Araq | so you need to use a while loop |
16:12:27 | lqdev | ah, right |
16:12:43 | lqdev | but it shouldn't cause a problem in this case shouldn't it? |
16:12:53 | lqdev | maybe it's the async part that trips it up |
16:12:57 | disruptek | looking at your code, it looks okay to me. |
16:13:07 | disruptek | what does countdown do behind the scenes? |
16:14:15 | lqdev | disruptek: nothing special, https://github.com/nim-lang/Nim/blob/devel/lib/system.nim#L2657 |
16:14:46 | disruptek | ah, that loop isn't the problem. |
16:15:16 | lqdev | I don't use `del` or `delete` anywhere else in the code |
16:15:50 | Araq | ping Zevv |
16:16:06 | disruptek | put some debugging in. i think it's more likely elsewhere and maybe even unrelated. |
16:16:34 | disruptek | and note that the line number is for the while loop, not the for. |
16:16:40 | disruptek | so to speak. |
16:19:10 | federico3 | https://stackshare.io/nim any stackshare user? |
16:20:08 | jken | The more I try, the more I can't understand how some of you don't end up moving yoru types into a single types.nim file |
16:24:32 | disruptek | just try to remember that araq likes trees but more general graphs or symlinks. |
16:24:41 | disruptek | ^but hates |
16:34:24 | clyybber | Araq: When I compare the s field of indents is it already case normalized? |
16:40:03 | Zevv | Araq: hello |
16:42:51 | Zevv | I just found out that even hello world has this problem on "araq-vm-improvements", I probably am missing something |
17:01:01 | * | filcuc quit (Ping timeout: 252 seconds) |
17:04:37 | * | xace quit (Ping timeout: 240 seconds) |
17:09:00 | lqdev | regarding the VM… how hard is it to embed into an application and how bulky is it (in terms of executable size and performance)? |
17:09:47 | disruptek | good question, please send me a minimal example if you come up with one. will make a good benchmark. |
17:13:12 | Yardanico | There's this example https://github.com/Serenitor/embeddedNimScript |
17:16:41 | shashlick | @lqdev - can you please check your wrappers with nimterop#head? |
17:17:06 | lqdev | shashlick: sure |
17:17:40 | FromGitter | <xmonader> @Willyboar feel free to pull nim-servy repo and try it out ^_^ |
17:18:05 | * | lqdev quit (Remote host closed the connection) |
17:21:29 | shashlick | @mratsim - i see your nim-isl wrapper has a big cOverride as well, if you could check as well |
17:23:31 | * | alexander92 joined #nim |
17:23:51 | FromGitter | <Willyboar> @xmonader i do when i finished with my static blog gen. |
17:23:56 | * | lqdev joined #nim |
17:25:00 | FromGitter | <xmonader> Hope you document its process so it becomes a resource for nim developers @Willyboar |
17:25:14 | * | Kameleon joined #nim |
17:25:58 | FromGitter | <Willyboar> No, i am newbie i try nim around 2 weeks. I think my code would be extremely bad. |
17:27:10 | FromGitter | <xmonader> I'm still a beginner as well, but limiting myself to a subset of nim. Also you can ask the guys to review your code here or on the forum. they wouldn't mind |
17:28:13 | lqdev | shashlick: https://termbin.com/080t |
17:28:18 | FromGitter | <Willyboar> Well, I'll post the repo here when i will finish it |
17:29:25 | FromGitter | <Willyboar> I hope this happens in the next couple of days |
17:29:26 | FromGitter | <Willyboar> :) |
17:30:09 | FromGitter | <xmonader> Good luck mate! |
17:30:39 | FromGitter | <Willyboar> Thank you! I will need it :) |
17:33:29 | shashlick | @lqdev - not able to open termbin from work |
17:33:39 | * | PMunch quit (Remote host closed the connection) |
17:33:52 | * | theelous3_ quit (Quit: is outty) |
17:37:35 | FromGitter | <xmonader> @Araq when can we expect your compilers book? |
17:38:26 | shashlick | @lqdev - did you use nim c or nim check |
17:43:21 | lqdev | shashlick: nim check |
17:43:39 | lqdev | also, what can you open at work? ix? |
17:44:27 | shashlick | i got through from my phone |
17:44:30 | shashlick | ix is also blocked |
17:44:33 | lqdev | dang |
17:44:48 | shashlick | by the way, did you check my response to https://github.com/nimterop/nimterop/issues/144 |
17:45:35 | shashlick | nim check is no longer the same |
17:46:08 | shashlick | @Araq - what all is disabled in `nim check` since 1.0? I couldn't find any PR or issue |
17:47:02 | Araq | but there was |
17:47:16 | Araq | staticExec is turned into "" |
17:47:46 | Araq | and that's about it |
17:48:30 | clyybber | Araq: How should I compare idents? |
17:48:47 | clyybber | s/compare/check for equality |
17:48:56 | Araq | .id == .id |
17:49:05 | clyybber | Thanks |
17:49:13 | Araq | but why do you need to do it? |
17:49:26 | lqdev | shashlick: but not doing anything in `nim check` will disable wrapper genearation no? |
17:49:36 | lqdev | or do you mean running toast? |
17:49:45 | lqdev | and generating the wrapper |
17:50:47 | clyybber | Araq: To not overwrite the fields explicitly passed to the obj constructor |
17:51:00 | clyybber | Maybe checking the Syms for equality will suffice.. |
17:51:10 | clyybber | I'll try both and see what works |
17:52:37 | shashlick | @Araq - gorgeEx still works |
17:52:42 | shashlick | but writeFile fails |
17:53:00 | shashlick | @lqdev - correct, not much of a choice - you are expected to use `nim c` to do that |
17:53:03 | Araq | that's a bug |
17:53:22 | shashlick | nim check is not expected to have side effects |
17:53:38 | lqdev | shashlick: makes sense, and it should boost performance nevertheless |
17:53:53 | lqdev | good idea imo |
17:58:04 | * | Kameleon quit (Quit: Leaving) |
17:59:20 | Zevv | Is there a macro in the stdlib that 'unpacks' an object into a tuple? |
18:00:12 | disruptek | cool idea. |
18:01:03 | Zevv | I have a pattern I often use: let v = somethingReturningAnObj() and then later (a, b, c) = (v.a, v.b, v.c) |
18:01:52 | disruptek | ah, that sounds more like `with`, right? |
18:02:22 | Zevv | not quite, because I still have these assignments |
18:02:32 | Zevv | usually of some elements, not all. |
18:02:34 | leorize | Zevv: there's one, lemme find it |
18:02:39 | Zevv | sweet |
18:03:00 | leorize | it's a package named unpack |
18:03:06 | leorize | https://nimble.directory/pkg/unpack |
18:03:26 | Zevv | yeah like that |
18:03:47 | Zevv | thanks |
18:04:32 | Zevv | Damn that's nifty. [a, b, c] <- someThing |
18:04:32 | shashlick | @disruptek - does bump require hub? |
18:04:47 | disruptek | nah. |
18:05:23 | disruptek | but if you have it, you can use `--release` to mate the new version to a new matching github release. |
18:05:45 | disruptek | Zevv: and you did look at `with`, right? |
18:05:52 | disruptek | https://nimble.directory/pkg/with |
18:06:11 | disruptek | s/new version/new tag/ |
18:07:06 | shashlick | @disruptek - also, bump will do the nimble file update, checkin and tagging right? |
18:07:14 | disruptek | yeah. |
18:07:26 | shashlick | ok i'll try it for nimterop minor update soon |
18:07:43 | disruptek | it doesn't know anything about branches, though, so try to be on the right one. |
18:07:53 | shashlick | i don't like wasting versions, but thankfully numbers are infinite |
18:08:03 | disruptek | that's kinda how i feel. |
18:08:17 | shashlick | i don't like a 0.91.1 |
18:08:28 | shashlick | every new feature i add bumps minor |
18:08:53 | shashlick | getHeader = 0.2.0, cOverride = 0.3.0 |
18:09:08 | disruptek | i swapped the -m short option to mean --minor instead of --major and i felt bad for not bumping the major. that's how pedantic i am. |
18:09:54 | disruptek | new features /should/ bump minors. |
18:09:57 | shashlick | okay, @lqdev - can you test with `nim c` and verify if stuff still works |
18:10:09 | shashlick | waiting to tag 0.3.0 |
18:10:19 | shashlick | nimarchive and nimgit2 are working well |
18:11:46 | disruptek | shashlick: are you on windows? |
18:11:55 | disruptek | because it might eat your dog if you are. |
18:12:27 | shashlick | i originally tested bump on linux and just got a funny emoji followed by 0.0.0 |
18:12:37 | shashlick | was going to try on windows now but am worried now |
18:13:21 | * | skellock joined #nim |
18:13:30 | disruptek | i don't test windows but the code is written for children. seems very hard to believe it would produce 0.0.0. |
18:17:12 | lqdev | shashlick: yeah, things seem to be ok after `nim c` |
18:17:39 | clyybber | Zevv: Another case for unifying tuples and objects |
18:17:45 | shashlick | okay good - bumping to 0.3.0 |
18:17:51 | clyybber | But maybe you can just cast the object to a tuple? |
18:17:51 | * | nsf quit (Quit: WeeChat 2.6) |
18:18:18 | shashlick | @lqdev - do you understand the new cOverride behavior |
18:18:27 | disruptek | clyybber: that's a feature that should exist. |
18:19:05 | clyybber | disruptek: Why? Tuples are essentially just anonymous objects |
18:19:09 | clyybber | Oh |
18:19:13 | clyybber | I read shouldn't |
18:20:15 | disruptek | you and me, buddy. |
18:20:28 | lqdev | shashlick: yes, I just tested it and it works as expected |
18:21:23 | disruptek | lqdev: did you figure out that loop bug? |
18:21:33 | lqdev | disruptek: nope |
18:22:03 | lqdev | regarding the SDL wrapper, I decided to revert my decision on splitting it into multiple files since you're fixing the caching anyways and even if I split it up it won't increase perf by much |
18:22:48 | * | floppydh quit (Quit: WeeChat 2.6) |
18:24:23 | clyybber | what loop bug? |
18:25:57 | clyybber | ping lqdev |
18:26:37 | lqdev | clyybber: async exceptions and stuff https://termbin.com/f56l |
18:27:05 | lqdev | apparently an assertion is broken somewhere but I have no idea where. |
18:27:31 | shashlick | @lqdev - i'm still not sure how to fix, depends on what Araq comes back with - but basically every proc i'll have to check if nimcheck and return |
18:28:02 | clyybber | lqdev: Is it your loop? |
18:28:07 | clyybber | Or is it the async loop? |
18:28:59 | lqdev | clyybber: likely that it's the async loop, because my code seems correct. stack traces don't point to anywhere in my code |
18:29:15 | lqdev | just the asyncCheck and runForever in the main file |
18:29:22 | lqdev | s/the/to the/ |
18:30:14 | clyybber | lqdev: Hmm, weird. I have no idea about async but if you have a loop yourself and get this error check if you are doing string slice assignments |
18:30:40 | clyybber | Like `someStringOrSeq[1..4] = someOtherStringorSeq[1..3]` |
18:31:37 | clyybber | And you are looping over someStringOrSeq |
18:31:42 | lqdev | clyybber: I'm not |
18:32:26 | lqdev | the only 'dangerous' operation I'm doing is a `system.delete` in a for loop, but I verified that it's safe |
18:32:48 | clyybber | Good luck on finding the issue then :) |
18:34:31 | shashlick | https://github.com/nim-lang/Nim/issues/12491 |
18:36:00 | disruptek | would anyone be offended by a bot that wrote new issues and PRs to the channel? |
18:36:29 | shashlick | @disruptek - bump test |
18:37:07 | shashlick | new machine, same result |
18:37:10 | shashlick | linux |
18:37:35 | shashlick | 0.0.0 |
18:37:41 | shashlick | nimgitsfu fail |
18:37:57 | disruptek | what version of bump? |
18:38:13 | shashlick | just installed right now |
18:38:21 | shashlick | 1.3.3 |
18:38:51 | disruptek | build it with -d:debug and it'll print everything it's thinking, but... maybe there's something weird with your version. i'll try bumping my copy of nimterop. |
18:39:45 | disruptek | nimgitsfu is a tough martial art, especially for a lil cli tool like this. |
18:40:34 | * | clyybber quit (Ping timeout: 268 seconds) |
18:40:53 | disruptek | ah, that's the issue. |
18:41:25 | disruptek | i guess my regexp is too simple. easy fix. |
18:42:08 | shashlick | crazy spaces |
18:44:28 | disruptek | this actually seems like an nre bug, too. |
18:44:37 | * | lqdev quit (Read error: Connection reset by peer) |
18:44:37 | * | sagax quit (Ping timeout: 240 seconds) |
18:44:41 | * | lqdev_ joined #nim |
18:47:47 | disruptek | someone get me a child; i need a code review. |
18:48:08 | FromDiscord | <kodkuce> you want to be pregnet? |
18:48:31 | disruptek | oh, i'm an idiot. |
18:48:48 | disruptek | if not line.startsWith("version = "): |
18:49:25 | shashlick | @disruptek - i'm blocked from a new nimterop minor release because of bump |
18:49:31 | shashlick | i'm going to escalate |
18:49:33 | disruptek | lol |
18:50:03 | disruptek | i guess i need to support tabs, too. |
18:52:32 | shashlick | `\s` should be enough no? |
18:53:33 | shashlick | you should instead consider running `nimble dump` in the directory - it will print out the version for you |
18:53:42 | shashlick | no need to search and parse nimble files |
18:53:44 | disruptek | try 1.3.4. turns out, nimble allows `version=` also. so, 0-N whitespace. |
18:54:39 | disruptek | i'd still have to parse it, but i guess maybe that makes more sense. |
18:54:53 | disruptek | kinda ridiculous. 🤪 |
18:55:41 | disruptek | if i can get it up to a 1mb binary by the end of the year, i'll be happy. |
18:55:52 | disruptek | <400k to go. |
18:57:32 | * | narimiran quit (Remote host closed the connection) |
18:57:46 | disruptek | oh, i guess it doesn't know about your v prefix to version tags, either. so that's probably worth another 50k to support. |
18:57:51 | Zevv | disruptek: was it you who also hit the 'too many VM registers'? |
18:58:15 | disruptek | yeah, i need somewhere between 20 million and 40 million now. i haven't counted them all. |
18:58:30 | disruptek | how many do you have and whaddya want for 'em? |
18:58:55 | * | narimiran joined #nim |
18:59:40 | Zevv | there was a fix for that, but it doens't work for me yet. Wonder if it was able to fix your issues |
18:59:44 | disruptek | actually, it's not registers, it's loop iterations that i need. |
18:59:48 | Zevv | ah right |
19:00:49 | Zevv | I knew you were short of *something* |
19:01:11 | disruptek | you don't get far in my business if you're short. |
19:01:49 | Zevv | oh I thought that was mostly anynomous and all |
19:02:14 | disruptek | no one wants to buy midget sperm. the market is soft, i mean. |
19:02:54 | skellock | quit |
19:02:59 | skellock | osh.... |
19:03:02 | * | skellock quit (Quit: WeeChat 2.6) |
19:03:26 | disruptek | you just never know when you're gonna offend a midget on irc. |
19:03:38 | disruptek | a little goes a long way with those folks. |
19:03:42 | * | jken is offended |
19:06:39 | * | lqdev_ quit (Ping timeout: 264 seconds) |
19:09:44 | Zevv | does that happen with you at parties too disruptek - you say something and then the whole room goes silent for minutes? |
19:10:01 | disruptek | what are these `parties` i keep hearing about? |
19:10:13 | Zevv | :) |
19:10:49 | disruptek | TIL zevv actually has red text on his monochrome potato, but only due to leorize's plugin. |
19:12:14 | Zevv | nope, no red here. I got green, a tad of blue and some grey and yellow. nice and easy. |
19:12:23 | Zevv | http://zevv.nl/div/colors.png |
19:12:57 | Zevv | quite a lot of pixels for a vt52, no? |
19:13:23 | disruptek | you musta taken that screenshot with an iphone. |
19:13:38 | disruptek | i feel like i recognize that wm but i can't place it. |
19:14:29 | Zevv | I was lying. This is what it really looks like usually: http://zevv.nl/div/colors2.png |
19:14:40 | * | shashlick quit (Read error: Connection reset by peer) |
19:14:41 | disruptek | lol |
19:14:55 | disruptek | that's more like it. |
19:15:41 | disruptek | takes me back. |
19:16:03 | disruptek | you can practically smell the burn as the BASIC scrolls up the screen. |
19:17:13 | Zevv | it's fun, part of xscreensaver, it's a true emulation of a CRT and can just run your usual shell |
19:17:24 | Zevv | this guy went all the way, totally dissected the physics of a CRT and put it all in |
19:17:39 | disruptek | yeah, i know. it's amazing that guy is still working on it. |
19:17:53 | disruptek | pretty sure jwz hasn't been in the tech biz in years and years. |
19:18:23 | narimiran | calling for testers: nightlies for v1.0.2 are here: https://github.com/nim-lang/nightlies/releases/tag/2019-10-22-version-1-0-193b3c6 and if you don't report any problem in the next 12 hours, it will become the official release |
19:23:04 | * | hades joined #nim |
19:23:05 | * | hades quit (Client Quit) |
19:23:30 | * | Guest36881 joined #nim |
19:30:47 | disruptek | narimiran: don't threaten me with a good time. |
19:34:50 | * | lritter quit (Ping timeout: 268 seconds) |
19:42:07 | * | lqdev_ joined #nim |
19:47:38 | * | Trustable joined #nim |
19:48:01 | dom96 | narimiran, macosx tarball has no binaries? |
19:48:26 | Araq | osx tarball is the "generic unix tarball", it's misnamed |
19:48:29 | dom96 | oh I should have read the description |
19:48:29 | Araq | (since forever) |
19:50:43 | dom96 | shame we don't include the changelog in the tarball |
19:52:35 | * | MinSrodowiska joined #nim |
19:53:41 | * | MinSrodowiska left #nim ("No boundaries on the net!") |
20:06:25 | FromDiscord | <kodkuce> dont play civ6 it sux i wasted liek 15h and it started crashing all time |
20:08:53 | * | dgt joined #nim |
20:11:30 | * | shashlick joined #nim |
20:12:06 | shashlick | @disruptek - okay bump isn't correct |
20:12:14 | shashlick | the tag should be v0.3.0, not just 0.3.0 |
20:12:20 | shashlick | it also lost my spaces alignment in the nimble file |
20:15:10 | * | PrimHelios joined #nim |
20:16:14 | * | Trustable quit (Remote host closed the connection) |
20:24:15 | * | PrimHelios quit (Ping timeout: 250 seconds) |
20:36:01 | disruptek | well, i tol' yah it'd screw up the `v`. removing the crazy spaces is a "feature". |
20:36:57 | disruptek | i guess the right thing to do is to sniff existing tags to find out if you're one of those `v` people. |
20:38:41 | shashlick | i think nimble doesn't work without v |
20:39:53 | Araq | kodkuce: play DoW 1 instead, it's great |
20:40:05 | disruptek | i never use `v`. |
20:40:33 | disruptek | maybe that's why i have so much trouble with nimble. |
20:41:08 | disruptek | clearly, i need to add another child to my staff. |
20:43:34 | * | sagax joined #nim |
20:46:58 | shashlick | Kids are great |
20:50:18 | * | narimiran quit (Ping timeout: 245 seconds) |
20:50:25 | disruptek | yeah, i'm just not allowed within 150 yards of one. 🙁 |
20:52:39 | disruptek | bump 1.3.5 supports crazy spaces. |
20:54:33 | FromGitter | <Willyboar> Can someone please tell me why ⏎ ``` execCmd("cd <folder>") don't work ``` |
20:54:43 | disruptek | it's a shell built-in. |
20:54:58 | disruptek | use changeDirectory() iirc. i think there's even a `cd` template? |
20:55:14 | disruptek | setCurrentDir() |
20:56:40 | FromGitter | <Willyboar> Ok I will test it. Thank you so much |
21:07:11 | disruptek | bump 1.4.0 supports --v to tag with a `v` prefix. weirdos. |
21:07:34 | Araq | what's "bump"? |
21:07:53 | disruptek | something that shouldn't need to exist. |
21:08:10 | disruptek | https://github.com/disruptek/bump |
21:09:39 | Araq | so it is exactly what I thought it would be |
21:09:48 | Araq | can we add this to Nimble please? |
21:09:55 | Araq | PLEASE?! |
21:10:23 | disruptek | i can't decide if you're kidding or not, but either way it's pretty amusing. |
21:10:38 | Araq | I'm serious |
21:10:42 | shashlick | Will it add the v to the nimble file too? |
21:10:51 | disruptek | nah, that wouldn't make any sense. |
21:11:07 | dom96 | You shouldn't need the `v` |
21:11:28 | dom96 | Here is the relevant code https://github.com/nim-lang/nimble/blob/master/src/nimblepkg/download.nim#L107 |
21:11:32 | disruptek | if you've been using the v and you stop using it, your tags sort out of order. |
21:11:35 | disruptek | so please don't use v. |
21:13:54 | disruptek | there should be an --undo i guess. |
21:14:34 | shashlick | There's a nimble issue about a missing v |
21:15:35 | disruptek | link? |
21:16:03 | shashlick | https://github.com/nim-lang/nimble/issues/666 |
21:16:34 | disruptek | i might have guessed that issue numble. |
21:16:37 | disruptek | number, too. |
21:17:10 | disruptek | the issue there is mixing tags and v; as i mentioned, it breaks lexical sort. |
21:17:49 | FromGitter | <Willyboar> disruptek changeDirectory() doesn't exists ( or i am blind) , cd is nimscript and execShellCmd don't work too. :) |
21:18:01 | disruptek | 16:55 < disruptek> setCurrentDir() |
21:18:09 | * | dom96 reopens the devil's issue |
21:18:09 | disruptek | i misremembered; sorry. |
21:22:07 | * | lqdev_ quit (Quit: Leaving) |
21:24:58 | shashlick | Nimble is becoming a drunk - `nimble dump` and now `nimble bump` |
21:25:16 | shashlick | Or maybe it's getting sober |
21:28:12 | * | xace joined #nim |
21:28:55 | * | MinSrodowiska joined #nim |
21:33:56 | FromGitter | <Willyboar> neither setCurrentDir() works |
21:34:04 | FromGitter | <Willyboar> strange |
21:37:57 | disruptek | i'm using it here: https://github.com/disruptek/bump/blob/master/bump.nim#L231 |
21:41:04 | shashlick | @Willyboar what are you trying to do |
21:50:21 | * | solitudesf quit (Remote host closed the connection) |
21:52:00 | * | seni joined #nim |
22:03:48 | Araq | https://arxiv.org/pdf/1805.08639.pdf interesting stuff |
22:05:42 | * | alexander92 quit (Read error: Connection reset by peer) |
22:06:02 | * | MinSrodowiska quit (Quit: Bye Bye) |
22:14:03 | * | spymasterd[m] joined #nim |
22:17:19 | * | dgt quit (Quit: WeeChat 2.6) |
22:28:46 | * | spymasterd[m] quit (Ping timeout: 276 seconds) |
22:37:06 | * | spymasterd[m] joined #nim |
22:53:07 | FromGitter | <Willyboar> shashlick i want to pass the shellcommand in a case argument: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5daf88537477946badb10971] |
22:54:37 | * | luis_ joined #nim |
22:56:59 | * | Demos[m] joined #nim |
22:56:59 | * | Connor[m] joined #nim |
22:56:59 | * | k0mpjut0r joined #nim |
22:56:59 | * | salotz[m] joined #nim |
22:57:00 | * | planetis[m] joined #nim |
22:57:00 | * | leorize[m] joined #nim |
22:57:00 | * | GitterIntegratio joined #nim |
22:57:00 | * | lqdev[m] joined #nim |
22:57:00 | * | LEdoian[m] joined #nim |
22:57:00 | * | TheManiac[m] joined #nim |
22:57:00 | * | nergal[m] joined #nim |
22:57:00 | * | swisscowbell[m] joined #nim |
22:57:00 | * | BitPuffin joined #nim |
22:57:00 | * | pigmej joined #nim |
22:57:00 | * | isaac[m]1 joined #nim |
22:57:01 | * | MrAxilus joined #nim |
22:57:06 | * | skrylar[m] joined #nim |
22:57:06 | * | narimiran[m] joined #nim |
22:57:06 | * | zielmicha[m]1 joined #nim |
22:57:07 | * | meff[m] joined #nim |
22:57:07 | * | Miguelngel[m] joined #nim |
22:57:07 | * | yglukhov[m] joined #nim |
22:57:07 | * | ee7[m] joined #nim |
22:57:07 | * | muxueqz[m] joined #nim |
22:57:07 | * | lasso[m] joined #nim |
22:57:08 | * | nc-x[m] joined #nim |
22:57:08 | * | macsek1911[m] joined #nim |
22:57:08 | * | xomachine[m] joined #nim |
22:57:09 | * | testgovno[m] joined #nim |
23:00:14 | * | Vladar quit (Quit: Leaving) |
23:21:28 | * | krux02_ joined #nim |
23:24:05 | * | krux02 quit (Ping timeout: 250 seconds) |
23:34:01 | * | luis_ quit (Quit: luis_) |
23:34:31 | * | luis_ joined #nim |
23:34:31 | shashlick | Is this nimscript or Nim proper |
23:35:01 | shashlick | You can `cd x && cmd` |
23:39:41 | FromGitter | <Willyboar> Nim |
23:40:26 | * | traviss joined #nim |
23:50:08 | shashlick | https://github.com/nimterop/nimterop/blob/master/nimterop/build.nim#L280 |