<< 11-06-2019 >>

00:04:48*vlad1777d quit (Ping timeout: 248 seconds)
00:12:14*stefanos82 quit (Quit: Quitting for now...)
00:15:44*vivus joined #nim
00:16:55vivusHi all. How can I remove empty fields from a table? iterating over the table and removing it causes an error in the latest devel branches of nim (0.19.9 and up)
00:19:31sealmoveempty fields?
00:20:15FromGitter<zetashift> What is the error?
00:22:21vivusexample, like this: (f0: "你肯定吗?", f1: @[])
00:25:40sealmovesnippet?
00:26:56*smitop quit (Quit: Connection closed for inactivity)
00:36:02vivussealmove: @zetashift : https://dpaste.de/aS1c
00:36:27vivusL` the length of the table changed while iterating over it [AssertionError]
00:37:41sealmove@zetashift: what would it take to make pattern matching work for tuples?
00:37:47sealmovei mean without a library
00:38:26sealmoveoh virus you can't delete while iterating like that
00:38:37sealmovetable size can't change while iterating
00:38:41vivussealmove: yeah I figured :P
00:40:13sealmoveok so you have to find the index and then use del() outsize of loop
00:40:34vivusoutsize?
00:41:14FromGitter<zetashift> @sealmove honestly don't know that, I use gara for my pattern matching needs
00:42:13FromGitter<zetashift> you can however do tuple unpacking in 0.20
00:42:27sealmovebeing able to match against something like tuple[x, y: int] feels natural enough to be included in the core language...
00:43:07sealmoveyeah but can you do something like `case someTuple`?
00:43:27sealmovesorry virus, outside*
00:44:05vivusvirus :P
00:44:38vivussealmove: I'm a bit confused by your suggestion. This is a table, not a tuple?
00:44:54sealmovesorry, tuple conversation is irrelevant
00:47:04sealmovehere is a rough solution: https://termbin.com/2p60
00:50:13FromGitter<zetashift> seems you can use case only on ordinal types
00:50:16sealmoveand here is cleaned-up one which actually compiles: https://termbin.com/qp1i
00:51:10sealmovezetashift: yes.. I understand this could be aiding as major simplification within compiler internals
00:51:54*deech quit (Ping timeout: 272 seconds)
00:52:11sealmovebut I think it's worth extending to tuple of ordinals
00:53:07sealmovethen check if the cartesian product is covered
00:54:11sealmovevirus: just think of the table as immutable while iterating over it
01:04:30*envoyt quit (Ping timeout: 258 seconds)
01:13:53*envoyt joined #nim
01:30:32*chamar quit (Ping timeout: 244 seconds)
01:34:33*deech_ joined #nim
02:05:30*sealmove quit (Quit: WeeChat 2.4)
02:12:47*Tongir joined #nim
02:14:50*mbarkhau_ joined #nim
02:18:04*mbarkhau quit (Ping timeout: 246 seconds)
02:20:54*gmpreussner_ joined #nim
02:21:34*gmpreussner quit (Ping timeout: 246 seconds)
02:25:58*gmpreussner joined #nim
02:27:18*gmpreussner_ quit (Ping timeout: 258 seconds)
02:27:31*deech_ quit (Ping timeout: 246 seconds)
02:40:14*laaron- joined #nim
02:40:41*laaron quit (Remote host closed the connection)
02:44:19*dddddd quit (Remote host closed the connection)
02:48:37*i7sDream_ joined #nim
02:56:54*i7sDream_ quit (Remote host closed the connection)
02:57:26*i7sDream_ joined #nim
03:03:31*sz0 joined #nim
03:46:13FromGitter<kayabaNerve> Zevv: So how many lines of code?
03:51:31*vivus quit (Remote host closed the connection)
04:03:39*laaron- quit (Quit: ZNC 1.7.1 - https://znc.in)
04:03:59*laaron joined #nim
04:10:02*i7sDream_ quit (Ping timeout: 258 seconds)
04:11:39*theelous3_ quit (Ping timeout: 248 seconds)
04:15:01*nsf joined #nim
04:40:41*vlad1777d joined #nim
05:02:40Zevvof what code?
05:12:35*leorize quit (Quit: WeeChat 2.3)
05:24:04*narimiran joined #nim
05:27:55*narimiran_ joined #nim
05:29:31*narimiran quit (Ping timeout: 248 seconds)
05:45:37*fjellfras joined #nim
05:58:37*AndChat|624225 joined #nim
05:58:37*envoyt quit (Read error: Connection reset by peer)
05:59:42*jjido joined #nim
06:05:28*leorize joined #nim
06:09:21leorizenarimiran_: norm is failing CI
06:13:19*narimiran_ is now known as narimiran
06:13:42narimiranleorize: yeah, the package changed from dependency-free to having dependencies. i'm working on it
06:14:39leorizesomething is really wrong with keep-alive ssl connection in httpclient :/
06:15:28leorizeswitching to create new connection per test case really take a toll on the test time on azure :/
06:23:03*i7sDream_ joined #nim
06:25:31Araqwe need our own SSL implementation
06:25:42AraqOpenSSL's API is unusable
06:27:18leorizeis there any saner ssl library out there that's not a derivative of openssl?
06:31:05Zevvour own ssl implementation, wow. You sure about that?
06:32:03ZevvopenSSL is hell and crap and just so bad over all, but there are a number of more modern libs with decent APIs and much less cruft. I'd go for picking a better lib, but rolling your own is probably not the best option, security wise
06:32:58ZevvMaybe we could do a literal translation of wolf from c to nim, or something like that.
06:33:26jjido"probably". In time it could become the best option security-wise for all we know...
06:37:23leorizewolfssl is gplv2 though
06:40:17Zevvtrue
06:40:47*PMunch joined #nim
06:42:34Zevvhow do the others (rust, go, etc) do portable ssl then?
06:42:58Araqgo has its own impl iirc
06:43:55Araqdunno about Rust, probably they are working on it too. I wonder how hard it really is these days, 80% of what is in OpenSSL is probably deprecated or obsolete already
06:44:35Araqmapping an infinite bit stream to a fixed number of bits is hard and most algorithms fail at it
06:46:21leorizeI've "perfected" azure integration :p https://dev.azure.com/alaviss/Nim/_build/results?buildId=134&view=ms.vss-test-web.build-test-results-tab
06:46:30leorizenarimiran: ^
06:47:43narimiranyay, norm is failing for you too :P :D
06:47:48*krux02 joined #nim
06:53:42narimiranleorize: how long until PR? what's left to do?
06:54:20leorizeAraq, Zevv: libressl got libtls, which seems to be super easy to use https://man.openbsd.org/tls_init.3
06:55:00leorizenarimiran: I've to figure out why some tests are flaky on azure, and a small benchmark for how impactful is the azure integration to testament
07:00:00*gmpreussner quit (Quit: kthxbye)
07:03:38*dwdv joined #nim
07:03:50Zevvleorize: but how would that integrate with Nim's socket abstractions, that's always the hard part
07:04:39*gmpreussner joined #nim
07:06:12*disruptek quit (Ping timeout: 272 seconds)
07:08:23Araqyup.
07:08:43leorizelooks like the `net` module is rather monolithic
07:08:56*cyberjpn joined #nim
07:09:46Araqalso: if implementing SSL is so hard that nobody can be trusted to reimplement it there is something really wrong with its "security"
07:09:48leorizecan't just swap the ssl implementation with a third party module
07:10:54Araqof course you cannot "swap" it, what would the API look like? they all fail to provide open/read/write/close, can't fake what you don't have.
07:16:42*Senketsu quit (Ping timeout: 244 seconds)
07:17:59leorizeI've looked at python's & go's API
07:18:17leorizethey have separated behavior for a server socket vs a client socket :/
07:18:37leorizego have two different constructor, python have a server_side bool
07:21:46PMunchHmm, is there a way to print an exception without re-raising it?
07:22:00PMunchI know I can do getCurrentExceptionMsg()
07:22:08PMunchBut that doesn't include the stack trace
07:23:58leorizewriteStackTrace()
07:24:24leorizePMunch: ^
07:24:33PMunchAha
07:24:40PMunchWait, can I use that anywhere?
07:25:51PMunchHuh, you can. Neat
07:32:36*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:34:53*neceve joined #nim
07:35:18*neceve quit (Client Quit)
07:35:41*neceve joined #nim
07:40:43*leorize quit (Remote host closed the connection)
07:43:27*leorize joined #nim
07:51:30*yellowbird joined #nim
07:51:33*Vladar joined #nim
07:53:13*leorize quit (Ping timeout: 256 seconds)
07:58:38FromGitter<mratsim> for SSL we are exploring BearSSL at Status, codebase is clean straight C, and due to constant-time arithmetics focus it (almost?) always never exposes vulnerabilities when other libraries have some
07:59:58FromGitter<mratsim> I've gathered several crypto breaches here (often TLS related): https://github.com/status-im/nim-constantine/wiki/Constant-time-arithmetics, AFAIK this one is the most recent: https://www.cryptologie.net/article/461/the-9-lives-of-bleichenbachers-cat-new-cache-attacks-on-tls-implementations/
08:02:21FromGitter<mratsim> I have an ideal implementation in mind where the constant prime numbers are compile-time only but I have a showstopper static bug: https://github.com/nim-lang/Nim/issues/11142
08:04:07*Araq marked it as showstopper
08:04:37*leorize joined #nim
08:05:46FromGitter<mratsim> I don't think that's Nim showstopper, I have a less elegant alternative which is to store the "constant prime number" as a global, but that means I can't use the type system at all to check that all modulo are on the same prime.
08:10:10leorizenarimiran: have you fixed norm?
08:10:22narimiranit's not yet in devel
08:12:45*floppydh joined #nim
08:15:21*disruptek joined #nim
08:22:05*couven92 joined #nim
08:33:05*cyberjpn quit (Quit: WeeChat 2.4)
08:40:07federico3Araq: yes, SSL itself is a mess
08:40:37federico3leorize: https://github.com/FedericoCeratto/nim-gnutls
08:41:57federico3I also have wrappers for libsodium and libgcrypt but they don't provide SSL
08:45:25*al_ joined #nim
09:03:44narimiranleorize: ...and the reason why is not yet in devel is because appveyor is too slow ;)
09:09:16leorizewell, recent runs show that azure runs package test around 8mins slower
09:09:29FromGitter<mratsim> azure CI is slower than Appveyor?
09:09:37FromGitter<mratsim> azure Pipelines*
09:11:10leorizewell, not mentioning that I've already completed 3 CI runs during the time it took for appveyor to complete one build job :p
09:13:48*stefanos82 joined #nim
09:14:08*dddddd joined #nim
09:16:10narimiran@mratsim from what leorize showed us, usually azure is noticeably faster. i'm guessing this slowdown is just for packages. (but even still, 10 parallel jobs for azure vs 1 for appveyor is a nobrainer)
09:16:41FromGitter<mratsim> @narimiran Numpy switched to Azure pipelines in the past 6 months iirc
09:28:55*AndChat|624225 quit (Ping timeout: 246 seconds)
09:29:17*envoyt joined #nim
09:31:39*yellowbird quit (Remote host closed the connection)
09:34:38*PMunch quit (Remote host closed the connection)
09:38:50*PMunch joined #nim
09:44:11narimiranleorize: merged. 'norm' is now disabled
09:50:04narimiranargh, is there a way to reset appveyor job other than close/open PR?
09:50:25*tribly quit (Remote host closed the connection)
09:50:50*tribly joined #nim
09:51:27*envoyt quit (Ping timeout: 268 seconds)
09:51:49*envoyt joined #nim
09:51:56FromGitter<mratsim> if you are part of the project team, you have a "restart build" button
09:52:28FromGitter<mratsim> but there should be a "nim-lang" team and not just a personal accoutn that owns the Nim prject
09:52:49narimiranyeah, i have that for travis, but not for appveyor :/
09:54:56narimirandom96: i see that appveyor is under your name: is there any way that you can somehow add me so i can restart the failed jobs?
09:55:36*tribly quit (Quit: WeeChat 2.4)
09:56:42*tribly joined #nim
10:00:42*Tongir quit (Ping timeout: 268 seconds)
10:05:46leorizenarimiran: there'll be a PR if this passes: https://dev.azure.com/alaviss/Nim/_build/results?buildId=138
10:08:33FromGitter<mratsim> a Nim-lang team should be created instead and the project should be moved under that team
10:08:45FromGitter<mratsim> and people should be added to that team
10:13:27*leorize quit (Remote host closed the connection)
10:19:52*tribly quit (Remote host closed the connection)
10:20:10*tribly joined #nim
10:25:37*lritter joined #nim
10:26:49*arecaceae quit (Remote host closed the connection)
10:27:07narimiranagreed
10:27:08*arecaceae joined #nim
10:29:52*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
10:33:03*laaron joined #nim
10:34:03FromGitter<kaushalmodi> I'd like to added a little interface for the user to pick one or more items from available options in a terminal.. kind of like what peco and fzf does, but in Nim.
10:35:07FromGitter<kaushalmodi> Its API could be something like `proc selectOneOrMore(allItems: seq[string]): seq[string]`.
10:35:55FromGitter<kaushalmodi> Had anyone come across a Nim library or snippet that does this?
10:39:56dom96no idea how it ended up on my account tbh
10:40:05leorize[m]have you looked at nimble's own io facilities?
10:45:07FromGitter<kaushalmodi> Good point.. that was at the back of my mind .. but never actually tried to look there
10:46:14FromGitter<kaushalmodi> Looks like promptListInteractive is what I want; I need to tweak it to allow returning `seq[string]`.
11:01:26*AndChat|624225 joined #nim
11:03:23*envoyt quit (Ping timeout: 248 seconds)
11:05:15*PMunch quit (Remote host closed the connection)
11:07:02*Vladar quit (Remote host closed the connection)
11:11:22*PMunch joined #nim
11:14:22FromGitter<kaushalmodi> I'll need to add paging.. what if the number if initial options exceed the terminal height.. a different problem to tackle when I get to that point.
11:16:00*deech joined #nim
11:29:56*fjellfras quit (Quit: Leaving)
11:42:53FromDiscord_<rupansh> Hey
11:43:07FromDiscord_<rupansh> How can i download files as file buffer
11:48:38*sealmove joined #nim
12:00:20*i7sDream_ quit (Ping timeout: 268 seconds)
12:00:57*deech quit (Ping timeout: 268 seconds)
12:15:56Araqhttpclient, asynchttpclient modules
12:27:58*AndChat|624225 quit (Read error: Connection reset by peer)
12:29:04*i7sDream_ joined #nim
12:29:15*i7sDream_ quit (Remote host closed the connection)
12:29:17*envoyt joined #nim
12:29:36*i7sDream_ joined #nim
12:36:08*nsf quit (Quit: WeeChat 2.4)
12:46:45*i7sDream_ quit (Remote host closed the connection)
12:47:10*i7sDream_ joined #nim
12:47:17*envoyt quit (Read error: Connection reset by peer)
12:47:35*envoyt joined #nim
12:53:12*deech joined #nim
12:54:19PMunchHmm, this error messages looks a bit weird: http://ix.io/1LvP
12:54:37*NimBot joined #nim
12:54:39PMunchWhy is in referencing Travis?
12:58:39*deech quit (Ping timeout: 258 seconds)
12:58:41Araqbecause absolute paths rule :-)
12:59:04Araqand we use travis to build the binaries
13:05:09FromGitter<kaushalmodi> is appveyor clogged? it's queued on my PR since 3 hrs
13:06:43FromGitter<kaushalmodi> ok, I see the queue here: https://ci.appveyor.com/project/Araq/nim/history
13:07:12Araqcan we delete the 'master' branch? it's dead
13:07:13FromGitter<mratsim> so Appveyor CI is using both in Araq and dom96 accounts?
13:07:38Araqno. only mine. I think.
13:08:16FromGitter<mratsim> you can create a nim-lang team and add people to it so that they can restart the build without asking you and closing/reopening PR
13:09:08FromGitter<arnetheduck> or remove the devel branch and use master
13:12:04narimiran@kaushlmodi: yes it is clogged. patience. btw, that's one of the reasons why we're investigating using azure pipelines
13:13:19Araqarnetheduck: my coworkers cannot deal with a new name, 'devel' must stay
13:13:54FromGitter<arnetheduck> funny, what problems computer engineers are able and are not able to deal with
13:14:47FromGitter<arnetheduck> you should name it d_eV_eL or something, to celebrate compatible name diversity
13:15:18*xet7 joined #nim
13:15:46Zevvreimplement git in Nim, making it style-insensitive
13:15:54narimiranAraq: how about removing some of the other 40+ branches? :P
13:19:28*neceve quit (Ping timeout: 248 seconds)
13:19:50*neceve joined #nim
13:21:47AraqZevv, first I must reimplement Linux :P
13:22:02*hoijui joined #nim
13:22:05Zevvno no, we start with openssl
13:22:21sealmovearnetheduck: lol
13:23:15FromGitter<Vindaar> @Araq you mean implement Andreax?
13:24:18Zevvok, I'll start with TLS1.3 and work down from there, should be done in an afternoon or two
13:25:20*neceve quit (Ping timeout: 248 seconds)
13:25:31*neceve joined #nim
13:31:48AraqI'd call it "WOS" -- the working operating system. where stuff works.
13:33:04*sz0 quit (Quit: Connection closed for inactivity)
13:37:02FromDiscord_<Marrakezh%brb> Hi
13:37:43FromDiscord_<Marrakezh%brb> I new in nim programing language and Iam trying make a simple Hello World in nico game framework
13:38:32FromDiscord_<Marrakezh%brb> So, this is the code
13:38:32FromDiscord_<Marrakezh%brb> ```nim
13:38:32FromDiscord_<Marrakezh%brb> import nico
13:38:32FromDiscord_<Marrakezh%brb>
13:38:33FromDiscord_<Marrakezh%brb> proc gameInit() =
13:38:33FromDiscord_<Marrakezh%brb> echo "init"
13:38:33FromDiscord_<Marrakezh%brb>
13:38:35FromDiscord_<Marrakezh%brb> proc gameUpdate(dt: float) =
13:38:36FromDiscord_<Marrakezh%brb> discard
13:38:36FromDiscord_<Marrakezh%brb>
13:38:38FromDiscord_<Marrakezh%brb> proc gameDraw() =
13:38:39FromDiscord_<Marrakezh%brb> cls()
13:38:41FromDiscord_<Marrakezh%brb> setColor(7)
13:38:42FromDiscord_<Marrakezh%brb> print("Hello, World", 42, 60)
13:38:44FromDiscord_<Marrakezh%brb>
13:38:45FromDiscord_<Marrakezh%brb> nico.init("Marrakezh", "Tests")
13:38:46FromDiscord_<Marrakezh%brb>
13:38:48FromDiscord_<Marrakezh%brb> nico.loadPaletteCGA()
13:38:49FromDiscord_<Marrakezh%brb>
13:38:51FromDiscord_<Marrakezh%brb> nico.createWindow("Tests", 128, 128, 4)
13:38:52FromDiscord_<Marrakezh%brb>
13:38:54FromDiscord_<Marrakezh%brb> nico.run(gameInit(), gameUpdate(dt: float), gameDraw())
13:38:55FromDiscord_<Marrakezh%brb> ```
13:39:08FromDiscord_<Marrakezh%brb> and this error mensage appears
13:39:08FromDiscord_<Marrakezh%brb> ```
13:39:09FromDiscord_<Marrakezh%brb> main.nim(20, 22) Error: type expected
13:39:09FromDiscord_<Marrakezh%brb> ```
13:39:38FromDiscord_<Marrakezh%brb> To run I type this in console
13:39:38FromDiscord_<Marrakezh%brb> ```
13:39:38FromDiscord_<Marrakezh%brb> nim c -o:Tests -r src/main.nim
13:39:38FromDiscord_<Marrakezh%brb> ```
13:40:05FromDiscord_<Marrakezh%brb> So, this is the code
13:40:05FromDiscord_<Marrakezh%brb> ```nim
13:40:05FromDiscord_<Marrakezh%brb> import nico
13:40:06FromDiscord_<Marrakezh%brb>
13:40:06FromDiscord_<Marrakezh%brb> proc gameInit() =
13:40:06FromDiscord_<Marrakezh%brb> echo "init"
13:40:06FromDiscord_<Marrakezh%brb>
13:40:08FromDiscord_<Marrakezh%brb> proc gameUpdate(dt: float) =
13:40:09FromDiscord_<Marrakezh%brb> discard
13:40:11FromDiscord_<Marrakezh%brb>
13:40:12FromDiscord_<Marrakezh%brb> proc gameDraw() =
13:40:14FromDiscord_<Marrakezh%brb> cls()
13:40:15FromDiscord_<Marrakezh%brb> setColor(1)
13:40:16federico3Zevv: first we need a quantum CPU to overcome the limitations of silicon
13:40:17FromDiscord_<Marrakezh%brb> print("Hello, World", 42, 60)
13:40:18FromDiscord_<Marrakezh%brb>
13:40:20FromDiscord_<Marrakezh%brb> nico.init("Marrakezh", "Tests")
13:40:21FromDiscord_<Marrakezh%brb>
13:40:22FromDiscord_<Marrakezh%brb> nico.loadPaletteCGA()
13:40:24FromDiscord_<Marrakezh%brb>
13:40:25FromDiscord_<Marrakezh%brb> nico.createWindow("Tests", 128, 128, 4)
13:40:27FromDiscord_<Marrakezh%brb>
13:40:29FromDiscord_<Marrakezh%brb> nico.run(gameInit(), gameUpdate(dt: float), gameDraw())
13:40:30narimiranthis is fun.... :P
13:40:30FromDiscord_<Marrakezh%brb> ```
13:40:43FromGitter<kaushalmodi> Marrakezh%brb: welcome and hold on!
13:40:44FromDiscord_<Marrakezh%brb> So, this is the code
13:40:44FromDiscord_<Marrakezh%brb> ```nim
13:40:44FromDiscord_<Marrakezh%brb> import nico
13:40:44FromDiscord_<Marrakezh%brb>
13:40:45FromDiscord_<Marrakezh%brb> proc gameInit() =
13:40:45FromDiscord_<Marrakezh%brb> echo "init"
13:40:45FromDiscord_<Marrakezh%brb>
13:40:47FromDiscord_<Marrakezh%brb> proc gameUpdate(dt: float) =
13:40:47FromGitter<kaushalmodi> use ix.io
13:40:48federico3I wonder why it's not being properly throttled/stopped
13:40:48FromDiscord_<Marrakezh%brb> discard
13:40:49FromDiscord_<Marrakezh%brb>
13:40:51FromDiscord_<Marrakezh%brb> proc gameDraw() =
13:40:52FromDiscord_<Marrakezh%brb> cls()
13:40:54FromDiscord_<Marrakezh%brb> setColor(2)
13:40:55Araqstop it
13:40:55FromDiscord_<Marrakezh%brb> print("Hello, World", 42, 60)
13:40:57FromDiscord_<Marrakezh%brb>
13:40:58FromDiscord_<Marrakezh%brb> nico.init("Marrakezh", "Tests")
13:41:00FromDiscord_<Marrakezh%brb>
13:41:01FromDiscord_<Marrakezh%brb> nico.loadPaletteCGA()
13:41:03FromDiscord_<Marrakezh%brb>
13:41:04FromDiscord_<Marrakezh%brb> nico.createWindow("Tests", 128, 128, 4)
13:41:05FromDiscord_<Marrakezh%brb>
13:41:07FromDiscord_<Marrakezh%brb> nico.run(gameInit(), gameUpdate(dt: float), gameDraw())
13:41:08federico3Araq: it's a code dump, no way to stop it now
13:41:09FromDiscord_<Marrakezh%brb> ```
13:41:10FromDiscord_<Marrakezh%brb> sorry : P
13:41:19FromGitter<kaushalmodi> use ix.io
13:41:19FromGitter<Vindaar> half my screen is covered by messages :P
13:41:23FromGitter<kaushalmodi> or any pastebin you like
13:41:33Araq1. use any pastebin.
13:41:33narimiran@Vindaar you have one veeeery long screen then :P
13:41:47FromGitter<Vindaar> nah, my dunst messages disappear quickly enough :P
13:41:52FromDiscord_<Marrakezh%brb> oh sorry, what happened ?
13:42:50FromGitter<Vindaar> this happened: https://i.imgur.com/WtgVcYl.png
13:43:07FromDiscord_<Marrakezh%brb> oh. sorry
13:43:19FromGitter<Vindaar> no worries :)
13:44:10Araq2. what do you think this means?
13:44:12Araq nico.run(gameInit(), gameUpdate(dt: float), gameDraw())
13:44:42AraqI have no idea, yes, gameUpdate takes a float, why do you think the compiler needs to be remembered?
13:45:03Araqer, 'reminded'
13:45:15FromDiscord_<Marrakezh%brb> I think it is to take the functions to the compiler, or something like that
13:48:00FromDiscord_<Marrakezh%brb> wait a sec
13:57:55*hoijui quit (Quit: Leaving)
14:06:25*laaron quit (Remote host closed the connection)
14:07:32*Trustable joined #nim
14:08:17*PMunch quit (Remote host closed the connection)
14:09:19*laaron joined #nim
14:27:53FromDiscord_<rupansh> is there any way to convert webp images in a stream to png images
14:28:00FromDiscord_<rupansh> without saving them to the disk that is
14:29:33*Jesin quit (Quit: Leaving)
14:30:08FromGitter<mratsim> Can you even stream png images?
14:30:45FromGitter<mratsim> in anycase, the images support in Nim is pretty much reliant on C libraries at the moment.
14:35:50FromGitter<kaushalmodi> What's the PackageFileParsed error on Appveyor? https://ci.appveyor.com/project/Araq/nim/builds/25192557/job/98rqyd7hu40pd3jf#L1620
14:36:57FromDiscord_<rupansh> Oof
14:37:11FromDiscord_<rupansh> I need to do some resizing of the image and convert it to png after that
14:37:16FromDiscord_<rupansh> would be nice if its possible
14:39:48*laaron quit (Remote host closed the connection)
14:39:51*neceve quit (Ping timeout: 258 seconds)
14:44:24Araqwrong view, try https://ci.appveyor.com/project/Araq/nim/builds/25192557/job/98rqyd7hu40pd3jf/tests
14:44:42Araqso nim-chronos failed
14:44:52Araqfor some network related stuff
14:46:11*Jesin joined #nim
14:47:27narimiran@kaushalmodi that one fails whenever some package fails.
14:48:15FromGitter<kaushalmodi> Got it.
14:48:23narimiranplease don't reset your PR
14:48:31FromGitter<kaushalmodi> Ok
14:48:34narimiranappveyor is already too busy, and this is basically green
14:50:31*laaron joined #nim
14:54:58*sacredfrog quit (Quit: ZNC 1.7.3 - https://znc.in)
14:56:07*sacredfrog joined #nim
14:56:24*sacredfrog quit (Remote host closed the connection)
14:58:02*theelous3_ joined #nim
14:58:29*sacredfrog joined #nim
15:06:43*PMunch joined #nim
15:06:45*Senketsu joined #nim
15:27:34*hoijui joined #nim
15:28:48*leorize joined #nim
15:29:08*Trustable quit (Remote host closed the connection)
15:32:13*Trustable joined #nim
15:37:01leorizethe hcr test is among the flaky ones on azure
15:38:40*floppydh quit (Quit: WeeChat 2.4)
15:38:56leorizeis there anyway to know the versions of windows and osx on appveyor and travis?
15:43:35leorizenarimiran: nimly is failing on azure, is it expected?
15:44:12narimiranleorize: packages should be green, since 6 hours ago
15:44:41leorizegreat, more azure probs
15:47:28*nsf joined #nim
15:53:18*sealmove quit (Quit: WeeChat 2.4)
16:01:25*PMunch quit (Remote host closed the connection)
16:05:49leorizenarimiran: have you tried nimsuggest on devel?
16:05:58leorizewith my plugin
16:06:10narimiranyeah, i'm using it all the time, don't i? :)
16:06:30leorizegetting an out of range error here :p
16:06:53narimiransince when?
16:06:58leorizesince just now
16:07:09leorizejust updated the compiler
16:08:24leorizenarimiran: you'd need to build nimsuggest yourself with nim c -d:release nimsuggest/nimsuggest.nim
16:08:35leorizethe default config in koch uses -d:danger
16:09:50leorizeah, looks like this is a known bug
16:10:00leorizegotta fix my build script to add -d:danger
16:11:00leorizenarimiran: can you give #11473 a ci restart?
16:12:54narimiranthe usual answer would be "appveyor is already too busy, and this is basically green", but this touches appveyor config, so: yes, i restarted it
16:16:25shashlick@dom96 - https://github.com/nim-lang/nimble/issues/665
16:19:20dom96nice
16:19:33dom96The error message should be far better for this.
16:19:37dom96Can you improve it as well?
16:20:04dom96i.e. catch the ini parse error and add "Cannot read output from `nim e`" or something
16:23:50leorizeshashlick: do you have windows running atm?
16:23:52shashlickwell, I bypassed stdout altogether in my change
16:23:56shashlickyes leorize
16:24:24shashlick@dom96 - the code fix basically uses the outfile to get pkg info now instead of using stdout
16:24:30shashlicksimilar to json
16:24:39shashlickif you could review, i'll create a PR and push
16:24:47leorizecan you try running the tests/float/tfloatrange.nim in Nim's source?
16:25:05leorizetestament/testament run tests/float/tfloatrange.nim should do
16:25:07dom96shashlick create a PR, PRs are for review purposes
16:27:10*deech_ joined #nim
16:30:04shashlickok cool
16:35:19leorizeshashlick: have you seen my msgs above? :p
16:35:56shashlickon a call, will check soon
16:37:07shashlick@dom96 - https://github.com/nim-lang/nimble/pull/667
16:38:43*natrys joined #nim
16:40:00*c3v0axz quit (Ping timeout: 248 seconds)
16:40:58*c3v0axz joined #nim
16:48:55shashlick@leorize - updated to latest devel, ran koch test cat float and it passed
16:49:02shashlickincluding tfloatrange.nim
16:49:44leorizealright, so either I configure azure wrong, or microsoft servers have voodoo magic that crashes every build
16:50:39shashlicki tested 32-bit though
16:50:42shashlickis this 64-bit
16:50:47leorizeyea
17:17:22leorizeI think azure is haunted or smt like that...
17:17:43leorizeeverytime I force push, osx will build correctly and passes hcr tests
17:18:22leorizeafter a few more commits, hcr tests will fail on osx, unconditionally
17:20:54narimiransomething gets cached?
17:20:56shashlicksorry leorize, i gotta run, will try 64-bit later in the evening
17:21:53leorizenarimiran: possibly
17:26:49Zevvwow, the arm mbed TLS library feels like heaven if your standards are set by OpenSSL
17:38:24*jjido joined #nim
18:00:12shashlickWe now have debug enabled on our main Nim repos on Travis so it will be possible to remote debug
18:00:27shashlickAlso Nim and nightlies will have 75 minutes timeout
18:29:14*deech_ quit (Remote host closed the connection)
18:29:42*deech_ joined #nim
18:36:11*al_ quit (Quit: al_)
18:49:04*i7sDream_ quit (Remote host closed the connection)
18:51:48*smitop joined #nim
18:53:12*hoijui quit (Quit: Leaving)
19:10:25*couven92 quit (Quit: Client disconnecting)
19:36:07*I_Right_I joined #nim
19:36:26*Vladar joined #nim
19:54:14*rockcavera quit (Remote host closed the connection)
19:56:27*nsf quit (Quit: WeeChat 2.4)
19:59:13*rockcavera joined #nim
20:04:58*narimiran_ joined #nim
20:05:47*narimiran quit (Ping timeout: 248 seconds)
20:13:48*lritter quit (Ping timeout: 258 seconds)
20:22:49*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:23:32leorizenarimiran_: yea it was cached
20:23:38narimiran_:)
20:23:51leorizegot some clean up param in and it's passing, except for tfloatrange
20:24:10leorizethat one's a mystery
20:24:25narimiran_remind me tomorrow to take a look at that one
20:24:25leorizeshashlick: have you tested w windows 64 bit yet?
20:26:48shashlickNope
20:26:51shashlickIn an hour
20:30:03*narimiran_ quit (Ping timeout: 245 seconds)
20:31:33*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
20:32:01*laaron joined #nim
20:34:16*Trustable quit (Remote host closed the connection)
20:36:25*Vladar quit (Remote host closed the connection)
20:36:38*natrys quit (Quit: natrys)
20:49:47*mbarkhau_ quit (Quit: Leaving)
20:52:21*lf-araujo joined #nim
21:19:55*PMunch joined #nim
21:59:33*krux02 quit (Remote host closed the connection)
22:04:29shashlick@leorize - does your csources makefile support detecting 32/64-bit?
22:08:41shashlick64-bit also passed @leorize
22:11:42shashlickdoesn't look like your makefile detects gcc like build.bat does
22:11:57shashlickhttps://github.com/nim-lang/csources/blob/master/build.bat#L9
22:12:37*lf-araujo quit (Remote host closed the connection)
22:21:21FromDiscord_<exelotl> Hey, does anyone know how I can fix this template? https://gist.github.com/exelotl/dc95f8a1c6062174809caf828cac42a2
22:22:16FromDiscord_<exelotl> it doesn't compile because it tries to substitute src in 2 places, and dst in 2 places
22:22:52FromDiscord_<exelotl> so it produces e.g. REG_DMA[ch].myPointer = cast[uint32](myPointer)
22:23:04FromDiscord_<exelotl> but what I really want is REG_DMA[ch].src = cast[uint32](myPointer)
22:23:21*lf-araujo joined #nim
22:23:23FromDiscord_<exelotl> so, leave the field name as-is
22:23:50FromDiscord_<exelotl> but I'd prefer not to change the names of the src and dst parameters
22:27:33FromDiscord_<exelotl> eh whatever I guess I'll just make it a proc
22:28:10FromDiscord_<exelotl> I'm trying to strictly adhere to a C API but I guess I should know when to cut my losses
22:32:59shashlickwhy don't you just use a different param name
22:34:52*PMunch quit (Remote host closed the connection)
22:37:53FromDiscord_<exelotl> cause I want to be able to do DMA_TRANSFER(dst = foo, src = bar, ...) while using names that are consistent with the rest of the codebase
22:39:50shashlickmust be some trick, never know
22:41:18FromDiscord_<exelotl> it's ok, I can just make it a proc
23:11:04*smitop quit (Quit: Connection closed for inactivity)
23:22:19*lf-araujo quit (Quit: lf-araujo)
23:22:23*lf-araujo joined #nim
23:28:33*Calinou quit (Ping timeout: 244 seconds)
23:30:54*Calinou joined #nim
23:31:04*I_Right_I quit (Remote host closed the connection)
23:35:19*stefanos82 quit (Quit: Quitting for now...)
23:38:26*dwdv quit (Ping timeout: 258 seconds)
23:47:44*deech_ quit (Ping timeout: 248 seconds)
23:59:27*lf-araujo quit (Remote host closed the connection)