00:06:05 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
00:14:03 | * | krux02 quit (Remote host closed the connection) |
01:48:37 | FromDiscord | <patitotective> sent a code paste, see https://play.nim-lang.org/#pasty=QtjFYCDH |
01:49:19 | FromDiscord | <patitotective> maybe i should just like hide the ^ when there's a unicode character in the line lol |
01:49:55 | FromDiscord | <patitotective> sent a code paste, see https://play.nim-lang.org/#pasty=xCMqzgRb |
02:00:14 | FromDiscord | <patitotective> for now i'm going to treat any unicode character as two ascii ones... |
02:01:33 | FromDiscord | <demotomohiro> When you use fixed width fonts, most of CJK characters are always double width but some character's width is depends on locale.↵'Σ' is double width character on my PC, but it might different on your PC. |
02:06:55 | * | lucasta quit (Quit: Leaving) |
03:23:51 | * | SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev) |
03:55:52 | * | SchweinDeBurg joined #nim |
03:57:36 | FromDiscord | <nitely_> sent a code paste, see https://play.nim-lang.org/#pasty=dTcBYovc |
04:04:06 | * | rockcavera quit (Remote host closed the connection) |
06:45:29 | * | tdc joined #nim |
07:37:06 | FromDiscord | <ichigo7799> In reply to @auxym "Yes, known issue unfortunately.": CrowdStrike immediately deletes my `helloworld.exe` and then I get an angry letter from IT lol |
07:37:44 | FromDiscord | <Elegantbeef> Is this before or after exploding your PC? |
07:37:55 | FromDiscord | <ichigo7799> both |
07:38:05 | FromDiscord | <ichigo7799> seems to vary month to month actually |
07:38:17 | FromDiscord | <Elegantbeef> Put the drone strike into crowdstrike |
07:38:42 | FromDiscord | <ichigo7799> of course since it's IT managed, I have no idea when CrowdStrike downloads new definitions (except of course _that one time the whole office knew_) |
07:57:55 | * | redj quit (Ping timeout: 260 seconds) |
07:58:07 | * | redj_ joined #nim |
09:39:48 | FromDiscord | <ichigo7799> Sent IT a chat that I was going to run `hello.exe`, no reaction from crowdstrike ~~MEAT~~NIM'S BACK ON THE MENU BOIS |
09:40:32 | FromDiscord | <ichigo7799> at least until the virus definitions update again |
09:41:13 | FromDiscord | <ichigo7799> gotta write a major software in nim so that virus companies have to detect viruses by something other than "uses the nim runtime" |
09:53:11 | * | pmp-p quit (Ping timeout: 265 seconds) |
09:54:41 | * | pmp-p joined #nim |
10:18:36 | FromDiscord | <pmunch> In reply to @Elegantbeef "I do imagine that": Since @patitotective said `echo` I assume this is in a terminal with a monospaced font. But at least in some terminals glyphs are allowed to span more than one column. And zero-width joiners would further complicate the math. |
10:20:02 | * | PMunch joined #nim |
10:20:18 | FromDiscord | <pmunch> In reply to @ichigo7799 "gotta write a major": Oh please do! |
10:26:46 | FromDiscord | <that_dude.> In reply to @ichigo7799 "CrowdStrike immediately deletes my": Weirdly enough, that happens to my hello worlds too, but not for more complicated projects. Idk why though |
12:04:51 | * | ftajhii quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
13:32:28 | * | pmp-p quit (Ping timeout: 252 seconds) |
13:34:57 | * | pmp-p joined #nim |
13:45:50 | * | ntat joined #nim |
13:51:24 | FromDiscord | <luteva> Hi! I would like to write a dsl that contains sql and some "markers/properties" within sql comments (like --@myAnnotation). So the syntax is given I am not free. Any ideas of libs/tools/framework to use? I know that there is an sql parser in nim's std-lib, but i do not only have sql but also the markers within the sql comments. So this does not help afaik... |
13:54:06 | FromDiscord | <nnsee> In reply to @luteva "Hi! I would like": maybe npeg if you're going the "write your own lexer" route (which you'll probably have to do given that you use a proprietary format) |
13:54:09 | FromDiscord | <nnsee> https://github.com/zevv/npeg |
14:19:46 | FromDiscord | <suvan0522> is there any website where there are style guides for nim? |
14:21:41 | PMunch | There's NEP-| |
14:21:45 | PMunch | NEP-1 |
14:21:55 | FromDiscord | <nnsee> In reply to @suvan0522 "is there any website": there is no "standard style guide", but you can find the standard library's style guide here: https://nim-lang.org/docs/nep1.html, and status maintains their style guide here: https://status-im.github.io/nim-style-guide/ |
14:22:09 | FromDiscord | <suvan0522> thanks |
14:23:14 | PMunch | And Status has one |
14:23:27 | PMunch | Oh, @nnsee already pasted it |
14:23:28 | FromDiscord | <Robyn [She/Her]> In reply to @PMunch "And Status has one": Ras said that lol |
14:23:46 | PMunch | I didn't read the messages :P |
14:24:07 | FromDiscord | <Robyn [She/Her]> smh PMunch |
14:25:27 | * | alexdaguy joined #nim |
14:38:07 | FromDiscord | <k0ts> Status's style guide is fine and all until you see how they recommend doing proc parameter lists and throw up a little in your mouth |
14:38:14 | FromDiscord | <k0ts> https://status-im.github.io/nim-style-guide/formatting.style.html |
14:49:28 | * | lucasta joined #nim |
14:50:44 | PMunch | To avoid the 80-character limit? |
14:52:01 | * | ftajhii joined #nim |
15:01:47 | * | PMunch quit (Quit: Leaving) |
16:03:06 | * | alexdaguy quit (Quit: w) |
16:25:50 | FromDiscord | <patitotective> sent a code paste, see https://play.nim-lang.org/#pasty=SRMiwtER |
16:44:10 | FromDiscord | <patitotective> sent a code paste, see https://play.nim-lang.org/#pasty=cxcVnKHP |
16:44:36 | FromDiscord | <patitotective> (edit) "https://play.nim-lang.org/#pasty=WydoeEmv" => "https://play.nim-lang.org/#pasty=kppxiDYK" |
16:45:02 | FromDiscord | <patitotective> (Though discord messes it up a little bit since it considers (゚a single character and not two as my terminal... |
16:45:05 | FromDiscord | <patitotective> (edit) "terminal..." => "terminal...)" |
18:16:52 | FromDiscord | <nervecenter> In reply to @patitotective "Now the errors look": Are you making a KDL parser by chance? |
18:17:01 | FromDiscord | <nervecenter> (edit) "parser" => "parser/serializer" | "chance?" => "chance" |
18:17:06 | FromDiscord | <nervecenter> (edit) "chance" => "chance?" |
18:18:02 | FromDiscord | <nervecenter> Oh I forgot Nim already has one |
18:26:53 | FromDiscord | <broman7776> Thanks↵(@demotomohiro) |
18:31:02 | FromDiscord | <__jont__> In reply to @nnsee "maybe npeg if you're": This is pretty cool, makes me want to write a new language. |
18:31:23 | FromDiscord | <__jont__> DSL, of course. |
18:34:52 | FromDiscord | <__jont__> Been thinking of making a graph data structure DSL and this might be a good starting point |
18:42:52 | * | lucasta quit (Quit: Leaving) |
19:13:52 | FromDiscord | <patitotective> In reply to @nervecenter "Are you making a": I think I'm the only one who's implemented KDL for Nim and I'm updating it to the new kdl v2 version↵https://github.com/Patitotective/kdl-nim |
20:03:12 | FromDiscord | <.tokyovigilante> Is this still a sensible (ahem) option for null-coalescing? https://github.com/piedar/coalesce/blob/master/coalesce.nim |
20:04:20 | FromDiscord | <.tokyovigilante> In swift (and apparently rust) I'm used to something like `Option[String] ?? "definitely a string"` which this package adds with a custom operator, or is there a better modern (ahem) option? |
20:18:40 | FromDiscord | <bostonboston> Everytime I compile a Nim program windows defender stops the program and scans it, so I can say I'm doing my part of submitting samples |
20:40:14 | * | jjido joined #nim |
21:18:04 | * | tdc quit (Remote host closed the connection) |
21:30:44 | FromDiscord | <luteva> how can i check if an element in a folder is a file? something like isFile(), but that doesn't exist (at least not in os module) |
21:32:11 | * | krux02 joined #nim |
21:37:45 | FromDiscord | <luteva> oh i found it: fileExists also checks for "regular files or symlinks". that should work for me. 🙂 |
21:49:44 | * | ntat quit (Quit: Leaving) |
22:05:26 | * | _________ quit (Ping timeout: 265 seconds) |
22:55:36 | * | rockcavera joined #nim |
23:09:58 | * | lucasta joined #nim |
23:44:27 | * | jjido quit (Quit: Textual IRC Client: www.textualapp.com) |