00:03:44 | ForumUpdaterBot | New thread by Masiarek2: Strscans - Error: undeclared identifier: 'scanf', see https://forum.nim-lang.org/t/8062 |
00:35:53 | * | arkurious quit (Quit: Leaving) |
00:44:58 | * | Gustavo6046 quit (Remote host closed the connection) |
00:45:48 | * | NimBot joined #nim |
00:46:31 | * | Gustavo6046 joined #nim |
00:56:24 | * | nphg1 joined #nim |
00:58:46 | * | nphg quit (Ping timeout: 240 seconds) |
02:26:21 | FromDiscord | <exelotl> uuuh how do I get the max number if items a set can hold? |
02:26:30 | FromDiscord | <exelotl> (edit) "if" => "of" |
02:28:35 | FromDiscord | <exelotl> a bit ugly but I guess I could use typetraits |
02:28:56 | FromDiscord | <ElegantBeef> isnt it just `int16.high` |
02:29:54 | FromDiscord | <ElegantBeef> If you dont mind depending on develop you can just do `fullset(set[T]).len` ๐ |
02:30:12 | FromDiscord | <ElegantBeef> Embrace `devel` https://nim-lang.github.io/Nim/setutils.html#fullSet%2Ctypedesc%5BT%5D |
02:30:47 | FromDiscord | <ElegantBeef> ah that would be `fullset(T)` been a while since i wrote it |
02:34:07 | FromDiscord | <exelotl> sent a code paste, see https://play.nim-lang.org/#ix=3onK |
02:34:10 | FromDiscord | <exelotl> sucks that i can't just do `n in elementType(a)` |
02:34:46 | FromDiscord | <exelotl> but yeah fullset would be good for this |
02:34:57 | FromDiscord | <exelotl> I can't use devel though |
02:35:14 | FromDiscord | <exelotl> got a friend who needs to be able to build the project :P |
02:35:18 | FromDiscord | <ElegantBeef> Ah shame |
02:43:15 | FromDiscord | <Alea> quick question, are there any memory safety mechanisms with the GC turned off? or is it wild west style? |
02:48:25 | FromDiscord | <Rika> wild west |
03:00:53 | * | kitech1 joined #nim |
03:01:41 | * | kitech1- quit (Ping timeout: 260 seconds) |
03:11:37 | FromDiscord | <exelotl> Yeehaw |
03:12:16 | FromDiscord | <exelotl> Well you still get bounds checks unless you disable them |
03:13:40 | FromDiscord | <exelotl> All checks really, including null access checks |
03:14:06 | FromDiscord | <exelotl> So you don't inherently lose any safety with --gc:none |
03:15:54 | FromDiscord | <Rika> oh i was just thinking of runtime |
03:16:00 | FromDiscord | <Rika> yeah thats true |
03:16:43 | FromDiscord | <exelotl> Wait, are pointers actually checked? I might be wrong |
03:17:30 | FromDiscord | <exelotl> like is there ever a nil check applied to something like p[] ? |
03:25:26 | * | spiderstew joined #nim |
03:26:18 | ForumUpdaterBot | New thread by Codic12: Writing a kernel in Nim , see https://forum.nim-lang.org/t/8063 |
03:26:48 | * | spiderstew_ quit (Ping timeout: 258 seconds) |
03:50:06 | FromDiscord | <Alea> So for performance intensive programs that can't really use a GC is it better to go for something like Rust? |
03:50:21 | FromDiscord | <ElegantBeef> We have Arc which is akin to the rust memory management |
03:51:24 | FromDiscord | <Hi02Hi> sent a code paste, see https://play.nim-lang.org/#ix=3onU |
03:54:17 | FromDiscord | <ElegantBeef> In reply to @Alea "So for performance intensive": Even though it's enabled with `--gc` arc is a static memory management system without a cycle collector, so if you dont have any cycles it's very very usable in performance intensive programs |
03:54:38 | FromDiscord | <ElegantBeef> Then you have Orc which is Arc + cycle collector for if you're uncertain or know you have cyles |
03:55:51 | FromDiscord | <Alea> And cycle collector is expensive to run I suppose? |
03:56:54 | FromDiscord | <ElegantBeef> I dont think that's the case but i could be wrong |
03:58:39 | FromDiscord | <ElegantBeef> It vastly reduces latency and memory consumption, but can be slower than a classical gc depending on what you're doing |
03:58:56 | FromDiscord | <ElegantBeef> But that's just par for the course for that memory management |
04:11:26 | * | Gustavo6046 quit (Ping timeout: 240 seconds) |
04:17:47 | FromDiscord | <Rika> its nondeterministic is why its not in arc |
04:18:00 | FromDiscord | <Rika> or is it indeterministic the word, whatever |
04:18:02 | FromDiscord | <Rika> english dum |
04:18:19 | FromDiscord | <Rika> go with a normal gc if you need throughput |
04:18:31 | FromDiscord | <Rika> if you want low latency you go with arc |
04:18:45 | FromDiscord | <Rika> stop the incorrect assumption that "gc == bad" |
04:19:16 | FromDiscord | <ElegantBeef> Stop the world is bad though ๐ |
04:26:12 | FromDiscord | <Rika> Aka Go and Java? I don't remember |
04:26:14 | * | johnnynitwits quit (Read error: Connection reset by peer) |
04:26:27 | FromDiscord | <Rika> But even then there are use cases where they are sufficient or even better |
04:27:37 | * | johnnynitwits joined #nim |
04:27:44 | FromDiscord | <ElegantBeef> Yea there are reasons for them all, stop the world is terrible for games |
04:28:00 | FromDiscord | <ElegantBeef> Looks at MC's sawtooth gc frames |
04:35:19 | FromDiscord | <Hi02Hi> you can control the gc, check out https://nim-lang.org/docs/gc.html |
04:53:23 | FromGitter | <bung87> https://github.com/bung87/amysql/blob/862acff2d4ebb15a6f37c01878769dabf0f51fed/src/amysql/conn_connection.nim#L67 I got access nil , when I debug the message I found it send extro time with partial data `10001` which is unexpected, any clue? |
04:59:36 | FromGitter | <bung87> maybe it is ExitProc which send `10001` first then log the `Illegal storage access` error |
05:16:34 | * | rockcavera quit (Remote host closed the connection) |
05:22:17 | * | narimiran joined #nim |
06:03:06 | * | aeverr quit (Ping timeout: 240 seconds) |
06:28:59 | * | kitech1 quit (Quit: ZNC 1.7.5 - https://znc.in) |
06:29:18 | * | kitech1 joined #nim |
07:00:30 | * | Vladar joined #nim |
07:03:28 | * | PMunch joined #nim |
07:06:24 | FromGitter | <bung87> my bad , I cast ref T.unsafeAddr to pointer |
07:43:58 | * | xet7 quit (Ping timeout: 252 seconds) |
08:03:57 | * | Arrrrrrrr joined #nim |
08:10:50 | ForumUpdaterBot | New thread by FabienPRI: Atomic and threads, see https://forum.nim-lang.org/t/8064 |
08:20:24 | * | NimBot joined #nim |
08:24:37 | * | NimBot joined #nim |
08:49:32 | PMunch | Hmm, is it right that we get the warning for GC'ed memory from a global variable in a thread when using ARC? |
08:52:22 | FromDiscord | <ElegantBeef> I believe so |
08:55:43 | PMunch | But doesn't ARC have a shared heap? |
08:59:58 | * | krux02 joined #nim |
09:00:58 | FromDiscord | <ElegantBeef> Sure but the analysizer still warns you, need to override with the `{.cast(gcsafe).}:` |
09:05:16 | * | aeverr joined #nim |
09:07:22 | FromDiscord | <konsumlamm> In reply to @exelotl "like is there ever": no, you just get a segfault (with a message that the cause may be dereferencing nil) |
09:07:28 | * | theelous3 joined #nim |
09:43:48 | PMunch | @ElegantBeef, but is the warning relevant? |
09:44:10 | PMunch | If not then it should probably not be displayed, specially if ORC is going to be the default moving forward.. |
09:56:22 | * | hyiltiz quit (Ping timeout: 246 seconds) |
09:57:50 | * | hyiltiz joined #nim |
09:57:50 | * | hyiltiz quit (Changing host) |
09:57:50 | * | hyiltiz joined #nim |
10:09:27 | FromDiscord | <Varriount> In reply to @Rika "or is it indeterministic": "indeterministic" would be roughly equivalent to "unknown", while "nondeterministic" means "not deterministic". |
10:09:47 | FromDiscord | <Rika> okay |
10:10:05 | FromDiscord | <Rika> its "indeterminate" what you mean |
10:10:53 | FromDiscord | <Varriount> I'm just using the word you used. |
10:15:15 | * | neceve joined #nim |
10:36:22 | * | neceve quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
10:41:28 | FromDiscord | <Varriount> In reply to @PMunch "<@145405730571288577>, but is the": Arc doesn't have a shared heap. I believe Araq was working on some sort of thread ownership mechanism. |
10:42:13 | PMunch | According to this it has a shared heap.. https://nim-lang.org/blog/2020/10/15/introduction-to-arc-orc-in-nim.html |
10:42:33 | FromDiscord | <clyybber> In reply to @Varriount "Arc doesn't have a": It is shared, but the refs are not atomic |
10:42:40 | PMunch | (Scroll down to the bullet list) |
10:42:47 | FromDiscord | <clyybber> so they have to be isolated to send over |
10:42:51 | FromDiscord | <clyybber> to a different thread |
10:44:22 | PMunch | Aah, right |
10:44:39 | PMunch | I really wish there were more documentation on how ARC and threading works.. |
10:47:49 | * | neceve joined #nim |
11:03:28 | ForumUpdaterBot | New thread by Didlybom: Nimble detected as Trojan.Gen.MBT by Symantec Endpoint Protection v14, see https://forum.nim-lang.org/t/8065 |
11:10:54 | * | tane joined #nim |
11:19:36 | * | theelous3 quit (Read error: Connection reset by peer) |
11:21:47 | Arrrrrrrr | Always suspected nimble is a virus. |
11:26:12 | PMunch | Guess it's time to switch to nimph :P |
11:27:22 | FromDiscord | <konsumlamm> until it get's so popular that it's also classified as a virus |
11:27:36 | FromDiscord | <konsumlamm> at which point we could maybe switch back to nimble |
11:28:16 | FromGitter | <bung87> does macOS has concurrent limit in kernel ? I can only perform around 100 concurrent requests.. |
11:31:59 | ForumUpdaterBot | New Nimble package! ass - Nim bindings for libass., see https://github.com/0kalekale/libass-nim |
11:32:48 | FromDiscord | <Airbus5717> Wtf |
11:35:33 | PMunch | I guess nimph would be just as susceptible to be flagged as malware. I think the problem is that a couple malwares have been written in Nim lately and the AV vendors incorrectly fingerprint Nim stuff as common between the malwares and just flags everything looking like that as malware |
11:35:41 | FromDiscord | <konsumlamm> whoever decided to name a library libass must have lost their mind |
11:35:55 | FromDiscord | <konsumlamm> or they thought it was funny |
11:35:59 | FromDiscord | <konsumlamm> or both |
11:36:05 | FromDiscord | <Rika> the filename is ass |
11:36:13 | FromDiscord | <Rika> libass edits ass files |
11:36:28 | FromDiscord | <Rika> ass files is abbr. of "advanced ssa" |
11:37:00 | FromDiscord | <konsumlamm> ok, whoever decided to name a file format ass must have lost their mind |
11:37:02 | FromDiscord | <konsumlamm> better? |
11:38:08 | FromDiscord | <Rika> ig |
11:40:52 | * | MarderIII joined #nim |
11:54:47 | * | rockcavera joined #nim |
11:58:47 | FromDiscord | <kalekale> its advanced sub station(.ass), advance version of sub station alpha(.ssa) |
11:58:52 | FromDiscord | <kalekale> (edit) "its ... advanced" added "a" |
11:59:01 | FromDiscord | <kalekale> (edit) removed "a" |
12:00:07 | FromDiscord | <kalekale> its mostly used for softsubbing anime |
12:03:03 | * | arkurious joined #nim |
12:10:26 | * | Vladar quit (Read error: Connection reset by peer) |
12:11:37 | * | Vladar joined #nim |
12:30:22 | FromDiscord | <shiMusa> Hey all,โตis there a way to use zig as the c compiler?โตI've seen https://github.com/nim-lang/Nim/pull/13757โตbut using `cc:zig` doesn't work since zig is not an "available option" (yes, zig is installed and in the environmental variables, Win 10) |
12:30:46 | FromDiscord | <shiMusa> (edit) "`cc:zig`" => "`--cc:zig`" |
12:32:18 | PMunch | @shiMusa, which branch are you using? I'm guessing that has only been merged into devel/nightly and not into the latest release |
12:32:35 | FromDiscord | <shiMusa> In reply to @PMunch "<@372035922671435787>, which branch are": latest stable |
12:33:04 | PMunch | Try devel |
12:34:45 | FromDiscord | <shiMusa> just switched, still not there.โตAlso, the issue was from mid 2020 |
12:34:57 | FromGitter | <BracketMaster> I'm trying to write an array to PNG in Nim ,and can't quite figure out how to do it |
12:35:19 | FromGitter | <BracketMaster> there's this: https://github.com/jangko/nimpng โ but not quite sure how to use it |
12:38:13 | PMunch | @BracketMaster, not sure what you're stuck on.. |
12:43:14 | FromDiscord | <exelotl> Here's how I use it: https://github.com/exelotl/trick/blob/master/src/trick/gfxconvert.nim#L227 |
12:43:48 | PMunch | @shiMusa, ah it seems like it was removed: https://github.com/nim-lang/Nim/commit/1b2b32169a5d8089a50509136a31b5ceb3773994 |
12:44:18 | FromDiscord | <exelotl> Though tbf I might be using the legacy api, I have no idea what's going on with nimPNG's interface xD |
12:45:30 | PMunch | You just create a sequence of colours, then you save it as a png? |
12:45:43 | FromGitter | <BracketMaster> me neither, not sure how to use nimPNG - I want to go from simple 2d array to file |
12:46:01 | FromGitter | <BracketMaster> https://github.com/jangko/nimpng#encoding |
12:46:13 | FromGitter | <BracketMaster> `` png.addDefaultImage(framePixels, w, h, ctl)`` |
12:46:19 | FromGitter | <BracketMaster> what on earth is framePixels? |
12:46:21 | PMunch | That's for animated PNGs.. |
12:46:40 | PMunch | Do you have a 2d array, or a 2d seq? |
12:49:51 | FromGitter | <BracketMaster> 2d seq |
12:49:55 | FromGitter | <BracketMaster> there's also this: https://github.com/jrenner/nim-simplepng |
12:51:52 | * | MarderIII quit (Quit: Leaving) |
12:53:52 | FromGitter | <BracketMaster> yeah ok - its easier to use |
12:53:55 | FromGitter | <BracketMaster> so I guess I'm good |
12:55:08 | PMunch | 2D seq is a bit tricky with nimpng, you'd need to combine it into a single seq |
13:01:21 | PMunch | @BracketMaster, here is how you use nimPNG: http://ix.io/3opw |
13:01:34 | * | Arrrrrrrr quit (Quit: Arrrrrrrr) |
13:02:46 | FromGitter | <bung87> nimpng has savePNG32 |
13:05:59 | PMunch | Curiously enough this doesn't work: http://ix.io/3opy |
13:06:19 | PMunch | Even though it says it accepts openarray |
13:07:45 | FromDiscord | <clyybber> In reply to @shiMusa "just switched, still not": PMunch: What should work is just treating it as clang and overwriting the clang path |
13:08:44 | FromGitter | <bung87> it has savepng variant apis |
13:09:07 | FromGitter | <bung87> accept string seq and colors I remenber |
13:23:29 | * | hyiltiz quit (Ping timeout: 272 seconds) |
13:28:50 | * | xet7 joined #nim |
13:29:38 | * | hyiltiz joined #nim |
13:54:26 | * | PMunch quit (Ping timeout: 240 seconds) |
13:56:00 | * | PMunch joined #nim |
14:51:57 | * | letto quit (Quit: Konversation terminated!) |
14:52:35 | * | D_ quit (Ping timeout: 258 seconds) |
14:52:40 | * | letto joined #nim |
14:57:11 | * | D_ joined #nim |
15:03:37 | * | PMunch quit (Quit: leaving) |
15:12:04 | * | hyiltiz quit (Ping timeout: 246 seconds) |
15:13:36 | * | hyiltiz joined #nim |
15:13:36 | * | hyiltiz quit (Changing host) |
15:13:36 | * | hyiltiz joined #nim |
15:38:15 | FromDiscord | <haxscramper> https://www.youtube.com/watch?v=hOpAFmsNStg |
15:49:06 | * | narimiran quit (Ping timeout: 240 seconds) |
15:58:56 | * | theelous3 joined #nim |
16:01:05 | * | letto quit (Quit: Konversation terminated!) |
16:03:25 | * | letto joined #nim |
16:29:31 | * | ldlework quit (Quit: co'o ro do) |
16:30:05 | * | ldlework joined #nim |
16:34:48 | * | whaletechno quit (Quit: ha det bra) |
16:57:01 | ForumUpdaterBot | New thread by IridiumPoint: NIM Programming Language - video by Gamefromscratch, see https://forum.nim-lang.org/t/8066 |
17:03:42 | * | arecaceae quit (Remote host closed the connection) |
17:04:00 | * | arecaceae joined #nim |
17:04:57 | * | sagax joined #nim |
17:22:02 | FromDiscord | <deech> Is Status still using Nim? |
17:24:51 | leorize[m] | yes |
17:25:35 | dom96 | yep, see https://github.com/status-im |
17:25:38 | dom96 | why do you ask? |
17:26:22 | FromDiscord | <deech> Thanks, I should have searched, I forgot they make OSS. |
17:27:13 | * | gemath[m] quit (*.net *.split) |
17:27:13 | * | Northstrider[m] quit (*.net *.split) |
17:27:13 | * | motersen quit (*.net *.split) |
17:27:13 | * | fantis quit (*.net *.split) |
17:27:13 | * | robertmeta quit (*.net *.split) |
17:27:13 | * | fowl quit (*.net *.split) |
17:27:13 | * | skelett quit (*.net *.split) |
17:27:13 | * | siinamon quit (*.net *.split) |
17:27:13 | * | Yardanico quit (*.net *.split) |
17:27:13 | * | Araq quit (*.net *.split) |
17:27:13 | * | so quit (*.net *.split) |
17:27:13 | * | koltrast quit (*.net *.split) |
17:27:13 | * | JStoker quit (*.net *.split) |
17:27:13 | * | pauwel_kwak quit (*.net *.split) |
17:27:13 | * | sagax quit (*.net *.split) |
17:27:13 | * | ldlework quit (*.net *.split) |
17:27:13 | * | sacredfrog quit (*.net *.split) |
17:27:13 | * | teasea quit (*.net *.split) |
17:27:13 | * | Jesin quit (*.net *.split) |
17:27:13 | * | idxu quit (*.net *.split) |
17:27:13 | * | revere quit (*.net *.split) |
17:27:13 | * | jken quit (*.net *.split) |
17:27:13 | * | Vladar quit (*.net *.split) |
17:27:13 | * | nphg1 quit (*.net *.split) |
17:27:13 | * | FromDiscord quit (*.net *.split) |
17:27:13 | * | lain quit (*.net *.split) |
17:27:13 | * | conkker quit (*.net *.split) |
17:27:13 | * | mal`` quit (*.net *.split) |
17:27:13 | * | kaliy quit (*.net *.split) |
17:27:13 | * | Prestige quit (*.net *.split) |
17:27:13 | * | junland quit (*.net *.split) |
17:27:13 | * | MTRNord quit (*.net *.split) |
17:27:13 | * | Hasnep[m] quit (*.net *.split) |
17:27:13 | * | dithpri[m] quit (*.net *.split) |
17:27:13 | * | cheer[m] quit (*.net *.split) |
17:27:13 | * | ee7[m] quit (*.net *.split) |
17:27:14 | * | Clonkk[m] quit (*.net *.split) |
17:27:14 | * | goblinslayer[m] quit (*.net *.split) |
17:27:14 | * | reversem3 quit (*.net *.split) |
17:27:14 | * | mahlon quit (*.net *.split) |
17:27:14 | * | aeverr quit (*.net *.split) |
17:27:14 | * | uvegbot quit (*.net *.split) |
17:27:14 | * | cornfeedhobo quit (*.net *.split) |
17:27:14 | * | snowolf quit (*.net *.split) |
17:27:14 | * | Onionhammer quit (*.net *.split) |
17:27:14 | * | BlitzWorks quit (*.net *.split) |
17:27:14 | * | dv^_^ quit (*.net *.split) |
17:27:14 | * | letto quit (*.net *.split) |
17:27:14 | * | rockcavera quit (*.net *.split) |
17:27:14 | * | D_ quit (*.net *.split) |
17:27:14 | * | neceve quit (*.net *.split) |
17:27:14 | * | asrp[m] quit (*.net *.split) |
17:27:14 | * | Benjamin[m]2 quit (*.net *.split) |
17:27:14 | * | leorize[m] quit (*.net *.split) |
17:27:14 | * | Edoardo[m] quit (*.net *.split) |
17:27:14 | * | Gambit[m] quit (*.net *.split) |
17:27:14 | * | wanr[m] quit (*.net *.split) |
17:27:14 | * | altarrel quit (*.net *.split) |
17:27:14 | * | bluemax[m] quit (*.net *.split) |
17:27:14 | * | vegai quit (*.net *.split) |
17:27:14 | * | Guest007[m] quit (*.net *.split) |
17:27:14 | * | lnxw37d4 quit (*.net *.split) |
17:27:14 | * | Jjp137 quit (*.net *.split) |
17:27:14 | * | npgm quit (*.net *.split) |
17:27:14 | * | d10n-work quit (*.net *.split) |
17:27:14 | * | beatmox quit (*.net *.split) |
17:27:14 | * | fredsted quit (*.net *.split) |
17:27:14 | * | rayman22201 quit (*.net *.split) |
17:27:14 | * | vqrs quit (*.net *.split) |
17:27:14 | * | nickster quit (*.net *.split) |
17:27:14 | * | krux02 quit (*.net *.split) |
17:27:14 | * | spiderstew quit (*.net *.split) |
17:27:14 | * | FromGitter quit (*.net *.split) |
17:27:14 | * | crem1 quit (*.net *.split) |
17:27:14 | * | zuckerberg[m] quit (*.net *.split) |
17:27:14 | * | bfgcoding[m] quit (*.net *.split) |
17:27:14 | * | Avahe[m] quit (*.net *.split) |
17:27:14 | * | CodeBitCookie[m] quit (*.net *.split) |
17:27:14 | * | Zoom[m] quit (*.net *.split) |
17:27:14 | * | npham[m] quit (*.net *.split) |
17:27:14 | * | fbpyr[m] quit (*.net *.split) |
17:27:14 | * | customer[m] quit (*.net *.split) |
17:27:14 | * | euantorano quit (*.net *.split) |
17:27:14 | * | asdflkj quit (*.net *.split) |
17:27:14 | * | dom96 quit (*.net *.split) |
17:27:14 | * | Oddmonger quit (*.net *.split) |
17:27:14 | * | k0mpjut0r quit (*.net *.split) |
17:27:14 | * | cadmium[m] quit (*.net *.split) |
17:27:14 | * | jfondren[m] quit (*.net *.split) |
17:27:14 | * | DannyHpy[m] quit (*.net *.split) |
17:27:14 | * | stisa quit (*.net *.split) |
17:27:14 | * | Avatarfighter[m] quit (*.net *.split) |
17:27:14 | * | blackbeard420 quit (*.net *.split) |
17:27:14 | * | hoek quit (*.net *.split) |
17:27:14 | * | r4vi quit (*.net *.split) |
17:27:14 | * | omnigoat quit (*.net *.split) |
17:27:14 | * | mjsir911 quit (*.net *.split) |
17:27:14 | * | saem quit (*.net *.split) |
17:27:14 | * | termer quit (*.net *.split) |
17:27:14 | * | Fish-Face quit (*.net *.split) |
17:27:14 | * | mids quit (*.net *.split) |
17:27:14 | * | nikki93 quit (*.net *.split) |
17:27:14 | * | zielmicha__ quit (*.net *.split) |
17:27:14 | * | d10n quit (*.net *.split) |
17:27:14 | * | CcxWrk quit (*.net *.split) |
17:27:14 | * | void09 quit (*.net *.split) |
17:27:14 | * | hpyc9 quit (*.net *.split) |
17:27:14 | * | ormiret quit (*.net *.split) |
17:27:14 | * | bozaloshtsh quit (*.net *.split) |
17:27:14 | * | oprypin quit (*.net *.split) |
17:27:14 | * | Amun_Ra quit (*.net *.split) |
17:27:14 | * | ozzz quit (*.net *.split) |
17:27:14 | * | dgb quit (*.net *.split) |
17:27:14 | * | ebb quit (*.net *.split) |
17:27:14 | * | joast quit (*.net *.split) |
17:27:14 | * | grobe0ba quit (*.net *.split) |
17:27:14 | * | ForumUpdaterBot quit (*.net *.split) |
17:27:14 | * | clemens3 quit (*.net *.split) |
17:27:14 | * | literal quit (*.net *.split) |
17:27:16 | * | zopsi quit (*.net *.split) |
17:33:26 | * | zopsi joined #nim |
17:33:26 | * | sagax joined #nim |
17:33:26 | * | ldlework joined #nim |
17:33:26 | * | letto joined #nim |
17:33:26 | * | D_ joined #nim |
17:33:26 | * | Vladar joined #nim |
17:33:26 | * | rockcavera joined #nim |
17:33:26 | * | neceve joined #nim |
17:33:26 | * | aeverr joined #nim |
17:33:26 | * | krux02 joined #nim |
17:33:26 | * | spiderstew joined #nim |
17:33:26 | * | nphg1 joined #nim |
17:33:26 | * | asrp[m] joined #nim |
17:33:26 | * | uvegbot joined #nim |
17:33:26 | * | motersen joined #nim |
17:33:26 | * | FromGitter joined #nim |
17:33:26 | * | Benjamin[m]2 joined #nim |
17:33:26 | * | leorize[m] joined #nim |
17:33:26 | * | gemath[m] joined #nim |
17:33:26 | * | Edoardo[m] joined #nim |
17:33:26 | * | MTRNord joined #nim |
17:33:26 | * | Northstrider[m] joined #nim |
17:33:26 | * | crem1 joined #nim |
17:33:26 | * | cornfeedhobo joined #nim |
17:33:26 | * | k0mpjut0r joined #nim |
17:33:26 | * | Gambit[m] joined #nim |
17:33:26 | * | zuckerberg[m] joined #nim |
17:33:26 | * | bfgcoding[m] joined #nim |
17:33:26 | * | wanr[m] joined #nim |
17:33:26 | * | altarrel joined #nim |
17:33:26 | * | CodeBitCookie[m] joined #nim |
17:33:26 | * | Avahe[m] joined #nim |
17:33:26 | * | dithpri[m] joined #nim |
17:33:26 | * | Hasnep[m] joined #nim |
17:33:26 | * | bluemax[m] joined #nim |
17:33:26 | * | Zoom[m] joined #nim |
17:33:26 | * | ee7[m] joined #nim |
17:33:26 | * | cheer[m] joined #nim |
17:33:26 | * | vegai joined #nim |
17:33:26 | * | stisa joined #nim |
17:33:26 | * | Clonkk[m] joined #nim |
17:33:26 | * | reversem3 joined #nim |
17:33:26 | * | npham[m] joined #nim |
17:33:26 | * | lnxw37d4 joined #nim |
17:33:26 | * | jfondren[m] joined #nim |
17:33:26 | * | goblinslayer[m] joined #nim |
17:33:26 | * | fbpyr[m] joined #nim |
17:33:26 | * | DannyHpy[m] joined #nim |
17:33:26 | * | customer[m] joined #nim |
17:33:26 | * | cadmium[m] joined #nim |
17:33:26 | * | Avatarfighter[m] joined #nim |
17:33:26 | * | Guest007[m] joined #nim |
17:33:26 | * | blackbeard420 joined #nim |
17:33:26 | * | FromDiscord joined #nim |
17:33:26 | * | lain joined #nim |
17:33:26 | * | conkker joined #nim |
17:33:26 | * | joast joined #nim |
17:33:26 | * | hoek joined #nim |
17:33:26 | * | sacredfrog joined #nim |
17:33:26 | * | teasea joined #nim |
17:33:26 | * | fantis joined #nim |
17:33:26 | * | Jjp137 joined #nim |
17:33:26 | * | euantorano joined #nim |
17:33:26 | * | so joined #nim |
17:33:26 | * | revere joined #nim |
17:33:26 | * | jken joined #nim |
17:33:26 | * | idxu joined #nim |
17:33:26 | * | pauwel_kwak joined #nim |
17:33:26 | * | Araq joined #nim |
17:33:26 | * | JStoker joined #nim |
17:33:26 | * | koltrast joined #nim |
17:33:26 | * | robertmeta joined #nim |
17:33:26 | * | fowl joined #nim |
17:33:26 | * | skelett joined #nim |
17:33:26 | * | siinamon joined #nim |
17:33:26 | * | Yardanico joined #nim |
17:33:26 | * | Jesin joined #nim |
17:33:26 | * | junland joined #nim |
17:33:26 | * | Prestige joined #nim |
17:33:26 | * | kaliy joined #nim |
17:33:26 | * | mal`` joined #nim |
17:33:26 | * | mahlon joined #nim |
17:33:26 | * | r4vi joined #nim |
17:33:26 | * | omnigoat joined #nim |
17:33:26 | * | mjsir911 joined #nim |
17:33:26 | * | npgm joined #nim |
17:33:26 | * | d10n-work joined #nim |
17:33:26 | * | ormiret joined #nim |
17:33:26 | * | snowolf joined #nim |
17:33:26 | * | bozaloshtsh joined #nim |
17:33:26 | * | grobe0ba joined #nim |
17:33:26 | * | void09 joined #nim |
17:33:26 | * | ForumUpdaterBot joined #nim |
17:33:26 | * | termer joined #nim |
17:33:26 | * | oprypin joined #nim |
17:33:26 | * | beatmox joined #nim |
17:33:26 | * | Onionhammer joined #nim |
17:33:26 | * | asdflkj joined #nim |
17:33:26 | * | BlitzWorks joined #nim |
17:33:26 | * | Amun_Ra joined #nim |
17:33:26 | * | ozzz joined #nim |
17:33:26 | * | dv^_^ joined #nim |
17:33:26 | * | dom96 joined #nim |
17:33:26 | * | saem joined #nim |
17:33:26 | * | Fish-Face joined #nim |
17:33:26 | * | mids joined #nim |
17:33:26 | * | Oddmonger joined #nim |
17:33:26 | * | fredsted joined #nim |
17:33:26 | * | rayman22201 joined #nim |
17:33:26 | * | nickster joined #nim |
17:33:26 | * | vqrs joined #nim |
17:33:26 | * | hpyc9 joined #nim |
17:33:26 | * | CcxWrk joined #nim |
17:33:26 | * | d10n joined #nim |
17:33:26 | * | zielmicha__ joined #nim |
17:33:26 | * | nikki93 joined #nim |
17:33:26 | * | ebb joined #nim |
17:33:26 | * | dgb joined #nim |
17:33:26 | * | literal joined #nim |
17:33:26 | * | clemens3 joined #nim |
17:39:23 | ForumUpdaterBot | New post on r/nim by IridiumPoint: NIM Programming Language - video by Gamefromscratch, see https://reddit.com/r/nim/comments/np8ulj/nim_programming_language_video_by_gamefromscratch/ |
17:43:52 | * | theelous3 quit (Read error: Connection reset by peer) |
17:50:27 | * | neceve quit (Ping timeout: 258 seconds) |
17:54:15 | * | FromGitter quit (Remote host closed the connection) |
17:54:34 | * | FromGitter joined #nim |
17:58:18 | * | FromGitter quit (Remote host closed the connection) |
17:58:38 | * | FromGitter joined #nim |
18:09:54 | * | willyboar joined #nim |
18:10:06 | * | willyboar quit (Client Quit) |
18:10:22 | * | willyboar joined #nim |
18:28:44 | * | willyboar quit (Remote host closed the connection) |
18:29:29 | * | willyboar joined #nim |
18:54:14 | * | SebastianM joined #nim |
18:56:00 | FromDiscord | <ElegantBeef> Why do people do NIM, instead of you know Nim? ๐ |
18:58:16 | dom96 | good question |
19:03:41 | FromDiscord | <ElegantBeef> Maybe they're just excited |
19:29:53 | * | SebastianM quit (Quit: -a- Bye Bye) |
19:36:52 | FromDiscord | <exelotl> it's the Lua curse ๐
|
19:37:03 | FromDiscord | <ElegantBeef> LUA |
19:37:42 | FromDiscord | <willyboar> why not PYTHON? |
19:38:50 | FromDiscord | <ElegantBeef> It's more than 3 letters |
19:38:55 | FromDiscord | <ElegantBeef> Hell i see people write ADA |
19:39:26 | FromDiscord | <willyboar> PHP ๐คฎ |
19:45:55 | * | narimiran joined #nim |
19:47:20 | FromDiscord | <deech> How do I create a `static` C array in Nim? Some equivalent of `static Blah items[] = { ... }` that can be passed to a C function. |
19:48:12 | FromDiscord | <deech> I can't use `const` because I want to pass in function pointers to Nim functions. |
20:04:39 | FromGitter | <BracketMaster> I want to put a restriction on the type ``T``: โ โ ```code paste, see link``` โ โ I have a type ``Vector`` and some derived types, ``Vector3f`` and ``Vector3i``. I would like the template to accept only ``Vector3f`` and ``Vector3i`` [https://gitter.im/nim-lang/Nim?at=60b541569d18fe19983838b6] |
20:13:05 | FromGitter | <BracketMaster> another way to ask this is can you somehow specify that ``T`` should only be of multiple select types? |
20:14:23 | FromGitter | <BracketMaster> For example, I'd like the `-` proc to only work for Vector3f and Vector3i? |
20:14:28 | FromDiscord | <dithpri> BracketMaster: Like this? https://nim-lang.org/docs/manual.html#generics-type-classes |
20:16:58 | FromGitter | <BracketMaster> more like ``[T : (string or int)]`` if that's even possible |
20:18:15 | FromDiscord | <ElegantBeef> That is |
20:18:23 | FromDiscord | <ElegantBeef> `T: Vector3f or Vector3I` |
20:20:28 | FromGitter | <BracketMaster> thanks - that works |
20:27:44 | * | narimiran quit (Ping timeout: 252 seconds) |
20:50:12 | FromDiscord | <haxscramper> In reply to @deech "How do I create": I think `{.global.}` annotations on local variable makes it similar to `static` in `C` |
20:57:27 | FromDiscord | <Airbus5717> Is the dll generation stable in nim? |
21:02:41 | * | willyboar quit () |
21:05:19 | FromDiscord | <ajusa> Is there a way to turn a concept into an interface such that I can have a seq of different objects that all pass the concept definition? |
21:10:32 | FromDiscord | <hugogranstrom.nim> In reply to @ajusa "Is there a way": They'd have to be `ref`s all of the types to begin with as `seq`s assume that each type has the same size. |
21:11:33 | FromDiscord | <hugogranstrom.nim> Feels hard to accomplish though without some really really smart tricks :/ |
21:17:37 | FromDiscord | <hugogranstrom.nim> Simple casting tricks wouldn't work simply because we can't know the order of the fields. Inheritance solves part of your problem though |
21:25:33 | FromDiscord | <hugogranstrom.nim> Nimble seems to be caught in Windows Defender in 1.4.8 as `Program:Win32/Uwamson.A!ml` |
21:26:40 | FromDiscord | <ajusa> n i m i s m a l w a r eโต- anti virus |
21:27:40 | FromDiscord | <hugogranstrom.nim> Sadly it seems so ๐ |
21:29:13 | * | tane quit (Quit: Leaving) |
21:32:50 | * | Vladar quit (Quit: Leaving) |
21:37:27 | FromDiscord | <ajusa> Someone else mentioned this before, but there's been a decent amount of malware written using Nim so the antivirus folks are probably identifying Nim's stdlib as the common thing between all the malware, so they block that |
21:37:41 | FromDiscord | <ajusa> (edit) "malware, so they" => "malware to" | removed "that" |
21:40:57 | FromDiscord | <hugogranstrom.nim> Yeah that's definitely something along those line. Want to remember it being the compiler itself that was hit last time though? And now it's Nimble |
21:43:33 | FromDiscord | <ElegantBeef> Final call for This month with nim submissions ๐ |
21:44:16 | FromDiscord | <exelotl> damnit, every month I think "this month I'll have something" and then the month goes by and i don't xD |
21:44:47 | FromDiscord | <ElegantBeef> Lol |
21:45:14 | FromDiscord | <ElegantBeef> I'm throwing kashae on there but still need to rework my variant generator sadly ๐ |
21:45:29 | FromDiscord | <ElegantBeef> Still need to throw kashae onto nimble, keep delaying that |
22:01:38 | FromDiscord | <ajusa> In reply to @ElegantBeef "Final call for This": oh shoot what's the deadline? |
22:01:46 | FromDiscord | <ajusa> and does it have to be merged into nimble? |
22:01:52 | FromDiscord | <ajusa> (edit) "nimble?" => "nimble's repo?" |
22:01:55 | FromDiscord | <ElegantBeef> Uhh... right now? No it doesnt even have to be a project |
22:02:12 | FromDiscord | <ajusa> how do I submit it? |
22:02:34 | FromDiscord | <ElegantBeef> https://github.com/beef331/website/issues/new?assignees=beef331&labels=&template=this-month-with-nim.md&title= |
22:02:52 | FromDiscord | <ajusa> guess I'll try this lol |
22:09:09 | FromDiscord | <ajusa> alright submitted, let me know if there are any issues |
22:16:07 | FromDiscord | <ElegantBeef> Seems good to me, thanks :d |
22:17:40 | FromDiscord | <ElegantBeef> Well there we go |
22:17:43 | FromDiscord | <ElegantBeef> May is over |
22:18:11 | FromDiscord | <ElegantBeef> I bet the fact i do this on the last day of the month in NA makes the everyone east of me sad ๐ |
22:37:41 | * | JStoker quit (Ping timeout: 240 seconds) |
22:39:30 | * | JStoker joined #nim |
22:50:00 | * | oprypin quit (Quit: Bye) |
22:50:08 | * | oprypin joined #nim |
22:52:51 | * | hyiltiz quit (Ping timeout: 272 seconds) |
22:54:40 | * | hyiltiz joined #nim |
22:56:06 | * | arkurious quit (Quit: Leaving) |
23:05:11 | * | koltrast quit (Ping timeout: 240 seconds) |
23:10:31 | * | zedeus joined #nim |
23:14:53 | * | koltrast joined #nim |
23:43:27 | FromDiscord | <Varriount> While I'm aware of it's many faults, one thing I find nice about the Windows API is its predictable naming. |
23:46:12 | FromDiscord | <Hi02Hi> In reply to @ElegantBeef "I bet the fact": why east of you? |
23:46:37 | FromDiscord | <ElegantBeef> Cause when i submit the PR it's already the first in many places ๐ |
23:47:18 | FromDiscord | <Hi02Hi> oh i was thinking it was cause they would miss the deadline and i was confused |