00:00:58 | * | cyraxjoe joined #nim |
00:04:48 | * | ofelas joined #nim |
00:12:52 | * | cyraxjoe quit (Quit: I'm out!) |
00:12:58 | FromDiscord | <Zachary Carter> lots of drama today |
00:17:19 | * | cyraxjoe joined #nim |
00:21:57 | * | audiophile_ joined #nim |
00:22:26 | * | cyraxjoe quit (Quit: I'm out!) |
00:24:58 | * | cyraxjoe joined #nim |
00:25:16 | FromDiscord | <Technisha Circuit> Yup |
00:25:26 | * | audiophile quit (Ping timeout: 260 seconds) |
00:25:35 | * | audiophile_ is now known as audiophile |
00:26:39 | * | audiophile is now known as BlameTheRoomba |
00:28:15 | * | pietroppeter quit (Quit: Connection closed for inactivity) |
00:32:56 | FromDiscord | <Elegant Beef> Perhaps |
00:33:02 | * | oddp quit (Ping timeout: 260 seconds) |
00:36:28 | * | Senny joined #nim |
00:41:12 | * | Tanger joined #nim |
00:43:46 | BlameTheRoomba | you want beef with me huh? |
00:43:50 | * | BlameTheRoomba throws arms |
00:46:06 | FromDiscord | <Elegant Beef> sure |
00:46:17 | * | cyraxjoe quit (Quit: I'm out!) |
00:48:40 | BlameTheRoomba | look man I'm sorry |
00:48:42 | BlameTheRoomba | no beef |
00:49:55 | * | cyraxjoe joined #nim |
00:51:24 | * | Tongir joined #nim |
00:52:56 | FromDiscord | <Elegant Beef> We can just blame the vaccum cleaner |
00:54:13 | * | Tanger quit (Ping timeout: 264 seconds) |
00:56:54 | * | cyraxjoe quit (Ping timeout: 240 seconds) |
00:57:36 | * | cyraxjoe joined #nim |
00:58:32 | * | BlameTheRoomba blames self |
00:59:17 | disruptek | sucks. |
00:59:27 | disruptek | look, there's no crying in baseball. |
00:59:34 | disruptek | but there IS crying in #nim. QQ |
01:02:20 | FromGitter | <ynfle> Is there any way to use `nre` at compile time |
01:06:07 | disruptek | stack trace: (most recent call last) |
01:06:07 | disruptek | 4969 calls omitted |
01:06:24 | disruptek | damnit, exactly the calls i wanted to see. |
01:08:00 | FromGitter | <ynfle> Is there a sane way to extract the nim code from inside of a `fmt`? |
01:09:23 | * | cyraxjoe quit (Quit: I'm out!) |
01:12:32 | * | cyraxjoe joined #nim |
01:28:35 | * | cyraxjoe quit (Quit: I'm out!) |
01:31:12 | * | cyraxjoe joined #nim |
01:34:33 | * | krux02_ quit (Remote host closed the connection) |
01:43:55 | FromGitter | <ynfle> Is there a way to expand a macro using `{.push expandMacro: fmt.}`? |
01:46:12 | * | chemist69 quit (Ping timeout: 260 seconds) |
01:47:51 | * | chemist69 joined #nim |
01:54:44 | * | cyraxjoe quit (Quit: I'm out!) |
01:57:25 | * | cyraxjoe joined #nim |
01:58:14 | FromDiscord | <juan_carlos> `-d:debugFmtDsl` |
01:58:56 | FromDiscord | <Zachary Carter> Okay I banned that guy from discord - can someone just start locking his issues please - https://github.com/nim-lang/Nim/issues/14876 ? |
01:58:57 | disbot | ➥ Please revert my commit |
01:59:09 | FromDiscord | <Zachary Carter> This is not the right way to handle a personal grievance with another community member, even if it's the languages BDFL |
02:00:28 | FromDiscord | <Zachary Carter> (edit) removed 'languages' |
02:02:40 | BornInWinter | why the discord ban? i haven't seen anything from them since the left earlier |
02:03:53 | FromDiscord | <KingDarBoja> What means BSFL? |
02:05:00 | FromDiscord | <Zachary Carter> BornInWinter: because their real intention is obviously being disruptive to the community, and seeking attention |
02:05:15 | * | cyraxjoe quit (Quit: I'm out!) |
02:05:49 | BornInWinter | I have it on good authority they aren't actually. They were completely polite and clearly expressed their reasoning, which it seems you've ignored. |
02:06:14 | BornInWinter | If they wanted to be disruptive, they would've raided the discord server, or continued yelling there |
02:06:17 | * | FromDiscord quit (Remote host closed the connection) |
02:06:32 | * | FromDiscord joined #nim |
02:07:06 | FromDiscord | <KingDarBoja> Oh, BDFL, Dictator for Life, like Python one lmao |
02:08:05 | BornInWinter | Araq: I'd like to request Simula be unbanned from the discord server, as they have broken no rules |
02:08:39 | * | cyraxjoe joined #nim |
02:09:25 | FromDiscord | <Zachary Carter> Ar4q isn't even a moderator of Discord and doesn't really need to be bothered for this |
02:09:32 | FromDiscord | <KingDarBoja> https://media.discordapp.net/attachments/371759389889003532/728069819974418573/Screenshot_20200701-210907.png |
02:09:40 | FromDiscord | <KingDarBoja> Oh noes |
02:10:12 | BornInWinter | Then I'd like to request another discord mod unban them, as they have done nothing wrong |
02:11:09 | FromDiscord | <Zachary Carter> Actually, he broke the first rule in our discord <#712684648454684752> channel |
02:11:10 | FromDiscord | <Zachary Carter> - Be respectful towards other people. No harassing or personally attacking others. |
02:11:25 | FromDiscord | <Zachary Carter> he's been harassing other community members via github issues and has used offensive language in github issues and threads |
02:11:25 | FromDiscord | <mattrb> sent a code paste, see https://play.nim-lang.org/#ix=2qG6 |
02:11:47 | BornInWinter | Where have they* been harassing github users? |
02:11:56 | FromDiscord | <Zachary Carter> go look in github issues if you want to see for yourself |
02:12:05 | BornInWinter | all i've seen was a retaliation against beef and yard after they politely asked them not to be bothered |
02:12:15 | BornInWinter | I have, I didn't see anything |
02:13:02 | FromDiscord | <Zachary Carter> well his other issue was locked I assume |
02:13:17 | disruptek | when you contribute to an MIT-licensed project, you're giving away your contribution. |
02:13:44 | disruptek | dom can do what he wants with nimble, but i doubt much could/should be done about Nim contributions. |
02:14:12 | FromDiscord | <Zachary Carter> Also he came into discord calling people assholes earlier |
02:14:18 | BornInWinter | they* |
02:14:34 | FromDiscord | <Zachary Carter> excuse me, they |
02:15:00 | FromDiscord | <Zachary Carter> although I'm pretty sure it's a he as I checked out their website and their name appears to be Steve |
02:15:07 | FromDiscord | <Zachary Carter> but regardless of whatever gender they identify as |
02:15:42 | FromDiscord | <Zachary Carter> they caused a disruption and made a personal grievance public, called people assholes, tagged people on github issues and are opening more github issues screenshotting things, causing drama |
02:15:56 | FromDiscord | <KingDarBoja> He is posting every irc response on his latest GH issue |
02:16:01 | BornInWinter | perhaps you shouldn't be insulting them behind their back then |
02:16:02 | FromDiscord | <Zachary Carter> that's fine, it'll get locked eventually |
02:16:03 | BornInWinter | they* |
02:16:18 | FromDiscord | <Zachary Carter> I'm not insulting them |
02:16:24 | FromDiscord | <Zachary Carter> I'm stating what they did and what the reason for the ban is |
02:16:34 | disruptek | what is this "behind the back" stuff? |
02:16:38 | FromDiscord | <Zachary Carter> I don't know |
02:16:41 | FromDiscord | <KingDarBoja> https://github.com/moigagoo/norm/issues/75 |
02:16:42 | disbot | ➥ Please revert my commits |
02:16:43 | BornInWinter | royal you, sorry |
02:16:54 | disruptek | it's hard for anyone to do anything on the internet without doing it behind your back, Simula. |
02:16:57 | disruptek | er, Steve. |
02:17:03 | disruptek | or, i mean, BornInWinter. |
02:17:15 | BornInWinter | nope, just a friend of sim's from cybre.space |
02:17:38 | FromDiscord | <Zachary Carter> okay cool, well I'm not unbanning Simula, so that's that |
02:17:50 | FromDiscord | <KingDarBoja> Well, should be good to tell Simula that they should chill |
02:18:15 | FromDiscord | <KingDarBoja> Opening issues to every repo they contributed isn't a good solution |
02:18:19 | disruptek | i don't understand why anyone would care so much, but the MIT license is pretty clear. maybe ask Steve to take a peek at it. |
02:18:30 | FromDiscord | <Zachary Carter> none of the way they've handled things is a good solution |
02:18:34 | FromDiscord | <Zachary Carter> it's what a child would do |
02:18:39 | BornInWinter | maybe read it yourself, disruptek. they made it pretty clear why they're doing what they're doing |
02:19:00 | shashlick | people are totally allowed to be offended and calling names and whatever they want in real life or virtually |
02:19:04 | disruptek | i see a request that nim-lang is unlikely to honor; i'm just trying to explain why that is. |
02:19:13 | BornInWinter | but people upset at that can't retaliate, shashlick? |
02:19:16 | disruptek | yeah, i have no problem with name calling. |
02:19:36 | shashlick | i mean Simula just as anyone else here |
02:19:46 | FromDiscord | <mattrb> Is there a better channel to ask questions in so that I'm not interrupting all of this? ^ |
02:19:48 | disruptek | i just think you do yourself a disservice to "show your ass" (as my southern friends say) thusly. |
02:19:49 | shashlick | fact is that nothing good comes out of it, either way |
02:19:51 | BornInWinter | I fail to see the reasoning here. Sim has done nothing you yourselves haven't either done or condone |
02:20:07 | disruptek | mattrb: i'm looking at your code but i'm not familiar with sdl. is this code complete? |
02:20:22 | FromDiscord | <JackFly26> sent a code paste, see https://play.nim-lang.org/#ix=2qG9 |
02:20:28 | FromDiscord | <KingDarBoja> @mattrb You can continue in <#371759607934353448> , it is olay |
02:20:35 | FromDiscord | <KingDarBoja> Okay* :) don't worry |
02:21:34 | disruptek | zachary is probably the most expert of us wrt sdl. |
02:21:55 | FromDiscord | <KingDarBoja> But once again, things got misunderstood after reading the original GH issue regarding the lock. Simula, it is okay to feel offended but try to resolve things privately, with all the people that were involved |
02:22:09 | disruptek | BornInWinter: no one here is slinging names on github. |
02:22:26 | BornInWinter | Again, not Simula. However, they no longer can as they were banned from discord for... some sort of crime |
02:22:37 | FromDiscord | <KingDarBoja> The community isn't perfect but not everyone is answering with an agressive tone |
02:22:47 | FromDiscord | <KingDarBoja> He can read me on IRC |
02:22:54 | BornInWinter | again, they* |
02:23:03 | FromDiscord | <KingDarBoja> They* can |
02:23:09 | disruptek | it's not really fair to others not to offer some censorship against behavior so poor. |
02:23:21 | FromDiscord | <Zachary Carter> Alright - this discussion re: simula can move to <#371759607934353448> |
02:23:26 | BornInWinter | What have they done that others have not? |
02:23:27 | disruptek | the problem is that 300 people don't want to read this crap. |
02:23:30 | FromDiscord | <Elegant Beef> I mean i havent even directly insulted them, and they retorted for no reason and even i dont care if they're banned, but why is this still a conversation |
02:23:31 | FromDiscord | <Zachary Carter> no more discussing Simula in this channel |
02:23:34 | BornInWinter | Simula cannot move anywhere as they have been banned lmao |
02:23:51 | FromDiscord | <Zachary Carter> I'll delete any further messages regarding this person |
02:23:54 | BornInWinter | So insulting someone behind their back makes it okay? |
02:23:57 | FromDiscord | <Zachary Carter> go to <#371759607934353448> |
02:24:22 | BornInWinter | Zachary, what has Simula done that other users involved in this haven't? You refuse to answer |
02:25:11 | FromDiscord | <Zachary Carter> They started the drama - period end of it |
02:25:32 | BornInWinter | They actually attempted to end it. Yard brought it up in Discord, making them the starter of drama TM |
02:25:32 | disruptek | i think Araq would have banned me today if i wasn't so damned cute. |
02:25:42 | disruptek | he says i have the most gorgeous eyes. |
02:25:46 | FromDiscord | <Zachary Carter> they should have handled the situation better, and gone to whatever community member they had a grievance with privately |
02:25:55 | shashlick | just see github - the screenshots, calling out the community, etc. who here has done that? |
02:25:57 | BornInWinter | Yard should have been private |
02:26:09 | BornInWinter | You banned them from Discord, where else should they go? |
02:26:14 | * | lritter quit (Ping timeout: 256 seconds) |
02:26:15 | FromDiscord | <Zachary Carter> BornInWinter - enough already go to offtopic if you want to discuss this more |
02:26:24 | FromDiscord | <Elegant Beef> They wanted to leave this community so why does it matter where they can go? |
02:26:30 | BornInWinter | I'm not an IRC or discord user, so I can't |
02:26:32 | FromDiscord | <Elegant Beef> But yes as zach said, we probably should end it |
02:26:51 | disruptek | you're using irc right now. |
02:26:57 | FromDiscord | <Zachary Carter> yes you can - someone please fill them in on the irc offtopic channel |
02:26:57 | FromDiscord | <Elegant Beef> Yea we can see that |
02:26:59 | BornInWinter | Not registered though |
02:27:10 | FromDiscord | <Zachary Carter> Okay, well then let's just stop discussing this matter |
02:27:13 | shashlick | you can join #nim-offtopic |
02:27:37 | BornInWinter | offtopic requires registration. Zachary, what rule has Simula broken in the Discord that others haven't? |
02:27:38 | FromDiscord | <Zachary Carter> we don't need this crap polluting a space where people are asking legitimate Nim questions |
02:27:53 | BornInWinter | I wasn't the one who started anything, you'll find |
02:28:12 | FromDiscord | <Zachary Carter> You're asking for an IRC ban BornInWinter |
02:28:23 | FromDiscord | <Elegant Beef> So SDL huh? |
02:28:26 | disruptek | just ignore them, i guess. they will get bored eventually. |
02:28:27 | BornInWinter | I'm just asking a question that you refuse to answer |
02:28:35 | BornInWinter | Sounds like you know you're wrong |
02:28:37 | FromDiscord | <Zachary Carter> I already answered it multiple times, you refused to accept my answer |
02:28:57 | BornInWinter | You lied several times |
02:29:05 | BornInWinter | You claimed they started drama, but the logs show otherwise |
02:29:12 | BornInWinter | I can go link the irclogs if you want |
02:29:29 | FromDiscord | <Zachary Carter> go ahead - if you have nothing better to do - I won't read them and I won't unban this person |
02:29:44 | BornInWinter | So you're wrong, you refuse to listen to reason, and you'll continue to lie? |
02:29:52 | BornInWinter | Is that someone who should have control over a community? |
02:29:53 | FromDiscord | <Zachary Carter> whatever you want to call it |
02:30:01 | BornInWinter | Consider you're proving Simula's point exactly |
02:30:07 | FromDiscord | <Elegant Beef> > @beef331 Even if I did want to use any of your trash, it would be a bit difficult since you apparently can't bring yourself to write more than two sentences in a readme, assuming you write anything at all. |
02:30:13 | FromDiscord | <Zachary Carter> sure whatever - honestly I don't care about Simula at all |
02:30:15 | FromDiscord | <Elegant Beef> I feel like that's a direct attack for no reason |
02:30:24 | BornInWinter | You started it, Beef |
02:30:32 | FromDiscord | <Elegant Beef> I really didnt |
02:30:33 | BornInWinter | It's right there in the GH issue |
02:30:35 | FromDiscord | <Elegant Beef> I asked to be blocked |
02:30:37 | FromDiscord | <Elegant Beef> That was it |
02:30:38 | disruptek | just ignore them so we can talk about nim. |
02:30:44 | FromDiscord | <Zachary Carter> agreed |
02:30:45 | disruptek | or take it to another room. |
02:30:51 | FromDiscord | <Zachary Carter> okay - someone had a question about SDL? |
02:30:53 | shashlick | despite asking to move to offtopic, this goes on |
02:31:02 | BornInWinter | I can't use offtopic /shrug |
02:31:09 | disruptek | i don't want to have to ignore discord, but i will. |
02:31:16 | BornInWinter | I asked a simple question that zach refuses to answer |
02:31:27 | shashlick | how hard is it to register, if it is so important to discuss, at least have the courtesy to follow the norms of these rooms |
02:31:41 | FromDiscord | <Elegant Beef> Oh disruptek you'd be lost without me |
02:31:42 | disruptek | anyway, i don't have a way to test this sdl code, mattrb. |
02:31:45 | BornInWinter | You have afforded Simula no courtesy |
02:31:52 | BornInWinter | Why should anyone give you any? |
02:32:28 | disruptek | https://play.nim-lang.org/#ix=2qGd |
02:32:56 | BornInWinter | So zach, what did they do? |
02:32:58 | FromDiscord | <Zachary Carter> @mattrb have you tried debugging with gdb / lldb? |
02:33:26 | BornInWinter | So zach, what did they do? |
02:33:31 | FromDiscord | <Zachary Carter> not sure what compiler you're using but if you're using clang asan might be an option |
02:33:37 | bung | I see he feel offended and feel people not kindly answering his question |
02:33:39 | BornInWinter | So zach, what did they do? |
02:34:31 | FromDiscord | <Zachary Carter> bung: let's not discuss that in the main channel, please move it to offtopic as this issue is polluting the main channel |
02:34:31 | bung | so he starting request revert his commits, that's not how things goes |
02:34:49 | BornInWinter | So zach, what did they do? |
02:34:58 | BornInWinter | bung: they* |
02:35:03 | FromDiscord | <KingDarBoja> Bung: not the way, but please let's go to <#371759607934353448> |
02:35:15 | BornInWinter | So zach, what did they do? |
02:35:34 | BornInWinter | It's a simple question, my guy |
02:35:46 | bung | ok, I did not feel like that, I feel the community very kind. |
02:36:20 | BornInWinter | And yet, from what I've heard, this is an issue that happens somewhat frequently |
02:36:20 | * | muffindrake quit (Ping timeout: 246 seconds) |
02:36:34 | BornInWinter | enough that mratsim and krux have had issues with it |
02:36:51 | FromDiscord | <KingDarBoja> Bung: yeah but things can be misunderstood, but let's go to <#371759607934353448> or avoid the topic, this channel is for Nim related questions |
02:37:48 | FromDiscord | <Zachary Carter> and krux a mratsim handled their issues as adults do |
02:37:52 | FromDiscord | <flywind> Someone knows how can use `nim-gdb` in ubuntu? |
02:37:56 | bung | ok, I joined there, see what I can do make things more clear |
02:38:11 | BornInWinter | Zach: so you admit you aren't an adult, or do you just not handle things like an adult? |
02:38:22 | FromDiscord | <Zachary Carter> I was referring to you and Simula |
02:38:34 | FromDiscord | <Zachary Carter> and how you're handling this |
02:38:34 | * | muffindrake joined #nim |
02:38:44 | BornInWinter | You're the one who refuses to answer a question |
02:38:59 | FromDiscord | <Zachary Carter> I've already answered it several times, you only hear what you want to hear, and that isn't something I can help |
02:39:02 | FromDiscord | <KingDarBoja> He already answered man |
02:39:07 | BornInWinter | What has Simula done that others have not? From my POV, SImula was polite and mature, right up until other uses started insulting behind their back |
02:39:11 | BornInWinter | no, you lied several times |
02:39:13 | FromDiscord | <KingDarBoja> Please move to offtopic channel |
02:39:25 | FromDiscord | <Zachary Carter> I didn't lie - I can go pull links to IRC logs just like you can |
02:39:27 | BornInWinter | Simula started nothing. Yard and Beef did |
02:39:30 | BornInWinter | do it, fam |
02:39:36 | FromDiscord | <Elegant Beef> I did something? |
02:39:38 | FromDiscord | <Zachary Carter> I'm not your fam |
02:39:43 | BornInWinter | please, go right ahead my guy |
02:39:48 | FromDiscord | <Zachary Carter> I'm not your guy either |
02:39:52 | FromDiscord | <Zachary Carter> and Simula isn't getting unbanned |
02:39:53 | BornInWinter | I tried to do that earlier and you said you wouldn't read, bro |
02:39:58 | FromDiscord | <JackFly26> ok what does the error ```nim↵Error: A nested proc can have generic parameters only when it is used as an operand to another routine and the types of the generic paramers can be inferred from the expected signature.``` |
02:39:59 | FromDiscord | <KingDarBoja> BornInWinter: Simula can reply on IRC, let him speak if so |
02:40:11 | FromDiscord | <Elegant Beef> Hey guys, shut the fuck up, actual nim problems |
02:40:12 | FromDiscord | <JackFly26> mean |
02:40:16 | BornInWinter | Now you're just being a transphobic asshole |
02:40:26 | BornInWinter | I have corrected you multiple times |
02:40:35 | BornInWinter | And you have acknowledged that |
02:40:36 | FromDiscord | <Zachary Carter> BornInWinter is Simula just FYI folks |
02:40:45 | FromDiscord | <Elegant Beef> Yea i can do 2+1 = 4 |
02:40:56 | FromDiscord | <KingDarBoja> Wtf has to do transphobic lol |
02:40:58 | * | cyraxjoe quit (Ping timeout: 256 seconds) |
02:41:01 | FromDiscord | <flywind> I find `gdb` can't print beautiful variables. I can use `nim-gdb` in windows. But I have issues in using `nim-gdb` in ubuntu. |
02:41:07 | BornInWinter | You continue to misgender a trans person despite the corrections |
02:41:13 | * | cyraxjoe joined #nim |
02:41:17 | FromDiscord | <Elegant Beef> you didnt change the pronoun which is apparently considered transphobic although you didnt discriminate |
02:41:19 | FromDiscord | <Elegant Beef> So... |
02:41:24 | * | notandinus quit (Quit: ERC (IRC client for Emacs 26.3)) |
02:41:30 | BornInWinter | misgendering is discrimination, thanks for playing |
02:41:35 | FromDiscord | <Elegant Beef> Actually it's not |
02:42:00 | BornInWinter | sure buddy |
02:42:01 | FromDiscord | <Zachary Carter> Do we have no US IRC mods? |
02:42:14 | disruptek | jackfly26 it means that nim needs some way to infer types of generic parameters. |
02:42:23 | FromDiscord | <Zachary Carter> disruptek: are you not an IRC mod? |
02:42:30 | disruptek | are you kidding? |
02:42:34 | FromDiscord | <Zachary Carter> lol |
02:42:35 | BornInWinter | Wondering why the discord allows transphobia but not... getting mad at people for insults |
02:42:51 | disruptek | i'm not trusted to operate scissors myself. |
02:42:57 | disruptek | i have to have my mom cut my steak. |
02:43:02 | disruptek | fuck no, i don't have ops. |
02:43:06 | FromDiscord | <Elegant Beef> Does she chew it for you too? |
02:43:14 | disruptek | when i'm lucky. |
02:43:15 | FromDiscord | <Zachary Carter> regurgitates it into his mouth |
02:43:54 | BornInWinter | Consider that Simula simply asked to not be bothered, and your refusal to honor that has allowed this to spiral out of control |
02:44:06 | FromDiscord | <KingDarBoja> 🧐 |
02:44:07 | BornInWinter | So what've they done, zach, my guy? |
02:44:20 | FromDiscord | <Rika> We're still at this topic? |
02:44:29 | FromDiscord | <Elegant Beef> I mean, the issue was made, and was being addressed, there was no reason to act like a GUI element is causing distress that needed to be addressed |
02:44:29 | BornInWinter | do y'all also allow slurs in this server, or just the misgendering? |
02:44:33 | FromDiscord | <Zachary Carter> Well Simula is BornInWinter - I banned Simula from discord |
02:44:41 | FromDiscord | <KingDarBoja> I moved everyone to offtopic Rika-sensei |
02:44:44 | BornInWinter | for what? |
02:44:48 | FromDiscord | <Zachary Carter> and we don't have any ops in IRC atm to ban BornInWinter |
02:45:06 | FromDiscord | <KingDarBoja> We don't care about gender |
02:45:09 | BornInWinter | What did sim do to be banned that others haven't done? why do you allow transphobia? |
02:45:12 | FromDiscord | <KingDarBoja> We care about code |
02:45:17 | FromDiscord | <Elegant Beef> There hasnt been any transphobia |
02:45:17 | BornInWinter | sure bud |
02:45:20 | shashlick | how come #nim-offtopic needs users to be registered but not #nim |
02:45:25 | BornInWinter | misgendering is transphobia, child |
02:45:29 | disruptek | it's a fair question. |
02:45:30 | FromDiscord | <Elegant Beef> > Transphobia encompasses a range of negative attitudes, feelings or actions toward transgender people or transness in general. |
02:45:37 | FromDiscord | <KingDarBoja> You are being childish |
02:45:44 | BornInWinter | https://en.wikipedia.org/wiki/Transphobia |
02:45:48 | FromDiscord | <Elegant Beef> Misgendering is not negative attitude, simply just the way people speak |
02:45:51 | BornInWinter | you are misgendering a trans person, my guy |
02:45:54 | FromDiscord | <KingDarBoja> Yup |
02:45:57 | BornInWinter | words have multiple meanings, pedant |
02:46:06 | FromDiscord | <KingDarBoja> No one ever know You we're trans |
02:46:06 | disruptek | maybe yard is asleep. i guess this is a good wake up call. |
02:46:07 | FromDiscord | <Rika> What the hell |
02:46:19 | FromDiscord | <KingDarBoja> And we don't care |
02:46:21 | FromDiscord | <Elegant Beef> People call inanimate gendered pronouns |
02:46:23 | BornInWinter | king, youve misgendered knowingly, multiple times |
02:46:26 | FromDiscord | <Zachary Carter> Araq dom96 |
02:46:33 | disruptek | that we need to figure out ops and bridge buckets and whatnot. |
02:46:35 | FromDiscord | <Elegant Beef> Weirdly people prefer using gendered pronouns |
02:46:36 | FromDiscord | <Zachary Carter> @Yardanico |
02:46:40 | BornInWinter | why do you allow transphobia, zach? |
02:46:42 | FromDiscord | <Zachary Carter> need some IRC mod pronto |
02:46:47 | FromDiscord | <Elegant Beef> God |
02:46:47 | BornInWinter | why do you allow transphobia, zach? |
02:46:48 | FromDiscord | <KingDarBoja> Please stop this Simula or BornInWinter |
02:46:54 | BornInWinter | then stop misgendering |
02:46:57 | BornInWinter | why do you allow transphobia, zach? |
02:46:59 | FromDiscord | <Rika> It's probably a mistake, we didn't even know you were trans |
02:47:06 | disruptek | i mean, it's fine for irc people. just switch to irc. |
02:47:08 | BornInWinter | i corrected him multiple times, rika |
02:47:09 | FromDiscord | <Zachary Carter> just stop feeding the troll |
02:47:16 | FromDiscord | <Rika> Who is he |
02:47:17 | FromDiscord | <Elegant Beef> Anywho |
02:47:18 | FromDiscord | <Elegant Beef> Nim |
02:47:20 | FromDiscord | <KingDarBoja> He thinks that we should refer to him as "They" |
02:47:23 | FromDiscord | <Zachary Carter> BornInWinter = Simula |
02:47:26 | BornInWinter | why do you allow transphobia, zach? |
02:47:27 | BornInWinter | why do you allow transphobia, zach? |
02:47:27 | FromDiscord | <KingDarBoja> Yup |
02:47:27 | BornInWinter | why do you allow transphobia, zach? |
02:47:28 | BornInWinter | why do you allow transphobia, zach? |
02:47:29 | BornInWinter | why do you allow transphobia, zach? |
02:47:29 | FromDiscord | <Rika> @KingDarBoja and why not |
02:47:29 | BornInWinter | why do you allow transphobia, zach? |
02:47:30 | FromDiscord | <KingDarBoja> Ignore him |
02:47:30 | BornInWinter | why do you allow transphobia, zach? |
02:47:31 | BornInWinter | why do you allow transphobia, zach? |
02:47:34 | BornInWinter | why do you allow transphobia, zach? |
02:47:34 | BornInWinter | why do you allow transphobia, zach? |
02:47:35 | BornInWinter | why do you allow transphobia, zach? |
02:47:35 | BornInWinter | why do you allow transphobia, zach? |
02:47:36 | BornInWinter | why do you allow transphobia, zach? |
02:47:37 | BornInWinter | why do you allow transphobia, zach? |
02:47:38 | BornInWinter | why do you allow transphobia, zach? |
02:47:38 | BornInWinter | why do you allow transphobia, zach? |
02:47:39 | BornInWinter | why do you allow transphobia, zach? |
02:47:39 | BornInWinter | why do you allow transphobia, zach? |
02:47:40 | BornInWinter | why do you allow transphobia, zach? |
02:47:40 | BornInWinter | why do you allow transphobia, zach? |
02:47:41 | BornInWinter | why do you allow transphobia, zach? |
02:47:43 | BornInWinter | why do you allow transphobia, zach? |
02:47:43 | BornInWinter | why do you allow transphobia, zach? |
02:47:44 | BornInWinter | why do you allow transphobia, zach? |
02:47:44 | BornInWinter | why do you allow transphobia, zach? |
02:47:45 | BornInWinter | why do you allow transphobia, zach? |
02:47:45 | BornInWinter | why do you allow transphobia, zach? |
02:47:46 | BornInWinter | why do you allow transphobia, zach? |
02:47:46 | BornInWinter | why do you allow transphobia, zach? |
02:47:47 | BornInWinter | why do you allow transphobia, zach? |
02:47:47 | BornInWinter | why do you allow transphobia, zach? |
02:47:57 | FromDiscord | <Rika> Someone contact an official freenode mod |
02:47:59 | BornInWinter | why do you allow transphobia, zach? |
02:47:59 | BornInWinter | why do you allow transphobia, zach? |
02:48:00 | BornInWinter | why do you allow transphobia, zach? |
02:48:00 | BornInWinter | why do you allow transphobia, zach? |
02:48:01 | BornInWinter | why do you allow transphobia, zach? |
02:48:01 | BornInWinter | why do you allow transphobia, zach? |
02:48:02 | BornInWinter | why do you allow transphobia, zach? |
02:48:02 | BornInWinter | why do you allow transphobia, zach? |
02:48:03 | BornInWinter | why do you allow transphobia, zach? |
02:48:03 | BornInWinter | why do you allow transphobia, zach? |
02:48:04 | BornInWinter | why do you allow transphobia, zach? |
02:48:04 | BornInWinter | why do you allow transphobia, zach? |
02:48:05 | BornInWinter | why do you allow transphobia, zach? |
02:48:05 | BornInWinter | why do you allow transphobia, zach? |
02:48:06 | BornInWinter | why do you allow transphobia, zach? |
02:48:06 | FromDiscord | <Zachary Carter> on it |
02:48:06 | BornInWinter | why do you allow transphobia, zach? |
02:48:07 | BornInWinter | why do you allow transphobia, zach? |
02:48:07 | BornInWinter | why do you allow transphobia, zach? |
02:48:10 | disruptek | that's a smart idea. |
02:48:29 | * | BornInWinter quit (Remote host closed the connection) |
02:48:37 | disruptek | lol |
02:48:45 | FromDiscord | <Rika> @KingDarBoja legitimately, why not call them a they then what? |
02:49:07 | disruptek | boy, this person really makes me look good. and i LOVE that about them. |
02:49:19 | FromDiscord | <Zachary Carter> lol |
02:49:20 | FromDiscord | <KingDarBoja> Rika: because I usually call everyone "he" |
02:49:23 | FromDiscord | <Zachary Carter> you're a saint in comparison |
02:49:33 | * | zacharycarter joined #nim |
02:49:34 | FromDiscord | <KingDarBoja> "they" are to refer to several people |
02:49:45 | FromDiscord | <KingDarBoja> Unless he is a "she" |
02:49:50 | FromDiscord | <KingDarBoja> Period. |
02:49:52 | FromDiscord | <Zachary Carter> I guess they got themself kicked? |
02:49:53 | disruptek | don't you remember when Simula used to hang out here? |
02:50:35 | FromDiscord | <Zachary Carter> okay, back to Nim discussion please - offtopic for whatever else |
02:50:42 | disruptek | Fern & Simula (They/Them) |
02:50:44 | FromDiscord | <Rika> dunno, that sounds kinda dated as a method, but w/e |
02:50:54 | FromDiscord | <Rika> careful with pronouns for certain people |
02:51:00 | FromDiscord | <Zachary Carter> go talk about pronouns in offtopic please |
02:51:04 | FromDiscord | <Rika> some of them are really toucy about it |
02:51:17 | FromDiscord | <KingDarBoja> Agreed. Period. Back to Nim |
02:51:58 | nisstyre | does nim have a way of doing dynamically scoped variables? |
02:52:41 | bung | `block:` ? |
02:53:00 | nisstyre | will that reset to the previous value once you leave it? |
02:53:12 | nisstyre | I'm thinking something similar to (parameterize) in racket, or parameters in haskell |
02:53:25 | FromDiscord | <Elegant Beef> well if you declare a variable inside of a block it will use that variable instead of the outside one afaik |
02:53:34 | FromDiscord | <Elegant Beef> so the outside one isnt touched |
02:53:36 | nisstyre | hmm, that could work |
02:53:52 | nisstyre | I was thinking of porting a thing I did in Racket to Nim |
02:54:16 | FromDiscord | <Elegant Beef> Small example↵https://play.nim-lang.org/#ix=2qGm |
02:54:28 | nisstyre | it's a DSL for scripting ssh stuff, and you can do like (cd blah (foo working-dir)) and it gets reset once you leave that block |
02:54:48 | nisstyre | very much similar to ansible, but without the yaml crap |
02:55:07 | FromDiscord | <Elegant Beef> there is a nim dsl for shell |
02:55:23 | bung | you mean you want some like js scope lookup chain? |
02:55:30 | nisstyre | no |
02:55:32 | FromDiscord | <Elegant Beef> https://github.com/Vindaar/shell |
02:55:35 | FromDiscord | <Elegant Beef> If curiousu |
02:56:08 | * | vicfred quit (Quit: Leaving) |
02:56:52 | FromDiscord | <Elegant Beef> Dont recall if this DSL does actually support that return after |
02:56:53 | * | rockcavera quit (Remote host closed the connection) |
02:57:10 | nisstyre | so this isn't dynamic scope |
02:57:13 | nisstyre | https://play.nim-lang.org/#ix=2qGn |
02:57:23 | nisstyre | it should be 12 10 |
02:57:26 | nisstyre | not 10 10 |
02:57:28 | nisstyre | if it were dynamically binding it |
02:57:34 | FromDiscord | <Elegant Beef> Well no you're using global scoped A |
02:57:44 | nisstyre | right, it's not dynamically scoped |
02:57:52 | nisstyre | it's global |
02:57:54 | nisstyre | or lexical |
02:58:01 | FromDiscord | <Elegant Beef> The block just indents and redeclares the variable |
02:58:15 | nisstyre | you'd need some new syntax to say 'a' is dynamic |
02:58:26 | FromDiscord | <Elegant Beef> well you could make a macro like defer |
02:58:35 | nisstyre | yeah I just don't know how I'd do that |
02:59:22 | FromDiscord | <Elegant Beef> Well the way i write macros is i use `dumptree` and write the desired code inside |
02:59:27 | FromDiscord | <Elegant Beef> then replicate that with nodes 😄 |
02:59:53 | nisstyre | I meant more how I would actually make it work |
03:00:04 | nisstyre | there are some considerations you'd have to make |
03:00:17 | nisstyre | like where the previous value gets stored |
03:00:22 | nisstyre | and how it interacts with threads |
03:00:35 | FromDiscord | <Elegant Beef> Well that's why i didnt care, threads 😄 |
03:01:05 | nisstyre | probably it would be thread local |
03:02:11 | FromDiscord | <Elegant Beef> Yea no clue |
03:03:28 | disruptek | use a dirty template. |
03:04:03 | disruptek | https://play.nim-lang.org/#ix=2qGo |
03:04:21 | nisstyre | disruptek: clever |
03:04:43 | disruptek | i really don't like to use them. |
03:05:12 | nisstyre | I'm not sure if it would be a really bad idea to use |
03:05:46 | nisstyre | if I controlled all call sites somehow it might be safe |
03:06:08 | disruptek | araq made me use a dirty template in the compiler and i swear i aged 3 years in only 30 files. |
03:06:36 | FromGitter | <ynfle> The compiler should be called the templater |
03:06:53 | disruptek | it's one of those things that's fine 90% of the time. |
03:06:57 | disruptek | yeah, no thanks, boss. |
03:07:02 | FromDiscord | <Elegant Beef> The compiler should be called the evaluator |
03:07:08 | FromDiscord | <Elegant Beef> We can continue this regression! |
03:10:54 | FromGitter | <ynfle> What's the difference between `nnkStmtList`, `nnkStmtListExpr` & `nnkStmtListType`? |
03:16:05 | * | MightyJoe joined #nim |
03:16:21 | nisstyre | disruptek: basically something like this https://ideone.com/W11UFB |
03:16:25 | * | cyraxjoe quit (Ping timeout: 264 seconds) |
03:16:39 | nisstyre | I wonder if this would be possible to do sanely in Nim |
03:16:49 | nisstyre | sorry for bad indentation |
03:17:04 | disruptek | seems pretty trivial. |
03:17:28 | disruptek | but... why? |
03:17:31 | FromDiscord | <Technisha Circuit> I'm planning to implement a way to use braces in Nim today- |
03:17:44 | nisstyre | disruptek: do make a DSL like this for sysadmin stuff is one example https://github.com/weskerfoot/Bolt |
03:17:58 | nisstyre | but not necessarily the only thing you could do |
03:18:44 | nisstyre | I think dirty templates would be the way to do it |
03:18:53 | disruptek | yikes. |
03:19:33 | disruptek | maybe you should look at commandant. |
03:19:38 | disruptek | !repo commandant |
03:19:39 | disbot | https://github.com/Varriount/commandant -- 9commandant: 11Bash/Command Prompt-Like Program Written in Nim 15 7⭐ 1🍴 |
03:20:00 | nisstyre | hmm, I wouldn't need an entire shell though |
03:20:12 | nisstyre | although this could be the underlying basis for executing tasks |
03:21:03 | disruptek | i'm more about the logic behind cfengine for this sort of thing. |
03:21:05 | nisstyre | the thing I did just has a really crappy "compiler" to bash |
03:21:12 | nisstyre | I basically abandoned it |
03:21:18 | nisstyre | but I was interested in maybe resurrecting it in Nim |
03:21:38 | disruptek | honestly, i'd just write what you need and grow it organically. |
03:21:44 | nisstyre | yeah true |
03:21:55 | disruptek | these things are usually a waste of time ime. |
03:21:59 | FromDiscord | <Elegant Beef> Tell me something that grows, inorganically 😄 |
03:22:18 | disruptek | most of the shit you write, boof. |
03:22:20 | disruptek | er, beef. |
03:22:27 | FromDiscord | <JackFly26> depends on the definition of organically |
03:22:36 | nisstyre | disruptek: it might be worth it to have a Nim DSL as a shell though |
03:22:38 | FromDiscord | <Technisha Circuit> (boof-) |
03:22:39 | FromDiscord | <Elegant Beef> 110% of what i write is shit so... |
03:22:44 | nisstyre | if you want to write Nim instead of bash |
03:23:00 | disruptek | what is this DSL of which you speak? |
03:23:12 | nisstyre | I mean use Nim as your shell |
03:23:24 | disruptek | yes, i want to write nim instead of shell. |
03:23:25 | nisstyre | like an interpreter |
03:23:28 | disruptek | i do so frequently. |
03:23:37 | nisstyre | interactively? |
03:23:46 | disruptek | you can use inim, `nim secret`, or nimscript. |
03:23:53 | nisstyre | fair enough |
03:24:01 | FromDiscord | <JackFly26> so is a type mismatch between `Parser[proc (x: int): int{.noSideEffect, gcsafe, locks: 0.}]` and `Parser[proc (x: T): U{.closure.}]` a calling convention thing? |
03:24:19 | disruptek | i personally prefer to write startProcess ... because it gives me control at modest expense. |
03:24:42 | leorize | ok, I'm a bit out of the loop, but what the hell is #14876? |
03:24:43 | disbot | https://github.com/nim-lang/Nim/issues/14876 -- 3Please revert my commit |
03:24:55 | nisstyre | disruptek: how do I get out of `nim secret` ? |
03:25:01 | FromDiscord | <impbox> @mattrb you might need to setupForeignThreadGC() |
03:25:01 | disruptek | !last leorize |
03:25:02 | disbot | leorize spoke in 12#nim 18 seconds ago 12https://irclogs.nim-lang.org/02-07-2020.html#03:24:43 |
03:25:09 | disruptek | leorize: read today's logs. |
03:25:12 | FromDiscord | <Elegant Beef> Leorize it's a shitshow |
03:25:15 | FromDiscord | <flywind> Maybe this helps in writing a shell https://www.oilshell.org/blog/2018/01/28.html |
03:25:15 | disruptek | like, the last 12hrs. |
03:25:17 | FromDiscord | <Elegant Beef> Have fun leorize |
03:25:23 | disruptek | nisstyre: dunno, i don't use it. |
03:25:34 | nisstyre | I just tried it and I can't exit without killing it lol |
03:25:39 | nisstyre | even Ctrl+d doesn't work |
03:25:44 | disruptek | quit(0) |
03:25:52 | FromDiscord | <impbox> @mattrb when using SDL2's audiocallback it runs in a separate thread |
03:25:55 | * | slackytude[m] joined #nim |
03:25:55 | nisstyre | that makes sense |
03:25:59 | disruptek | i mean, that's what i'd try. |
03:26:03 | disruptek | i've never run it. |
03:26:13 | nisstyre | yeah that works |
03:26:42 | disruptek | JackFly: dude, those signatures don't match. not even close. |
03:27:57 | leorize | ok I've just scrolled up a bit and this looks messed up |
03:28:07 | FromDiscord | <Elegant Beef> It is indeed |
03:28:27 | FromDiscord | <JackFly26> are they that different |
03:28:32 | FromDiscord | <JackFly26> theyre both a proc |
03:28:39 | FromDiscord | <JackFly26> and they both take one argument |
03:28:44 | FromDiscord | <JackFly26> one is just generic |
03:30:04 | FromDiscord | <Elegant Beef> Generic != int |
03:30:53 | FromDiscord | <JackFly26> well i put them backwards |
03:30:58 | FromDiscord | <JackFly26> so one should fit into the other |
03:31:12 | FromDiscord | <JackFly26> as in a proc from int to int should fit in a proc from T to U |
03:31:29 | FromDiscord | <JackFly26> if my understanding is correct |
03:34:21 | FromDiscord | <Rika> the issue is the pragmas not the type |
03:34:38 | * | waleee-cl quit (Quit: Connection closed for inactivity) |
03:34:42 | FromDiscord | <JackFly26> thats what i figured |
03:34:50 | FromDiscord | <JackFly26> im not sure how to make them compatible tho |
03:35:15 | FromDiscord | <JackFly26> i define the int -> int one like `pure(proc(x: int): int = x + 1)` |
03:35:19 | FromDiscord | <JackFly26> with sugar imported |
03:35:24 | FromDiscord | <JackFly26> wait |
03:35:29 | FromDiscord | <JackFly26> i removed the sugar for testing |
03:35:46 | FromDiscord | <JackFly26> and that goes into `lhs: Parser[proc(x: T): U]` |
03:38:31 | Zevv | wow that was a rough night on #nim |
03:38:39 | Zevv | was there a drunk majority? |
03:38:58 | disruptek | mornin' zevv? |
03:39:27 | nisstyre | Zevv: I'm drunk right now but I don't remember causing any drama |
03:39:40 | disruptek | that's some good shit you're drinkin'. |
03:41:26 | Zevv | I cant remember this channel exhausing my scrollback buffer in one night |
03:41:26 | * | thomasross quit (Ping timeout: 260 seconds) |
03:41:43 | disruptek | your buffer needs a breather, huh? |
03:41:57 | Zevv | so about this cps |
03:42:19 | FromDiscord | <JackFly26> how can i get the pragmas to line up? |
03:42:22 | Zevv | you love this shit, right |
03:42:58 | FromDiscord | <JackFly26> oh i can just put {.closure.} when im not using the sugar |
03:43:40 | FromDiscord | <JackFly26> i would like a solution that doesnt involve that though |
03:48:51 | FromDiscord | <JackFly26> is there a way to do automatic currying on a proc? |
03:49:04 | FromDiscord | <flywind> I pass compilation in devel. |
03:49:08 | FromDiscord | <flywind> sent a long message, see http://ix.io/2qGu |
03:49:13 | leorize | we don't really do currying over here |
03:49:24 | leorize | since that requires closures and closures are slow :P |
03:49:39 | leorize | but there are a few fp libs iirc |
03:52:12 | FromDiscord | <JackFly26> makes sense |
03:52:24 | FromDiscord | <JackFly26> but im trying to make an applicative-style parser combinator lib |
03:52:30 | FromDiscord | <JackFly26> which uses currying |
03:52:35 | disruptek | Zevv: cps wut |
03:52:54 | FromDiscord | <JackFly26> and im kinda doing `(proc(x: int): proc(y: int): int {.closure.} =↵ return proc(y: int): int {.closure.} = x + y)` rn |
03:52:58 | leorize | !repo func |
03:52:59 | disbot | https://github.com/FedericoCeratto/wave_function_collapse -- 9wave_function_collapse: 11Wave function collapse library for Nim 15 9⭐ 0🍴 7& 1 more... |
03:53:01 | FromDiscord | <JackFly26> which i feel could be done better |
03:53:14 | leorize | ok I don't know if we have any library ready for this :P |
03:53:21 | FromDiscord | <JackFly26> ok lol |
03:53:31 | leorize | but if we don't you have to do it yourself :p |
03:53:38 | FromDiscord | <JackFly26> yeah |
03:53:48 | FromDiscord | <JackFly26> i mean this is what i get for trying to code nim like haskell |
03:54:01 | disruptek | it's not a big deal to write it. |
03:54:17 | FromDiscord | <JackFly26> its just a macro but im not too good at macros |
03:54:30 | disruptek | don't overthink it. |
03:55:06 | FromDiscord | <JackFly26> wdym |
03:56:01 | leorize | macros are "easy" to write, just dumpTree the AST you'd like to generate/process then replicate it :P |
03:56:19 | FromDiscord | <JackFly26> well yeah |
03:56:26 | FromDiscord | <JackFly26> but i just havent really used them |
03:56:55 | disruptek | i have still never done it that one. i guess i'm the idiot. |
03:57:13 | disruptek | good to know i'll have a job in some village, somewhere... |
03:57:35 | FromDiscord | <JackFly26> what lib is dumptree in |
03:57:46 | FromDiscord | <JackFly26> oh |
03:58:42 | FromDiscord | <JackFly26> its not dumping? |
03:58:45 | FromDiscord | <JackFly26> am i doing this wrong |
03:59:54 | * | zedeus quit (Read error: Connection reset by peer) |
04:00:00 | * | zedeus_ joined #nim |
04:00:24 | FromDiscord | <Zachary Carter> macros I think? |
04:00:35 | FromDiscord | <JackFly26> i imported macros |
04:00:38 | FromDiscord | <JackFly26> its just not printing |
04:00:42 | FromDiscord | <Zachary Carter> echo it |
04:00:50 | FromDiscord | <Rika> you dont need to echo a dumptree |
04:00:53 | FromDiscord | <Zachary Carter> oh |
04:00:53 | FromDiscord | <JackFly26> yeah |
04:00:59 | FromDiscord | <JackFly26> its supposed to print by itself |
04:01:03 | FromDiscord | <Rika> it outputs during compilation |
04:01:11 | FromDiscord | <JackFly26> does nimble break that? |
04:02:18 | FromDiscord | <JackFly26> no it doesnt even work on the playground |
04:02:39 | FromDiscord | <JackFly26> wait |
04:02:44 | FromDiscord | <Rika> press "output" in playground |
04:02:44 | FromDiscord | <JackFly26> it works if i switch to debug |
04:02:47 | FromDiscord | <Rika> yeah |
04:02:49 | FromDiscord | <JackFly26> got it |
04:02:55 | FromDiscord | <Rika> debug shows compilation output |
04:03:00 | FromDiscord | <Rika> output shows runtime output |
04:03:05 | FromDiscord | <JackFly26> what is Par |
04:04:26 | FromGitter | <ynfle> Parentheses node |
04:04:40 | FromGitter | <ynfle> Like (1+1) /2 |
04:04:53 | FromDiscord | <JackFly26> ok |
04:05:01 | FromDiscord | <JackFly26> seems weird that that needs to be a node |
04:05:15 | * | justsomeguy joined #nim |
04:05:42 | FromGitter | <ynfle> What else should it be? |
04:06:02 | * | supakeen quit (Quit: WeeChat 2.8) |
04:06:10 | FromDiscord | <JackFly26> sent a code paste, see https://play.nim-lang.org/#ix=2qGx |
04:06:18 | FromDiscord | <JackFly26> the tree structure itself shows the precedence |
04:06:40 | * | supakeen joined #nim |
04:07:13 | FromGitter | <ynfle> `dumpTree` is untyped |
04:07:19 | leorize | turns out Nim don't use special nodes like those :) |
04:07:29 | FromDiscord | <JackFly26> wdym |
04:07:31 | * | BlameTheRoomba quit (Quit: Default Quit Message) |
04:07:35 | leorize | all of our operators are just procs |
04:07:44 | FromDiscord | <JackFly26> well yeah ik |
04:07:47 | FromDiscord | <JackFly26> i just made it simple |
04:08:18 | FromDiscord | <JackFly26> it could easily be replaced with something like `Infix (Ident "/")` |
04:08:19 | leorize | dumpTree print the real AST, not a prettified version of it :P |
04:08:49 | FromDiscord | <JackFly26> still, a Par node shouldnt be needed |
04:09:00 | FromDiscord | <Elegant Beef> Why not |
04:09:15 | FromDiscord | <JackFly26> because the actual tree structure shows the precedence |
04:09:23 | FromDiscord | <JackFly26> just put the addition lower in the tree |
04:09:23 | leorize | it doesn't |
04:09:38 | FromDiscord | <Elegant Beef> but the parnode can be anywhere unrelated to math |
04:09:57 | FromDiscord | <JackFly26> but its there to distinguish precedence, right? |
04:10:00 | leorize | nope |
04:10:02 | FromDiscord | <JackFly26> which isnt needed in a tree |
04:10:04 | FromGitter | <ynfle> https://play.nim-lang.org/#ix=2qGy |
04:10:06 | leorize | it's there because you wrote it in :) |
04:10:44 | FromDiscord | <JackFly26> oh so is the Par thing not actually in the AST? |
04:10:50 | FromDiscord | <Elegant Beef> sent a code paste, see https://play.nim-lang.org/#ix=2qGA |
04:10:53 | leorize | it's in the AST |
04:11:00 | FromDiscord | <Elegant Beef> That's a normally defined (int,int) |
04:11:10 | FromDiscord | <Elegant Beef> but if you so wished inside the macro you could take that as whatever you want |
04:11:27 | leorize | the AST from dumpTree is basically what the compiler sees :) |
04:11:40 | leorize | it's untyped by default, meaning that the compiler has not acted on it yet |
04:11:47 | FromDiscord | <JackFly26> oh |
04:11:55 | FromDiscord | <JackFly26> but even then |
04:12:05 | FromDiscord | <JackFly26> im not entirely sure |
04:12:06 | FromDiscord | <JackFly26> idk |
04:12:12 | FromDiscord | <JackFly26> im not on the compiler team |
04:12:18 | FromDiscord | <JackFly26> or any team |
04:12:19 | leorize | this preserves almost everything from the written code, which helps when you're writing some advanced macros :) |
04:12:20 | FromDiscord | <JackFly26> :) |
04:12:31 | leorize | it's really just data preservance :) |
04:12:32 | nisstyre | the compiler would still need to know there was a parenthesized node for infix parsing |
04:12:38 | FromGitter | <ynfle> @JackFly26 `("hello" + name + "world").replace("a", "b")` |
04:12:41 | nisstyre | which would happen later usually |
04:12:51 | FromGitter | <ynfle> Not about precedence over there |
04:12:54 | nisstyre | * precedence parsing I should say |
04:13:10 | nisstyre | what do you mean |
04:13:11 | leorize | @ynfle that's invalid nim :P |
04:13:20 | nisstyre | yeah, and & still has a precedence |
04:13:25 | nisstyre | it just doesn't really matter as often |
04:13:30 | FromDiscord | <JackFly26> well thats what im saying; the parens dont need to be in the ast to show precedence |
04:13:39 | nisstyre | yes they do |
04:13:44 | FromDiscord | <JackFly26> the actual structure of the AST shows the precedence |
04:13:51 | nisstyre | only after precedence parsing takes place |
04:14:07 | FromDiscord | <JackFly26> does that happen later? |
04:14:08 | nisstyre | 1 + 2 * 3 / (4 - 6) |
04:14:11 | nisstyre | for example |
04:14:21 | leorize | fwiw the AST structure doesn't show any precedence :) |
04:14:22 | FromDiscord | <Rika> well its more complicated for the "first pass" to swap the places of nodes instead of putting a par node |
04:14:25 | nisstyre | if you just parse that into a tree without taking into account precedence |
04:14:27 | nisstyre | you get something wrong |
04:14:39 | FromDiscord | <JackFly26> i know |
04:14:48 | FromDiscord | <JackFly26> but once the parsing is finished |
04:14:52 | FromDiscord | <JackFly26> including precedence |
04:14:54 | nisstyre | then it does another pass I guess |
04:14:59 | nisstyre | as was mentioned |
04:15:02 | FromDiscord | <JackFly26> i guess |
04:15:10 | nisstyre | personally not how I would do it |
04:15:14 | nisstyre | but it doesn't really matter much |
04:15:14 | leorize | note that precedance doesn't happen until the semantic check pass happens |
04:15:21 | FromDiscord | <JackFly26> seems weird to do operator precedence on teh second pass |
04:15:22 | leorize | which won't until later in the compile stage |
04:15:24 | FromDiscord | <JackFly26> oh that makes sense |
04:15:36 | FromDiscord | <JackFly26> seems weird that it doesnt happen earlier |
04:15:45 | FromDiscord | <JackFly26> probably has to do with user-defined ops |
04:15:56 | leorize | if semcheck happen earlier some macro-possible code will not work :) |
04:16:16 | FromDiscord | <JackFly26> like stuff that reorders precedence? |
04:16:16 | leorize | since a lot of constructs used in advanced macros are invalid Nim constructs |
04:16:23 | leorize | so semchecking them is impossible |
04:16:25 | FromDiscord | <JackFly26> makes sense |
04:16:40 | FromDiscord | <JackFly26> well yeah semcheck happening after makes sense |
04:16:52 | FromDiscord | <JackFly26> it just seems weird that precedence parsing is part of semcheck |
04:16:52 | nisstyre | that's the macro expansion phase, it makes sense to do that as early as possible |
04:17:10 | leorize | it's not really precedence perse |
04:17:17 | leorize | nnkPar have more use than just precedence |
04:17:17 | FromDiscord | <JackFly26> ok |
04:17:24 | FromDiscord | <JackFly26> aight |
04:17:31 | FromDiscord | <JackFly26> i kinda get why its like that now |
04:17:32 | FromDiscord | <JackFly26> thanks |
04:17:36 | leorize | for example, nnkPar is also the tuple constructor :) |
04:17:47 | FromDiscord | <JackFly26> oh cool |
04:17:51 | nisstyre | is , an infix operator then? |
04:18:05 | FromDiscord | <JackFly26> also why does lambda have a bunch of empty args |
04:18:29 | FromDiscord | <JackFly26> actually why does everything have empties |
04:18:41 | FromDiscord | <JackFly26> is that for pragmas and stuff that isnt there? |
04:19:00 | FromGitter | <ynfle> It's a RoutineDef |
04:19:14 | FromDiscord | <JackFly26> that doesnt help me sorry |
04:19:15 | FromDiscord | <JackFly26> is there a spec on ast nodes somewhere i can look at? |
04:19:34 | FromGitter | <ynfle> Yes https://nim-lang.org/docs/macros.html |
04:19:42 | FromDiscord | <Elegant Beef> Shit 1 second late! |
04:19:58 | FromDiscord | <JackFly26> thx |
04:20:01 | * | marnix joined #nim |
04:20:27 | FromGitter | <ynfle> Specifically https://nim-lang.org/docs/macros.html#statements-procedure-declaration |
04:20:49 | leorize | ~macro |
04:20:50 | disbot | no footnotes for `macro`. 🙁 |
04:20:52 | leorize | ~macros |
04:20:52 | disbot | no footnotes for `macros`. 🙁 |
04:21:44 | FromGitter | <ynfle> RoutineDef Tree: ⏎ Ident | Postfix(\*, Ident) (proc name) ⏎ Empty # Related to Term rewriting macros which are not supported ⏎ Empty | GenericParams ⏎ ... [https://gitter.im/nim-lang/Nim?at=5efd60d8fa0c9221fc72659e] |
04:21:56 | FromGitter | <ynfle> Those are my notes based off of the docs |
04:23:02 | FromDiscord | <Elegant Beef> In my experience just writting the code then using dumptree teaches a ton |
04:23:03 | FromGitter | <ynfle> Sorry the indentation got ruined |
04:23:04 | FromGitter | <ynfle> https://play.nim-lang.org/#ix=2qGD |
04:24:16 | FromDiscord | <Elegant Beef> I dont know how to learn the advanced stuff though 😛 |
04:28:16 | leorize | nisstyre: `,` is not an infix op |
04:28:24 | leorize | it's not even an op actually :P |
04:29:31 | FromDiscord | <JackFly26> is it just used to aid parsing here |
04:29:49 | leorize | it's a token separator, yea |
04:30:08 | leorize | (more than just token, but you get the idea) :P |
04:41:49 | FromDiscord | <flywind> https://dev.to/xflywind/sweet-sweet-sweeeeeet-nim-nh9 |
04:44:17 | FromDiscord | <KingDarBoja> 👍 🙂 |
04:44:29 | FromDiscord | <KingDarBoja> Too Bad Mobile sucks hahaha |
04:44:35 | FromDiscord | <KingDarBoja> Mobile view* |
04:45:26 | FromDiscord | <flywind> @KingDarBoja Thanks. I spend the whole morning writing this article.😜 |
04:46:01 | FromDiscord | <Chiqqum_Ngbata> Nice @flywind |
04:46:27 | FromDiscord | <Elegant Beef> Yea nice article |
04:47:40 | FromDiscord | <flywind> Sorry for mobile view. I don't other platforms is suitable for articles. I try medium, but its experience is bad. |
04:47:40 | FromDiscord | <flywind> Thanks @Elegant Beef @Chiqqum_Ngbata |
04:47:40 | FromDiscord | <KingDarBoja> Make your own blog(?) |
04:48:03 | * | NimBot joined #nim |
04:48:05 | FromDiscord | <KingDarBoja> That too |
04:48:48 | FromDiscord | <KingDarBoja> I know there is one from the NimConf btw |
04:48:56 | FromDiscord | <Rika> ngl, you need a proofreader |
04:48:56 | FromDiscord | <KingDarBoja> I forgot the name x↵X |
04:49:05 | FromDiscord | <KingDarBoja> (edit) 'x↵X' => 'x.x' |
04:49:42 | FromDiscord | <Elegant Beef> Yea as rika pointed out there are many gramatic/spelling errors |
04:49:52 | FromDiscord | <Elegant Beef> And that's coming from me! 😄 |
04:50:23 | FromDiscord | <flywind> I can't avoid it, because I'm not a native speaker. |
04:50:37 | FromDiscord | <Elegant Beef> I mean shoot it over to someone that is 😄 |
04:50:45 | FromDiscord | <KingDarBoja> I understood it so that's what matters |
04:50:49 | FromDiscord | <KingDarBoja> 😄 |
04:51:04 | FromDiscord | <KingDarBoja> But I slighty dislike dev.to hahahah |
04:51:37 | FromDiscord | <Elegant Beef> Also you need to quote words less |
04:51:40 | FromDiscord | <Rika> maybe ask a friend to help you with the grammar errors |
04:51:43 | FromDiscord | <KingDarBoja> I need to get my free time projects more attention x.x |
04:52:12 | FromDiscord | <Elegant Beef> > This will cause a "war"...↵> Why is Nim so "sweet"? |
04:53:17 | FromDiscord | <flywind> I mean it is not really, so I use quote. |
04:53:32 | FromDiscord | <Elegant Beef> Yea but not actually being doesnt really need to be quotes |
04:53:45 | FromDiscord | <treeform> It appears that discord users out number the irc users now.... |
04:54:04 | FromDiscord | <Elegant Beef> Since in english things arent always literal |
04:54:41 | FromDiscord | <Elegant Beef> Plus in english sweet can mean awesome or cool, so even with the non flavour related sweet it's fine |
04:55:01 | FromDiscord | <KingDarBoja> _Toasty_ |
04:55:15 | FromDiscord | <flywind> Sorry for my poor English. Thanks for your advice. @Elegant Beef |
04:55:25 | FromDiscord | <flywind> I will change it. |
04:55:33 | FromDiscord | <Elegant Beef> Dont apologize, i dont apologize when i write bad nim code 😄 |
04:55:47 | FromDiscord | <KingDarBoja> https://media.discordapp.net/attachments/371759389889003532/728111654985793636/5130faf81b5b1c16c6b798cea7b5466e389dfe07_00.jpg |
04:56:00 | FromDiscord | <KingDarBoja> If You didnt catch the joke |
04:56:31 | FromDiscord | <KingDarBoja> @flywind You good mate, no need to apologize |
04:57:02 | FromDiscord | <flywind> 😜 |
04:57:17 | FromDiscord | <Yardanico> What is going on this morning |
04:57:24 | FromDiscord | <Yardanico> I didn't expect to wake up to this |
04:57:26 | FromDiscord | <KingDarBoja> Yard: nothing |
04:57:27 | FromDiscord | <Elegant Beef> Also in the image you included you massively mispelled `favourite` |
04:57:38 | FromDiscord | <Yardanico> @KingDarBoja yeah don't worry I already read most context |
04:57:45 | FromDiscord | <Elegant Beef> `faviourite` |
04:57:46 | FromDiscord | <KingDarBoja> Favourite is british afaik |
04:57:53 | FromDiscord | <Elegant Beef> not massively but meh |
04:58:01 | FromDiscord | <Elegant Beef> Well non American |
04:58:16 | FromDiscord | <Elegant Beef> in anything but US english it'll be `our` |
04:58:21 | FromDiscord | <Elegant Beef> but they have a second `I` |
04:58:26 | * | team\andinus joined #nim |
04:59:10 | FromDiscord | <Yardanico> And I don't have op rights in Nim IRC anyway @Zachary Carter . There are actually commands to ban people in Discord from IRC, but not the other way |
04:59:23 | FromDiscord | <flywind> @Elegant Beef Nice catch. I hurry to finish and don't notice it.🤣 |
04:59:27 | FromDiscord | <Chiqqum_Ngbata> "favorite" is how it's spelled in American English (in case it's unclear to flywind). Doesn't really matter anyway |
04:59:29 | FromDiscord | <Zachary Carter> yeah - I wasn't sure |
04:59:52 | FromDiscord | <Elegant Beef> yea choosing either or is fine, just should be spelled correctly in atleast on of the englishes 😛 |
05:03:02 | FromDiscord | <flywind> I have learned English for 12 years only for examinations. I never speak English with other people.🤣 |
05:04:17 | FromDiscord | <Yardanico> Heh |
05:04:45 | FromDiscord | <Elegant Beef> I'd also argue that an article shouldnt have emojis, but meh 😄 |
05:06:40 | FromDiscord | <flywind> I can't stopping suing emojis. Because I am afraid to offend others.🤣 |
05:07:07 | FromDiscord | <Elegant Beef> Eh i use them to mark insincerety aswell, but in an article you're mostly being sincere |
05:07:54 | leorize | you don't need "--quote myself", just "-- myself" is enough |
05:09:50 | FromDiscord | <flywind> lol |
05:10:43 | FromDiscord | <Elegant Beef> i didnt know about the `with` feature so thanks |
05:11:01 | * | zacharycarter quit (Ping timeout: 264 seconds) |
05:11:33 | FromDiscord | <flywind> Thanks all. Nim community is so kind. |
05:12:11 | FromDiscord | <Elegant Beef> Also feel free to shoot the next article my way and i'd happily do the same as i did here 😛 |
05:16:46 | FromDiscord | <flywind> Thanks again. I follow advice and finish my article. Next time I will use vscode-plugin to check spell errors first. |
05:17:22 | Tongir | It'd be cool to have something like Black https://github.com/psf/black |
05:18:28 | leorize | you mean nimpretty? |
05:18:36 | * | team\andinus is now known as notandinus |
05:18:49 | leorize | well though nimpretty don't mandate any particular style |
05:19:14 | leorize | it's more of a "consistifier" and a "beautifier" |
05:26:02 | * | vicfred joined #nim |
05:26:23 | * | opal quit (Ping timeout: 240 seconds) |
05:27:02 | * | vicfred quit (Max SendQ exceeded) |
05:27:25 | * | B4s1l3 joined #nim |
05:27:25 | * | B4s1l3 is now known as opDispatch |
05:27:32 | * | vicfred joined #nim |
05:27:52 | * | ofelas quit (Quit: shutdown -h now) |
05:29:42 | * | jackfly26[m] joined #nim |
05:30:36 | * | marnix quit (Ping timeout: 265 seconds) |
05:31:04 | Tongir | nimpretty is nice and I do use it, but the hard autoformat to a consistent style is pretty cool as well |
05:35:08 | * | pietroppeter joined #nim |
05:39:20 | leorize | it's kinda hard to do that for Nim since we don't have an universal style, and it's super flexible as well :P |
05:39:52 | leorize | like, how are you gonna deal with 3-4 style of function calls :P |
05:40:02 | Tongir | Yeah, the super flexibility would definitely be pretty hard to *always* format correctly, haha |
05:41:26 | * | maier joined #nim |
05:42:10 | FromDiscord | <Elegant Beef> Tongir were you the person that was annoyed with no member functions? |
05:43:39 | FromDiscord | <Elegant Beef> Cant remember who was, just curious if after using they've had a change of heart |
05:43:41 | Tongir | Hmmm, I don't recall haha. I don't think so |
05:44:12 | Tongir | Don't really need member functions for Nim I've found |
05:44:28 | FromDiscord | <Elegant Beef> Yea someone coming from python was a bit annoyed with member functions not existing |
05:46:59 | * | marnix__ joined #nim |
05:47:23 | FromDiscord | <Elegant Beef> try to find who it was but no avail |
05:59:31 | * | ssbr joined #nim |
06:02:39 | Araq | "Early versions of Black used to be absolutist in some respects. They took after its initial author. This was fine at the time as it made the implementation simpler and there were not many users anyway. Not many edge cases were reported. As a mature tool, Black does make some exceptions to rules it otherwise holds." |
06:03:14 | Araq | aha |
06:03:47 | FromDiscord | <Varriount> @Elegant Beef Eh, if you really look at member functions in Python (aka methods) you'll notice it's all smoke and mirrors anyway |
06:04:22 | FromDiscord | <Elegant Beef> I'm not the user that wanted it 😄 |
06:04:33 | FromDiscord | <Varriount> All a member function really is, is a regular function with the first argument "closed over". |
06:06:26 | FromDiscord | <Varriount> (think a closure that captures the object instance in its scope, then simply wraps the regular function) |
06:06:48 | FromDiscord | <Elegant Beef> They wanted it for organization and apparently a block wasnt a valid solution 😄 |
06:07:54 | FromDiscord | <Varriount> @Elegant Beef I'll admit the lack of methods + UFCS was something I couldn't wrap my head around when I first saw Nim. |
06:08:22 | FromDiscord | <Varriount> (Python-like methods, anyway) |
06:08:52 | FromDiscord | <Elegant Beef> I mean i came from C# with similar logic, but i quickly learned that UFCS is fucking rad |
06:09:10 | FromDiscord | <Elegant Beef> No need for extension methods, cause UFCS makes them identical! |
06:09:30 | FromDiscord | <flywind> I don't like OOP, I think it is better to separate attributes and behaviors. But I need `interface` instead of `streamObj` to make library extensible. |
06:10:26 | Araq | „The main reason to standardize on a single form of quotes is aesthetics. Having one kind of quotes everywhere reduces reader distraction.“ really? where are the studies that prove it makes a difference. I doubt it’s measurable when you use syntax highlighting. |
06:10:59 | FromDiscord | <Elegant Beef> I do like my interfaces, being able to quickly store variables in a collection is nice, especially with similar functionality |
06:11:03 | FromDiscord | <Rika> well they did say it was super opinionated |
06:11:24 | FromDiscord | <Elegant Beef> I know there is interfaced, but it'd be nice if there was a core module with it |
06:11:28 | ssbr | Araq: studies on PL design tend to be really hard to pull off even when the differences ought to be obvious |
06:11:43 | FromDiscord | <Varriount> @Elegant Beef interfaced? |
06:12:22 | FromDiscord | <Elegant Beef> It's a module someone made to make interfaces (i guess go like) |
06:12:33 | FromDiscord | <Elegant Beef> https://github.com/slangmgh/interfaced |
06:12:51 | FromDiscord | <Rika> why would it be better if it were a core module |
06:13:00 | FromDiscord | <Elegant Beef> It'd be nicer not better |
06:13:09 | FromDiscord | <Rika> whats the difference of a regular module and a core module |
06:13:33 | FromDiscord | <Elegant Beef> Well it's in the stdlib |
06:13:40 | FromDiscord | <Elegant Beef> So you dont have to add anything |
06:14:29 | FromDiscord | <Elegant Beef> Especially since this isnt a nimble package, and unlicensed |
06:14:33 | FromDiscord | <flywind> There also exists https://github.com/b3liever/protocoled |
06:14:35 | FromDiscord | <Rika> then youll need to update nim to update the package 😄 |
06:15:31 | Araq | ssbr: yeah well, people should be more cautious with their claims. some of us can distinguish between science and superstition |
06:17:29 | FromDiscord | <Elegant Beef> Well interfaced appears more like inheritance than the interfaces im used to |
06:18:06 | FromDiscord | <Elegant Beef> i mean protocoled |
06:20:19 | * | zedeus_ is now known as zedeus |
06:22:50 | * | JustASlacker joined #nim |
06:23:22 | Araq | flywind: Stream(Obj) is fine |
06:23:28 | FromDiscord | <Elegant Beef> Just my small OOP brain not knowing a nicer modular way of handling application of logic |
06:24:29 | JustASlacker | https://github.com/Pebaz/Nimporter looks nice |
06:25:31 | ssbr | Araq: making personal estimations of the truth based on your own experience isn't superstition, even if it isn't science either! It's nearly 100% of actual software development. :) |
06:26:24 | Yardanico | JustASlacker: don't forget to star https://github.com/yglukhov/nimpy which Nimporter is based on too :) but they're both great projects, true |
06:27:04 | JustASlacker | Yardanico: yeah, saw that too. agreed, looks very promising. Cant wait to stick some nim in my python |
06:27:21 | Yardanico | well I just mean that nimporter uses nimpy for actual python<->nim bridging |
06:28:23 | FromDiscord | <flywind> `steamObj` is fine. But it is not the natural way for people from Python, java, C++. If i am familiar with C, I will like `streamObj` too.😜 |
06:33:16 | Yardanico | hmm I wonder why forum updater broke |
06:33:19 | * | ForumUpdaterBot quit (Remote host closed the connection) |
06:33:26 | * | ForumUpdaterBot joined #nim |
06:34:52 | * | solitudesf joined #nim |
06:46:10 | * | PMunch joined #nim |
06:47:12 | Araq | https://techxplore.com/news/2020-06-hyperdimensional-core-in-memory.html scary stuff :-) |
06:49:33 | * | gangstacat quit (Ping timeout: 272 seconds) |
07:28:52 | zedeus | @Zachary Carter you here? |
07:38:59 | Yardanico | zedeus: he's offline :( |
07:41:51 | * | gangstacat joined #nim |
07:48:51 | * | haxscramper joined #nim |
07:50:02 | * | opal joined #nim |
07:52:05 | * | nikita` joined #nim |
07:53:13 | * | opal quit (Excess Flood) |
08:00:41 | * | opal joined #nim |
08:04:55 | * | FromDiscord quit (Remote host closed the connection) |
08:05:15 | * | FromDiscord joined #nim |
08:13:36 | * | fredrikhr joined #nim |
08:16:19 | * | lbart quit (Ping timeout: 272 seconds) |
08:16:51 | * | solitudesf- joined #nim |
08:16:51 | * | solitudesf quit (Read error: Connection reset by peer) |
08:17:29 | * | lbart joined #nim |
08:19:18 | FromDiscord | <mratsim> @Araq, lot's of buzz words and completely ignoring reinforcement learning |
08:30:32 | PMunch | Hmm, I remember some discussion around allowing "nim command" to run "nim-command" or "nimcommand" if it wasn't an actual command. To sorta "extend" the compiler, but I can't find any of the discussion around it on the issue tracker or in the RFC repo. Anyone else remember this discussion? |
08:33:54 | * | JustASlacker quit (Ping timeout: 240 seconds) |
08:39:07 | * | Senny quit (Ping timeout: 272 seconds) |
08:44:01 | * | vicfred quit (Quit: Leaving) |
08:47:28 | * | JustASlacker joined #nim |
08:53:34 | * | JustASlacker quit (Ping timeout: 258 seconds) |
09:03:23 | * | zacharycarter joined #nim |
09:06:32 | * | JustASlacker joined #nim |
09:11:07 | * | Trustable joined #nim |
09:11:48 | FromDiscord | <lqdev> I think it was about nimble, not nim |
09:25:22 | * | notandinus quit (Remote host closed the connection) |
09:27:56 | * | team\andinus joined #nim |
09:29:19 | * | team\andinus is now known as notandinus |
09:31:09 | * | oddp joined #nim |
09:36:15 | * | abm joined #nim |
09:41:42 | * | zacharycarter quit (Ping timeout: 260 seconds) |
09:43:04 | * | JustASlacker quit (Ping timeout: 246 seconds) |
09:53:50 | PMunch | Aah, that makes sense |
09:56:18 | * | JustASlacker joined #nim |
10:11:50 | * | zacharycarter joined #nim |
10:13:28 | * | hyiltiz quit (Remote host closed the connection) |
10:14:34 | * | hyiltiz joined #nim |
10:14:34 | * | hyiltiz quit (Changing host) |
10:14:34 | * | hyiltiz joined #nim |
10:15:58 | * | zacharycarter quit (Ping timeout: 246 seconds) |
10:39:54 | Zevv | Well, there I go - need to throw out my Nim proto and do it again in Golang :/ |
10:40:20 | Zevv | Clear sign that the company has outgrown me - time to find new customers! |
10:40:55 | dom96 | Wow, so a lot happened last night and yesterday. I haven't had a chance to read everything (because there is a lot). While I read all of this I would like to ask trans members of our community (if you feel comfortable) to let me know what their thoughts are about what happened. |
10:46:17 | * | zacharycarter joined #nim |
10:49:47 | FromDiscord | <Rika> theyre overreacting |
10:51:13 | * | zacharycarter quit (Ping timeout: 264 seconds) |
10:53:04 | FromDiscord | <dom96> Feel free to PM me on IRC or Discord if preferred btw 🙂 |
11:07:57 | * | flaviu joined #nim |
11:08:20 | * | flaviu is now known as Guest8383 |
11:08:43 | * | Guest8383 quit (Client Quit) |
11:12:18 | * | Vladar joined #nim |
11:15:44 | * | muffindrake quit (Quit: muffindrake) |
11:17:01 | * | opal quit (Remote host closed the connection) |
11:18:20 | * | opal joined #nim |
11:32:40 | Araq | Zevv: ouch, pains me to hear that |
11:33:11 | PMunch | Why do they specifically want it in Go anyways? |
11:36:32 | * | JustASlacker quit (Ping timeout: 260 seconds) |
11:43:21 | haxscramper | How do I specify custom CSS in `nimdoc.cfg`? |
11:45:34 | * | Senny joined #nim |
11:45:43 | PMunch | -d:nimdoccss="filename" I think |
11:46:27 | PMunch | Oh wait, maybe not |
11:48:33 | * | muffindrake joined #nim |
11:50:03 | haxscramper | There is a single thread on the subject: https://forum.nim-lang.org/t/4308 , but I could't figure how to apply example to my case. I tried adding `doc.head_style = """ ...` but it does not seem to work. |
11:51:25 | * | NimBot joined #nim |
11:51:43 | * | FromDiscord quit (Remote host closed the connection) |
11:52:05 | * | FromDiscord joined #nim |
11:52:07 | Yardanico | ~restarted the discord bridge for a security update~ |
11:52:08 | disbot | no footnotes for `restarted`. 🙁 |
11:52:20 | Yardanico | 123 |
11:52:42 | FromDiscord | <Yardanico> 123 |
11:52:43 | Yardanico | 12344 |
11:52:55 | * | FromDiscord quit (Remote host closed the connection) |
11:53:10 | * | FromDiscord joined #nim |
11:53:18 | * | FromDiscord quit (Remote host closed the connection) |
11:53:47 | * | FromDiscord joined #nim |
11:54:56 | PMunch | haxcramper, where did you get head_style from? |
11:55:28 | PMunch | If you want you can check out my JSON output branch and generate your own HTML docs from that: https://github.com/nim-lang/Nim/pull/14871 |
11:55:29 | disbot | ➥ JSON output now parses description and moduleDescription as JSON |
11:55:55 | FromDiscord | <mratsim> haxcramper, in the old Arraymancer, I just referred to the CSS in my header: https://github.com/mratsim/Arraymancer/blob/a0bdf4ecd79c615403a8db387b171ade3d426221/nimdoc.cfg#L17-L25 |
11:56:14 | * | krux02 joined #nim |
12:03:34 | * | sacredfrog quit (Quit: ZNC 1.8.1 - https://znc.in) |
12:04:51 | Yardanico | restarting the bridge again, sorry |
12:04:53 | * | FromDiscord quit (Remote host closed the connection) |
12:05:07 | * | FromDiscord joined #nim |
12:05:08 | Yardanico | done (that was a security update :P) |
12:05:26 | * | muffindrake quit (Quit: muffindrake) |
12:05:54 | * | sacredfrog joined #nim |
12:06:02 | * | supakeen quit (Quit: WeeChat 2.8) |
12:06:11 | Yardanico | !getlastid |
12:06:12 | * | nikita` quit (Quit: leaving) |
12:06:13 | FromDiscord | Don't have info for the current channel yet. |
12:06:40 | * | supakeen joined #nim |
12:12:53 | haxscramper | How does `doc.*` work in nim doc configuration? `doc.file` completely replaces generated output. Using `doc.body_toc` modifies only section. I though that using `doc.head_style` I will alter styling configuration. And example in the forum thread (https://forum.nim-lang.org/t/4308) uses `$content` and $tableofcontents` in the HTML, which makes me think that some kind of templating is also supported. |
12:16:07 | haxscramper | PMunch: I think generating own docs from JSON is a bit overkill for my case: I just want to automatically add `table th.docinfo-name {text-align: left;}` to style, not some kind of complete redesign of documenation. I know I can just put `.. raw::` at the start of file but it is just annoying. |
12:35:35 | * | rockcavera joined #nim |
12:38:13 | * | zacharycarter joined #nim |
12:39:46 | PMunch | haxscramper, I'm just trying to get someone to do it :P |
12:39:57 | PMunch | To check if its even possible with the current output |
12:51:55 | * | vr0n joined #nim |
12:52:48 | haxscramper | `nimdoc.out.css` is copied from `~/.choosenim/stable/<your current version>/doc/nimdoc.css`. It seems like this behaviour is hardcoded via `nimpaths.docCss` const (?) - defined as `"$nimr/doc/nimdoc.css"`. For my case it was sufficient to add `@import url("user-css.css");` to this file and them put custom CSS whenewher I need. It probabily won't work for more complicated things (my case was very simple). |
12:55:10 | * | zacharycarter quit (Ping timeout: 256 seconds) |
12:55:46 | * | zacharycarter joined #nim |
12:57:05 | * | muffindrake joined #nim |
12:58:46 | * | krisppurg joined #nim |
12:59:45 | vr0n | so, i've written some underlying database logic in nim, and i think it would be cool to give it a text user interface (like r2 or gdb, but obviously not as complex). What's the best way to go about that in nim? haven't tried before, and i found myself a little stumped |
13:00:41 | vr0n | really, i just wanna know if its possible. if so, ill go and do more research. but i couldnt find a similar prject in pure nim |
13:06:13 | PMunch | Definitely possible |
13:07:25 | PMunch | If you look at my stacklang project you can see a terminal application that behaves that way |
13:07:34 | PMunch | Takes input line by line and returns stuff |
13:07:40 | PMunch | It doesn't do any background work though |
13:09:14 | * | Vladar quit (Quit: Leaving) |
13:09:41 | vr0n | is your github pmunch? |
13:09:49 | vr0n | ill take a look at it for reference, if that's ok with you |
13:09:49 | PMunch | Yes |
13:09:54 | vr0n | ok. thank you! |
13:10:05 | PMunch | Of course, it's all open source and available, do whatever you want with it :) |
13:10:18 | PMunch | This thing: https://github.com/PMunch/stacklang |
13:10:40 | vr0n | thanks, mate. ill post a link to my app once it's done (assuming it works ok)! |
13:10:52 | * | justsomeguy left #nim (#nim) |
13:12:48 | * | tin92 joined #nim |
13:17:28 | * | marnix joined #nim |
13:26:17 | krux02 | PMunch, so is it better that calc in emacs :P |
13:26:54 | * | marnix quit (Ping timeout: 256 seconds) |
13:27:15 | PMunch | stacklang? |
13:27:26 | PMunch | I've never tried calc in emacs, so hard to tell |
13:27:33 | krux02 | well you can |
13:27:38 | krux02 | sudo pacman -S emacs |
13:27:43 | krux02 | run it |
13:28:12 | krux02 | Alt-x calc <Enter> |
13:28:21 | krux02 | and off you go |
13:28:26 | krux02 | it is a stack based calculator |
13:28:28 | PMunch | Hmm |
13:28:32 | krux02 | programable of course |
13:28:46 | PMunch | Ooh, I like the calculator trail |
13:29:08 | krux02 | me too |
13:29:24 | krux02 | but I hardly use it |
13:29:36 | PMunch | I actually wanted to implement something similar in stacklang |
13:29:46 | PMunch | Basically infinite undo |
13:30:41 | PMunch | And a way to pull a number out of an earlier stack and push it to the current one |
13:30:42 | krux02 | The problem with these calculators is, I don't use them regularly, and when I need a calculator I use a tool that I already know. That is then again not calc. |
13:31:02 | PMunch | So many times I calculate a sum, then do something with it, and realise I need it later on |
13:31:36 | PMunch | Mhm, I know the feeling |
13:31:51 | krux02 | I like the Mathematica like workflow |
13:32:09 | krux02 | it is in IPython and IJulia as well |
13:32:13 | PMunch | I tried to use forth and other stack based languages as a calculator, but I kept getting stuck on syntax stuff |
13:32:17 | FromDiscord | <lqdev> I wish `calc` had that |
13:32:24 | FromDiscord | <lqdev> (not emacs calc, just calc) |
13:32:48 | PMunch | That's why I tried to give stacklang the most simple syntax passible |
13:32:58 | FromDiscord | <lqdev> rn I just use the up arrow as much as I need, but it's annoying |
13:33:55 | PMunch | Everything that looks like a number is a number, anything else is a label. If a label is tied to a function (e.g. '+' for addition) it will be automatically called when it's pushed to the stack unless escaped. |
13:34:07 | krux02 | well if I do use a calculator I use my Texas Instrument Voyage 200. |
13:34:15 | krux02 | because it has symbolic caclulation. |
13:34:22 | * | endragor quit (Read error: Connection reset by peer) |
13:35:26 | krux02 | But since I hate the fact that it has a super slow CPU and that is the bottleneck and I sit in front of a supercomputer (in comparsion, not in reality) I forced myself to use maxima instead. |
13:35:46 | * | thomasross joined #nim |
13:36:20 | PMunch | Hmm, symbolic calculation? |
13:36:25 | krux02 | PMunch, I thought also once about a stack with a negative about of elements. |
13:36:35 | PMunch | A negative amount? |
13:36:51 | PMunch | Ooh |
13:37:00 | krux02 | so: 2 3 + will yied 5, but 2 + 3 would also yield 5 because after the + the stack has -1 elements. |
13:37:07 | PMunch | Yeah |
13:37:09 | PMunch | Just realised |
13:37:14 | PMunch | That would actually be pretty cool |
13:37:38 | PMunch | So "2 +" would leave an unresolved operation that would apply to the next argument |
13:37:49 | krux02 | I thought about that as a syntax for a statically compiled languae. Never implemented it, but put some thoughts into it. |
13:37:50 | PMunch | Kinda like partial evaluation in e.g. Haskell |
13:38:09 | krux02 | The drawbacks are: no overloading |
13:38:41 | krux02 | yes you can also interpret it as partial evaluation like in Haskell, even though I did not. |
13:38:51 | PMunch | Wait, why no overloading? |
13:38:56 | krux02 | I thought a line must always be complete. |
13:38:58 | PMunch | Because you resolve early? |
13:39:03 | PMunch | Mhm |
13:39:15 | krux02 | well if you have foo with 2 and with 3 arguments |
13:39:19 | krux02 | and then you put foo on the stack |
13:39:27 | krux02 | does the stack now have -2 or -3 elements? |
13:39:38 | krux02 | could not solve that. |
13:39:49 | PMunch | Aah, overloading like that |
13:39:56 | * | endragor joined #nim |
13:39:58 | PMunch | I thought you meant string or int argument |
13:40:03 | PMunch | But same number |
13:40:11 | krux02 | yea |
13:40:16 | PMunch | Stack based languages typically don't have overloading anyways |
13:40:18 | * | BlameTheRoomba joined #nim |
13:40:34 | krux02 | It is normal to think about the things that would be better and totally forget about the drawbacks. |
13:40:42 | PMunch | I have a version of it in stacklang, where you can pass in an index or a label |
13:40:45 | krux02 | probably for that reason. |
13:41:35 | PMunch | Basically all variable argument functions in stacklang takes either a label or a positive or negative index |
13:41:35 | krux02 | I also thought about how much can you make a programming languae like a normal language. |
13:42:02 | krux02 | certainly talking to a computer is fundamentally different than talking to a human. |
13:42:14 | PMunch | I think I might've mentioned this for you before, but did you see the poetry language talk in our FOSDEM room? |
13:42:18 | * | thomasross quit (Ping timeout: 256 seconds) |
13:42:18 | krux02 | But that doesn't mean that you need end a command with a ; instead of a . |
13:42:26 | FromDiscord | <lqdev> krux02: ever heard of Skript? |
13:42:42 | krux02 | lqdev: no |
13:42:48 | PMunch | Mhm, I think a lot of languages have moved more towards the human end of speech lately |
13:42:56 | PMunch | Just look at Ruby for example |
13:43:04 | krux02 | I only heared about the Shakespear language, and that is just stupid. |
13:43:05 | alehander92_ | "come on man try to call x()" |
13:43:15 | FromDiscord | <lqdev> it's basically minecraft plugins using plain english |
13:43:16 | alehander92_ | "give me that .. value over there " |
13:43:24 | PMunch | With things like '?' for checking a value, and "x = 10 unless y == 100" |
13:43:49 | FromDiscord | <Yardanico> @lqdev oh yeah I used it a bit on my MC server some years ago |
13:43:53 | FromDiscord | <Yardanico> It's a cool thing |
13:44:03 | alehander92_ | yeah dsl-s sounding like english |
13:44:03 | PMunch | Problem is that often you end up with very verbose things, because human language is overly verbose compared to actual meaning |
13:44:04 | krux02 | well I think the `=` as assignment operator is wrong, because it is an equality sign. |
13:44:07 | alehander92_ | but this has its limits |
13:44:20 | * | zacharycarter quit (Quit: Lost terminal) |
13:44:27 | alehander92_ | krux02 you're right but |
13:44:31 | alehander92_ | i thought for something |
13:44:32 | PMunch | krux02, you and large parts of the functional language community :) |
13:44:40 | alehander92_ | how do we actually write assignment in math proofs? |
13:44:46 | alehander92_ | or "aliasing" |
13:44:47 | krux02 | it should be `assign x to 10 unless y = 100` or something like that. |
13:44:50 | FromDiscord | <lqdev> := ? |
13:44:58 | FromDiscord | <lqdev> like pascal |
13:44:59 | krux02 | yes |
13:45:01 | alehander92_ | isn't it again something like "let x = (y + z) in this expr" |
13:45:08 | alehander92_ | i am talking about math |
13:45:13 | alehander92_ | i didnt use `:=` when i was in school |
13:45:13 | FromDiscord | <lqdev> yeah |
13:45:31 | krux02 | an arrow is also ok I guess |
13:45:34 | alehander92_ | so `=` does seem math-y to me |
13:45:35 | krux02 | a <- b |
13:45:41 | alehander92_ | but i really don't remember well proofs |
13:45:50 | krux02 | a <-store- b |
13:45:51 | FromDiscord | <lqdev> well we have assignments to variables using plain language "let x be the number of blablabla" |
13:46:01 | krux02 | a <~ |
13:46:21 | krux02 | lqdev, that is declaration |
13:46:28 | FromDiscord | <lqdev> but it doesn't apply to proofs doesn't it |
13:46:30 | FromDiscord | <lqdev> hm |
13:46:47 | alehander92_ | i mean, substitution |
13:46:50 | PMunch | You use = in maths to assign as well, but you can't reassign later |
13:46:55 | alehander92_ | ah exactly |
13:46:57 | PMunch | Well, not in the same "scope" |
13:47:04 | alehander92_ | so it's more like lisp probably |
13:47:10 | krux02 | and how do you access member variables if you want to use the `.` and the end of the command (sentence). |
13:47:12 | alehander92_ | and the `let stuff be other in this expr` |
13:47:34 | krux02 | programming languages should also have an official reading. |
13:47:41 | alehander92_ | otherwise `<-` does sound good |
13:47:48 | alehander92_ | but then you can have `->` |
13:47:52 | krux02 | in math ∀ reads as `for all` |
13:47:54 | alehander92_ | `e() -> a` |
13:48:02 | alehander92_ | which might make sense |
13:48:10 | alehander92_ | in async futures |
13:48:14 | FromDiscord | <lqdev> that's whar R does iirc |
13:48:16 | krux02 | in programming you can just skip all symbols and hope people still understand it if you read it. |
13:48:18 | FromDiscord | <lqdev> for variables |
13:48:19 | alehander92_ | e.g. `~>` might be "assign after ready" |
13:48:24 | FromDiscord | <dom96> Hey @Rika, can I PM you? (You've got Clyde banning any DMs right now :)) |
13:49:10 | krux02 | assign when ready |
13:49:22 | krux02 | assign ... , when ready. |
13:49:27 | krux02 | put the when ready at the end. |
13:50:13 | krux02 | The trend towards a human language doesn't only improve readability, it improves talking about a programming language, and it improves writeability in a language. |
13:50:35 | krux02 | writeability in terms of keyboards. |
13:50:36 | alehander92_ | yeah but symbols are good |
13:50:41 | alehander92_ | math uses a lot more symbols |
13:50:48 | alehander92_ | and seems a lot more like perl |
13:50:51 | PMunch | Problem is that in speech you assume people read everything |
13:50:55 | PMunch | Which isn't really true for code |
13:51:00 | krux02 | symbols are good, most keyboards only have a shitty ASKII set available. |
13:51:05 | alehander92_ | i think haskell has words |
13:51:07 | alehander92_ | for more symbols |
13:51:12 | PMunch | I have been confused multiple times from the "unless" suffix syntax in Ruby |
13:51:13 | alehander92_ | one can have that in tooling |
13:51:20 | alehander92_ | like hovering on an operator |
13:51:27 | alehander92_ | and seeing how it is supposed to be pronounces |
13:51:35 | PMunch | Completely throw me as I read the first part of a statement only to realise it doesn't always happen |
13:51:37 | alehander92_ | or a bigger expression |
13:52:08 | PMunch | When I read code I tend to semi-evaluate it as I read, so that "unless" at the end means I now need to step back through and mentally "undo" things |
13:52:11 | PMunch | Which is a pain.. |
13:52:14 | alehander92_ | e.g. i've seen notes like "you read this rust type definition this way" etc |
13:52:31 | alehander92_ | yeah its a bit strange |
13:52:38 | * | muffindrake quit (Quit: muffindrake) |
13:53:01 | krux02 | ¬∨∧ |
13:53:11 | krux02 | I like them over && || ! |
13:53:45 | alehander92_ | i am so used to `&` being and |
13:53:51 | alehander92_ | that its hard for me to imagine what else |
13:53:53 | PMunch | Oh well, I've gotta run |
13:53:58 | * | PMunch quit (Quit: Leaving) |
13:54:00 | alehander92_ | (yeah and string interpolation in nim) |
13:56:48 | FromDiscord | <exelotl> I like Lua's `..` for string concatenation. Guess it doesn't work cause it's the slice operator in nim |
14:05:51 | FromDiscord | <lqdev> well, Nim's & operator makes sense |
14:06:16 | FromDiscord | <lqdev> "a" & "b" reads as "a and b" and results in a and b ("ab") |
14:09:04 | * | lritter joined #nim |
14:09:16 | * | rockcavera quit (Remote host closed the connection) |
14:26:09 | Araq | I still like 'and' and 'or' better because they are more like 'if' than they are like * and + |
14:26:34 | Araq | 'and' is control flow and '*' isn't |
14:33:08 | disruptek | interesting, i don't perceive `and` the same way. |
14:42:37 | * | tin92 quit (Remote host closed the connection) |
14:43:03 | FromDiscord | <exelotl> I quite like 'and'/'or', never thought about it that way but it makes sense |
14:43:23 | FromDiscord | <exelotl> still have to think super hard whenever I use shl/shr though. :( |
14:43:26 | FromDiscord | <impbox> Araq's logic seems sound, |
14:43:27 | FromDiscord | <impbox> (edit) 'sound,' => 'sound' |
14:43:41 | FromDiscord | <impbox> @exelotl shl/shr same because i forget left and right =) |
14:43:46 | FromDiscord | <impbox> (edit) 'forget' => 'mixup' |
14:43:54 | FromDiscord | <impbox> the << >> arrows are more clear |
14:44:07 | Araq | I don't like that I made them keywords |
14:44:10 | FromDiscord | <impbox> and they're not control flow |
14:44:22 | Araq | but I personally need to translate >> and << into shr and shl |
14:44:36 | Araq | the direction is super unclear to me |
14:44:40 | FromDiscord | <exelotl> its really tough being a left/right mixer-upper xD |
14:45:14 | Araq | in fact, I combine the 'r' with "div like" and skip the direction entirely |
14:45:37 | FromDiscord | <Rika> For both shr shl and >> << I have to figure out in what way the bits are shifting |
14:46:00 | FromDiscord | <Rika> Ngl, wish it was shift msb-wise or shift lsb-wise |
14:46:06 | FromDiscord | <Rika> Easier for me to think in that way |
14:46:42 | Araq | *shrug* shifting is stupid, I wrap it in 'setBit' and friends |
14:47:00 | FromDiscord | <Shucks> am I blind or isnt there any documentation for the property pragma |
14:48:02 | Araq | there is no such pragma, most like you use a library where 'property' is a custom annotation |
14:48:08 | Araq | *most likely |
14:48:18 | FromDiscord | <Shucks> oh |
14:48:55 | FromDiscord | <Shucks> ideed |
14:48:57 | FromDiscord | <Shucks> indeed* |
14:49:01 | FromDiscord | <Shucks> ```macro property*(x: untyped): untyped =↵ ## Add property macro to proc as pragma so that getters/setters can access↵ ## as nim's style.``` |
14:53:24 | FromDiscord | <Zachary Carter> what library is that from? |
14:55:29 | * | sentreen quit (Quit: sentreen) |
14:57:47 | * | crem quit (Ping timeout: 260 seconds) |
14:58:28 | FromDiscord | <Shucks> winim |
14:58:41 | FromDiscord | <Shucks> well, a sublib wAuto |
14:58:52 | * | vicfred joined #nim |
15:02:14 | krux02 | regarding pragmas, this PR would be important to be merged first. |
15:02:15 | krux02 | https://github.com/nim-lang/Nim/pull/11526 |
15:02:17 | disbot | ➥ getCustomPragma is split up in more usable chunks |
15:05:13 | * | Vladar joined #nim |
15:12:48 | * | vesper11 quit (Max SendQ exceeded) |
15:16:42 | * | NimBot joined #nim |
15:17:13 | * | xace joined #nim |
15:17:14 | * | synthmeat joined #nim |
15:17:33 | * | sknebel joined #nim |
15:20:17 | krux02 | can somebody help me with the nim.cfg syntax? |
15:21:02 | FromGitter | <ynfle> What do you want to do |
15:21:06 | FromGitter | <ynfle> *? |
15:22:38 | krux02 | passing command line arguments |
15:23:39 | krux02 | ok, by guessing I found it out. |
15:23:43 | krux02 | but the syntax is weird. |
15:23:48 | krux02 | would be nice to be able to look it up. |
15:24:14 | * | maier quit (Ping timeout: 240 seconds) |
15:24:25 | FromGitter | <ynfle> I think it's just regular command line arguments |
15:24:40 | FromGitter | <ynfle> You can use config.nims if that's easier |
15:24:57 | * | sentreen quit (Quit: sentreen) |
15:25:04 | krux02 | no it is not |
15:25:14 | krux02 | I tried to do regular command line arguments and it complained. |
15:25:44 | FromGitter | <ynfle> Curious which? |
15:26:00 | krux02 | instead of --path:/a/b/c it was --path="/a/b/c" |
15:26:12 | krux02 | weird as I said |
15:26:48 | * | Ekho joined #nim |
15:31:34 | * | BlameTheRoomba quit (Ping timeout: 240 seconds) |
15:31:45 | Araq | krux02: in a nutshell: the .cfg syntax uses the Nim lexer |
15:31:53 | Araq | not the Nim parser though |
15:32:16 | Araq | I know it's not a substitute for documentation but I hope it helps |
15:32:37 | FromGitter | <ynfle> for me `--outdir:bin` worked unless that's because `bin` was defined in the .nimble file |
15:33:31 | * | marnix joined #nim |
15:34:28 | * | endragor quit (Remote host closed the connection) |
15:35:14 | krux02 | well I could write my configuration file as I wanted and I can throw away my run script. |
15:40:55 | FromDiscord | <Skaruts> does dynamic dispatch also apply to properties, or is it just for methods? |
15:43:40 | krux02 | propertios are compile time aren't they? |
15:43:53 | * | endragor joined #nim |
15:47:17 | FromDiscord | <Skaruts> I have no idea |
15:48:43 | * | endragor quit (Ping timeout: 244 seconds) |
15:49:41 | FromDiscord | <lqdev> you can't dynamic dispatch properties |
15:50:31 | FromDiscord | <lqdev> or actually, what 'properties' are we talking about? |
15:50:37 | FromDiscord | <lqdev> fields? |
15:51:32 | FromDiscord | <Skaruts> yes |
15:51:49 | FromDiscord | <lqdev> they don't need to be dynamically dispatched |
15:52:00 | FromDiscord | <lqdev> because they're inherited |
15:52:17 | FromDiscord | <lqdev> it's simply memory access, there's no procedure call involved |
15:52:24 | FromDiscord | <lqdev> unlike with procs/methods |
15:52:37 | FromDiscord | <lqdev> where you need to know the procedure ahead of time |
15:52:56 | FromDiscord | <Skaruts> ah ok |
15:53:00 | * | WilhelmV1nWeiner quit (Quit: leaving) |
15:53:24 | * | WilhelmVonWeiner joined #nim |
15:53:39 | FromDiscord | <Skaruts> nice to know, so I can have some inheritance without any dynamic dispatch in what I'm doing |
15:54:12 | FromDiscord | <Skaruts> won't need any polymorphism |
15:55:52 | * | marnix quit (Remote host closed the connection) |
15:58:05 | FromDiscord | <Shucks> sent a code paste, see https://play.nim-lang.org/#ix=2qIn |
15:58:18 | FromDiscord | <Shucks> any trick to check if that string is empty? |
15:58:34 | FromDiscord | <Shucks> or more like is full of nullchars |
16:01:48 | FromDiscord | <Shucks> str[0] == '\0' |
16:01:52 | FromDiscord | <Shucks> guess thats fine. |
16:04:52 | * | sentreen joined #nim |
16:06:15 | FromDiscord | <aolko> so i heard httpbeast leads in the benchmark |
16:06:27 | FromDiscord | <aolko> how high load is it? |
16:13:10 | * | xet7 quit (Quit: Leaving) |
16:13:29 | vegai | leads what? |
16:15:59 | vegai | it's 8th in plaintext, 5th in json |
16:16:25 | vegai | heh, V seems to be doing pretty well in the latest round |
16:16:37 | * | endragor joined #nim |
16:19:34 | disruptek | it took me 18mins to download all dependencies for hugo (static site generator in go) and build it. |
16:19:45 | disruptek | i'm on 150mbit fibre. |
16:20:05 | disruptek | what's wrong with this picture? |
16:21:02 | * | endragor quit (Ping timeout: 246 seconds) |
16:22:39 | FromDiscord | <Zachary Carter> 🤔 |
16:23:00 | vegai | odd, took less than a minute here |
16:23:38 | vegai | with a much less powerful net |
16:25:59 | disruptek | seems like gentoo's ebuild might be pointing at some stale mirrors. |
16:26:59 | disruptek | or there's some kinda weird go proxy/mirror bs goin' on. |
16:42:42 | * | BlameTheRoomba joined #nim |
16:43:19 | * | tane joined #nim |
16:44:38 | * | audiophile_ joined #nim |
16:47:50 | * | BlameTheRoomba quit (Ping timeout: 256 seconds) |
16:47:55 | * | audiophile_ is now known as BlameTheRoomba |
16:48:29 | * | krisppurg quit (Quit: Connection closed for inactivity) |
16:49:36 | planetis[m] | Which buildsystem is recommended for a small app (game) nimscript or nake? |
16:50:00 | FromDiscord | <Zachary Carter> I'd use nimscript personally |
16:50:27 | disruptek | agree. |
16:50:28 | FromDiscord | <Zachary Carter> and which backend are you targeting? |
16:50:31 | planetis[m] | any examples? |
16:50:52 | planetis[m] | Natice (C) |
16:50:53 | FromDiscord | <Zachary Carter> um you can look at `https://github.com/zacharycarter/frag` `config.nims` |
16:51:09 | planetis[m] | Thanks! |
16:51:29 | FromDiscord | <Zachary Carter> it's probably not the most streamlined build config in the world and it's doing some stuff that you probably won't be interseted in - like compiling assembly code but it shows how to create tasks etc |
16:51:35 | * | fredrikhr quit (Ping timeout: 258 seconds) |
16:52:56 | * | JustASlacker joined #nim |
16:54:01 | * | fredrikhr joined #nim |
16:57:33 | * | Senny quit (Ping timeout: 272 seconds) |
17:17:35 | * | fredrikhr quit (Ping timeout: 244 seconds) |
17:26:28 | * | a_b_m quit (Ping timeout: 258 seconds) |
17:41:10 | * | Oddmonger joined #nim |
17:41:36 | Oddmonger | hello |
17:41:46 | Oddmonger | what is your use case for nim ? |
17:42:07 | disruptek | games, trains, and automobiles. |
17:42:19 | disruptek | gonna wait and see what happens with boeing before i put nim in the air. |
17:42:29 | disruptek | gotta see just what my risk is, you see. |
17:42:49 | disruptek | i can't really afford to be losing half a trillion dollars. |
17:43:20 | disruptek | honestly, i spent a few minutes tossing sofa cushions for loose change this morning. |
17:43:26 | FromDiscord | <Rika> its what i solely use nowadays |
17:43:33 | disruptek | so that's kinda where i'm at right now. |
17:43:53 | solitudesf- | i wrote irc client in nim that filters disruptek's messages |
17:43:59 | * | solitudesf- is now known as solitudesf |
17:44:10 | Oddmonger | seems interesting :) |
17:44:24 | FromDiscord | <Rika> lol |
17:44:26 | disruptek | one day at a time, im finna give john heywood a run for his money. |
17:45:00 | disruptek | better late than never. |
17:49:45 | * | waleee-cl joined #nim |
17:49:52 | * | Trustable quit (Remote host closed the connection) |
18:00:02 | JustASlacker | I use it as a faster and slightly cooler python |
18:00:15 | JustASlacker | Oddmonger: ^ |
18:07:04 | FromDiscord | <lqdev> I write games in it. |
18:07:40 | FromDiscord | <Rika> i write dumb (and usually useless) shit in it 😛 |
18:11:22 | FromDiscord | <Zachary Carter> this ^ |
18:11:42 | Oddmonger | ok , i'm interested in Nim for replacing Lua in administration scripts |
18:12:05 | disruptek | !repo commandant |
18:12:06 | disbot | https://github.com/Varriount/commandant -- 9commandant: 11Bash/Command Prompt-Like Program Written in Nim 15 7⭐ 1🍴 |
18:12:14 | disruptek | !repo lunacy |
18:12:15 | disbot | https://github.com/disruptek/lunacy -- 9lunacy: 11a hack to let me work with some lua data more naturally 15 6⭐ 0🍴 |
18:12:24 | disruptek | !repo asynctools |
18:12:25 | disbot | https://github.com/cheatfate/asynctools -- 9asynctools: 11Various asynchronous tools for Nim language 15 58⭐ 20🍴 |
18:12:33 | Oddmonger | but there are really people making games with Nim ? |
18:12:46 | Oddmonger | is there something like löve2d, for Nim ? |
18:13:25 | Oddmonger | thanks for the link disruptek |
18:13:38 | disruptek | https://github.com/nim-lang/Nim/wiki/Curated-Packages |
18:13:39 | * | bung quit (Ping timeout: 256 seconds) |
18:13:58 | disruptek | ~curated is a curated list of interesting Nim packages at https://github.com/nim-lang/Nim/wiki/Curated-Packages |
18:13:59 | disbot | curated: 11a curated list of interesting Nim packages at https://github.com/nim-lang/Nim/wiki/Curated-Packages |
18:14:10 | disruptek | ~curated is an awesome list of interesting Nim packages at https://github.com/nim-lang/Nim/wiki/Curated-Packages |
18:14:11 | disbot | curated: 11an awesome list of interesting Nim packages at https://github.com/nim-lang/Nim/wiki/Curated-Packages |
18:14:13 | go|dfish | Oddmonger: vim3d!! https://github.com/oakes/vim_cubed |
18:15:06 | FromDiscord | <Rika> ngl i love the |
18:15:08 | Oddmonger | ah…… no DB2/400 access in Nim, alas (contrary would have amazed me) |
18:15:16 | FromDiscord | <Rika> "How do i stop the cube from spinning" |
18:15:17 | FromDiscord | <Rika> no |
18:15:25 | FromDiscord | <Varriount> Hm, how feasible would it be to make a shell script DSL in Nim? |
18:15:31 | FromDiscord | <Rika> oddmonger: the heck's db2/400 😛 |
18:15:55 | disruptek | i'd like to have an "expect" dsl in nim. |
18:16:15 | FromDiscord | <Varriount> `grep --recursive /path/to/somewhere` is technically valid syntax |
18:16:27 | FromDiscord | <Rika> disruptek: any reason lunacy needs cpp? |
18:16:35 | disruptek | i forget. |
18:16:42 | disruptek | i doubt it. |
18:16:49 | FromDiscord | <Varriount> disruptek: I want something as frictionless as bash, but not quite as brain-dead. |
18:16:57 | disruptek | try fish. |
18:17:02 | Oddmonger | Rika: or at least unixodbc :) |
18:17:25 | FromDiscord | <Rika> ah yeah, it works with c as shown in the nimble file |
18:17:25 | FromDiscord | <Varriount> disruptek: And ideally with the remoteing capabilities of ansiblee. |
18:17:28 | * | endragor joined #nim |
18:17:49 | FromDiscord | <Rika> Oddmonger: these letters dont make sense to me! |
18:18:38 | * | rockcavera joined #nim |
18:19:12 | Oddmonger | ah ok, it's the native database used in iSeries, a midrange computer still used today |
18:20:58 | disruptek | subtext: it's old. |
18:21:22 | FromDiscord | <willyboar> 👋 |
18:21:35 | FromDiscord | <Rika> i see |
18:22:13 | FromDiscord | <Rika> what the hell the thing's roughly 1.5x older than me |
18:22:25 | * | endragor quit (Ping timeout: 264 seconds) |
18:22:34 | * | maier joined #nim |
18:37:43 | BlameTheRoomba | that openapi generator in nim is very interesting |
18:40:17 | * | bung joined #nim |
18:40:49 | disruptek | i probably wouldn't implement it the same way if i did it today. |
18:40:56 | disruptek | it was one of my earliest projects. |
18:41:37 | disruptek | it's a bit brute-force-overengineered. it will last until a better replacement is ready. |
18:42:41 | alehander92_ | <3 |
18:42:51 | alehander92_ | i am so happy. |
18:43:08 | disruptek | sweet. |
18:43:45 | FromDiscord | <Vindaar> @Varriount https://github.com/Vindaar/shell/ ?↵disruptek, I've been meaning to add `expect`... |
18:46:50 | * | bung quit (Ping timeout: 256 seconds) |
18:48:55 | FromDiscord | <willyboar> alehander92_ is nice to be happy |
18:50:20 | * | Senny joined #nim |
18:50:32 | * | nikita` joined #nim |
18:51:12 | * | bung_ joined #nim |
18:53:22 | BlameTheRoomba | disruptek could I trouble you for a high level explanation of how it works? I wasn't able to grok it from the readme |
18:55:05 | disruptek | it turns json api schema into a nim library wherein calls and their associated machinery are unique types that can be composed together or extended into clients. |
18:56:03 | disruptek | https://disruptek.github.io/github/github/github_v3.html |
18:57:25 | disruptek | the api call itself is a 1st-class type. |
18:57:28 | * | Senny quit (Ping timeout: 246 seconds) |
18:57:34 | BlameTheRoomba | wow |
18:57:36 | * | bung_ quit (Ping timeout: 256 seconds) |
18:58:02 | disruptek | maybe that sounds like more of a mindfuck than it really is. |
18:58:05 | BlameTheRoomba | so under the hood you have your http api calls but this library converts them to types in a new library |
18:58:17 | disruptek | right. |
18:58:19 | BlameTheRoomba | big brain disruptek |
18:58:25 | BlameTheRoomba | 🧠 |
18:58:32 | disruptek | you can replace the underlying transport with whatever you want. |
18:58:49 | disruptek | i don't think it's that smart; i couldn't come up with any other way to do it. |
18:58:58 | BlameTheRoomba | this is the first time I've heard of something this cool for api wrappers |
18:59:01 | disruptek | it has to support thousands of apis with very shady quality. |
18:59:08 | BlameTheRoomba | but it works^TM |
18:59:15 | BlameTheRoomba | thanks! :D |
18:59:20 | disruptek | honestly, it works really well. |
18:59:30 | disruptek | !repo atoz |
18:59:31 | disbot | https://github.com/disruptek/atoz -- 9atoz: 11Amazon Web Services (AWS) APIs in Nim 15 19⭐ 0🍴 |
18:59:34 | disruptek | !repo gcplat |
18:59:35 | disbot | https://github.com/disruptek/gcplat -- 9gcplat: 11Google Cloud Platform (GCP) APIs in Nim 15 3⭐ 0🍴 |
18:59:37 | disruptek | !repo bluu |
18:59:38 | disbot | https://github.com/disruptek/bluu -- 9bluu: 11Microsoft Azure Cloud (MAC) APIs in Nim 15 0⭐ 0🍴 |
18:59:41 | BlameTheRoomba | now throw a webscraper on top of it and you can get apis for everything haha |
18:59:45 | BlameTheRoomba | oh nice |
18:59:51 | disruptek | that's many, many megabytes of apis that are completely automated. |
18:59:53 | BlameTheRoomba | how does it handle the oauth dance |
19:00:07 | BlameTheRoomba | yeah I was surprised when I opened a code file to see github not support the size |
19:00:13 | disruptek | you can look at how a wrapper is implemented in the github repo. |
19:00:28 | BlameTheRoomba | ok will do! |
19:00:41 | BlameTheRoomba | my nim isn't up to par with what you're doing for sure |
19:00:45 | BlameTheRoomba | so I will def revisit |
19:00:53 | * | JustASlacker quit (Quit: Leaving) |
19:00:57 | disruptek | i bet you're wrong. |
19:01:13 | BlameTheRoomba | 🤔💭 |
19:01:25 | disruptek | this is the whole generator for the github api: |
19:01:27 | disruptek | https://github.com/disruptek/github/blob/master/generator.nim |
19:01:46 | disruptek | omg i just found a stupid bug. |
19:02:02 | BlameTheRoomba | oh it isn't this one? https://github.com/disruptek/openapi |
19:02:15 | BlameTheRoomba | oh it does import this |
19:02:17 | disruptek | it uses that to build an api and authenticate to it. |
19:02:17 | BlameTheRoomba | nvm |
19:02:34 | disruptek | but it doesn't require it for the output library. |
19:02:57 | BlameTheRoomba | oh I see! |
19:03:34 | BlameTheRoomba | Im guessing the metaprogramming strength of nim was very useful when you wrote this lib |
19:03:35 | disruptek | i mean, you seemed like you might want an example of how to do authentication, etc. |
19:03:47 | BlameTheRoomba | oh I'm just curious is all |
19:03:55 | disruptek | yeah, it would be a huge pain in the ass to do it with another language. |
19:03:56 | BlameTheRoomba | the premise is very very cool and interesting |
19:04:07 | * | bung joined #nim |
19:04:12 | BlameTheRoomba | glad to see crazy things being made possible with nim haha |
19:04:16 | disruptek | actually, someone did do it, for nim, in another language. i think it was java. |
19:04:51 | BlameTheRoomba | oh java outputting nim code? |
19:05:22 | disruptek | yeah, same thing i did but, y'know, different. and i think they wrote it in java as a module for an openapi generator. but i really don't know the specifics. |
19:05:37 | disruptek | i felt it was silly to do it that way, though it may have been more expedient. |
19:05:49 | disruptek | i think a lot of people would prefer the output to mine. |
19:06:00 | BlameTheRoomba | yeah this method uses nim's features |
19:06:29 | disruptek | my stuff is more bizarre. i dunno... |
19:06:49 | BlameTheRoomba | how long did you spend on this |
19:06:59 | BlameTheRoomba | I could prob find from git commit date range tho |
19:07:05 | disruptek | maybe people are only really using this with well-formed openapi they generate from their clouds. |
19:07:54 | BlameTheRoomba | hmm |
19:08:08 | disruptek | looks like a couple months. |
19:08:24 | BlameTheRoomba | oh haha you too use `#? replace(sub = "\t", by = " ")`? |
19:08:34 | disruptek | i guess i did then. |
19:08:40 | FromDiscord | <lqdev> uh oh |
19:08:52 | FromDiscord | <lqdev> somebody call the Nim police |
19:08:57 | FromDiscord | <lqdev> we have an outlaw |
19:09:08 | solitudesf | thats bannable |
19:09:40 | BlameTheRoomba | oh no what have I done |
19:09:51 | BlameTheRoomba | rip disruptek 2001-2020 |
19:10:09 | disruptek | you're looking at an older version, i guess. |
19:10:18 | BlameTheRoomba | first commit of openapi |
19:10:19 | disruptek | i don't have any scf in HEAD. |
19:10:26 | BlameTheRoomba | have ye repented since then? |
19:10:30 | disruptek | aye |
19:10:48 | BlameTheRoomba | you are forgiven child |
19:10:53 | disruptek | thank you, father. |
19:11:17 | BlameTheRoomba | xD |
19:12:04 | disruptek | there was an effort to write the aws apis in nim without using macros. |
19:12:13 | * | bung quit (Ping timeout: 264 seconds) |
19:12:30 | * | bung joined #nim |
19:13:46 | BlameTheRoomba | why though |
19:13:57 | BlameTheRoomba | oh |
19:14:05 | BlameTheRoomba | did your openapi generator kill the other effort? |
19:14:11 | BlameTheRoomba | haha that would be funny |
19:14:26 | disruptek | no, i waited for a few months for the guy to finish it but he never did. |
19:14:42 | BlameTheRoomba | I joined your twitch stream a while ago and you were messing around with a fork of nim(?) iirc how's that coming along |
19:14:51 | disruptek | i mean, i thought it was done, but he vanished and i waited and came to find that it was very incomplete. |
19:15:07 | BlameTheRoomba | and that's when you pressed the shiny green 'generate' button :D |
19:15:16 | disruptek | ah, krux02 is the one working on a fork. |
19:15:25 | BlameTheRoomba | oh were you in the mic chat then? |
19:15:34 | BlameTheRoomba | idk there were 4 other ppl but I dont remember who |
19:15:34 | disruptek | i mean, yeah. |
19:15:50 | disruptek | probably yardanico and clyybber. |
19:16:09 | BlameTheRoomba | yeah those names! |
19:16:46 | disruptek | i'm thinking as i type this that i don't want to ping them, but y'know, that's just ridiculous. if you don't want to get pings on your name, don't turn on name pings. |
19:16:51 | disruptek | wtf. |
19:17:05 | disruptek | why do i have to engage in an arms race with you to be social. |
19:17:17 | disruptek | you do your thing and i'll do mine. |
19:17:30 | krux02 | disruptek, working on it, is a bit of an exaggeration. |
19:17:46 | krux02 | Yes it is a fork, but I try to not work on it as much as possible. |
19:17:49 | disruptek | see, it's handy to mention people. |
19:17:54 | disruptek | hey krux02 |
19:17:57 | BlameTheRoomba | krux02 |
19:17:59 | BlameTheRoomba | testing |
19:18:13 | BlameTheRoomba | sorry, I just couldnt resist |
19:18:29 | krux02 | np |
19:18:34 | krux02 | I doen't hear a ping |
19:18:44 | BlameTheRoomba | :( |
19:18:48 | krux02 | my messenger just gets an exclamation mark icon |
19:18:49 | BlameTheRoomba | then it's not satisfying for us |
19:18:51 | disruptek | oh you just happened to have irc open? |
19:18:53 | krux02 | I see it. |
19:18:55 | disruptek | ahh |
19:19:12 | krux02 | I really hate everything with ping and blinking. |
19:19:27 | krux02 | if something blinks, I kill it. |
19:19:33 | disruptek | because of the seizures? |
19:19:33 | BlameTheRoomba | your eyes |
19:19:36 | krux02 | unix command kill |
19:19:43 | BlameTheRoomba | kill -9 krux02's eyes |
19:19:55 | krux02 | I just hate this "hey here I am important now" attitued. |
19:20:06 | disruptek | krux02 is so cool he wears shades while coding. |
19:20:40 | BlameTheRoomba | in soviet russia nim code you |
19:21:02 | BlameTheRoomba | any russians here plz dont take me out |
19:21:14 | krux02 | I don.t think so. |
19:21:15 | disruptek | oh, he only wears sunglasses while coding nim? |
19:21:22 | disruptek | because it's so brilliant? |
19:21:35 | krux02 | yea probably |
19:21:36 | BlameTheRoomba | no dark mode |
19:21:40 | disruptek | or glaringly bug-ridden. |
19:22:04 | BlameTheRoomba | you know how cool people walk away from explosions without looking at em |
19:22:04 | krux02 | you know, I know how to control the brightness of my screen. |
19:22:36 | disruptek | sometimes i have to turn up the volume when i read Araq's code. |
19:22:42 | * | bung quit (Ping timeout: 260 seconds) |
19:22:50 | BlameTheRoomba | now now dont you go pinging him |
19:23:00 | disruptek | why not? |
19:23:02 | BlameTheRoomba | he's busy with nim |
19:23:10 | BlameTheRoomba | busy man |
19:23:12 | disruptek | this /is/ #nim. |
19:23:12 | * | bung_ joined #nim |
19:23:34 | BlameTheRoomba | every time you ping him, nim development takes +1 manhour and... a kitten also dies |
19:23:42 | BlameTheRoomba | :P |
19:23:45 | disruptek | he can take a break to come down off his mountaintop and bury this fucking kitten. |
19:23:50 | BlameTheRoomba | ouch |
19:24:06 | BlameTheRoomba | Arack is a good homonym for him |
19:24:19 | disruptek | i'm not touching it. i hate cats and the last pussy i touched was over a year ago. |
19:24:32 | BlameTheRoomba | pussy? |
19:24:42 | BlameTheRoomba | :/ we have kids here |
19:24:44 | disruptek | krux02: is he talking to you? |
19:24:56 | disruptek | i know he don't mean me. |
19:25:01 | BlameTheRoomba | I do |
19:25:10 | BlameTheRoomba | it's okay I'm done |
19:25:12 | BlameTheRoomba | back to work |
19:25:24 | disruptek | me too, i'm hungry. |
19:26:07 | alehander92_ | willyboar |
19:26:15 | alehander92_ | yeah right! |
19:27:50 | alehander92_ | i constantly do Araq |
19:28:14 | alehander92_ | i mean he knows to ignore me |
19:28:18 | alehander92_ | except when i have a brilliant idea |
19:28:23 | alehander92_ | which i usually no |
19:28:33 | alehander92_ | i really have to fix my english |
19:28:55 | krux02 | I don't ping anybody, because I know it really can be annoying. |
19:29:30 | krux02 | instead of pinging you can also write proposals and issue reports. |
19:29:53 | alehander92_ | yeah, but then peopkle would be like |
19:30:18 | alehander92_ | it's a good point |
19:30:26 | alehander92_ | reminds me to go back sending my resume |
19:31:26 | * | bung_ quit (Ping timeout: 264 seconds) |
19:32:11 | * | Senny joined #nim |
19:32:39 | BlameTheRoomba | Araq do you get fanmail |
19:36:20 | * | Senny quit (Ping timeout: 246 seconds) |
19:37:14 | * | muffindrake joined #nim |
19:41:26 | * | bung_ joined #nim |
19:49:38 | * | bung_ quit (Ping timeout: 246 seconds) |
19:50:30 | * | bung joined #nim |
19:54:39 | * | bung quit (Ping timeout: 244 seconds) |
19:56:01 | FromGitter | <ynfle> Anyone have the config file for debugging ni in VS code? |
19:56:14 | FromGitter | <ynfle> Or a tutorial in how to do it with gdb |
19:56:55 | * | bung_ joined #nim |
19:58:39 | * | lritter quit (Ping timeout: 246 seconds) |
20:01:22 | * | bung_ quit (Ping timeout: 244 seconds) |
20:03:16 | * | lritter joined #nim |
20:04:04 | krux02 | I know how to do it with gdb |
20:04:47 | krux02 | @yynfle: do you know how to use gdb? |
20:05:29 | krux02 | @ynfle: https://www.youtube.com/watch?v=PorfLSr3DDI |
20:05:31 | FromGitter | <ynfle> I officially used in a class once |
20:05:37 | krux02 | ok |
20:05:42 | FromGitter | <ynfle> Is that for nim or gdb or both |
20:05:53 | krux02 | then you just use nim-gdb instead of gdb to start it. |
20:06:04 | FromGitter | <ynfle> Is that on nimble ? |
20:06:09 | FromDiscord | <Shucks> `https://paste.sh/pkwP2tOw#EDxIMKIp5nir7wJdaX5OcN3j` |
20:06:10 | * | Vladar quit (Quit: Leaving) |
20:06:16 | krux02 | nim-gdb makes gdb load a python module to pretty print nim types. |
20:06:41 | krux02 | no nim-gdb is a script in the bin directory of nim |
20:06:51 | FromGitter | <ynfle> ok |
20:06:59 | krux02 | it is in the git directory of nim. |
20:07:15 | FromGitter | <ynfle> @Shucks, is that the lauch.json file |
20:07:28 | FromGitter | <ynfle> Thanks! @krux02 |
20:07:36 | krux02 | then it is just gdb that things it debugs C code. |
20:07:40 | * | bung_ joined #nim |
20:08:08 | krux02 | nim supports the -g compiler flag to get line information and debug symbols. |
20:10:34 | krux02 | if nim-gdb was properly loaded you should be able to call the nim compiler from within the gdb interpreter |
20:11:11 | FromGitter | <bung87> does it worth write a nim lib like css in js? |
20:11:34 | FromDiscord | <Rika> what? |
20:12:21 | FromGitter | <bung87> css programing way I mean |
20:13:58 | FromGitter | <bung87> am not sure it worth or not write such a lib in nim |
20:14:50 | * | bung_ quit (Ping timeout: 246 seconds) |
20:18:19 | * | endragor joined #nim |
20:19:45 | * | bung joined #nim |
20:22:54 | * | endragor quit (Ping timeout: 260 seconds) |
20:22:58 | * | memoryhole joined #nim |
20:23:30 | memoryhole | hello |
20:23:51 | memoryhole | I'm attempting to add nimpretty |
20:24:01 | memoryhole | as a nimble task |
20:24:06 | * | bung quit (Ping timeout: 244 seconds) |
20:24:47 | * | bung_ joined #nim |
20:25:01 | memoryhole | and what I've found is that nimpretty will only work on a single file, so I attempted to use walkPattern to enumerate my source files call with nimpretty |
20:25:16 | memoryhole | but walkPattern is not available from nimscript |
20:25:32 | FromGitter | <bung87> !repo stage |
20:25:33 | disbot | https://github.com/ducdetronquito/phoon -- 9phoon: 11An early-stage Nim web framework inspired by ExpressJS 🐇⚡ 15 34⭐ 1🍴 7& 1 more... |
20:25:51 | memoryhole | is there a better way to go about this? or is it advisable to use something like make for this type of thing |
20:26:15 | FromGitter | <bung87> https://github.com/bung87/stage |
20:26:25 | FromGitter | <bung87> check this |
20:26:53 | memoryhole | ok thanks! |
20:29:24 | * | bung_ quit (Ping timeout: 256 seconds) |
20:30:33 | memoryhole | hmm, does your module actually depend on nim 1.3.3? that's an unreleased version |
20:33:05 | FromGitter | <ynfle> The odd versions are devel versions |
20:33:15 | FromGitter | <bung87> it is the version when i develop it |
20:33:46 | FromGitter | <ynfle> I think they are now on 1.3.5 on the devel branch |
20:33:48 | FromGitter | <bung87> mostly version unrelated |
20:33:52 | * | bung joined #nim |
20:35:01 | * | BlameTheRoomba quit (Quit: Default Quit Message) |
20:36:24 | memoryhole | yes I forked it and changed the version and looks fine, ok we can follow up in github. I'll submit a PR. |
20:37:04 | FromGitter | <bung87> thank you! |
20:37:58 | * | xet7 joined #nim |
20:38:28 | * | bung quit (Ping timeout: 256 seconds) |
20:39:37 | * | vsantana joined #nim |
20:40:55 | * | bung_ joined #nim |
20:44:46 | * | sagax quit (Excess Flood) |
20:45:17 | * | bung_ quit (Ping timeout: 244 seconds) |
20:49:10 | * | bung_ joined #nim |
20:58:12 | * | bung_ quit (Ping timeout: 244 seconds) |
21:02:07 | * | maier quit (Quit: leaving) |
21:04:01 | * | bung_ joined #nim |
21:10:11 | * | vsantana left #nim (#nim) |
21:10:28 | * | bung_ quit (Ping timeout: 246 seconds) |
21:14:37 | * | bung_ joined #nim |
21:18:25 | * | marnix__ quit (Ping timeout: 265 seconds) |
21:21:27 | * | tane quit (Quit: Leaving) |
21:26:17 | * | BlameTheRoomba joined #nim |
21:28:44 | FromGitter | <ynfle> Why is nim-gdb not in path with choosenim? |
21:31:16 | * | audiophile_ joined #nim |
21:34:26 | * | BlameTheRoomba quit (Ping timeout: 264 seconds) |
21:34:27 | * | audiophile_ is now known as BlameTheRoomba |
21:41:34 | * | solitudesf quit (Ping timeout: 240 seconds) |
22:10:25 | * | vr0n quit (Ping timeout: 264 seconds) |
22:11:41 | * | chemist69 quit (Ping timeout: 272 seconds) |
22:12:05 | * | chemist69 joined #nim |
22:14:18 | * | memoryhole quit (Remote host closed the connection) |
22:18:02 | * | thomasross joined #nim |
22:19:21 | * | endragor joined #nim |
22:24:06 | * | endragor quit (Ping timeout: 256 seconds) |
22:24:54 | * | pietroppeter quit (Quit: Connection closed for inactivity) |
22:29:37 | FromGitter | <ynfle> Is there a way to debug nimvm at compile time? I want to see that call stack of a macro expansion |
22:30:01 | * | B4s1l3 is now known as opDispatch |
22:32:43 | * | BlameTheRoomba quit (Ping timeout: 246 seconds) |
22:37:41 | FromGitter | <bung87> `--expandMacro` flag ? |
22:48:14 | * | axion joined #nim |
22:48:35 | * | axion quit (Client Quit) |
22:49:05 | * | axion joined #nim |
22:52:56 | bung_ | memoryhole merge for now ? |
23:01:56 | * | vr0n joined #nim |
23:04:14 | * | Cthalupa quit (Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in) |
23:09:57 | * | vr0n quit (Ping timeout: 272 seconds) |
23:12:42 | * | Cthalupa joined #nim |
23:16:15 | FromGitter | <ynfle> `--expandMacro` Doesn't show me *how* the macro is evaluated |
23:22:05 | * | axion quit (Ping timeout: 246 seconds) |
23:22:13 | FromGitter | <bung87> dont know now, guess you can throw an error it will print stack trace right? |
23:34:01 | * | krux02_ joined #nim |
23:36:07 | * | krux02 quit (Ping timeout: 240 seconds) |
23:36:08 | FromDiscord | <Technisha Circuit> Uh... Guess what stupid thing i said i will do :P |
23:36:47 | FromDiscord | <KingDarBoja> Your own tank game? |
23:36:58 | FromDiscord | <KingDarBoja> World of Tanks Blitz(?) |
23:37:00 | FromDiscord | <Technisha Circuit> I'm now gonna make it so a .nims file will look exactly like a json file :P |
23:37:31 | FromDiscord | <Technisha Circuit> This is definitely possible with Nim's power, right? |
23:39:30 | FromDiscord | <KingDarBoja> Yes I think |
23:40:06 | FromDiscord | <KingDarBoja> Well I don't know but probably |
23:40:20 | FromDiscord | <Technisha Circuit> Yeah, that's what i think too :P |
23:51:28 | * | krux02_ quit (Remote host closed the connection) |