| 00:22:26 | nisstyre | Option is useful if you have an error state you want to represent |
| 00:22:40 | nisstyre | e.g. a function that is supposed to read 10 bytes from a buffer, but it only has 5 bytes |
| 00:23:01 | nisstyre | you can return none(string) to indicate an "error" |
| 00:23:49 | nisstyre | it's not for exceptions |
| 00:23:58 | nisstyre | unless you catch an exception and return an optional |
| 00:35:14 | * | konvertex quit (Quit: quit) |
| 00:39:04 | FromDiscord | <Rika> nisstyre i miswrote |
| 00:39:16 | FromDiscord | <Rika> `Option` or `exceptions` for error states is what i mean |
| 00:42:58 | * | fredrikhr quit (Ping timeout: 260 seconds) |
| 00:45:35 | nisstyre | I would use Option |
| 00:45:53 | nisstyre | that way it's right there in the return type that it can have an error state |
| 00:48:47 | FromDiscord | <Rika> there's {.raises.} though |
| 00:48:59 | FromDiscord | <Rika> same position as return type |
| 00:49:06 | FromDiscord | <Rika> almost, at least |
| 00:56:53 | disruptek | !repo badresults |
| 00:56:55 | disbot | https://github.com/disruptek/badresults -- 9badresults: 11like results but worse 15 0⭐ 0🍴 |
| 00:57:00 | disruptek | use that instead. |
| 00:57:28 | disruptek | voltist: use {.passC: "...".} |
| 00:57:42 | disruptek | example use of badresults: |
| 00:57:44 | disruptek | !repo gittyup |
| 00:57:46 | disbot | https://github.com/disruptek/gittyup -- 9gittyup: 11higher-level git bindings that build upon nimgit2 15 2⭐ 1🍴 |
| 00:57:56 | voltist | disruptek: Yeah I found it in the end |
| 00:57:59 | voltist | Thanks though |
| 01:09:57 | * | chemist69 quit (Ping timeout: 272 seconds) |
| 01:11:49 | * | chemist69 joined #nim |
| 01:46:28 | disruptek | !repo disruptek/jason |
| 01:46:28 | disbot | https://github.com/disruptek/jason -- 9jason: 11JSON done right 15 0⭐ 0🍴 |
| 01:46:36 | * | gangstacat quit (Remote host closed the connection) |
| 01:59:48 | * | gangstacat joined #nim |
| 02:12:18 | bung | jsgen dosn't handle `ord` a `range`, how to solve this? |
| 02:15:02 | Yardanico | bung: ord of a range? can you show a concrete example? |
| 02:15:09 | Yardanico | ah nvm I found what you mean |
| 02:16:17 | bung | see https://github.com/nim-lang/Nim/blob/devel/compiler/jsgen.nim#L1828 |
| 02:16:23 | Yardanico | yeah I know |
| 02:16:30 | Yardanico | I already got the compiler traceback :P |
| 02:17:10 | bung | hmm what it means ord a range ? idk how c version works |
| 02:18:52 | Yardanico | well it most cases it's pretty useless, yeah |
| 02:19:37 | * | muffindrake quit (Ping timeout: 272 seconds) |
| 02:19:47 | bung | I see the code from compiler source |
| 02:20:50 | Yardanico | bung: well it compiles if I add tyRange to the first case branch |
| 02:20:56 | Yardanico | like "of tyEnum, tyInt..tyUInt64, tyChar, tyRange: gen(p, n[1], r)" |
| 02:21:00 | Yardanico | not sure if that's correct though |
| 02:21:05 | Yardanico | but it compiles and runs :P |
| 02:21:10 | Yardanico | and outputs a correct value |
| 02:21:29 | * | muffindrake joined #nim |
| 02:21:49 | bung | so you know how ord a range works |
| 02:22:24 | bung | if you can confirmed that value correct, why you said pretty useless... |
| 02:22:51 | Yardanico | because why would you need to run "ord" on a range type if range is mostly a checking thing? |
| 02:23:17 | Yardanico | if you have "type A = range[15 .. 30]" you can have "let a: A = 18" and then just do "echo int(a)" or other stuff like that |
| 02:24:09 | bung | oh, it only do checking. that's fine. |
| 02:24:27 | * | Jjp137 joined #nim |
| 02:25:31 | Yardanico | you're free to open a PR with this fix |
| 02:25:36 | Yardanico | don't forget to add a test-case though :P |
| 02:25:40 | bung | I think you can create a PR for it. |
| 02:25:54 | bung | I did nothing |
| 02:28:25 | * | disruptek quit (Ping timeout: 265 seconds) |
| 02:29:28 | * | disbot quit (Ping timeout: 272 seconds) |
| 02:31:43 | * | disruptek joined #nim |
| 02:32:23 | bung | found I can just .int avoiding this for now |
| 02:32:42 | * | disbot joined #nim |
| 02:32:46 | Yardanico | yes |
| 02:34:11 | * | Jjp137 quit (Read error: Connection reset by peer) |
| 02:34:35 | * | Jjp137 joined #nim |
| 02:38:14 | Yardanico | bung: https://github.com/nim-lang/Nim/pull/14571 |
| 02:38:15 | disbot | ➥ Fix #14570 |
| 02:39:11 | Yardanico | ah right, need a test |
| 02:47:16 | * | zedeus quit (Ping timeout: 265 seconds) |
| 02:48:55 | * | zedeus joined #nim |
| 02:49:16 | * | endragor joined #nim |
| 03:02:10 | voltist | Is there a pretty way to cast data to a uint<n> without case/do for every possible n? |
| 03:02:34 | disruptek | what? |
| 03:02:35 | Yardanico | voltist: how would that look like? |
| 03:02:44 | disruptek | cast[uint](data) |
| 03:02:52 | disruptek | data.uint |
| 03:02:57 | Yardanico | that's for uint32 or 64 depending on the arch |
| 03:03:00 | disruptek | try not to use cast. |
| 03:03:05 | Yardanico | not for every possible n but ok |
| 03:04:11 | voltist | Yeah I should have explained that better |
| 03:05:01 | voltist | I'm casting to a seq[uint<n>], so n matters to differentiate one number from the next right? |
| 03:05:29 | Yardanico | n here is about the size of uint |
| 03:05:33 | Yardanico | uint8/16/32/64 |
| 03:05:37 | voltist | Yep |
| 03:05:37 | disruptek | ohh |
| 03:05:49 | disruptek | yes, there's a difference. |
| 03:05:58 | Yardanico | well I don't know if there's a "pretty" way |
| 03:06:02 | Yardanico | since casting itself is far from pretty :P |
| 03:06:03 | voltist | Sorry I shouldn't have used <> because of Nim's syntax :P |
| 03:06:26 | disruptek | you should use cast when you /must/ and at no other time. |
| 03:07:19 | voltist | I'm handling C's data types, so I unfortunately do have to cast for a lot of things |
| 03:07:28 | Yardanico | well I don't think there's a "pretty" way |
| 03:07:32 | voltist | shashlick: Unless nimterop has some magic for this? |
| 03:07:34 | voltist | Right ok |
| 03:07:41 | Yardanico | of course if you have 3-5 duplicated lines of code for each uint you can make a template |
| 03:08:21 | voltist | May as well just stick with the case/of for readability |
| 03:08:51 | Yardanico | actually hmm |
| 03:08:53 | Yardanico | there might be a way |
| 03:09:03 | disruptek | there are things you can do but i wouldn't do them. |
| 03:09:11 | Yardanico | with a generic procedure and sizeof and stuff :P |
| 03:09:17 | disruptek | just write it as clearly and simply as you can. |
| 03:09:47 | voltist | Yeah will do |
| 03:12:21 | shashlick | You could use a converter or write high level code to abstract the mess |
| 03:12:47 | disruptek | the nice thing about choking php programmers is that they have such warm, if scrawny, necks. |
| 03:13:15 | voltist | shashlick: Yeah this is all going to be under the hood |
| 03:13:28 | shashlick | There's some open issues for this in nimterop and some ideas |
| 03:13:34 | shashlick | https://github.com/nimterop/nimterop/issues/177 |
| 03:13:36 | disbot | ➥ [Feature] Cached Postgenerative Macro ; snippet at 12https://play.nim-lang.org/#ix=2oon |
| 03:14:03 | voltist | shashlick: I'll have a look |
| 03:14:48 | voltist | Right now I need to decide if it's even worth trying to support a bitdepth of 2 |
| 03:15:04 | disruptek | one bit outta be enough for anybody. |
| 03:15:38 | voltist | Well 1 is understandable, and 4+ is normal, but 2? |
| 03:16:04 | shashlick | It's an open - the goal is to make more Nim friendly wrappers than raw ones but I am not too experienced in that |
| 03:17:29 | voltist | Yeah that's what I'm aiming for with this project; I don't want it to feel like a wrapper, I want it to feel like Nim |
| 03:17:33 | voltist | Nim-onic? |
| 03:17:44 | disruptek | but why? |
| 03:17:50 | disruptek | nim gives me gas. |
| 03:18:05 | Yardanico | voltist: https://forum.nim-lang.org/t/6323 |
| 03:18:12 | voltist | I don't want to know about your personal problems :P |
| 03:18:53 | voltist | Ooo 'nimsy' is good |
| 03:19:00 | Yardanico | nimish |
| 03:19:05 | Yardanico | :P |
| 03:19:34 | disruptek | the problem i have lately is that what's idiomatic is not valid. |
| 03:21:14 | Yardanico | maybe your definition of idiomatic is a bit wrong then :DD |
| 03:22:07 | voltist | Gee idk how I could even go about decoding 2 bit ints |
| 03:22:14 | Yardanico | int16 |
| 03:22:16 | Yardanico | 2 bit? |
| 03:22:17 | Yardanico | wat |
| 03:22:29 | disruptek | sounds like a real tough problem. |
| 03:22:54 | Yardanico | you can decode it with two bools :D |
| 03:23:17 | Yardanico | ah right bool is one byte too |
| 03:23:28 | Yardanico | cpus can't address stuff smaller than 1 byte anyway |
| 03:23:45 | disruptek | the problem with concepts is nesting and "not" not working. |
| 03:23:56 | Yardanico | concepts are an experimental feature anyway |
| 03:24:12 | disruptek | they need work but they aren't going away. |
| 03:24:28 | Yardanico | concepts will be much more popular if they get the promised vtables version :P |
| 03:24:34 | voltist | Concepts is a pretty cool name for a feature I haven't even heard of yet |
| 03:24:44 | disruptek | ~experimental |
| 03:24:44 | disbot | experimental: 11Features of Nim that are to be considered experimental are documented at https://nim-lang.org/docs/manual_experimental.html |
| 03:25:00 | Yardanico | voltist: "Concepts, also known as "user-defined type classes", are used to specify an arbitrary set of requirements that the matched type must satisfy." |
| 03:25:03 | disruptek | i don't think vtables is important. |
| 03:25:04 | Yardanico | they're a compile-time only construct |
| 03:25:08 | Yardanico | disruptek: for some people it is |
| 03:25:13 | voltist | Oh thats cool |
| 03:25:19 | disruptek | those people can take a hike. |
| 03:25:20 | Yardanico | since manually making interfaces with procs is not that pretty |
| 03:26:44 | voltist | If cpu's cant address less than 1 byte, whats up with 1 and 2 bitdepth PNGs? Just not used any more? |
| 03:27:00 | disruptek | has nothing to do with addressing. |
| 03:27:17 | Yardanico | voltist: well you can always cast to some int type and access the lowest bit |
| 03:27:39 | Yardanico | with bitwise operators |
| 03:28:40 | disruptek | x and 1 works, too. |
| 03:29:26 | voltist | Honestly I'm considering just not supporting them. If people want bit depths that tiny then they are probably better off using a format other than PNG |
| 03:29:41 | voltist | Like FITS if they are feeling fancy |
| 03:30:06 | disruptek | do you think serial killers get a lot of donations on patreon? |
| 03:31:38 | disruptek | i'm feeling fancy but maybe not 2-bit fancy. |
| 03:32:27 | * | zedeus quit (Ping timeout: 272 seconds) |
| 03:32:52 | * | zedeus joined #nim |
| 03:35:30 | * | rockcavera quit (Remote host closed the connection) |
| 03:36:43 | voltist | This is probably a silly question, but what is `int`? Like how many bits is it? |
| 03:36:55 | disruptek | varies with the platform. |
| 03:37:06 | disruptek | 32 on 32-bit machines, 64 on 64-bit machines. |
| 03:37:16 | disruptek | it's the size of your pointers. |
| 03:37:59 | disruptek | do you think podiatrists smell like feet? |
| 03:38:56 | * | waleee-cl quit (Quit: Connection closed for inactivity) |
| 03:39:07 | voltist | Oh right that makes sense |
| 03:41:32 | shashlick | Yawn, what to work on? Nothing is interesting right now |
| 03:42:14 | disruptek | i have a lib that could be useful to wrap. |
| 03:42:50 | disruptek | https://liburcu.org/ |
| 03:43:20 | voltist | shashlick: C++ support for Nimterop? :P |
| 03:44:38 | disruptek | i think i wanna get a job where i get to prepare food and watch people eat it. |
| 03:44:46 | FromDiscord | <Elegant Beef> Write and document how to setup/use pseudoterminals 😄 |
| 03:46:00 | disruptek | wait lists at retirement communities are shorter than ever. |
| 03:47:08 | * | silvernode_ joined #nim |
| 03:51:44 | zedeus | does nim have rvo or just nrvo? are copies avoided for implicit and explicit returns, or only when you set the result variable? |
| 03:53:46 | * | dddddd quit (Ping timeout: 256 seconds) |
| 03:54:16 | silvernode_ | Good morning |
| 03:54:27 | FromDiscord | <Elegant Beef> Good evening |
| 03:54:30 | FromDiscord | <Zachary Carter> good night |
| 03:55:33 | FromDiscord | <flywind> good afternoon |
| 03:56:04 | silvernode_ | it's actually 2055 here but it's morning for me since I work night stock |
| 03:56:19 | FromDiscord | <Elegant Beef> Dude you're 35 years into the future |
| 03:56:24 | FromDiscord | <Elegant Beef> How long does it take to get a covid vaccine? |
| 03:56:37 | disruptek | why do you think guys with sexy neck beards are so camera-shy? |
| 03:57:19 | Yardanico | zedeus: relevant - https://github.com/nim-lang/RFCs/issues/230 |
| 03:57:21 | disbot | ➥ Nim's NRVO is C++'s inplace construction (placement new) ; snippet at 12https://play.nim-lang.org/#ix=2oor |
| 03:57:31 | Yardanico | also https://github.com/nim-lang/Nim/pull/14390 |
| 03:57:32 | disbot | ➥ fixes #14126 [backport:1.2] |
| 03:57:34 | silvernode_ | There was never a vaccine, just wrist bands with data on it. |
| 03:57:40 | zedeus | yeah that's why I'm asking |
| 03:57:50 | disruptek | we're not supposed to talk about balls in this channel. |
| 03:59:14 | FromDiscord | <Elegant Beef> Ah chinese made i assume silver? |
| 04:04:34 | FromDiscord | <hvn> sent a code paste, see http://ix.io/2oot |
| 04:05:59 | Yardanico | yes, I did |
| 04:06:02 | * | supakeen quit (Quit: WeeChat 2.8) |
| 04:06:31 | Yardanico | @hvn see https://github.com/nim-lang/nimforum/pull/244 for example |
| 04:06:32 | disbot | ➥ Add ability to enable TLS for SMTP |
| 04:06:40 | * | supakeen joined #nim |
| 04:06:45 | Yardanico | basically you need to call "await client.startTls()" after connecting |
| 04:06:48 | Yardanico | and before auth |
| 04:06:50 | FromDiscord | <hvn> yes, exactly that, and I got same error |
| 04:07:10 | Yardanico | well maybe the smtp server is wrong :P |
| 04:08:43 | bung | Yardanico I add formating support using nimsuggest exe, that's the simple solution. |
| 04:10:58 | disruptek | i have a very bad feeling about this. |
| 04:12:07 | silvernode_ | @Elegant Beef I am using your menu code in my project with credit to you in the files |
| 04:12:15 | silvernode_ | hope that is ok |
| 04:12:16 | FromDiscord | <Elegant Beef> lol |
| 04:12:19 | FromDiscord | <Elegant Beef> Yea |
| 04:12:21 | FromDiscord | <Elegant Beef> Also yard |
| 04:12:25 | FromDiscord | <Elegant Beef> Whilst you here |
| 04:12:35 | FromDiscord | <Elegant Beef> Your mentioning is borked if the person have names with spaces |
| 04:12:46 | FromDiscord | <Elegant Beef> (edit) 'have' => 'has a' |
| 04:13:00 | silvernode_ | I figured as much |
| 04:14:54 | silvernode_ | I'm not sure how to use your event proc in practice btw |
| 04:16:52 | Yardanico | bung: I hope you didn't enable formatting on save by default? :P |
| 04:16:52 | FromDiscord | <mollusk> @Elegant Beef It looks like it only triggers if there is no input |
| 04:17:15 | Yardanico | or maybe it's a vscode feature, right |
| 04:17:17 | FromDiscord | <Elegant Beef> Well it atted me but it doesnt replace the Beef part |
| 04:17:20 | FromDiscord | <Elegant Beef> Just the Elegant part |
| 04:17:38 | Yardanico | @Elegant I know |
| 04:17:40 | Yardanico | but it's hard to solve |
| 04:17:42 | bung | ah , no I dont, I have problem with that in my rails extension, many users argus about that |
| 04:17:48 | Yardanico | so just don't have spaces in your username ok? |
| 04:17:51 | FromDiscord | <Elegant Beef> Ah that one worked... 😄 |
| 04:17:59 | Yardanico | because I used "<at>Elegant" |
| 04:18:01 | disruptek | silvernode: i tried to stick up for you, but they made some pretty reasonable points against you. |
| 04:18:14 | Yardanico | mentioning works if the username starts with something i entered after the "at" symbol |
| 04:18:18 | Yardanico | even if it's not a full username |
| 04:18:22 | bung | argues |
| 04:18:31 | FromDiscord | <Elegant Beef> Ah |
| 04:18:50 | disruptek | !last Elegant Beef |
| 04:18:51 | disbot | Elegant Beef spoke in 12#nim 19 seconds ago 12https://irclogs.nim-lang.org/06-06-2020.html#04:18:31 |
| 04:18:57 | disruptek | !last Pig Fucker |
| 04:18:57 | FromDiscord | <Elegant Beef> Cant you just see if the next word matches `name.split[-1]` |
| 04:18:58 | disbot | Pig Fucker never seen. |
| 04:19:03 | * | zacharycarter quit (Ping timeout: 246 seconds) |
| 04:19:03 | disruptek | hmm. |
| 04:19:06 | Yardanico | @Elegant "word" |
| 04:19:09 | Yardanico | "Elegant Beef" is two words |
| 04:19:12 | FromDiscord | <Elegant Beef> Yes |
| 04:19:31 | FromDiscord | <Elegant Beef> But if the next word in the message after my name matches the last word of my name |
| 04:19:34 | FromDiscord | <Elegant Beef> Remove it |
| 04:19:41 | bung | barely usefull IDE feature, that I added by acident |
| 04:19:51 | Yardanico | @Elegant well that's more complexity :P |
| 04:19:57 | Yardanico | just dont have spaces in your usernames |
| 04:19:58 | Yardanico | problem solved |
| 04:20:02 | FromDiscord | <Elegant Beef> It also can have false positives |
| 04:20:06 | Yardanico | i know |
| 04:20:06 | FromDiscord | <Elegant Beef> Well that's too much work |
| 04:20:20 | Yardanico | Elegant_Beef |
| 04:20:21 | Yardanico | problem solved |
| 04:20:28 | FromDiscord | <Elegant Beef> Dude that's like 1 more key stroke |
| 04:20:37 | Yardanico | no? |
| 04:20:41 | Yardanico | that's the same amount of key strokes lol |
| 04:20:46 | FromDiscord | <Elegant Beef> Underscore requires shift |
| 04:20:49 | FromDiscord | <mollusk> Or just don't use Discord |
| 04:20:50 | FromDiscord | <Elegant Beef> checkmate |
| 04:21:11 | Yardanico | it's still 1 keystroke |
| 04:21:13 | Yardanico | shift is a modifier |
| 04:21:18 | Yardanico | check mate |
| 04:21:20 | FromDiscord | <Elegant Beef> Lol |
| 04:21:21 | Yardanico | ;) |
| 04:21:28 | FromDiscord | <Elegant Beef> Pedentry is a sign of last resort |
| 04:21:30 | FromDiscord | <mollusk> yep it's a modifier |
| 04:21:48 | Yardanico | you should've said "key presses" |
| 04:21:52 | Yardanico | not keystrokes :D |
| 04:22:05 | FromDiscord | <Elegant Beef> Wow, can you like ban yourself |
| 04:22:17 | Yardanico | I can ban you from IRC |
| 04:22:30 | Yardanico | I mean I can ban you in discord while i'm in IRC |
| 04:22:33 | FromDiscord | <Elegant Beef> dont do that, where am i supposed to chat when i time travel to 1991 |
| 04:22:35 | FromDiscord | <Elegant Beef> Ah |
| 04:22:39 | FromDiscord | <Elegant Beef> Well that's just rude |
| 04:22:52 | FromDiscord | <mollusk> @Elegant Beef https://play.nim-lang.org/#ix=2okF not sure how to use like 23 in practice but it seems to only be used if there is no user input. |
| 04:22:57 | Yardanico | !getdiscid Elegant Beef |
| 04:22:58 | FromDiscord | Elegant Beef#5502 has Discord UID: 145405730571288577 |
| 04:23:03 | Yardanico | your discord UID is 145405730571288577 btw |
| 04:23:24 | Yardanico | https://i.imgur.com/2DB9lCy.png |
| 04:23:24 | FromDiscord | <Elegant Beef> what about line 23? |
| 04:23:38 | FromDiscord | <Elegant Beef> You like me too much to ban me |
| 04:23:43 | FromDiscord | <Elegant Beef> Im a fun source of idiocy |
| 04:23:59 | Yardanico | relevant code btw https://github.com/Yardanico/ircord/blob/master/src/ircord.nim#L101 |
| 04:24:02 | FromDiscord | <Elegant Beef> *looks at my pty attempt, and feels like the worlds worst programmer |
| 04:24:11 | Yardanico | !getdiscid Person |
| 04:24:11 | FromDiscord | Unknown username |
| 04:24:48 | Yardanico | although I don't need to use getUsers there, but I didn't update the commands part for a few months |
| 04:25:23 | Yardanico | and of course it's whitelist-only |
| 04:25:31 | FromDiscord | <Elegant Beef> I cant believe you have commented out code on a git repo |
| 04:25:34 | Yardanico | XD |
| 04:25:43 | Yardanico | because I wanted to make it work agian |
| 04:25:45 | Yardanico | again* |
| 04:25:51 | FromDiscord | <Elegant Beef> Yea but you have version control |
| 04:25:53 | Yardanico | and generally commenting old stuff is sometimes useful |
| 04:26:04 | FromDiscord | <Elegant Beef> Idk i just remove it |
| 04:26:10 | FromDiscord | <Elegant Beef> if i want to see it look at the changes of the file |
| 04:26:11 | Yardanico | @Elegant good luck finding that old commit which had that code |
| 04:26:15 | * | silvernode_ is now known as silvernode |
| 04:26:30 | Avatarfighter | Yo yo yo what is up party people |
| 04:26:39 | silvernode | /msg NickServ identify guitar |
| 04:26:39 | FromDiscord | <Elegant Beef> I mean i tend to work in a more spread out codebase thanks to spending most my time in unity |
| 04:26:48 | Yardanico | well nim compiler has stuff like that too btw |
| 04:26:53 | * | silvernode quit (Quit: Leaving) |
| 04:28:06 | FromDiscord | <Elegant Beef> Yea i know people do it, i just feel when using version control having commented out code is weird, fairly certain linus torvalds has a rant about it somewhere 😄 |
| 04:28:41 | FromDiscord | <Elegant Beef> But again i work solo on small spread out projects |
| 04:28:46 | FromDiscord | <Elegant Beef> So... YMMV |
| 04:29:27 | * | Senketsu quit (Ping timeout: 272 seconds) |
| 04:30:03 | * | silvernode joined #nim |
| 04:31:27 | * | silvernode quit (Client Quit) |
| 04:31:48 | * | silvernode joined #nim |
| 04:32:34 | silvernode | whelp, had to change my IRC password finally. it was a really bad password anyway. |
| 04:32:57 | FromDiscord | <Elegant Beef> use keepassxc today! |
| 04:33:06 | FromDiscord | <Elegant Beef> Or whatever passwordmanager today |
| 04:33:10 | FromDiscord | <Elegant Beef> (edit) 'passwordmanager' => 'password manager' |
| 04:33:55 | FromDiscord | <Elegant Beef> So seems i have my terminal properly creating a child bash process, but writting to the master file does not propogate down to the bash |
| 04:34:46 | silvernode | I switched from Keepass to Bitwarden about 2 years ago |
| 04:35:30 | FromDiscord | <Elegant Beef> I just recently started using a password manager after finally converting to it |
| 04:35:35 | silvernode | I had been managing keepass with git but decided after multiple years that it was not a practical way to sync a password database. |
| 04:35:58 | FromDiscord | <Elegant Beef> There is a keepass app that can get passwords from ssh |
| 04:36:19 | FromDiscord | <Elegant Beef> And i mean i only have two devices, so as long as i put it on my ntfs drive parition i have it everywhere |
| 04:37:07 | silvernode | I went with Bitwarden since it was open source like Keepass and has great syncing abilities. I can also run a Bitwarden server if I wanted to since that is also open source. |
| 04:37:59 | silvernode | I didn't want to be responsible for maintaining backups of Keepass and the risk of filesystem corruption, updates, etc |
| 04:39:33 | silvernode | I was all about Keepass being local and whatnot but ultimately did not want to maintain my database on multiple machines since I have more than 2 |
| 04:48:39 | silvernode | Time to clock in, goodnight |
| 04:52:14 | * | jeko joined #nim |
| 04:53:16 | * | silvernode quit (Ping timeout: 256 seconds) |
| 05:15:54 | * | NimBot joined #nim |
| 05:30:41 | * | solitudesf- joined #nim |
| 05:31:37 | voltist | Hmm, it seems I can't index a C array in Nim. Is that expected? |
| 05:36:49 | * | lritter joined #nim |
| 05:38:34 | * | NimBot joined #nim |
| 05:42:05 | Prestige | voltist: can you show an example? |
| 05:43:01 | voltist | I think its a pointer. I've never used C all that much so idk about the relationship between arrays and pointers |
| 05:43:08 | voltist | Yeah I will devise an example |
| 05:45:34 | voltist | Well it looks like nimterop wraps it as `ptr png_byte` |
| 05:46:16 | voltist | Prestige: So I suppose my question is just how do I index a pointer in the same way you could using square brackets in C |
| 05:48:31 | Prestige | Cast to a pointer to an unchecked array if I'm understanding you correctly |
| 05:49:59 | Prestige | const arr = cast[ptr UncheckedArray[SomeType]](procThatReturnsAPointer) |
| 05:55:12 | voltist | Error: expression cannot be cast to UncheckedArray[uint8] |
| 05:55:26 | Prestige | did you miss the ptr part? |
| 05:55:35 | voltist | Ah |
| 05:55:37 | voltist | Yep |
| 05:57:57 | voltist | That works, but it gets weirder now |
| 05:58:14 | voltist | Another wrapped function returns a pointer pointer |
| 05:59:14 | voltist | Meant to kinda function as a 2D array, but I don't see how just casting it would let it know the dimensions |
| 05:59:22 | voltist | Idk if that makes sense :) |
| 06:00:11 | Prestige | I think you'd cast each row you process |
| 06:01:35 | voltist | So like cast the pointer pointer to UncheckedArray[ptr SomeType] and then for each row cast that to UncheckedArray[SomeType]? |
| 06:01:55 | Prestige | Right |
| 06:02:04 | Prestige | I'm not 100% but I think that would work |
| 06:02:34 | voltist | I'll have a go |
| 06:04:42 | * | jeko quit (Quit: Leaving) |
| 06:05:43 | voltist | Prestige: Gee I think it worked |
| 06:05:52 | Prestige | Awesome! |
| 06:05:55 | voltist | I've been going at that for hours now, so I can't thank you enough |
| 06:06:06 | Prestige | Glad it's working :) |
| 06:07:16 | voltist | Is there a reason I cant just cast the pointer pointer to `ptr UncheckedArray[ptr UncheckedArray[SomeType]]`? |
| 06:07:40 | Prestige | I think you can, that's actually what I meant lol |
| 06:07:40 | * | jeko joined #nim |
| 06:08:17 | voltist | Ah cool |
| 06:10:52 | * | NimBot joined #nim |
| 06:10:55 | voltist | My mind cannot fathom how it knows where one row meets another |
| 06:25:29 | * | NimBot joined #nim |
| 07:10:47 | * | NimBot joined #nim |
| 07:24:43 | * | NimBot joined #nim |
| 07:37:04 | * | kenran joined #nim |
| 07:51:59 | * | kenran quit (Ping timeout: 256 seconds) |
| 07:53:38 | * | fredrikhr joined #nim |
| 07:59:32 | * | chemist69 quit (Ping timeout: 246 seconds) |
| 08:00:55 | * | chemist69 joined #nim |
| 08:16:11 | * | zedeus quit (Ping timeout: 272 seconds) |
| 08:16:30 | * | zedeus joined #nim |
| 08:18:45 | FromGitter | <gogolxdong> Anyone CLI library? |
| 08:34:14 | * | Trustable joined #nim |
| 08:42:50 | * | NimBot joined #nim |
| 08:52:36 | FromDiscord | <Shucks> Are let's cheaper than var's or is the only difference the code safety? |
| 08:53:37 | FromDiscord | <Elegant Beef> They're the same just immutable |
| 08:53:58 | FromDiscord | <Elegant Beef> And mutabillity is amazing |
| 08:54:07 | FromDiscord | <Elegant Beef> (edit) 'And ... mutabillity' => 'Anddeclaritive' |
| 08:55:11 | FromDiscord | <Shucks> Thank you |
| 09:09:57 | planetis[m] | I have a destructors bug that only happens when I use my module, but when I try to make a minimal example it works! |
| 09:11:24 | * | Vladar joined #nim |
| 09:11:29 | planetis[m] | here https://play.nim-lang.org/#ix=2ooX the SUB matrix is sinked at line 74, so when echoing its zero, |
| 09:11:32 | FromDiscord | <Yardanico> Did you try on latest devel? |
| 09:12:03 | planetis[m] | almost latest |
| 09:13:36 | * | endragor quit (Remote host closed the connection) |
| 09:15:36 | planetis[m] | only fails when using my lib, but in the example it works fine |
| 09:15:54 | planetis[m] | it must be a sink inference bug |
| 09:16:33 | * | zedeus quit (Ping timeout: 246 seconds) |
| 09:18:44 | * | zedeus joined #nim |
| 09:21:45 | * | NimBot joined #nim |
| 09:23:30 | planetis[m] | it also works with seq[T] as data: https://github.com/b3liever/manu/blob/master/manu/matrix.nim |
| 09:23:37 | * | dddddd joined #nim |
| 09:24:02 | planetis[m] | only fails when writing custom destructors |
| 09:25:29 | alehander92 | disruptek vtables cool |
| 09:27:24 | * | fredrikhr quit (Ping timeout: 246 seconds) |
| 09:28:14 | planetis[m] | here's the output for me: http://ix.io/2op2 |
| 09:33:33 | * | NimBot joined #nim |
| 09:33:52 | Yardanico | planetis[m]: by "lib" you means importing from another file? |
| 09:39:46 | planetis[m] | tried that too |
| 09:40:04 | planetis[m] | but no I mean my matrix package |
| 09:44:06 | FromDiscord | <Shucks> Another basic question. Nim code gets transpiled into C code and compiles. So tools coded with Nim are basically C programs right? |
| 09:44:06 | planetis[m] | here is the destructors branch, for whover whats to try: https://github.com/b3liever/manu/tree/destructors2 the tests fail because of this |
| 09:44:29 | planetis[m] | latter I will test in another machine |
| 09:45:38 | livcd | Shucks: Are not then most programs basically assembly programs? |
| 09:46:02 | * | NimBot joined #nim |
| 09:47:59 | voltist | Quick poll: When manipulating images on a pixel level, is row then column or column then row more logical? |
| 09:49:28 | * | fredrikhr joined #nim |
| 09:51:47 | alehander92 | shucks you can indeed use many c-related tools with the output code/binaries if you mean that |
| 09:54:47 | planetis[m] | still fails... |
| 09:57:56 | * | NimBot joined #nim |
| 10:00:18 | zedeus | youtube downloaders require constant maintenance |
| 10:01:23 | livcd | i can imagine |
| 10:10:36 | * | NimBot joined #nim |
| 10:10:42 | * | bung_ joined #nim |
| 10:11:47 | * | neceve_ joined #nim |
| 10:13:59 | * | bung quit (Ping timeout: 272 seconds) |
| 10:14:16 | alehander92 | there is pytube as well |
| 10:14:36 | alehander92 | why do you need downloads? |
| 10:17:20 | bung_ | how can I get better performance ? my code has many string or seq assignment |
| 10:22:42 | * | NimBot joined #nim |
| 10:23:06 | FromDiscord | <Recruit_main707> already compiling with `-d:danger` `--gc:arc` ? |
| 10:25:04 | bung_ | let me check |
| 10:27:47 | bung_ | improved, better than pure python version, worse than python c api version |
| 10:29:00 | livcd | can you post some code? |
| 10:29:30 | FromDiscord | <Recruit_main707> yeah, a lot of people like to improve performance of code in here :P |
| 10:31:04 | bung_ | https://github.com/Nim-NLP/finalseg this one |
| 10:32:08 | bung_ | check test2.nim python lib time costs in comments |
| 10:32:34 | voltist | How does one convert from int to a uint? |
| 10:33:12 | FromDiscord | <Recruit_main707> `var a: int = 1`↵`a.uint` doesnt work? |
| 10:33:56 | * | NimBot joined #nim |
| 10:35:31 | bung_ | I'v do profile work before change compile flags see https://pastebin.com/diQV337i |
| 10:36:56 | voltist | Oh yeah that does work |
| 10:43:26 | voltist | Can UncheckedArray be added to somehow? |
| 10:46:59 | * | NimBot joined #nim |
| 10:50:57 | FromDiscord | <Shucks> Does anyone have a answer on that: https://forum.nim-lang.org/t/3190 ? |
| 11:00:12 | * | NimBot joined #nim |
| 11:06:07 | * | Guest86599 quit (Ping timeout: 260 seconds) |
| 11:07:47 | * | dadada joined #nim |
| 11:08:12 | * | dadada is now known as Guest58273 |
| 11:10:08 | * | NimBot joined #nim |
| 11:21:43 | * | NimBot joined #nim |
| 11:27:54 | * | Trustable quit (Remote host closed the connection) |
| 11:32:04 | * | Senketsu joined #nim |
| 11:35:35 | * | NimBot joined #nim |
| 11:48:58 | * | NimBot joined #nim |
| 11:53:03 | voltist | Yay, my image library can now load, save and display images, and has high-level pixel data manipulation |
| 11:53:18 | voltist | Only supports PNG for now |
| 11:53:38 | voltist | I'll get JPEG/JPG working before I go to bed hopefully |
| 12:00:23 | * | NimBot joined #nim |
| 12:06:02 | * | supakeen quit (Quit: WeeChat 2.8) |
| 12:06:38 | * | supakeen joined #nim |
| 12:07:34 | FromDiscord | <Kiloneie> Finally another episode on my Nim for Beginners series: https://youtu.be/s8K6wTy1QM8 |
| 12:11:44 | * | NimBot joined #nim |
| 12:12:44 | FromDiscord | <willyboar> you are hot! |
| 12:19:33 | Yardanico | no homo |
| 12:22:28 | * | krux02 joined #nim |
| 12:24:04 | * | NimBot joined #nim |
| 12:35:21 | * | NimBot joined #nim |
| 12:37:33 | * | clemens3 quit (Read error: Connection reset by peer) |
| 12:43:09 | bung_ | Yardanico seems never sleep |
| 12:43:23 | Yardanico | bung_: nah |
| 12:43:30 | Yardanico | I slept from 8 PM until 5 AM today |
| 12:43:35 | Yardanico | :) |
| 12:43:59 | bung_ | sounds sleep well |
| 12:47:19 | * | NimBot joined #nim |
| 12:56:31 | FromDiscord | <dom96> @Kiloneie nice thumbnail 🙂 |
| 12:58:00 | * | NimBot joined #nim |
| 13:10:33 | * | NimBot joined #nim |
| 13:13:09 | * | D_ quit (Ping timeout: 246 seconds) |
| 13:13:39 | * | D_ joined #nim |
| 13:21:44 | * | NimBot joined #nim |
| 13:22:43 | bung_ | I's like to create project for web frontend , any recommend target ? |
| 13:25:32 | * | D_ quit (Ping timeout: 260 seconds) |
| 13:29:43 | * | D_ joined #nim |
| 13:34:39 | * | NimBot joined #nim |
| 13:38:43 | FromDiscord | <KrispPurg> voltist, what is the github link for your lib? |
| 13:46:49 | * | NimBot joined #nim |
| 13:50:30 | disruptek | wtf is wrong with the bot? |
| 13:50:36 | FromDiscord | <Rika> ? |
| 13:52:45 | disruptek | it seems to crash every few minutes. |
| 13:55:31 | * | NimBot joined #nim |
| 13:56:31 | * | tane joined #nim |
| 13:57:24 | * | Trustable joined #nim |
| 13:57:28 | FromDiscord | <Kiloneie> @dom96 Thanks, i did not make it though D:... a friend did. |
| 13:58:32 | * | silvernode joined #nim |
| 13:59:14 | FromDiscord | <Kiloneie> What kind of a comment is "wanna be friends?" youtube blocked the comment lmao xD |
| 14:00:21 | FromDiscord | <Kiloneie> No wait scratch the last part, my notifications don't work for every comment for some reason oO |
| 14:06:51 | * | NimBot joined #nim |
| 14:10:01 | * | rockcavera joined #nim |
| 14:16:27 | * | NimBot joined #nim |
| 14:27:16 | * | NimBot joined #nim |
| 14:27:55 | * | haxscramper joined #nim |
| 14:30:49 | * | clemens3 joined #nim |
| 14:39:11 | * | NimBot joined #nim |
| 14:47:45 | * | gangstacat quit (Quit: Ĝis!) |
| 14:50:25 | * | NimBot joined #nim |
| 14:53:12 | * | narimiran joined #nim |
| 14:56:22 | * | dmi0 joined #nim |
| 14:57:37 | FromDiscord | <willyboar> federico3 i left a PR in the nimble directory... |
| 14:58:30 | disruptek | is there any chance that man boobs are coming back in style? |
| 14:59:51 | FromDiscord | <Kiloneie> oO |
| 15:03:16 | * | NimBot joined #nim |
| 15:08:18 | FromDiscord | <willyboar> new browse looks like this: https://prnt.sc/suy0hx |
| 15:14:06 | * | NimBot joined #nim |
| 15:14:48 | FromGitter | <bung87> package summary too short |
| 15:18:02 | FromDiscord | <willyboar> it is difficult because if i left more it would be a mess |
| 15:18:44 | FromDiscord | <dom96> oooh, that's an awesome design |
| 15:18:54 | FromDiscord | <willyboar> and i cant split it to two lines |
| 15:19:08 | FromDiscord | <willyboar> thanks, dom96 |
| 15:19:54 | FromDiscord | <willyboar> this is pkg view: https://prnt.sc/suy5sv |
| 15:20:14 | Yardanico | can you maybe hide older versions? |
| 15:20:19 | Yardanico | and, say, show 3 latest and others on expand |
| 15:20:45 | FromDiscord | <willyboar> I suppose it can be done |
| 15:21:08 | FromDiscord | <willyboar> but i left this decision to federico3 |
| 15:21:43 | FromDiscord | <willyboar> *leave |
| 15:22:10 | FromGitter | <tim-st> does ordered table only have memory overhead or also runtime overhead compared to normal table? |
| 15:22:27 | federico3 | Yardanico: yes, makes sense |
| 15:22:44 | federico3 | willyboar: what about the work with the previous restyle? |
| 15:23:18 | FromDiscord | <willyboar> This is cleanest, but is based on the old one |
| 15:23:18 | federico3 | hm "Unfinished Business" |
| 15:23:58 | FromDiscord | <willyboar> The PR is ready, i put this name because we left the old one too much 🙂 |
| 15:27:56 | * | NimBot joined #nim |
| 15:28:09 | federico3 | have you built and tested it? |
| 15:28:20 | FromDiscord | <willyboar> Yeap |
| 15:28:39 | FromDiscord | <willyboar> the photos is from the localhost |
| 15:30:50 | * | bung_ quit (Quit: Lost terminal) |
| 15:36:46 | FromDiscord | <willyboar> federico the only thing is when i run it with --threads:on i get an error: |
| 15:37:10 | FromDiscord | <willyboar> /.nimble/pkgs/morelogging-0.1.4/morelogging.nim(536, 49) Error: type mismatch: got <DateTime> but expected 'Time = object' |
| 15:37:21 | federico3 | why threads? |
| 15:37:43 | FromDiscord | <willyboar> just test it |
| 15:37:54 | FromDiscord | <willyboar> it works perfect without |
| 15:38:03 | federico3 | it's not meant to use threading |
| 15:38:20 | FromDiscord | <willyboar> ah ok |
| 15:39:21 | * | NimBot joined #nim |
| 15:39:25 | federico3 | are the screenshots going to expire? |
| 15:40:15 | FromDiscord | <willyboar> I don't know |
| 15:41:02 | FromDiscord | <willyboar> I think would last 6 months |
| 15:41:06 | FromDiscord | <willyboar> I am not sure |
| 15:44:50 | federico3 | https://github.com/FedericoCeratto/nim-package-directory/pull/28 can people please vote? |
| 15:44:50 | disbot | ➥ Unfinished Business |
| 15:45:34 | FromDiscord | <willyboar> Do you want an index image? |
| 15:46:01 | * | bbarker joined #nim |
| 15:46:18 | FromDiscord | <willyboar> https://prnt.sc/suyhwp |
| 15:46:43 | FromDiscord | <19> sent a code paste, see http://ix.io/2oqQ |
| 15:47:23 | * | krux02 quit (Remote host closed the connection) |
| 15:47:43 | supakeen | federico3: Done, I like it. |
| 15:48:26 | * | krux02 joined #nim |
| 15:48:52 | supakeen | I could complain loads because I'm a pedant but I like the new vibe :) |
| 15:48:59 | * | bebarker quit (Ping timeout: 258 seconds) |
| 15:50:09 | FromDiscord | <Recruit_main707> @19: whats the error? |
| 15:50:24 | FromDiscord | <19> `Execution failed with exit code 256` |
| 15:50:53 | * | NimBot joined #nim |
| 15:51:06 | FromDiscord | <19> `Error: unhandled exception: over- or underflow [OverflowError]` |
| 15:51:19 | FromDiscord | <Recruit_main707> does 64 fit in an int8? |
| 15:51:20 | FromDiscord | <19> oh the int8's max value is 2550 |
| 15:51:28 | Yardanico | no? |
| 15:51:31 | Yardanico | 255* |
| 15:51:33 | FromDiscord | <19> it does, but the result is 4096 |
| 15:52:02 | FromDiscord | <19> oh yes 255 |
| 15:53:14 | FromDiscord | <19> thanks guys xD |
| 15:54:07 | federico3 | supakeen: if you want to fix the CSS please contribute a PR ;) |
| 15:54:34 | supakeen | federico3: First I will appreciate this one and if I get triggered enough yes! |
| 15:55:43 | FromDiscord | <willyboar> what css? |
| 15:56:35 | supakeen | @willyboar: There's nothing to fix except me being pedantic about alignment :) |
| 15:57:54 | federico3 | willyboar: for the time being can you update the main and search page with: smaller fonts, 2 columns instead of 3 to show the package description, hints on what to click |
| 15:59:39 | federico3 | and lay out the package page better |
| 16:00:59 | * | NimBot joined #nim |
| 16:01:26 | FromDiscord | <dayl1ght> Does DrNim compile on devel? I'm getting a compilation error when running `koch drnim` |
| 16:02:29 | * | dddddd quit (Ping timeout: 260 seconds) |
| 16:02:31 | FromDiscord | <dayl1ght> oh it compiled on 1.2.0 |
| 16:02:52 | supakeen | @williboar: This is a dirty photoshop example of what I like alignment wise: https://i.imgur.com/iRfb4Es.png (I know this is very subjective!) |
| 16:05:40 | FromDiscord | <willyboar> https://prnt.sc/suyqpy |
| 16:05:49 | FromDiscord | <willyboar> hmmmm i will check it |
| 16:06:40 | supakeen | But also don't focus on it like federico3 said, I'll PR it if I get too hot and bothered about it! |
| 16:07:54 | federico3 | a bit better |
| 16:08:57 | FromGitter | <tim-st> does someone know, what `Warning: observable stores to 'varName' [ObservableStores]` means? |
| 16:10:07 | FromDiscord | <willyboar> supakeen : https://prnt.sc/suysvs |
| 16:12:13 | * | NimBot joined #nim |
| 16:14:25 | supakeen | That's also a better alignment :) |
| 16:14:37 | FromDiscord | <willyboar> done |
| 16:16:01 | * | waleee-cl joined #nim |
| 16:16:43 | * | zacharycarter joined #nim |
| 16:18:31 | FromDiscord | <Kiloneie> https://youtu.be/6S32ogvqVgM |
| 16:18:47 | FromDiscord | <Rika> looks like you're saying you're exploring it 3 times |
| 16:18:56 | FromDiscord | <Kiloneie> D: |
| 16:19:04 | FromDiscord | <Rika> maybe write the title like this `Times | Exploring Nim's Standard Library #3` |
| 16:19:27 | FromDiscord | <Rika> or `The times modules | ...` |
| 16:19:30 | FromDiscord | <Kiloneie> well when i say the title it's module Times |
| 16:19:40 | FromDiscord | <Kiloneie> could easily change that yes... |
| 16:21:08 | * | zacharycarter quit (Ping timeout: 260 seconds) |
| 16:23:29 | * | NimBot joined #nim |
| 16:24:04 | FromDiscord | <Kiloneie> there all changed |
| 16:24:06 | FromDiscord | <Kiloneie> on both videos |
| 16:30:24 | Prestige | Araq: regarding the deprecated pragma, should I just do it in the way you showed? I'm not sure what timotheecour is talking about. Looks like deprecatedAlias isn't a thing yet, either |
| 16:34:59 | * | NimBot joined #nim |
| 16:41:02 | FromGitter | <tim-st> Araq: object variants don't work with `const`, independent on `gc`. When I pass enum values it always gets the first enum entry in const, with `var` it works, should it work with const? |
| 16:41:17 | FromGitter | <tim-st> at least it compiles |
| 16:46:44 | * | NimBot joined #nim |
| 16:56:32 | * | Vladar quit (Remote host closed the connection) |
| 16:57:14 | * | NimBot joined #nim |
| 17:08:15 | FromGitter | <sheerluck> Kiloneie about https://youtu.be/6S32ogvqVgM it would be really nice if somehow you could forget to `12: w.close()` with python-like operator `with` or c++-like dtor, I don't know. |
| 17:08:59 | FromGitter | <sheerluck> and `26: r.close()` too |
| 17:09:49 | FromDiscord | <Rika> arc doesnt require close() afaik |
| 17:10:33 | * | NimBot joined #nim |
| 17:10:43 | * | lritter quit (Quit: Leaving) |
| 17:11:36 | aeverr | what bot |
| 17:13:34 | supakeen | They have joins/parts/quits on and NimBot is reconnecting all the time |
| 17:13:53 | FromDiscord | <Rika> i have them on too and i dont see it |
| 17:13:56 | aeverr | i mean here |
| 17:14:02 | disruptek | well, i can ignore that, but the point is that it's broken. |
| 17:14:03 | supakeen | https://bpa.st/IGQQ is what it looks like on IRC. |
| 17:14:30 | aeverr | ah, i have them off when the person hasnt interacted in an hour |
| 17:14:47 | Prestige | same ^ it's nice |
| 17:15:00 | supakeen | I have them on a shortcut but yea, some weechat plugin does smart showing of joins/parts etc think it has to do with mentions and when someone is active. |
| 17:15:20 | * | rockcavera quit (Remote host closed the connection) |
| 17:17:20 | federico3 | pity IRC clients cannot mangle the FromDiscord / FromGitter bot names |
| 17:17:50 | Prestige | Wouldn't be too difficult to write a plugin really, at least for weechat |
| 17:18:20 | FromGitter | <sheerluck> we need to develop Nim IRC client and fix `FromDiscord / FromGitter` there |
| 17:18:26 | aeverr | why tho |
| 17:18:40 | disruptek | have a bouncer do it. |
| 17:18:49 | shashlick | You can use triggers with weechat |
| 17:19:12 | shashlick | I use matterbridge which also allows that |
| 17:20:29 | federico3 | given the continued failure of Matrix, maybe a smarter "client" is the solution |
| 17:21:49 | shashlick | Can znc do this as well? |
| 17:22:17 | * | NimBot joined #nim |
| 17:22:47 | * | sentreen joined #nim |
| 17:23:14 | * | abm joined #nim |
| 17:34:18 | * | NimBot joined #nim |
| 17:46:39 | * | NimBot joined #nim |
| 17:47:08 | * | gangstacat joined #nim |
| 17:53:00 | * | jeko quit (Quit: Leaving) |
| 17:58:55 | * | NimBot joined #nim |
| 18:04:13 | disruptek | my house: https://www.keystonerv.com/travel-trailers/premier/floorplans/24rkpr-travel-trailer/ |
| 18:11:19 | * | NimBot joined #nim |
| 18:21:48 | * | NimBot joined #nim |
| 18:24:29 | * | kenran joined #nim |
| 18:27:57 | FromDiscord | <treeform> In nim is there a way to get output file name during compile? Kind of like isMainModule ? Some thing outputFileName? I want to write out an extra file (index.html) when I compile a JS file. |
| 18:30:15 | FromDiscord | <treeform> I though it would be next to other constants in system.nim https://nim-lang.org/docs/system.html#10 . |
| 18:31:06 | FromDiscord | <treeform> Then many I though I could use `compileOption` but that only returns a bool. Is there a `compileParamter` that can return a? |
| 18:35:50 | * | NimBot joined #nim |
| 18:35:56 | shashlick | see compilesettings |
| 18:39:13 | FromDiscord | <treeform> `import std/compilesettings` worked great thanks! |
| 18:42:09 | * | narimiran quit (Quit: leaving) |
| 18:48:39 | * | NimBot joined #nim |
| 18:53:14 | * | Jjp137 joined #nim |
| 19:00:35 | * | NimBot joined #nim |
| 19:01:14 | * | dddddd joined #nim |
| 19:08:48 | FromDiscord | <Shucks> Any idea how I could get a non blocking version of this? Do I need to use threads or is there something in nim I could use instead https://play.nim-lang.org/#ix=2oru |
| 19:09:18 | * | jjido joined #nim |
| 19:13:56 | * | kenran quit (Ping timeout: 265 seconds) |
| 19:14:40 | * | NimBot joined #nim |
| 19:25:11 | * | abm quit (Read error: Connection reset by peer) |
| 19:28:34 | * | NimBot joined #nim |
| 19:29:31 | * | clemens3 quit (Read error: Connection reset by peer) |
| 19:30:54 | FromDiscord | <Technisha Circuit> How do i use a file lock in Nim? Checking https://nim-lang.org/docs/locks.html didn't help |
| 19:31:31 | FromDiscord | <Technisha Circuit> I want to make a lock for a file |
| 19:33:15 | skrylar[m] | hoi |
| 19:33:28 | FromDiscord | <Rika> hoi |
| 19:34:16 | * | jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 19:34:20 | * | someunknownuser joined #nim |
| 19:34:33 | disruptek | this just in: |
| 19:34:37 | disruptek | 😁 People I LOVE 👍: Mongolian throat singing fans 😄, tuvan throat singing fans 😘, kalmyk throat singing fans 😌, buryat throat singing fans 🤩, manchu music fans 😍 |
| 19:37:53 | FromDiscord | <Clyybber> 😌 |
| 19:38:15 | * | someunknownuser quit (Client Quit) |
| 19:38:26 | * | someunknownuser joined #nim |
| 19:40:50 | * | NimBot joined #nim |
| 19:43:39 | skrylar[m] | disruptek: get your mind out of the gutteral 😜 |
| 19:44:01 | disruptek | what's your license for flatbuffers? |
| 19:44:09 | disruptek | does it work in nim-1? |
| 19:44:14 | FromDiscord | <Rika> :thonk: |
| 19:45:38 | FromDiscord | <Recruit_main707> and are they maintained? |
| 19:45:58 | FromDiscord | <Rika> whats with the sudden attack |
| 19:46:03 | * | jjido joined #nim |
| 19:46:45 | FromDiscord | <Recruit_main707> we had a discussion a few days ago about flatbuffers, and that involves him |
| 19:53:34 | * | NimBot joined #nim |
| 19:58:45 | * | zacharycarter joined #nim |
| 19:58:47 | FromDiscord | <Technisha Circuit> > How do i use a file lock in Nim? Checking https://nim-lang.org/docs/locks.html didn't help↵> I want to make a lock for a file |
| 20:06:11 | * | NimBot joined #nim |
| 20:07:42 | leorize[m] | why do you want file locks? |
| 20:15:06 | disruptek | reduce theft. |
| 20:17:34 | * | krux02 quit (Quit: Leaving) |
| 20:17:35 | FromDiscord | <Technisha Circuit> Because I might corrupt a file by writing to it twice at the same time @leorize |
| 20:17:35 | disruptek | well, i wanted to try skflatbuffers but it has no license and it does not compile. |
| 20:18:06 | disruptek | use a standard lock. |
| 20:18:45 | * | NimBot joined #nim |
| 20:23:18 | FromDiscord | <Technisha Circuit> How exactly? |
| 20:23:28 | * | someunknownuser quit (Quit: someunknownuser) |
| 20:23:34 | FromDiscord | <Technisha Circuit> :p |
| 20:23:41 | disruptek | lock = initLock(), lock.acquire, lock.release, or whatever. |
| 20:23:53 | disruptek | the api is pretty simple. |
| 20:24:01 | FromDiscord | <Rika> when you use it, you acquire the lock |
| 20:24:04 | FromDiscord | <Rika> when you're done, you release it |
| 20:24:11 | disruptek | don't confuse 'em with details. |
| 20:24:35 | FromDiscord | <Rika> lol |
| 20:24:41 | FromDiscord | <Technisha Circuit> Thanks |
| 20:25:00 | FromDiscord | <Technisha Circuit> Oh okay, that's fairly simple :P |
| 20:27:01 | disruptek | it's not true, what they say about you. |
| 20:30:50 | * | NimBot joined #nim |
| 20:37:03 | * | haxscramper quit (Remote host closed the connection) |
| 20:42:24 | * | NimBot joined #nim |
| 20:43:11 | * | PMunch joined #nim |
| 20:43:59 | FromDiscord | <Shucks> Is there a way to include a dll in the compiled file? |
| 20:44:26 | FromDiscord | <Recruit_main707> how would it be used if it wasnt linked though |
| 20:47:44 | PMunch | @Shucks, well you can't statically link a DLL. But what you can do is read the file in during compilation, and then write it out to a file before dynamically loading it on runtime. |
| 20:48:23 | Zevv | dude |
| 20:48:41 | Zevv | you can't just do things like that |
| 20:48:47 | Zevv | let alone speak about it |
| 20:48:54 | PMunch | Well, you _can_.. |
| 20:49:03 | PMunch | Does that render on Discord? |
| 20:49:22 | Zevv | yeah, in the privacy of your own home maybe. But this is a public channel, you know |
| 20:50:01 | PMunch | Haha, sorry, I'll keep my filth to myself behind locked doors. No-one should be exposed to that kind of stuff unsolicited |
| 20:50:03 | Zevv | I find this a disconcerning smart hack though |
| 20:50:31 | Zevv | who needs flatpak, right |
| 20:51:26 | PMunch | Haha, just package all your dependencies directly into the binary :P |
| 20:53:04 | Zevv | well, I slurp a lot into my nim binaries, but never yet a shared lib |
| 20:53:13 | Zevv | I tend to link against these things, in general |
| 20:53:25 | PMunch | What kind of stuff are you slurping? |
| 20:53:55 | FromDiscord | <Rika> 15 copies of lorem ipsum |
| 20:54:13 | Zevv | tables, images, data in general. Parse it at compile time into nim data structures, stuff like that |
| 20:54:13 | Zevv | I know a parser that runs at compile time |
| 20:55:09 | * | NimBot joined #nim |
| 20:55:12 | Zevv | hm - how would I pass a string and two blocks to a macro? |
| 20:55:55 | PMunch | (x: static[string]; y, z: untyped)? |
| 20:55:58 | FromDiscord | <Rika> amacro("", (block: ...), (block: ...)) |
| 20:55:58 | FromDiscord | <Rika> ? |
| 20:56:14 | Zevv | hm what PMunch said is what I typed in |
| 20:56:18 | PMunch | Call it with myMacro("hello"): <block 1> do: <block 2> |
| 20:56:25 | Zevv | ooh, only 1 do :/ |
| 20:56:33 | disruptek | well then... |
| 20:56:38 | FromDiscord | <Rika> ??? dont dos make a proc |
| 20:56:42 | PMunch | I think you can do to |
| 20:56:49 | PMunch | @Rika, nope |
| 20:56:49 | Zevv | I had 2 do's |
| 20:56:56 | FromDiscord | <Rika> nope what |
| 20:57:03 | FromDiscord | <Rika> i make procs with do statements |
| 20:57:13 | PMunch | Yes, they can, but they don't always |
| 20:57:37 | FromDiscord | <Rika> thats annoying |
| 20:57:40 | disruptek | Zevv: do do that voodoo that you do so well. |
| 20:57:49 | Zevv | the voodoo that you do |
| 20:57:53 | disruptek | scooby dooby do. |
| 20:57:53 | Zevv | you remind me of the babe |
| 20:57:54 | * | haldean joined #nim |
| 20:58:31 | PMunch | Zevv, here you go: https://play.nim-lang.org/#ix=2os0 |
| 20:58:35 | PMunch | With two dos |
| 20:58:45 | Zevv | PMunch: ya got it, thanks |
| 20:58:48 | disruptek | dos dos, as we say in mexico. |
| 20:58:50 | Zevv | brackets, who makes up this stuff |
| 20:58:54 | disruptek | right? |
| 20:59:01 | disruptek | syntax is for neckbeards. |
| 20:59:07 | Zevv | really, can we fix this once and for all |
| 20:59:09 | Zevv | and go lisp or something |
| 20:59:14 | disruptek | jesus yes. |
| 20:59:25 | disruptek | kebab cancer. |
| 20:59:28 | disruptek | i'm ready. |
| 20:59:30 | Zevv | I was so very pleased with myself for making this doc PR this week :grin: |
| 20:59:32 | disruptek | i've had a long life. |
| 21:00:16 | haldean | hey folks! is there a fast way to convert a char to a unicode.Rune? I figure chars must be a subset of Rune, since Rune can represent any unicode character and ascii is a subset of unicode, but I can't find a way to do the conversion without going through a string. |
| 21:01:07 | leorize[m] | !eval import unicode; echo Rune('a') |
| 21:01:09 | NimBot | a |
| 21:01:23 | leorize[m] | haldean: ^ there you go |
| 21:01:34 | Zevv | Yeah, now do Run('é') |
| 21:01:41 | Zevv | s/Rune/ |
| 21:01:55 | PMunch | That's not valid though, as é isn't a single char |
| 21:02:04 | PMunch | !eval import unicode; echo Rune('é') |
| 21:02:06 | NimBot | Compile failed: /usercode/in.nim(1, 29) Error: missing closing ' for character literal |
| 21:02:09 | Zevv | It is on my CP437 character set |
| 21:02:13 | haldean | wow that is extremely easy, derp. is there a way to find constructor-ey things like that in the docs? I was looking in the unicode module and didn't see anything like that |
| 21:02:15 | PMunch | Haha :P |
| 21:02:36 | leorize[m] | nah, it's just a simple conversion |
| 21:02:38 | Zevv | heldan: it's not constructory, it's a basic conversion |
| 21:02:50 | Zevv | 'e'.Rune |
| 21:03:12 | Zevv | just like `15.uint8` or `uint8(5)` |
| 21:03:15 | FromDiscord | <Shucks> > @Shucks, well you can't statically link a DLL. But what you can do is read the file in during compilation, and then write it out to a file before dynamically loading it on runtime.↵thats clever |
| 21:03:25 | leorize[m] | that's evil |
| 21:03:28 | Zevv | and kind of sad |
| 21:03:29 | haldean | ah got it. |
| 21:03:41 | haldean | thanks Zevv and leorize! |
| 21:04:04 | Zevv | always welcome |
| 21:04:11 | leorize[m] | :) |
| 21:04:30 | leorize[m] | Zevv: people actually are doing the trick right now with 7zSFX |
| 21:04:37 | disruptek | gtfo |
| 21:04:37 | PMunch | For extra points ship the zip dll that way and then load that to open a zip library with the rest of the DLLs |
| 21:04:41 | leorize[m] | though you may argue that it's a bit different :P |
| 21:04:54 | PMunch | Sorry, I'll stop.. |
| 21:05:06 | disruptek | you never close your eyes anymore when i kiss your lips. |
| 21:05:30 | PMunch | Fool me once |
| 21:05:59 | * | haldean quit (Quit: Leaving) |
| 21:07:29 | * | NimBot joined #nim |
| 21:09:12 | Zevv | shame on disruptek |
| 21:10:05 | disruptek | wut |
| 21:10:43 | disruptek | dude. |
| 21:10:52 | disruptek | there's no tenderness like before in your fingertips. |
| 21:11:21 | PMunch | What is even going on |
| 21:11:30 | FromDiscord | <Rika> classic disruptek |
| 21:12:03 | disruptek | i'm way past classic, sadly. |
| 21:12:04 | FromDiscord | <Elegant Beef> Dude has disrupt in his name and he just follows through |
| 21:12:09 | disruptek | i'm what we call `antique`. |
| 21:12:18 | * | neceve_ quit (Ping timeout: 246 seconds) |
| 21:12:32 | FromDiscord | <Rika> ancient |
| 21:14:46 | * | NimBot joined #nim |
| 21:15:50 | PMunch | Bye |
| 21:16:57 | disruptek | zevv, you're too tall to ride a vespa. |
| 21:17:04 | disruptek | i'm just sayin'. |
| 21:24:54 | disruptek | PMunch: it's still compiling? |
| 21:25:00 | PMunch | Let me check |
| 21:25:49 | PMunch | Sure is |
| 21:26:09 | FromDiscord | <Rika> how much usage now |
| 21:26:25 | * | NimBot joined #nim |
| 21:26:43 | PMunch | It kinda stalled at around 61GB RAM and 7GB swap |
| 21:27:21 | disruptek | swap will kill you. |
| 21:27:34 | PMunch | What'd you mean? |
| 21:27:54 | disruptek | hard to make progress if you're in swap i/o. |
| 21:28:09 | PMunch | For sure |
| 21:28:20 | PMunch | It's only clocked 155h of CPU time |
| 21:28:24 | disruptek | maybe bisect until you find the limit. |
| 21:28:43 | disruptek | could be that something like tcc works better, too. |
| 21:29:03 | PMunch | Well it's been running for a month, I'm sure as shit not stopping it now.. |
| 21:32:12 | disruptek | well, it might be locked in i/o wait. |
| 21:32:55 | disruptek | you might find that you're further from the limit than you think. |
| 21:33:10 | disruptek | the size is essentially arbitrary. |
| 21:37:21 | PMunch | True.. |
| 21:38:04 | * | NimBot joined #nim |
| 21:38:10 | disruptek | maybe you should get a criu working so you can swap it in and out of larger and larger machines. |
| 21:38:11 | FromDiscord | <willyboar> a tinyh proc |
| 21:38:19 | * | clemens3 joined #nim |
| 21:38:30 | PMunch | voltist, a single procedure |
| 21:38:39 | PMunch | With 308M arguments :P |
| 21:38:45 | voltist | Compiling or running? |
| 21:38:51 | PMunch | Compiling |
| 21:38:56 | voltist | Lol |
| 21:39:17 | voltist | That's a good stress test |
| 21:40:03 | PMunch | Well not at the moment.. |
| 21:40:05 | disruptek | PMunch: remind me where you work. |
| 21:40:08 | FromDiscord | <willyboar> Yes your grandchildren will be very happy w/ the results |
| 21:40:10 | PMunch | A company called Dualog |
| 21:41:35 | voltist | Anything I need to know about when setting up CI for a Nimble package? |
| 21:41:39 | FromDiscord | <willyboar> your company have offices in greece |
| 21:42:58 | PMunch | @willyboar, who mine? |
| 21:43:06 | PMunch | I think that "office" is just a single person :P |
| 21:43:20 | FromDiscord | <willyboar> hehe |
| 21:44:35 | PMunch | Biggest offices are in Tromsø and in Singapore |
| 21:45:21 | FromDiscord | <willyboar> You can ask to work in Athens at summers |
| 21:45:24 | FromDiscord | <willyboar> 😛 |
| 21:46:26 | PMunch | I'd rather work there in winter TBH |
| 21:46:37 | * | solitudesf- quit (Ping timeout: 260 seconds) |
| 21:46:39 | PMunch | I mean summer here is pretty nice comparatively |
| 21:46:59 | disruptek | that's a statement only a norwegian makes. |
| 21:48:15 | FromDiscord | <willyboar> i guess our winter is similar to your summer |
| 21:49:09 | PMunch | I mean that would be great! |
| 21:49:29 | FromDiscord | <Rika> yall have winter? |
| 21:49:55 | * | NimBot joined #nim |
| 21:50:08 | FromDiscord | <willyboar> nope |
| 21:50:10 | PMunch | I did my first hike of the year without skiis on today |
| 21:50:36 | PMunch | Still had to plan my route carefully and cross some floes here and there, but still |
| 21:51:05 | PMunch | Well, not a floe I guess, patches of snow? |
| 21:52:31 | FromDiscord | <willyboar> I like snow but it is rare here |
| 21:54:34 | PMunch | https://uploads.peterme.net/IMG20200606235323.jpg |
| 21:54:40 | PMunch | That's right now out the window |
| 21:54:47 | PMunch | At 11:54PM none the less :P |
| 21:55:50 | PMunch | ~buster |
| 21:55:51 | disbot | no footnotes for `buster`. 🙁 |
| 21:56:07 | PMunch | disruptek, what was your dogs name again? |
| 21:56:13 | FromDiscord | <willyboar> Very Cool |
| 21:56:16 | disruptek | steve |
| 21:56:16 | Prestige | dang PMunch |
| 21:56:22 | disruptek | i mean, |
| 21:56:23 | disruptek | ~bentley |
| 21:56:24 | disbot | bentley: 11https://imgur.com/gallery/yEXiWWG -- disruptek |
| 21:56:24 | disbot | bentley: 11a good boy |
| 21:56:27 | PMunch | Aah |
| 21:56:43 | disruptek | i just call him steve. |
| 21:56:45 | PMunch | ~klegg is https://uploads.peterme.net/klegg.jpg |
| 21:56:47 | disbot | klegg: 11https://uploads.peterme.net/klegg.jpg |
| 21:56:57 | Prestige | PMunch: how warm does it get there in the summer? |
| 21:56:59 | PMunch | ~klegg is another good boy |
| 21:56:59 | disbot | klegg: 11another good boy |
| 21:57:03 | PMunch | ~klegg |
| 21:57:03 | disruptek | that's a helluva view. |
| 21:57:03 | disbot | klegg: 11another good boy -- PMunch |
| 21:57:08 | disruptek | lol |
| 21:57:11 | PMunch | ~klegg is https://uploads.peterme.net/klegg.jpg another good dog |
| 21:57:12 | disbot | klegg: 11https://uploads.peterme.net/klegg.jpg another good dog |
| 21:57:22 | PMunch | disbot, out the window by my desk :) |
| 21:57:36 | disruptek | wicked. |
| 21:57:54 | disruptek | that dog likes pretty comical. |
| 21:57:59 | PMunch | Prestige, https://www.yr.no/en/statistics/graph/1-305409/Norway/Troms%20og%20Finnmark/Troms%C3%B8/Troms%C3%B8 |
| 21:57:59 | disruptek | looks |
| 21:58:15 | PMunch | He is pretty comical :P |
| 21:58:39 | disruptek | i don't wanna wake bentley up; he'll bark at klegg. |
| 21:59:04 | PMunch | Klegg doesn't bark |
| 21:59:19 | PMunch | Well, I've head him bark three times |
| 21:59:19 | disruptek | does he sign? |
| 21:59:44 | * | clemens3 quit (Read error: Connection reset by peer) |
| 21:59:44 | PMunch | Haha, yes he uses his paws to aggressively sign the word "bark" at passerbys |
| 21:59:44 | Prestige | PMunch: Oh, it doesn't get warm there :P |
| 22:00:02 | * | NimBot joined #nim |
| 22:00:08 | disruptek | passers by! |
| 22:00:16 | PMunch | Prestige, come on, 20+ is pretty warm |
| 22:00:28 | PMunch | disruptek, it's late and I'm tired -_- |
| 22:00:40 | PMunch | I felt that looked weird |
| 22:00:42 | disruptek | it's one of those creepy things. |
| 22:00:49 | PMunch | Man.. That sentence was even worse.. |
| 22:01:48 | * | clemens3 joined #nim |
| 22:04:50 | FromDiscord | <Elegant Beef> I dont think prestige realized that's celcius |
| 22:04:58 | Prestige | I did |
| 22:05:06 | FromDiscord | <Elegant Beef> Well then that's warm |
| 22:05:31 | Prestige | I mean it was 32c here today and 60% humidity |
| 22:05:40 | FromDiscord | <Elegant Beef> That's too damn hot |
| 22:05:47 | Prestige | Yeah.. lol |
| 22:05:58 | FromDiscord | <willyboar> Prestige where are you live? |
| 22:05:59 | FromDiscord | <Elegant Beef> also pmunch we live in similar ranges 😄 |
| 22:06:04 | FromDiscord | <willyboar> we have similar temps |
| 22:06:05 | Prestige | Used to live where it got up to 50c, I hate the heat |
| 22:06:19 | Prestige | east coast usa right now willyboar |
| 22:06:21 | PMunch | Djeezez |
| 22:06:55 | Prestige | the 50c place was south east california in the desert |
| 22:06:57 | FromDiscord | <willyboar> 50 is too much |
| 22:07:06 | * | abm joined #nim |
| 22:07:12 | FromDiscord | <Elegant Beef> This is my area's average temperature https://media.discordapp.net/attachments/371759389889003532/718949135851454494/unknown.png |
| 22:07:16 | PMunch | I mean here we don't have AC, so even 32c would be horrible! |
| 22:07:53 | PMunch | Where do you live @Elegant Beef? |
| 22:08:17 | FromDiscord | <Elegant Beef> A small town in central- northern alberta |
| 22:08:26 | FromDiscord | <Elegant Beef> Canuckistan |
| 22:09:12 | FromDiscord | <Elegant Beef> Actually suprisingly similar averages |
| 22:09:23 | PMunch | Huh, never heard Canuckistan before |
| 22:09:32 | FromDiscord | <Elegant Beef> Lol Canada |
| 22:09:42 | FromDiscord | <Elegant Beef> It's a joke that some people think it's too socialist |
| 22:09:45 | PMunch | Yeah I figured that out when I typed it into Google Maps |
| 22:09:50 | FromDiscord | <Elegant Beef> Im not one i just like it |
| 22:10:41 | * | NimBot joined #nim |
| 22:10:47 | PMunch | Oh, did we? :P |
| 22:11:19 | FromDiscord | <Elegant Beef> Yea i folllowed up and said a majority of canada lives within a few hundred KM to the US border, so what do you mean "half" of canada is further south |
| 22:11:27 | FromDiscord | <willyboar> Last year i was living here : https://en.wikipedia.org/wiki/Icaria |
| 22:11:46 | FromDiscord | <Elegant Beef> I think you can agree pmunch -10 to +10 is ideal temperature 😄 |
| 22:12:23 | FromDiscord | <Rika> what the hell |
| 22:12:28 | PMunch | I actually really like warm weather :P |
| 22:12:33 | FromDiscord | <Elegant Beef> Ah |
| 22:12:33 | PMunch | But I also really like snow.. |
| 22:12:36 | FromDiscord | <Rika> i can barely stay in a 24 C area |
| 22:12:41 | FromDiscord | <Elegant Beef> Lol |
| 22:12:42 | FromDiscord | <Rika> too cold |
| 22:12:50 | PMunch | The perpetual darkness can get fucked though.. |
| 22:12:52 | FromDiscord | <Elegant Beef> I dont tend to wear a jacket in the temperature range i suggested |
| 22:13:03 | FromDiscord | <Elegant Beef> Yea in winter we have 4pm nights |
| 22:13:06 | PMunch | @Rika, the ovens in my house are set for 22C.. |
| 22:13:13 | FromDiscord | <djazz> > Djeezez↵That is not my name xD |
| 22:13:27 | PMunch | @Elegant beef, in winter the sun never comes above the horizon here.. |
| 22:13:30 | FromDiscord | <Elegant Beef> sun rise at around 6am and sets at 4-5pm in winter |
| 22:13:32 | FromDiscord | <Elegant Beef> Yea i know |
| 22:13:45 | FromDiscord | <Rika> > That is not my name xD↵@djazz ok djeeta |
| 22:13:48 | PMunch | But now it never goes below it :) |
| 22:13:56 | FromDiscord | <Elegant Beef> Dj jazz overhere |
| 22:14:17 | FromDiscord | <Rika> so, how many people have joked about your name by saying Djizz |
| 22:14:31 | Prestige | It sounds interesting PMunch, I need to find a cooler place to live |
| 22:14:32 | FromDiscord | <djazz> Or dj azz |
| 22:14:44 | FromDiscord | <djazz> I say deejazz |
| 22:14:57 | FromDiscord | <Elegant Beef> Well canada is cooler |
| 22:15:02 | FromDiscord | <Elegant Beef> Both politically and temperature 😛 |
| 22:15:06 | PMunch | Prestige, you're welcome to come here :) |
| 22:15:26 | FromDiscord | <djazz> @Rika very few actually |
| 22:15:33 | disruptek | it remains difficult to grow large single diamond crystals, to say nothing of slicing them into wafers. |
| 22:15:41 | Prestige | Haha I think that'd be quite a move. I also only really speak english so there's that |
| 22:15:50 | * | pbb quit (Remote host closed the connection) |
| 22:15:59 | PMunch | Prestige, don't worry about that, most people here speak close to perfect english |
| 22:16:09 | FromDiscord | <Elegant Beef> Scandanavians tend to learn english as a second language |
| 22:16:34 | PMunch | The people I know who come here speaking English tend to find it really hard to learn Norwegian because everyone just switches to english when talking to them :P |
| 22:16:41 | FromDiscord | <djazz> _waves flag 🇸🇪 _ |
| 22:16:48 | FromDiscord | <willyboar> i have heard that some countries learn ancient greeks |
| 22:16:54 | PMunch | To the point where people might switch in the middle of a sentence if you walk up to a group of people |
| 22:17:05 | * | pbb joined #nim |
| 22:17:17 | FromDiscord | <Elegant Beef> I mean with that decreasing birth rate gotta take in foriegners 😛 |
| 22:17:22 | FromDiscord | <djazz> When i visit denmark we just switch to english |
| 22:17:53 | Prestige | PMunch: hook me up and I'll move to sweden :P |
| 22:18:36 | PMunch | Why would I have you move to Sweden? :P |
| 22:18:54 | PMunch | I live in Norway |
| 22:19:05 | FromDiscord | <Elegant Beef> He's american he doesnt know the difference |
| 22:19:11 | disruptek | i don't think he wants to share a country with you, PMunch. |
| 22:19:18 | Prestige | Oh i thought you were in sweden haha |
| 22:19:27 | disruptek | like, one country ain't enough for this assklown. |
| 22:19:55 | PMunch | Haha :P This country isn't big enough for the both of us |
| 22:19:55 | FromDiscord | <djazz> I am in sweden. We open for tourists now |
| 22:19:59 | PMunch | *tumbleweed rolls by* |
| 22:20:06 | Prestige | Lmao |
| 22:20:13 | FromDiscord | <Elegant Beef> *Tumble snowball |
| 22:20:34 | * | NimBot joined #nim |
| 22:20:39 | PMunch | I think Norway is open to people from Denmark, but not Sweden, because you guys haven't really managed this whole Corona thing all that well.. |
| 22:21:05 | FromDiscord | <djazz> Yea norway closed border to swe |
| 22:21:27 | FromDiscord | <Elegant Beef> Well from my understanding the sweedes dont have a state of emergancy legelslation the government can enact for sickness |
| 22:21:28 | FromDiscord | <djazz> 4k deaths here so far |
| 22:21:42 | Prestige | I could at least visit. Need to find a cooler place. Moving next summer but haven't picked where yet |
| 22:21:53 | FromDiscord | <Elegant Beef> Atleast i read it on a reddit post somewhere so it has to be true |
| 22:24:13 | FromDiscord | <Shucks> whats equivalent to cpp's tilde destructor? Basically tryint to recode that few lines ```long style = GetWindowLong(ownd, GWL_EXSTYLE);↵style &= ~WS_EX_LAYERED;↵SetWindowLong(ownd, GWL_EXSTYLE, style);``` |
| 22:24:25 | PMunch | Norway has 238 deaths |
| 22:25:06 | PMunch | Prestige, swing by any time |
| 22:25:20 | PMunch | I would say "if you're in the area" but no-one ever are |
| 22:25:47 | FromDiscord | <djazz> Yeah the other nordic countries have low numbers. |
| 22:26:12 | FromDiscord | <djazz> Nim chat in offtopic, and offtopic in main, lol |
| 22:26:37 | FromDiscord | <Rika> @Shucks if you can explain what a tilde constructor is to those who dont know cpp |
| 22:27:06 | FromDiscord | <djazz> I should continue work on my nim web framework. Routing is next up |
| 22:28:19 | PMunch | @djazz, haha that tends to happen from time to time :P |
| 22:29:50 | FromDiscord | <willyboar> PMunch we are waiting for it 😛 |
| 22:30:52 | * | NimBot joined #nim |
| 22:31:09 | FromDiscord | <willyboar> the web framework |
| 22:31:23 | FromDiscord | <willyboar> but you are talking for the chat 😛 |
| 22:31:43 | FromDiscord | <djazz> https://github.com/daniel-j/koan |
| 22:32:14 | FromDiscord | <KingDarBoja> _do one for express_ |
| 22:32:19 | PMunch | Oooh :P |
| 22:32:55 | FromDiscord | <djazz> KoaJS is by the guy who made express |
| 22:33:32 | FromDiscord | <djazz> Expressive middleware, but async |
| 22:33:51 | voltist | Is using the unique name of a fictional character as the name for an open source project legally questionable? |
| 22:34:08 | PMunch | Hmm |
| 22:34:13 | FromDiscord | <KingDarBoja> @djazz didn't know about that, not used to do backend on JS |
| 22:34:33 | PMunch | Well I guess there is no way of confusing the library with the character |
| 22:34:44 | FromDiscord | <djazz> Probably not a good idea |
| 22:34:53 | PMunch | And I think trademarks and such only applies to their area |
| 22:35:01 | FromDiscord | <Rika> voltist: who 👀 |
| 22:35:14 | voltist | https://prospect.fandom.com/wiki/Inumon |
| 22:36:12 | PMunch | I mean Karax gets away with it: https://starcraft.fandom.com/wiki/Karax |
| 22:36:16 | voltist | I doubt there is trademark, but I don't understand copyright law enough to know if it covers this sort of thing |
| 22:37:48 | voltist | If you google Inumon, literally all of the results on the first page are about the character, movie or a song in the movie |
| 22:38:41 | FromDiscord | <KingDarBoja> ❤️ Karax |
| 22:39:25 | FromDiscord | <djazz> I use a JS framework called Mithril, which name is from lord of the rings |
| 22:39:32 | FromDiscord | <Rika> most people wont realize the connection |
| 22:39:33 | FromDiscord | <Rika> unless they know the series |
| 22:39:48 | FromDiscord | <djazz> Lightweight, but strong |
| 22:40:16 | voltist | According to the internet, characters are copyrighted but names are not |
| 22:41:02 | * | NimBot joined #nim |
| 22:41:13 | FromDiscord | <Rika> just name it the same, but dont indicate a connection to the character? |
| 22:41:33 | PMunch | I doubt they'd come after you for it |
| 22:41:37 | PMunch | But again IANAL |
| 22:41:50 | PMunch | Well, I'm off to walk the dog and go to bed |
| 22:41:54 | PMunch | Nigth |
| 22:41:54 | * | PMunch quit (Quit: leaving) |
| 22:41:56 | FromDiscord | <Rika> what does ianal mean |
| 22:41:57 | voltist | Cya |
| 22:42:07 | FromDiscord | <KingDarBoja> https://www.urbandictionary.com/define.php?term=IANAL |
| 22:42:07 | FromDiscord | <Rika> oh |
| 22:42:08 | FromDiscord | <Rika> yeah |
| 22:42:10 | FromDiscord | <Rika> i realized it |
| 22:42:25 | FromDiscord | <KingDarBoja> I didn't, had to google it |
| 22:44:48 | voltist | Ok, I'll do it |
| 22:45:05 | * | jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 22:45:10 | voltist | Just the name and that nice scarlet color the character wears for icons |
| 22:48:16 | FromDiscord | <djazz> If its not trademarked for software it should be ok but ianal |
| 22:48:47 | FromDiscord | <djazz> Jade was renamed to Pug over it, just in case https://github.com/pugjs/pug/issues/2184 |
| 22:48:48 | disbot | ➥ Renaming jade -> pug |
| 22:52:23 | FromDiscord | <djazz> Also my ”koan” module happens to share name with a Sailor Moon villain heh |
| 22:52:55 | * | NimBot joined #nim |
| 22:59:43 | FromDiscord | <Rika> ~~jade is a homestuck character too~~ |
| 23:03:45 | * | NimBot joined #nim |
| 23:08:51 | * | fredrikhr quit (Ping timeout: 246 seconds) |
| 23:13:43 | FromDiscord | <willyboar> I don't think there is a problem |
| 23:14:19 | FromDiscord | <willyboar> they have even used names |
| 23:14:24 | FromDiscord | <willyboar> Sinatra |
| 23:15:29 | * | NimBot joined #nim |
| 23:21:00 | FromDiscord | <KingDarBoja> Hahahahaha |
| 23:21:10 | FromDiscord | <KingDarBoja> Wasn't the other way around? |
| 23:21:18 | FromDiscord | <KingDarBoja> Tarantino sues Django xD |
| 23:24:02 | FromDiscord | <willyboar> Django framework is older i think |
| 23:24:36 | FromDiscord | <willyboar> framework 2005 - movie 2012 |
| 23:26:30 | * | NimBot joined #nim |
| 23:26:35 | FromDiscord | <KingDarBoja> https://en.wikipedia.org/wiki/Django_(1966_film) |
| 23:26:38 | FromDiscord | <KingDarBoja> Not so fast |
| 23:27:39 | FromDiscord | <willyboar> hm.... |
| 23:27:58 | FromDiscord | <willyboar> I suppose in both cases tarantino lose |
| 23:28:02 | FromDiscord | <willyboar> 😛 |
| 23:32:47 | shashlick | @PMunch that dll thing you suggested isn't possible |
| 23:33:08 | shashlick | I tried it in nimdeps but Nim tries to load the dll before the main function |
| 23:33:19 | * | Trustable quit (Remote host closed the connection) |
| 23:33:31 | shashlick | That's with dynlib, with regular -l loading, exe doesn't even start |
| 23:33:42 | leorize[m] | @dom96 this one is now ready for review: https://github.com/nim-lang/Nim/pull/14556 |
| 23:33:44 | disbot | ➥ net, openssl: support setting the minimum supported SSL/TLS version |
| 23:37:55 | * | NimBot joined #nim |
| 23:39:59 | * | zedeus quit (Ping timeout: 246 seconds) |
| 23:41:39 | * | tane quit (Quit: Leaving) |
| 23:43:11 | * | zedeus joined #nim |
| 23:47:58 | * | zedeus_ joined #nim |
| 23:48:04 | * | zedeus quit (Read error: Connection reset by peer) |
| 23:49:25 | * | NimBot joined #nim |
| 23:51:07 | * | zedeus_ quit (Read error: No route to host) |
| 23:51:12 | * | zedeus joined #nim |
| 23:51:51 | leorize[m] | shashlick: now that we have std/compilesettings, what do you think about making `{.dynlib.}` a macro? |
| 23:59:54 | * | zedeus quit (Ping timeout: 264 seconds) |