00:07:18 | * | rando joined #nim |
00:12:18 | * | callumh joined #nim |
00:21:51 | * | rando quit (Ping timeout: 244 seconds) |
00:22:36 | * | Demon_Fox joined #nim |
00:35:27 | * | gokr quit (Ping timeout: 276 seconds) |
00:41:59 | * | User joined #nim |
00:51:18 | * | irrequietus quit () |
01:15:52 | * | yglukhov joined #nim |
01:18:53 | * | ftsf_ joined #nim |
01:20:57 | * | yglukhov quit (Ping timeout: 276 seconds) |
01:38:54 | * | endragor joined #nim |
01:39:59 | * | chemist69_ joined #nim |
01:39:59 | * | chemist69 quit (Disconnected by services) |
01:43:28 | * | endragor quit (Ping timeout: 244 seconds) |
01:56:59 | * | filwit quit (Quit: Konversation terminated!) |
02:16:46 | * | endragor joined #nim |
02:21:02 | * | endragor quit (Ping timeout: 244 seconds) |
02:22:18 | * | kulelu88 quit (Quit: Leaving) |
02:26:50 | * | callumh quit (Ping timeout: 264 seconds) |
02:39:04 | * | yglukhov joined #nim |
02:44:09 | * | yglukhov quit (Ping timeout: 276 seconds) |
02:58:40 | * | endragor joined #nim |
03:02:54 | * | endragor quit (Ping timeout: 250 seconds) |
03:17:14 | * | endragor joined #nim |
03:21:39 | * | endragor quit (Ping timeout: 244 seconds) |
03:28:03 | * | User quit (Quit: Leaving) |
03:42:10 | * | vendethiel- joined #nim |
03:42:19 | * | vendethiel quit (Ping timeout: 252 seconds) |
03:51:47 | * | endragor joined #nim |
03:59:13 | * | niv joined #nim |
04:00:53 | * | yglukhov joined #nim |
04:06:03 | * | yglukhov quit (Ping timeout: 276 seconds) |
04:16:03 | * | chemist69_ quit (Ping timeout: 264 seconds) |
04:16:24 | * | chemist69 joined #nim |
05:22:43 | * | yglukhov joined #nim |
05:29:15 | * | yglukhov quit (Ping timeout: 276 seconds) |
05:32:15 | * | ludocode quit (Ping timeout: 264 seconds) |
05:44:31 | * | endragor quit (Remote host closed the connection) |
05:45:06 | * | endragor joined #nim |
05:48:48 | * | endragor quit (Remote host closed the connection) |
05:51:27 | * | endragor joined #nim |
06:00:46 | * | endragor quit (Remote host closed the connection) |
06:05:32 | * | gokr joined #nim |
06:10:34 | * | ludocode joined #nim |
06:32:53 | * | yglukhov joined #nim |
06:38:45 | * | yglukhov quit (Remote host closed the connection) |
06:47:21 | * | endragor joined #nim |
06:55:58 | * | Arrrr joined #nim |
06:55:58 | * | Arrrr quit (Changing host) |
06:55:58 | * | Arrrr joined #nim |
07:02:13 | * | fastrom joined #nim |
07:03:49 | * | nsf joined #nim |
07:11:42 | * | endragor quit (Remote host closed the connection) |
07:12:05 | * | Matthias247 joined #nim |
07:12:32 | * | brechtm joined #nim |
07:18:58 | * | endragor joined #nim |
07:21:51 | * | nairobi joined #nim |
07:24:35 | * | nairobi quit (Remote host closed the connection) |
07:26:19 | * | nairobi joined #nim |
07:28:35 | * | Trustable joined #nim |
07:29:26 | * | bjz joined #nim |
07:45:28 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:01:29 | * | bjz joined #nim |
08:08:00 | * | fastrom quit (Quit: Leaving.) |
08:16:26 | * | nairobi quit (Remote host closed the connection) |
08:26:06 | * | ftsf_ quit (Quit: :q!) |
08:30:53 | * | nairobi joined #nim |
08:43:36 | * | yglukhov joined #nim |
08:46:34 | * | cheatfate_ quit (Read error: Connection reset by peer) |
08:46:52 | * | cheatfate_ joined #nim |
08:47:32 | * | nairobi quit (Read error: Connection timed out) |
08:48:32 | * | nairobi joined #nim |
08:52:05 | federico3 | gokr: very nice |
08:53:01 | * | nairobi quit (Ping timeout: 250 seconds) |
08:57:58 | * | nairobi joined #nim |
09:03:07 | * | stisa joined #nim |
09:03:17 | * | Learath2 quit (Quit: ZNC - 1.6.0 - http://znc.in) |
09:03:27 | * | Learath2 joined #nim |
09:08:20 | * | Learath2 quit (Client Quit) |
09:09:00 | * | Learath2 joined #nim |
09:14:16 | * | nairobi quit (Read error: Connection timed out) |
09:15:28 | * | nairobi joined #nim |
09:17:45 | * | themagician joined #nim |
09:22:17 | Calinou | I tried the libui binding, it works fine, both with C compiler and C++ |
09:25:05 | * | Demon_Fox quit (Ping timeout: 250 seconds) |
09:28:07 | * | Demon_Fox joined #nim |
09:31:57 | * | GustavoLapasta joined #nim |
09:33:11 | GustavoLapasta | how would you get the id of the current thread? |
09:38:22 | cheatfate_ | GustavoLapasta, you mean os specific id? |
09:38:40 | * | cheatfate_ is now known as cheatfate |
09:39:32 | GustavoLapasta | like threadId in module thread, but for the current running thread |
09:40:29 | GustavoLapasta | Well, I wanna spawn a few procs and print the threadId from each proc, just the be clear I'm running different threads |
09:46:22 | cheatfate | GustavoLapasta, looks like its impossible... So you can use GetCurrentThreadId (windows) and pthread_self (unix) |
09:50:30 | GustavoLapasta | ok |
09:51:08 | * | Demon_Fox quit (Quit: Leaving) |
10:02:19 | cheatfate | Araq, looks like tlsEmulation is usage of os specific functions to allocate space in thread memory, am i right? |
10:02:33 | Araq | yup |
10:02:44 | Araq | GustavoLapasta: I remember merging a PR that exposes this feature |
10:03:29 | GustavoLapasta | Ok Araq I'll search the github repo |
10:04:07 | cheatfate | Araq, but why you called it tlsEmulation, what the reason to make everything via TlsAlloc/pthread_setspecific? |
10:04:59 | cheatfate | i mean why not tlsEmulate everything by default? |
10:05:56 | * | Matthias247 quit (Read error: Connection reset by peer) |
10:07:11 | Calinou | hi! |
10:07:31 | Calinou | working on Download page, here's how it looks so far: https://lut.im/B0XTLyfKX6/ceayR3TDFhpPnVl9.png |
10:07:49 | Calinou | there should be a way to distinguish between sections, I thought of using colored tiles like https://www.blender.org/download/ |
10:08:15 | Calinou | also, bullet points like "Windows 64-bit" are normally in bold text, but wkhtmltoimage doesn't catch it for some reason |
10:09:09 | euantor | Could you possibly do user agent sniffing to point to recommended downloads? |
10:09:22 | Calinou | euantor: yeah, that can be done either on server (with Nim code) or with JavaScript |
10:09:28 | Calinou | this way we can highlight the recommended platform |
10:09:30 | euantor | Eg: if the user agent is obviously windows, use a prominent button to download the windows version |
10:09:41 | euantor | Yeah, just makes things super obvious |
10:12:08 | * | Learath2 quit (Quit: ZNC - 1.6.0 - http://znc.in) |
10:16:36 | Calinou | committed what I've done for now |
10:24:17 | Arrrr | Is there any work around for this? https://glot.io/snippets/ehqbt2hect |
10:26:01 | * | stisa quit (Quit: quitting...) |
10:35:24 | * | bjz_ joined #nim |
10:35:48 | * | desophos quit (Read error: Connection reset by peer) |
10:36:10 | * | bjz quit (Ping timeout: 244 seconds) |
10:37:10 | Araq | Arrrr: move the push/pop to an outer scope |
10:37:33 | Araq | or put unused code into a 'when false' section |
10:42:40 | Arrrr | Thank you. But i have a macro that generates a new proc with a given body and i directly paste some procs, and sometimes i don't need them. |
10:42:44 | Arrrr | So i think ill put them in global |
10:47:45 | * | Demon_Fox joined #nim |
11:15:09 | * | brechtm_ joined #nim |
11:15:21 | * | PMunch joined #nim |
11:17:39 | * | Trixar_za quit (Ping timeout: 276 seconds) |
11:18:26 | * | Trixar_za joined #nim |
11:19:03 | * | brechtm quit (Ping timeout: 264 seconds) |
11:23:28 | * | Sentreen quit (Quit: WeeChat 1.4) |
11:32:43 | * | gokr quit (Ping timeout: 265 seconds) |
11:41:57 | * | stisa joined #nim |
11:43:45 | * | stisa quit (Client Quit) |
11:45:21 | * | brechtm joined #nim |
11:48:51 | * | brechtm_ quit (Ping timeout: 276 seconds) |
12:04:57 | * | ftsf quit (Quit: Leaving) |
12:07:35 | * | Arrrr quit (Ping timeout: 250 seconds) |
12:26:47 | * | gokr joined #nim |
12:34:36 | * | Arrrr joined #nim |
12:34:36 | * | Arrrr quit (Changing host) |
12:34:36 | * | Arrrr joined #nim |
12:35:45 | * | arnetheduck joined #nim |
12:37:06 | * | stisa joined #nim |
12:45:30 | * | Demon_Fox quit (Quit: Leaving) |
13:01:02 | * | Mat4 joined #nim |
13:02:27 | yglukhov | Araq, Arrrr: please note that we can apply {.hint[XDeclaredButNotUsed]: off.} to a template declaration, in which case it works as expected. if applied to a proc declaration, nim produces an Error: identifier expected, but found 'hint[XDeclaredButNotUsed]' |
13:02:37 | yglukhov | looks like a bug to me. |
13:03:35 | Mat4 | hello, simple question: |
13:03:48 | * | Arrrr quit (Quit: WeeChat 1.5) |
13:03:51 | Mat4 | let niagaraBackendDispose = |
13:03:51 | Mat4 | proc (state: tupNiagaraBackend): tupNiagaraBackend = |
13:03:51 | Mat4 | assert state.fInit != false |
13:03:51 | Mat4 | discard munmap (state.pMachineCodeBuffer, state.iMachineCodeBuffer) |
13:03:51 | Mat4 | result = (pMachineCodeBuffer: state.pMachineCodeBuffer, |
13:03:51 | Mat4 | iMachineCodeBuffer: state.iMachineCodeBuffer, |
13:03:51 | Mat4 | fInit: false) |
13:04:14 | Araq | why not |
13:04:33 | Araq | proc niagaraBackendDispose(...): ... = ... instead? |
13:04:52 | Mat4 | is the tuple is returned as pointer or copied-by-default |
13:05:05 | Mat4 | ? |
13:05:14 | Araq | copied. a tuple is not a pointer. |
13:06:59 | Mat4 | thanks |
13:07:51 | Mat4 | I want to explore the implications of 'let' statements, so this form of function defination |
13:12:13 | Mat4 | .. so no implied pointer conversation is done |
13:17:48 | Araq | the 'let' you use is a function pointer |
13:18:18 | Araq | but this has nothing to do with the proc's return type |
13:19:37 | * | fredrik92 joined #nim |
13:20:17 | * | jeffc joined #nim |
13:20:38 | * | nairobi quit (Remote host closed the connection) |
13:20:46 | * | GustavoLapasta quit (Read error: Connection reset by peer) |
13:29:34 | * | niv quit (Ping timeout: 260 seconds) |
13:35:09 | Mat4 | how about following notation: 'niagaraBeckendDispose := bufferSize: tiMachineCodeBuffer, .. , ..→ ref tupNiagaraBackend, .. , .. :' ? |
13:38:46 | * | endragor quit (Remote host closed the connection) |
13:47:58 | Araq | I cannot decode it. |
13:53:14 | * | nairobi joined #nim |
13:57:29 | Mat4 | I use a simple APL style symbolic parser for transforming the Nim syntax into symbolic expressions |
14:00:36 | Mat4 | sorry, I mean expression sequences of course |
14:02:03 | Araq | just use Lisp notation instead please |
14:04:02 | * | GustavoLapasta joined #nim |
14:07:30 | * | nsf quit (Quit: WeeChat 1.5) |
14:07:32 | Mat4 | (defun niagaraBeckendDispose (bufferSize: tiMachineCodeBuffer ...) ...) |
14:10:43 | * | niv joined #nim |
14:10:57 | Mat4 | returned is a implied list reference |
14:12:23 | * | Mat4 left #nim (#nim) |
14:19:03 | * | arnetheduck quit (Ping timeout: 240 seconds) |
14:33:01 | * | stisa quit (Quit: Hermes - Material IRC Client - https://numixproject.org/) |
14:36:28 | * | FreezerburnV quit (Quit: Leaving) |
14:37:17 | flyx | is it possible to create a new object ref and directly initialize the object's fields? |
14:38:06 | flyx | I have the problem that one of the fields is a `not nil` type and the compiler makes funny things at new(), see https://github.com/nim-lang/Nim/issues/4642 |
14:44:46 | Araq | (ref B)(impl: impl) |
15:02:05 | * | BratwurstMitSenf joined #nim |
15:09:58 | PMunch | Hmm, how can I copy an object in Nim which was passed to me by reference? |
15:13:22 | Araq | assignment copies, if it's a ref/ptr use dereferencing aka [] |
15:14:09 | * | desophos joined #nim |
15:15:05 | * | BratwurstMitSenf left #nim (#nim) |
15:15:46 | * | BratwurstMitSenf joined #nim |
15:17:45 | * | BratwurstMitSenf quit (Client Quit) |
15:26:43 | * | kingofoz quit (Read error: Connection reset by peer) |
15:27:27 | * | kingofoz joined #nim |
15:50:21 | * | libman joined #nim |
15:56:25 | * | fredrik92 quit (Read error: Connection reset by peer) |
16:02:33 | * | jackv quit (Ping timeout: 240 seconds) |
16:02:53 | * | jackv joined #nim |
16:04:33 | * | themagician quit (Ping timeout: 240 seconds) |
16:05:34 | * | fold4 quit (Ping timeout: 240 seconds) |
16:07:57 | * | GangstaCat joined #nim |
16:09:03 | * | themagician joined #nim |
16:10:03 | * | def- quit (Ping timeout: 240 seconds) |
16:10:13 | * | def- joined #nim |
16:12:03 | * | liori quit (Ping timeout: 240 seconds) |
16:13:50 | * | liori joined #nim |
16:14:37 | * | Jesin quit (Quit: Leaving) |
16:16:53 | * | Jesin joined #nim |
16:24:40 | GustavoLapasta | If I declare an sql database connection in the main thread, then use it in a proc launched with "spawn", will the query be executed in the main thread or the new thread? |
16:25:09 | GustavoLapasta | Do I need some locking or semaphores or something else to access the global db connection from a spawn proc? |
16:31:00 | GustavoLapasta | my concern is that e.g. in Qt I need to open the db connection in the same thread that will do the query |
16:32:11 | PMunch | Well, I haven't ever used it in Nim, but typically a connection to a SQL database would be asynchronous |
16:32:21 | PMunch | So you should be fine with connecting from another thread |
16:32:41 | PMunch | But it could be that each thread should have it's own connection |
16:34:38 | * | GustavoLapasta quit (Read error: Connection reset by peer) |
16:36:55 | * | pregressive joined #nim |
16:39:11 | PMunch | Araq, I have a type defined as "ref object" which I want to copy. So if I do a dereference how will I pass it as the same type afterwards? |
16:42:47 | * | stisa joined #nim |
16:47:32 | * | nairobi quit (Remote host closed the connection) |
17:08:50 | * | nsf joined #nim |
17:13:33 | * | Sentreen joined #nim |
17:13:51 | * | brechtm quit (Remote host closed the connection) |
17:16:53 | * | endragor joined #nim |
17:21:39 | * | endragor quit (Ping timeout: 276 seconds) |
17:35:14 | * | Matthias247 joined #nim |
17:35:41 | Araq | PMunch: var local: ref T; local[] = other[]; pass_ref(local) |
17:36:03 | Araq | not that it happens often. in my own code it never comes up. |
17:36:15 | Araq | err |
17:36:23 | Araq | forgot the new(local) obviously |
17:36:49 | PMunch | Well, I needed it to get a hack of a hack working.. |
17:37:06 | * | stisa quit (Quit: Hermes - Material IRC Client - https://numixproject.org/) |
17:37:37 | PMunch | So it wouldn't normally appear for me either. At least not for this |
17:37:52 | PMunch | But I feel like it should be easier none the less |
17:41:54 | * | yglukhov quit (Ping timeout: 244 seconds) |
17:49:46 | * | xet7_ joined #nim |
17:50:22 | * | brson joined #nim |
17:54:25 | Araq | rare things don't have to be easy |
17:54:57 | Araq | but it can be simplified to var local = new(T); local[] = other[] |
17:58:01 | * | fredrik92 joined #nim |
17:58:36 | * | endragor joined #nim |
18:03:09 | * | endragor quit (Ping timeout: 260 seconds) |
18:04:45 | * | fold4 joined #nim |
18:09:14 | * | couven92 joined #nim |
18:12:12 | * | fastrom joined #nim |
18:12:14 | * | fredrik92 quit (Ping timeout: 250 seconds) |
18:16:26 | * | endragor joined #nim |
18:19:18 | * | GustavoLapasta joined #nim |
18:20:47 | * | endragor quit (Ping timeout: 258 seconds) |
18:21:19 | * | couven92 quit (Read error: Connection reset by peer) |
18:21:46 | * | couven92 joined #nim |
18:34:29 | * | kulelu88 joined #nim |
18:41:09 | gokr | Araq: Managed to compile a ... libui app statically :) |
18:41:34 | Araq | how so? added some generated bytecode to the app? |
18:41:44 | gokr | bytecode? |
18:42:19 | gokr | No, I just mean... I am binding your ui package to Spry - and now I managed to also build statically so that it runs out of the box on a vanilla Ubuntu |
18:46:08 | gokr | Otherwise, unless you use dynlibOverride etc - it tries to load libui.so - and people don't have that lib usually :) |
18:46:28 | gokr | But with some dynlibOverride and a bunch of -lblabla - it worked. |
18:47:07 | * | fastrom1 joined #nim |
18:47:08 | * | fastrom quit (Read error: Connection reset by peer) |
18:47:08 | libman | libui deps on gtk3 (on Unix), right? |
18:47:13 | gokr | yeah |
18:47:39 | gokr | I am about to commit this stuff - its kinda neat. |
18:48:27 | libman | I'm supposed to whine about gnupendencies becoming part of the "official" Nim stack... |
18:48:52 | gokr | So... I bound Araq's ui wrapper of libui into Spry. So that I can make UIs in Spry. Then I wrote this trivial little "IDE" in Spry. |
18:49:17 | gokr | Eh, I don't think libui nor Araq's wrapper are "official Nim stack" |
18:49:39 | gokr | I would argue that Gtk however is more tied into Nim via Aporia. |
18:50:27 | gokr | I was contemplating going with Gtk/Aporia as base - or libui. But I really want native on all three platforms, so trying out libui. And so far, while... a bit anemic, it's very easy to use. |
18:51:38 | libman | I don't really have any suggestions for a good Copyfree widget stack. IUP also depends on GTK (or Motif/LessTif, which are LGPL). Godot is really the first copyfree alternative. |
18:52:18 | gokr | Motif... that's a flash from the past indeed :) |
18:52:59 | libman | So is Tk (and it's pretty much tied to Tcl)... |
18:53:02 | Araq | isn't this point a bit moot? copyfree on *linux* which itself is GPL? |
18:53:51 | * | libman is in the early stages of planning for an all-copyfree BSD distro with much Nim userland. |
18:54:13 | * | xet7_ quit (Ping timeout: 252 seconds) |
18:55:29 | libman | There are some other options listed in https://en.wikipedia.org/wiki/List_of_widget_toolkits#Cross-platform but I'm not familiar. |
18:56:28 | libman | (Note that, Ultimate++ uses the UNcopyfree early BSD license.) |
18:57:02 | * | gokr wondering slightly about these... strong feelings on the subject |
18:57:19 | dom96 | Calinou: Nice, but we definitely need to simplify the downloads page |
18:57:57 | * | endragor joined #nim |
18:59:21 | Calinou | dom96: how do we still present instructions for users on a simple page? |
18:59:29 | Calinou | Blender's download page has very little info for example |
19:00:01 | Calinou | we can always refer to the documentation, like they do for the source code download |
19:00:04 | dom96 | Might be a good idea to create different pages for each OS |
19:00:26 | dom96 | Our situation is a bit strange right now |
19:00:32 | dom96 | because we only have binaries for Windows |
19:00:42 | dom96 | But that will change |
19:00:47 | dom96 | so we may as well separate these now |
19:00:54 | dom96 | even if Linux and Mac OS X will be similar |
19:00:55 | libman | Tabs (the UI concept) are your friends. |
19:01:02 | * | yglukhov joined #nim |
19:01:35 | dom96 | I bet many people expect the downloads to contain instructions |
19:01:53 | dom96 | and they just want to quickly download the installer/package |
19:02:37 | dom96 | so maybe we could include a recommended download link for each platform and a "Instructions for Windows" etc. |
19:02:42 | * | endragor quit (Ping timeout: 265 seconds) |
19:02:58 | Calinou | we can have binary download page, source download page |
19:03:26 | Calinou | kind of like https://inkscape.org/en/download/ |
19:03:28 | Araq | Calinou: release will hopefully be this week. |
19:03:30 | dom96 | nah |
19:03:36 | Araq | will the website be ready for it? |
19:03:39 | dom96 | A page for each platform makes more sense |
19:03:47 | Calinou | dom96: yeah, Inkscape does that |
19:03:57 | Calinou | you land on a download page, it asks you your OS, then you click the OS logo |
19:04:05 | dom96 | because on the OS X page we can have a Homebrew section |
19:05:07 | dom96 | for example |
19:05:25 | dom96 | Araq: I think that's unlikely, unless you don't mind using Jekyll. |
19:05:30 | gokr | For the insatiably interested, the Spry "IDE" in Spry: https://github.com/gokr/spry/blob/master/src/ide.sy |
19:05:37 | Araq | what's Jekyll? |
19:05:44 | Calinou | Araq: the static site generator I use |
19:05:50 | Calinou | (probably the most popular one by now) |
19:05:56 | gokr | Jekyll is the most known static site generator, but there are TOOOONS. |
19:06:02 | dom96 | gokr: looks lovely |
19:06:15 | Araq | when I asked the community for a redesign |
19:06:17 | dom96 | Araq: Kinda like ipsumgenera(TM) |
19:06:21 | gokr | https://www.staticgen.com |
19:06:24 | Araq | I said tooling is not important |
19:06:28 | gokr | dom96: Thanks! |
19:06:29 | Araq | and I stand by it. |
19:06:31 | Araq | bbl |
19:06:43 | dom96 | good, we can always convert to NimWeb later |
19:06:51 | dom96 | but yeah, Jekyll is mature |
19:07:01 | dom96 | and maybe it's time to stop eating our own dogfood |
19:07:12 | dom96 | or at least some of it |
19:07:32 | gokr | dom96: The neat thing is that the "IDE" has two text areas - the top is for Spry code, the bottom is "stdout". Then you hit "Do it" and the spry code gets parsed and evaluated. And ... it can do UI stuff too of course. |
19:07:53 | gokr | And I am especially happy I managed to get the event handlers working with Spry blocks. |
19:08:00 | gokr | libui is darn easy. |
19:08:09 | gokr | Araq: Thanks again for that wrapper. |
19:08:40 | dom96 | Damn, I need to try libui. |
19:08:49 | dom96 | (and a 1000 other things) |
19:09:17 | dom96 | Still don't know if Rust people are okay with me using their survey results in our survey blog post |
19:09:32 | flyx | why shouldn't they? |
19:11:15 | dom96 | Dunno |
19:11:17 | dom96 | Better to ask |
19:12:33 | flyx | ah yes, they indeed have nothing like a license or anything on their blog |
19:12:43 | flyx | then it's better to ask |
19:13:45 | libman | http://nanapro.org/en-us/blog/2016/05/an-introduction-to-nana-c-library/ is very interesting (once it gets BSD support) |
19:15:37 | * | brechtm joined #nim |
19:16:10 | dom96 | well, we've got permission |
19:17:03 | * | endragor joined #nim |
19:19:45 | * | Ven joined #nim |
19:21:12 | * | endragor quit (Ping timeout: 240 seconds) |
19:33:47 | * | fastrom1 quit (Quit: Leaving.) |
19:35:42 | * | _stowa joined #nim |
19:35:44 | * | space-wizard joined #nim |
19:39:32 | * | fastrom joined #nim |
19:42:09 | Calinou | https://lut.im/JsUFYAaaEe/LDDvpQaOtDpMNvv5.png - redesigned download page |
19:42:10 | Calinou | dom96: ^ |
19:42:51 | dom96 | beautiful! |
19:42:53 | cheatfate | Calinou, then add OpenBSD, NetBSD, FreeBSD, DragonflyBSD and all other BSD you can find on google |
19:43:02 | Calinou | cheatfate: I can make Linux into Linux/BSD |
19:43:09 | Calinou | we can merge both, instructions should be quite similar |
19:43:18 | dom96 | But yeah, remember about the BSDs |
19:43:22 | * | brechtm quit (Remote host closed the connection) |
19:43:29 | * | _stowa quit (K-Lined) |
19:43:44 | cheatfate | Calinou, BSD people will hate us for MacOS has own button and they have one with linux |
19:43:53 | dom96 | I think you should just add a little link underneath which says "Looking for other OS'? Click here" |
19:43:53 | Calinou | http://fontawesome.io/icons/ does not seem to have BSD icon, too :p |
19:44:15 | cheatfate | MacOS is BSD |
19:44:21 | Calinou | yeah |
19:44:32 | cheatfate | you need to find bsd demon :) |
19:45:23 | Calinou | https://github.com/FortAwesome/Font-Awesome/issues/1116 |
19:45:25 | Calinou | already requested |
19:45:40 | Calinou | I +1'd it :P |
19:46:06 | dom96 | Should I pull out the analytics stats? |
19:46:23 | Calinou | what do you mean? |
19:46:44 | dom96 | To see how popular BSD is and thus whether it deserves its own button? :P |
19:49:50 | libman | `pkg install nim` is all that BSD people should need. |
19:50:31 | dom96 | 0.18% of our visitors are running FreeBSD |
19:50:41 | Calinou | ok, here's a slightly remade page: https://lut.im/4HIAmB6pfD/XCZ0BDNPTh7yeL5i.png |
19:50:48 | dom96 | that's vs. 23.49% Linux |
19:50:56 | Calinou | whoa |
19:50:56 | dom96 | and 18.5% OS X |
19:51:37 | dom96 | looks awesome, but the text should read "See downloads for other platforms" |
19:51:47 | dom96 | we won't have an All Downloads page |
19:52:14 | Calinou | right |
19:52:30 | libman | Some of those Linux people are cryptoBSDs, honest. ;) |
19:52:32 | * | cheatfate_ joined #nim |
19:53:10 | cheatfate_ | dom96, you have analytics how many programmers using bsd? |
19:54:10 | * | cheatfate quit (Ping timeout: 244 seconds) |
19:54:26 | dom96 | cheatfate_: I have analytics of how many people using BSD visit nim-lang.org |
19:54:55 | cheatfate_ | dom96, this is wrong analytics, just because you never target your site and text on your site to attract bsd users... |
19:55:13 | dom96 | we don't target Linux or Windows either |
19:55:43 | gokr | dom96: Are you on Linux? |
19:55:50 | dom96 | nope |
19:56:31 | gokr | Just did a ... funny thing with this little "IDE" of mine. It modifies itself :) |
19:56:41 | gokr | While running of course. |
19:57:00 | dom96 | gokr: why do you ask? |
19:57:16 | gokr | Just wanted to show it - I have a 135 kb binary you could download and run. |
19:57:28 | gokr | But... I will just have to make one for OSX too ;) |
19:57:56 | gokr | Btw, I did contemplate reusing Aporia codebase for Spry but... I really wanted something fully native. |
19:58:00 | Calinou | is it possible to use osxcross to compile Nim for macOS from a Linux box? I forgot, I probably already asked… |
19:58:15 | Calinou | it should be possible because osxcross can be used to compile C or C++ code just fine |
19:58:21 | gokr | well, but sounds messy. |
19:58:41 | * | endragor joined #nim |
20:01:33 | dom96 | gokr: cool, would love to try it. |
20:01:50 | dom96 | And yeah, I would like to rewrite Aporia natively. |
20:02:18 | * | Trustable quit (Read error: Connection reset by peer) |
20:02:44 | * | Trustable joined #nim |
20:03:10 | * | endragor quit (Ping timeout: 250 seconds) |
20:03:40 | gokr | libui still however lacks a good code editor component. That would need Scintilla or something. |
20:04:08 | gokr | dom96: Will get back to you if I get it to build on OSX here... |
20:13:47 | Calinou | committed new download page |
20:15:02 | * | brechtm joined #nim |
20:16:13 | * | endragor joined #nim |
20:20:51 | * | endragor quit (Ping timeout: 264 seconds) |
20:26:05 | * | nairobi joined #nim |
20:39:07 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:41:24 | Calinou | dom96: also, what about redesigning the default styles of the nim doc tool? to use a new font (the one used on the design I'm doing) and to make it easier to read |
20:41:43 | Calinou | with theme chooser perhaps, too |
20:41:52 | euantor | I was working on this: http://nim-docs.euant.webfactional.com |
20:42:05 | euantor | Just testing out GitBook to try writing some documentation in it |
20:42:06 | * | nairobi quit (Read error: Connection timed out) |
20:42:10 | Calinou | euantor: looks good! |
20:42:19 | euantor | Basically the guide on the website, but split into chapters |
20:42:30 | Calinou | would be great if that became the official guide |
20:42:41 | euantor | I'd need to finish it first ;) |
20:42:55 | * | nairobi joined #nim |
20:43:47 | euantor | https://github.com/euantorano/nim-docs |
20:45:19 | * | Ven joined #nim |
20:46:14 | * | Ven quit (Client Quit) |
20:47:07 | dom96 | euantor: Would also love to see it become the official tutorial |
20:47:25 | dom96 | Calinou: Dunno, I think the current docs are nice. |
20:47:27 | gokr | dom96: wget http://krampe.se/ideosx && chmod +x ideosx && ./ideosx |
20:47:36 | euantor | Anybody can feel free to contribute if they get a chance |
20:47:37 | gokr | Tell me if it runs :) |
20:47:45 | Calinou | dom96: the current doc tool seems to default to tiny text, I usually zoom at 125% to read it |
20:47:51 | Calinou | (a simple pull request can solve that though) |
20:48:05 | * | Trustable quit (Remote host closed the connection) |
20:48:17 | * | GustavoLapasta quit (Quit: Leaving) |
20:50:55 | Calinou | dom96: what about porting the official guide/tutorial to euantor's gitbook? looks much better than the current one, definitely |
20:50:57 | Calinou | and has chapters and all |
20:51:36 | euantor | My idea was to basically replace http://nim-lang.org/docs/tut1.html |
20:51:42 | Calinou | yes, exactly |
20:51:56 | euantor | But with a bit more discussion about installing Nim (which is missing in that, oddly) |
20:52:11 | euantor | And using Nimble being a key focus to push adoption |
20:52:15 | Calinou | I think we can keep nimdoc around for technical documentation |
20:52:23 | Calinou | and write a new introduction with installation, Nimble, basic usage, with gitbook |
20:52:33 | euantor | Yep, that was my thoughts too |
20:52:44 | dom96 | Calinou: sounds good |
20:53:07 | dom96 | The git book should include topics like Concurrency and Parallelism |
20:53:16 | euantor | Yeah, and plenty of examples |
20:53:21 | dom96 | and just be split up into sections more than the current tutorial |
20:53:26 | euantor | And touch on using the async netorking |
20:53:43 | euantor | It can be split into proper chapters using folders |
20:54:05 | euantor | So I was thinking the first chapter would be basically an intro to the language syntax, using proc, objects, etc. |
20:54:16 | euantor | Then move onto using the stdlib |
20:54:33 | euantor | And touch on FFI |
20:55:21 | Calinou | gitbook should allow easier contribution, too, I believe |
20:55:35 | euantor | Yeah, as it's all just markdown or ASCII doc |
20:55:45 | euantor | And most people know how at least one of those works |
20:55:51 | Calinou | is it print/PDF-friendly? |
20:56:00 | euantor | Yep |
20:56:03 | Calinou | that's nice too |
20:56:06 | euantor | And you can generate an EPUB from it |
20:56:42 | euantor | http://toolchain.gitbook.com/ebook.html |
20:58:13 | * | endragor joined #nim |
20:58:53 | * | nairobi quit (Read error: Connection timed out) |
21:00:24 | * | nairobi joined #nim |
21:02:32 | * | endragor quit (Ping timeout: 250 seconds) |
21:08:24 | * | pregressive quit (Read error: Connection reset by peer) |
21:08:53 | * | pregressive joined #nim |
21:10:05 | gokr | dom96: Did you try it? |
21:11:36 | dom96 | just did |
21:11:40 | dom96 | lots of errors |
21:11:42 | dom96 | ideosx(51180,0x7fff72f46000) malloc: *** mach_vm_map(size=38080032768) failed (error code=4) |
21:11:53 | gokr | Humm |
21:16:17 | * | irrequietus joined #nim |
21:16:55 | * | endragor joined #nim |
21:18:46 | * | Sentreen quit (Quit: WeeChat 1.4) |
21:19:04 | * | Sentreen joined #nim |
21:22:09 | * | endragor quit (Ping timeout: 276 seconds) |
21:23:52 | gokr | dom96: weird error, google gives me... very little |
21:27:32 | dom96 | there is also *** error: can't allocate region |
21:27:33 | dom96 | *** set a breakpoint in malloc_error_break to debug |
21:31:08 | * | User joined #nim |
21:33:02 | gokr | dom96: Are you on latest OSX? |
21:33:37 | dom96 | i'm on 10.11.5 |
21:35:48 | gokr | Can you download and try again? |
21:35:54 | gokr | I compiled one without -d:release |
21:36:07 | gokr | I am on a slightly older OSX |
21:51:45 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:53:36 | GangstaCat | what is nimweb? |
21:58:38 | * | endragor joined #nim |
21:58:48 | dom96 | gokr: no change |
22:00:36 | * | brson_ joined #nim |
22:00:52 | gokr | dom96: Annoying :) |
22:02:27 | * | brson quit (Ping timeout: 276 seconds) |
22:03:10 | * | endragor quit (Ping timeout: 244 seconds) |
22:08:18 | dom96 | indeed. I had similar "fun" with Aporia :) |
22:08:20 | dom96 | Good night |
22:08:24 | * | gokr quit (Ping timeout: 250 seconds) |
22:09:25 | * | arnetheduck joined #nim |
22:10:50 | * | xet7_ joined #nim |
22:11:59 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:14:01 | * | irrequietus quit (Ping timeout: 244 seconds) |
22:16:41 | * | endragor joined #nim |
22:17:27 | Araq | GangstaCat: the tool we use to build the website. not a general purpose tool. |
22:20:47 | GangstaCat | Araq, alright thanks :) |
22:21:34 | * | endragor quit (Ping timeout: 260 seconds) |
22:26:19 | * | brechtm quit (Remote host closed the connection) |
22:30:52 | * | bjz joined #nim |
22:45:23 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:49:42 | * | Demon_Fox joined #nim |
22:54:15 | * | themagician quit () |
22:58:50 | * | endragor joined #nim |
23:03:33 | * | endragor quit (Ping timeout: 276 seconds) |
23:14:36 | * | arnetheduck quit (Ping timeout: 265 seconds) |
23:15:55 | * | endragor joined #nim |
23:18:26 | * | yglukhov quit (Remote host closed the connection) |
23:20:29 | * | endragor quit (Ping timeout: 260 seconds) |
23:26:48 | * | pregressive quit (Remote host closed the connection) |
23:27:06 | * | arnetheduck joined #nim |
23:33:27 | * | arnetheduck quit (Ping timeout: 265 seconds) |
23:44:54 | * | brson_ quit (Quit: leaving) |
23:45:02 | * | brson joined #nim |
23:46:20 | * | couven92 quit (Ping timeout: 250 seconds) |