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:50 | FromGitter | <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:12 | FromGitter | <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:48 | FromGitter | <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:21 | FromGitter | <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:25 | leorize | env vars can only be accessed in nim.cfg as variable %= "$ENVVAR" |
04:50:42 | leorize | use nimscript as configuration instead |
04:50:56 | leorize | it supports what you'd want to do |
04:53:58 | FromGitter | <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:46 | avanderneut | @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:43 | avanderneut | Is 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:16 | leorize | they should be the same imo |
06:50:08 | avanderneut | leorize: 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:19 | FromGitter | <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:37 | leorize | editdistance 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:20 | FromGitter | <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:35 | FromGitter | <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:09 | FromGitter | <waghanza> hi |
10:54:39 | FromGitter | <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:38 | leorize | what os are you running? |
10:56:49 | FromGitter | <waghanza> linux |
10:58:06 | leorize | what distribution, exactly? |
10:58:12 | FromGitter | <waghanza> fedora |
10:58:43 | leorize | then you'll need https://github.com/dom96/choosenim |
10:58:57 | leorize | it'll automatically install nimpretty for you |
11:00:27 | FromGitter | <waghanza> ok, thx |
11:00:30 | FromGitter | <waghanza> I'll try |
11:00:36 | * | dddddd quit (Remote host closed the connection) |
11:04:58 | FromGitter | <waghanza> `choosenim` only install ⏎ ⏎ 1) choosenim ⏎ 2) nim ⏎ 3) nimble ... [https://gitter.im/nim-lang/Nim?at=5c7a63590966d912040d9738] |
11:07:00 | leorize | weird, according to the readme it also install nimpretty |
11:20:00 | FromDiscord | <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:34 | FromGitter | <SolitudeSF> im pretty sure choosenim builds nimpretty anyway, you could probably find it near `readlink -f $(which nim)` |
14:07:02 | FromGitter | <waghanza> `/usr/bin/nim` : `Nim Compiler Version 0.18.0 [Linux: amd64]` |
14:07:34 | FromGitter | <waghanza> I have also `Nim Compiler Version 0.19.4 [Linux: amd64]` using `choosenim` |
14:07:45 | FromGitter | <waghanza> in **$HOME/.nimble/bin' |
14:16:19 | dom96 | AFAIK latest release doesn't yet |
14:16:28 | dom96 | sorry :) |
14:17:27 | dom96 | avanderneut: huh, thank you for these details. Do you know why they were retracted? :( |
14:22:18 | leorize | waghanza: clone choosenim git then do nimble build there :P |
14:22:23 | leorize | you should get the latest version |
14:23:32 | dom96 | easier to just build nimpretty |
14:25:33 | * | dddddd joined #nim |
14:29:01 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
14:35:54 | federico3 | TIL: https://gettogether.community/ |
14:38:07 | federico3 | this could be used to organize some Nim events |
14:51:07 | avanderneut | @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:48 | avanderneut | I 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:03 | sealmove | guys, how do I push a new file? |
16:14:58 | sealmove | nvm |
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:24 | FromGitter | <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:11 | FromGitter | <brentp> hmm. zip -T says the archive is damaged. |
18:02:20 | FromGitter | <brentp> https://github.com/nim-lang/zip/issues/36 |
18:07:28 | shashlick | I 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:24 | FromGitter | <brentp> ah. didn't know about nimarchive |
18:33:32 | FromGitter | <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:40 | shashlick | There's also nim7z if that helps |
18:56:54 | * | rnrwashere joined #nim |
19:01:16 | FromGitter | <brentp> does 7z support multiple files and extracting a single file from it? |
19:01:59 | Araq | no because 7z compresses across file boundaries (as it should) |
19:03:44 | FromGitter | <brentp> ok. I am using zip for random access to a file (which is then read into memory) |
19:04:53 | leorize | zip should never be used for random access... |
19:06:18 | FromGitter | <brentp> ? random access to a particular file in the zip file? |
19:08:04 | leorize | looks like I'm wrong, the zip format is better than tar :P |
19:09:45 | FromGitter | <brentp> ok. good. my experience and previous understanding hold up. |
19:10:56 | shashlick | Araq, narimiran - any idea why this is failing in nightlies - https://pastebin.com/e2YEfsNH |
19:11:20 | shashlick | https://travis-ci.org/nim-lang/nightlies/builds/500677963 |
19:12:18 | shashlick | fails for this commit - 5d67208e340e9db892539c342f462190871f6f69 |
19:13:18 | Araq | shashlick: is Nim devel green? |
19:13:27 | Araq | only nightlies are failing? |
19:19:42 | * | nsf quit (Quit: WeeChat 2.4) |
19:26:47 | * | sz0 joined #nim |
19:32:52 | shashlick | from what I see |
19:37:59 | shashlick | it is a runnableExamples failure |
19:38:08 | shashlick | which probably isn't tested in devel |
19:46:18 | * | sealmove joined #nim |
19:46:25 | sealmove | hi |
19:46:57 | sealmove | I 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:26 | shashlick | basically, megatest output is different so you want to test that locally on your machine and see how your change broke it |
19:52:02 | sealmove | thanks |
19:52:16 | shashlick | use testament to run cat megatest |
19:52:54 | * | rnrwashere joined #nim |
19:53:26 | sealmove | `./koch tests` ? |
19:54:36 | * | noeontheend joined #nim |
19:58:56 | sealmove | is 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:35 | shashlick | Ya should work |
20:14:44 | shashlick | Category is megatest |
20:15:30 | ryukoposting | hey, 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:19 | leorize | I think the description there should only be a short description |
20:21:14 | ryukoposting | i 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:41 | dom96 | that's intended for CLI searches, so yeah it should be short |
20:27:53 | dom96 | your package repo should contain a long readme.md |
20:28:24 | ryukoposting | aaaah okay, that makes more sense |
20:30:22 | ryukoposting | is 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:21 | ryukoposting | I 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:42 | ryukoposting | (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:21 | shashlick | dom96 any plans of accepting the choosenim PR for the init script and posting a new release? |
20:45:39 | FromGitter | <zacharycarter> Im out of the hospital and will be active again starting mid next week, for anyone who was wondering |
20:46:02 | shashlick | what happened? |
20:46:50 | FromGitter | <zacharycarter> Mental health issues, was diagnosed as bipolar type 2 |
20:47:04 | FromGitter | <zacharycarter> On lithium carbonate now |
20:48:25 | FromGitter | <zacharycarter> Co-occuring substance abuse disorder, Im relocating to Jacksonville FL for sober living for six months to a year |
20:49:34 | FromGitter | <zacharycarter> 2nd stint in rehab, praying its my last |
20:50:31 | FromGitter | <zacharycarter> 1st was same time of year in 2016 |
20:51:59 | FromGitter | <sotrhRaven> @zacharycarter Wishing you good luck. I have Bipolar typ |
20:52:17 | * | Vladar quit (Remote host closed the connection) |
20:53:06 | dom96 | zacharycarter: Wishing you luck too, keep us updated. |
20:53:13 | FromGitter | <zacharycarter> @sotrhRaven thanks! Im doing much better, and glad meds are finally really helping |
20:53:34 | dom96 | shashlick: Not right now. I'm far too busy with other things, sorry |
20:53:37 | shashlick | sorry buddy, wishing you the best - was wondering where you were, thought you were busy with another language |
20:53:44 | FromGitter | <zacharycarter> Thanks dom96! I will |
20:54:03 | ryukoposting | zacharycarter best of luck my man |
20:54:43 | FromGitter | <zacharycarter> Shashlick, no worries bud, im doing better than I have been in a long time! |
20:54:56 | shashlick | dom96: would you be okay if I took over choosenim dev? lots of ideas but cannot do much this way |
20:55:12 | FromGitter | <sotrhRaven> Lithium is a good med just stay consistent. Been taking it since I was 14. |
20:56:38 | FromGitter | <zacharycarter> Ryukoposting thanks man! I appreciate it! |
20:57:04 | FromGitter | <sotrhRaven> What is the advantage of using Nim in Godot? I asked in Godot irc but not much of an answer. |
20:57:18 | FromGitter | <zacharycarter> @sotrhRaven yeah its helping me tremendously |
20:57:26 | dom96 | shashlick: If you want to create a release I'll happily post it. Just need the binaries. |
21:01:11 | Calinou | if you need better performance, using godot-nim makes sense |
21:01:21 | Calinou | but it's much more steep of a learning curve compared to just using GDScript :) |
21:01:34 | Calinou | (which now has optional static typing in 3.1 beta, by the way) |
21:02:47 | Calinou | it'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:40 | FromGitter | <sotrhRaven> Cool, thanks |
21:09:00 | FromGitter | <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:26 | shashlick | dom96: 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:49 | FromGitter | <zetashift> @zacharycarter I was wondering what happened, really glad to hear everything is aight! |
21:54:01 | shashlick | dom96: one other thing on my list is to download and install the nightlies binaries |
22:12:59 | ryukoposting | is choosenim just swapping out binaries in ~/.nimble/bin? or is it doing something else? |
22:14:38 | shashlick | yep, of course it also downloads, builds and installs nim |
22:15:47 | ryukoposting | aight 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:17 | FromGitter | <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:51 | FromGitter | <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:20 | shashlick | I believe so |
22:54:21 | shashlick | a sec |
22:55:42 | * | noeontheend quit (Ping timeout: 264 seconds) |
22:56:01 | shashlick | wondering if it is the pure pragma |
22:57:07 | shashlick | or maybe incompleteStruct |
22:59:55 | FromGitter | <brentp> sweet. let me try it. |
23:05:50 | * | noeontheend joined #nim |
23:09:51 | shashlick | narimiran: your runnableExample is breaking on nightlies |
23:10:11 | shashlick | weirdly, hash("abracadabra") returns different values on my windows and linux 64 machine |
23:10:34 | shashlick | linux value matches what you have but windows returns 1766020087 |
23:10:49 | shashlick | here's the commit - https://github.com/nim-lang/Nim/pull/10752/files#diff-466aee2707291e60fe359bda6b675b86R146 |
23:15:44 | shashlick | created: https://github.com/nim-lang/Nim/issues/10771 |
23:20:00 | * | disruptek_ is now known as disruptek |
23:26:34 | FromGitter | <brentp> I can't get my code to work with incompleteStruct. |
23:30:49 | shashlick | can you post a gist to look at? |
23:33:22 | FromGitter | <brentp> here's a diff where I truncated a previously full struct def: https://github.com/brentp/nim-minizip/pull/1/files |
23:33:31 | FromGitter | <brentp> the change is in the "incomplete" branch" |
23:39:08 | * | ng0 quit (Remote host closed the connection) |
23:44:55 | FromGitter | <brentp> `nim c -r tests/minizip_test.nim ` failes |
23:45:05 | FromGitter | <brentp> fails |
23:48:50 | * | rnrwashere quit (Remote host closed the connection) |
23:49:50 | * | rnrwashere joined #nim |