00:01:33 | * | yglukhov quit (Ping timeout: 264 seconds) |
00:25:55 | * | Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
00:33:16 | GitDisc | <treeform> dom96, electron eats peoples ram and is a hog on every dimension, but sadly I think its the best way to ship desktop apps at the moment. I hope some one comes around and changes this. |
00:41:54 | FromGitter | <zetashift> I like how VSCode did it. Rewritten the heavy stuff in C++ |
00:44:07 | AlexMax | FromGitter: Did they? |
00:44:10 | FromGitter | AlexMax, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim |
00:44:12 | AlexMax | erm |
00:44:17 | AlexMax | @zetashift Did they? |
00:44:25 | AlexMax | I'm looking at the github repo |
00:44:32 | AlexMax | and 91% of it is typescript |
00:45:03 | AlexMax | I know Atom has been redoing some bits in C++, but it hasn't helped it terribly |
00:49:27 | * | BitPuffin|osx quit (Ping timeout: 240 seconds) |
00:51:48 | FromGitter | <zetashift> @AlexMax, can't find it but I know for a fact they use ripgrep(grep written in Rust) https://code.visualstudio.com/updates/v1_11#_text-search-improvements , I'll see if I can find more stuff |
00:59:38 | dom96 | They'll probably end up slowly rewriting all of Atom/VS Code in C++ bit-by-bit |
01:02:36 | * | couven92 joined #nim |
01:06:14 | AlexMax | Eh |
01:06:21 | AlexMax | I think that Microsoft just knows how to write a performant editor |
01:06:34 | AlexMax | Atom has already been converting stuff to C++ but it's not making a whole lot of difference |
01:06:46 | AlexMax | also, tbh I'm sick of websites-as-desktop-apps |
01:07:45 | FromGitter | <zetashift> nimx + some docs could be such a great thing for beginner Nimmers |
01:07:55 | AlexMax | I wish there was a GUI toolkit that was C++11-friendly |
01:08:07 | AlexMax | none of them really are in my experience |
01:08:39 | AlexMax | wx expects you to `new` everything as a pointer and it handles `delete` for you |
01:08:44 | AlexMax | gives me the jibbles |
01:11:23 | * | rbrt quit (Quit: Oíche mhaith) |
01:15:06 | * | rbrt joined #nim |
01:18:20 | * | rbrt_ joined #nim |
01:21:47 | * | rbrt quit (Ping timeout: 255 seconds) |
01:24:04 | * | endragor joined #nim |
01:28:27 | * | endragor quit (Ping timeout: 240 seconds) |
01:41:38 | * | rbrt_ quit (Quit: Oíche mhaith) |
01:52:10 | * | yglukhov joined #nim |
01:56:27 | * | yglukhov quit (Ping timeout: 240 seconds) |
02:12:00 | * | couven92 quit (Read error: Connection reset by peer) |
02:18:51 | * | endragor joined #nim |
02:21:41 | * | radagast quit (Remote host closed the connection) |
02:23:21 | * | radagast joined #nim |
02:24:22 | FromGitter | <raydf> @alexmax give https://github.com/pragmagic/karax a try for a hybrid apps with Electron. This way you'll be developing the ui in nim as a Javascript transpiler. Also maybe https://github.com/zacharycarter/nuklear-nim can work for your project. |
02:25:44 | FromGitter | <raydf> I'm experimenting with Karax and cordova and it works very well for the moment for hybrid mobile apps. |
02:40:13 | FromGitter | <ephja> transpiler ;) |
02:43:26 | * | chemist69 quit (Ping timeout: 276 seconds) |
02:49:16 | * | vlad1777d quit (Ping timeout: 276 seconds) |
02:55:13 | FromGitter | <zacharycarter> I really don't like the Godot community |
02:55:30 | FromGitter | <zacharycarter> It's very fanatical |
02:56:02 | FromGitter | <zacharycarter> @raydf have you built anything cool w/ Karax yet? |
02:56:29 | FromGitter | <QeyeH> @zacharycarter Godot game engine? |
02:57:02 | * | chemist69 joined #nim |
02:57:03 | FromGitter | <zacharycarter> @QeyeH yes |
02:57:10 | FromGitter | <QeyeH> OK |
02:57:34 | FromGitter | <QeyeH> I like the look of your nucklear-nim project |
02:57:43 | FromGitter | <zacharycarter> thanks |
02:57:50 | FromGitter | <zacharycarter> it's been neglected |
02:57:57 | FromGitter | <QeyeH> K |
03:32:22 | * | marenz__ joined #nim |
03:35:59 | * | marenz_ quit (Ping timeout: 248 seconds) |
03:52:50 | FromGitter | <QeyeH> Once NiGui is installed using Git, is it just a matter of compiling each one of the examples to view it, or is NiGui supposed to be part of a Nim project? I'd read the docs/ but they are pretty terse. ⏎ ~/git/NiGui/examples$ nim cpp -r example_01_basic_app.nim ... fails ⏎ example_01_basic_app.nim(3, 8) Error: cannot open 'nigui' |
03:59:11 | FromGitter | <zacharycarter> try this |
03:59:26 | FromGitter | <zacharycarter> `nimble install && nim c -r example_01_basic_app.nim |
03:59:38 | FromGitter | <zacharycarter> from the project directory |
04:19:43 | FromGitter | <QeyeH> Ah, right, testing. |
04:22:04 | FromGitter | <QeyeH> Right, so I had to 'nimble install' inside the main /dir, then 'nim c -r example_01_basic_app.nim' inside the /example dir. |
04:22:13 | FromGitter | <QeyeH> I haz GUI, thanks |
04:25:51 | FromGitter | <zacharycarter> np! |
04:29:45 | * | marenz__ quit (Ping timeout: 264 seconds) |
04:30:59 | FromGitter | <QeyeH> I haz *huge* GUI now, it's nice code inside the app, quite logical to read and follow |
04:35:57 | FromGitter | <QeyeH> With JS, you can set Width & Height to 100%, do modern GUIs follow this format, or do you need to encode specific UI sizes based on applicable viewing screens? |
04:39:15 | * | Snircle joined #nim |
04:40:06 | FromGitter | <zacharycarter> I have no idea :/ it usually depends on the layout engine being used by the GUI library |
04:42:28 | * | xkapastel joined #nim |
04:46:05 | FromGitter | <QeyeH> OK, got it, I'll seeif I can work that out. |
04:54:39 | FromGitter | <nitely> I can't believe no one has mentioned Qt+QML... the ultimate GUI framework. There are some bindings for Nim |
04:57:16 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
04:58:47 | * | yglukhov joined #nim |
05:02:57 | * | yglukhov quit (Ping timeout: 240 seconds) |
05:06:00 | FromGitter | <nitely> here: https://github.com/filcuc/nimqml |
05:06:11 | FromGitter | <nitely> I don't know if it's "production" ready though |
05:09:05 | * | SenasOzys quit (Ping timeout: 240 seconds) |
05:10:07 | * | FromGitter * QeyeH looks |
05:11:01 | FromGitter | <zacharycarter> I think if anyone was using Qt with Nim it'd have been blogged about or mentioned on the forums. Lots of people are pining for that |
05:11:14 | FromGitter | <zacharycarter> but I could very well be mistaken! I often am! |
05:20:41 | * | yglukhov joined #nim |
05:21:16 | FromGitter | <QeyeH> Don't insult yourself, that's our job 8-) |
05:23:36 | FromGitter | <QeyeH> @nitely That nimqml looks good, has really decent docs, seems to be sane, but i wonder if it is in current development. Guess I should email the prime /dev |
05:28:31 | * | endragor quit (Remote host closed the connection) |
05:28:59 | * | endragor joined #nim |
05:33:57 | * | endragor quit (Ping timeout: 264 seconds) |
05:49:44 | * | dexterk quit (Read error: Connection reset by peer) |
06:04:33 | * | endragor joined #nim |
06:07:34 | FromGitter | <Varriount> @nitely For what it's worth, I've wanted to see a good example program using nimqml |
06:08:57 | * | endragor quit (Ping timeout: 240 seconds) |
06:14:30 | * | endragor joined #nim |
06:27:07 | * | nsf joined #nim |
06:37:46 | * | yglukhov quit (Remote host closed the connection) |
06:52:08 | FromGitter | <QeyeH> @zacharycarter I think that NiGui uses GTK3 => CC: nigui_gtk3 |
07:03:48 | * | solitudesf joined #nim |
07:23:14 | * | dddddd joined #nim |
07:25:47 | * | qih quit (Quit: leaving) |
07:41:04 | * | Vladar joined #nim |
07:47:45 | * | gokr joined #nim |
08:03:25 | * | pwntus joined #nim |
08:03:32 | Tanger | Hey folks. Quick question about initialization: Am I right to say that object ref's with a string as a property *has* to be initialized with a new? |
08:03:59 | Araq | object refs have to be initialized. |
08:04:08 | Araq | string properties have nothing to do with it. |
08:04:43 | * | pwntus quit (Changing host) |
08:04:43 | * | pwntus joined #nim |
08:05:35 | * | enthus1a1t joined #nim |
08:07:23 | FromGitter | <gokr> Regarding "CountTable" - I presume that's what's often called a "Bag", at least in Smalltalk. |
08:08:09 | * | enthus1ast quit (Ping timeout: 264 seconds) |
08:24:29 | * | PMunch joined #nim |
08:26:52 | * | yglukhov joined #nim |
08:27:30 | * | fredrik92 quit (Quit: Client disconnecting) |
08:31:06 | Araq | you know I'm of the opinion that only I can name things properly |
08:31:14 | Araq | ;-) |
08:31:42 | Araq | I wasn't aware that putting stuff in a bag counts them too. |
08:32:05 | Araq | where can I buy such a bag? |
08:32:43 | * | floppydh joined #nim |
08:33:57 | FromGitter | <mratsim> Bag is the mathematical name for an unordered collection allowing repeats. It is a friendly synonym to multiset. A bag or a multiset is a generalization of the concept of a set that, unlike a set, allows multiple instances of the multiset’s elements. |
08:34:06 | FromGitter | <mratsim> From Python Dask: https://dask.pydata.org/en/latest/bag-overview.html |
08:35:23 | Araq | yeah ... while we're at it, "set" is also a horrible name, it's both a common verb and noun with different meanings |
08:40:08 | * | endragor quit (Remote host closed the connection) |
08:40:37 | * | endragor joined #nim |
08:47:37 | Tanger | Awesome, thanks Araq! |
08:52:38 | * | claudiuinberlin joined #nim |
09:03:29 | * | gmpreussner quit (Ping timeout: 268 seconds) |
09:05:31 | * | gmpreussner joined #nim |
09:13:15 | * | vlad1777d joined #nim |
09:25:42 | * | solitudesf quit (Ping timeout: 272 seconds) |
09:27:02 | FromGitter | <gokr> @mratsim Thanks ;) |
09:32:19 | * | ftsf joined #nim |
09:32:36 | * | Vladar quit (Quit: Leaving) |
09:33:10 | ftsf | hmm having trouble with nim's stb-image wrapper when building a windows build, it fails to open a png with "unknown image type", but works fine when building for windows. |
09:33:19 | ftsf | err replace last windows with linux |
09:37:47 | PMunch | ftsf, reminds me of Imlib errors. It might have each file format split into it's own package |
09:37:58 | PMunch | So it requires some extra package to read the PNG format |
09:38:15 | * | Vladar joined #nim |
09:38:22 | ftsf | hmm, tis a single file header library |
09:38:46 | PMunch | Ah, probably not that then :P |
09:39:10 | ftsf | no idea why it would be different on a windows build to a linux build |
09:40:05 | PMunch | You didn't #define STBI_NO_PNG? |
09:40:05 | PMunch | :P |
09:40:52 | ftsf | ahh actually, it has a warning on build. Warning: resolving @stbi_load@20 by linking to _stbi_load |
09:40:55 | ftsf | wonder if that's related |
09:43:13 | ftsf | argh, now i'm more confused, it loads one png but not another on the windows build. |
09:44:46 | PMunch | Maybe one of the PNGs use an unsupported format? |
09:45:00 | ftsf | but it's supported on the linux build, just not the windows one it seems |
09:45:06 | ftsf | even though it's the same library |
09:45:35 | PMunch | Hmm, that is weird :P |
09:45:48 | ftsf | yep! |
09:49:25 | ftsf | will try replace with nimpng |
09:50:53 | * | vlad1777d quit (Ping timeout: 256 seconds) |
09:55:00 | PMunch | Hmm, Araq doesn't returning "proc (hello: typeGetter(otherProc))" from a macro work in stable? |
09:55:13 | PMunch | typeGetter is a macro that extracts the return type of the proc |
09:55:34 | PMunch | It works fine on 0.17.3, but not on 0.17.2 |
09:56:40 | ftsf | ergh, installing nimPNG is horrible, looks like all the test image data needs to be downloaded to install =( |
09:56:50 | PMunch | Haha :P |
09:56:53 | ftsf | 11MB ... 25% |
09:57:06 | PMunch | Hmm, dom96 any plans to make choosenim support bisecting? |
09:58:24 | ftsf | hmm nimble doesn't show git download progress, makes big git clones seem like it's frozen |
10:00:19 | * | arecaceae quit (Remote host closed the connection) |
10:00:42 | * | arecaceae joined #nim |
10:04:43 | PMunch | Huh, FM just got shut down where I live |
10:04:59 | ftsf | FM? |
10:05:01 | PMunch | Like literally they turned off the senders right now |
10:05:06 | PMunch | Yeah, radio |
10:05:06 | ftsf | radio? |
10:05:08 | ftsf | ahh |
10:05:15 | PMunch | We're switching to DAB |
10:05:29 | PMunch | Or technically DAB+ |
10:05:52 | ftsf | think that happened here years ago, but didn't affect me since i haven't listened to radio since i was a kid in my parent's car |
10:06:48 | ftsf | switched over here in 2009 apparently |
10:07:25 | ftsf | PMunch, where are you based? |
10:07:48 | PMunch | Norway |
10:08:13 | PMunch | And I think you've got something mixed up, as Norway is the first country to do a complete FM switchoff and going 100% DAB |
10:09:42 | ftsf | Dunno if the whole country here switched off FM, but digital radio seems to have been rolled out a long time ago here. maybe FM is still going? |
10:11:49 | PMunch | Probably |
10:12:40 | pwntus | The switchoff was probably unavoiDABle. |
10:12:45 | PMunch | We've got DAB since 1995 apparently, hasn't really been popular though until recently |
10:13:06 | PMunch | Haha -_- |
10:19:20 | FromGitter | <mratsim> Following up on #nim-offtopic, any thoughts on Design by Contract vs checked Exceptions vs plain assert? Design by Contract seems nice to me in theory but verbose in practice. |
10:20:56 | Araq | Design by contract is dead, use 'assert' :-) |
10:23:21 | PMunch | pwntus, have you started to look at Nim? Or have you set your IRC client up to highlight you on mentions of DAB? :P |
10:25:13 | Araq | more seriously, i fail to see the point of design by contract. more syntactic options for 'assert' ain't gonna make a difference for a proof engine |
10:25:49 | Araq | and I've written one (compiler/guards.nim) so I think I know a little bit about it |
10:27:39 | pwntus | PMunch I've been on-and-off regarding Nim, but never really gotten the time. Will probably fiddle around some more during Christmas vacay. Also, I'm always in search of a pun. |
10:28:19 | PMunch | Haha, a good pun is worth searching for :) |
10:37:26 | Araq | optimizers and proof engines work on a canonicalized representation, the first thing they do is to throw away multiple syntaxes for 'assert' |
10:38:07 | Araq | but maybe we also need an 'assume' |
10:42:16 | * | xkapastel quit (Quit: Connection closed for inactivity) |
10:43:00 | floppydh | Araq: how would that differ? |
10:44:19 | Araq | 'assume' means "assume the condition to be true for the further proof steps but rely on the programmer's wisdom that this condition holds" |
10:45:04 | floppydh | so it doesnt actually check it |
10:45:51 | * | skrylar joined #nim |
10:52:48 | Araq | no but it needs it later on |
10:56:42 | * | geocar joined #nim |
11:01:45 | * | dddddd quit (Remote host closed the connection) |
11:05:40 | FromGitter | <alehander42> are asserts used in flow dependent checking? e.g. if I say assert a[0].kind == X |
11:13:33 | * | skrylar quit (Ping timeout: 264 seconds) |
11:22:10 | Araq | no they are not. probably they should be but that's besides the discussion of DbC |
11:24:08 | FromGitter | <mratsim> I finished a rough doc autogeneration for Arraymancer with navigation heavily inspired by @flyx https://nimyaml.org/ (if it's fine with you). Next version will be this weekend on Nimble. A config/docgen tool like Nim's website.ini https://github.com/nim-lang/Nim/blob/devel/web/website.ini in stdlib would be awesome for complex docs. |
11:37:31 | Araq | go for it :-) |
11:45:01 | FromGitter | <mratsim> I don't like websites :P I'd rather deal with SSE, AVX, ARM Neon than iPhone & Android browsers, Firefox, Chrome and what not :D. |
11:55:06 | * | skrylar joined #nim |
12:00:21 | * | skrylar quit (Ping timeout: 264 seconds) |
12:22:14 | * | marenz__ joined #nim |
12:27:33 | * | Snircle joined #nim |
12:31:44 | yglukhov | should instantiationInfo work in macros? |
12:47:39 | * | arnetheduck quit (Remote host closed the connection) |
12:52:47 | * | SenasOzys joined #nim |
12:56:55 | flyx | mratsim: if it works for you, great, use it :) |
13:29:39 | * | endragor quit (Read error: Connection reset by peer) |
13:30:17 | * | endragor joined #nim |
13:39:12 | * | endragor quit (Remote host closed the connection) |
13:41:37 | * | solitudesf joined #nim |
13:44:25 | FromGitter | <Quelklef> sorry for disappearing @nim_newb but thanks for the windows installation advice, I'll try it if it becomes relevant again |
13:59:52 | * | endragor joined #nim |
14:23:45 | * | endragor quit (Remote host closed the connection) |
14:24:19 | * | endragor joined #nim |
14:25:47 | FromGitter | <ephja> `Foo[int8, int8]` works with `Foo[T:type int8; U: type int8]` but not `Foo[T: int8; U: int8]` |
14:26:12 | FromGitter | <ephja> `type` is actually only needed for one of the generic types |
14:28:47 | * | endragor quit (Ping timeout: 248 seconds) |
14:30:06 | FromGitter | <ephja> I should just see how much magic I can rely on after each batch of fixes by zah :p |
14:37:30 | FromGitter | <Yardanico> BTW, for me the best new feature so far is https://github.com/nim-lang/Nim/tree/async-tracebacks :) |
14:39:12 | * | endragor joined #nim |
14:40:02 | FromGitter | <Yardanico> (of course I'm not saying that others are bad) |
14:42:14 | * | endragor_ joined #nim |
14:43:43 | * | endragor quit (Ping timeout: 248 seconds) |
14:43:56 | * | solitudesf quit (Quit: solitudesf) |
14:44:26 | * | solitudesf joined #nim |
14:46:38 | * | natrys joined #nim |
14:54:03 | * | gokr quit (Ping timeout: 256 seconds) |
14:54:21 | FromGitter | <RedBeard0531> @Araq how do I make koch test use multiple cores? It seems to only use one on my box. |
14:56:32 | * | endragor joined #nim |
14:57:10 | Araq | for me it uses 100% CPU |
14:57:32 | Araq | not consistently, but consistently enough to make this IRC client sluggish |
14:58:59 | Araq | I typed 'koch tests' |
14:59:43 | Araq | it was a recent addition though, only works on devel |
14:59:43 | FromGitter | <RedBeard0531> Maybe it is that I did "koch test". I'll see if the s helps |
15:01:48 | Araq | it is not only my machine btw, travis and appveyor got noticably faster when we enabled this feature |
15:02:42 | FromGitter | <RedBeard0531> I'm on devel from monday. I think it just doesn't mix with an explicit cat. It seems like "koch tests" is parallel, but "koch test cat stdlib" isn't |
15:03:04 | Araq | yes, the parallelism is per category |
15:03:10 | Araq | not within a category |
15:03:28 | planetis[m] | Hello guys. If I have js code like this: https://www.w3schools.com/js/js_function_call.asp how do I wrap person.fullName.call(myObject); in my code? |
15:03:35 | FromGitter | <RedBeard0531> Ah, I'll edit my GH issue then :) |
15:04:20 | Araq | parallel cats require a different nimcache setup |
15:04:32 | Araq | feel free to work on that |
15:04:54 | Araq | it's not hard, osproc.execProcesses does all the work |
15:06:26 | * | geocar quit (Quit: Connection closed for inactivity) |
15:07:24 | FromGitter | <RedBeard0531> I'll take a look. My side-project is reimplementing the ninja build system in nim, so I've got some experience with that lib. |
15:08:10 | Araq | planetis[m], .importcpp: "#.call(@)" |
15:09:53 | planetis[m] | thanks araq |
15:12:11 | * | endrago__ joined #nim |
15:12:28 | * | Jesin joined #nim |
15:13:09 | planetis[m] | do the parameters need to be varargs? |
15:14:36 | Araq | nah. |
15:17:32 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
15:22:03 | planetis[m] | ok with trial and error I got it to produce the js code I wanted |
15:26:44 | FromGitter | <mratsim> What's the use case for `Foo[T:type int8; U: type int8]`? |
15:28:46 | * | nsf quit (Quit: WeeChat 1.9.1) |
15:31:22 | Araq | mixin based symbol lookup for non-generics? |
15:31:28 | Araq | no idea really lol |
15:32:34 | FromGitter | <RedBeard0531> Is there a good way to invert a set[T]? or equivalently to get a set with all 1 bits? |
15:33:53 | Araq | {low(x)..high(x)} |
15:34:21 | Araq | {low(x)..high(x)} - {elemIcareAbout} |
15:34:50 | FromGitter | <mratsim> I suppose it can be used to as an alternative to `proc fooT: SomeInteger;U: SomeReal (x: typedesc[T], y: typedesc[U])` which is quite a mouthful. |
15:35:39 | FromGitter | <mratsim> By the way, there is an `inl` pragma? Or is this just for the compiler: https://github.com/nim-lang/Nim/commit/e016c9253e7b02ad4781452067dad980c677f61e |
15:37:33 | Araq | lib\system\inclrtl.nim |
15:37:33 | Araq | 35: {.pragma: inl.} |
15:37:33 | Araq | 45: {.pragma: inl.} |
15:37:33 | Araq | 49: {.pragma: inl, inline.} |
15:37:50 | Araq | it's only for the people who know what it does |
15:38:17 | Araq | or the people who copy it from somewhere else and get it right |
15:46:12 | * | BitPuffin|osx joined #nim |
15:47:16 | * | SenasOzys quit (Ping timeout: 260 seconds) |
16:01:07 | FromGitter | <Yardanico> IIRC it's inline which knows about nim rtl :) |
16:09:03 | * | SenasOzys joined #nim |
16:13:46 | * | Jesin quit (Quit: Leaving) |
16:14:26 | * | PMunch quit (Quit: Leaving) |
16:15:04 | * | floppydh quit (Quit: WeeChat 1.9.1) |
16:16:33 | * | natrys quit (Ping timeout: 264 seconds) |
16:17:11 | * | gokr joined #nim |
16:24:58 | * | gokr quit (Ping timeout: 272 seconds) |
16:29:06 | * | dddddd joined #nim |
16:29:48 | * | natrys joined #nim |
16:33:14 | * | gmpreussner quit (Quit: kthxbye) |
16:35:45 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
16:37:41 | * | Jesin joined #nim |
16:39:52 | * | gmpreussner joined #nim |
16:45:43 | * | PMunch joined #nim |
16:50:54 | * | marenz_ joined #nim |
16:52:50 | * | marenz__ quit (Ping timeout: 272 seconds) |
16:53:38 | * | nsf joined #nim |
17:15:12 | * | d10n-work joined #nim |
17:17:38 | * | yglukhov quit (Remote host closed the connection) |
17:20:49 | * | yglukhov joined #nim |
17:25:16 | * | yglukhov quit (Ping timeout: 260 seconds) |
17:25:16 | * | rbrt joined #nim |
17:28:18 | * | chemist69 quit (Ping timeout: 246 seconds) |
17:29:23 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
17:42:40 | * | chemist69 joined #nim |
17:43:56 | * | solitudesf quit (Quit: solitudesf) |
17:46:33 | * | endrago__ quit (Remote host closed the connection) |
17:50:43 | * | Vladar quit (Quit: Leaving) |
17:51:47 | * | miran joined #nim |
18:10:24 | * | yglukhov joined #nim |
18:14:00 | * | yglukhov quit (Remote host closed the connection) |
18:14:16 | * | yglukhov joined #nim |
18:27:29 | * | Jesin quit (Quit: Leaving) |
18:29:31 | * | xkapastel joined #nim |
18:29:47 | * | Jesin joined #nim |
18:34:09 | * | Trustable joined #nim |
18:38:02 | * | krakers_ joined #nim |
18:38:24 | krakers_ | hey all, anyone using nim for embedded development? :) |
18:40:15 | PMunch | I've been meaning to try it for quite a while. But haven't gotten around to it |
18:44:38 | krakers_ | ok |
18:47:27 | * | endrago__ joined #nim |
18:48:18 | FromGitter | <zacharycarter> krakers_: http://disconnected.systems/blog/nim-on-adruino/ |
18:51:22 | krakers_ | thanks zachary |
18:52:03 | * | endrago__ quit (Ping timeout: 256 seconds) |
18:54:03 | federico3 | krakers_: what type of embedded? I've been using Nim on atmegas |
18:54:56 | krakers_ | well i have both an arduino uno and an stm32 nucleo available |
18:55:00 | * | nsf quit (Quit: WeeChat 1.9.1) |
19:14:18 | * | PMunch quit (Quit: leaving) |
19:17:02 | * | miran quit (Quit: Konversation terminated!) |
19:33:21 | * | rauss quit (Quit: WeeChat 2.0) |
19:33:29 | * | azy joined #nim |
19:33:33 | * | rauss joined #nim |
19:34:16 | FromGitter | <mratsim> @zacharycarter there is an error in your title, you wrote adruino. |
19:34:56 | azy | how can i (case insensitively) check if a string is in another (longer) string? |
19:40:30 | oprypin | azy, toLower on both, since there's no casefold |
19:42:32 | * | lastjedi joined #nim |
19:45:15 | * | wolfie__ joined #nim |
19:45:22 | * | wolfie__ quit (Client Quit) |
19:45:41 | * | c0ntribut0r joined #nim |
19:57:29 | * | Vladar joined #nim |
20:03:07 | FromGitter | <zacharycarter> @mratsim I just found that blog post via google :P I'm not sure who authored it |
20:05:22 | * | solitudesf joined #nim |
20:07:31 | * | solitudesf quit (Client Quit) |
20:10:39 | * | SenasOzys quit (Remote host closed the connection) |
20:10:56 | * | SenasOzys joined #nim |
20:13:01 | * | solitudesf joined #nim |
20:21:51 | * | natrys quit (Quit: natrys) |
20:31:47 | * | SenasOzys quit (Ping timeout: 256 seconds) |
20:31:58 | FromGitter | <ephja> don't use the unittest module if you are bad at avoiding segfaults :p |
20:34:28 | * | nsf joined #nim |
20:37:27 | * | lastjedi quit (Ping timeout: 256 seconds) |
20:37:49 | * | Trustable quit (Remote host closed the connection) |
20:42:20 | * | SenasOzys joined #nim |
20:43:36 | * | shodan45 quit (*.net *.split) |
20:43:37 | * | Gertm quit (*.net *.split) |
20:43:50 | * | shodan45 joined #nim |
20:43:51 | * | Gertm joined #nim |
20:45:56 | * | mwbrown quit (Ping timeout: 259 seconds) |
20:48:49 | * | mwbrown joined #nim |
20:52:20 | * | krakers_ quit (Quit: Page closed) |
20:55:10 | * | NimBot joined #nim |
20:56:13 | * | rbrt quit (Quit: Oíche mhaith) |
21:02:58 | * | c0ntribut0r quit (Quit: c0ntribut0r) |
21:15:09 | * | qih joined #nim |
21:17:47 | qih | . |
21:18:27 | * | Jesin quit (Ping timeout: 240 seconds) |
21:19:42 | * | couven92 joined #nim |
21:24:44 | * | Jesin joined #nim |
21:26:33 | * | tankfeeder_ joined #nim |
21:27:14 | * | tankfeeder_ quit (Client Quit) |
21:28:02 | * | couven92 quit (Quit: Disconnecting) |
21:32:09 | * | Vladar quit (Quit: Leaving) |
21:41:37 | * | Jesin quit (Ping timeout: 255 seconds) |
21:43:59 | * | vlad1777d joined #nim |
21:52:05 | * | yglukhov quit (Remote host closed the connection) |
21:57:24 | * | Snircle joined #nim |
22:06:13 | * | Jesin joined #nim |
22:07:35 | * | nsf quit (Quit: WeeChat 1.9.1) |
22:08:13 | Araq | can anybody confirm nimsuggest uses less space now with the new allocator? |
22:10:31 | shashlick | question: what's the best way to do IPC in Nim |
22:10:38 | * | vivus joined #nim |
22:12:23 | FromGitter | <zetashift> @Araq I can check do I need to pull in latest Nim and then koch tools? |
22:12:28 | Araq | dunno, nanomsg wrapper? |
22:12:34 | Araq | zetashift: exactly |
22:12:39 | FromGitter | <zetashift> on it |
22:15:53 | shashlick | Araq: this is great - i'll check it out thanks! |
22:31:26 | * | vlad1777d quit (Remote host closed the connection) |
22:31:42 | shashlick | cheatfate also has asynctools\asyncpipe and asyncipc worth consideration |
22:32:44 | FromGitter | <zetashift> previous usage: 40mb in 1 buffer of spacemacs and after updating: same |
22:32:57 | * | vlad1777d joined #nim |
22:33:01 | FromGitter | <zetashift> @Araq it stays the same huh |
22:33:26 | Araq | 40mb is nothing |
22:33:35 | FromGitter | <zetashift> I'm not complaining :D |
22:33:53 | Araq | once it gets into the gigabyte range things get interesting |
22:34:05 | FromGitter | <zetashift> It had a memory leak? |
22:34:37 | Araq | I bet it still has but it should be better now |
22:34:56 | Araq | as I said, Gc doesn't help when you have a logical leak |
22:35:50 | * | yglukhov joined #nim |
22:37:14 | dom96 | shashlick: maybe this would help https://github.com/dom96/nim-jsonrpc |
22:38:17 | shashlick | dom96: cool, will check it out |
22:38:47 | shashlick | basically thinking of writing a simple ssh client that makes it easy to script |
22:39:03 | shashlick | so open a connection to a server, auth etc. and then listen locally |
22:39:18 | shashlick | every subsequent call will use that pipe to execute a remote command |
22:39:36 | shashlick | so you can run in a local script, rather than rely on remote scripting, if it is even available |
22:41:41 | shashlick | probably reinventing the wheel somewhere there but fun nonetheless |
22:44:08 | * | yglukhov quit (Ping timeout: 240 seconds) |
22:48:05 | * | solitudesf quit (Ping timeout: 240 seconds) |
22:57:12 | dom96 | sounds like a fun project :) |
22:58:00 | * | gokr joined #nim |
22:59:56 | * | rbrt joined #nim |
23:09:36 | * | rbrt quit (Quit: Slán agat) |
23:30:12 | FromGitter | <zacharycarter> https://www.blog.google/products/google-vr/save-development-time-our-new-3d-debugging-tool/ |
23:31:32 | * | Jesin quit (Quit: Leaving) |
23:38:13 | FromGitter | <Varriount> @zacharycarter I'm reminded of some sci-fi novels I have read, where programming is done using 3d representations of a program, rather than a 2d textual format. |
23:41:31 | FromGitter | <zacharycarter> would be a neat thing for sure |
23:42:31 | FromGitter | <zacharycarter> I still wonder about - http://www.luna-lang.org/ and whether it will ever materialize into anything beyond a private alpha |
23:51:26 | FromGitter | <Varriount> @Araq Did you read up on dlmalloc? |
23:52:22 | FromGitter | <Varriount> And some of the other allocators mentioned on the tlsf malloc website? I didn't think memory allocation was something researchers would be interested in. |
23:55:40 | * | qwertfisch is now known as querfisch |