00:01:21 | FromGitter | <sherjilozair> Oh wait, import does execute all the code in the imported module, right? |
00:01:38 | FromGitter | <sherjilozair> So can't you create the context then and put it in an object and return that as `am`. |
00:01:56 | FromGitter | <mratsim> Yes import execute everything |
00:01:58 | FromGitter | <sherjilozair> So user would do `from arraymancer import am`, and `am` is a struct with context. |
00:02:20 | * | CodeVance joined #nim |
00:03:38 | FromGitter | <mratsim> I can follow what we do for our key library: https://github.com/status-im/nim-eth-keys/blob/master/eth_keys/libsecp256k1.nim#L81 or what is done in Nim random https://github.com/nim-lang/Nim/blob/master/lib/pure/random.nim#L41 |
00:05:24 | FromGitter | <sherjilozair> Right, that seems reasonable. |
00:06:47 | FromGitter | <mratsim> or what I do for OpenCL: https://github.com/mratsim/Arraymancer/blob/master/src/tensor/backend/opencl_global_state.nim#L31 |
00:07:23 | FromGitter | <mratsim> or cuda: https://github.com/mratsim/Arraymancer/blob/master/src/tensor/backend/cuda_global_state.nim#L37 |
00:18:48 | FromGitter | <sherjilozair> @mratsim What do you think about the .npy format for loading/saving tensors? |
00:19:11 | FromGitter | <sherjilozair> I think it would be a good idea to play well with the python ecosystem. |
00:19:53 | FromGitter | <mratsim> Yes, reading/loading from.npy would remove a lot of friction. |
00:21:49 | * | krux02[m] quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
00:23:03 | FromGitter | <mratsim> going to sleep, see ou tomorrow |
00:23:26 | FromGitter | <sherjilozair> gnight! |
00:25:02 | * | rauss quit (Read error: Connection reset by peer) |
00:26:57 | * | rauss joined #nim |
00:29:39 | * | survivorm[m] quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
00:32:59 | PMunch | Protobuf have been updated to support optional fields, with a touch of magic: https://github.com/PMunch/protobuf-nim |
00:33:39 | PMunch | Only the fields that have explicitly set a value will be written |
00:34:14 | PMunch | And reading a protobuf stream will only set those fields that are present in the stream. Trying to read a field that is not present will lead to an error |
00:50:51 | * | PMunch quit (Quit: leaving) |
00:52:04 | FromGitter | <gogolxdong> great |
00:54:11 | FromGitter | <gogolxdong> How does protobuf-nim support js? I got stuck using protobuf.js when loading proto file. |
00:58:26 | * | arecaceae quit (Remote host closed the connection) |
00:58:50 | * | arecaceae joined #nim |
01:00:35 | FromGitter | <gogolxdong> Idea of removing dependency of protobuf compiler is brillant. |
01:11:03 | * | CodeVance quit (Read error: Connection reset by peer) |
01:15:07 | * | Trustable_2 joined #nim |
01:17:11 | * | CodeVance joined #nim |
01:17:54 | * | Trustable quit (Ping timeout: 260 seconds) |
01:19:25 | * | Trustable_2 quit (Remote host closed the connection) |
01:30:35 | * | skrylar joined #nim |
01:31:04 | skrylar | I feel like Smalltalk suffers from the same problem as Lisp communities. Time and time again people come to voice grievances (like, say, the IDE is hard coupled with the developed product) and instead of replying "Wow, you're the 800th person to suggest that" one is just told "Oh but the IDE is powerful, so rationalization rationalization, your needs are stupid." |
01:40:27 | * | mostly-harmless quit (Ping timeout: 240 seconds) |
01:42:07 | * | mostly-harmless joined #nim |
01:43:06 | CodeVance | ... |
01:44:35 | skrylar | sorry. porting some smalltalk code i wrote to nim :p |
01:47:08 | * | smt quit (Read error: Connection reset by peer) |
01:49:34 | CodeVance | I feel some of the same pain |
01:49:43 | CodeVance | I want to quickly read nim code |
01:49:56 | CodeVance | but often to understand things its all over the place |
01:53:29 | skrylar | well, current opinion: Nim is probably close to the best in the "work in a text editor, compile/link/run loop" workspace. But that comes with the usual downsides of compile/link/run and long text files |
01:53:50 | skrylar | Smalltalk's class browser and live debugging are absolutely great, but their communities are willfully blinded to any downsides they have |
01:54:20 | skrylar | both of them have a lack of heavy lifters outside of just getting a working compiler |
01:56:29 | CodeVance | I can |
01:56:54 | CodeVance | I can't really say much about it, since I haven't really contributed much |
01:57:11 | CodeVance | But there are a few things I miss. |
01:57:24 | CodeVance | But this is me trying to get nim to work |
01:57:32 | CodeVance | instead of something else |
01:57:50 | skrylar | as for getting the compiler going, not had a problem with that |
02:00:02 | CodeVance | Me neither... but I've had problems with getting 3d rendering... It's just gonna take time for me to understand the wrapper/C code |
02:00:25 | skrylar | hmm. did it with raw gl and also that bfx thing |
02:00:41 | skrylar | wrappers are easy but mind numbingly tedious (and also not glorious) |
02:02:20 | CodeVance | My hope is to get bgfx to run |
02:02:28 | CodeVance | But most examples are for opengl3 |
02:02:42 | CodeVance | Lol and for vsc compiler |
02:02:51 | CodeVance | So I have to work around that first |
02:04:01 | skrylar | are you using very old hardware |
02:04:17 | skrylar | unless the box is mobile or ~2009 era, it should run GL3 |
02:04:28 | CodeVance | Nope. But intel stops supporting opengl drivers |
02:04:37 | CodeVance | And its a laptop |
02:04:48 | CodeVance | So no gpu |
02:04:57 | skrylar | my intel chip supports 3.x and most extensions, but not 4 |
02:05:19 | CodeVance | Mine is old but like only a few years old |
02:05:21 | CodeVance | not 10+ |
02:05:41 | CodeVance | its got win7 for crying out loud |
02:05:51 | CodeVance | I can run dx9 and dx11 |
02:06:01 | CodeVance | but not ogl3 XD |
02:06:36 | CodeVance | which is why I'd like to get bgfx working |
02:06:45 | CodeVance | So that I can make dx and opengl games |
02:08:13 | CodeVance | but that's besides the point |
02:08:20 | CodeVance | I want to run open gl 2 |
02:08:27 | CodeVance | And I finally got it working |
02:08:35 | skrylar | I forget if BGFX lets you go that old |
02:08:51 | skrylar | It might do GLES which is more or less that |
02:09:52 | CodeVance | GLES is fine |
02:10:15 | CodeVance | OpenGL 2.1 |
02:10:20 | CodeVance | Yup its supported |
02:10:40 | CodeVance | but this is what I'm actually after Direct3D 9 and Direct3D 11 |
02:18:10 | skrylar | bleh. had more of a talk in another channel |
02:18:18 | skrylar | always sad when communities are hopelessly braindead |
02:18:41 | skrylar | always sad when communities are hopelessly braindead |
02:18:42 | skrylar | ack |
02:34:00 | CodeVance | smalltalk? |
02:46:40 | skrylar | finished porting some math code. |
02:56:30 | * | vivus quit (Quit: Leaving) |
03:06:00 | FromGitter | <brentp> This code: ⏎ ⏎ `````` [https://gitter.im/nim-lang/Nim?at=5aee7117b37eab7d046e7d5e] |
03:06:04 | FromGitter | <brentp> `````` |
03:06:13 | FromGitter | <brentp> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5aee71251eddba3d04d697ca] |
03:06:55 | FromGitter | <brentp> gives an error because `text` is not defined. How would I have it serialize without putting a value for `text`? |
03:07:09 | FromGitter | <brentp> or a key for `text`? |
03:08:54 | skrylar | you might be able to set a default value <<text*: seq[string] = nil>> but i suspect you have to supply an initializer with a text key, though the value may be nil |
03:09:26 | skrylar | alternatively make a factory function with optional parameters |
03:15:36 | FromGitter | <brentp> I'd like to avoid adding requirements to the constructor or incoming data. |
03:15:44 | FromGitter | <brentp> can I define my own `proc `%`(o: object)`? |
03:17:25 | skrylar | you can |
03:17:36 | skrylar | well, it wouldn't be o: object, it would be o: MyType |
03:18:37 | CodeVance | that's an operator overload |
03:19:17 | CodeVance | myobject% would be converted to `%`(myobject) |
03:20:21 | FromGitter | <brentp> aye |
03:25:38 | FromGitter | <brentp> `````` |
03:25:47 | FromGitter | <brentp> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5aee75bb6d98e53e04563ec8] |
03:28:52 | skrylar | wonder if mratsim still stalks these halls |
03:32:29 | CodeVance | gitter halls now |
03:44:03 | * | dddddd quit (Remote host closed the connection) |
03:53:59 | * | skrylar quit (Remote host closed the connection) |
04:23:22 | * | CodeVance left #nim ("Leaving") |
04:23:58 | * | CodeVance joined #nim |
04:42:24 | * | NimBot joined #nim |
04:45:42 | * | JacobEdelman quit (Quit: Ping timeout (120 seconds)) |
04:46:01 | * | JacobEdelman joined #nim |
04:49:04 | * | rauss quit (Ping timeout: 260 seconds) |
04:49:31 | * | rauss joined #nim |
04:51:39 | * | CodeVance quit (Quit: Leaving) |
04:51:55 | * | CodeVance joined #nim |
04:59:01 | * | miran joined #nim |
05:34:02 | * | skrylar joined #nim |
06:06:43 | * | MypMyp joined #nim |
06:24:19 | * | MypMyp quit (Quit: Leaving.) |
06:24:20 | * | CodeVance quit (Read error: Connection reset by peer) |
06:26:49 | * | CodeVance joined #nim |
06:28:15 | * | nsf joined #nim |
07:17:00 | * | skrylar quit (Remote host closed the connection) |
07:37:38 | * | CodeVance quit (Quit: Leaving) |
07:41:46 | * | Sembei quit (Ping timeout: 264 seconds) |
07:46:38 | * | Sembei joined #nim |
07:46:55 | * | jjido joined #nim |
07:49:31 | * | jjido quit (Client Quit) |
07:58:51 | * | CodeVance joined #nim |
08:10:06 | * | yglukhov joined #nim |
08:12:26 | * | yglukhov quit (Read error: Connection reset by peer) |
08:13:01 | * | yglukhov joined #nim |
08:15:03 | FromGitter | <gogolxdong> Does Nim support RISC-V? |
08:29:04 | * | yglukhov quit (Remote host closed the connection) |
08:29:37 | * | yglukhov joined #nim |
08:31:43 | * | CodeVance quit (Read error: Connection reset by peer) |
08:33:57 | * | yglukhov quit (Ping timeout: 240 seconds) |
08:39:18 | * | yglukhov joined #nim |
08:40:25 | * | yglukhov quit (Read error: Connection reset by peer) |
08:41:02 | * | yglukhov joined #nim |
09:01:22 | * | rauss quit (Read error: Connection reset by peer) |
09:03:48 | * | rauss joined #nim |
09:08:23 | * | CodeVance joined #nim |
09:17:55 | * | nsf quit (Quit: WeeChat 2.1) |
09:18:04 | * | Vladar joined #nim |
09:18:31 | * | dddddd joined #nim |
09:21:20 | FromGitter | <mratsim> @gogolxdong I don’t see why not. We’re interested into using Nim for Risc-V as well at work but didn’t try yet |
09:24:52 | * | xkapastel joined #nim |
09:35:04 | federico3 | it does since #7417 |
09:39:06 | * | girvo quit (Quit: Ping timeout (120 seconds)) |
09:39:36 | * | girvo joined #nim |
09:43:14 | * | MypMyp joined #nim |
09:46:09 | FromGitter | <mratsim> woohoo! awesome |
09:52:18 | miran | hey mratsim! why hadn't you posted arraymancer news on /r/programming? |
09:54:45 | * | CodeVance quit (Read error: Connection reset by peer) |
09:57:00 | FromGitter | <mratsim> mmmh usually I don’t post Tensor stuff in programming |
09:57:16 | FromGitter | <mratsim> though it might be interesting for people as the news is also about OpenCL |
09:57:36 | FromGitter | <mratsim> —> Nim has first class OpenCL support. |
09:57:44 | miran | ok, then post in both in /r/programming and /r/datascience ;) |
09:58:20 | FromGitter | <mratsim> I spammed datascience/neuralnetworks/deeplearning/machinelearning the week before to ask about my domain specific language already ;) |
10:10:23 | miran | you're being too modest. promote your good work! people should know about it! :) |
10:24:40 | * | yglukhov quit (Remote host closed the connection) |
10:25:13 | * | yglukhov joined #nim |
10:28:32 | FromGitter | <mratsim> @miran, I can’t do a text publication in R programming, meeeh ... |
10:29:07 | miran | yeah, that's the reason why i didn't cross-post it already for you :) |
10:29:24 | FromGitter | <mratsim> I really need a blog |
10:29:31 | miran | i guess, the link to github and then explanation in comment would do the trick |
10:29:45 | * | yglukhov quit (Ping timeout: 264 seconds) |
10:33:58 | FromGitter | <mratsim> I will write the post in the documentation in the “under the hood” part |
10:38:42 | * | alpha1220_ joined #nim |
10:39:32 | * | enigmeta quit () |
10:39:35 | alpha1220_ | What do you guys think about having separate scrollbar for the index in the stdlib docs, something like https://ziglang.org/documentation/master/ |
10:39:40 | * | miran quit (Ping timeout: 265 seconds) |
10:39:50 | * | enigmeta joined #nim |
10:40:05 | * | dashed quit () |
10:40:25 | * | dashed joined #nim |
10:44:10 | * | alpha1220_ quit (Ping timeout: 260 seconds) |
11:00:14 | * | MypMyp quit (Quit: Leaving.) |
11:03:49 | FromGitter | <mratsim> I’m pretty sure I complained about needing a floating menu on IRC at least, there might even be a feature request. |
11:06:29 | * | MypMyp joined #nim |
11:07:54 | FromGitter | <mratsim> @miran here you go: https://mratsim.github.io/Arraymancer/uth.opencl_cuda_nim.html |
11:15:38 | FromGitter | <mratsim> post is in /r/programming. You can vote now |
11:16:45 | FromGitter | <mratsim> also in https://www.reddit.com/r/CUDA/ |
11:26:45 | FromGitter | <mratsim> and now OpenCL: https://www.reddit.com/r/OpenCL |
11:32:16 | * | MypMyp quit (Quit: Leaving.) |
11:56:12 | * | MypMyp joined #nim |
11:56:18 | * | Vladar quit (Quit: Leaving) |
12:03:08 | narimiran[m] | upvoted |
12:04:49 | * | MypMyp quit (Ping timeout: 248 seconds) |
12:12:12 | * | xcm is now known as world |
12:12:24 | * | world is now known as xcm |
12:13:45 | * | dom96 wonders why closure iterators don't allow 'var' param capture |
12:20:23 | dom96 | `var request = request` to the rescue! |
12:20:33 | dom96 | Undoubtedly will kill performance though |
12:26:00 | * | Vladar joined #nim |
12:34:01 | * | MypMyp joined #nim |
12:48:08 | enthus1ast | dom96: do you know what would be cool? Jester with websocket support : ) |
12:48:22 | dom96 | I know :) |
12:48:45 | enthus1ast | i was looking into it and it seems that just the async socket is missing from the jester request |
12:49:00 | enthus1ast | to leverage niv's websocket |
12:49:24 | dom96 | I'm actually refactoring jester right now |
12:49:51 | enthus1ast | it would be awesome :) |
12:50:25 | dom96 | niv's websocket package might need some editing to work with jester (and especially httpbeast) |
12:57:39 | enthus1ast | it would also be usefull if jesters nice path matcher would be also available for asynchttp |
12:57:44 | enthus1ast | server |
12:59:14 | * | Sembei quit (Ping timeout: 256 seconds) |
13:00:41 | * | MyMind joined #nim |
13:10:14 | * | yglukhov joined #nim |
13:12:59 | * | MypMyp quit (Quit: Leaving.) |
13:14:27 | * | yglukhov quit (Ping timeout: 240 seconds) |
13:15:38 | * | PMunch joined #nim |
13:18:08 | federico3 | +1 dom96 |
13:20:08 | * | leorize quit (Quit: WeeChat 2.1) |
13:22:46 | * | SenasOzys joined #nim |
13:23:41 | * | SenasOzys quit (Remote host closed the connection) |
13:26:41 | * | MypMyp joined #nim |
13:31:17 | * | msmorgan quit () |
13:31:30 | * | mgdelacroix quit () |
13:31:34 | * | msmorgan joined #nim |
13:31:46 | * | mgdelacroix joined #nim |
13:44:56 | * | miran joined #nim |
13:49:37 | * | endragor joined #nim |
13:51:33 | * | dddddd quit (Remote host closed the connection) |
13:56:05 | * | endragor quit (Remote host closed the connection) |
14:06:36 | * | MypMyp quit (Ping timeout: 268 seconds) |
14:14:43 | * | themagician joined #nim |
14:34:45 | * | yglukhov joined #nim |
14:35:00 | * | yglukhov quit (Remote host closed the connection) |
14:35:35 | * | yglukhov joined #nim |
14:38:05 | * | MypMyp joined #nim |
14:38:51 | * | themagician_w joined #nim |
14:40:34 | * | themagician quit (Ping timeout: 260 seconds) |
14:40:47 | * | yglukhov quit (Ping timeout: 276 seconds) |
14:41:14 | * | Trustable joined #nim |
14:46:06 | * | leorize joined #nim |
14:48:22 | * | miran quit (Ping timeout: 264 seconds) |
14:51:06 | FromDiscord | <goeo_> hey, do you guys have any idea why this might be happening https://ghostbin.com/paste/pbwgt |
14:52:59 | dom96 | permissions? |
14:53:02 | dom96 | can you 'cat' that file? |
14:56:02 | FromDiscord | <goeo_> yes, i included the stat to make that clear |
14:56:17 | FromDiscord | <goeo_> has read permissions for everyone |
14:58:21 | dom96 | I guess you're using asyncfile? Maybe it's a bug in that. Try reproducing it in a standalone program and see if `readFile` works |
15:00:39 | * | MypMyp quit (Quit: Leaving.) |
15:00:43 | * | darithorn joined #nim |
15:06:37 | * | CodeVance joined #nim |
15:09:38 | * | yglukhov joined #nim |
15:29:08 | * | nsf joined #nim |
15:33:32 | * | xkapastel quit () |
15:34:08 | * | xkapastel joined #nim |
15:34:15 | * | poopBot joined #nim |
15:40:01 | * | edcragg quit (Quit: ZNC - http://znc.in) |
15:40:19 | * | edcragg joined #nim |
15:46:00 | * | yglukhov_ joined #nim |
15:46:05 | * | yglukhov quit (Read error: Connection reset by peer) |
15:47:11 | * | zielmicha_ quit () |
15:47:37 | * | zielmicha_ joined #nim |
15:51:07 | * | yglukhov joined #nim |
15:52:16 | * | yglukhov quit (Remote host closed the connection) |
15:52:27 | * | yglukhov_ quit (Ping timeout: 240 seconds) |
15:55:18 | * | PMunch quit (Quit: leaving) |
16:00:25 | * | LyndsySimon quit () |
16:00:44 | * | LyndsySimon joined #nim |
16:14:49 | * | arecaceae quit (Remote host closed the connection) |
16:15:12 | * | arecaceae joined #nim |
16:27:21 | * | Trustable quit (Remote host closed the connection) |
16:43:15 | FromGitter | <xmonader> Are you guys familiar with pymotw? Python module of the week? |
16:43:26 | poopBot | i am not :) |
16:44:01 | FromGitter | <xmonader> Pymotw.com/3 |
16:50:01 | * | brainproxy quit (Ping timeout: 268 seconds) |
16:50:37 | federico3 | xmonader: you want a Nimmotw? :) |
16:56:39 | FromGitter | <xmonader> Gitter android client is horrible. Can't edit or retry sending |
16:57:29 | FromGitter | <xmonader> @FedericoCeratto yes that is where nim suffers the most |
17:00:30 | * | yglukhov joined #nim |
17:05:09 | * | yglukhov quit (Ping timeout: 264 seconds) |
17:10:18 | * | r4vi quit () |
17:10:34 | * | r4vi joined #nim |
17:14:36 | * | darithorn quit (Quit: Leaving) |
17:14:43 | * | craigger quit (Quit: bye) |
17:15:47 | * | craigger joined #nim |
17:17:10 | * | brainproxy joined #nim |
17:21:22 | * | craigger quit (Quit: bye) |
17:23:20 | * | craigger joined #nim |
17:29:41 | * | yglukhov joined #nim |
17:31:33 | * | dddddd joined #nim |
17:38:24 | * | miran joined #nim |
17:43:55 | FromGitter | <narimiran> @xmonader hmmm, 'Nim module of the week' sounds very interesting to me!! |
17:57:37 | CodeVance | Is yield in try a good idea? |
18:12:02 | * | Vladar quit (Remote host closed the connection) |
18:40:57 | FromGitter | <xmonader> Just finished my German course. Yeah it would be very cool to have such project and even might get merged with stdlib docs |
18:41:16 | miran | merged? how? |
18:42:54 | FromGitter | <xmonader> I mean when it's mature enough it can be part of nim modules official docs |
18:44:21 | Araq | Hallo, guten Abend, wie geht es dir? |
18:44:25 | Araq | :P |
18:44:36 | miran | guten Abend zu dir auch! |
18:44:49 | miran | dich? |
18:45:16 | miran | i've learned german before some nim mantainers were born :D |
18:45:18 | Araq | "dir auch einen guten Abend" |
18:45:43 | Araq | "(ich wünsche) dir auch einen guten Abend" |
18:45:56 | miran | ja, naturlich :) |
18:46:31 | FromGitter | <xmonader> Ich habe schon a1 bestanden 😊 |
18:47:09 | Araq | "guten Abend dir auch" would also be possible, but unusual |
18:48:47 | FromGitter | <xmonader> @araq don't think I got a feedback of u on nim days did u check it out? |
18:49:14 | FromGitter | <xmonader> From* |
18:49:21 | miran | xmonader: those are just for us mortals ;) |
18:50:29 | Araq | hmm Nim days |
18:50:34 | Araq | what's that? |
18:52:23 | FromGitter | <xmonader> Wow 😂 |
18:52:59 | FromGitter | <xmonader> @Araq https://xmonader.github.io/nimdays/ |
18:53:14 | FromGitter | <xmonader> @miran Yes sure but we won't survive without proper mentoring :D |
18:54:03 | livcd | xmonader: good thing to promote Nim |
18:54:10 | livcd | what's going to be in chapter 7 ? |
18:54:43 | FromGitter | <xmonader> @livcd, well i'm considering a simple nbd server, i did an advanced one before in tarantool, production ready |
18:54:59 | FromGitter | <xmonader> and a url shortening service using sqlite and jester |
18:56:03 | FromGitter | <xmonader> I posted it on HN but it was like it's not even there :D https://news.ycombinator.com/item?id=17001726 |
18:56:24 | miran | with HN is usually hit or miss, luck plays a big role |
18:56:43 | livcd | when did you post it ? :D you need to post it during US hours |
18:56:58 | miran | try reposting it once it is finished (btw, yould that be 30 days? less?) |
18:57:32 | FromGitter | <xmonader> I posted in egypt time 8 hours difference that US xD |
18:57:53 | FromGitter | <xmonader> @miran it's okay, still having a chance to put more days, free days into it and getting more feedback |
18:58:07 | federico3 | someone should correlate topic / timezone / friendly-or-nasty comment |
18:58:36 | FromGitter | <xmonader> actually colleagues of mine are showing interest in developing the same project for another languages like rust |
18:59:42 | livcd | it's nice keep it up |
19:00:19 | FromGitter | <xmonader> I'm having doubts about the NBD server, but definitely will go for the url shortening service day |
19:01:16 | livcd | you already have an ffi but maybe you could cover some interfacing with win32 apis |
19:01:40 | miran | cross-compiling would be an interesting topic (to me) |
19:01:59 | miran | how can i make something for my Raspberry Pi, etc. |
19:02:18 | FromGitter | <xmonader> @livcd, I'm afraid I don't use windows |
19:02:25 | livcd | will also be interesting for lots of sysadmins |
19:02:38 | livcd | there's still lots of sparc,ppc,itanium out there that's actively used |
19:02:55 | livcd | and you are usually stuck with ksh and perl |
19:03:04 | livcd | (i do not count java and c/c++) |
19:03:06 | miran | also, a post about GUI stuff would interest me (NiGui seems like a cool library) |
19:03:12 | FromGitter | <xmonader> @miran also i'm not electronics guy too, tried to get a raspberry pi to do some rust course, but it was rare a bit |
19:03:48 | FromGitter | <xmonader> about gui, i've this in curses, npyscreen library, might do it in nim? ⏎ https://github.com/xmonader/secretconf |
19:03:54 | livcd | NiGui is interesting but I would have to first see some nice working app to believe it works as it should be |
19:04:39 | miran | livcd: that's why an article about it might be useful |
19:05:23 | livcd | is not shaslick working on an installer with Nigui ? :D |
19:06:05 | FromGitter | <xmonader> I tried to work on the nim playground a bit to add predefined examples, kinda like a tour but couldn't get the code to work @zacharycarter |
19:11:37 | * | max3 joined #nim |
19:21:57 | * | MypMyp joined #nim |
19:36:51 | * | aziz joined #nim |
19:37:53 | * | aziz quit (Client Quit) |
19:44:17 | * | MypMyp quit (Quit: Leaving.) |
19:46:44 | dom96 | xmonader: You should make a separate site for that |
19:47:31 | FromGitter | <xmonader> @dom96 for nimotw? I believe so yes |
19:47:45 | dom96 | xmonader: for playground tour |
19:48:04 | FromGitter | <xmonader> @dom96 quick jester question, all post forms should use multipart even if not containting files? |
19:48:18 | dom96 | no |
19:48:50 | FromGitter | <xmonader> i should get it to work in nim first, or are you guys okay with a generic python solution crafted for nim maybe? |
19:49:08 | FromGitter | <xmonader> @dom96 SIGSEGV: Illegal storage access. (Attempt to read from nil?) that's what i get when trying to access the formData table |
19:49:15 | * | Vladar joined #nim |
19:49:27 | FromGitter | <xmonader> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5aef5c461eddba3d04d8b470] |
19:49:28 | dom96 | xmonader: it'll be in the 'params' |
19:49:32 | dom96 | or some other field |
19:50:04 | FromGitter | <xmonader> but params should be for the url string, and query string not post data no? |
19:50:05 | dom96 | writing it in Python would be blasphemy :P |
19:50:45 | dom96 | "For application/x-www-form-urlencoded, the body of the HTTP message sent to the server is essentially one giant query string -- name/value pairs are separated by the ampersand (&), and names are separated from values by the equals symbol (=). An example of this would be: " |
19:50:50 | dom96 | https://stackoverflow.com/a/4073451/492186 |
19:51:45 | FromGitter | <xmonader> @dom96 very interesting |
19:54:24 | * | nsf quit (Quit: WeeChat 2.1) |
19:59:20 | * | yglukhov quit (Ping timeout: 268 seconds) |
20:02:45 | * | Trustable joined #nim |
20:03:22 | FromGitter | <mratsim> @miran/@narimiran, you can rebenchmark now: the regression is fixed and on my benchmark it’s even 30% faster than before the regression (probably a perf improvement that was hidden): https://github.com/mratsim/Arraymancer/issues/221#issuecomment-386907838 |
20:15:06 | * | MypMyp joined #nim |
20:21:28 | miran | mratsim: good to know! i'll run some tests tomorrow (if i don't forget :)) |
20:30:57 | * | Vladar quit (Ping timeout: 240 seconds) |
20:36:48 | * | Trustable quit (Remote host closed the connection) |
20:39:15 | * | poopBot quit (Remote host closed the connection) |
20:40:57 | * | miran quit (Ping timeout: 260 seconds) |
21:10:48 | * | skrylar joined #nim |
21:13:18 | * | girvo quit (Quit: Ping timeout (120 seconds)) |
21:13:46 | * | girvo joined #nim |
21:13:50 | * | oprypin quit (Remote host closed the connection) |
21:14:30 | * | oprypin joined #nim |
21:17:58 | * | mal`` quit (Ping timeout: 240 seconds) |
21:18:40 | * | mal`` joined #nim |
21:22:29 | * | dddddd quit (Ping timeout: 260 seconds) |
21:24:34 | * | FromGitter quit (Remote host closed the connection) |
21:24:34 | * | oprypin quit (Quit: Bye) |
21:24:51 | * | FromGitter joined #nim |
21:30:00 | * | oprypin joined #nim |
21:35:25 | * | dddddd joined #nim |
21:39:14 | * | MypMyp quit (Ping timeout: 268 seconds) |
21:43:47 | * | CodeVance2 joined #nim |
21:44:39 | * | CodeVance quit (Ping timeout: 260 seconds) |
21:46:59 | * | regtools quit (Ping timeout: 260 seconds) |
21:50:47 | * | BlaXpirit joined #nim |
21:53:19 | * | oprypin quit (*.net *.split) |
21:53:19 | * | arecaceae quit (*.net *.split) |
21:53:20 | * | jxy quit (*.net *.split) |
21:53:20 | * | zama quit (*.net *.split) |
21:53:20 | * | nuxdie_ quit (*.net *.split) |
21:53:20 | * | kaliy quit (*.net *.split) |
21:53:22 | * | BlaXpirit is now known as oprypin |
21:53:42 | * | flyhigh joined #nim |
21:54:06 | * | arecaceae joined #nim |
21:54:07 | * | jxy joined #nim |
21:54:07 | * | zama joined #nim |
21:54:07 | * | kaliy joined #nim |
21:54:40 | * | zama quit (Max SendQ exceeded) |
21:54:40 | * | arecaceae quit (Max SendQ exceeded) |
21:54:41 | * | nuxdie_ joined #nim |
21:55:03 | * | zama joined #nim |
21:57:52 | * | CodeVance2 is now known as CodeVance |
21:58:53 | * | regtools joined #nim |
22:00:30 | * | flyhigh quit (Quit: Konversation terminated!) |
22:00:50 | * | arecaceae joined #nim |
22:06:16 | * | CodeVance2 joined #nim |
22:06:58 | * | CodeVance quit (Ping timeout: 265 seconds) |
22:14:47 | FromGitter | <mratsim> My test shows that single-threaded Arraymancer is now as fast as optimized multi-threaded Numpy (Intel MKL + OpenMP), and about 2.7x faster than normal, default Numpy. |
22:15:58 | dom96 | 🔥🚀 |
22:16:02 | FromGitter | <mratsim> multithreading for that particular benchmark is broken though (3x slower than single threaded) probably due to cache invalidation/conflicts between the core when they try to read and write data from the same cache line. That’s always a super pain to debug. |
22:16:50 | FromGitter | <mratsim> did you see the fix dom? :P https://github.com/nim-lang/Nim/commit/88cf6573e04bd7ee8762aa336460b9748f0d4644 that’s the most powerful one-liner ever |
22:17:06 | dom96 | yeah, amazing fix :) |
22:18:17 | FromGitter | <mratsim> That’s probably a super low-hanging fruit in many libraries. I have to see why i need noInit that much |
22:20:11 | dom96 | Now just keep writing blog posts emphasising this speed difference and spam HN with them until they get to the front page ;) |
22:22:33 | * | CodeVance2 quit (Ping timeout: 264 seconds) |
22:25:53 | * | CodeVance joined #nim |
22:27:50 | * | CodeVance quit (Read error: Connection reset by peer) |
22:31:04 | * | CodeVance joined #nim |
22:31:13 | * | CodeVance_ joined #nim |
22:31:16 | * | max3 quit (Quit: Connection closed for inactivity) |
22:44:29 | FromDiscord | <Salvak> oh hi |
22:44:50 | FromDiscord | <Salvak> just 3 channels? |
22:45:45 | * | leorize quit (Quit: WeeChat 2.1) |
22:45:48 | * | CodeVance quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) |
22:46:06 | FromDiscord | <Salvak> oh no... its an irc bridge! 😮 |
22:46:24 | * | Snircle joined #nim |
22:48:13 | CodeVance_ | how Hey |
22:48:20 | CodeVance_ | XD |
22:49:44 | CodeVance_ | How to compile to temporary directory? |
22:51:44 | skrylar | i still need to test arraymancer someday |
22:51:53 | skrylar | started writing nim code again. still using an old jank tensor lib |
22:56:36 | skrylar | CodeVance_, you mean, a different one? it already builds everything under a separate build dir |
22:57:45 | CodeVance_ | to a specific temp directory I choose |
22:57:59 | CodeVance_ | its under the TMP TEMP environment variable |
23:03:12 | CodeVance_ | I just manually typed in the directory |
23:03:16 | CodeVance_ | And it works |
23:12:00 | FromGitter | <ephja> ich mag Züge |
23:17:04 | CodeVance_ | I like trains? |
23:17:13 | CodeVance_ | Weird google results XD |
23:24:04 | skrylar | the amount of boilerplate to start a gtk3 application is astounding |
23:24:31 | skrylar | headerwise. i guess its not that bad with existing bindings |
23:33:03 | CodeVance_ | What you doing atm? |
23:34:46 | * | skrylar quit (Remote host closed the connection) |
23:43:27 | FromGitter | <Lite5h4dow> Hey guys |
23:44:15 | CodeVance_ | hi |
23:45:25 | * | smt joined #nim |
23:47:50 | FromGitter | <ephja> choo choo |