| 00:00:32 | * | clyybber quit (Quit: good night) |
| 00:10:53 | PMunch | Hmm, it's a bit annoying that types with cases can't have the same name in two different cases |
| 00:11:39 | FromGitter | <Quelklef> wym? |
| 00:12:00 | PMunch | Types like this: https://github.com/nim-lang/Nim/blob/master/lib/pure/json.nim#L606 |
| 00:12:34 | dom96 | There is an issue for this somewhere |
| 00:15:06 | PMunch | Any chance of it getting resolved? |
| 00:23:01 | FromGitter | <matrixbot> `ratherAnonymous` GNU/Linux |
| 00:23:11 | FromGitter | <matrixbot> `ratherAnonymous` or GNU |
| 00:23:37 | FromGitter | <matrixbot> `ratherAnonymous` I read something about "Linux" |
| 00:23:44 | PMunch | Huh? |
| 00:24:19 | FromGitter | <matrixbot> `ratherAnonymous` not important |
| 00:24:25 | FromGitter | <matrixbot> `ratherAnonymous` I read something old |
| 00:36:25 | * | Trustable joined #nim |
| 00:38:36 | * | crem quit (Ping timeout: 265 seconds) |
| 00:39:14 | PMunch | Hmm, dom96 is it possible to get line information of what called a proc? |
| 00:39:26 | PMunch | I want to include it in my error logging statements |
| 00:40:38 | * | crem joined #nim |
| 00:41:40 | dom96 | yeah, there is something but I can't remember the name |
| 00:41:48 | dom96 | track this down https://github.com/nim-lang/Nim/blob/devel/lib/system.nim#L463 |
| 00:45:27 | PMunch | Hmm, since all of these procs only return an anonymous procedure I can just make them macros instead |
| 00:47:18 | FromGitter | <matrixbot> `ratherAnonymous` Homework usually doesn't make fun, but it's fun if you are implementing it in Nim indted of C. |
| 00:47:22 | PMunch | Thanks to quote do it should be an easy task |
| 00:47:22 | FromGitter | <matrixbot> `ratherAnonymous` :3 |
| 00:47:43 | PMunch | Yeah I've implemented assignments in Nim as well, it's great :) |
| 00:49:49 | PMunch | Oh wait.. |
| 00:49:56 | PMunch | That didn't play well with generics.. |
| 00:59:47 | PMunch | Hmm, I tried to make a macro that used lineInfo(callsite()) but that just (obviously) got me the position in the proc I was calling.. |
| 01:00:38 | * | arthurz joined #nim |
| 01:01:07 | FromGitter | <matrixbot> `ratherAnonymous` would someone maybe be so nice and tell me how I can build a nimble package with koch? |
| 01:02:51 | FromGitter | <matrixbot> `ratherAnonymous` I can't find am instruction in the docs |
| 01:02:57 | FromGitter | <matrixbot> `ratherAnonymous` Q . Q |
| 01:04:57 | FromGitter | <Quelklef> doesnt nimble have nothing to do with koch |
| 01:05:02 | PMunch | Why would you want to build a nimble package with koch? |
| 01:05:04 | FromGitter | <Quelklef> making nimble packages is pretty easy tho i thought |
| 01:05:13 | FromGitter | <matrixbot> `ratherAnonymous` hm... |
| 01:05:17 | PMunch | Yeah it's pretty easy |
| 01:05:19 | PMunch | nimble init |
| 01:05:22 | PMunch | Add your stuff |
| 01:05:23 | FromGitter | <matrixbot> `ratherAnonymous` I want to get nimsuhgest working |
| 01:05:30 | PMunch | nimble install nimsuggest |
| 01:05:33 | PMunch | Probably |
| 01:05:45 | PMunch | Or wait, nimsuggest is one of "koch tools" isn't it? |
| 01:06:01 | FromGitter | <matrixbot> `ratherAnonymous` si |
| 01:06:14 | FromGitter | <matrixbot> `ratherAnonymous` mi amigo |
| 01:06:17 | FromGitter | <matrixbot> `ratherAnonymous` habañero el maximo |
| 01:06:41 | FromGitter | <matrixbot> `ratherAnonymous` I'm not spanish. just saying |
| 01:09:33 | FromGitter | <Quelklef> but then why |
| 01:09:35 | FromGitter | <Quelklef> oml |
| 01:10:38 | FromGitter | <matrixbot> `ratherAnonymous` I only have a fresh nim install right from the Arch Linux repository. fresh from the oven |
| 01:11:43 | FromGitter | <Quelklef> isntall nimble too |
| 01:11:46 | FromGitter | <Quelklef> then nimble init |
| 01:11:52 | FromGitter | <Quelklef> or really you dont even need to |
| 01:11:56 | FromGitter | <matrixbot> `ratherAnonymous` do I need Bitbucket? |
| 01:12:12 | FromGitter | <Quelklef> just make your package structure correct and then pull & pr on nim-lang/packages |
| 01:12:16 | FromGitter | <Quelklef> you dont need anything strictly |
| 01:12:56 | FromGitter | <matrixbot> `ratherAnonymous` jesus christ my laptop is slow |
| 01:13:09 | FromGitter | <matrixbot> `ratherAnonymous` ok, thabks for the input |
| 01:13:22 | FromGitter | <matrixbot> `ratherAnonymous` here is some love: <3 |
| 01:13:54 | FromGitter | <Quelklef> 💴 |
| 01:18:39 | dom96 | PMunch: getStackTraceEntries |
| 01:18:45 | dom96 | https://github.com/nim-lang/Nim/pull/6809/files#diff-5f0a55beaee81ddf8ad2bb6bc84642a1R282 |
| 01:20:52 | PMunch | Only available for debug builds, but it'll have to do.. |
| 01:21:00 | dom96 | well.. yeah |
| 01:21:41 | PMunch | Well, that's useful.. http://ix.io/ENa |
| 01:23:18 | dom96 | lol |
| 01:32:57 | PMunch | Well the most basic matchers are able to be turned into macros |
| 01:33:20 | PMunch | Then I get lineInfo and callsite which allows me to get precise positions of the call to the macro |
| 01:38:40 | * | crem quit (Ping timeout: 240 seconds) |
| 01:41:04 | * | crem joined #nim |
| 01:47:46 | * | crem quit (Ping timeout: 256 seconds) |
| 01:52:25 | * | crem joined #nim |
| 02:02:53 | FromGitter | <matrixbot> `ratherAnonymous` posted an image: ((http://matrix.org/_matrix/media/v1/download/matrix.org/hGylKhMxatOuXLjMUiPzHKne)) |
| 02:03:09 | FromGitter | <matrixbot> `ratherAnonymous` ehhh... wot? |
| 02:18:16 | * | chemist69 quit (Ping timeout: 252 seconds) |
| 02:18:42 | * | PMunch quit (Quit: leaving) |
| 02:21:31 | * | couven92 quit (Quit: Client Disconnecting) |
| 02:30:39 | * | chemist69 joined #nim |
| 02:38:36 | * | Trustable_2 joined #nim |
| 02:38:46 | * | Trustable quit (Ping timeout: 256 seconds) |
| 02:56:57 | * | radagast joined #nim |
| 03:04:50 | * | crem quit (Ping timeout: 252 seconds) |
| 03:06:31 | * | crem joined #nim |
| 03:19:58 | * | vivus quit (Quit: Leaving) |
| 03:40:40 | * | crem quit (Ping timeout: 240 seconds) |
| 03:42:29 | * | Trustable_2 quit (Remote host closed the connection) |
| 03:45:53 | * | crem joined #nim |
| 03:50:43 | * | marenz__ joined #nim |
| 03:52:26 | * | crem quit (Ping timeout: 256 seconds) |
| 03:54:10 | * | marenz_ quit (Ping timeout: 240 seconds) |
| 03:56:08 | * | crem joined #nim |
| 03:57:05 | radagast | looks like parseInt cannot parse from taintedString? let x = parseInt($paramStr(1)) |
| 03:57:49 | FromGitter | <Quelklef> what's it doing instead? |
| 04:02:54 | radagast | Error: type mismatch: got (string) but expected proc parseInt(s: string; number: var int; start = 0): int However https://nim-lang.org/docs/strutils.html#parseInt,string says I can just parse from a string? |
| 04:03:35 | radagast | oh wait nvm |
| 04:03:42 | FromGitter | <Quelklef> 👍 |
| 04:04:11 | radagast | I was importing parseUtils instead of strutils :D |
| 04:04:32 | FromGitter | <Quelklef> smh. Glad you figured it out. |
| 04:12:27 | * | marenz__ quit (Ping timeout: 240 seconds) |
| 04:18:57 | * | crem quit (Ping timeout: 264 seconds) |
| 04:20:42 | * | crem joined #nim |
| 05:02:38 | * | yglukhov joined #nim |
| 05:06:40 | * | yglukhov quit (Ping timeout: 240 seconds) |
| 05:33:03 | * | j_rod_s_ joined #nim |
| 05:35:09 | * | j_rod_s quit (Ping timeout: 264 seconds) |
| 05:35:09 | * | j_rod_s_ is now known as j_rod_s |
| 05:37:45 | * | nsf joined #nim |
| 05:40:59 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
| 05:43:32 | * | tinAndi joined #nim |
| 05:50:45 | * | tinAndi quit (Ping timeout: 264 seconds) |
| 06:04:26 | * | nsf quit (Quit: WeeChat 2.0.1) |
| 06:07:39 | * | dddddd quit (Quit: Hasta otra..) |
| 06:10:23 | * | skrylar joined #nim |
| 06:23:51 | * | endragor joined #nim |
| 06:27:57 | * | endragor quit (Ping timeout: 240 seconds) |
| 06:39:18 | * | endragor joined #nim |
| 06:59:51 | * | gokr joined #nim |
| 07:03:12 | * | c0ntribut0r joined #nim |
| 07:16:16 | * | c0ntribut0r quit (Ping timeout: 248 seconds) |
| 07:19:59 | * | c0ntribut0r joined #nim |
| 07:28:02 | * | solitudesf joined #nim |
| 07:52:59 | * | Yardanico joined #nim |
| 07:54:58 | * | endragor quit (Remote host closed the connection) |
| 08:02:09 | * | endragor joined #nim |
| 08:06:40 | * | c0ntribut0r quit (Ping timeout: 240 seconds) |
| 08:06:51 | * | endragor quit (Ping timeout: 246 seconds) |
| 08:08:36 | * | c0ntribut0r joined #nim |
| 08:12:57 | * | c0ntribut0r quit (Ping timeout: 240 seconds) |
| 08:13:35 | * | c0ntribut0r joined #nim |
| 08:21:53 | * | mwbrown quit (Ping timeout: 248 seconds) |
| 08:24:00 | * | mwbrown joined #nim |
| 08:29:42 | * | c0ntribut0r quit (Ping timeout: 252 seconds) |
| 08:35:26 | * | c0ntribut0r joined #nim |
| 08:46:54 | * | endragor joined #nim |
| 08:59:18 | * | endragor_ joined #nim |
| 09:02:10 | * | endragor quit (Ping timeout: 240 seconds) |
| 09:03:21 | * | gmpreussner quit (Ping timeout: 268 seconds) |
| 09:05:30 | * | gmpreussner joined #nim |
| 09:05:46 | * | endragor joined #nim |
| 09:09:00 | * | endragor_ quit (Ping timeout: 265 seconds) |
| 09:10:40 | * | endragor quit (Remote host closed the connection) |
| 09:11:37 | * | endragor joined #nim |
| 09:14:07 | * | BitPuffin joined #nim |
| 09:21:24 | * | nsf joined #nim |
| 09:26:13 | * | yglukhov joined #nim |
| 09:30:34 | * | yglukhov quit (Ping timeout: 252 seconds) |
| 09:35:08 | * | miran joined #nim |
| 09:37:32 | * | c0ntribut0r quit (Ping timeout: 252 seconds) |
| 09:38:42 | * | c0ntribut0r joined #nim |
| 10:01:36 | * | rauss quit (Read error: Connection reset by peer) |
| 10:02:00 | * | c0ntribut0r quit (Read error: Connection reset by peer) |
| 10:02:52 | * | c0ntribut0r joined #nim |
| 10:03:08 | * | ratheranonymous joined #nim |
| 10:03:17 | ratheranonymous | anyone online? |
| 10:03:51 | * | rauss joined #nim |
| 10:06:02 | * | ratheranonymous left #nim (#nim) |
| 10:06:07 | * | ratheranonymous joined #nim |
| 10:06:40 | ratheranonymous | I have problems installing the "nimsuggest" package. |
| 10:07:22 | * | endragor_ joined #nim |
| 10:07:33 | * | c0ntribut0r quit (Ping timeout: 264 seconds) |
| 10:07:38 | ratheranonymous | ... tools.nim(37) doCmd |
| 10:07:38 | ratheranonymous | ... Execution failed with exit code 1 |
| 10:07:38 | ratheranonymous | ... Command: "/usr/bin/nim" c --noBabelPath -d:release --path:"/home/user/.nimble/pkgs/compiler-#head" -o:"/tmp/nimble_9280/githubcom_nimlangnimsuggestgit_#head/nimsuggest" "/tmp/nimble_9280/githubcom_nimlangnimsuggestgit_#head/nimsuggest.nim" |
| 10:07:38 | ratheranonymous | ... Output: Hint: used config file '/etc/nim.cfg' [Conf] |
| 10:07:41 | ratheranonymous | ... Hint: system [Processing] |
| 10:07:45 | ratheranonymous | ... Hint: nimsuggest [Processing] |
| 10:07:48 | ratheranonymous | ... Error: cannot open '/tmp/nimble_9280/githubcom_nimlangnimsuggestgit_#head/nimsuggest.nim' |
| 10:08:02 | ratheranonymous | O _ o |
| 10:09:07 | * | c0ntribut0r joined #nim |
| 10:09:55 | * | endragor quit (Ping timeout: 260 seconds) |
| 10:10:01 | * | xet7 quit (Quit: Leaving) |
| 10:11:44 | * | gokr quit (Ping timeout: 248 seconds) |
| 10:13:29 | * | ratheranonymous quit (Remote host closed the connection) |
| 10:15:48 | * | xet7 joined #nim |
| 10:18:58 | * | nsf quit (Quit: WeeChat 2.0.1) |
| 10:19:43 | * | miran quit (Ping timeout: 248 seconds) |
| 10:22:55 | * | endragor_ quit (Remote host closed the connection) |
| 10:24:29 | FromGitter | <honewatson> Did you not try "./koch tools" |
| 10:24:32 | FromGitter | <honewatson> ? |
| 10:54:09 | * | endragor joined #nim |
| 11:01:33 | * | endragor_ joined #nim |
| 11:04:27 | * | endragor quit (Ping timeout: 240 seconds) |
| 11:05:08 | * | endragor joined #nim |
| 11:07:05 | * | endragor_ quit (Ping timeout: 260 seconds) |
| 11:11:36 | * | endragor_ joined #nim |
| 11:14:20 | * | endragor quit (Ping timeout: 252 seconds) |
| 11:28:39 | FromGitter | <Vindaar> Well, on the Github page it also says that nimsuggest is part of Nim core again (https://github.com/nim-lang/nimsuggest). Guess that's why it can't be installed via nimble anymore, since that just tries to get the Github version |
| 11:29:01 | FromGitter | <Vindaar> So yeah, what @honeywatson says |
| 11:30:47 | FromGitter | <nc-x> ```code paste, see link``` ⏎ ⏎ Yeah, nimble is trying to download nimsuggest from the wrong repo. ⏎ @dom96 ^^^ [https://gitter.im/nim-lang/Nim?at=5a6db4675a9ebe4f75e51a6e] |
| 11:32:45 | * | endragor joined #nim |
| 11:33:20 | FromGitter | <Vindaar> Hm, earlier you said you installed Nim from the Arch Linux repositories. In that case I suppose koch isn't even installed? Guess it's easiest to just compile Nim from source then |
| 11:33:35 | * | solitudesf quit (Quit: solitudesf) |
| 11:33:40 | * | endragor_ quit (Ping timeout: 240 seconds) |
| 11:35:37 | * | tinAndi joined #nim |
| 11:39:04 | * | yglukhov joined #nim |
| 11:39:50 | * | couven92 joined #nim |
| 11:40:20 | Yardanico | yeah |
| 11:40:29 | Yardanico | I'm on Arch and I have nim installed from source |
| 11:40:55 | * | endragor_ joined #nim |
| 11:41:06 | * | tinAndi quit (Ping timeout: 252 seconds) |
| 11:42:26 | * | endrago__ joined #nim |
| 11:43:18 | * | endragor quit (Ping timeout: 252 seconds) |
| 11:43:27 | * | yglukhov quit (Ping timeout: 240 seconds) |
| 11:43:51 | * | endragor joined #nim |
| 11:46:33 | * | endragor_ quit (Ping timeout: 264 seconds) |
| 11:47:11 | * | endrago__ quit (Ping timeout: 248 seconds) |
| 11:49:03 | * | endragor_ joined #nim |
| 11:49:05 | * | endragor quit (Ping timeout: 260 seconds) |
| 11:55:02 | * | yglukhov joined #nim |
| 12:06:31 | * | solitudesf joined #nim |
| 12:06:58 | * | solitudesf quit (Client Quit) |
| 12:13:22 | * | yglukhov quit (Ping timeout: 256 seconds) |
| 12:21:20 | * | c0ntribut0r quit (Ping timeout: 248 seconds) |
| 12:30:03 | * | c0ntribut0r joined #nim |
| 12:32:23 | * | endragor_ quit (Remote host closed the connection) |
| 12:32:23 | * | Snircle joined #nim |
| 12:39:12 | * | PMunch joined #nim |
| 12:39:13 | * | c0ntribut0r quit (Read error: Connection reset by peer) |
| 12:40:18 | * | solitudesf joined #nim |
| 12:40:25 | * | c0ntribut0r joined #nim |
| 12:45:11 | * | c0ntribut0r quit (Read error: Connection reset by peer) |
| 12:47:08 | * | c0ntribut0r joined #nim |
| 12:47:50 | * | marenz__ joined #nim |
| 12:56:44 | * | nsf joined #nim |
| 12:57:07 | * | vlad1777d joined #nim |
| 13:05:30 | * | arnetheduck quit (Ping timeout: 260 seconds) |
| 13:11:47 | * | yglukhov joined #nim |
| 13:19:13 | * | arnetheduck joined #nim |
| 13:37:00 | FromGitter | <matrixbot> `ratherAnonymous` @honewatson: I got disconnected, so I didn't see your message. ./koch tools worked |
| 13:37:38 | FromGitter | <matrixbot> `ratherAnonymous` I'm on Manjaro and have nim installed from source, so the newest version is only one "git pull" away |
| 13:41:25 | * | endragor joined #nim |
| 13:45:10 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 13:46:07 | * | endragor quit (Ping timeout: 248 seconds) |
| 13:48:35 | * | endragor joined #nim |
| 13:55:06 | * | endragor quit (Ping timeout: 246 seconds) |
| 13:58:46 | * | endragor joined #nim |
| 14:12:15 | PMunch | Thanks for merging in termstyle dom96, that was fast :) |
| 14:12:53 | PMunch | It just became tedious to copy it around to my various projects so I figured I could just as well document it and put it on nimble |
| 14:14:10 | * | endragor quit (Quit: Leaving...) |
| 14:16:32 | dom96 | You don't need to have your package added to the packages repo to use it in your projects |
| 14:16:38 | dom96 | just in case you weren't aware |
| 14:17:50 | * | Vladar joined #nim |
| 14:22:05 | * | wishi quit (Quit: No Ping reply in 180 seconds.) |
| 14:24:29 | * | wishi joined #nim |
| 14:35:31 | * | Yardanico quit (Read error: Connection reset by peer) |
| 14:35:39 | * | Yardanico_ joined #nim |
| 14:39:44 | * | zahary_ joined #nim |
| 14:55:58 | * | Ven`` joined #nim |
| 14:56:08 | PMunch | Oh yeah I know |
| 14:56:34 | PMunch | But if I was going to make it available to me I figured why not make it available to everyone :) |
| 14:56:43 | PMunch | After all it's a handy little thing |
| 14:58:59 | * | devdri joined #nim |
| 15:00:48 | * | yglukhov joined #nim |
| 15:03:05 | * | devdri quit (Ping timeout: 240 seconds) |
| 15:04:26 | * | dddddd joined #nim |
| 15:10:34 | * | solitudesf quit (Read error: Connection reset by peer) |
| 15:17:10 | * | solitudesf joined #nim |
| 15:18:52 | PMunch | Hmm, this \n \p thing is going to break a lot of code and libraries I think.. |
| 15:19:19 | dom96 | 0.18 will break a lot |
| 15:20:26 | Yardanico_ | it must break a lot I would say :) |
| 15:20:49 | Yardanico_ | because we don't want to break something after 1.0 |
| 15:22:19 | dom96 | yep |
| 15:23:12 | PMunch | Yeah I know |
| 15:24:02 | PMunch | I just hope that there are enough active maintainers to get library support up to pre 0.18 levels before 1.0 hits.. |
| 15:32:45 | * | yglukhov quit (Ping timeout: 264 seconds) |
| 15:37:06 | * | devdri joined #nim |
| 15:37:48 | * | devdri quit (Client Quit) |
| 15:38:15 | * | devdri joined #nim |
| 15:47:39 | Yardanico_ | PMunch, PRs everywhere! :D |
| 16:11:05 | * | yglukhov joined #nim |
| 16:15:27 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 16:25:45 | dom96 | https://nim-lang.org/blog/2018/01/28/nim-is-coming-to-fosdem.html |
| 16:26:50 | FromGitter | <singularperturbation> PMunch: What is the "\n \p thing"? |
| 16:27:41 | PMunch | https://github.com/nim-lang/Nim/issues/7089 |
| 16:28:35 | * | PMunch quit (Quit: leaving) |
| 16:29:14 | FromGitter | <singularperturbation> thanks |
| 16:38:02 | FromGitter | <matrixbot> `pqflx3` does nim have an analogous type for 'off_t'? |
| 16:49:22 | Yardanico_ | what is this type? |
| 16:49:32 | Yardanico_ | maybe "false" is the thing you need ? |
| 16:50:04 | Yardanico_ | try int64 maybe |
| 16:51:20 | FromGitter | <singularperturbation> I think the "Off" type in the posix module? https://nim-lang.org/docs/posix.html#Off |
| 16:51:32 | Yardanico_ | ah, yes |
| 16:51:35 | Yardanico_ | So int64 :) |
| 16:53:02 | * | yglukhov joined #nim |
| 16:54:16 | FromGitter | <matrixbot> `pqflx3` ah, it's in the posix module. I wanted to replace ftell with ftello in system/sysio, but adding an import just for off seems excessive |
| 17:00:50 | Yardanico_ | off is just an alias for int64 |
| 17:07:47 | * | j_rod_s_ joined #nim |
| 17:11:10 | * | j_rod_s quit (Ping timeout: 240 seconds) |
| 17:11:10 | * | j_rod_s_ is now known as j_rod_s |
| 17:13:40 | * | devdri quit () |
| 17:21:34 | * | MJCaley joined #nim |
| 17:23:17 | * | miran joined #nim |
| 17:23:21 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 17:23:53 | * | vivus joined #nim |
| 17:25:35 | * | tinAndi joined #nim |
| 17:31:16 | * | tinAndi quit (Ping timeout: 256 seconds) |
| 17:35:59 | * | c0ntribut0r quit (Ping timeout: 248 seconds) |
| 17:37:15 | * | c0ntribut0r joined #nim |
| 17:39:48 | * | chemist69 quit (Ping timeout: 246 seconds) |
| 17:41:03 | * | devdri joined #nim |
| 17:47:12 | * | nsf quit (Quit: WeeChat 2.0.1) |
| 17:50:01 | * | BitPuffin quit (Remote host closed the connection) |
| 17:54:07 | * | c0ntribut0r quit (Ping timeout: 248 seconds) |
| 17:54:20 | * | chemist69 joined #nim |
| 17:54:20 | * | c0ntribut0r joined #nim |
| 17:55:10 | * | MJCaley quit (Quit: MJCaley) |
| 17:55:38 | * | tinAndi joined #nim |
| 18:01:03 | * | tinAndi quit (Ping timeout: 248 seconds) |
| 18:05:23 | * | c0ntribut0r quit (Read error: Connection reset by peer) |
| 18:06:51 | * | c0ntribut0r joined #nim |
| 18:20:56 | * | Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 18:26:13 | * | radagast quit (Quit: radagast) |
| 18:26:29 | * | radagast joined #nim |
| 18:30:45 | * | radagast quit (Client Quit) |
| 18:30:59 | * | radagast joined #nim |
| 18:34:23 | * | marenz__ quit (Ping timeout: 268 seconds) |
| 18:35:30 | * | mwbrown quit (Quit: Exiting) |
| 18:36:45 | FromGitter | <Quelklef> Can my project.nimble file read values from other files? |
| 18:36:46 | * | devdri quit () |
| 18:36:49 | * | yglukhov joined #nim |
| 18:37:05 | FromGitter | <Quelklef> Specifically, can I pull my version from a neighboring `version.txt` which only contains the version number? |
| 18:38:11 | FromGitter | <Quelklef> or will i have to generate a new nimble file each time |
| 18:38:13 | dom96 | yep |
| 18:38:28 | dom96 | but you need to be careful about paths |
| 18:38:52 | FromGitter | <Quelklef> how come? also, how |
| 18:39:29 | dom96 | because of how Nimble installs packages |
| 18:40:14 | dom96 | you can use staticRead |
| 18:40:37 | dom96 | For this use case the way packages are installed by Nimble suck a bit |
| 18:40:40 | dom96 | I might end up changing that |
| 18:40:50 | FromGitter | <Quelklef> hmm |
| 18:41:03 | FromGitter | <Quelklef> should i stick to the safe route and generate the file instead |
| 18:41:13 | FromGitter | <Quelklef> i mean, what exactly is the gotcha |
| 18:41:16 | dom96 | generate what file? |
| 18:41:22 | FromGitter | <Quelklef> the nimble file |
| 18:41:38 | FromGitter | <Quelklef> that would cause no issues with nimble but would be a pain to do |
| 18:41:52 | dom96 | I don't understand, you need a nimble file anyway |
| 18:42:02 | FromGitter | <Quelklef> Right |
| 18:42:10 | dom96 | Here is the trick Nimble has to do: https://github.com/nim-lang/nimble/blob/master/nimble.nimble#L4 |
| 18:42:11 | FromGitter | <Quelklef> OK so I wrote a script for updating the version of my project |
| 18:42:24 | FromGitter | <Quelklef> because there's like 3 places it needs to be changed |
| 18:42:46 | FromGitter | <Quelklef> And by 'generate the file' I mean generate a new nimble file each time i run the script instead of having the nimble file reference verison.txt |
| 18:42:53 | FromGitter | <singularperturbation> https://gist.github.com/singularperturbation/317b5439c4f3e4c78d62523a10eb72f4 |
| 18:42:57 | dom96 | I see. |
| 18:43:00 | FromGitter | <singularperturbation> I had something similar, where it uses the relative path |
| 18:43:09 | FromGitter | <Quelklef> Ah, ok, thanks dom |
| 18:43:11 | FromGitter | <singularperturbation> from the file being compiled |
| 18:43:20 | FromGitter | <Quelklef> oh sweet |
| 18:43:38 | * | mwbrown joined #nim |
| 18:44:32 | FromGitter | <Quelklef> @singularperturbation this works for `version.txt` is a neighbor of `src/`? |
| 18:44:44 | FromGitter | <Quelklef> or of read_file.nim |
| 18:44:53 | FromGitter | <singularperturbation> of read_file.nim |
| 18:45:06 | FromGitter | <Quelklef> Doesn't the gotcha still apply, then |
| 18:45:14 | FromGitter | <Quelklef> Because the nimble file would need to import read_file |
| 18:46:17 | FromGitter | <singularperturbation> hmm - maybe you could define that as nimscript in your nimble file? |
| 18:46:45 | FromGitter | <Quelklef> I'm going to try what dom96 sent |
| 18:47:00 | FromGitter | <Quelklef> it seems to be closer to my use case |
| 18:48:18 | FromGitter | <Quelklef> Wait, I lied, both my version.txt and nimble file are outside of src/ so yours will work : ) |
| 18:48:53 | * | solitudesf quit (Quit: solitudesf) |
| 18:49:10 | * | marenz__ joined #nim |
| 18:50:16 | dom96 | it won't, your version.txt won't be installed by Nimble |
| 18:50:34 | FromGitter | <Quelklef> It has to be in src/ then? |
| 18:50:35 | FromGitter | <Quelklef> ok |
| 18:53:53 | FromGitter | <Quelklef> Can I somehow, like, "run" my nimble file |
| 18:56:42 | dom96 | `nimble tasks` will evaluate it |
| 18:57:24 | FromGitter | <Quelklef> thanks |
| 18:57:35 | * | SolitudeSF joined #nim |
| 19:03:04 | * | SolitudeSF quit () |
| 19:03:22 | * | SolitudeSF joined #nim |
| 19:10:16 | * | yglukhov quit (Ping timeout: 265 seconds) |
| 19:22:12 | * | yglukhov joined #nim |
| 19:24:53 | * | yglukhov quit (Remote host closed the connection) |
| 19:25:11 | * | yglukhov joined #nim |
| 19:43:24 | * | xkapastel joined #nim |
| 19:47:46 | * | SolitudeSF quit (Ping timeout: 268 seconds) |
| 19:49:18 | * | devdri joined #nim |
| 19:49:57 | * | couven92 quit (Ping timeout: 240 seconds) |
| 19:54:38 | * | marenz__ quit (Ping timeout: 256 seconds) |
| 20:02:07 | * | yglukhov quit (Remote host closed the connection) |
| 20:04:38 | * | gokr joined #nim |
| 20:05:38 | * | chemist69 quit (Ping timeout: 252 seconds) |
| 20:05:41 | * | yglukhov joined #nim |
| 20:06:01 | * | chemist69 joined #nim |
| 20:08:25 | * | marenz joined #nim |
| 20:11:42 | * | Yardanico_ quit (Remote host closed the connection) |
| 20:18:40 | * | gokr quit (Ping timeout: 240 seconds) |
| 20:19:11 | * | vlad1777d quit (Ping timeout: 248 seconds) |
| 20:41:34 | * | yglukhov quit (Remote host closed the connection) |
| 20:41:35 | * | marenz quit (Ping timeout: 248 seconds) |
| 20:43:43 | * | marenz joined #nim |
| 20:45:09 | * | radagast quit (Quit: radagast) |
| 20:45:17 | * | Vladar quit (Quit: Leaving) |
| 20:50:29 | * | miran quit (Quit: Konversation terminated!) |
| 20:56:13 | * | marenz quit (Ping timeout: 268 seconds) |
| 20:57:09 | * | nsf joined #nim |
| 20:57:38 | * | marenz joined #nim |
| 21:03:33 | * | SolitudeSF joined #nim |
| 21:04:25 | * | PMunch joined #nim |
| 21:28:09 | * | yglukhov joined #nim |
| 21:30:10 | * | nsf quit (Quit: WeeChat 2.0.1) |
| 21:31:43 | * | marenz quit (Ping timeout: 248 seconds) |
| 21:44:34 | * | PMunch quit (Quit: leaving) |
| 21:52:02 | dom96 | @krux02: please reply https://github.com/nim-lang/Nim/issues/6205#issuecomment-347032486 |
| 21:52:43 | * | yglukhov quit (Remote host closed the connection) |
| 21:53:20 | dom96 | Araq: thoughts on this? https://github.com/nim-lang/Nim/issues/5880 I guess we shouldn't be marking all {.importc.} procs with .nosideeffect. but we should at least mark osLastError with it, right? |
| 22:18:04 | * | Trustable joined #nim |
| 23:08:13 | * | SitiSchu joined #nim |
| 23:09:00 | * | Ven`` joined #nim |
| 23:09:36 | * | Ven`` quit (Read error: Connection reset by peer) |
| 23:11:06 | * | couven92 joined #nim |
| 23:11:45 | * | Ven`` joined #nim |
| 23:21:11 | * | SolitudeSF quit () |
| 23:26:34 | * | arnetheduck quit (Ping timeout: 256 seconds) |
| 23:28:21 | * | Trustable quit (Remote host closed the connection) |
| 23:32:21 | * | Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 23:43:11 | FromGitter | <jamesalbert> I'm trying to open a secure websocket connection, but I'm getting this error "SSL3_GET_RECORD:wrong version number". I have OpenSSL 1.0.2g installed. I've been looking around on how to solve this, but I'm getting lost in the mailing lists :) Do I need to downgrade my version for the server I'm trying to connect to, or is this something I can set in the nim compiler options? |
| 23:44:09 | FromGitter | <jamesalbert> I don't own the server btw, I meant do I need to downgrade my own openssl for the server |
| 23:49:26 | FromGitter | <jamesalbert> as soon as I post here I found the solution |
| 23:52:36 | * | marenz joined #nim |