<< 25-07-2020 >>

00:01:22FromDiscord<dom96> federico3: sooo if you're bursting, and you haven't gained enough momentum: you collide without bumping off
00:01:31FromDiscord<dom96> if you're bursting with enough momentum you bump off
00:01:35FromDiscord<dom96> and deal damage
00:01:55leorizethe damage thing is kinda OP though
00:02:32rayman22201It's also kind of part of the fun X.X
00:02:37FromDiscord<dom96> 😄
00:03:00FromDiscord<dom96> There needs to be some way to kill bigger stars
00:03:09FromDiscord<dom96> otherwise... you'll have huge stars that kill everyone
00:03:28FromDiscord<dom96> and I thought about a good mechanism for this for a while and came up with this
00:07:01shashlick@leorize - what's a test to verify that it is required to change working dir
00:07:16shashlicki am able to get gorgeEx and imports to work without your startProcess change
00:08:37shashlickalthough to write to stdout, i'll need to make that change anyway
00:08:48leorizeshashlick: there aren't any
00:08:50shashlickif i get it to work then i won't need caching at all
00:09:02shashlickwrite to stdin, sorry
00:09:08leorizeI added the working dir change because there's concern about that
00:12:52*krux02_ quit (Remote host closed the connection)
00:22:40rayman22201skrylar[m] This is a little OT, but, you were talking about smalltalk earlier. There is a version of smalltalk that is still very much alive, it's called Pharo. I don't want Pharo + Nim, but I really want to steal their IDE for Nim: Glamorous Toolkit: https://blog.feenk.com/glamorous-toolkit-v0-7-1214-beta-2uv9ne4vyynvcv08kcm07cihz/
00:34:04*fredrikhr quit (Ping timeout: 246 seconds)
00:48:13*oddp quit (Ping timeout: 264 seconds)
01:07:03FromGitter<awr1> that's pretty interesting
01:07:43FromGitter<awr1> idk how you could do something like that for nim though
01:08:00FromGitter<awr1> since smalltalk IIRC is image-based, not file-based
01:08:03rayman22201HCR
01:11:45rayman22201it would be a hack of course (but HCR is a hack too 😛 ). Nim is not as dynamic as smalltalk. I think you could still steal many of the ideas and make something pretty cool though.
01:13:21FromGitter<awr1> a really full fledged IDE for nim would be neat
01:13:36FromGitter<awr1> i mean there was aporia and
01:13:47FromGitter<awr1> nimedit but they are not quite IDEs
01:16:06rayman22201It's a lot of work to build an IDE. and not the most fun when there are so many options out there that are "good enough" :-(
01:18:09*endragor joined #nim
01:20:56*apahl quit (Ping timeout: 244 seconds)
01:22:51*apahl joined #nim
01:28:53*noonien quit (Quit: Connection closed for inactivity)
01:31:46*mal``` joined #nim
01:33:23*mal`` quit (Quit: Leaving)
01:33:23*snowolf quit (Remote host closed the connection)
01:33:24*snowolf joined #nim
01:33:24*snowolf quit (Changing host)
01:33:24*snowolf joined #nim
01:44:39*maier joined #nim
01:46:19shashlickI was pretty enthused with feud to go all the way but there's many other basic things that need attention
01:49:21*maier quit (Ping timeout: 244 seconds)
02:06:56*waleee-cl quit (Quit: Connection closed for inactivity)
02:08:04*mal``` quit (*.net *.split)
02:08:04*vicfred quit (*.net *.split)
02:08:04*Zevv quit (*.net *.split)
02:08:04*Cadey quit (*.net *.split)
02:08:05*ldlework quit (*.net *.split)
02:08:05*xet7 quit (*.net *.split)
02:08:05*Zectbumo quit (*.net *.split)
02:08:05*supakeen quit (*.net *.split)
02:08:05*Jjp137_ quit (*.net *.split)
02:08:05*sagax quit (*.net *.split)
02:08:05*cornfeedhobo quit (*.net *.split)
02:08:05*dmi0 quit (*.net *.split)
02:08:05*Avatarfighter quit (*.net *.split)
02:08:05*kitech1 quit (*.net *.split)
02:08:05*zedeus quit (*.net *.split)
02:08:05*vesper11 quit (*.net *.split)
02:08:05*FromDiscord quit (*.net *.split)
02:08:05*casaca quit (*.net *.split)
02:08:05*so quit (*.net *.split)
02:08:05*d10n quit (*.net *.split)
02:08:05*hecanjog quit (*.net *.split)
02:08:05*dv^_^ quit (*.net *.split)
02:08:05*disruptek quit (*.net *.split)
02:08:05*voltist quit (*.net *.split)
02:08:05*jxy quit (*.net *.split)
02:08:05*Cthalupa quit (*.net *.split)
02:08:05*bacterio quit (*.net *.split)
02:08:05*sentreen quit (*.net *.split)
02:08:05*zama quit (*.net *.split)
02:08:05*screens quit (*.net *.split)
02:08:05*Amun_Ra quit (*.net *.split)
02:08:06*OMGOMG quit (*.net *.split)
02:08:06*pbb quit (*.net *.split)
02:08:06*bozaloshtsh quit (*.net *.split)
02:08:06*njoseph quit (*.net *.split)
02:08:06*enthus1ast quit (*.net *.split)
02:08:06*l1x quit (*.net *.split)
02:08:06*hoek quit (*.net *.split)
02:08:06*npgm_ quit (*.net *.split)
02:08:06*sirn quit (*.net *.split)
02:08:06*ormiret quit (*.net *.split)
02:08:06*fowl quit (*.net *.split)
02:08:06*jholland__ quit (*.net *.split)
02:08:06*stever quit (*.net *.split)
02:08:06*euantor quit (*.net *.split)
02:08:06*gangstacat quit (*.net *.split)
02:08:06*blackbeard420 quit (*.net *.split)
02:08:06*nerthus quit (*.net *.split)
02:08:06*Yardanico quit (*.net *.split)
02:08:06*sepplesWoona quit (*.net *.split)
02:08:06*JStoker quit (*.net *.split)
02:08:06*letto quit (*.net *.split)
02:08:06*lmariscal quit (*.net *.split)
02:08:06*revere quit (*.net *.split)
02:08:07*idxu quit (*.net *.split)
02:08:07*shodan45 quit (*.net *.split)
02:08:07*nickster quit (*.net *.split)
02:08:07*acidx quit (*.net *.split)
02:08:07*junland quit (*.net *.split)
02:08:07*nisstyre quit (*.net *.split)
02:08:07*GaveUp quit (*.net *.split)
02:08:07*disbot quit (*.net *.split)
02:08:07*federico3 quit (*.net *.split)
02:08:07*shashlick quit (*.net *.split)
02:08:07*xicheng[m] quit (*.net *.split)
02:08:07*Zambyte[m] quit (*.net *.split)
02:08:07*dzamo[m] quit (*.net *.split)
02:08:08*ChanServ quit (*.net *.split)
02:08:08*leorize[m] quit (*.net *.split)
02:08:08*watzon quit (*.net *.split)
02:08:08*sendell quit (*.net *.split)
02:08:08*stisa[m] quit (*.net *.split)
02:08:09*planetis[m] quit (*.net *.split)
02:08:09*reversem3 quit (*.net *.split)
02:08:09*GitterIntegratio quit (*.net *.split)
02:08:09*k0mpjut0r quit (*.net *.split)
02:08:09*dom96 quit (*.net *.split)
02:08:09*wowi42 quit (*.net *.split)
02:08:09*dgb quit (*.net *.split)
02:08:09*opDispatch quit (*.net *.split)
02:08:09*ofelas quit (*.net *.split)
02:08:09*lain quit (*.net *.split)
02:09:24*nisstyre joined #nim
02:10:13*mal``` joined #nim
02:10:13*vicfred joined #nim
02:10:13*Zevv joined #nim
02:10:13*Cadey joined #nim
02:10:13*ldlework joined #nim
02:10:24*bacterio joined #nim
02:10:38*d10n-work quit (Ping timeout: 244 seconds)
02:11:48*slackytude[m] quit (Remote host closed the connection)
02:11:50*rridley[m] quit (Remote host closed the connection)
02:11:51*neceve quit (Remote host closed the connection)
02:11:51*ee7[m] quit (Remote host closed the connection)
02:11:51*wontruefree[m] quit (Remote host closed the connection)
02:11:51*lnxw37d4 quit (Remote host closed the connection)
02:11:51*j4nvkvc quit (Remote host closed the connection)
02:11:51*Zoom[m] quit (Remote host closed the connection)
02:11:52*MTRNord[m] quit (Write error: Broken pipe)
02:11:52*oneark quit (Remote host closed the connection)
02:11:54*BitPuffin quit (Write error: Connection reset by peer)
02:11:54*guelosk[m] quit (Write error: Connection reset by peer)
02:11:54*swamptest1[m] quit (Remote host closed the connection)
02:11:54*skrylar[m] quit (Remote host closed the connection)
02:11:56*nerdrat[m] quit (Write error: Connection reset by peer)
02:11:56*unclechu quit (Remote host closed the connection)
02:11:56*codic quit (Remote host closed the connection)
02:11:56*muffindrake quit (Ping timeout: 260 seconds)
02:12:07*FromDiscord joined #nim
02:12:07*casaca joined #nim
02:12:07*so joined #nim
02:12:07*hecanjog joined #nim
02:12:07*dv^_^ joined #nim
02:12:07*disruptek joined #nim
02:12:07*voltist joined #nim
02:12:07*jxy joined #nim
02:12:45*lain joined #nim
02:13:14*npgm_ joined #nim
02:13:29*acidx joined #nim
02:13:29*nickster joined #nim
02:13:29*shodan45 joined #nim
02:13:29*idxu joined #nim
02:13:29*revere joined #nim
02:13:29*lmariscal joined #nim
02:13:29*letto joined #nim
02:13:29*vesper11 joined #nim
02:13:29*zedeus joined #nim
02:13:29*kitech1 joined #nim
02:13:29*Avatarfighter joined #nim
02:13:29*dmi0 joined #nim
02:13:29*cornfeedhobo joined #nim
02:13:29*sagax joined #nim
02:13:29*Jjp137_ joined #nim
02:13:29*supakeen joined #nim
02:13:29*Zectbumo joined #nim
02:13:29*xet7 joined #nim
02:13:29*d10n joined #nim
02:13:29*ofelas joined #nim
02:13:49*junland joined #nim
02:13:49*GaveUp joined #nim
02:13:49*disbot joined #nim
02:13:49*federico3 joined #nim
02:13:49*shashlick joined #nim
02:13:54*dom96 joined #nim
02:13:54*wowi42 joined #nim
02:13:54*dgb joined #nim
02:14:08*pbb joined #nim
02:14:08*bozaloshtsh joined #nim
02:14:08*njoseph joined #nim
02:14:08*enthus1ast joined #nim
02:14:08*l1x joined #nim
02:14:08*sirn joined #nim
02:14:08*ormiret joined #nim
02:14:08*fowl joined #nim
02:14:08*jholland__ joined #nim
02:14:08*stever joined #nim
02:14:08*euantor joined #nim
02:14:08*gangstacat joined #nim
02:14:08*blackbeard420 joined #nim
02:14:08*nerthus joined #nim
02:14:08*Yardanico joined #nim
02:14:08*sepplesWoona joined #nim
02:14:08*JStoker joined #nim
02:14:13*d10n-work joined #nim
02:14:23*Cthalupa joined #nim
02:14:23*sentreen joined #nim
02:14:23*zama joined #nim
02:14:23*screens joined #nim
02:14:23*OMGOMG joined #nim
02:14:23*Amun_Ra joined #nim
02:14:32*Cthalupa quit (*.net *.split)
02:14:32*sentreen quit (*.net *.split)
02:14:32*zama quit (*.net *.split)
02:14:32*screens quit (*.net *.split)
02:14:32*Amun_Ra quit (*.net *.split)
02:14:33*OMGOMG quit (*.net *.split)
02:14:33*pbb quit (*.net *.split)
02:14:33*bozaloshtsh quit (*.net *.split)
02:14:33*njoseph quit (*.net *.split)
02:14:33*enthus1ast quit (*.net *.split)
02:14:33*l1x quit (*.net *.split)
02:14:33*sirn quit (*.net *.split)
02:14:33*ormiret quit (*.net *.split)
02:14:33*fowl quit (*.net *.split)
02:14:33*jholland__ quit (*.net *.split)
02:14:33*stever quit (*.net *.split)
02:14:33*euantor quit (*.net *.split)
02:14:33*gangstacat quit (*.net *.split)
02:14:33*blackbeard420 quit (*.net *.split)
02:14:33*nerthus quit (*.net *.split)
02:14:33*Yardanico quit (*.net *.split)
02:14:33*sepplesWoona quit (*.net *.split)
02:14:33*JStoker quit (*.net *.split)
02:14:33*dom96 quit (*.net *.split)
02:14:33*wowi42 quit (*.net *.split)
02:14:33*dgb quit (*.net *.split)
02:14:33*junland quit (*.net *.split)
02:14:33*GaveUp quit (*.net *.split)
02:14:33*disbot quit (*.net *.split)
02:14:33*federico3 quit (*.net *.split)
02:14:34*shashlick quit (*.net *.split)
02:14:34*letto quit (*.net *.split)
02:14:34*lmariscal quit (*.net *.split)
02:14:34*revere quit (*.net *.split)
02:14:34*idxu quit (*.net *.split)
02:14:34*shodan45 quit (*.net *.split)
02:14:34*nickster quit (*.net *.split)
02:14:34*acidx quit (*.net *.split)
02:14:34*d10n quit (*.net *.split)
02:14:34*xet7 quit (*.net *.split)
02:14:34*Zectbumo quit (*.net *.split)
02:14:34*supakeen quit (*.net *.split)
02:14:34*Jjp137_ quit (*.net *.split)
02:14:34*sagax quit (*.net *.split)
02:14:34*cornfeedhobo quit (*.net *.split)
02:14:34*dmi0 quit (*.net *.split)
02:14:34*Avatarfighter quit (*.net *.split)
02:14:34*kitech1 quit (*.net *.split)
02:14:34*zedeus quit (*.net *.split)
02:14:34*vesper11 quit (*.net *.split)
02:14:35*ofelas quit (*.net *.split)
02:15:43*dom96 joined #nim
02:15:43*wowi42 joined #nim
02:15:43*dgb joined #nim
02:15:53*LyndsySimon quit (Ping timeout: 244 seconds)
02:16:46*d10n joined #nim
02:16:46*xet7 joined #nim
02:16:46*Zectbumo joined #nim
02:16:46*supakeen joined #nim
02:16:46*Jjp137_ joined #nim
02:16:46*sagax joined #nim
02:16:46*cornfeedhobo joined #nim
02:16:46*dmi0 joined #nim
02:16:46*Avatarfighter joined #nim
02:16:46*kitech1 joined #nim
02:16:46*zedeus joined #nim
02:16:46*vesper11 joined #nim
02:16:51*matlock quit (Ping timeout: 244 seconds)
02:17:22*matti quit (Ping timeout: 260 seconds)
02:18:44*junland joined #nim
02:18:44*GaveUp joined #nim
02:18:44*disbot joined #nim
02:18:44*federico3 joined #nim
02:18:44*shashlick joined #nim
02:19:07*Cthalupa joined #nim
02:19:07*sentreen joined #nim
02:19:07*zama joined #nim
02:19:07*screens joined #nim
02:19:07*OMGOMG joined #nim
02:19:07*Amun_Ra joined #nim
02:19:08*d10n-work quit (Ping timeout: 260 seconds)
02:19:19*letto joined #nim
02:19:19*lmariscal joined #nim
02:19:19*revere joined #nim
02:19:19*idxu joined #nim
02:19:19*shodan45 joined #nim
02:19:19*nickster joined #nim
02:19:19*acidx joined #nim
02:19:26*pbb joined #nim
02:19:26*bozaloshtsh joined #nim
02:19:26*njoseph joined #nim
02:19:26*enthus1ast joined #nim
02:19:26*ormiret joined #nim
02:19:26*fowl joined #nim
02:19:26*jholland__ joined #nim
02:19:26*stever joined #nim
02:19:26*gangstacat joined #nim
02:19:26*blackbeard420 joined #nim
02:19:26*nerthus joined #nim
02:19:26*Yardanico joined #nim
02:19:26*sepplesWoona joined #nim
02:19:26*JStoker joined #nim
02:19:31*LyndsySimon joined #nim
02:19:31*LyndsySimon quit (Changing host)
02:19:31*LyndsySimon joined #nim
02:19:32rayman22201the plugin system in feud is amazing. It really is a good design!
02:19:33*k0mpjut0r joined #nim
02:20:11*opDispatch joined #nim
02:20:17*lain is now known as Guest38839
02:20:20*d10n-work joined #nim
02:20:29*hoek joined #nim
02:20:29*hoek quit (Changing host)
02:20:29*hoek joined #nim
02:20:34*d10n-work quit (Changing host)
02:20:34*d10n-work joined #nim
02:20:42*Tlongir joined #nim
02:21:03*ofelas joined #nim
02:21:06*Tlongir quit (Remote host closed the connection)
02:21:09*Guest38839 quit (Quit: kthxbai)
02:21:29*Tlongir joined #nim
02:21:30*euantor joined #nim
02:21:54*laintree joined #nim
02:22:05*laintree is now known as lain
02:22:14*Cthalupa quit (Ping timeout: 248 seconds)
02:22:49*sirn joined #nim
02:23:27*npgm_ quit (Ping timeout: 244 seconds)
02:23:32*matlock joined #nim
02:23:35*l1x joined #nim
02:24:46*Cthalupa joined #nim
02:25:31*matti joined #nim
02:26:05*npgm_ joined #nim
02:35:29shashlick@leorize - writing to stdin is not feasible since Nim won't know when the input is done and will wait forever - typically when you use --stdin, the writer exits which results in stdin closing
02:35:49shashlickcat file | nim --stdin <= cat exits closing the pipe
02:35:50leorizejust close() the inputStream
02:36:22shashlickokay let me try - even without these tricks, all my tests are passing
02:36:41shashlicksimply because we are including the nimble file, anything run in that file seems to work fine
02:36:52shashlicki've tried import, gorgeEx and cpFile/rmFile
02:37:02leorizenice
02:37:26shashlickof course, i'm running my test in that working directory anyway
02:37:59shashlicki think the real test is running some install commands since there, working dir changes to the path where nimble clones the repo
02:39:39leorizenimble has an install test
02:39:49shashlicktrue that
02:39:59shashlicki'm also running the important packages test locally
02:40:06shashlickand here - https://github.com/nim-lang/Nim/pull/15053
02:40:06disbotBump nimble commit
02:40:27shashlicki don't know if it is worth changing the calling code to avoid creating the nims file
02:40:42shashlickit is only created once for a repo for a given nimble version
02:41:31shashlicki need to cache the ini file anyway since I cannot read package info from stdout - i have to write it to a file
02:43:20shashlickhere's why - https://github.com/nim-lang/nimble/issues/665
02:43:23disbotInvalid section: . ; snippet at 12https://play.nim-lang.org/#ix=2sgY
02:44:22leorizesounds fine enough
02:45:06shashlickokay, am going to deliver this, let's see if people find issues
02:51:32*codic joined #nim
02:51:32*Zambyte[m] joined #nim
02:51:32*nerdrat[m] joined #nim
02:51:32*j4nvkvc joined #nim
02:51:32*leorize[m] joined #nim
02:51:33*unclechu joined #nim
02:51:33*MTRNord[m] joined #nim
02:51:33*guelosk[m] joined #nim
02:51:33*planetis[m] joined #nim
02:51:33*BitPuffin joined #nim
02:51:33*oneark joined #nim
02:51:33*reversem3 joined #nim
02:51:33*dzamo[m] joined #nim
02:51:33*GitterIntegratio joined #nim
02:51:34*lnxw37d4 joined #nim
02:51:34*watzon joined #nim
02:51:38*skrylar[m] joined #nim
02:51:39*rridley[m] joined #nim
02:51:39*neceve joined #nim
02:51:39*swamptest1[m] joined #nim
02:51:39*Zoom[m] joined #nim
02:51:39*ee7[m] joined #nim
02:51:40*slackytude[m] joined #nim
02:51:40*wontruefree[m] joined #nim
02:51:40*stisa[m] joined #nim
02:51:40*xicheng[m] joined #nim
02:51:40*sendell joined #nim
02:56:05*lritter_ joined #nim
02:56:31*lritter quit (Ping timeout: 244 seconds)
03:05:23*endragor quit (Read error: Connection reset by peer)
03:05:35*endragor joined #nim
03:19:45*endragor quit (Read error: Connection reset by peer)
03:23:45*endragor joined #nim
03:28:07*aurelius joined #nim
03:45:32*maier joined #nim
03:48:42*Zectbumo quit (Remote host closed the connection)
03:50:34*maier quit (Ping timeout: 260 seconds)
03:52:19*muffindrake joined #nim
04:06:01*supakeen quit (Quit: WeeChat 2.8)
04:06:42*supakeen joined #nim
04:26:34*NimBot joined #nim
04:28:58*hyiltiz_ joined #nim
04:35:10*hyiltiz_ quit (Quit: hyiltiz_)
04:52:53*narimiran joined #nim
04:53:14*narimiran quit (Remote host closed the connection)
04:58:11*Tlongir quit (Read error: Connection reset by peer)
05:46:26*maier joined #nim
05:51:05*maier quit (Ping timeout: 240 seconds)
06:03:33*solitudesf joined #nim
06:45:22*marnix joined #nim
06:46:50*marnix quit (Client Quit)
06:46:58*marnix joined #nim
06:59:58FromGitter<gogolxdong> D
07:01:39FromGitter<gogolxdong> Does anyone has the compile time comparing between Rust and Nim?
07:02:44*marnix quit (Ping timeout: 256 seconds)
07:03:49FromGitter<gogolxdong> @Araq check Skype.
07:04:34skrylar[m]compiling hello world with gtk-rs took over 15 seconds
07:04:53skrylar[m]the same thing in mine w/ nim is about <1
07:05:47*lritter_ quit (Ping timeout: 240 seconds)
07:07:42Yardanico@gogolxdong tldr: nim is definitely faster
07:08:33FromGitter<gogolxdong> For supporting decisions of rewriting big project in Rust or Nim.
07:09:19Yardanicoanyway I finally feel like i have enough motivation to parse nim irc logs
07:09:22Yardanicointo a single nice sqlite db
07:09:50skrylar[m]nim can of course build slow if you have macros doing too much
07:09:58Yardanicowonder about the structure, just plain timestamp, username, message (optionally) bridge name
07:10:02Yardanicowhat else could me needed?
07:10:04YardanicoI mean columns
07:10:09skrylar[m]i sometimes avoid using nimble packages because they end up pulling some random module that bogs down the build time :/
07:10:29skrylar[m]like import unittest adds seconds to build, but just emitting TAP doesn't
07:11:11FromGitter<gogolxdong> I've written some middle projects in Nim and has some experiences, but not enough in Rust.
07:11:24skrylar[m]rust is permanently hosed by the sufficiently smart compiler ethos which says we don't fix bugs we just punt them to llvm and let it choke on all the extra shit we emit
07:11:40skrylar[m]well, the bugs they fix. but they don't consider slow builds a bug per se
07:11:44Yardanico@gogolxdong I feel like rust would almost always end slower
07:11:49Yardanicobecause of all the borrow checking story
07:11:57Yardanicoand other parts which contribute to total speed
07:12:16Yardanicotbf nim also does a lot of compile time checking
07:12:19Yardanicoespecially with arc
07:12:35skrylar[m]nim has less layers of middlemen afaik
07:12:38Yardanicodata flow analysis, sink inference, cursor inference, injecting destructors, optimizing them
07:12:58skrylar[m]rust actually goes through a couple layers of IRs
07:13:36Yardanicowell we need an IR for nim too
07:13:49skrylar[m]sure most languages have one
07:13:56Yardanicoright now our IR is AST :D
07:14:16skrylar[m]rust has an ast which becomes some other ir which goes through yet more things and then goes to llvm-ir which then goes through yet more pipeline
07:15:50FromGitter<gogolxdong> just tell me some points for backing Nim.
07:16:01Yardanicospeed violence momentum
07:16:05Yardanicoah wait sorry wrong chat
07:16:10skrylar[m]the build times for gtk put me off the language more or less forever though. it literally takes less time to just bumble through all the problems rust saves you in Go because you at least get stupid quick turnarounds in go >_<
07:17:38skrylar[m]well nim is basically compiled python and so its probably easy to retrofit python engineers
07:17:48ZevvI heard some madmen was actually using C as IR for Nim for some experiments, recently
07:17:48Yardanicoskrylar[m]: please don't say it like that :c
07:18:01skrylar[m]Yardanico: they wanted PR speak
07:18:03Yardanicowe shouldn't advertise nim as "compiled python" too much
07:18:08Yardanicowe already get too much confusion because of it
07:18:14skrylar[m]i use it because it's the least painful of the languages available
07:18:37YardanicoZevv: yeah i've seen it too
07:18:42Yardanicohe's a crazy man /s
07:19:51*nikita` joined #nim
07:20:21YardanicoZevv: at least we'll soon get some SIMD stuff for the stdlib thanks to these crazy experiments :)
07:20:26Yardanicowell, idk how "soon"
07:20:34Yardanicofor parsing
07:22:30FromDiscord<Elegant Beef> Then there is me who says "It's C but written nicer" 😄
07:22:42YardanicoI mean you can use Nim as a "better C"
07:22:47Yardanicothere's nothing stopping you
07:23:09Yardanicoand you'll still get nice stuff like generics/metaprogramming/overloading/etc
07:23:21Yardanicojust ust manual memory allocation, ptr, cstring, etc
07:23:30FromDiscord<Elegant Beef> I think what i say is more accurate than "Python but compiled" 😄
07:23:42Yardaniconim is Object Pascal done right
07:23:44Yardanicochange my mind /s
07:24:24FromDiscord<Elegant Beef> Cause if someone told me that nim was python but compiled, i would've ran the otherway screaming "Dynamic typing is the devils type system"
07:24:40Yardanicowell python's typing story is at least better than in JS
07:24:55Yardanicoin python you can't + a number with a string
07:25:06FromDiscord<Elegant Beef> Yea it's strongly typed
07:25:11Yardanicostrong duck typing
07:25:13FromDiscord<Elegant Beef> But it's strongly dynamically typed
07:25:38YardanicoJS:
07:25:44Yardanico'\t' + 0 is
07:25:47Yardanico'\t0'
07:25:51Yardanico'\t' == 0 is true
07:26:00FromDiscord<Elegant Beef> Oh i know how bad js is
07:26:09FromDiscord<Elegant Beef> But i dont think of pythons type system as much better
07:27:11*Vladar joined #nim
07:27:41Yardanico❰dian❙~/Projects/logcheck❱✔≻ du -sh ircologs/ 2.4G ircologs/
07:27:45Yardanicook time to process those bad boys
07:33:59*marnix joined #nim
07:36:17YardanicoI guess I feel like streaming a bit
07:36:22Yardanicohaving fun with these irc logs
07:37:42*fredrikhr joined #nim
07:38:30Yardanico~ystream
07:38:30disbotystream: 11Stream at https://twitch.tv/yardanico, voice chat either on Mumble (mumble://uberalles.mumbl.io/) or in Discord (https://discord.com/invite/ezDFDw2) -- Yardanico
07:46:55Zevvdisruptek: I need a 'break'
07:47:20*maier joined #nim
07:52:11*maier quit (Ping timeout: 240 seconds)
07:52:52Oddmongerthat's better than a goto
08:27:16*ehmry joined #nim
08:32:45*Trustable joined #nim
08:52:42*oddp joined #nim
08:59:13*pbb quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
08:59:37*pbb joined #nim
09:05:34*WilhelmVonWeiner quit (Read error: Connection reset by peer)
09:05:35FromDiscord<Rika> anyone here know of a nim library that can do gif decoding?
09:07:26*marnix quit (Ping timeout: 260 seconds)
09:12:31Oddmongeri thought there were a wrapper for imagemagick, but i'm not sure
09:13:10FromDiscord<Rika> there deffo is, nice
09:13:27Oddmongermaybe this one , too: https://github.com/zedeus/nimagemagick
09:13:48*krux02 joined #nim
09:14:00FromDiscord<Rika> eh, hm, i'm still concerned since i dont need any sort of encoding or manipulation, only decoding
09:14:22alehander92zevv
09:14:26alehander92no `continue` today
09:14:30FromDiscord<Rika> i'm considering just porting https://github.com/lecram/gifdec since its "just 500 lines long"
09:18:52*marnix joined #nim
09:20:19bungalehander92 jsgen mapping enum directly to int ?
09:21:31alehander92well, to what else
09:23:27Zevvalehander92: wut?
09:23:40alehander92joking with the i need a break
09:23:44Zevvoh yeaah
09:23:44Zevvright
09:24:06alehander92today i need to write a bit of my typestate rfc
09:24:15alehander92and learn more haskell
09:24:34alehander92and continue with the c++ project/other stuff
09:24:39alehander92what are your plans guys
09:24:40bungI compare the ccgtypes much more code than jsgen handle enum
09:24:48Zevvall those plans
09:24:49alehander92before i've decided to just stay and eat
09:24:51Zevvsuch initiative
09:24:53alehander92yeah yeah
09:25:04alehander92i am a man without a job
09:25:06alehander92i make plans
09:25:10alehander92and then i eat
09:25:24alehander92don't do it my way
09:30:00Yardanicoagain hit the same strscans bug
09:30:06Yardaniconeed to fix it I guess
09:30:20Yardanicoor maybe I'm doing it wrong
09:30:32Yardanicoso - string "<abcd> O" doesn't match the pattern "<$+> $+"
09:30:35Yardanicowhile I think it should
09:30:54Yardanico$+ means one or more
09:30:56Yardanico"O" is exactly one
09:33:21*Allain joined #nim
09:36:26alehander92bung hmm
09:36:34alehander92yeah i guess its harder for c backend?
09:36:42alehander92hm yardanico debug
09:36:50Yardanicoits essentially the same issue as in https://github.com/nim-lang/Nim/issues/13605
09:36:52disbotstrscan can't get value of last element in format ; snippet at 12https://play.nim-lang.org/#ix=2shy
09:36:55Yardanicobut Araq fixed that one it seems
09:38:09bungalehander92 am thinking the other side, maybe jsgen handle less conditions than c
09:40:04bungin #13602 it generate nothing in else branch
09:40:05disbothttps://github.com/nim-lang/Nim/issues/13602 -- 3[JS] String is undefined ; snippet at 12https://play.nim-lang.org/#ix=2rNk
09:45:28Yardanicoso I fixed that strscans bug
09:45:32Yardanicobut not sure if the fix is correct
09:45:35Yardanicobasically it's an edge case
09:47:17Yardanicoshould I add new test for strscans in strscans itself?
09:47:25YardanicoAFAIK the testament tests stdlib modules like that
09:48:09*maier joined #nim
09:50:34*dddddd joined #nim
09:53:18*maier quit (Ping timeout: 256 seconds)
10:09:14FromDiscord<Shucks> Does arc work with threads?
10:09:54Yardanicoyes
10:09:56Yardanicoof course
10:10:00Yardanicobut you need devel for latest fixes :)
10:10:42FromDiscord<Shucks> Oh. Well gonna wait for 1.2.5 then ;p
10:10:49Yardanicoehm
10:10:58Yardanicoyou'll have to wait for 1.4 :)
10:11:02FromDiscord<Shucks> ugh
10:11:04Yardanico1.2 will only get _fixes_
10:11:08Yardaniconot _new features_
10:11:29Yardanicothat's how versioning works :)
10:12:20FromDiscord<Shucks> wait. Choosenim should be able to bring me directly to devel right
10:12:33Yardanicoyes if you choose the absolute latest one
10:12:39Yardanico--latest or something like that
10:13:26*dmi0 quit (Remote host closed the connection)
10:13:45*dmi0 joined #nim
10:20:17Yardanicoand I'm pretty successfull with my log parsing stuff
10:20:25YardanicoI'm mostly writing stuff for edge cases
10:20:52Yardanicoe.g. for /me or when FromGitter splits messages
10:21:15Yardanicothe resulting sqlite db is only ~100mb long
10:21:56Yardanicoand has ~1.15 million messages
10:22:08*arecacea1 quit (Remote host closed the connection)
10:22:31*arecacea1 joined #nim
10:24:12Yardanicohttps://i.imgur.com/3Dc8u1U.png
10:25:07*waleee-cl joined #nim
10:28:15*arecacea1 quit (Remote host closed the connection)
10:28:48*arecacea1 joined #nim
10:29:22leorizeshashlick: looks like there's an oversight with the nimble change
10:30:05leorize`thisDir()` will still point to the generated `.nims` file, and at least GULPF/timezones depends on this
10:34:20FromDiscord<Clyybber> Zevv: Did you try with gc:arc?
10:36:03Zevvsure
10:36:29Zevvbut its the transformations going wrong
10:36:50ZevvI was nagging disruptek about that yesterday. He's concentrating on all the fun parts like event queues and syncs and all
10:37:03Zevvbut it's all about the transforms for now. That needs to be solid, otherwise the rest is just useless
10:37:20Zevvproblem is that I'm kind of lost in his code flow, it's not like, trivial
10:37:50ZevvI think my snippet makes sense, it's the most basic building block for doing multiple client tcp server
10:38:08Zevvif that works it should be rather easily extendable to a HTTP server doing some actual work
10:39:46FromDiscord<Clyybber> I'm just wondering , because regardless of the transforms we *shouldn't* be getting C codegen errors right?
10:39:58Zevvno sure. you should never
10:40:30Zevvbut this is what comes out now:http://ix.io/2shM
10:40:44Zevvit's just broken AST
10:40:54Zevvof course that should probably detected before trying to make C out of that
10:40:57Zevvbut that's another story
10:41:07Zevvnote the two empty procs
10:41:29FromDiscord<Clyybber> ah alright
10:41:44Zevvand procs with double returns
10:45:14*Ven`` joined #nim
10:45:27FromDiscord<Clyybber> that shouldn't do no harm to the generated code at least
10:46:24FromDiscord<Clyybber> since its now allowed actually
10:57:16Zevvoh is it
11:00:42*Allain left #nim ("Leaving")
11:04:51FromGitter<antonkatz> Trying to pick a gui lib, between Nimx and Fidget for a small project. Any issues with either library I should be aware of? Any specific/general advice? (PS. This will be my first gui project in Nim, I'm new)
11:04:54Yardanicocan you add two DateTime's ?
11:04:59Yardanicosorry didnt mean to send that
11:06:58FromGitter<antonkatz> Also, do either of these libraries use GLFM/GLFW?
11:07:59FromGitter<antonkatz> Sorry, stupid question I know that Nimx uses SDL2
11:08:54*marnix quit (Read error: Connection reset by peer)
11:10:28*marnix joined #nim
11:12:43FromDiscord<Clyybber> hmm, I wonder if its really the empty proc body throwing it off, might actually just be a render bug
11:13:20Zevvsure, but if repr is confused, the ast is likely flakey
11:13:28Zevvits not something nim would construct from its own parser
11:13:49Zevvthere's no formal grammar check against ast, is there
11:13:54Zevvit comes in and all the parts hope for the best
11:14:20ZevvI can generate 6 different ast which all render to the same repr
11:14:35*marnix quit (Ping timeout: 240 seconds)
11:14:58FromDiscord<Clyybber> Hmm, but a procdef with an empty body is the right way to generate a declaration
11:15:07Zevvnot with the = at the end
11:15:18FromDiscord<Clyybber> I mean it terms of ast
11:15:29FromDiscord<Clyybber> We don't know if the `=` might not actually come from the renderer
11:15:39Zevvoh right
11:18:10FromDiscord<Clyybber> hmm, seems like the renderer is correct
11:18:14FromDiscord<Clyybber> must be something in the ast
11:18:33*fredrikhr quit (Read error: Connection reset by peer)
11:18:57*fredrikhr joined #nim
11:19:41Yardanicohttps://i.imgur.com/8t3RqJo.png added parsing for old .html logs
11:19:51Yardanicoas you can see there's 1.28 million messages total
11:20:02Yardanico(I excluded the join/leave, etc, only actual messages and /me actions)
11:20:25Zevvclybber: statistically, it's rather likely it's the ast
11:20:44Zevveither the compiler, used by a lots of people, has a bug. Or new code from a single author doing weird things makes broken AST
11:20:49Zevvif I had to bet my neck
11:20:57ZevvI think on which one to place the bet
11:21:13FromDiscord<Clyybber> yeah, its the AST
11:22:31FromDiscord<Clyybber> found the issue
11:22:36FromDiscord<Clyybber> the body is not an nkEmpty
11:22:49FromDiscord<Clyybber> but an nkStmtList
11:22:59FromDiscord<Clyybber> and somehow it has a trailing nkSym "result" node :p
11:23:05FromDiscord<Clyybber> which is not in the nkStmtList :D
11:25:05Zevvright
11:25:24Zevvwell, so either I try to dive in and grok all this stuff again
11:25:34Zevvor wait for mr disruptek to wake up and smell the coffee
11:25:38Zevvchoices, choices
11:25:56FromDiscord<Clyybber> or I do it :p
11:25:58FromDiscord<Clyybber> I'll try
11:28:03Zevvyeaaah, that worked \o/
11:28:33*marnix joined #nim
11:28:49FromDiscord<Clyybber> haha :D
11:29:35ZevvI did three or four implementations from scratch on this, but in the end always failed. The current stuff is kind of derived from all that, but I can't recognize any of it :)
11:33:31FromDiscord<Clyybber> its just a matter of turning a when false into a when true :p
11:33:40Zevvno dude
11:33:40FromDiscord<Clyybber> but that when false had its reasons,
11:33:42Zevvit's never that simple
11:33:47FromDiscord<Clyybber> because now its getting internal errors
11:33:51Zevvhah
11:34:07Yardanicoguess top 3 users by the count of messages in total?
11:34:10Yardanicoin the main nim chat
11:34:32Zevvsince when
11:34:44Yardanicosince all time NimBot was logging the channel
11:35:01Zevvdisruptek can't be #1
11:35:15ZevvYardanico: gimme the logs!
11:35:20Zevvlemme graph
11:35:21YardanicoI already parsed them
11:35:23Yardanicointo an sqlite db :)
11:35:26ZevvI don't care
11:35:28YardanicoALL IRC LOGS
11:35:29Zevvgimme the logs!
11:35:31YardanicoI even parsed the bridges
11:35:37Yardanicoits a nice 116mb sqlite db
11:35:38Zevvok, gimme the db
11:35:52YardanicoZevv: disruptek is #5
11:35:54YardanicoI'm apparently #3
11:35:58YardanicoAraq is obviously #1
11:35:59Yardanicodom #2
11:36:01Yardanicohttps://i.imgur.com/lsenio8.png
11:36:13Yardanicoof course it's higher for zachary in reality
11:36:18Yardanicobecause his discord name is different
11:36:26Zevvfix that in your db
11:36:29Yardanicono
11:36:31Zevvone user has multiple nicks
11:36:33Yardanicolater :P
11:36:33FromDiscord<Rika> LOL
11:36:41YardanicoI can yes
11:36:46Yardanicorika is #22
11:36:58Yardanicoclyybber is #19
11:37:06ZevvI know 11 of them, met 6 of them
11:37:15Zevvnot bad
11:37:26Zevvthey should invite me to #nim-insiders
11:37:38FromDiscord<lqdev> Yardanico: am I really that inactive? :P
11:37:43Yardanicolemme see
11:37:46Zevvno you changed your nick a dozen times
11:37:52Yardanicotop 45
11:37:54FromDiscord<lqdev> one time.
11:37:55Yardanicofor lqdev nickname
11:37:55FromDiscord<Clyybber> Zevv: You *are* in nim-insiders :p
11:37:57FromDiscord<lqdev> for a bit.
11:37:59ZevvI think it's save to map everything with a 'q' to mqdev
11:38:04Zevv\o/
11:38:06Zevvlqdev
11:38:21Yardanicoof course i'll do a nickname mapping
11:38:26Yardanicoits obvious
11:38:34Yardanicolike 4raq has had nicknames like
11:38:37Yardanico4raq__
11:38:39Yardanicodouble underscore
11:38:48Yardanicoor 4raq_win
11:39:12Yardanicowith 4 = a
11:39:39leorizeI'm a bit higher up on the list than I expected lol
11:41:05Yardanicoi'm much higher on the list than I expected :P
11:41:14FromDiscord<Clyybber> well yes
11:41:15FromDiscord<Clyybber> :p
11:42:15Yardanicowe have messages from ~5000 users in total
11:42:21Yardanicoit's counting discord/gitter/irc
11:46:23*nisstyre quit (Changing host)
11:46:23*nisstyre joined #nim
11:47:34ZevvHm I have a template with the same name as a pragma used on procs
11:47:36Yardanicoupdated it a bit (stripping _ and lowercase)
11:47:38Yardanicohttps://i.imgur.com/F4M5cLe.png
11:47:39Zevvwhat should that do?
11:47:48*Trustable quit (Remote host closed the connection)
11:47:51YardanicoZevv: you're #16 btw
11:47:55Zevvthansk
11:48:01*marnix quit (Ping timeout: 265 seconds)
11:48:01FromDiscord<Clyybber> @Zevv Its getting applied to the proc
11:48:14Zevvoh I never new that
11:48:14FromDiscord<Clyybber> proc f() {.someTemplate.} =
11:48:17*marnix joined #nim
11:48:23ZevvI thought that was macro only
11:48:25FromDiscord<Clyybber> will be ↵someTemplate:↵ proc f() =
11:48:31FromDiscord<Clyybber> nope, its macro and template
11:48:36Zevvpff what a messy language this nim is
11:48:46FromDiscord<Clyybber> hey, thats consistent :p
11:49:01*maier joined #nim
11:49:25FromDiscord<Clyybber> I think even async is a template now
11:49:36Yardanicoyes
11:49:37FromDiscord<Clyybber> which in turn then uses macros :p
11:50:28Zevvso, you got the ICE fixed yet? :)
11:50:33FromDiscord<Clyybber> not yet
11:50:38FromDiscord<Clyybber> its something with forward decls
11:50:53FromDiscord<Clyybber> might actually be a compiler bug
11:51:09Zevvwell, technically it is
11:51:17Zevvif you ICe the compiler, even with borked AST, it's not right
11:51:23FromDiscord<Clyybber> sent a code paste, see https://play.nim-lang.org/#ix=2shV
11:51:50FromDiscord<Clyybber> Zevv: I mean its still somewhat a fine error message, it says error: still forwarded: loop
11:51:52Zevvminimize that
11:51:57FromDiscord<Clyybber> on it
11:53:24Yardanico@lqdev you're liquid600pgm right?
11:53:32FromDiscord<lqdev> yes
11:54:07*maier quit (Ping timeout: 246 seconds)
11:54:23Zevv"everthing with a l and a q"
11:54:36FromDiscord<haxscramper> Is it possible to download all threads/messages on nim forum without just scraping everything manually?
11:55:05leorize!repo nimforum
11:55:06disbothttps://github.com/nim-lang/nimforum -- 9nimforum: 11Lightweight alternative to Discourse written in Nim 15 485⭐ 44🍴 7& 2 more...
11:55:11leorizeread the source i guess :P
11:55:33Yardanico@haxscramper no
11:55:37Yardanicoonly if you ask dom for the DB :P
11:55:48Yardanicoand you can request json which is of course faster than doing html
11:55:55Zevvlqdev lqdev[m] liquid600pgm lqdev[a] liblq-dev
11:56:04Yardanicoe.g. check https://github.com/Yardanico/nimeventer
11:56:08leorizeand it's not like you can do html scraping either :P
11:56:08YardanicoZevv: I handle [m] btw
11:56:16Yardanicoleorize: ah right LOL
11:56:20*Zevv is now known as Zevv[m]
11:56:20Zevv[m]cool
11:56:33FromDiscord<lqdev> Zevv: `patt('l' * *1 * 'q' * *1)`
11:56:45Zevv[m]right
11:56:59Zevv[m]too bad your *1 is greedy
11:57:06FromDiscord<lqdev> ah shit
11:57:07FromDiscord<lqdev> my bad
11:57:13Yardanicolol
11:57:15FromDiscord<lqdev> i'm too used to regexes :P
11:57:19Zevv[m]keep it like that
11:57:22Yardanicoalso 4raq had nicknames
11:57:24Yardanico4raq_win
11:57:25Yardanico4raq0
11:57:34FromDiscord<lqdev> `patt('l' * (*1 - 'q') * 'q' * *1)`
11:57:35FromDiscord<lqdev> there.
11:57:35Yardanico4raqintrouble
11:57:53Yardanicohttps://i.imgur.com/JMPM0HC.png
11:57:53Yardanico?????
11:58:10FromDiscord<haxscramper> I just thought about downloading nim forum and indexing all messages using full-text search (like recoll for example)
11:58:23Yardanicoyeah forum contains a lot of useful info
11:58:26Yardanicowhich is hard to search for
11:58:48FromDiscord<haxscramper> @Yardanico Did you include telegram messages in database? Telegram *finally* added JSON export (since 2.1.8)
11:58:56Yardanicono, I only included all bridged ones
11:59:01Yardanicoso FromGitter + FromDiscord + IRC
11:59:05Yardanicotelegram was never bridged to #nim
11:59:21FromDiscord<Kiloneie> Is it possible to connect to the forum and post in it ? ( i am guessing there is some code to prevent bots and all ?)
11:59:28Yardanicono lol
11:59:41Yardanicothere's no captchas or all that
11:59:44Yardanicoit's simply moderated
11:59:55Yardanicoif you just registered and post - moderator has to approve you
11:59:58Yardanicomanually
12:00:11FromDiscord<Kiloneie> Okay so i could post via program on my behalf right ?
12:00:15Yardanicoyes of course
12:00:30FromDiscord<haxscramper> Write shell script that compiles your code and automatically searches for all compilation errors on nim forum + IRC + telegram + SO
12:00:56FromDiscord<Kiloneie> Okay will do that some day( so i can schedule my videos and posts so people may know when they are up, not many subs just yet xD)
12:01:06Yardanicohttps://i.imgur.com/C8cOFV7.png
12:02:04Yardanicois alehander92 == alehander42 ?
12:02:18FromDiscord<lqdev> yes
12:02:36Zevv[m]but not alexander42
12:02:41Yardanicolol
12:02:46FromDiscord<lqdev> hold on
12:02:52FromDiscord<lqdev> when did I use the name liquid600pgm?
12:02:56FromDiscord<lqdev> gitter?
12:03:16FromDiscord<Clyybber> yeah
12:03:20Yardanicoyou never did actually
12:03:29Yardanicoits not in the DB :P
12:03:30Oddmongerhow to give an executable name in a nim .cfg ?
12:03:35FromDiscord<Clyybber> github then
12:03:36Yardanico-o:name
12:03:38Oddmongeri tried out=foo.exe
12:03:42Yardanicoor this
12:03:50Oddmongerbut i get an error
12:03:56Oddmongerlet's trie -o:name
12:03:57FromDiscord<Rika> what does the 600pgm mean
12:04:32OddmongerError: expected identifier, but got: .
12:04:34Oddmongerwith:
12:04:48Oddmonger-o:S02_clock.elf
12:04:52Yardanicoyeah
12:04:54Yardanicojust -o:file
12:04:59Yardanicoit'll automatically append the .exe
12:05:00Yardanicofor windows
12:05:05Yardanicoah sorry
12:05:05Oddmongerah
12:05:08Yardanicotry
12:05:08FromDiscord<Clyybber> -o:"SO2_clock.elf" maybe
12:05:12Yardanico-o:"file.elf"
12:05:13Yardanicoyes
12:05:17Oddmongerahh ok i see
12:05:32Oddmongergreat it works
12:05:34Oddmongerthank you
12:06:02*supakeen quit (Quit: WeeChat 2.8)
12:06:39*supakeen joined #nim
12:06:42Yardanicoafter some replaces
12:06:42Yardanicohttps://i.imgur.com/eMItASD.png
12:07:01FromDiscord<Clyybber> aaah, think I found the culprit
12:07:34Zevv[m]Yardanico: now match that against the git logs and see who's mostly talk and mostly work :)
12:07:48YardanicoI am work!1111
12:07:51Yardanico47mb compressed sqlite btw
12:07:54Yardanico116mb uncompressed
12:08:04YardanicoI can send it to you but it's still not fully ready, there are still duplicates I guess
12:08:21Zevv[m]nah, I'm currently with my head in other stuff
12:08:33Zevv[m]it it was just plain logs I could've chewn it through my thingy, but now it's work on my side
12:08:36Zevv[m]and that's less fun
12:08:40Yardanicoits just sqlite
12:08:43Yardanicoplain ol
12:08:58Yardanicowe have db_sqlite with fastRows
12:09:03Yardanicohttps://i.imgur.com/7ELP8lw.png
12:09:43Zevv[m]now detect mentions and @ats
12:09:48YardanicoXD
12:10:11Yardanicohttps://i.imgur.com/sVHFrug.png
12:10:43Zevv[m]cool, now a view for that :)
12:10:59Yardanico4raq got pinged 50k+ times
12:11:13Zevv[m]no wonder he's bored of that :)
12:11:18Zevv[m]and mentioned?
12:11:25Yardanico? same
12:11:30Yardanicoin irc @ is optional
12:11:33YardanicoZevv[m]: LOL
12:11:36Yardanicohttps://i.imgur.com/OiV4LwJ.png
12:12:29Yardanicoaw shit im also not stripping irc colors
12:12:30Yardanicowill do that
12:12:39Yardanicodisbot: you're at fault
12:19:25Yardanicoif anyone's curious - https://drive.google.com/file/d/1RaH_uwsF9F5jNJEYu-VH82xdJkUL4YHe/view
12:23:40alehander92oo
12:23:45alehander92i like i am in top 10 :)
12:24:05alehander92i am surprised zachary is far ahead !
12:24:22alehander92pmunch as well
12:24:33Yardanicoim top 3 :P
12:24:42alehander92not most important stat
12:24:48alehander92oh yeah yardanico is far awayu
12:25:24alehander92is there a ping table
12:25:36Yardanicono, it's harder to do :P
12:26:33alehander92awesome
12:26:39alehander92is this only #nim
12:26:46Yardanico yes because nimbot doesn't log other channels
12:29:28Zevv[m]dot is crunching
12:29:34Yardaniconoice
12:29:35Yardanicoshow us
12:29:39Zevv[m]dot is crunching
12:29:45Yardanicoinb4 im connected with everyone
12:29:47YardanicogachiHYPER
12:30:06Zevv[m]let me hang the washing while dot is crunching
12:34:52Zevv[m]dot is having a blast
12:35:28YardanicoZevv[m]: you have to be careful though
12:37:56Zevv[m]~http://zevv.nl/div/irc.png
12:37:57disbotno footnotes for `http://zevv.nl/div/irc.png`. 🙁
12:38:24Yardanicolol?
12:38:31Yardanicodid you really handle all mentions?
12:38:35Yardanicostrange
12:38:36Zevv[m]that's the 90% percentile
12:39:13Yardanico@rika lol
12:39:27FromDiscord<Rika> lol
12:39:40FromDiscord<Rika> we real close are we
12:39:42Zevv[m]I'll do a 100% now, If I don't come back it blew up my little fanless attick machine
12:39:57Yardaniconice
12:39:59Yardanicogive me the command?
12:40:01YardanicoI can try as well
12:40:15Zevv[m]nah I have a lock modified version of my graph thingy to ready your db
12:40:45Zevv[m]use the 'stuff' branch of ircgraph
12:41:03Zevv[m]and feed it your sqlite
12:41:15Zevv[m]sqlite3 irc.db -batch 'select * from log' | ./irgraph | dot -Tpng
12:41:49Yardanicohow do I remove the 90% percentile?
12:41:52Yardanicoor it's already not there?
12:41:55YardanicoI mean to output all
12:41:57Zevv[m]in the ircgraph there's an "if something > 0.07" somewhere
12:42:02Zevv[m]or the other way around
12:42:04Yardanicooh I see
12:42:08Yardanicoyes
12:42:10Yardanicojust remove it
12:42:13Zevv[m]make it true
12:42:33Zevv[m]the comment is wrong, as is my remark. It's not 90%
12:42:36Zevv[m]it's just some number
12:49:14alehander92<3
12:49:19alehander92ok i ccan keep talking them
12:49:21alehander92then*
12:49:31FromDiscord<Clyybber> Zevv: These are my results so far: http://ix.io/2sif/nim
12:50:50Zevv[m]1 out of 4, making progress! :)
12:50:59Zevv[m]do you grok what the code is doing?
12:51:19Zevv[m]that's one of your strenghts, right? Diving in existing code and getting the hang if it quickly
12:51:56Zevv[m]I would *love* to have this debug output annotated with arrows going up and down showing what continues what
12:52:40FromDiscord<Clyybber> I think its the semAfterMacroCall not handlign forward decls correctly
12:53:09FromDiscord<Clyybber> But somehow the CPS output manages to pass by that one
12:53:19Zevv[m]I need to do some family stuff and clean this smelling mess I call my house
12:53:28FromDiscord<Clyybber> Probably because it uses syms to address the loop procs, instead of idents
12:53:44FromDiscord<Clyybber> Zevv: C ya
12:53:51Zevv[m]keep up the good work dude
12:55:16FromDiscord<Clyybber> thanks :D
13:06:59Araqoh hi Clyybber
13:07:16AraqI'm fighting with bug #15038 any ideas?
13:07:17disbothttps://github.com/nim-lang/Nim/issues/15038 -- 3[ARC] SIGSEGV when calling a closure as a tuple field in a seq ; snippet at 12https://play.nim-lang.org/#ix=20Nl
13:15:32FromDiscord<Clyybber> Araq: Hi, no idea
13:15:39FromDiscord<Clyybber> But I didn't really investigate it yet
13:17:00*NimBot joined #nim
13:21:33Zevv[m]yeah, much higher prio also, that ^
13:21:37Zevv[m]says me
13:21:42FromDiscord<Clyybber> lol
13:22:06FromDiscord<Clyybber> I'm just not too familiar with how closures work in gc:arc yet
13:22:19FromDiscord<Clyybber> as I can't wrap my head around how it is safe to always capture by ref
13:23:22Araqwell that's simple. a closure is always a (functionPointer, env) tuple and env is always 'ref'
13:23:44FromDiscord<Clyybber> oh yeah, but what if the thing it referenced gets out of scope?
13:23:48FromDiscord<Clyybber> how does it keep it alife?
13:24:00Araqrefcounting, it's just a ref object
13:24:11FromDiscord<Clyybber> but if the thing it captures is not a ref object I mean
13:24:15FromDiscord<Clyybber> but a thing on the stack
13:24:29FromDiscord<Clyybber> does it get lifted to the heap?
13:24:44Araqyou write var captureMe = 4 but it's turned into env.captureMe = 4
13:24:52*waleee-cl quit (Quit: Connection closed for inactivity)
13:25:23Araqby the time we reach injectdestructors the closures have been compiled away already and nkClose is nkTupleConstr
13:25:27Araqby the time we reach injectdestructors the closures have been compiled away already and nkClosure is nkTupleConstr
13:25:35FromDiscord<Clyybber> aha!
13:25:39FromDiscord<Clyybber> Now that makes sense
13:39:54*marnix quit (Ping timeout: 256 seconds)
13:41:25*dulsi joined #nim
13:47:02*marnix joined #nim
13:49:00YardanicoAraq: btw, as I understand strictFuncs still assumes that you might *in very rare cases* lie to the compiler?
13:49:15Yardanicoe.g. when calling a proc which has {.noSideEffect.} block from a func
13:49:19Yardanicoah sorry im stupid
13:49:21Yardanicoforgot to turn on the pragma
13:49:38Yardanicodamn can't even break that analysis :((
13:49:55*maier joined #nim
13:51:31Yardanicoah well with emit I can, but it's understandable
13:52:45Yardanicomaybe func should also disallow using emit and emit gets its own effect 🤔
13:53:28*marnix quit (Ping timeout: 246 seconds)
13:53:46*marnix joined #nim
13:55:25*maier quit (Ping timeout: 264 seconds)
13:56:03YardanicoI mean e.g. https://play.nim-lang.org/#ix=2siv or emit in a proc called from a func
13:58:49AraqYardanico: add your experiments as test cases, eventually. right now we have a single test :P
13:59:17Araqbut yeah, of course you cannot break it, it's sound *cough cough*
14:00:02AraqI'm thinking about rewriting the code to use 'const T' internally so that we can get good error messages
14:00:12Araqbut 'const T' is flawed...
14:00:37Yardanicoso we can see where the side effect comes from?
14:00:56Yardanicowithout putting {.effects.} and friends all over the place
14:01:15Araqyeah, so that it's just another type mismatch error
14:01:20Yardanicooh nice
14:02:54Araqwell it doesn't work, 'const' is complex
14:03:10Araqit's not just another subtype relation
14:03:42Araqwell, you can model it as a subtype but it sucks
14:11:41*vicfred_ joined #nim
14:13:41*vicfred quit (Ping timeout: 246 seconds)
14:16:19FromDiscord<Clyybber> hmm, somehow forward declarations don't have a type when coming from a template or macro
14:34:27*marnix quit (Read error: Connection reset by peer)
14:35:04*marnix joined #nim
14:36:03*fredrikhr quit (Read error: Connection reset by peer)
14:36:26*fredrikhr joined #nim
14:38:58*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:40:52*couven92 joined #nim
14:41:01*fredrikhr quit (Disconnected by services)
14:41:07*couven92 is now known as fredrikhr
14:41:29*couven92 joined #nim
14:45:23*fredrikhr quit (Ping timeout: 240 seconds)
14:46:14*couven92 quit (Ping timeout: 260 seconds)
14:47:45*fredrikhr joined #nim
14:53:50*fredrikhr quit (Quit: Client disconnecting)
14:54:16*krux02 quit (Remote host closed the connection)
15:08:55Oddmongerhow to store a ptr in nim ?
15:09:07Oddmongeri'm using a function which returns a ptr to an object
15:09:42Oddmongerso i could leave the definition to nim (that's what i did until now)
15:09:51Oddmongervar pObj = foo(…)
15:10:10Oddmongerbut i'd like to define it myself, just to know how to do
15:10:21dulsiWhen using FFI under Linux, the library is not linked into the application. Instead it is loaded after the application starts. This means ldd doesn't tell you what libraries are needed to run the program. Is there a way to get a list of what libraries are required?
15:11:05Oddmongerdulsi: try at running with ltrace
15:11:35Zevv[m]Oddmonger: hwo do you mean you left the definition to nim
15:13:12Araqdulsi: use --dynlibOverride and a --passL command but generally ldd is unreliable for this reason and ltrace is better
15:13:56disruptekclyybber: like i said, the ast for procs gets an extra `result` child, which is bogus.
15:14:05disruptekand it cannot grok Empty for body.
15:14:20FromDiscord<Clyybber> yeah
15:14:26Araqif resultPos < n.len:
15:14:50OddmongerZevv[m]: i use the «auto» declaration of nim
15:14:58Oddmongervar pObj = foo(…)
15:15:27Oddmongerbut i don't know how pObj is declared, i just know foo returns «ptr Obj»
15:15:47Oddmongerah found it
15:16:10Oddmongertoo many C, i was typing : var ptr pObj:Obj
15:16:23Oddmongerindeed, it's var pObj:ptr Obj
15:16:29FromDiscord<Recruit_main707> Yes
15:18:03FromDiscord<Clyybber> Araq: WDYM?
15:20:14Araqthe extra 'result' child is for fun and profit but before you access it you need a check like
15:20:21Araqif resultPos < n.len
15:20:33FromDiscord<Clyybber> ah, thats not the problem I think
15:20:39FromDiscord<Clyybber> the extra result field I mean
15:21:02disruptekno, it's just to make `.last` more exciting.
15:22:00Araqyeah well, the sem'checked AST is a bitch
15:25:13AraqYardanico: check this out https://github.com/nim-lang/Nim/pull/15068
15:25:13disbotstrict func: much better error messages
15:25:53Yardanicookay, will check with some simple different stuff :P
15:26:38disrupteki think i need coffee before code.
15:28:41YardanicoAraq: well when calling a side effect proc from a func it doesn't give context
15:28:46Yardanicobut when doing bad stuff in the func itself it works
15:29:09Yardanicowait
15:29:44Yardanicois "var int" still supposed to work with strictFuncs?
15:29:54FromDiscord<Clyybber> of course
15:29:57Yardanicooh
15:30:11YardanicoI thought it would be disallowed
15:30:16Yardanicowas confused a bit :P
15:30:31FromDiscord<Clyybber> nah, only using `ref int` but then modifying the int is disallowed
15:33:13*marnix quit (Ping timeout: 246 seconds)
15:33:47Yardanicobasically https://github.com/nim-lang/Nim/pull/15068 seems to only work if the actual side effect is in the func itself
15:33:48disbotstrict func: much better error messages
15:34:06FromDiscord<Clyybber> what do you expect it to do?
15:34:18Yardanicowell I thought it would be inter-proc :P
15:34:29FromDiscord<Clyybber> huh why would it?
15:34:38Yardanicoso if you type echo "hi" in a func it'll tell why exactly the func is a side-effect
15:34:41Yardanicowas confused again :P
15:34:49FromDiscord<Clyybber> that can be done, but thats not inter-proc
15:35:05FromDiscord<Clyybber> its just "hey this call right here is a call to a non-func"
15:35:16*marnix joined #nim
15:35:26YardanicoI mean https://play.nim-lang.org/#ix=2siZ
15:35:40Yardanicoso it shows that b modifies obj.data so it's a side effect
15:35:58Yardanicojust wishful thinking on my side :P
15:36:28FromDiscord<Clyybber> hmm, I think just saying that its not a func because it calls b is good enough
15:36:42FromDiscord<Clyybber> then you can try to make b a func and then it will tell you why it can't be
15:36:55*audiophile_ joined #nim
15:36:55*audiophile_ quit (Client Quit)
15:37:14FromDiscord<Clyybber> I mean the compiler could try to print the chain of cause and effect
15:37:20FromDiscord<Clyybber> but thats gonna be very verbose
15:37:28FromDiscord<Clyybber> and you probably wouldn't even want that most of the time
15:37:33FromDiscord<Clyybber> like when calling echo
15:38:26*audiophile_ joined #nim
15:39:49Yardanicowell I mean it's verbose but easier to understand
15:40:05Yardanicoinstead of getting a single-line error "name can have side effects" :P
15:40:50FromDiscord<Clyybber> but then again, you can "query" the compiler by just trying to change name to be a func
15:43:06*maier joined #nim
15:46:07*golechwi1 quit (Ping timeout: 260 seconds)
15:47:37*maier quit (Ping timeout: 264 seconds)
15:48:39*aurelius quit (Remote host closed the connection)
15:49:24*golechwi1 joined #nim
15:52:25*marnix quit (Ping timeout: 264 seconds)
15:53:35*golechwi1 quit (Ping timeout: 244 seconds)
15:57:06*audiophile_ is now known as audiofile
16:00:27disruptekZevv[m]: what do you think about specifying the Cont type in the macro?
16:00:42FromDiscord<Clyybber> interesting idea
16:00:49FromDiscord<Clyybber> good idea IMO
16:00:58FromDiscord<Clyybber> then you can just define your own cps template
16:01:09disrupteki think this is how my `when`d out block version works, iirc.
16:01:34FromDiscord<Clyybber> by doing `template myCps(p): untyped = cps(p, MyCont)`
16:02:00disruptekwtf is that?
16:02:12FromDiscord<Clyybber> lol
16:02:17disrupteki'm talking about proc foo {.cps: Cont.}
16:02:23FromDiscord<Clyybber> yeah me too
16:02:31FromDiscord<Clyybber> so that you don't have to write Cont everytime
16:02:31disruptekwhy do i want the template?
16:02:38FromDiscord<Clyybber> ^
16:02:45FromDiscord<Clyybber> proc foo {.myCps.}
16:02:56disrupteki want a generic dispatcher that varies with the continuation type.
16:03:28FromDiscord<Clyybber> yeah, as I said. Good idea
16:03:58disruptekokay, well people can write whatever they want. it just might make other code that consumes cps procs less brittle.
16:04:01disruptekthat's the main win.
16:04:09FromDiscord<Clyybber> ye
16:04:44disruptekAraq: any tips to figuring out why a type is not isolatedable?
16:05:09FromDiscord<Clyybber> Ah
16:05:11*marnix joined #nim
16:05:15FromDiscord<Clyybber> I think I found one of the issues
16:05:27FromDiscord<Clyybber> hol..
16:08:55Zevv[m]disruptek: cont type in the macro. Help me out
16:08:57Zevv[m]what does that solve?
16:09:04Zevv[m]mornin', by the way
16:10:01Zevv[m]oh you generate all the conts and hide them, right
16:10:32disruptekwe need to fix discart/jield.
16:10:36disruptekthat shit is just nuts.
16:10:51Zevv[m]not for dyslectics like me
16:10:58Zevv[m]it's perfectly fine
16:11:19Araqlol, 'discart' and 'jield'?
16:11:28Zevv[m]well, if this stuff gets done in the ompiler, we just claim yield and throw the old one out
16:11:33Zevv[m]and discard, well, why do you need that anyway?
16:11:50Zevv[m]anyway, what do I care, it's just your particular event queue implementation that I don't care about at all
16:11:58Yardanicodisbot: well the isolation check says "unanalysable expression"
16:12:11Yardanicodisruptek: *
16:12:19Yardanicofor nkSym
16:12:43disruptekyou can say "compiler" in response to almost any problem, though.
16:12:53Zevv[m]sure :)
16:13:02Zevv[m]and "why do I care" also works
16:13:25disruptekthe point of this project is to have a working impl that we can use to learn idiomatic cps.
16:13:35disruptekthat usage of cps that is most composable in nim.
16:13:42Zevv[m]sure, agree.
16:13:47disrupteki don't want to rewrite the compiler to do that.
16:13:56disruptekit's a slow method of development, trust me.
16:13:57Zevv[m]but you want to yield, and yield is taken
16:14:13Zevv[m]so we probably need to think about something totally difrerent
16:14:24disruptekyeah, i just want to rename it.
16:14:33disruptekit's a dispatcher construct, anyway, as you like to point out.
16:14:37Zevv[m]:)
16:14:44Zevv[m]I don't like your dispatcher. it stinks
16:14:50Zevv[m]I like my dispatcher, it smells good
16:14:53disruptekreplace it, then.
16:15:01Zevv[m]nope. I just write my own :)
16:15:09Zevv[m]joking aside, it's hard to come up with good names
16:15:19Zevv[m]because "yield" is just what this called everywhere always
16:15:36disruptekthere are 362 synonyms for "yield" in the moby thesaurus.
16:15:43Zevv[m]"relinquish" no one can type without autocomplete
16:15:59Zevv[m]"throw up"
16:16:21Yardanicodisruptek: "If T does not contain a ref or closure type, it is isolated."
16:16:35Yardanicocheck "How to construct isolated subgraphs" in https://github.com/nim-lang/RFCs/issues/244
16:16:36Yardanicofor rules
16:16:37disbot'isolated' data for Nim ; snippet at 12https://play.nim-lang.org/#ix=2sjf
16:16:50disruptekfair enough, thanks.
16:17:18disrupteki am thinking i want to collapse yield and spawn. yield with an argument is spawn.
16:17:32disruptekso i'm thinking... `resume` maybe.
16:17:54disruptekhmm, the thesaurus recommends "poop out".
16:18:00disruptekthat's another intriguing possibility.
16:21:05Zevv[m]pizza is ready and life is about priorities
16:26:00disruptekanother thought i had was to inject a `result` into the continuation type. it will be gensym'd so that it doesn't clash, but we can save/load/deref it from continuations.
16:27:51disruptekso maybe you do `cpsProc() as foo: echo foo`. or if you prefer, maybe we allow your rhs: `let foo = cpsProc()`
16:28:25disruptekwhen we move the continuation type into the macro, this becomes more natural.
16:43:14FromDiscord<Clyybber> I like "throw up"
16:43:15bunghttps://github.com/nim-lang/Nim/issues/15022 this one seems fixed ? I run without problem
16:43:17disbotAsyncSocket.getPeerAddr appears to not work. ; snippet at 12https://play.nim-lang.org/#ix=2sjg
16:44:24FromDiscord<Clyybber> bung: Might be arch specific/
16:45:08bunghmm , maybe they're on Windows: amd64
16:45:12Yardanico"maybe" lol
16:45:15FromDiscord<Clyybber> yeah they are
16:45:23Yardanicomight be vcc specific
16:45:49*krux02 joined #nim
16:46:38bunglabeld it as "OS/Arch specific" ? so I dont looking into it
16:47:09Yardanicowell we're not 100% sure but okay
16:49:32bungI only can confirm it runs ok on macos
16:49:43Zevv[m]disruptek: sounds like a plan
16:54:02disrupteki'll fix these loop issues first. are you working on a test-friendly dispatcher?
16:54:41disrupteki do think it's better to move the current one out sooner so we can isolate issues between cps and dispatch.
17:00:42Zevv[m]nah i was first working on getting some real use case control flow constructs working
17:00:48Zevv[m]like in the little example that blew up
17:01:32Zevv[m]and i have this stanadlone evq which I want to use to make sure everything allows integrating in more then one way
17:01:43disrupteki used to have a file with a dozen of your little ast-match tests. maybe it's still around.
17:01:55Zevv[m]I'm also not sure if the cps itself needs a dedicated test scheduler or event queue
17:01:56disruptekthe while test i just added was from that era.
17:02:33Zevv[m]do you want to make the evq a different nimble project altogether?
17:02:39disruptekof course.
17:02:43Zevv[m]do you want to make the evq a different nimble project altogether?
17:02:44Zevv[m]cool
17:03:34Zevv[m]so cps tests test cps only, and these dont really need any kind of event queue i think
17:03:39disruptekwe can maybe get around having scheduling, but i'm pretty sure we'll need the semaphores at least.
17:04:09Zevv[m]not sure yet, but probably
17:04:43Zevv[m]also i'd like to see if i can start build other things
17:04:45disruptekmight just need a template.
17:05:09Zevv[m]like simple iterators, maybe exceptions, lua-style-coroutines
17:05:15Zevv[m]so things that dont do any pumping
17:05:24*endragor quit (Remote host closed the connection)
17:05:27Zevv[m]not event driven, I mean
17:05:43disrupteksure.
17:06:14disruptekwhat's annoying is that this loop stuff worked better before.
17:06:30Zevv[m]do you have any insight how much it takes to fix #3?
17:06:44Zevv[m]the loop transformation stuff you mean
17:09:34disrupteki wonder if the `return` is a problem there.
17:09:39disruptekin the client, i mean.
17:09:52*solitudesf quit (Quit: Leaving)
17:10:13disruptekyeah, i had loops working in a lot of really crazy ways.
17:10:41FromDiscord<lqdev> i feel like the stdlib should have an `unreachable` template. right now i see to much of `doAssert false` and it makes my brain hurt
17:10:48FromDiscord<lqdev> gotta write an RFC
17:11:00Yardanicotemplate unreachable = doAssert false
17:11:01Yardanicobig brain
17:11:06FromDiscord<lqdev> how about
17:11:18FromDiscord<lqdev> `template unreachable(message: string) = doAssert false, message`
17:11:32Yardanicowhat message
17:11:44Yardanicoeven the compiler has assert false, "unreachable" btw
17:12:03FromDiscord<lqdev> eg. `unreachable "enum value cannot be evA"`
17:12:24FromDiscord<lqdev> i just add comments like `assert false # unreachable`
17:12:45FromDiscord<lqdev> but honestly `assert false` is not very readable
17:12:57Yardanicois it?
17:13:02Yardanicoit's a very easy-to-learn thing
17:13:15*maier joined #nim
17:13:58*endragor joined #nim
17:14:17FromDiscord<Clyybber> Zevv, disruptek: Please don't try to fix #3, its a compiler bug
17:14:30FromDiscord<Clyybber> When thats fixed its as easy as switching a false to true
17:14:31disruptekyeah, i'm not worried about it.
17:14:48FromDiscord<Clyybber> also I'm on it :P
17:14:59Zevv[m]it's not only a compiler bug I guess
17:15:04Zevv[m]the double return is not right
17:15:08FromDiscord<lqdev> Yardanico: though it may be easy to learn, i still feel like it's not very readable
17:15:10FromDiscord<Clyybber> its not wrong either :p
17:15:19Zevv[m]is it?
17:15:22FromDiscord<Clyybber> ok, the AST is not wrong at least
17:15:29disruptekthe double return is just an optimization that i removed.
17:15:33Zevv[m]sure, but the semantics is not right
17:15:49disrupteki made a ticket to fix it.
17:17:52*Jesin quit (Quit: Leaving)
17:18:24*noonien joined #nim
17:18:35*marnix quit (Ping timeout: 240 seconds)
17:18:40*ForumUpdaterBot quit (Remote host closed the connection)
17:18:48*ForumUpdaterBot joined #nim
17:18:50*endragor quit (Ping timeout: 260 seconds)
17:18:52Zevv[m]disruptek: I'm starting a really stupid test suite with only bare bone cps transform tests
17:18:57Zevv[m]ground up
17:19:07disrupteknice.
17:19:27Zevv[m]basically I write simple programs that happen to call primitives, and I make sure the run as if the were not transformed
17:20:41*marnix joined #nim
17:21:32*solitudesf joined #nim
17:30:02*marnix quit (Ping timeout: 260 seconds)
17:31:45*audiophile_ joined #nim
17:32:50Zevv[m]I assume supporting shadowed variables in lower scopes is not something we want to fix in the current env flow right?
17:32:55Zevv[m]that'll come with the bubbling
17:33:02*audiofile quit (Ping timeout: 256 seconds)
17:33:19disruptekit can be done in current flow by simply gensym'ing.
17:33:26disruptekbut, "i don't care"
17:33:34Zevv[m]I would appreciate if that works
17:33:41disruptekyeah, it'd be good.
17:34:04disrupteki will make a ticket. i think i can do it simply.
17:34:18*bung quit (Quit: Lost terminal)
17:34:19Zevv[m]I added a proper message ot the assert for now
17:34:22Zevv[m]coool
17:35:30Zevv[m]wel, not that cool, that's one "o" too many. But just "cool" for certian
17:36:33disruptekmy driver's license says "cretian" next to "RACE: ".
17:37:54Zevv[m]there is something cool about some cps magic functions. You can call them with or without "cps", and they both work
17:37:55disruptekdo we not lift declarations now?
17:38:18Zevv[m]there is something cool about some cps magic functions. You can call them with or without "cps", and they both work
17:38:21Zevv[m]dang
17:38:21Zevv[m]sorry
17:38:27disruptektry ctrl+space
17:38:54Zevv[m]I'm hitting up+enter tons of times to rerun my test, but focus is not always on the right window
17:42:06FromDiscord<Clyybber> lol
17:42:27Zevv[m]I'm going to spam the issues with all things I find, let me know if I'm bothering you
17:42:51disrupteknah, it's always useful.
17:43:00*maier quit (Ping timeout: 256 seconds)
17:43:20Zevv[m]I'm posting standalong programs and the error message, you wnat the debugcps output there as well?
17:43:43disruptekprobably?
17:43:58Zevv[m]well, it's a lot of noise in the issues, but it saves you a run maybe
17:44:11Zevv[m]tever
17:45:01*marnix joined #nim
17:45:32disruptekah, so you understand env now. 🤪
17:45:48Zevv[m]who, me?
17:46:31Zevv[m]I decided not to understand all that unless I really have to
17:46:37Zevv[m]I just provide services now
17:47:05disruptekhah. well, admittedly, it might get replaced soonish.
17:47:12Zevv[m]right
17:56:42Araqbtw my holiays start on 3rd of August
17:56:47Araqfor two weeks
17:56:55Yardanicosheet
17:56:58disrupteksweet, what are you up to?
17:57:00Araqbut I might have internet
17:57:00Yardanicono araq = no nim :P
17:57:08Zevv[m]so, what's your holiday project
17:57:16Araqprobably IC
17:57:26*krux02 quit (Remote host closed the connection)
17:57:37*WilhelmVonWeiner joined #nim
17:57:37disruptekoh no.
17:57:39Zevv[m]taking a holiday from nim to do nim
17:58:42Yardanicothat's our bdfl for you
17:58:46Araqor maybe I'll do nothing and relax
17:59:10disruptekthat sounds better.
17:59:22Zevv[m]right
18:00:59*audiophile_ quit (Ping timeout: 240 seconds)
18:02:17FromDiscord<Clyybber> Araq: Is a forward declaration supposed to have two different syms?
18:02:36FromDiscord<Clyybber> Like the forward declared proc itself and the actual implementation
18:03:29*kungtotte quit (Read error: Connection reset by peer)
18:04:25*marnix quit (Ping timeout: 240 seconds)
18:04:32Araqyeah
18:04:55Araqwell, after it's detected they are the same, only the forwarded sym remains
18:04:56*kungtotte joined #nim
18:05:15disruptekthat doesn't seem to work with gensym'd names.
18:05:22FromDiscord<Clyybber> Hmm, interesting. Somehow that doesn't seem to work in templates
18:05:25FromDiscord<Clyybber> /macros
18:05:41FromDiscord<Clyybber> disruptek: Ha! You probably hit the nail on the head
18:05:46*marnix joined #nim
18:06:51Zevv[m]disruptek: I just realize #10 and #11 will not "work" when fixed because lack of boxing
18:06:58Zevv[m]but the error is about the compilation failure for now
18:07:29disruptekno, i can fix those.
18:08:28Zevv[m]sweet
18:08:38disruptekit's just an ooo decl.
18:08:46Zevv[m]oooh
18:09:55disruptekwe need to handle cps calls after defining the local break/goto.
18:10:03*superbia2 joined #nim
18:10:38disruptekbut really, the decl sort should have fixed this. i wonder if i deleted the fix from the moves branch.
18:10:57disruptekoh, i did.
18:12:25*superbia1 quit (Ping timeout: 240 seconds)
18:14:19disruptekoh, it's because of the stupid decl bug.
18:14:23disruptekso dumb.
18:15:59*superbia2 is now known as superbia
18:16:31disrupteksee if #10/#11 work now.
18:18:15Zevv[m]sweet
18:20:04Zevv[m]"block:" gets lost
18:20:33disruptekthere's a new block test but it's not working with jield.
18:20:56disruptekisReturnCall needs a rewrite, btw.
18:21:45Zevv[m]seems that at end of a block: no continuation is returned
18:21:50Zevv[m]so stuff ater the block is gone
18:22:04disruptekshould be in after()
18:22:12disruptekbut, i'll add a test.
18:22:27Zevv[m]no I'm making the tests :)
18:22:31Zevv[m]that's what I'm doing now
18:22:47disruptekokay.
18:22:57Zevv[m]can't obsolete me *completely*
18:23:04disrupteki don't want to.
18:23:13disrupteki want that elegance you brought to the original impl.
18:23:43Zevv[m]see #12. `block:` is broken, but if I replace with `if true:` it's ok
18:24:21*endragor joined #nim
18:24:24disruptekthis test is complete?
18:24:27Zevv[m]it is
18:24:36disruptekso why not put it into the repo?
18:24:40Zevv[m]it is
18:24:46Zevv[m]but not yet commited
18:24:49Zevv[m]will add stuff now
18:25:18Zevv[m]tests/tzevv.nim
18:25:26Zevv[m]slowly growing
18:25:58disruptekcool.
18:26:07disruptekbut, see, i wanna see the codegen.
18:26:23Zevv[m]in the issue, or in failed tests?
18:26:35disruptekin the failure. we need to know what we're doing wrong.
18:26:52Zevv[m]you got a recipe for dumping at fails yet?
18:26:58Yardanicodo we have a label for experimental features issues?
18:27:12Zevv[m]beacsue now I just run with -d:cpsDebug
18:27:16Zevv[m]and always see the codegen
18:27:27disruptekoh, i didn't know you omitted a .cfg.
18:27:42disruptekokay, i see.
18:27:59Zevv[m]oh yeah I add it by hand, enable it there if you prefer
18:28:30disruptekthe template should add a value to the t() name so we can find it.
18:28:39disruptekelse it's all t() all the way down.
18:28:54*endragor quit (Ping timeout: 256 seconds)
18:28:58Zevv[m]hm lemme see if I can access the current test name or something
18:29:03disruptekmaybe we should put some line info into the doc comments?
18:29:18Zevv[m]I dream of adding arrows to continuations
18:29:32disrupteki know you have railroad graphs in the wings.
18:29:47Zevv[m]sure, would be kind of the same mechanics
18:30:00disruptekwe can embed them in the comments.
18:30:04Zevv[m]doesn't seem to be a way to access the current test name. bumr
18:30:16disruptekjust compose it in your template?
18:30:28Zevv[m]yeah but then I have to type the names twice
18:30:34Zevv[m]error prone becasue this is all copy&paste stuff
18:31:38disruptekyou need tests that don't make cps calls, too.
18:31:57Zevv[m]right
18:35:19FromDiscord<Clyybber> Araq: Where *should* this forward declaration happen?
18:35:30FromDiscord<Clyybber> *declaration symbol reuinification thing
18:35:37AraqsemProcAux
18:35:51Araq(yes, I know that code is poor crap)
18:36:03Araqrefactor ahead
18:36:15FromDiscord<Clyybber> hmm I looked at that just a minute ago :D
18:36:21FromDiscord<Clyybber> must have skipped it
18:36:47disruptek.msg bunny43 if you get here before her you can shave my back.
18:36:53disruptekoops
18:37:30Zevv[m]didn't you get that shaved last week?
18:37:43disruptekthat was something else.
18:37:48Zevv[m] 20:37 -!- There is no such nick bunny43
18:37:52disruptekno, i mean, that was /really/ something else.
18:38:13Yardanicodisruptek: i cant repro https://github.com/nim-lang/Nim/issues/13510
18:38:14disbotmutable iteration over mutable type produces a codegen error ; snippet at 12https://play.nim-lang.org/#ix=2cJp
18:38:22Yardanicoworks with refc and arc
18:38:38Araqer disruptek change your nick to "disturbing" please :P
18:38:47*disruptek is now known as cretian
18:38:52Yardanicolol
18:39:28cretianthat code is from nimph if you wanna see if it works now.
18:39:43cretiannimph has a lot of .warning: "nim bug #13510". in it.
18:39:44disbothttps://github.com/nim-lang/Nim/issues/13510 -- 3mutable iteration over mutable type produces a codegen error ; snippet at 12https://play.nim-lang.org/#ix=2cJp
18:40:00Zevv[m]cretian: There's a few in github that should keep you busy I bet
18:40:07Zevv[m]I'm makin a coffee
18:40:39AraqYardanico: do you have a simple async orc memory leak example for me?
18:40:44cretiankk, is the test up to date?
18:40:49Zevv[m]pushign
18:40:53YardanicoAraq: I can make one, but it'll use async macro :(
18:41:02Yardanicounless I strip it off of course
18:41:03Yardanicoone sec
18:41:11Zevv[m]pushed, one fails, if that is fixed the one after will hang
18:41:20cretianokay, danke.
18:41:48Araqyou're German!
18:42:30cretianonly on my evil side.
18:42:36cretiani mean, nein.
18:43:02FromDiscord<Clyybber> lol
18:44:21AraqGermain suits you
18:45:12YardanicoAraq: well, even the simple one - https://play.nim-lang.org/#ix=2sl7
18:45:33cretianZevv[m]: give us a trampoline that can break on infinite loops.
18:45:41Yardanicoshows almost same occupied after waitFor and even after fullcollect + sleep, but with refc it only shows 62000 occupied after the waitFor
18:45:44cretianshould be trivial. intset the addr of the fn.
18:45:46Yardanico(the first is with orc)
18:46:00Yardanicoas you do more iterations it'll grow
18:46:09Araqwell the problem is the big seq that selectors uses
18:46:28AraqI mean that makes it hard to measure
18:46:30Araqbut ok
18:46:55Yardanicooh hmm I guess I can check its' length
18:46:59Yardanicoor use some heap profiler
18:47:13FromDiscord<Clyybber> Araq: Hmm, I see the excl sfExport things, but I don't see where it merges the syms
18:47:14Yardanicowill try massif
18:47:25FromDiscord<Clyybber> Oooh!
18:47:37FromDiscord<Clyybber> nevermind
18:48:38FromDiscord<Clyybber> There aren't supposed to be seperate syms right?
18:48:49cretianhow could that make sense?
18:49:30Yardanicohttps://i.imgur.com/sETPvQx.png
18:49:51Yardaniconot very helpful :P
18:50:03Yardanicolemme try to unroll async macro
18:50:07FromDiscord<Clyybber> cretian == disruptek?
18:50:10Yardanicoyes
18:50:12FromDiscord<Clyybber> haha
18:50:38FromDiscord<Clyybber> *cretin
18:51:05FromDiscord<Clyybber> oh, damn. I thought cretin was a breadcrumb
18:53:58Zevv[m]cretian: oh right that makes sense, I can just stop after x iterations for now
18:55:24Zevv[m]pushed
18:55:29Zevv[m]can you please change your nick back
18:55:31Zevv[m]you confuse me
18:55:49cretianpushed
18:55:52*cretian is now known as disruptek
18:56:03Zevv[m]what is fixed
18:56:09disrupteki dunno.
18:56:18Zevv[m]haha
18:56:37Zevv[m]ok, better
18:56:38disruptekthe break doesn't return to the loop.
18:57:21Zevv[m]I should add references to the issues in my tests, because I now don't know which are fixed and which are not
18:57:24FromDiscord<Clyybber> Yardanico: Maybe it makes sense to display the original nick next to the name on discord?
18:57:33Yardanicoyou mean the nickname change?
18:57:35Yardanicowell, maybe
18:57:41Yardanicobut I mean it can be noisy at times
18:57:42*maier joined #nim
18:57:48disruptekor just omit issues. we know we want tests to pass.
18:57:55*wishywash joined #nim
18:58:01Zevv[m]sure
18:58:22disruptekanother bug cps turned up is discards in nested finally: clauses.
18:58:28disruptekit's as bizarre as it sounds.
18:58:34Zevv[m]hah
18:58:44Zevv[m]is block: simple to fix?
18:58:48Zevv[m]its the only fail now
18:59:52disruptekprobably.
19:00:48disruptekbut these tests need non-cps flow so we can optimize out continuations.
19:01:23Zevv[m]var i, j: int does not get recognize j
19:01:34disruptekyeah, and tuple unpacking doesn't work.
19:01:44disruptekthose are worth an issue.
19:02:07disruptekeasy to fix, too.
19:02:24Zevv[m]issued
19:02:26Zevv[m]#15, #16
19:02:42FromDiscord<Clyybber> Araq: Is a definition of a previously forward declared proc supposed to remove the forward declaration symbol from the scope?
19:03:10Araqno, the "prototype" remains and the other symbol is replaced
19:03:41FromDiscord<Clyybber> So in the end there should be no two symbols floating around?
19:03:44Zevv[m]disruptek: pushed the interesting nested while case that breaks my http server. Doesn't even need cps calls
19:03:59disruptekbecause cps is too greedy now.
19:04:02Zevv[m]right
19:04:25Zevv[m]reinstate isCpsBlock
19:04:38Zevv[m]oh it's there
19:04:38disruptekwell, maybe if we rename it?
19:04:47disruptekit's a little misleading.
19:06:06*marnix quit (Read error: Connection reset by peer)
19:06:18*marnix joined #nim
19:06:45Zevv[m]I'm skipping broken tests that kill compilation for now
19:08:43AraqClyybber: correct, only prototype remains and is added to the symbol table
19:09:33FromDiscord<Clyybber> Araq: Interesting, this doesn't seem to work in a template/macro context https://github.com/nim-lang/Nim/issues/15075
19:09:35disbotForward declaring recursive function doesn't work in template/macro context ; snippet at 12https://play.nim-lang.org/#ix=2slf
19:11:50FromDiscord<Clyybber> Oooh!
19:12:19FromDiscord<Clyybber> hmm, nevermind again :(
19:13:00disruptekZevv[m]: ah, i've been looking at the wrong codegen.
19:13:13ForumUpdaterBotNew thread by Jwezel_: How to get address of object, see https://forum.nim-lang.org/t/6594
19:13:18Araqhttp://blog.ezyang.com/2013/05/the-ast-typing-problem/ lol
19:13:30Araq"The unprincipled solution: use one AST, but have an optional field in which you can slot in the information."
19:13:41Araq"Presented without further comment."
19:13:43disruptekwut
19:13:47Araqwell, guess what Nim uses :P
19:15:12*bung joined #nim
19:17:07Zevv[m]yeah but that's 2013. Sooo Ooooold
19:18:03disruptekblock is fixed.
19:18:16disruptekyour test produces c codegen err for me.
19:21:22FromDiscord<Clyybber> Ha! I think I found it
19:21:35FromDiscord<Clyybber> semRoutineInTemplBody fucks forward decls up
19:22:13FromDiscord<Clyybber> hmm, no that can't be it
19:22:14FromDiscord<Clyybber> dammit
19:22:19disrupteklol
19:22:21FromDiscord<Clyybber> why is this issue so elusive
19:22:40disruptekbecause otherwise it would have been fixed.
19:25:20FromDiscord<Clyybber> oh, actually my hunch was right
19:25:29disruptekwhich one?
19:26:14FromDiscord<Clyybber> that semRoutineInTemplBody is the culprit
19:26:30FromDiscord<Clyybber> *maybe*
19:37:23*maier quit (Ping timeout: 240 seconds)
19:42:46*wishywash quit (Quit: Konversation terminated!)
19:42:55*wishywash joined #nim
19:45:55*waleee-cl joined #nim
19:46:45*marnix quit (Ping timeout: 240 seconds)
19:47:44*marnix joined #nim
19:49:26*opDispatch quit (Quit: Konversation terminated!)
19:49:48*audiophile_ joined #nim
19:50:06*marnix quit (Read error: Connection reset by peer)
19:50:52*marnix joined #nim
19:54:45AraqClyybber: I'm fixing #15038
19:54:46disbothttps://github.com/nim-lang/Nim/issues/15038 -- 3[ARC] SIGSEGV when calling a closure as a tuple field in a seq ; snippet at 12https://play.nim-lang.org/#ix=20Nl
19:57:07Zevv[m]disruptek: do we care about defer, try, except in cps for now?
19:57:33*maier joined #nim
19:57:36*audiophile_ is now known as audiofile
20:00:14audiofileAraq hows it going
20:00:49AraqI don't know you
20:01:39*wishywash quit (Quit: Konversation terminated!)
20:02:14YardanicoAraq: well I removed the async dependency fully, but getOccupiedMem after GC_fullCollect() with orc still shows a much bigger value than with refc
20:02:30Yardaniconot sure if I'm doing it the correct way though - https://play.nim-lang.org/#ix=2sln
20:02:38AraqYardanico: well I'm fixing the easier closure bug first
20:02:44Yardanicono rush :)
20:03:03Araqbut if you can reduce it so that it doesn't have the asyncdispatch dependency it'll become easier
20:03:13Yardanicowell I did above, not sure if it's actually a leak or not
20:03:18Yardanicobut getOccupiedMem() is much higher with orc
20:03:28Yardanicothere aren't even any cycles I think?
20:04:54Yardanicoactually just https://play.nim-lang.org/#ix=2slo
20:05:56YardanicoI'll create an issue so I can update the repro example
20:08:00Araqty
20:08:34Yardanicohttps://github.com/nim-lang/Nim/issues/15076
20:08:36*marnix quit (Read error: Connection reset by peer)
20:08:36disbotMemory leaks with async (closure iterators?) under ORC ; snippet at 12https://play.nim-lang.org/#ix=2slr
20:08:54*altarrel joined #nim
20:09:17*marnix joined #nim
20:12:30Yardanicoif I add a single GC_unref(next) in a loop where it gets the nameIterVar - ram usage is mostly same as with refc without that GC_unref
20:12:39Yardanicoor in asyncmacro.nim after line 26
20:15:11Yardanicobut it seems to only work in that simple cases, SIGSEGV with asynchttpserver
20:17:22Zevv[m]so disruptek, this c-gen error is a nim bug?
20:17:31disrupteki mean, yeah?
20:17:53Zevv[m]but it's not a bug in our AST that happens to trigger a nim bug?
20:17:55Zevv[m]i mean
20:18:02disruptekuh, maybe.
20:18:11disrupteki'm trying to fix break. again.
20:18:17Zevv[m]works for me?
20:18:23disruptekdamn thing just won't stay fixed.
20:18:26Zevv[m]for my one test
20:18:31Zevv[m]no right but it's not easy
20:18:36disruptekwell, i will push one.
20:20:31*jjido joined #nim
20:20:37*maier quit (Ping timeout: 264 seconds)
20:22:33FromDiscord<treeform> Inside a macro is there a way to tell which module you are currently in?
20:22:40FromDiscord<treeform> some thing like getCurrentModuleName() ?
20:22:57disruptekZevv[m]: i think we just force it on until we're ready to optimize it.
20:23:25FromDiscord<treeform> I want to output some thing like module.function name. I know how to get function name, that gets passed in. But I don't know how to get current module name.
20:23:40disruptekyou can get the current filename.
20:24:30Zevv[m]disruptek: sorry, force what on?
20:32:17FromDiscord<Clyybber> Araq: Does it make sense conceptually to add a proc to the scope in semRoutineInTemplBody ?
20:33:00*Vladar quit (Quit: Leaving)
20:33:07FromDiscord<Clyybber> Because it seems that this is the issue with the forward declarations. semRoutineInTemplBody is generating a new one because the previous semRoutineInTemplBody didn't put the symbol in the scope
20:35:31*maier joined #nim
20:42:08*maier quit (Ping timeout: 256 seconds)
20:49:09AraqClyybber: dunno
20:52:35FromDiscord<exelotl> my project won't build on devel because `nimbase` includes `stdbool` which conflicts with the `bool` definition in a header that I'm using
20:52:41Zevv[m]disruptek: I'm out for today. I didn't add tzevv to the nimble test yet, fwiw.
20:53:03FromDiscord<exelotl> should I raise this as an issue with nim or with the maintainer of the library?
20:53:06YardanicoI simplified 15076 to just a normal proc getting values from a closure iterator in a while loop (like you would do) and the leak seems to be still there
20:54:37FromGitter<alehander92> oii
20:54:55alehander92~love
20:54:55disbotlove: 11patient, love is kind. -- alehander92
20:55:01Yardanico~nim
20:55:02disbotno footnotes for `nim`. 🙁
20:55:04alehander92i prefer
20:55:09alehander92ast-s with type field too
20:56:45*oriba joined #nim
20:58:49*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:59:16disruptekZevv[m]: kk ty
21:03:55Zevv[m]same!
21:07:02*marnix quit (Ping timeout: 260 seconds)
21:08:26*marnix joined #nim
21:11:17Araqexelotl: dunno why we need stdbool
21:14:09*lritter_ joined #nim
21:17:09FromDiscord<Clyybber> probably for the static size checks
21:17:26FromDiscord<Clyybber> but I don't think that stdbool should be needed for that
21:19:49FromDiscord<Clyybber> https://github.com/nim-lang/Nim/commit/ab5e26c53cf34a1839dd92d247b5e0a5cde432a0
21:20:45FromDiscord<exelotl> yeah, I'm just looking at that now. Rationale explained here: https://github.com/nim-lang/Nim/pull/13798
21:20:47disbotfix some codegen bugs: NIM_BOOL, NIM_STATIC_ASSERT, --passc:-std=... (etc) ; snippet at 12https://play.nim-lang.org/#ix=2sly
21:20:59FromDiscord<exelotl> but I think it needs revisiting...
21:21:50FromDiscord<Clyybber> https://github.com/nim-lang/Nim/pull/13798#issuecomment-605838197 in that reply
21:21:51disbotfix some codegen bugs: NIM_BOOL, NIM_STATIC_ASSERT, --passc:-std=... (etc) ; snippet at 12https://play.nim-lang.org/#ix=2sly
21:22:14FromDiscord<Clyybber> timo says that he removed stdbool.h but its still there, so maybe he just forgot to commit it or something
21:35:33*krux02 joined #nim
21:36:50*marnix quit (Read error: Connection reset by peer)
21:43:37FromDiscord<Avatarfighter> What's good everyone 😄
21:43:43Yardanicosleeping
21:43:45*solitudesf quit (Remote host closed the connection)
21:43:54FromDiscord<Avatarfighter> Oh so the usual ? 😛
21:44:02Yardanicoyes
21:44:07Yardanicoim talking with you directly from my brain
21:44:16Yardanicojust installed nim 2.0 with the brain backend
21:44:32FromDiscord<Avatarfighter> LMAO
21:44:40FromDiscord<Avatarfighter> the neuron backend is installed
21:45:10FromDiscord<Avatarfighter> What are you working on atm Yardanico? Anything interesting or wanting to make you cry?
21:45:35YardanicoI don't really have anything interesting I'm working on
21:45:40Yardanicojust hunting some bugs
21:46:18FromDiscord<Clyybber> you could bridge telegram :p
21:46:22Yardanicoyou sure? :P
21:46:27FromDiscord<Clyybber> hell yeah
21:46:33Yardanicodom was against it a lot of times :P
21:46:39FromDiscord<Avatarfighter> Is there even a good telegram library?
21:46:43FromDiscord<Clyybber> @dom96 you still against it?
21:46:52Yardanico@Avatarfighter bot api would be enough here
21:47:08FromDiscord<Avatarfighter> ig so
21:47:11Yardanicobut really I need to make ircord itself also support gitter and telegram
21:47:32Yardanico*daily reminder - FromGitter is written in Crystal* :D
21:47:47Yardanicoalthough almost no one uses fromgitter nowadays
21:48:07FromDiscord<Avatarfighter> oh yeah I meant to ask but what happened to people using the Gitter chat>
21:48:15Yardanicogitter is just dying
21:48:25FromDiscord<Avatarfighter> yeah...
21:48:29FromDiscord<Avatarfighter> That's true lol
21:50:50*vicfred_ quit (Quit: Leaving)
21:51:04*Jesin joined #nim
21:51:07*vicfred joined #nim
21:52:06FromDiscord<dom96> > @dom96 you still against it?↵@Clyybber Yes
21:52:15FromDiscord<Clyybber> why?
21:52:35FromDiscord<dom96> because Telegram has grown its own separate Nim community
21:52:48FromDiscord<dom96> if you want to bridge it create a #nim-telegram or something
21:52:58FromDiscord<Clyybber> ? even more reason to unify them again
21:53:00FromDiscord<Clyybber> IMO
21:53:07*antranigv joined #nim
21:53:33FromDiscord<dom96> To be honest I don't care too much either way
21:53:43FromDiscord<Avatarfighter> all im saying is if their nim meme culture isn't the same as ours #nim-telegram lmao
21:53:45FromDiscord<dom96> but get others thoughts
21:53:58antranigvQuestion: is there any open-source project using Nim? I'd like to have a look and use it in our products.
21:54:08Yardanicouhh, wdym exactly?
21:54:38FromDiscord<Clyybber> antranigv: status-im is pretty big
21:54:40Yardaniconim compiler uses nim and it's an open source project :P
21:54:42Yardaniconimforum, nitter
21:54:59antranigvnice nice, I'll check the compiler as well :D
21:55:21Yardanicobut what do you want exactly?
21:55:23Yardanicothat sounds really vague
21:57:07antranigvwell, we write our software in Erlang/Elixir, but for the initial setup, I'd like to have one binary which would act like as a webserver and just write the config files for the elixir application.
22:03:07*dmi0 quit (Ping timeout: 246 seconds)
22:08:04*NimBot joined #nim
22:08:49FromDiscord<Clyybber> and once again has it run away
22:09:09FromDiscord<Clyybber> that damn bug sure knows his way around the compiler
22:12:05*dmi0 joined #nim
22:13:21*dmi0 quit (Remote host closed the connection)
22:13:47*dmi0 joined #nim
22:20:23*sagax quit (Remote host closed the connection)
22:45:08*nikita` quit (Quit: leaving)
23:08:14*krux02_ joined #nim
23:09:45*oddp quit (Ping timeout: 240 seconds)
23:11:45*krux02 quit (Ping timeout: 240 seconds)
23:15:10rayman22201So, the csources don't want to build for me using mingw on windows :-( https://www.irccloud.com/pastebin/tYJvMwqO/
23:15:48rayman22201nim used to be easy to bootstrap. Boy, things are really slipping around here :-P
23:23:35rayman22201so I can't use mysys or cygwin versions of GCC. I see how it is
23:24:11rayman22201Is it possible to bootstrap csources using MSVC? it looks like the build.bat is hard coded to gcc.
23:28:13disruptekno idea about windows, sorry bud.
23:28:27disruptekthere are new nightlies, though.
23:28:33disrupteksee alaviss/nightlies
23:28:34bungproc foobar(ls: var TrackySeq[seq[int]], i: int): var seq[int] = echo ls.pos
23:29:05bungwhen I echo the PNode I got `echo [ls.pos]`
23:29:14disruptekyeah?
23:29:34bungdebuging compiler for js
23:29:39rayman22201nah. I'm going to just fix my box
23:31:59FromDiscord<demotomohiro> My ``gcc version 9.3.0 (Rev1, Built by MSYS2 project)`` can build devel Nim from csource.
23:32:46FromDiscord<demotomohiro> I'm using gcc installed with scoop package manager.
23:33:31rayman22201I found a different mingw build that will work I think. It's only gcc 8.1, but that's fine.
23:33:59FromDiscord<Yardanico> @bung that's how compiler does varargs stuff
23:34:24FromDiscord<Yardanico> It's working correctly
23:37:31*audiofile quit (K-Lined)
23:37:56bungok, thanks! I need trace another thing then
23:59:27*oriba quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)