<< 02-03-2019 >>

00:09:56*vlad1777d quit (Ping timeout: 255 seconds)
00:13:44*rnrwashere quit (Remote host closed the connection)
00:15:41*rnrwashere joined #nim
00:41:59*dddddd quit (Remote host closed the connection)
00:58:42*stefanos82 quit (Remote host closed the connection)
01:07:15*rauss quit (Quit: WeeChat 2.4)
01:20:35*rockcavera joined #nim
01:32:41*rnrwashere quit (Remote host closed the connection)
01:33:06*icebattle quit (Quit: leaving)
01:35:34*rnrwashere joined #nim
01:41:12*ng0 quit (Quit: Alexa, when is the end of world?)
01:52:37*rnrwashe_ joined #nim
01:56:12*rnrwashere quit (Ping timeout: 258 seconds)
02:07:17*ryukoposting quit (Quit: WeeChat 1.6)
02:42:30*rnrwashe_ quit (Remote host closed the connection)
02:51:50FromGitter<Varriount> ryukoposting: I forgot to mention: That request signing module expects the URL to be canonical (no redundant spaces or dots) and the query string to be valid
02:52:12FromGitter<Varriount> (the query string needs to be encoded)
03:02:36*banc quit (Quit: Bye)
03:08:47*chimez joined #nim
03:11:49*chimez quit (Client Quit)
03:23:22*banc joined #nim
03:25:38*rnrwashere joined #nim
03:52:34*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
03:56:30*rnrwashere quit (Remote host closed the connection)
03:57:55*rnrwashere joined #nim
04:00:03*chimez joined #nim
04:00:03*chimez quit (Client Quit)
04:05:19*noonien quit (Quit: Connection closed for inactivity)
04:05:58*rnrwashere quit (Remote host closed the connection)
04:06:51*rnrwashere joined #nim
04:22:19*nsf joined #nim
04:35:48FromGitter<gogolxdong> One thought comes to my mind suddenly, is Karax friendly for SEO, as far as I know, static website is more friendly than dynamic website. Is the website generated with Karax dynamic?
04:43:21FromGitter<slomp> In a `nim.cfg` file, is it possible to append something to an environment variable (like appending a new location to `PATH`)? I'm aware of `@putenv`, but there does not seem to be a `getenv`, and simply using `@putenv "PATH" "<a-new-path>;$PATH"` does not seem to extend the `PATH`.
04:50:25leorizeenv vars can only be accessed in nim.cfg as variable %= "$ENVVAR"
04:50:42leorizeuse nimscript as configuration instead
04:50:56leorizeit supports what you'd want to do
04:53:58FromGitter<slomp> Ah, I see. Thanks!
05:58:23*flaviu quit (Remote host closed the connection)
06:06:22*solitudesf quit (Quit: ZNC - https://znc.in)
06:07:17*solitudesf joined #nim
06:08:01*solitudesf quit (Client Quit)
06:08:22*solitudesf joined #nim
06:32:46avanderneut@federico3 / @dom96 the nim.dev domain was retracted from being available before the actual bids on .dev domains could start, the same happened to python.dev. A few weeks ago you could still apply for them (at a price nim.dev: 108.50€/y , python.dev was normally priced at 16€/y ). I was notified Thursday at 13:14 MET and the .dev sales did not start until 17:00 MET. I asked my registrar for extra details
06:34:43avanderneutIs there a policy on naming of procs in the documentation having the same case as the source code? I found loadHTML() in an example, which of course works, but doesn't match the loadHtml in the source code.
06:40:16leorizethey should be the same imo
06:50:08avanderneutleorize: I think so too, I justed wanted to check before submitting a spurious PR, but I think I will anyway, and if it is rejected "get the message"
07:08:19FromGitter<Varriount> Araq: Any reason why both this module and strutils have procedures for string distance calculation? https://nim-lang.github.io/Nim/editdistance.html
07:08:37leorizeeditdistance is for unicode iirc
07:28:48*rnrwashere quit (Remote host closed the connection)
07:38:29*kapil____ joined #nim
07:44:39*Trustable joined #nim
08:00:00*gmpreussner quit (Quit: kthxbye)
08:04:40*gmpreussner joined #nim
08:13:46*Vladar joined #nim
08:46:13*chimez joined #nim
08:49:19*endes[m] left #nim ("User left")
09:04:19*MyMind joined #nim
09:04:32*Sembei quit (Ping timeout: 255 seconds)
09:31:12*dddddd joined #nim
10:06:20FromGitter<gogolxdong> .nimble/pkgs/jester-0.4.1/jester.nim(473, 8) Error: type mismatch: got <proc (req: Request): Future[system.void]{.closure, locks: <unknown>.}, Settings> for useHttpBeast* = not defined(windows) and not defined(useStdLib)
10:06:42*kungtotte quit (Ping timeout: 250 seconds)
10:13:35FromGitter<gogolxdong> which used to work, is it a regression.
10:40:54*stefanos82 joined #nim
10:53:57*Trustable quit (Remote host closed the connection)
10:54:09FromGitter<waghanza> hi
10:54:39FromGitter<waghanza> I try to use `nimpretty` to format source files here => https://github.com/the-benchmarker/web-frameworks/pull/1011 ⏎ but I do not know how to install / use it
10:55:38leorizewhat os are you running?
10:56:49FromGitter<waghanza> linux
10:58:06leorizewhat distribution, exactly?
10:58:12FromGitter<waghanza> fedora
10:58:43leorizethen you'll need https://github.com/dom96/choosenim
10:58:57leorizeit'll automatically install nimpretty for you
11:00:27FromGitter<waghanza> ok, thx
11:00:30FromGitter<waghanza> I'll try
11:00:36*dddddd quit (Remote host closed the connection)
11:04:58FromGitter<waghanza> `choosenim` only install ⏎ ⏎ 1) choosenim ⏎ 2) nim ⏎ 3) nimble ... [https://gitter.im/nim-lang/Nim?at=5c7a63590966d912040d9738]
11:07:00leorizeweird, according to the readme it also install nimpretty
11:20:00FromDiscord<Zireael> @treeform is your rendering thing available anywhere?
11:51:24*Trustable joined #nim
12:27:40*lritter joined #nim
12:53:22*chimez quit (Quit: chimez)
12:55:06*Snircle joined #nim
13:03:02*EastByte quit (Quit: WeeChat 2.3)
13:06:23*EastByte joined #nim
13:19:41*theelous3_ joined #nim
13:37:03*gmpreussner_ joined #nim
13:37:27*gmpreussner quit (Ping timeout: 240 seconds)
13:47:26*nsf quit (Quit: WeeChat 2.4)
13:57:34FromGitter<SolitudeSF> im pretty sure choosenim builds nimpretty anyway, you could probably find it near `readlink -f $(which nim)`
14:07:02FromGitter<waghanza> `/usr/bin/nim` : `Nim Compiler Version 0.18.0 [Linux: amd64]`
14:07:34FromGitter<waghanza> I have also `Nim Compiler Version 0.19.4 [Linux: amd64]` using `choosenim`
14:07:45FromGitter<waghanza> in **$HOME/.nimble/bin'
14:16:19dom96AFAIK latest release doesn't yet
14:16:28dom96sorry :)
14:17:27dom96avanderneut: huh, thank you for these details. Do you know why they were retracted? :(
14:22:18leorizewaghanza: clone choosenim git then do nimble build there :P
14:22:23leorizeyou should get the latest version
14:23:32dom96easier to just build nimpretty
14:25:33*dddddd joined #nim
14:29:01*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
14:35:54federico3 TIL: https://gettogether.community/
14:38:07federico3this could be used to organize some Nim events
14:51:07avanderneut@dom96 I have no clue, I have asked my registrar, but I have not heard back yet. There were some problems with trying to schedule-for-grab some .dev domains and when I asked my registrar changed something and I could schedule them (these were more expensive). In the end I got both domains that were originally problematic and that were not and a problematic one was cancelled (nim.dev) and one that was not problematic originally was cancell
14:51:48avanderneutI suspect someone at google reviewed the .dev domain list and stripped some names.
15:22:30*arecacea1 quit (Read error: Connection reset by peer)
15:22:48*arecacea1 joined #nim
15:27:51*a_chou joined #nim
15:28:34*a_chou quit (Client Quit)
16:02:55*Trustable quit (Remote host closed the connection)
16:08:25*sealmove joined #nim
16:10:03sealmoveguys, how do I push a new file?
16:14:58sealmovenvm
16:40:50*shashlick joined #nim
16:44:39*rnrwashere joined #nim
17:00:58*sealmove quit (Quit: WeeChat 2.4)
17:05:46*rnrwashere quit (Remote host closed the connection)
17:09:00*rnrwashere joined #nim
17:14:59*noonien joined #nim
17:15:32*rnrwashere quit (Remote host closed the connection)
17:21:49*rnrwashere joined #nim
17:34:17*ng0 joined #nim
17:43:24FromGitter<brentp> is nim-lang/zip/zipfiles package limited to 32 bits? It doesn't seem to be from quick look but I am having trouble with larger files.
18:00:11FromGitter<brentp> hmm. zip -T says the archive is damaged.
18:02:20FromGitter<brentp> https://github.com/nim-lang/zip/issues/36
18:07:28shashlickI need to get back to working on nimterop and get nimarchive functional
18:13:56*marcazar joined #nim
18:15:16*marcazar quit (Client Quit)
18:25:01*vlad1777d joined #nim
18:26:41*nsf joined #nim
18:32:24FromGitter<brentp> ah. didn't know about nimarchive
18:33:32FromGitter<brentp> I have this half-baked one: https://github.com/brentp/nim-minizip but it somehow has segfaults on reading that seem to be deep in miniz
18:41:42*stefanos82 quit (Remote host closed the connection)
18:43:33*rnrwashere quit (Ping timeout: 252 seconds)
18:55:40shashlickThere's also nim7z if that helps
18:56:54*rnrwashere joined #nim
19:01:16FromGitter<brentp> does 7z support multiple files and extracting a single file from it?
19:01:59Araqno because 7z compresses across file boundaries (as it should)
19:03:44FromGitter<brentp> ok. I am using zip for random access to a file (which is then read into memory)
19:04:53leorizezip should never be used for random access...
19:06:18FromGitter<brentp> ? random access to a particular file in the zip file?
19:08:04leorizelooks like I'm wrong, the zip format is better than tar :P
19:09:45FromGitter<brentp> ok. good. my experience and previous understanding hold up.
19:10:56shashlickAraq, narimiran - any idea why this is failing in nightlies - https://pastebin.com/e2YEfsNH
19:11:20shashlickhttps://travis-ci.org/nim-lang/nightlies/builds/500677963
19:12:18shashlickfails for this commit - 5d67208e340e9db892539c342f462190871f6f69
19:13:18Araqshashlick: is Nim devel green?
19:13:27Araqonly nightlies are failing?
19:19:42*nsf quit (Quit: WeeChat 2.4)
19:26:47*sz0 joined #nim
19:32:52shashlickfrom what I see
19:37:59shashlickit is a runnableExamples failure
19:38:08shashlickwhich probably isn't tested in devel
19:46:18*sealmove joined #nim
19:46:25sealmovehi
19:46:57sealmoveI made a pull request but both travis and appveyor failed. What's the next step?
19:50:50*rnrwashere quit (Remote host closed the connection)
19:51:26shashlickbasically, megatest output is different so you want to test that locally on your machine and see how your change broke it
19:52:02sealmovethanks
19:52:16shashlickuse testament to run cat megatest
19:52:54*rnrwashere joined #nim
19:53:26sealmove`./koch tests` ?
19:54:36*noeontheend joined #nim
19:58:56sealmoveis this: https://nim-lang.org/docs/contributing.html up to date? or there is a new way to use tests/
20:08:23*Trustable joined #nim
20:09:00*vegax87 quit (Changing host)
20:09:01*vegax87 joined #nim
20:09:01*vegax87 quit (Changing host)
20:09:01*vegax87 joined #nim
20:12:05*rnrwashere quit (Remote host closed the connection)
20:14:22*ryukoposting joined #nim
20:14:35shashlickYa should work
20:14:44shashlickCategory is megatest
20:15:30ryukopostinghey, quick nimble question- does the description field in <package>.nimble support RST/markdown/etc? I'd like to be able to just fill the description thing with readFile("README.md")
20:18:11*rnrwashere joined #nim
20:19:19leorizeI think the description there should only be a short description
20:21:14ryukopostingi mean, there's a big open space there and without functional documentation hosting (from what I can tell), it'd certainly be very helpful
20:23:24*rnrwashere quit (Remote host closed the connection)
20:27:41dom96that's intended for CLI searches, so yeah it should be short
20:27:53dom96your package repo should contain a long readme.md
20:28:24ryukopostingaaaah okay, that makes more sense
20:30:22ryukopostingis there any plans to expand the amount of info that nimble.directory can show? It's probably because I use GitLab but right now it doesn't show my release tags
20:32:21ryukopostingI can see why full-on documentation hosting wouldn't be on the table, though. That's a pretty sizable amount of data to host, and I personally like hosting my own docs because I can tweak them to my liking/drive traffic to my site
20:34:42ryukoposting(on an unrelated note: prebuilt compiler + nimble binaries made specifically for docker would speed up my remote tests by a factor of 2-10 depending on the project)
20:37:21shashlickdom96 any plans of accepting the choosenim PR for the init script and posting a new release?
20:45:39FromGitter<zacharycarter> Im out of the hospital and will be active again starting mid next week, for anyone who was wondering
20:46:02shashlickwhat happened?
20:46:50FromGitter<zacharycarter> Mental health issues, was diagnosed as bipolar type 2
20:47:04FromGitter<zacharycarter> On lithium carbonate now
20:48:25FromGitter<zacharycarter> Co-occuring substance abuse disorder, Im relocating to Jacksonville FL for sober living for six months to a year
20:49:34FromGitter<zacharycarter> 2nd stint in rehab, praying its my last
20:50:31FromGitter<zacharycarter> 1st was same time of year in 2016
20:51:59FromGitter<sotrhRaven> @zacharycarter Wishing you good luck. I have Bipolar typ
20:52:17*Vladar quit (Remote host closed the connection)
20:53:06dom96zacharycarter: Wishing you luck too, keep us updated.
20:53:13FromGitter<zacharycarter> @sotrhRaven thanks! Im doing much better, and glad meds are finally really helping
20:53:34dom96shashlick: Not right now. I'm far too busy with other things, sorry
20:53:37shashlicksorry buddy, wishing you the best - was wondering where you were, thought you were busy with another language
20:53:44FromGitter<zacharycarter> Thanks dom96! I will
20:54:03ryukopostingzacharycarter best of luck my man
20:54:43FromGitter<zacharycarter> Shashlick, no worries bud, im doing better than I have been in a long time!
20:54:56shashlickdom96: would you be okay if I took over choosenim dev? lots of ideas but cannot do much this way
20:55:12FromGitter<sotrhRaven> Lithium is a good med just stay consistent. Been taking it since I was 14.
20:56:38FromGitter<zacharycarter> Ryukoposting thanks man! I appreciate it!
20:57:04FromGitter<sotrhRaven> What is the advantage of using Nim in Godot? I asked in Godot irc but not much of an answer.
20:57:18FromGitter<zacharycarter> @sotrhRaven yeah its helping me tremendously
20:57:26dom96shashlick: If you want to create a release I'll happily post it. Just need the binaries.
21:01:11Calinouif you need better performance, using godot-nim makes sense
21:01:21Calinoubut it's much more steep of a learning curve compared to just using GDScript :)
21:01:34Calinou(which now has optional static typing in 3.1 beta, by the way)
21:02:47Calinouit's likely most of your game logic can run fast enough with GDScript; if some bits turn out to be too slow and you can't optimize the algorithm, then you can use Nim
21:02:57*rnrwashere joined #nim
21:07:07*lritter quit (Ping timeout: 240 seconds)
21:08:40FromGitter<sotrhRaven> Cool, thanks
21:09:00FromGitter<alehander42> @zacharycarter best of luck! Finally having some peace is a great feeling I hope this works out greatly
21:15:30*noeontheend quit (Ping timeout: 264 seconds)
21:16:12*noeontheend joined #nim
21:38:40*rnrwashere quit (Read error: Network is unreachable)
21:39:15*rnrwashere joined #nim
21:44:02*sealmove quit (Quit: WeeChat 2.4)
21:52:26shashlickdom96: okay I was planning on setting up auto building for choosenim in the CI - I will look into dockcross - let me know which binaries are of interest - https://github.com/dockcross/dockcross#cross-compilers
21:52:49FromGitter<zetashift> @zacharycarter I was wondering what happened, really glad to hear everything is aight!
21:54:01shashlickdom96: one other thing on my list is to download and install the nightlies binaries
22:12:59ryukopostingis choosenim just swapping out binaries in ~/.nimble/bin? or is it doing something else?
22:14:38shashlickyep, of course it also downloads, builds and installs nim
22:15:47ryukopostingaight cool, just double checking that there isn't something cheeky going on
22:17:10*Trustable quit (Remote host closed the connection)
22:20:16*rockcavera quit (Remote host closed the connection)
22:31:23*theelous3_ quit (Ping timeout: 255 seconds)
22:31:38*oculux quit (Quit: blah)
22:33:21*oculux joined #nim
22:38:17FromGitter<brentp> I'm guessing not, but si there a way, when wrapping a C struct, it can just be "opaque" so and let the compiler figure out the size of the struct rather than having to enumerate (and type) all of the struct members?
22:44:51FromGitter<brentp> for example in python cffi (and I think luajit). you can put "..." at the end of the struct definition as an indication that the decl is intentionally incomplete and you can only use the declared members.
22:54:20shashlickI believe so
22:54:21shashlicka sec
22:55:42*noeontheend quit (Ping timeout: 264 seconds)
22:56:01shashlickwondering if it is the pure pragma
22:57:07shashlickor maybe incompleteStruct
22:59:55FromGitter<brentp> sweet. let me try it.
23:05:50*noeontheend joined #nim
23:09:51shashlicknarimiran: your runnableExample is breaking on nightlies
23:10:11shashlickweirdly, hash("abracadabra") returns different values on my windows and linux 64 machine
23:10:34shashlicklinux value matches what you have but windows returns 1766020087
23:10:49shashlickhere's the commit - https://github.com/nim-lang/Nim/pull/10752/files#diff-466aee2707291e60fe359bda6b675b86R146
23:15:44shashlickcreated: https://github.com/nim-lang/Nim/issues/10771
23:20:00*disruptek_ is now known as disruptek
23:26:34FromGitter<brentp> I can't get my code to work with incompleteStruct.
23:30:49shashlickcan you post a gist to look at?
23:33:22FromGitter<brentp> here's a diff where I truncated a previously full struct def: https://github.com/brentp/nim-minizip/pull/1/files
23:33:31FromGitter<brentp> the change is in the "incomplete" branch"
23:39:08*ng0 quit (Remote host closed the connection)
23:44:55FromGitter<brentp> `nim c -r tests/minizip_test.nim ` failes
23:45:05FromGitter<brentp> fails
23:48:50*rnrwashere quit (Remote host closed the connection)
23:49:50*rnrwashere joined #nim