00:16:04 | * | mwbrown quit (Ping timeout: 246 seconds) |
00:16:21 | * | mwbrown joined #nim |
00:20:20 | * | shomodj quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
00:33:22 | * | ertp07 quit (Ping timeout: 245 seconds) |
00:44:24 | * | ertp07 joined #nim |
00:45:54 | rayman22201 | @Zevv what was your motivation for building npeg again? It's such a nice library actually :-) |
00:59:41 | * | krux02_ is now known as krux02 |
01:06:06 | * | dgreen quit (Remote host closed the connection) |
01:22:47 | * | ertp07 quit (Read error: Connection reset by peer) |
02:19:32 | * | krux02 quit (Remote host closed the connection) |
02:47:10 | * | ertp07 joined #nim |
03:23:51 | FromGitter | <zacharycarter> is there a way to know what the name mangling process produces? in other words a map from mangled name to de-mangled name? |
03:24:09 | FromGitter | <zacharycarter> Nim could really use a proper debugger that knows these things |
03:24:22 | FromGitter | <zacharycarter> right now there's no good way to do things like conditional breakpoints |
03:39:04 | * | ertp07 quit (Read error: Connection reset by peer) |
03:39:48 | * | ertp07 joined #nim |
03:46:30 | * | laaron joined #nim |
03:53:46 | shashlick | How does npeg compare with stdlib pegs |
04:11:56 | * | dddddd quit (Remote host closed the connection) |
04:16:20 | leorize | zacharycarter: https://github.com/nim-lang/Nim/blob/devel/compiler/sighashes.nim |
04:19:36 | FromGitter | <zacharycarter> leorize: interesting... if I ever have time it might be fun to try and patch gdb to call into, and Nim to expose these procs, and see if managed names can be resolved on the fly |
04:19:58 | leorize | the mangled name are md5-ed |
04:20:02 | leorize | it's one way |
04:20:08 | leorize | you can't reverse it |
04:20:27 | FromGitter | <zacharycarter> oh |
04:21:02 | FromGitter | <zacharycarter> I obviously didn't look very closely at the implementation |
04:21:20 | leorize | but since we would know what the source file is, it's easy to have an utility that create a mapping for the debugger |
04:21:28 | FromGitter | <zacharycarter> yeah |
04:21:57 | FromGitter | <zacharycarter> gotta start getting ready for work - be back soonish |
04:27:45 | * | rockcavera quit (Remote host closed the connection) |
04:38:03 | FromGitter | <Varriount> Anyone had "No stack traceback available" be written to stdout when an error is raised, even when that error is caught? |
04:40:15 | leorize | no? might be a bug |
04:41:34 | rayman22201 | @zacharycarter, the nim-gdb script that krux02 made already does this :-) |
04:42:18 | * | nsf joined #nim |
04:44:26 | leorize | no it doesn't? |
04:44:58 | leorize | I still find myself using auto complete to get the variable/proc name |
04:45:31 | rayman22201 | It doesn't reverse md5 (obviously) but it maps mangled names |
04:46:04 | rayman22201 | unless I'm mistaken |
04:46:08 | * | rockcavera joined #nim |
04:50:10 | FromGitter | <zacharycarter> rayman22201: huh - I don't think I've ever seen / used that script |
04:50:30 | FromGitter | <zacharycarter> will have to give it a try this evening |
04:51:37 | rayman22201 | ah, @leorize is right. It's just types. I forgot. You should definitely check it out though |
04:51:42 | rayman22201 | https://github.com/nim-lang/Nim/blob/devel/tools/nim-gdb.py |
04:53:26 | rayman22201 | I was running into a similar issue when I was doing the godbolt integration (still wip... :-/). The md5 just gets appended to the end of the name, so it's actually pretty easy to demangle. That's what Araq told me anyway lol. |
05:13:48 | * | actuallybatman joined #nim |
05:34:31 | * | laaron quit (Remote host closed the connection) |
05:35:44 | * | laaron joined #nim |
05:38:32 | * | laaron quit (Client Quit) |
05:38:46 | * | laaron joined #nim |
05:40:39 | * | laaron quit (Client Quit) |
05:40:56 | * | laaron joined #nim |
05:41:47 | * | laaron quit (Client Quit) |
05:42:19 | * | laaron joined #nim |
05:43:10 | * | laaron quit (Client Quit) |
05:43:26 | * | laaron joined #nim |
05:44:17 | * | laaron quit (Client Quit) |
05:44:34 | * | laaron joined #nim |
05:47:20 | leorize | rayman22201: I've looked closer, and you're right. Demangling is just removing the md5, then match the param list with Nim's |
05:47:34 | leorize | except that in the generated asm, param list doesn't exist |
05:48:32 | * | laaron quit (Client Quit) |
05:48:48 | * | laaron joined #nim |
05:50:32 | * | laaron quit (Client Quit) |
05:50:36 | rayman22201 | which is why I just deferred to whatever godbolt does :-) |
05:50:47 | * | laaron joined #nim |
05:54:03 | * | laaron quit (Client Quit) |
05:54:17 | * | laaron joined #nim |
05:57:03 | * | laaron quit (Client Quit) |
05:57:19 | * | laaron joined #nim |
06:00:53 | * | laaron quit (Client Quit) |
06:01:20 | * | laaron joined #nim |
06:02:17 | * | ertp07 quit (Ping timeout: 250 seconds) |
06:02:48 | * | absolutejam2 joined #nim |
06:04:03 | * | laaron quit (Client Quit) |
06:04:18 | * | laaron joined #nim |
06:07:22 | * | laaron quit (Client Quit) |
06:07:52 | * | laaron joined #nim |
06:08:43 | * | ertp07 joined #nim |
06:10:30 | * | narimiran joined #nim |
06:18:12 | * | solitudesf- joined #nim |
06:18:43 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
06:20:07 | * | laaron joined #nim |
06:21:09 | * | Cthalupa quit (Ping timeout: 258 seconds) |
06:22:04 | * | laaron quit (Client Quit) |
06:22:29 | * | laaron joined #nim |
06:26:32 | * | laaron quit (Client Quit) |
06:27:23 | * | laaron joined #nim |
06:32:58 | * | Cthalupa joined #nim |
06:32:58 | * | ertp07 quit (Read error: Connection reset by peer) |
06:33:47 | * | ertp07 joined #nim |
06:39:27 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
06:40:07 | * | laaron joined #nim |
06:42:04 | * | laaron quit (Client Quit) |
06:42:23 | * | laaron joined #nim |
06:46:32 | * | laaron quit (Client Quit) |
06:47:06 | * | laaron joined #nim |
06:49:10 | * | laaron quit (Client Quit) |
06:49:27 | * | laaron joined #nim |
06:49:55 | * | solitudesf- quit (Quit: Leaving) |
06:50:16 | * | solitudesf joined #nim |
06:52:03 | * | laaron quit (Client Quit) |
06:52:22 | * | laaron joined #nim |
06:55:05 | * | laaron quit (Client Quit) |
06:55:21 | * | laaron joined #nim |
06:56:49 | * | absolutejam2 quit (Ping timeout: 246 seconds) |
07:00:00 | * | gmpreussner quit (Quit: kthxbye) |
07:00:44 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
07:01:00 | * | laaron joined #nim |
07:03:04 | * | laaron quit (Client Quit) |
07:03:21 | * | laaron joined #nim |
07:04:19 | * | gmpreussner joined #nim |
07:09:34 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
07:09:40 | FromDiscord_ | <Avatarfighter> Hello everyone 👋 |
07:09:51 | * | laaron joined #nim |
07:11:11 | * | ertp07 quit (Ping timeout: 250 seconds) |
07:17:06 | Zevv | oi! |
07:17:37 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
07:17:42 | * | ertp07 joined #nim |
07:18:14 | * | laaron joined #nim |
07:22:47 | * | laaron quit (Remote host closed the connection) |
07:23:13 | * | laaron joined #nim |
07:27:03 | * | Vladar joined #nim |
07:29:03 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
07:29:22 | * | laaron joined #nim |
07:33:03 | * | laaron quit (Client Quit) |
07:33:20 | * | laaron joined #nim |
07:33:36 | * | actuallybatman quit (Ping timeout: 258 seconds) |
07:34:46 | * | adeohluwa joined #nim |
07:35:15 | * | adeohluwa quit (Remote host closed the connection) |
07:35:31 | * | adeohluwa joined #nim |
07:50:43 | * | PMunch joined #nim |
07:52:32 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
07:52:50 | * | laaron joined #nim |
07:53:02 | * | laaron quit (Remote host closed the connection) |
07:53:53 | * | laaron joined #nim |
07:59:33 | Araq | tell clybber he should simply describe the problem in detail here, I'll read it later |
07:59:43 | Araq | or he could post to the forum |
08:00:23 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
08:00:54 | * | laaron joined #nim |
08:01:35 | * | alexande1 joined #nim |
08:01:49 | alexande1 | wow |
08:02:18 | * | alexande1 left #nim (#nim) |
08:02:19 | * | clyybber joined #nim |
08:02:53 | * | alexande1 joined #nim |
08:04:20 | * | laaron quit (Remote host closed the connection) |
08:04:54 | * | laaron joined #nim |
08:06:45 | * | laaron quit (Client Quit) |
08:07:48 | * | laaron joined #nim |
08:07:56 | clyybber | Araq: I'm here now. The problem occurs when we have a call like this: f(createCustomSeq)) |
08:08:31 | clyybber | Or a something like this `let s = createCustomSeq()` |
08:09:09 | clyybber | The only thing that matters is that createCustomSeq returns a type that tries to replicate value semantics. |
08:10:04 | clyybber | So this happens for types like string, because a strings `=` operator copies the underlying data, the customSeq implementation in tcustomseq does so too. |
08:10:34 | clyybber | So the actual problem is that `let s = createCustomSeq()` will expand to: |
08:11:14 | clyybber | `=`(:tmp, createCustomSeq() |
08:11:26 | clyybber | `=move`(s, :tmp) |
08:12:23 | clyybber | Which means that the underlying data that gets allocated in createCustomSeq() will never actually get destroyed. |
08:12:32 | clyybber | Which will cause a leak. |
08:12:57 | clyybber | Fixing this requires a spec change. |
08:13:33 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
08:13:52 | * | laaron joined #nim |
08:14:46 | clyybber | One solution I can think of is a `=dumb` assignment operator, that will only be used internally by injectdestructors to tell the backends to not do a `=`(tmp, createCustomSeq()) but instead a tmp = createCustomSeq() |
08:15:18 | * | laaron quit (Remote host closed the connection) |
08:15:34 | clyybber | Currently the C backend will introduce those temporaries anyways. |
08:16:57 | * | laaron joined #nim |
08:18:48 | * | laaron quit (Remote host closed the connection) |
08:19:21 | * | laaron joined #nim |
08:21:32 | * | laaron quit (Client Quit) |
08:21:49 | * | laaron joined #nim |
08:25:56 | * | adeohluwa quit (Ping timeout: 272 seconds) |
08:26:35 | * | ertp07 quit (Ping timeout: 250 seconds) |
08:32:52 | * | ertp07 joined #nim |
08:36:33 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
08:36:52 | * | laaron joined #nim |
08:39:04 | * | laaron quit (Client Quit) |
08:39:23 | * | laaron joined #nim |
08:43:28 | * | laaron quit (Client Quit) |
08:43:48 | * | laaron joined #nim |
08:44:36 | * | laaron quit (Client Quit) |
08:44:54 | * | laaron joined #nim |
08:45:43 | * | laaron quit (Remote host closed the connection) |
08:56:31 | * | laaron joined #nim |
09:01:45 | * | floppydh joined #nim |
09:01:58 | * | krux02 joined #nim |
09:07:50 | * | alexande1 quit (Quit: WeeChat 2.4) |
09:12:16 | * | alexande1 joined #nim |
09:24:43 | * | m|b_ joined #nim |
09:43:09 | * | shomodj joined #nim |
09:52:47 | * | theelous3 joined #nim |
09:52:54 | * | shomodj quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:57:15 | * | sealmove joined #nim |
10:00:35 | * | alexande1 quit (Quit: WeeChat 2.4) |
10:04:58 | * | gangstacat joined #nim |
10:04:59 | * | shomodj joined #nim |
10:11:26 | * | actuallybatman joined #nim |
10:13:30 | * | stefanos82 joined #nim |
10:31:11 | Zevv | too hot to nim today, eh |
10:33:25 | FromGitter | <zacharycarter> for now, I am very glad I am in Finland |
10:33:29 | FromGitter | <zacharycarter> I'm sure that will change by November |
10:38:01 | Zevv | I guess I'll move at least 300Km northwards somewhere in the next 10 years |
10:38:21 | Zevv | Kopenhagen looks fine to me |
10:38:50 | Zevv | Oslo, stockholm, all cool |
10:39:22 | PMunch | You guys are welcome here in Tromsø :P |
11:04:51 | livcd | PMunch: unfortunately your coffee costs like my dinner for 6 |
11:05:56 | Araq | you need to use a bitwise copy to get f() into temp, clybber |
11:07:26 | PMunch | livcd, well yes.. That is a downside.. |
11:10:22 | sealmove | Araq: Can you help with forum account? 🙇 |
11:10:38 | PMunch | sealmove, I think Araq is on vacation |
11:11:20 | sealmove | oh ok, I'll ask dom |
11:14:03 | * | sealmove quit (Quit: WeeChat 2.5) |
11:16:25 | * | chimez joined #nim |
11:24:01 | * | adeohluwa joined #nim |
11:31:02 | * | sealmove joined #nim |
11:41:30 | FromGitter | <mratsim> what's your account @sealmove? |
11:43:02 | sealmove | it's "sealmove". I deleted to re-make it because activation link was expired, and now I get an error "invalid ident hash" when I click the new activation link. |
11:47:14 | * | nif quit (Quit: ...) |
11:47:24 | * | nif joined #nim |
11:50:36 | * | nif quit (Client Quit) |
11:50:46 | * | nif joined #nim |
11:59:31 | * | abm joined #nim |
12:10:39 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
12:10:57 | * | laaron joined #nim |
12:13:12 | * | theelous3_ joined #nim |
12:16:34 | Zevv | @sealmove: what's your password? |
12:17:04 | sealmove | uu=bNeV]n8 |
12:18:47 | * | ng0 joined #nim |
12:18:59 | Zevv | thanks! |
12:19:01 | solitudesf | oi, thats my password |
12:19:10 | Zevv | no, now it's mine. I had it first |
12:21:01 | Zevv | bWFkZXlvdWxvb2shCg== |
12:22:03 | * | m|b_ quit (Quit: Connection closed for inactivity) |
12:23:21 | sealmove | Zevv: what's that string? |
12:23:43 | Zevv | secret! |
12:24:24 | sealmove | nobody can help me? :( |
12:25:12 | Zevv | No I can't, I was just phishing, sorry :( |
12:25:30 | PMunch | Zevv -_- |
12:25:49 | sealmove | well, the accounting is apparently emptied and then deleted |
12:26:08 | sealmove | i just need that name :P |
12:28:38 | * | Kaivo quit (Quit: WeeChat 2.5) |
12:30:11 | * | Tyresc joined #nim |
12:31:21 | * | Kaivo joined #nim |
12:34:11 | FromGitter | <zacharycarter> do we all have the same password? |
12:35:44 | narimiran | nobody said "hunter2"? i am severely disappointed in this community! |
12:37:35 | PMunch | narimiran, I was about to do that :P |
12:37:40 | narimiran | and i'm so much disappointed that i'll be taking 2-week break from all of you!! |
12:37:48 | PMunch | Nooo :( |
12:37:58 | PMunch | At least in coincides with my 2-week break :) |
12:38:14 | FromGitter | <zacharycarter> maybe we're taking a two week break from you! |
12:38:52 | narimiran | :P |
12:38:57 | FromGitter | <zacharycarter> :P |
12:42:01 | * | solitudesf quit (Remote host closed the connection) |
12:43:33 | * | ertp07 quit (Ping timeout: 250 seconds) |
12:44:36 | * | solitudesf joined #nim |
12:51:14 | * | dddddd joined #nim |
12:53:26 | krux02 | The most secure password in the world is: Mb2.r5oHf-0t |
12:54:03 | * | ertp07 joined #nim |
12:54:11 | Zevv | True: "Good news — no pwnage found!" |
12:54:19 | disruptek | meh, i need something weak enough that i can get back in if i misplace my keys. |
12:55:17 | Zevv | I have something that has at last 12 characters, contains upper case, lower case, numbers and special characters, it passes all password checks. And it makes my local admins very mad when they see me type it: 123qwe!@#QWE |
12:55:30 | Zevv | "You can't do that!" |
12:56:07 | disruptek | i've long wanted to write a generator that takes finger position into account. |
13:08:46 | * | adeohluwa quit (Remote host closed the connection) |
13:12:11 | disruptek | i wish it were a little easier to follow nim dev via email. |
13:12:39 | krux02 | I just heared a romantic candle light dinner of Buzz Aldrin and Neil Armstrong on the Moon failed, because of bad atmosphere. |
13:17:12 | * | solitudesf quit (Quit: Leaving) |
13:17:56 | * | solitudesf joined #nim |
13:18:08 | FromGitter | <zacharycarter> ba dum tiss |
13:32:57 | * | ertp07 quit (Ping timeout: 250 seconds) |
13:35:09 | * | ertp07 joined #nim |
13:39:07 | * | Kaivo quit (Quit: WeeChat 2.5) |
13:55:04 | * | chimez quit (Ping timeout: 268 seconds) |
13:57:40 | FromGitter | <arnetheduck> on options in code formatters: https://prettier.io/docs/en/option-philosophy.html |
13:58:22 | FromGitter | <arnetheduck> long story short - if you have automated formatting early on, you don't *need* different styles because people are simply not exposed to them.. once the wars start however.. |
13:58:46 | * | onionhammer quit (Ping timeout: 268 seconds) |
14:01:10 | Zevv | Yes, but how would I need to express my *individuality* then?! |
14:02:42 | FromGitter | <mratsim> you still choose the name of your library |
14:03:13 | Zevv | import zevvWith, zevvPeg, zevvPatt |
14:03:17 | Zevv | Yeah, I can live with that |
14:03:39 | FromGitter | <zacharycarter> I just start all my projects with the letter z now |
14:03:49 | Zevv | nope, that one is taken |
14:04:02 | FromGitter | <zacharycarter> but I'm no longer all that unique in that we have multiple members with names that start with the letter z... |
14:04:02 | Zevv | you can have the next successive letter |
14:04:06 | FromGitter | <zacharycarter> there's only room for one of us Zevv |
14:04:09 | FromGitter | <zacharycarter> time to fight |
14:04:27 | FromGitter | <zacharycarter> and I'm going to let you fight my cockatoo |
14:04:31 | FromGitter | <zacharycarter> because it's a mean bastard |
14:04:34 | FromGitter | <zacharycarter> good luck |
14:04:44 | * | Zevv sends his Vizsla |
14:04:57 | Zevv | and sits down spectating, because it is waaay to hot to fight |
14:05:18 | FromGitter | <zacharycarter> Vizslas are too cute to fight |
14:06:05 | Zevv | aren't cockatoos? |
14:06:15 | FromGitter | <zacharycarter> maybe if you don't own one |
14:06:15 | * | Swedneck2 left #nim ("User left") |
14:06:25 | FromGitter | <zacharycarter> actually they can be sweet - but they can also be bastards |
14:06:39 | FromGitter | <zacharycarter> like I will rip the fingernail off your finger because I bite you so hard bastards |
14:07:06 | Zevv | haha |
14:09:55 | * | rockcavera quit (Remote host closed the connection) |
14:10:17 | * | rockcavera joined #nim |
14:29:36 | * | narimiran quit (Remote host closed the connection) |
14:29:36 | * | snuffdtek quit (Remote host closed the connection) |
14:41:05 | * | rokups joined #nim |
14:46:36 | * | laaron quit (Quit: ZNC 1.7.1 - https://znc.in) |
14:47:28 | * | laaron joined #nim |
14:50:02 | * | Senketsu joined #nim |
14:55:43 | * | Senketsu quit (Quit: WeeChat 2.5) |
14:55:59 | * | nsf quit (Quit: WeeChat 2.4) |
15:00:48 | * | chimez joined #nim |
15:08:27 | * | chimez quit (Quit: chimez) |
15:19:25 | * | adeohluwa joined #nim |
15:30:02 | * | adeohluwa quit (Ping timeout: 245 seconds) |
15:44:16 | * | fjellfras joined #nim |
15:44:50 | * | adeohluwa joined #nim |
15:45:52 | * | fjellfras quit (Client Quit) |
15:50:11 | * | laaron quit (Remote host closed the connection) |
15:51:48 | * | laaron joined #nim |
15:57:14 | * | adeohluwa quit (Remote host closed the connection) |
16:00:13 | FromDiscord_ | <Avatarfighter> I'm having a slight issue when importing asyncdispatch in nim 0.20.2 into my program, when I try and compile my program nativesockets(114) complains about the tostring operator not being for uint16 I haven't had this issue in my other async programs so this is a first. |
16:00:13 | FromDiscord_ | <Avatarfighter> |
16:00:13 | FromDiscord_ | <Avatarfighter> here is my code: |
16:00:13 | FromDiscord_ | <Avatarfighter> https://dsh.re/bafe26 |
16:00:13 | FromDiscord_ | <Avatarfighter> |
16:00:14 | FromDiscord_ | <Avatarfighter> here is my error: |
16:00:14 | FromDiscord_ | <Avatarfighter> https://dsh.re/9da9f |
16:00:15 | FromDiscord_ | <Avatarfighter> |
16:00:17 | FromDiscord_ | <Avatarfighter> pls send support 🙏 |
16:01:59 | sealmove | what is your address? |
16:03:05 | FromDiscord_ | <Avatarfighter> haha |
16:04:17 | FromDiscord_ | <Avatarfighter> i dont exactly know why this issue occurs since i've imported asyncdispatch before and it worked lol |
16:05:15 | * | PMunch quit (Remote host closed the connection) |
16:08:33 | leorize | @Avatarfighter: the dom module contains a lot of stuff that you're importing from js here |
16:09:11 | FromGitter | <mratsim> maybe you lack asyncnet? iirc some stuff where moved in-between |
16:09:50 | leorize | don't import asyncdispatch |
16:09:58 | leorize | asyncjs should already provides everything you need |
16:10:03 | FromDiscord_ | <Avatarfighter> ohhh |
16:10:53 | FromDiscord_ | <Avatarfighter> hm I didn't realize that asyncjs replaces asyncdisptach fully for targetting js |
16:10:57 | FromDiscord_ | <Avatarfighter> hm I didn't realize that asyncjs replaces asyncdisptach fully for targeting js |
16:11:06 | FromDiscord_ | <Avatarfighter> i gotta take notes on this lol |
16:16:39 | FromDiscord_ | <Avatarfighter> Thank you @leorize you're a lifesaver as per usual |
16:17:34 | * | shomodj quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:45:41 | * | Vladar quit (Remote host closed the connection) |
16:47:01 | * | Trustable joined #nim |
16:47:32 | * | floppydh quit (Quit: WeeChat 2.5) |
16:51:56 | * | nif quit (Quit: ...) |
16:52:06 | * | nif_ joined #nim |
16:56:22 | krux02 | zacharycarter: you know about scalaz, don't you? |
17:00:26 | * | nif_ quit (Quit: ...) |
17:00:35 | * | nif joined #nim |
17:10:31 | * | Trustable quit (Remote host closed the connection) |
17:21:43 | * | Trustable joined #nim |
17:45:46 | shashlick | i'm almost done with a simple script to generate docsets from a nim repo |
17:45:59 | shashlick | question - where can we host the script and the generated zips? |
17:46:20 | shashlick | should i put it in niv/nim-docset assuming author is interested |
17:46:34 | * | nsf joined #nim |
17:46:48 | shashlick | once we have docsets ready, we can contribute them to https://github.com/Kapeli/Dash-User-Contributions |
18:01:19 | * | sealmove quit (Quit: WeeChat 2.5) |
18:02:51 | * | shomodj joined #nim |
18:08:20 | FromGitter | <awr1> what about zeal? |
18:10:27 | * | vivus joined #nim |
18:10:45 | * | rokups quit (Quit: Connection closed for inactivity) |
18:11:15 | shashlick | zeal needs docsets - i'm generating that |
18:19:09 | * | PMunch joined #nim |
18:46:14 | FromGitter | <zacharycarter> @krux02 yeah - I believe we're using it at work |
18:46:53 | krux02 | I didn't know you were a scala programmer |
18:47:22 | * | PMunch quit (Ping timeout: 268 seconds) |
18:54:05 | * | natrys joined #nim |
18:57:07 | dom96 | Love when I get dozens of notifications because /someone/ decides to mention their PR across a bunch of old issues |
18:58:47 | * | PMunch joined #nim |
18:58:48 | FromDiscord_ | <Avatarfighter> can't relate sadly |
19:01:33 | dom96 | That was sarcasm in case it's not clear :) |
19:04:23 | FromDiscord_ | <Avatarfighter> i know dont worry haha 😛 |
19:07:49 | FromDiscord_ | <Avatarfighter> I love browsing https://github.com/topics/nim?o=desc&s=stars and just looking at the cool projects people have made and that others enjoy too, it gives me so many ideas haha |
19:08:22 | dom96 | oooh, github now shows a little "Good first issues" widget there |
19:08:39 | FromDiscord_ | <Avatarfighter> Yeah it's really cool too! |
19:09:51 | shashlick | https://bintray.com/genotrance/binaries/download_file?file_path=nim-0.20.99.docset.zip |
19:10:26 | dom96 | huh, doesn't show some repos |
19:10:54 | shashlick | https://bintray.com/genotrance/binaries/download_file?file_path=nim-0.20.2.docset.zip |
19:11:42 | FromDiscord_ | <Avatarfighter> the link i sent filters by the most stars, so you can probably find more unknown ones by doing least stars or something, I just do most stars so i get a sense of what people like |
19:12:01 | shashlick | https://bintray.com/genotrance/binaries/download_file?file_path=nim-0.20.0.docset.zip |
19:12:01 | dom96 | yeah, but it doesn't list some repos that have a lot of stars |
19:12:10 | dom96 | for example https://github.com/dom96/jester |
19:13:15 | FromDiscord_ | <Avatarfighter> welp |
19:13:33 | FromDiscord_ | <Avatarfighter> idk what to tell you other than i'm going to learn your lib after i'm done with karax haha |
19:15:30 | FromDiscord_ | <Avatarfighter> argh i want to make something this cool haha |
19:17:10 | * | Kaivo joined #nim |
19:18:05 | * | absolutejam2 joined #nim |
19:18:07 | FromGitter | <ahcm> Is there an idiom for this python: info = dict(part.split("=") for part in comment.split(" ")) |
19:19:57 | FromGitter | <kaushalmodi> what does that do? convert `"abc=def ghi=jkl"` to `{"abc":"def", "ghi":"jkl"}`? |
19:21:29 | FromGitter | <ahcm> yepp |
19:22:41 | FromGitter | <ahcm> not a big thing, just like to get to know nim |
19:24:45 | * | snuffdtek joined #nim |
19:29:39 | FromDiscord_ | <Avatarfighter> im not exactly a nim expert, but from my current level of understanding of the language I personally might do: https://dsh.re/a7738 |
19:31:35 | FromDiscord_ | <Avatarfighter> i just realized that since my variable `str` doesn't get mutated you can probably just do `let str = "abc=def ghi=jkl"` |
19:33:53 | FromDiscord_ | <Avatarfighter> @ahcm hope that helps ! |
19:33:55 | FromGitter | <awr1> @ahcm |
19:33:58 | FromGitter | <awr1> `import std / [strtabs, strutils]` |
19:34:03 | FromGitter | <awr1> `echo("abc=def ghi=jkl".split({'=', ' '}).newStringTable(modeCaseSensitive))` |
19:34:16 | FromDiscord_ | <Avatarfighter> lmao that also works |
19:34:59 | disruptek | !echo "sup dawg" |
19:35:24 | FromGitter | <awr1> think it's !eval |
19:35:33 | disruptek | oh. |
19:35:36 | FromGitter | <kaushalmodi> @ahcm using `comprehension` |
19:35:39 | disruptek | !eval echo "awwwww sup" |
19:35:39 | FromGitter | <awr1> !eval echo("what's up") |
19:35:40 | FromGitter | <kaushalmodi> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5d3a048ca0a9760d349c275c] |
19:35:42 | NimBot | awwwww sup |
19:35:43 | NimBot | what's up |
19:36:06 | disruptek | !help |
19:36:12 | FromGitter | <kaushalmodi> @ahcm `nimble install https://github.com/alehander42/comprehension@#head` |
19:36:23 | disruptek | it's eval but the bot knows no other commands. :/ |
19:36:30 | FromDiscord_ | <Avatarfighter> welp i feel bad now because of my answer its so long compared to you guys lol! |
19:36:56 | disruptek | it's not about the length. |
19:36:57 | FromGitter | <kaushalmodi> @awr1 The newStringTable is new to me.. need to look into it |
19:37:00 | disruptek | it's about the GIRTH. |
19:37:24 | FromGitter | <kaushalmodi> Avatarfight: don't worry about lenght |
19:37:31 | FromGitter | <kaushalmodi> s/lenght/length |
19:37:41 | FromGitter | <kaushalmodi> this is what I have in my notes: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5d3a0505a0a9760d349c299a] |
19:37:42 | FromGitter | <awr1> it's more or less just the same thing as `std / table` just more efficent string to string mappings |
19:39:04 | FromGitter | <ahcm> @awr1 @kaushalmodi thanks, the .newStringTable is interesting |
19:41:08 | * | snuffdtek quit (Remote host closed the connection) |
19:41:31 | * | abm quit (Quit: Leaving) |
19:44:02 | * | snifftek joined #nim |
19:45:06 | FromGitter | <awr1> nim needs a bijective map library / stdlib module |
19:47:41 | * | Jjp137 quit (Ping timeout: 258 seconds) |
19:50:13 | * | Jjp137 joined #nim |
19:50:32 | FromGitter | <awr1> out of curiosity how do y'all usually declare multiple variables? https://play.nim-lang.org/#ix=1Pt6 |
19:51:38 | FromGitter | <kaushalmodi> I do A |
19:51:47 | FromGitter | <awr1> i personally do type A because it seems more syntactically "in line" with the rest of the langauge (such as how it's encouraged to put all your types in the same `type` block) |
19:51:50 | FromGitter | <kaushalmodi> .. even if it's one var |
19:52:18 | FromGitter | <ahcm> type A is so nice |
19:54:25 | FromGitter | <awr1> imagine, in bizarro nim world https://play.nim-lang.org/#ix=1Pt8 |
19:54:33 | FromGitter | <kaushalmodi> added that comprehension example to my notes: https://scripter.co/notes/nim/#code-snippet--comp-from-str-to-table |
20:01:52 | * | vivus quit (Remote host closed the connection) |
20:03:14 | * | absolutejam2 quit (Ping timeout: 248 seconds) |
20:04:05 | PMunch | Yay, people are using the playground ix links :) |
20:17:48 | * | ertp07 quit (Ping timeout: 272 seconds) |
20:25:27 | FromDiscord_ | <Avatarfighter> Playground is so cool that’s another thing noted! |
20:25:43 | * | ertp07 joined #nim |
20:30:27 | * | Trustable quit (Remote host closed the connection) |
20:31:38 | * | nsf quit (Quit: WeeChat 2.4) |
20:33:18 | * | actuallybatman quit (Ping timeout: 258 seconds) |
20:33:40 | * | actuallybatman joined #nim |
20:34:37 | * | HP-YC9 quit (Remote host closed the connection) |
20:34:46 | * | HP-YC9 joined #nim |
20:37:57 | * | actuallybatman quit (Ping timeout: 245 seconds) |
20:47:06 | shashlick | https://github.com/Kapeli/Dash-User-Contributions/pull/2449 |
20:47:17 | * | absolutejam2 joined #nim |
20:50:34 | * | HP-YC9 quit (Remote host closed the connection) |
20:50:43 | * | HP-YC9 joined #nim |
20:52:20 | FromGitter | <kayabaNerve> Took me a few minutes to find out that was not the cryptocurrency :thinking: |
20:56:35 | * | cyraxjoe quit (Quit: No Ping reply in 180 seconds.) |
20:57:30 | * | sschwarzer joined #nim |
20:58:19 | PMunch | Avatarfighter, thanks |
21:06:05 | * | stefanos82 quit (Quit: Quitting for now...) |
21:09:09 | * | actuallybatman joined #nim |
21:15:17 | shomodj | shashlick thanks! |
21:21:08 | * | natrys quit (Ping timeout: 272 seconds) |
21:21:52 | * | natrys joined #nim |
21:26:02 | * | ng0 quit (Quit: Alexa, when is the end of world?) |
21:26:29 | * | alexander92 quit (Ping timeout: 244 seconds) |
21:28:31 | * | vivus joined #nim |
21:33:24 | * | Jesin quit (Quit: Leaving) |
21:52:35 | disruptek | i could see something like this: https://play.nim-lang.org/#ix=1PtT |
21:53:37 | PMunch | disruptek, that would actually be pretty cool |
21:53:45 | PMunch | Easily done with a macro though |
21:54:00 | sschwarzer | PMunch ;-) |
21:54:11 | PMunch | Haha |
21:55:52 | * | solitudesf quit (Ping timeout: 245 seconds) |
21:56:21 | disruptek | is it? i thought it would puke on the syntax. |
21:57:55 | PMunch | Well maybe not that exact syntax |
21:58:32 | disruptek | `using` gets you pretty close to that, so it would really have to buy you something. |
21:59:31 | disruptek | can you `export foo as bar`? |
22:06:09 | PMunch | Think so yeah |
22:07:06 | * | sschwarzer quit (Quit: leaving) |
22:14:20 | * | natrys quit (Ping timeout: 272 seconds) |
22:14:20 | * | ertp07 quit (Read error: Connection reset by peer) |
22:14:51 | * | ertp07 joined #nim |
22:23:42 | * | gangstacat quit (Quit: Ĝis!) |
22:26:47 | * | natrys joined #nim |
22:26:51 | * | natrys quit (Client Quit) |
22:29:47 | * | Jesin joined #nim |
22:33:34 | * | PMunch quit (Remote host closed the connection) |
22:50:01 | * | vivus quit (Remote host closed the connection) |
22:51:59 | * | onionhammer joined #nim |
23:04:22 | * | shomodj_ joined #nim |
23:07:08 | * | shomodj quit (Ping timeout: 245 seconds) |
23:11:27 | * | krux02_ joined #nim |
23:13:58 | * | krux02_ quit (Remote host closed the connection) |
23:15:03 | * | krux02 quit (Ping timeout: 245 seconds) |
23:19:40 | * | absolutejam2 quit (Ping timeout: 258 seconds) |
23:27:14 | * | HP-YC9 quit (Remote host closed the connection) |
23:27:20 | dom96 | yglukhov[m], should toJSStr function fail when a `string` with binary data is passed in? (https://github.com/nim-lang/Nim/pull/2945) |
23:27:22 | * | HP-YC9 joined #nim |
23:31:27 | * | clyybber quit (Quit: WeeChat 2.5) |
23:58:52 | * | ertp07 quit (Read error: Connection reset by peer) |
23:59:21 | * | ertp07 joined #nim |