00:06:03 | FromDiscord | <Nerdie> well |
00:06:06 | FromDiscord | <Nerdie> now i know my issue |
00:06:15 | FromDiscord | <Nerdie> i can't make a 32bit dll with 64 bit mingw |
00:06:31 | FromDiscord | <Nerdie> where can i get 32 bit mingw and how do i use it instead of the 64 bit one |
00:09:57 | FromGitter | <awr1> @Nerdie there are 32-bit versions of mingw here https://nim-lang.org/install_windows.html |
00:10:21 | FromDiscord | <Nerdie> thank youuuu |
00:12:41 | FromGitter | <awr1> use `--cpu:i386` in nim |
00:15:10 | FromGitter | <awr1> this could theoretically be slightly easier if we used `zig cc` but idk what happened to that backend |
00:18:18 | FromDiscord | <Rika> you can still use it, just have to fuck a bit with --cc:clang and stuff |
00:21:39 | * | sagax quit (Ping timeout: 264 seconds) |
00:22:05 | * | kaputse[m] quit (Ping timeout: 268 seconds) |
00:22:05 | * | oswin[m] quit (Ping timeout: 268 seconds) |
00:22:05 | * | Yardanico[m] quit (Ping timeout: 268 seconds) |
00:23:50 | * | Yardanico[m] joined #nim |
00:24:40 | * | oswin[m] joined #nim |
00:24:49 | * | kaputse[m] joined #nim |
00:27:48 | FromDiscord | <Nerdie> well |
00:27:51 | FromDiscord | <Nerdie> it doesn't work |
00:28:04 | FromDiscord | <Nerdie> i have both 64 and 32 bit nim |
00:28:20 | FromDiscord | <Nerdie> i tried modifying my 64 bit's cfg file |
00:28:43 | FromDiscord | <Nerdie> added this `gcc32.path = r"C:\Program Files\nim-1.4.4_x32\dist\mingw32\bin"` |
00:28:55 | FromDiscord | <Nerdie> https://nerdie.is-part-of-the.lgbt/ |
00:29:11 | FromDiscord | <Nerdie> doesn't let me choose gcc32 |
00:34:19 | FromDiscord | <Nerdie> i have made the dll work |
00:34:21 | FromDiscord | <Nerdie> but |
00:34:25 | FromDiscord | <Nerdie> i can't make it 32bit |
00:34:30 | FromDiscord | <Nerdie> so no injecting into csgo |
00:40:23 | FromDiscord | <ElegantBeef> Did you see this? https://www.reddit.com/r/nim/comments/hkrpxm/32_bit_dll_in_nim/ |
00:42:37 | FromDiscord | <Nerdie> oh |
00:42:37 | FromDiscord | <Nerdie> crap |
00:42:40 | FromDiscord | <Nerdie> t h a n k |
00:47:04 | * | wasted_youth2 joined #nim |
00:47:38 | FromDiscord | <Rika> what's the pragma for checked exceptions again? |
00:49:36 | FromDiscord | <Yjuq> I'm not sure if I understand bitfields correct. Do I just put them together in `{Bit1, Bit2, Bit3}` in order to `or` them together? |
00:49:55 | FromDiscord | <exelotl> yep! |
00:49:58 | FromDiscord | <Yjuq> Ah, I see |
00:50:07 | FromDiscord | <Yjuq> I'm used to add them or either or them |
00:50:10 | FromDiscord | <Yjuq> x) |
00:50:21 | FromDiscord | <Yjuq> Why is this a thing in nim? What is the reasoning |
00:50:38 | FromDiscord | <Rika> because its more conceptually consistent to our mental models |
00:50:40 | FromDiscord | <Rika> is it not? |
00:51:25 | FromDiscord | <Rika> ALTHOUGH sets being bitfields is an implementation detail i believe... |
00:51:43 | FromDiscord | <Rika> aka "treat it as a coincidence" or such |
00:51:55 | FromDiscord | <exelotl> oh well if that changes I'm screwed lol |
00:52:15 | FromDiscord | <Rika> well i believe it wont change for nim's base compiler (of course) |
00:52:37 | FromDiscord | <Rika> but dont expect it to be the same for other implementations of the nim compiler, if any ever pop up |
00:53:07 | FromDiscord | <Rika> (and even then they would most probably follow the ref. compiler, but its not a guarantee...) |
00:53:33 | FromDiscord | <Rika> let me check again if it really is just an implementation detail tho |
00:53:42 | FromDiscord | <ElegantBeef> Nah sets being bitfields is totally expected |
00:53:48 | FromDiscord | <ElegantBeef> They're after all the same thing |
00:53:57 | FromDiscord | <ElegantBeef> Cause it's a bitset |
00:54:16 | FromDiscord | <exelotl> sent a code paste, see https://play.nim-lang.org/#ix=2QKN |
00:54:22 | FromDiscord | <exelotl> (edit) "https://play.nim-lang.org/#ix=2QKN" => "https://play.nim-lang.org/#ix=2QKO" |
00:54:24 | FromDiscord | <Rika> yes i mean that if someone were to implement nim again, sets being a bitset is not a requirement of the spec... i think |
00:54:36 | FromDiscord | <Yjuq> anyways, i have troubles using the opengl procedure `glClear` with the bitfields. I got type mismatches all over the place |
00:54:44 | FromDiscord | <ElegantBeef> Well idk how else you'd do it 😄 |
00:54:45 | FromDiscord | <Yjuq> I'm using the NimGL library |
00:54:52 | FromDiscord | <ElegantBeef> What's the proc siganture? |
00:55:00 | FromDiscord | <Nerdie> how can i get key events w/ nim? |
00:55:22 | FromDiscord | <Yjuq> sent a code paste, see https://play.nim-lang.org/#ix=2QKP |
00:55:39 | FromDiscord | <Yjuq> sent a code paste, see https://play.nim-lang.org/#ix=2QKQ |
00:55:41 | FromDiscord | <Yjuq> I'm way to confused |
00:55:49 | FromDiscord | <exelotl> @Yjuq bitwise OR also exists in Nim, so you can do `FLAG_1 or FLAG_2 or FLAG_3` |
00:56:00 | FromDiscord | <ElegantBeef> Ah cause it's a non idiomatic Nim wrapper you have to do the bitwise ops like exelotl pointed out |
00:56:53 | FromDiscord | <ElegantBeef> Welcome to C interop, where it's just C with a different syntax 😛 |
00:57:05 | FromDiscord | <Nerdie> man |
00:57:07 | FromDiscord | <Nerdie> nim is hard |
00:57:08 | FromDiscord | <Rika> In reply to @Rika "what's the pragma for": someone pls help xd |
00:57:10 | FromDiscord | <exelotl> yep, if you're doing bitfields in your own project it's better to use sets, but a lot of wrappers are done in this way instead :( |
00:57:10 | FromDiscord | <Nerdie> but its easy |
00:57:33 | FromDiscord | <ElegantBeef> I mean most of us dont use windows so we cannot help you, but winnim probably has the how to somewhere |
00:57:58 | FromDiscord | <Yjuq> usually i would just add or or them together |
00:57:59 | FromDiscord | <ElegantBeef> Sorry `winim` 😄 |
00:58:06 | FromDiscord | <Yjuq> but this looks like it doesn't work either |
00:58:10 | FromDiscord | <Rika> are you winim son |
00:58:17 | FromDiscord | <ElegantBeef> What's the error? |
00:58:37 | FromDiscord | <ElegantBeef> You might have to convert to uint32 or them then convert to the GlbitField |
00:58:54 | FromDiscord | <exelotl> oh yeah it's a distinct type 😠 |
00:59:22 | FromDiscord | <Yjuq> Oh i see... "or" is the bitor operation in nim. I thought it would be a standard "|" and or for logical stuff? |
00:59:23 | FromDiscord | <ElegantBeef> Reasons i dont like using generated wrappers 101 😛 |
00:59:32 | FromDiscord | <ElegantBeef> Well you can `import bitops` |
00:59:43 | FromDiscord | <ElegantBeef> though with a distinct 0 clue if it'll work properly |
00:59:50 | FromDiscord | <ElegantBeef> with bitops you get `bitOr` |
01:00:39 | FromDiscord | <Yjuq> what does borrow mean? |
01:00:40 | FromDiscord | <Yjuq> sent a code paste, see https://paste.rs/HUH |
01:00:44 | FromDiscord | <ElegantBeef> It takes from the base type |
01:00:52 | FromDiscord | <Rika> fuck you and your quick typiung |
01:00:54 | FromDiscord | <Rika> (edit) "typiung" => "typing" |
01:01:02 | FromDiscord | <ElegantBeef> since it's a distinct it takes the `uint32.or` |
01:01:10 | FromDiscord | <Yjuq> Ah |
01:01:16 | FromDiscord | <Yjuq> and this is defined as? x) |
01:01:19 | FromDiscord | <Yjuq> god damnit |
01:01:19 | FromDiscord | <ElegantBeef> No problem rika, i can teach you to type faster, you only use two fingers with your right hand |
01:01:41 | FromDiscord | <Rika> are you on a phone or something? |
01:01:45 | FromDiscord | <ElegantBeef> Me? |
01:02:09 | FromDiscord | <ElegantBeef> Nah i just only use two fingers on my right hand to type on the right side of my keyboard |
01:02:28 | FromDiscord | <ElegantBeef> It's weird, but i cannot unlearn this behaviour |
01:02:31 | FromDiscord | <ElegantBeef> I'm too fargone |
01:02:50 | FromDiscord | <Yjuq> I mean,... I personally have a keyboard down to me feets as well x) |
01:02:53 | * | superbia1 joined #nim |
01:03:01 | FromDiscord | <Yjuq> If my hands are busy doing other things |
01:03:30 | FromDiscord | <ElegantBeef> Cannot tell if you're serious or not |
01:03:41 | FromDiscord | <Yjuq> This is sadly serious |
01:03:52 | FromDiscord | <Nerdie> what even |
01:05:00 | FromDiscord | <exelotl> I use my nose to gain a few extra wpm |
01:05:01 | FromDiscord | <Yjuq> I got used to it. It's a habit from my hardcore gaming times |
01:05:16 | FromDiscord | <Yjuq> I got used to play this way 2 characters in online games at the same time |
01:05:22 | FromDiscord | <Yjuq> x) |
01:05:46 | FromDiscord | <ElegantBeef> I was being serious and now i'm being mocked, this is why i dont open up! 😛 |
01:05:55 | FromDiscord | <exelotl> that's pretty impressive lol |
01:05:57 | * | superbia quit (Ping timeout: 264 seconds) |
01:06:00 | FromDiscord | <Yjuq> nobody is mocking you |
01:06:00 | FromDiscord | <Rika> man what |
01:06:13 | FromDiscord | <Yjuq> i'm just sharing as well |
01:06:18 | FromDiscord | <Yjuq> I like to talk :D |
01:06:33 | FromDiscord | <ElegantBeef> ~~As always my insincere comedy marked with an emoji passed enemy radar~~ |
01:06:34 | FromDiscord | <Nerdie> talking is fun |
01:09:33 | FromDiscord | <Yjuq> You have strange games my friend. i never heard of this game "python" before that you are playing since 2 hours now |
01:09:42 | FromDiscord | <Yjuq> Oh, almost 3 hours |
01:10:03 | FromDiscord | <ElegantBeef> Making a selfbot... interesting |
01:11:29 | FromDiscord | <Nerdie> nope |
01:11:31 | FromDiscord | <Nerdie> no selfbots here |
01:11:36 | FromDiscord | <Nerdie> forgot to disable fucking rpc |
01:11:45 | FromDiscord | <Rika> sorry reported xddd |
01:11:48 | FromDiscord | <Nerdie> bruh |
01:11:52 | FromDiscord | <Rika> im joking |
01:12:02 | FromDiscord | <ElegantBeef> I think Rika knows a furry or two so one might be a discord admin 😛 |
01:12:10 | FromDiscord | <Nerdie> dude |
01:12:13 | FromDiscord | <Rika> i know no furries |
01:12:14 | FromDiscord | <Nerdie> idfk why i can't just |
01:12:18 | FromDiscord | <Nerdie> post a pink embed without a selfbot |
01:12:25 | FromDiscord | <Rika> weebs are basically rivals with furries |
01:12:30 | FromDiscord | <Yjuq> No furries? In which kind of world are you living? |
01:12:30 | FromDiscord | <ElegantBeef> Cause discord is shite |
01:12:34 | FromDiscord | <Nerdie> i had to make a bypass for fucking dyno just so i can post pink embeds anywhere |
01:12:52 | FromDiscord | <Rika> In reply to @Yjuq "No furries? In which": i mean more of i am not friends with one |
01:13:08 | FromDiscord | <Nerdie> imagine furry and not femboy |
01:13:33 | FromDiscord | <ElegantBeef> So uh, that Nim huh? |
01:13:49 | FromDiscord | <Yjuq> smooth attempt, but already to late |
01:13:58 | FromDiscord | <Yjuq> Nerdie hooked me now in this topic |
01:14:47 | FromDiscord | <Rika> nim? yeah nim is nice |
01:14:48 | FromDiscord | <Nerdie> i was only talking about selfbots |
01:14:51 | FromDiscord | <Nerdie> nim hits p100 |
01:14:55 | FromDiscord | <Nerdie> https://github.com/NurdAlert/NimDLL |
01:15:00 | FromDiscord | <Rika> p hundred? |
01:15:04 | FromDiscord | <Nerdie> i modified @Recruit_main707's source |
01:15:08 | FromDiscord | <Nerdie> to make it uh |
01:15:09 | FromDiscord | <Nerdie> fucking work |
01:15:16 | FromDiscord | <Yjuq> Eh, go back to the furry and femboy topic. I'm highly interested :( |
01:15:29 | FromDiscord | <Rika> what furry and femboy topic |
01:15:31 | FromDiscord | <Nerdie> furries = bad↵femboys = good |
01:15:32 | FromDiscord | <Nerdie> there |
01:15:35 | FromDiscord | <Rika> lol |
01:16:08 | FromDiscord | <Nerdie> ⠀ |
01:16:16 | FromDiscord | <Nerdie> sent a code paste, see https://play.nim-lang.org/#ix=2QKW |
01:16:22 | FromDiscord | <Rika> sorry reported |
01:16:25 | FromDiscord | <Nerdie> mannn |
01:16:31 | FromDiscord | <Nerdie> :pepejail: |
01:16:40 | FromDiscord | <Rika> srsly tho be careful |
01:16:44 | FromDiscord | <Nerdie> yeahhh |
01:16:50 | FromDiscord | <Nerdie> it only does embeds |
01:17:00 | FromDiscord | <Nerdie> i really like using the fix code highlighting in a pink embed |
01:17:02 | FromDiscord | <Rika> thats already enough to get banned |
01:17:04 | FromDiscord | <Nerdie> it looks so nice |
01:17:05 | FromDiscord | <Nerdie> really? |
01:17:10 | FromDiscord | <Rika> yes |
01:17:18 | FromDiscord | <Nerdie> what the fuck discord |
01:17:31 | FromDiscord | <Nerdie> someone can spam me with porn that's of underage people but i can't post a pink embed |
01:17:39 | FromDiscord | <Nerdie> fuck discord |
01:17:45 | FromDiscord | <Rika> xd |
01:17:58 | FromDiscord | <Nerdie> like whats wrong with selfbotting |
01:18:00 | FromDiscord | <Nerdie> just don't like |
01:18:02 | FromDiscord | <Nerdie> spam shit |
01:18:12 | FromDiscord | <ElegantBeef> Dont use discord, problem solved |
01:18:16 | FromDiscord | <Rika> its using unintended features, and discord doesnt want that |
01:18:23 | FromDiscord | <ElegantBeef> Go become a matrix evangelist |
01:18:26 | FromDiscord | <Rika> theyve the right to ban you for anything really |
01:18:34 | FromDiscord | <Rika> they dont because thatll cause backlash |
01:19:05 | FromDiscord | <Rika> but most people think its reasonable for discord to ban you if you break their rules (if the rule is reasonable) |
01:19:31 | FromDiscord | <ElegantBeef> Well that's the general consensus for any privately owned platform |
01:19:32 | FromDiscord | <Rika> most people also dont care enough to report though |
01:19:51 | FromDiscord | <Rika> yeah im just explaining it |
01:21:38 | FromDiscord | <Yjuq> @Nerdie ↵https://support.discord.com/hc/en-us/articles/115002192352-Automated-user-accounts-self-bots- |
01:21:58 | FromDiscord | <Nerdie> wha |
01:22:00 | FromDiscord | <Nerdie> (edit) "wha" => "what" |
01:22:04 | FromDiscord | <Nerdie> i know they're not allowed lol |
01:22:21 | FromDiscord | <Nerdie> i just don't care |
01:22:43 | FromDiscord | <Yjuq> Just pointing it out :P - I don't mind what you do. I actually like that pink |
01:23:04 | FromDiscord | <Nerdie> ye |
01:23:08 | FromDiscord | <Nerdie> i've got like 4 accounts with nitro |
01:23:55 | FromGitter | <awr1> @Yjuq set[enum] internally works as bitfields. The reason of "why sets and not raw bitfields" is: ⏎ ⏎ 1) Type safety - distinct from standard integer types ⏎ 2) Being a distinct type, sets have their own procedures (which makes intent clearer), e.g. `incl`, `excl`, `in` etc. ⏎ 3) Cleaner syntax ... [https://gitter.im/nim-lang/Nim?at=6036fc2b004546620950cb53] |
01:24:20 | FromGitter | <awr1> Apologies for the multi-line, I forgot. |
01:24:35 | FromDiscord | <Nerdie> doesn't nim have imgui support lol |
01:24:50 | FromDiscord | <ElegantBeef> Yes you can get imgui bindings |
01:24:51 | FromGitter | <awr1> There are imgui bindings |
01:25:00 | FromDiscord | <Yjuq> In reply to @Nerdie "doesn't nim have imgui": they are in the NimGL package as well |
01:25:31 | FromDiscord | <Nerdie> oh yeah |
01:25:36 | FromDiscord | <Nerdie> i can get that using nimble right? |
01:26:12 | FromDiscord | <Yjuq> yes |
01:26:19 | FromDiscord | <Yjuq> nimble install NimGL |
01:26:24 | FromDiscord | <Nerdie> pog |
01:29:32 | FromGitter | <Yjuq> The IRC looks pretty full as well huh - 995 people |
01:39:03 | * | njoseph quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
01:39:21 | * | njoseph joined #nim |
01:45:50 | * | abm quit (Read error: Connection reset by peer) |
01:49:11 | FromDiscord | <Nerdie> https://github.com/nimgl/nimgl |
01:49:22 | FromDiscord | <Nerdie> can i do everything that c++ imgui can w/ this lol |
01:52:59 | FromDiscord | <Rika> depends on if its updated or not |
01:53:22 | FromDiscord | <Nerdie> 7 days ago |
01:53:27 | FromDiscord | <Nerdie> 5 |
01:53:38 | FromDiscord | <Rika> i mean updated for newest imgui |
01:54:33 | FromDiscord | <Nerdie> well yeah |
01:54:40 | asdflkj_ | Yjuq: so it looks like ~995 people like to chat without a using a client that takes 1_000–10_000 times as much RAM as the Apollo Guidance Computer (or risk getting banned from Discord, or maybe use a Matrix/Gitter client that probably can't implement the full spec including the widgets proposal, etc.) |
01:54:43 | FromDiscord | <Nerdie> i wanna make a csgo cheat with csgo and imgui seems to be the way to make a menu lol |
01:55:09 | FromDiscord | <ElegantBeef> asdflkj tell me how you really feel |
01:55:13 | FromDiscord | <Nerdie> man |
01:55:15 | FromDiscord | <Nerdie> discord sucks |
01:56:20 | asdflkj_ | I used to use Discord, I'm grateful that it taught me markdown, but I don't regret leaving |
01:56:53 | FromDiscord | <ElegantBeef> without matrix supporting channeled voip i cannot reasonably suggest it to any of my friends... so here i am 😄 |
01:57:08 | FromDiscord | <Rika> all my homies use discord xddd |
01:57:11 | FromDiscord | <Nerdie> ^^^ |
01:57:33 | FromDiscord | <Rika> got no choice yo unless i want to have no friends |
01:57:38 | FromDiscord | <Nerdie> it's really easy to find communities on discord aswell |
01:57:47 | FromDiscord | <Nerdie> there is a discord for everything(( |
01:57:48 | FromDiscord | <Nerdie> (edit) "everything((" => "everything" |
01:57:52 | FromDiscord | <ElegantBeef> Well element makes it easy to find communities aswell |
01:58:01 | FromDiscord | <ElegantBeef> It has an intergrated matrix search |
01:58:02 | asdflkj_ | there's mumble for voip |
01:58:14 | FromDiscord | <ElegantBeef> Ah yes seperate applications |
01:58:19 | FromDiscord | <ElegantBeef> Just what all my friends want! |
01:58:57 | asdflkj_ | I have lost contact with friends leaving discord but quality > quantity |
01:59:53 | FromDiscord | <ElegantBeef> I mean these are my friends that i went to highschool with, not like i'm going to abandon them over the merits of shitty software |
02:00:35 | FromDiscord | <Nerdie> man |
02:00:38 | FromDiscord | <Nerdie> i wanna make a discord hack |
02:00:42 | FromDiscord | <Nerdie> inject something into discord |
02:00:45 | FromDiscord | <Nerdie> fuck with it |
02:01:43 | FromDiscord | <ElegantBeef> Dude it's html + css injection is just playing with the DOM |
02:02:00 | FromDiscord | <Nerdie> wel |
02:02:01 | FromDiscord | <Nerdie> (edit) "wel" => "well" |
02:02:02 | FromDiscord | <Nerdie> true |
02:02:10 | FromDiscord | <Nerdie> man |
02:02:11 | FromDiscord | <Nerdie> https://nerdie.is-part-of-the.lgbt/ |
02:02:19 | FromDiscord | <Nerdie> 1440p at 240hz is so nice |
02:03:37 | FromDiscord | <Rika> im not rich enough to buy a 1440p 240hz monitor so i only have a 1440p 144hz one, though a really good one |
02:04:20 | FromDiscord | <ElegantBeef> I've got to 1080p 60hz 😄 |
02:04:22 | FromDiscord | <ElegantBeef> (edit) "to" => "two" |
02:04:38 | FromDiscord | <ElegantBeef> So that's like 1/2 4k 120 hz right? 😛 |
02:04:51 | FromDiscord | <Nerdie> In reply to @Rika "im not rich enough": i could've gotten a 1440p, 300hz lol |
02:04:57 | FromDiscord | <Nerdie> on a laptop |
02:05:13 | FromDiscord | <Rika> i mean i dont play games too often anymore so i dont know why i still went with a 144hz monitor |
02:05:27 | FromDiscord | <Rika> ig the games i do play sometimes are very sensitive to refresh rate anyway |
02:06:04 | FromDiscord | <Nerdie> i just think it looks nice |
02:06:08 | FromDiscord | <Nerdie> much easier on the eyes lol |
02:11:59 | * | vicfred quit (Quit: Leaving) |
02:21:56 | * | asdflkj_ quit (Ping timeout: 240 seconds) |
02:43:31 | * | Tanger joined #nim |
02:46:18 | * | Tanger quit (Client Quit) |
02:48:15 | * | Tanger joined #nim |
03:13:04 | FromDiscord | <Nerdie> stupid question but |
03:13:13 | FromDiscord | <Nerdie> can i import .nim files as if they were modules |
03:13:18 | FromDiscord | <Nerdie> like in python where you make a python file w/ functions |
03:13:21 | FromDiscord | <Nerdie> then import it into a main file |
03:13:31 | FromDiscord | <Nerdie> and if so how can i pack it all into a dll |
03:15:37 | FromDiscord | <Rika> uh all imports are just nim files |
03:15:41 | FromDiscord | <Rika> wdym |
03:15:51 | FromDiscord | <Rika> do you mean include? |
03:16:41 | FromDiscord | <Nerdie> well |
03:16:42 | FromDiscord | <Nerdie> like |
03:16:46 | FromDiscord | <Nerdie> i have a folder |
03:16:51 | FromDiscord | <Nerdie> w/ a main and then like |
03:16:54 | FromDiscord | <Nerdie> another file w/ procs |
03:17:01 | FromDiscord | <Nerdie> can i import the other file w/ the procs |
03:17:02 | FromDiscord | <ElegantBeef> In nim you have to export anything you want to access with `` |
03:17:03 | FromDiscord | <Nerdie> and use them in the main |
03:17:05 | FromDiscord | <ElegantBeef> Yes you can |
03:17:07 | FromDiscord | <Nerdie> oh |
03:17:09 | FromDiscord | <Nerdie> just like |
03:17:12 | FromDiscord | <ElegantBeef> `proc a = discard` |
03:17:14 | FromDiscord | <Nerdie> import file_with_procs? |
03:17:21 | FromDiscord | <ElegantBeef> `import modulename` |
03:17:31 | FromDiscord | <Nerdie> shit |
03:17:34 | FromDiscord | <Nerdie> cool |
03:17:38 | FromDiscord | <ElegantBeef> then anything exported can be access from that main file |
03:17:39 | FromDiscord | <Nerdie> when i compile it |
03:17:44 | FromDiscord | <Nerdie> (edit) "when i compile it ... " added "into my dll" |
03:17:50 | FromDiscord | <Nerdie> will it include it |
03:18:00 | FromDiscord | <ElegantBeef> I mean do you have access to anything else you've imported? |
03:18:05 | FromDiscord | <ElegantBeef> IE system and the like |
03:18:08 | FromDiscord | <Nerdie> like |
03:18:13 | FromDiscord | <ElegantBeef> The answer is yes |
03:18:25 | FromDiscord | <Nerdie> https://nerdie.is-part-of-the.lgbt/ |
03:18:28 | FromDiscord | <Nerdie> i have this |
03:18:28 | FromDiscord | <ElegantBeef> If it didnt emit C code it'd be pointless |
03:18:35 | FromDiscord | <Nerdie> i import offsets in main |
03:18:35 | FromDiscord | <ElegantBeef> Read the tutorial |
03:18:38 | FromDiscord | <Rika> its included, but if you mean included as in accessible by external programs, you have to exportc them |
03:18:40 | FromDiscord | <ElegantBeef> I highly suggest reading the tutorial |
03:18:43 | FromDiscord | <Nerdie> i am lol |
03:18:51 | FromDiscord | <Nerdie> i'm just asking |
03:18:53 | FromDiscord | <ElegantBeef> https://nim-lang.org/docs/tut1.html#modules |
03:21:46 | * | wasted_youth2 quit (Quit: Leaving) |
03:32:23 | * | muffindrake quit (Ping timeout: 260 seconds) |
03:33:48 | * | muffindrake joined #nim |
03:40:04 | FromDiscord | <Rika> how do i securely wipe a string from memory? |
03:42:06 | FromDiscord | <Nerdie> you wash it with water |
03:48:43 | FromDiscord | <juan_carlos> zeroMem ?. |
03:49:43 | FromDiscord | <Rika> thats guaranteed to zero the memory? okay |
03:50:03 | FromDiscord | <flywind> or `setLen(0)` I guess |
03:50:20 | FromDiscord | <ElegantBeef> Does set len change the capacity? |
03:50:30 | FromDiscord | <ElegantBeef> I always forget 😄 |
03:50:42 | FromDiscord | <flywind> I misread |
03:51:03 | FromDiscord | <ElegantBeef> Hey you can do that, that's my thing |
03:51:16 | FromDiscord | <Rika> "can" lol |
03:51:23 | FromDiscord | <flywind> s.setLen(0) + s.setLen(originalLen) |
03:51:28 | FromDiscord | <ElegantBeef> Lol |
03:51:31 | FromDiscord | <ElegantBeef> I cannot write |
03:52:30 | FromDiscord | <Nerdie> h |
03:52:31 | FromDiscord | <Nerdie> m |
03:52:48 | leorize[m] | @Rika you need to bind `explicit_bzero` |
03:52:57 | FromDiscord | <Nerdie> https://github.com/frk1/hazedumper |
03:53:01 | FromDiscord | <Nerdie> are there any ways i can just |
03:53:06 | FromDiscord | <Nerdie> haha copy paste into a .nim and be done with it |
03:53:06 | leorize[m] | all other methods might be optimized away by the compiler |
03:53:17 | FromDiscord | <Rika> okay |
03:53:19 | FromDiscord | <Nerdie> i wanna have csgo offsets |
03:53:38 | FromDiscord | <Rika> or i can use those provided by crypto libs right? |
03:55:25 | leorize[m] | @Rika yea |
03:55:32 | FromDiscord | <Rika> okay thanks |
03:55:44 | FromDiscord | <Rika> also yardanico the bot doesnt seem to be pinging properly |
03:56:24 | * | vicfred joined #nim |
04:03:06 | * | blackpawn quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) |
04:04:52 | * | blackpawn joined #nim |
04:15:31 | * | rockcavera quit (Remote host closed the connection) |
04:31:36 | * | spiderstew_ joined #nim |
04:33:48 | * | spiderstew quit (Ping timeout: 260 seconds) |
05:10:41 | * | njoseph quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
05:10:48 | * | njoseph joined #nim |
05:57:09 | * | haxscramper joined #nim |
05:59:01 | * | letto quit (Quit: Konversation terminated!) |
06:02:31 | * | letto joined #nim |
06:11:38 | * | waleee-cl quit (Quit: Connection closed for inactivity) |
06:12:18 | * | superbia1 is now known as superbia |
06:28:58 | * | narimiran joined #nim |
06:37:14 | * | phpostrich joined #nim |
06:38:13 | phpostrich | What's a good ide for nim? |
06:41:17 | phpostrich | I couldn't get NimEdit to work. I really like the language and want to get into it but I am not having much luck with ide plugins and whatnot. |
06:42:28 | FromDiscord | <ElegantBeef> The number one editor used is vscode |
06:42:38 | FromDiscord | <ElegantBeef> Jetbrains has a nim extension |
06:42:45 | FromDiscord | <ElegantBeef> Then finally you have emacs/vim |
06:43:23 | FromDiscord | <Nerdie> i've found the vscode nim |
06:43:29 | FromDiscord | <Nerdie> extension to be really good |
06:43:40 | phpostrich | Ye its straight |
06:43:50 | FromDiscord | <Nerdie> like |
06:43:54 | FromDiscord | <Nerdie> i get most auto completion |
06:43:54 | Prestige | I thought the JetBrains IDE for Nim wasn't great? |
06:43:59 | FromDiscord | <Nerdie> even get basic docstrings |
06:44:21 | FromDiscord | <ElegantBeef> I was going through the list of accessibillity |
06:44:37 | FromDiscord | <Rika> wdym accessibility |
06:44:55 | phpostrich | yeah, pop quiz. wtf does this mean "usr/lib/nim/system.nim(42, 3) Error: implementation of 'ptr' expected |
06:44:56 | FromDiscord | <ElegantBeef> As in what are the most easily to use |
06:44:57 | phpostrich | " |
06:45:10 | Prestige | Makes sense |
06:45:17 | FromDiscord | <Rika> your install is fucked prolly |
06:45:21 | FromDiscord | <ElegantBeef> ^ |
06:45:40 | FromDiscord | <Nerdie> In reply to @phpostrich "yeah, pop quiz. wtf": pointer |
06:46:08 | phpostrich | yeah ik what it stands for but how do i fix it |
06:46:09 | FromDiscord | <Nerdie> you're clearly referencing a null pointer |
06:46:27 | FromDiscord | <ElegantBeef> That's not a nil pointer exception |
06:46:32 | FromDiscord | <Nerdie> it clearly is |
06:46:34 | phpostrich | im not trying to compile and run my own sh** |
06:46:41 | phpostrich | NimEdit |
06:46:46 | phpostrich | im trying to run it |
06:46:51 | phpostrich | but no luck :< |
06:46:53 | FromDiscord | <ElegantBeef> !eval var a: ptr int; echo a[] |
06:46:55 | NimBot | Traceback (most recent call last)↵/usercode/in.nim(1) in↵SIGSEGV: Illegal storage access. (Attempt to read from nil?) |
06:47:03 | FromDiscord | <ElegantBeef> That's a nill pointer exception |
06:47:07 | FromDiscord | <Nerdie> no |
06:47:08 | FromDiscord | <Nerdie> its not |
06:47:10 | FromDiscord | <Nerdie> that means |
06:47:13 | FromDiscord | <Nerdie> your nim install |
06:47:14 | FromDiscord | <Nerdie> is wrong |
06:47:31 | FromDiscord | <Nerdie> sent a code paste, see https://play.nim-lang.org/#ix=2QMo |
06:47:32 | FromDiscord | <Nerdie> is it gonna |
06:47:35 | FromDiscord | <Nerdie> what is it doing |
06:47:38 | FromDiscord | <Rika> no |
06:47:38 | phpostrich | ive reinstalled three different operating systems trying to get that to work |
06:47:40 | FromDiscord | <Rika> it wont work |
06:47:41 | FromDiscord | <ElegantBeef> Nimedit is old deprecated software afaik |
06:47:43 | FromDiscord | <Nerdie> WHY |
06:47:44 | FromDiscord | <Rika> eval works on irc |
06:47:48 | FromDiscord | <Nerdie> bruh |
06:47:48 | FromDiscord | <Rika> irc has no line breaks |
06:47:50 | phpostrich | Three different linux one |
06:47:52 | FromDiscord | <Nerdie> oh |
06:47:53 | FromDiscord | <haxscramper> !eval echo "test" |
06:47:55 | NimBot | test |
06:47:57 | FromDiscord | <Nerdie> lol |
06:47:58 | FromDiscord | <haxscramper> Only for single-line messages |
06:48:01 | FromDiscord | <Nerdie> oh |
06:48:04 | FromDiscord | <Nerdie> thats stupid |
06:48:07 | FromDiscord | <Rika> use play.nim-lang.org |
06:48:08 | FromDiscord | <Nerdie> why not have a bot that evals |
06:48:09 | FromDiscord | <haxscramper> t |
06:48:10 | FromDiscord | <Nerdie> yeah ik |
06:48:12 | FromDiscord | <Nerdie> but discord |
06:48:18 | FromDiscord | <haxscramper> https://play.nim-lang.org/ |
06:48:19 | FromDiscord | <Rika> because most people dont use discord |
06:48:21 | FromDiscord | <ElegantBeef> Cause the bot is on the irc side |
06:48:30 | phpostrich | Does anyone run linux? |
06:48:34 | Prestige | I do |
06:48:34 | FromDiscord | <ElegantBeef> Yes i do |
06:48:39 | FromDiscord | <haxscramper> I do |
06:48:44 | FromDiscord | <Nerdie> eww |
06:48:45 | FromDiscord | <ElegantBeef> Most nim programmers do |
06:48:45 | phpostrich | Nim works alright for you? |
06:48:49 | FromDiscord | <ElegantBeef> Yea |
06:48:49 | FromDiscord | <Nerdie> linux |
06:48:50 | FromDiscord | <Nerdie> gaer |
06:48:51 | FromDiscord | <Rika> what is this, wedding vows? |
06:48:51 | FromDiscord | <Nerdie> (edit) "gaer" => "gae" |
06:48:54 | Prestige | Yep works great |
06:48:56 | phpostrich | Ive been having like so many problems |
06:49:08 | FromDiscord | <ElegantBeef> Did you use your package manager or install using choosenim? |
06:49:09 | FromDiscord | <Rika> nim's been running swell for me as well |
06:49:10 | Prestige | Rika: We're all married now |
06:49:12 | FromDiscord | <ElegantBeef> If the former, use choosenim |
06:49:13 | narimiran | phpostrich: `nim -v` ? |
06:49:29 | phpostrich | holup... |
06:49:34 | FromDiscord | <ElegantBeef> My money is that they have an outdated nim version 😄 |
06:49:41 | phpostrich | Nim Compiler Version 1.4.2 [Linux: amd64] |
06:49:47 | FromDiscord | <ElegantBeef> The fuck |
06:49:58 | phpostrich | isnt the newest like 1.4.4 |
06:50:05 | Prestige | maybe broken install? |
06:50:06 | FromDiscord | <Rika> thats one version off innit |
06:50:12 | FromDiscord | <Rika> its not much |
06:50:21 | narimiran | phpostrich: yeah, you're ok with 1.4.2, we thought you might be on 0.19 or sth like that |
06:50:40 | phpostrich | i just did "apt install nim" on a fresh install of debian buster |
06:50:51 | FromDiscord | <Nerdie> would i be able to make a nim ide in like c#? |
06:50:58 | FromDiscord | <Rika> oh how fun, i'm having concept issues |
06:51:01 | FromDiscord | <Rika> wonderful |
06:51:06 | FromDiscord | <ElegantBeef> New or old? |
06:51:06 | phpostrich | You can make an ide in anything |
06:51:11 | FromDiscord | <Rika> old concepts |
06:51:18 | FromDiscord | <Nerdie> In reply to @phpostrich "You can make an": batch |
06:51:19 | narimiran | @Rika using concepts. there's your issue. :P |
06:51:22 | FromDiscord | <Nerdie> (edit) "batch" => "batch" |
06:51:33 | FromDiscord | <Rika> what do you want me to do, concepts are such a nice... concept |
06:51:39 | narimiran | :) |
06:52:12 | phpostrich | I wanted to make a nim ide using dart/flutter. I might do that now ig. |
06:52:46 | Prestige | How about writing it in Nim? |
06:52:55 | FromDiscord | <Nerdie> hm |
06:52:58 | FromDiscord | <Nerdie> a nim ide |
06:53:03 | FromDiscord | <Nerdie> made in nim? |
06:53:07 | FromDiscord | <ElegantBeef> Radical idea |
06:53:08 | FromDiscord | <Nerdie> hey y |
06:53:17 | narimiran | how about giving saem and co. a hand and work on improving nimsuggest/vscode? |
06:53:22 | FromDiscord | <Nerdie> (edit) "y" => "y'all how would i like start my gui and shit w/ this?↵https://play.nim-lang.org/#ix=2QMq" |
06:53:34 | FromDiscord | <Nerdie> also still unable to make a 32 bit dll |
06:55:09 | FromDiscord | <Rika> `Error: cannot instantiate DiskCache, got: <typedesc[LruStrategy]>, but expected: <S: Strategy>` |
06:55:11 | FromDiscord | <Rika> maaaaaaan |
06:55:34 | FromDiscord | <Rika> `echo LruStrategy is Strategy` says `true` as well... no clue whats the issue |
06:55:40 | phpostrich | I just found out about nim last night. So I am going to leave this and maybe come back when my brain is bigger. Bye :) |
06:56:06 | FromDiscord | <Nerdie> goodbye |
06:56:55 | FromDiscord | <Nerdie> could anyone help me w/ my issue? |
07:03:38 | * | krux02 joined #nim |
07:15:10 | * | zedeus joined #nim |
07:27:55 | * | phpostrich quit (Remote host closed the connection) |
07:40:39 | * | phpostrich joined #nim |
07:56:03 | * | qwr quit (Ping timeout: 244 seconds) |
07:58:41 | * | phpostrich quit (Quit: phpostrich) |
08:00:38 | * | phpostrich joined #nim |
08:01:50 | * | krux02` joined #nim |
08:12:08 | * | phpostrich quit (Quit: phpostrich) |
08:16:39 | * | phpostrich joined #nim |
08:17:18 | FromDiscord | <flywind> can I open a file with `O_EXCL` flags like Python? |
08:17:27 | FromDiscord | <flywind> https://docs.python.org/3/library/functions.html#open |
08:17:51 | * | krux02` is now known as krux02_ |
08:22:14 | FromDiscord | <flywind> I don't want to use `fileExists` which is more likely to race. I want to open a file when the file already exists then the procs should error. |
08:24:28 | krux02_ | @flywind: doesn't look like it exists. |
08:25:04 | krux02_ | seems to me like a useful flag for file creation |
08:25:26 | FromDiscord | <flywind> I see, thanks |
08:26:04 | FromDiscord | <hamidb80> channels are removed? |
08:26:26 | FromDiscord | <ElegantBeef> Channels still exist |
08:27:05 | FromDiscord | <hamidb80> In reply to @ElegantBeef "Channels still exist": in which module? |
08:27:16 | FromDiscord | <ElegantBeef> `channels` |
08:27:38 | FromDiscord | <ElegantBeef> You dont import it directly though |
08:27:41 | FromDiscord | <ElegantBeef> as the docs mention |
08:28:18 | FromDiscord | <flywind> c11 begins to support exclusive file open |
08:28:19 | FromDiscord | <flywind> https://en.cppreference.com/w/c/io/fopen |
08:28:50 | FromDiscord | <flywind> > File access mode flag "x" can optionally be appended to "w" or "w+" specifiers. This flag forces the function to fail if the file exists, instead of overwriting it. (C11) |
08:29:27 | FromDiscord | <hamidb80> `undeclared identifier: 'Channel'` vscode says.↵but the code complies successfully! |
08:29:38 | FromDiscord | <hamidb80> (edit) "complies" => "compiles" |
08:29:47 | FromDiscord | <ElegantBeef> Well vscode doesnt know if you're compiling with the `--threads:on` |
08:30:05 | FromDiscord | <ElegantBeef> Make a config file and put it in their and vscode will be happy |
08:30:13 | FromDiscord | <ElegantBeef> (edit) "their" => "thetr" |
08:30:19 | FromDiscord | <ElegantBeef> Jesus i cannot hit keys |
08:38:35 | * | PMunch joined #nim |
08:39:34 | FromDiscord | <hamidb80> why using `channels` with `spawn` is a bad idea? |
08:46:46 | FromDiscord | <mratsim> ? |
08:46:56 | FromDiscord | <mratsim> what's the point of channels without spawn? |
08:48:43 | FromDiscord | <hamidb80> However, The Nim creator Andreas Rumpf said using Spawn/Channels is a bad idea and channels are meant to be used with Threads, So I tried to move it to threads↵↵https://xmonader.github.io/nim/2018/12/06/nim-good-ok-hard.html |
08:48:53 | FromDiscord | <hamidb80> (edit) "However," => ""However," | "threads↵↵https://xmonader.github.io/nim/2018/12/06/nim-good-ok-hard.html" => "threads"↵↵https://xmonader.github.io/nim/2018/12/06/nim-good-ok-hard.html" |
08:49:12 | FromDiscord | <hamidb80> (edit) ""However," => "> However," |
08:49:39 | FromDiscord | <hamidb80> (edit) "Spawn/Channels" => "`Spawn/Channels`" | "channels" => "`channels`" | "Threads," => "`Threads`," | "threads"↵↵https://xmonader.github.io/nim/2018/12/06/nim-good-ok-hard.html" => "`threads`"↵↵https://xmonader.github.io/nim/2018/12/06/nim-good-ok-hard.html" |
08:49:46 | FromDiscord | <hamidb80> (edit) "Andreas Rumpf" => "`Andreas Rumpf`" |
08:49:54 | FromDiscord | <hamidb80> (edit) "bad idea" => "bad idea" |
08:50:39 | FromDiscord | <mratsim> Ah I see. |
08:51:15 | FromDiscord | <hamidb80> so why it's a bad idea? |
08:52:11 | FromDiscord | <mratsim> no idea. In general I write my own threading and channels solutions 😉 |
08:52:25 | * | tane_ joined #nim |
09:15:17 | FromDiscord | <Nerdie> can someone tell me how they compile stuff to 32 bit? |
09:15:17 | FromDiscord | <Nerdie> i can't seem to get nim to do it |
09:15:17 | FromDiscord | <Nerdie> i have installed 32 bit nim |
09:15:20 | FromDiscord | <Nerdie> w/ the 32bit mingw |
09:15:24 | FromDiscord | <Nerdie> but it just yells at me |
09:16:57 | * | idf joined #nim |
09:17:45 | kaletaa | @Nerdie read the fucking manual |
09:17:49 | kaletaa | fithy windows user |
09:18:12 | FromDiscord | <Nerdie> i fucking did |
09:18:15 | FromDiscord | <Nerdie> it yells at me |
09:18:30 | FromDiscord | <Nerdie> it says the path provided doesn't exist |
09:18:47 | PMunch | What is the actual error? |
09:18:56 | PMunch | And kaletaa, don't be rude |
09:19:14 | kaletaa | the recent influx of new """friends""" is quite annoying |
09:19:25 | PMunch | Huh? |
09:20:40 | PMunch | @Nerdie, first of you can't run 32bit Nim on a 64bit machine |
09:20:49 | PMunch | So go ahead and install 64bit Nim |
09:21:00 | PMunch | And 64bit mingw |
09:21:07 | PMunch | Assuming you are on a 64bit machine |
09:22:45 | PMunch | Then you probably need something like `nim c --cpu:i386 --passC:"-m32" --passL:"-m32" --gcc.exe:"i686-w64-mingw32-gcc" --gcc.linkerexe:"i686-w64-mingw32-gcc" myfile.nim |
09:22:58 | PMunch | Of course you can put those into a nim.cfg file |
09:23:23 | PMunch | And put them behind a define conditional |
09:23:50 | PMunch | So you can just do something like `nim c -d:arch32 myfile.nim` |
09:26:08 | * | lbart quit (Ping timeout: 256 seconds) |
09:27:13 | krux02 | kaletaa, what do you mean with """friends""" |
09:27:33 | kaletaa | newfags but i said friends instead of fags because dom would rape me |
09:27:39 | kaletaa | whoops i said the word |
09:28:02 | FromDiscord | <Solitude> D: |
09:28:06 | kaletaa | D: |
09:28:41 | krux02 | kaletaa, you seem to miss the point that this chat is for newcomers. |
09:29:08 | krux02 | Don't get me wrong, I am not against insults, but I think insulting people for being new isn't helping anyone. |
09:29:37 | Clonkk[m] | Also missing the point that everybody was a beginner at some point. Gatekeeping a programming language is a ridiculous, ego-driven attitude that is counter productive. |
09:29:51 | krux02 | ^ yes |
09:30:28 | krux02 | also here are the people who write the documentation. I personally see this chat as a feedback loop if the documentation is good enugh. |
09:30:39 | krux02 | constant questions are probably handled badly in the documentation. |
09:31:17 | FromDiscord | <Solitude> documentation is never good enough, there will always be a person who just refuses to read |
09:31:58 | PMunch | But if there are a lot of questions about a certain topic that's an indicator that that part of the documentation might be worse than the rest |
09:31:58 | krux02 | Well you can give up right there, or try. |
09:32:09 | krux02 | PMunch, yes |
09:32:32 | FromDiscord | <Yardanico> @PMunch no matter how good documentation is there always will be people who ask a lot of questions |
09:33:01 | Clonkk[m] | It's easy to get lost in a sea of information you haven't processed yet |
09:33:04 | PMunch | And kaletaa, please behave. As the others have pointed out just insulting people for being new isn't okay. And try to not use such divisive language in the official Nim channels. |
09:33:28 | FromDiscord | <Yardanico> Because, as you might know, nowadays people prefer the "just search it" approach instead of reading proper documentation |
09:33:43 | FromDiscord | <Yardanico> But that method only works for popular languages |
09:33:52 | FromDiscord | <Solitude> In reply to @Yardanico "Because, as you might": people prefer "just ask in chat" approach |
09:34:08 | Clonkk[m] | <FromDiscord "<Solitude> In reply to @Yardanic"> And what's wrong with that ? |
09:34:26 | idf | I dont know how to read so i dont use documentation a lot |
09:34:35 | Clonkk[m] | Isn't that the whole point of open communication channel ? |
09:34:48 | FromDiscord | <Solitude> nothing, its just an indicator |
09:35:07 | FromDiscord | <Nerdie> well |
09:35:25 | FromDiscord | <Yardanico> @Clonkk yes that's true, but it would be better if people didn't ask a single question in 6 messages if you understand what I mean :) |
09:36:23 | FromDiscord | <Nerdie> well |
09:37:06 | FromDiscord | <Nerdie> damn |
09:37:22 | Clonkk[m] | <FromDiscord "<Yardanico> @Clonkk yes that's t"> I'm on a Matrix. I know exactly what you mean 😛. Every message edited in discord becomes a novel for me. But it's not always easy to ask question clearly in one go especially in real time chat |
09:37:26 | krux02 | I think it is fine to ask a question in 6 messages in a row. |
09:37:31 | Clonkk[m] | > <@freenode_FromDiscord:matrix.org> <Yardanico> @Clonkk yes that's true, but it would be better if people didn't ask a single question in 6 messages if you understand what I mean :) |
09:37:31 | Clonkk[m] | * I'm on Matrix/ Element. I know exactly what you mean 😛. Every message edited in discord becomes a novel for me. But it's not always easy to ask question clearly in one go especially in real time chat |
09:37:33 | FromDiscord | <Nerdie> sent a long message, see http://ix.io/2QN8 |
09:37:54 | FromDiscord | <Solitude> In reply to @Nerdie "`nim c --cpu:i386 --passC:"-m32"": your mingw is probably not in PATH |
09:38:06 | FromDiscord | <Solitude> or no, its |
09:38:08 | FromDiscord | <Solitude> (edit) "its" => "it is" |
09:38:09 | FromDiscord | <Nerdie> it is |
09:38:15 | FromDiscord | <Nerdie> cant see it there |
09:38:16 | FromDiscord | <Nerdie> but it's there |
09:38:30 | PMunch | Might it be called something else? |
09:38:36 | FromDiscord | <Nerdie> not sure |
09:38:42 | FromDiscord | <Nerdie> haven't changed anything abt my nim install |
09:38:47 | FromDiscord | <Solitude> is that file actually there? |
09:38:54 | krux02 | I am on IRC and edits are posted as extra (edit) messages |
09:38:55 | PMunch | I just copied that from my cross-compile build script, so the names are whatever they are called on my Linux machine |
09:39:00 | FromDiscord | <Nerdie> i have a few ideas |
09:39:07 | FromDiscord | <Nerdie> on what might be making it not work |
09:39:22 | krux02 | so the original messages always stays the same it just follows the convention the people on IRC follow anyway if they can't edit their past messages. |
09:39:45 | PMunch | I mean do you have a file called: C:\Program Files\nim-1.4.4\dist\mingw64\bin\i686-w64-mingw32-gcc.exe |
09:40:02 | PMunch | krux02, yeah edit messages are just confusing |
09:40:03 | FromDiscord | <Nerdie> alright |
09:40:12 | idf | i am on irc and half of the text is covered in funny symbols my client wont decode because of discord formatting |
09:40:19 | FromDiscord | <Nerdie> i don't have a file called i686-w65-blahblahblah |
09:40:20 | kaletaa | works on my machine |
09:40:28 | PMunch | I can see them in the case of editing a typo in the last sent message, but anything else is just confusing |
09:40:30 | FromDiscord | <Nerdie> (edit) "i686-w65-blahblahblah" => "i686-w64-blahblahblah" |
09:40:36 | PMunch | Because you need to re-read arbitrary messages in the log |
09:40:52 | FromDiscord | <Nerdie> so yeah |
09:40:54 | FromDiscord | <Nerdie> i don't have that file |
09:40:57 | FromDiscord | <Nerdie> why |
09:41:02 | PMunch | idf, I'm on IRC as well and it works fine |
09:41:04 | krux02 | idf, what about italic bold underline 2colored text? |
09:41:11 | PMunch | @Nerdia, how did you install MinGW? |
09:41:19 | kaletaa | what client are you using idf |
09:41:19 | FromDiscord | <Nerdie> i just installed nim |
09:41:22 | FromDiscord | <Nerdie> legit just nim |
09:41:27 | FromDiscord | <Nerdie> clicked 64 bit download |
09:41:32 | FromDiscord | <Nerdie> put it in program files |
09:41:36 | FromDiscord | <Nerdie> ran finish.exe as admin |
09:41:39 | FromDiscord | <Nerdie> a few times |
09:41:55 | PMunch | So you don't actually have a C compiler that is able to cross-compile? |
09:42:10 | FromDiscord | <Nerdie> um |
09:42:11 | krux02 | idf, I think your IRC client just laks the ability to interpret officially documented escape charactors for font styles and coloring |
09:42:11 | kaletaa | shouldn't it be included? |
09:42:12 | FromDiscord | <Nerdie> no i guess |
09:42:17 | idf | https://0x0.st/-Kox.png |
09:42:21 | PMunch | (Sorry I don't really know what `finish.exe` does as I've never really used Nim on Windows) |
09:42:27 | kaletaa | amazing client idf |
09:42:33 | FromDiscord | <Nerdie> it just installs nim lol |
09:42:34 | kaletaa | no sane person does anything on windows |
09:42:42 | FromDiscord | <Nerdie> installs 64 bit mingw |
09:42:42 | Clonkk[m] | Starts by making sure you can compile C code with minGW, you can make a simple hello world in C and call gcc.exe on it just to make sure your system installation of minGW is correct. |
09:42:45 | FromDiscord | <Nerdie> i do mostly gaming |
09:42:53 | kaletaa | yeah i noticed |
09:42:54 | FromDiscord | <Nerdie> and fuck linus |
09:42:55 | FromDiscord | <Nerdie> (edit) "linus" => "linux" |
09:42:58 | kaletaa | user issue |
09:43:06 | FromDiscord | <Nerdie> just don't like it |
09:43:12 | kaletaa | you're too retarded to like it |
09:43:20 | FromDiscord | <Nerdie> what the fuck is your issue |
09:43:21 | PMunch | kaletaa, behave |
09:43:22 | krux02 | idf, I literally inserted those weired symbols in my text and my IRC client then interprets them for formatting. |
09:43:23 | kaletaa | ok mom |
09:43:43 | idf | ERC is supposed to parse those but it doesnt |
09:43:46 | FromDiscord | <Nerdie> In reply to @Clonkk "Starts by making sure": i can compile things |
09:43:48 | idf | i just got used to it and i redraw it in my mind |
09:43:51 | FromDiscord | <Nerdie> i've compiled a dll |
09:43:52 | krux02 | idf, https://modern.ircdocs.horse/formatting.html |
09:43:54 | FromDiscord | <Nerdie> just not a 32 bit one |
09:44:00 | kaletaa | idf bro why are you using emacs as an OS |
09:44:02 | krux02 | yea edf doesn't parse them properly |
09:44:06 | FromDiscord | <Nerdie> my target application is 32 bit |
09:44:10 | krux02 | It doesn't parse italic at all as far as I know |
09:44:18 | Clonkk[m] | <FromDiscord "<Nerdie> In reply to @Clonkk "St"> Can you compile C code in 32 bit ? |
09:44:43 | FromDiscord | <Nerdie> nope |
09:44:48 | FromDiscord | <Nerdie> it always yells at me |
09:44:51 | FromDiscord | <Nerdie> with an error |
09:44:56 | FromDiscord | <Nerdie> that should've been fixed by installing 32 bit nim |
09:45:03 | FromDiscord | <Nerdie> but nope |
09:45:04 | PMunch | @Nerdie, I think you need a special MinGW version for 32-bit compilation on a 64-bit machine |
09:45:20 | * | NimBot joined #nim |
09:45:22 | FromDiscord | <Nerdie> thats why i installed 32 bit nim |
09:45:23 | PMunch | And no 32-bit Nim is for compiling Nim programs on a 32-bit machine |
09:45:24 | kaletaa | just use hexchat bro |
09:45:32 | Clonkk[m] | Nim generate C code and then calls C compiler. If your system can't compile C code, Nim can't compile C code. |
09:45:40 | FromDiscord | <Nerdie> it can compile things |
09:45:43 | FromDiscord | <Nerdie> just not 32 bit things |
09:45:58 | FromDiscord | <Nerdie> the way i've been testing my dll is by compiling it then just injecting into notepad |
09:46:04 | PMunch | As I said, I think you need a special version of MinGW that is able to cross compile to 32-bit |
09:46:04 | Clonkk[m] | So you're looking to cross compile 32 bit program on a 64bit architecture |
09:46:06 | FromDiscord | <Nerdie> because i can't make it 32 bit to inject into csgo |
09:46:08 | krux02_ | idf, I am on ERC right now and except for italic escape symbols, it works |
09:46:12 | FromDiscord | <Nerdie> In reply to @Clonkk "So you're looking to": yep |
09:46:24 | FromDiscord | <Nerdie> that is my goal |
09:46:27 | Clonkk[m] | You don't need a 32 bit version of stuff, you need a 64 bit version (because your machine is 64 bit) that do cross compilation |
09:46:32 | idf | weird |
09:46:40 | FromDiscord | <Nerdie> mingw can't do cross compilation? |
09:46:50 | krux02_ | idf: I think EDF should be at least able to filter out all those escape charactors for you without interpreting them at all. |
09:46:50 | Clonkk[m] | No idea, I'ver never used it |
09:46:53 | PMunch | Yes, MinGW can do cross compilation, but you need the right version.. |
09:46:54 | Clonkk[m] | It probably can |
09:47:01 | Clonkk[m] | But as @PM |
09:47:03 | FromDiscord | <Nerdie> what version do i need lol |
09:47:10 | Clonkk[m] | * But as @PMunch said, right version |
09:47:24 | FromDiscord | <Nerdie> which version |
09:48:02 | PMunch | Apparently not the version finish.exe installs :P |
09:48:13 | FromDiscord | <Nerdie> well |
09:48:16 | PMunch | I guess it just grabs the one for the architecture you're on |
09:48:17 | FromDiscord | <Nerdie> thats very helpful. |
09:48:30 | FromDiscord | <Nerdie> i can install the 32 bit version of mingw |
09:48:32 | PMunch | This one should be the one you need: https://sourceforge.net/projects/mingw-w64/ |
09:48:36 | FromDiscord | <Nerdie> oh |
09:48:37 | FromDiscord | <Nerdie> thanks lol |
09:48:40 | FromDiscord | <Nerdie> question |
09:48:45 | PMunch | Again, you can't run the 32-bit version of MinGW |
09:48:46 | FromDiscord | <Nerdie> how do i make nim use that |
09:48:50 | FromDiscord | <Nerdie> well |
09:48:51 | FromDiscord | <Nerdie> yeah |
09:49:00 | PMunch | You need a 64-bit version of MinGW that is able to produce 32-bit binaries |
09:49:08 | FromDiscord | <Nerdie> alright |
09:49:12 | FromDiscord | <Nerdie> which this seems to be able to do |
09:49:16 | FromDiscord | <Nerdie> but how do i make nim use this |
09:49:17 | kaletaa | i'm glad i no longer use windows |
09:49:24 | FromDiscord | <Solitude> In reply to @Nerdie "how do i make": delete whatever mingw you had and just normally install this |
09:49:39 | FromDiscord | <Nerdie> where the fuck do i put this |
09:49:42 | kaletaa | seems like a pain in the ass |
09:49:43 | PMunch | You install it somewhere and then use the --gcc.exe and --gcc.linkerexe flags that I showed you earlier |
09:49:43 | PMunch | kaletaa, this is just as much of a pain on Linux |
09:49:43 | PMunch | Possibly even more, I had to compile MinGW on my machine.. |
09:49:51 | PMunch | Anywhere |
09:49:57 | kaletaa | i mean crosscompiling to windows is painful everywhere |
09:49:58 | FromDiscord | <Solitude> In reply to @Nerdie "where the fuck do": doesnt matter, you should just add it to PATH |
09:50:07 | FromDiscord | <Nerdie> WHAT DO I ADD TO PATH |
09:50:13 | FromDiscord | <Solitude> bin directory |
09:50:14 | PMunch | Or give --gcc:exe the full path |
09:50:16 | FromDiscord | <Nerdie> https://nerdie.is-part-of-the.lgbt/ |
09:50:24 | FromDiscord | <Nerdie> i don't see a bin here |
09:50:24 | kaletaa | uc skid moment |
09:50:27 | kaletaa | just paste the image |
09:50:37 | FromDiscord | <Nerdie> no |
09:50:40 | FromDiscord | <Nerdie> i like using pays.hsot |
09:50:42 | FromDiscord | <Nerdie> (edit) "pays.hsot" => "pays.host" |
09:50:47 | kaletaa | "i like being retarded" |
09:50:52 | kaletaa | ok i stop |
09:50:56 | kaletaa | dont snap at me PMunch |
09:50:59 | FromDiscord | <Nerdie> "i like being an asshole to beginners" |
09:51:14 | kaletaa | I mean, you're trying to write a CS:GO cheat |
09:51:18 | kaletaa | not really a beginner's project |
09:51:27 | liblq-dev | the more i see this community tumble downhill like this the more i want to quit this channel |
09:51:31 | * | idf left #nim ("ERC (IRC client for Emacs 27.1)") |
09:51:37 | FromDiscord | <Solitude> In reply to @Nerdie "i don't see a": can you search? |
09:51:42 | * | idf joined #nim |
09:51:43 | FromDiscord | <Nerdie> In reply to @Solitude "can you search?": no |
09:51:47 | FromDiscord | <Solitude> amazing |
09:51:54 | FromDiscord | <Nerdie> there isn't a bin lmao |
09:51:54 | idf | fellas, i have fixed my erc |
09:52:01 | krux02 | idf, yay |
09:52:05 | krux02 | can you share with me? |
09:52:06 | kaletaa | great job, idfren |
09:52:07 | FromDiscord | <Solitude> you probably downloaded srouce instead of compiled release |
09:52:11 | FromDiscord | <Nerdie> man |
09:52:16 | krux02 | I am interested in fixing it for myself as well |
09:52:20 | FromDiscord | <Nerdie> this is a lot of goddamn work |
09:52:24 | FromDiscord | <Nerdie> just to make a dll |
09:52:27 | FromDiscord | <Araq> In reply to @liblq-dev "the more i see": yeah, agreed |
09:52:27 | kaletaa | idf, does it actually render stuff |
09:52:33 | krux02 | I want to use emacs for more things including chatting |
09:52:40 | FromDiscord | <Solitude> In reply to @Nerdie "this is a lot": yes, that why i stick with painting, programming sucks |
09:52:42 | kaletaa | or does it just strip |
10:03:35 | * | NimBot joined #nim |
10:03:42 | * | mwbrown_ is now known as mwbrown |
10:03:43 | * | Amun_Ra_ is now known as Amun_Ra |
10:03:55 | * | FromDiscord joined #nim |
10:04:12 | FromDiscord | <Nerdie> like `nim compile cc:vcc app:lib --NoMain --cpu:i386 path to file here`? |
10:04:34 | FromDiscord | <mratsim> --cc:vcc |
10:04:44 | PMunch | Araq, fair enough, I'll be more pro-active with my kicks in the future |
10:04:44 | FromDiscord | <Nerdie> ah |
10:04:48 | FromDiscord | <Nerdie> sorry lol |
10:04:53 | FromDiscord | <Nerdie> so yeah -- |
10:04:56 | PMunch | And --app:lib |
10:04:56 | FromDiscord | <mratsim> I don't know how MSVC does cross compilation though |
10:05:02 | FromDiscord | <Nerdie> In reply to @mratsim "I don't know how": it does. |
10:05:21 | PMunch | And can NoMain be capitalised like that? |
10:05:37 | FromDiscord | <Nerdie> yep |
10:05:41 | FromDiscord | <Nerdie> idk what it does lol |
10:06:02 | Araq | PMunch, we need to be stricter, it's going downhill. |
10:06:35 | PMunch | @Nerdie, it means your program won't have a main() procedure. Which is often the case with DLLs |
10:06:36 | FromDiscord | <Nerdie> well |
10:06:40 | FromDiscord | <Nerdie> oooh |
10:06:42 | FromDiscord | <Nerdie> wait |
10:06:44 | FromDiscord | <Nerdie> did it just |
10:06:44 | FromDiscord | <Nerdie> fucking |
10:06:46 | FromDiscord | <Nerdie> compile |
10:06:47 | FromDiscord | <Nerdie> a 32 bit dll? |
10:06:49 | FromDiscord | <Nerdie> nope nvm |
10:06:54 | FromDiscord | <Nerdie> `nim compile --cc:vcc --app:lib --NoMain --cpu:i386 main.nim` |
10:06:58 | FromDiscord | <Nerdie> Error: execution of an external compiler program 'vccexe.exe /c --platform:x86 /nologo /I"C:\Program Files\nim-1.4.4\lib" /I"C:\Users\Server\Desktop\nim projects\73hz" /nologo /FoC:\Users\Server\nimcache\main_d\@mmain.nim.c.obj C:\Users\Server\nimcache\main_d\@mmain.nim.c' failed with exit code: 2 |
10:06:58 | FromDiscord | <Nerdie> god |
10:07:00 | FromDiscord | <Nerdie> this sucks |
10:07:07 | FromDiscord | <Nerdie> it looked like it was gonna work |
10:07:09 | PMunch | Haha, what a wild ride that was. But try not spam lines like that :P |
10:07:18 | FromDiscord | <Nerdie> i was just pasting my error |
10:07:42 | FromDiscord | <Solitude> In reply to @Nerdie "i was just pasting": hes talking about you writing a word per message. |
10:07:47 | PMunch | I was talking about the nine lines before that :P |
10:07:48 | FromDiscord | <Nerdie> oh |
10:08:00 | FromDiscord | <Nerdie> sorry |
10:08:12 | PMunch | No worries |
10:08:12 | FromDiscord | <Nerdie> but can ANYONE help me with my error |
10:08:31 | FromDiscord | <Nerdie> i've got no idea why it just doesn't wanna compile |
10:08:37 | FromDiscord | <Nerdie> i just wanna make a dll to inject into csgo |
10:08:39 | PMunch | Hmm, unfortunately I think you need someone a bit more versed with VCC to help you with that one.. |
10:08:49 | FromDiscord | <Nerdie> well |
10:08:52 | FromDiscord | <Nerdie> what other compilers are there |
10:08:53 | PMunch | I've only done cross compilation with MinGW |
10:08:57 | FromDiscord | <Nerdie> what else can i just throw at it |
10:09:03 | FromDiscord | <Nerdie> how'd you do cross compilation? |
10:09:12 | PMunch | Like I told you earlier |
10:09:14 | FromDiscord | <hamidb80> > Note: Channels are designed for the Thread type. They are unstable when used with spawn |
10:09:14 | FromDiscord | <Solitude> either you research how to install mingw properly or you're stuck |
10:09:27 | FromDiscord | <Nerdie> i've installed mingw |
10:09:35 | PMunch | The correct version? |
10:09:35 | FromDiscord | <Nerdie> i tried installing the bs fucking sourceforge thing |
10:09:37 | FromDiscord | <Nerdie> idfk |
10:09:41 | FromDiscord | <Nerdie> whatever installs w/ nim |
10:09:46 | FromDiscord | <Nerdie> and lets me compile 64 bit things |
10:09:53 | FromDiscord | <hamidb80> In reply to @hamidb80 "> Note: Channels are": what does `unstable` exactly mean |
10:09:56 | PMunch | That includes i686-mingw-w64 thingy? |
10:10:01 | FromDiscord | <Nerdie> nope |
10:10:06 | FromDiscord | <Nerdie> im not sure why thats not there |
10:10:12 | FromDiscord | <Nerdie> can you just send me the exe or somethinggg |
10:10:19 | PMunch | Because 95% of people don't need it |
10:10:23 | PMunch | So for those it's just bloat |
10:10:35 | FromDiscord | <hamidb80> (edit) "mean" => "mean?" |
10:10:38 | FromDiscord | <Nerdie> omfg |
10:10:45 | FromDiscord | <Nerdie> where do i get the exe |
10:10:51 | PMunch | I mean I could certainly go scouring the internet for a binary distribution of MinGW, but so could you |
10:10:58 | PMunch | I'm just a friendly stranger, not you butler |
10:11:00 | FromDiscord | <Nerdie> i couldn't find one |
10:11:03 | FromDiscord | <Nerdie> i know lol |
10:11:15 | FromDiscord | <Nerdie> but i couldn't find a binary distro of mingw |
10:11:21 | PMunch | Might be that there aren't any binary distributions, I had to compile from source on Linux I think |
10:11:31 | FromDiscord | <Nerdie> i really dont wanna do that |
10:12:15 | FromDiscord | <Solitude> can you try installing this? https://sourceforge.net/projects/mingw-w64/ |
10:12:23 | FromDiscord | <Nerdie> thats what i installed |
10:12:40 | FromDiscord | <Nerdie> you've linked that before |
10:12:53 | FromDiscord | <Solitude> no, i didnt link anything |
10:12:56 | FromDiscord | <Nerdie> someone linked that |
10:12:58 | FromDiscord | <Solitude> an it was another link |
10:13:05 | FromDiscord | <Nerdie> its the same thing |
10:13:08 | PMunch | I linked something |
10:13:10 | FromDiscord | <Solitude> no, it isnt |
10:13:23 | FromDiscord | <Nerdie> im going to yell at you if its the same fucking thing |
10:13:31 | FromDiscord | <Solitude> In reply to @Nerdie "im going to yell": you are welcome |
10:13:31 | FromDiscord | <Araq> @hamidb80 the problem is that `spawn` can block and programms that use channels usually assume that it cannot block |
10:13:34 | PMunch | It's the same thing I told him to install |
10:13:40 | PMunch | But that's the source repo |
10:13:44 | PMunch | So you need to build it |
10:13:51 | FromDiscord | <Nerdie> oh man |
10:13:54 | FromDiscord | <Nerdie> guess what it is |
10:14:05 | FromDiscord | <Nerdie> how do i compile this bs |
10:14:07 | FromDiscord | <Nerdie> just for a single exe |
10:15:24 | PMunch | This might be what you need: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download |
10:16:26 | FromDiscord | <Araq> @Nerdie if you're on Windows, install a 32 bit Nim and compile a DLL. No need for a cross compile then. |
10:16:39 | FromDiscord | <Nerdie> DUDE |
10:16:41 | FromDiscord | <Nerdie> THESE MFS |
10:16:43 | FromDiscord | <Nerdie> KEEP SAYING |
10:16:53 | FromDiscord | <Nerdie> "THAT WONT WORK 64 BIT DOESN'T EQUAL 32 BIT" |
10:17:05 | PMunch | Wait what? |
10:17:12 | PMunch | Does that work Araq? |
10:17:13 | FromDiscord | <Nerdie> people were saying |
10:17:16 | FromDiscord | <Nerdie> it should |
10:17:22 | FromDiscord | <Nerdie> i saw a stackoverflow article on it |
10:17:25 | * | Vladar joined #nim |
10:17:29 | FromDiscord | <Nerdie> i was being small brain when i tried it |
10:17:33 | FromDiscord | <Nerdie> but i think it might work |
10:17:41 | PMunch | My bad then.. I had no idea that was a thing.. |
10:17:42 | FromDiscord | <Nerdie> man |
10:17:49 | FromDiscord | <Araq> it does work, I did it successfully... |
10:17:51 | FromDiscord | <Nerdie> i don't wanna play with nim anymore |
10:18:30 | FromDiscord | <Nerdie> i wanna play with python |
10:18:33 | FromDiscord | <Nerdie> and never switch |
10:18:34 | FromDiscord | <Nerdie> python just works |
10:18:45 | FromDiscord | <hamidb80> please be patient |
10:18:48 | FromDiscord | <Nerdie> im installing mingw |
10:18:52 | FromDiscord | <Nerdie> just |
10:18:53 | FromDiscord | <Nerdie> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
10:18:57 | FromDiscord | <hamidb80> python sucks at threading |
10:19:01 | FromDiscord | <Nerdie> python is the shit |
10:19:03 | FromDiscord | <Nerdie> it just fucking works |
10:19:09 | FromDiscord | <Nerdie> no need for like 50 c compilers |
10:19:25 | FromDiscord | <Solitude> tell em, dude |
10:19:54 | narimiran | goodbye @Nerdie, we will miss you very much |
10:20:09 | FromDiscord | <Nerdie> alright |
10:20:14 | FromDiscord | <Nerdie> i've installed mingw |
10:20:18 | FromDiscord | <Nerdie> what next |
10:20:21 | FromDiscord | <Nerdie> do i add the bin to path? |
10:20:27 | FromDiscord | <Solitude> yas |
10:20:33 | FromDiscord | <Araq> run finish.exe but beware |
10:20:41 | FromDiscord | <Nerdie> no |
10:20:44 | FromDiscord | <Nerdie> not finish.exe |
10:20:51 | FromDiscord | <Nerdie> i installed mingw binaries |
10:21:08 | FromDiscord | <Araq> that you have a clean %PATH% environment variable |
10:22:39 | FromDiscord | <Araq> but you can also simply use Python to create a 32 bit DLL, totally fair comparison |
10:22:47 | FromDiscord | <Nerdie> WHAT THE FUCK |
10:22:49 | FromDiscord | <Nerdie> HOW D |
10:22:54 | FromDiscord | <Nerdie> (edit) "D" => "DO I MAKE A DLL IN FUCKING PYTHON" |
10:23:05 | FromDiscord | <Araq> nobody knows but it just works |
10:23:37 | FromDiscord | <Nerdie> i give upo |
10:23:38 | FromDiscord | <Nerdie> (edit) "upo" => "up" |
10:23:41 | FromDiscord | <Nerdie> anyway |
10:23:41 | narimiran | again? |
10:23:44 | FromDiscord | <Nerdie> do i add my new mingw |
10:23:48 | FromDiscord | <Nerdie> bin file thing |
10:23:49 | FromDiscord | <Nerdie> to path |
10:24:06 | FromDiscord | <Solitude> yes |
10:24:28 | FromDiscord | <Nerdie> what do i call it |
10:24:43 | FromDiscord | <Nerdie> just mingw? |
10:24:51 | narimiran | Steven. |
10:25:06 | FromDiscord | <Araq> finish.exe does install the right mingw and can add it to the path... |
10:25:12 | FromDiscord | <Nerdie> NOT FUCKING FINISH |
10:25:25 | FromDiscord | <Yardanico> ahahahahah |
10:25:30 | FromDiscord | <Nerdie> my mingw doesn't have this single fucking exe |
10:25:35 | PMunch | @Nerdie, Araq was just messing with you. Creating a 32-bit Python DLL isn't possible (you might be able to hack something together, but it's guaranteed going to be a worse experience than just installing a C compiler) |
10:25:35 | FromDiscord | <Nerdie> to make it compile 32 bit things |
10:25:48 | FromDiscord | <Nerdie> In reply to @PMunch "<@595740754538659841>, Araq was just": i know he was, trust me i've tried. |
10:25:53 | FromDiscord | <Nerdie> i wanted to make a python internal csgo cheat man |
10:25:58 | FromDiscord | <Nerdie> that was a pipedream |
10:26:02 | FromDiscord | <Nerdie> i've gotta learn either nim or c++ |
10:26:07 | FromDiscord | <Nerdie> and fuck c++ because c++ bad |
10:26:12 | FromDiscord | <Nerdie> normies use c++ |
10:26:17 | PMunch | I guess you could use the Python C library and make a DLL that runs Python scripts |
10:26:28 | FromDiscord | <Solitude> In reply to @Nerdie "normies use c++": normies can handle installing a compiler |
10:26:29 | FromDiscord | <Nerdie> i couldn't even find code to paste for a basic nim dll |
10:26:30 | FromDiscord | <Nerdie> i had to make that |
10:26:31 | FromDiscord | <Yardanico> You seem more like a normie to be honest, but whatever |
10:26:33 | PMunch | It'd be a pain in the ass, but it should be possible |
10:26:42 | FromDiscord | <Nerdie> eh |
10:26:46 | FromDiscord | <Nerdie> if you're already doing c |
10:26:49 | FromDiscord | <Nerdie> just keep it c lopl |
10:26:51 | FromDiscord | <Nerdie> (edit) "lopl" => "lol\" |
10:26:52 | FromDiscord | <Nerdie> (edit) "lol\" => "lol" |
10:27:29 | PMunch | I mean you would have to write the C -> Python DLL once, and then anyone could write Python programs and load them through the DLL *shrugs* |
10:27:32 | FromDiscord | <Nerdie> what the hell just happened |
10:27:34 | FromDiscord | <Yardanico> I don't know, for me cross compiling was never an issue since there are 100500 articles about that on the net (on both Linux and Windows, for both Linux and Windows) |
10:27:36 | FromDiscord | <Nerdie> did i get kicked lol |
10:27:52 | FromDiscord | <Araq> yeah you did |
10:27:54 | FromDiscord | <Nerdie> why |
10:27:59 | PMunch | Wait |
10:28:08 | PMunch | We can still see him on IRC.. |
10:28:19 | FromDiscord | <Araq> I already told you what you need to know. if you don't want to listen, at least shut up |
10:28:34 | FromDiscord | <Nerdie> i did listen |
10:28:37 | FromDiscord | <Araq> unpack the 32bit Nim, run finish.exe |
10:28:42 | FromDiscord | <Araq> that's all there is to it |
10:28:42 | FromDiscord | <Nerdie> i tried that |
10:28:48 | FromDiscord | <Nerdie> nim yelled at me |
10:28:49 | FromDiscord | <Nerdie> thats why i came here |
10:28:53 | FromDiscord | <Nerdie> i already tried fixing it |
10:29:15 | FromDiscord | <Araq> clean up your PATH, by now you probably have a dozen mingws lying around |
10:29:19 | FromDiscord | <Araq> all messing with each other |
10:29:21 | FromDiscord | <Nerdie> nop |
10:29:22 | PMunch | @Araq, that's partially my fault. I didn't think that would work so I told him it wouldn't.. |
10:29:23 | FromDiscord | <Nerdie> (edit) "nop" => "nope" |
10:29:37 | FromDiscord | <Nerdie> i thought it just didn't work in general when i first tried |
10:29:43 | FromDiscord | <Nerdie> so i just avoided it |
10:29:45 | PMunch | What was the error you got when you installed 32-bit Nim, ran finish.exe, and then tried to compile? |
10:30:04 | FromDiscord | <Nerdie> it yelled at me that the bin didn't exist |
10:30:09 | FromDiscord | <Nerdie> when i gave it a valid path |
10:30:18 | FromDiscord | <Nerdie> just said "doesn't exist os error" |
10:30:40 | FromDiscord | <Nerdie> i installed some version of mingw that should work |
10:30:46 | FromDiscord | <Nerdie> i've just gotta add the bin to path |
10:30:56 | FromDiscord | <Araq> finish.exe can install mingw for you... |
10:31:03 | FromDiscord | <Nerdie> i just said |
10:31:05 | FromDiscord | <Nerdie> it doesn't work |
10:31:31 | PMunch | But why doesn't it work? |
10:31:43 | FromDiscord | <Nerdie> i just said why |
10:31:52 | PMunch | Do you just roll into a garage with your car and go "doesn't work" and leave expecting the mechanic to fix it? |
10:31:53 | FromDiscord | <Araq> you never gave a precise error message |
10:31:59 | FromDiscord | <Nerdie> no |
10:32:02 | FromDiscord | <Nerdie> i said i got an os error |
10:32:03 | * | abm joined #nim |
10:32:07 | FromDiscord | <Nerdie> saying that the file didn't exist |
10:32:15 | PMunch | Well that could be a whole host of different errors |
10:32:24 | FromDiscord | <Nerdie> i just copied the bin's path |
10:32:28 | PMunch | That's like saying "it makes a noise" |
10:32:29 | FromDiscord | <Nerdie> then put that into some arg |
10:33:29 | FromDiscord | <Nerdie> well |
10:33:30 | FromDiscord | <Nerdie> yeah |
10:34:49 | FromDiscord | <Nerdie> alright |
10:34:55 | FromDiscord | <Nerdie> i've added the new mingw |
10:34:59 | FromDiscord | <Nerdie> to path |
10:35:03 | FromDiscord | <Nerdie> it's bin file or whatever |
10:35:05 | FromDiscord | <Nerdie> what now |
10:35:15 | FromDiscord | <Solitude> now we wait |
10:35:28 | FromDiscord | <Nerdie> hm |
10:35:32 | FromDiscord | <Nerdie> does it work if i just |
10:35:37 | FromDiscord | <Nerdie> try compiling it normally |
10:36:20 | FromDiscord | <Nerdie> sent a long message, see http://ix.io/2QNm |
10:36:27 | FromDiscord | <Nerdie> well |
10:36:29 | FromDiscord | <Nerdie> a new error |
10:36:34 | FromDiscord | <Nerdie> wait |
10:36:35 | FromDiscord | <Nerdie> nvm |
10:37:04 | FromDiscord | <hamidb80> In reply to @Nerdie "@mmain.nim.c C:\Users\Server\nimcache\main_d\@mmain": redefinition |
10:37:17 | FromDiscord | <Nerdie> i know what was wrong |
10:37:21 | FromDiscord | <Nerdie> well shit |
10:37:24 | FromDiscord | <Nerdie> it still doesn't work |
10:37:31 | FromDiscord | <Nerdie> now i'm getting the old error |
10:37:42 | FromDiscord | <Nerdie> sent a code paste, see https://play.nim-lang.org/#ix=2QNo |
10:38:29 | * | phpostrich quit (Quit: phpostrich) |
10:39:14 | FromDiscord | <hamidb80> In reply to @Nerdie "``` C:\Program Files\nim-1.4.4\lib/nimbase.h:542:1:": is that all of the error? |
10:39:21 | FromDiscord | <Nerdie> In reply to @hamidb80 "is that all of": nope |
10:39:27 | FromDiscord | <Nerdie> idk if discord would let me post the whole thing |
10:39:37 | FromDiscord | <Nerdie> its like that |
10:39:39 | FromDiscord | <Nerdie> but 10 times over |
10:39:41 | FromDiscord | <Araq> it's the important part of the error |
10:39:57 | FromDiscord | <Araq> your C compiler and Nim don't agree on the architecture, 32 vs 64 bits |
10:40:25 | idf | just use pastebin for the error |
10:40:56 | FromDiscord | <Nerdie> In reply to @Araq "your C compiler and": YES I KNOW |
10:41:04 | FromDiscord | <Nerdie> thats why i'm trying to use the 32 bit compiler |
10:41:11 | FromDiscord | <Nerdie> this is what started all this |
10:41:49 | FromDiscord | <Araq> you can try `--cpu:i386` but I'm sure people already told you and it's futile. it's ok, you cannot it to work. let's accept it |
10:42:30 | FromDiscord | <Nerdie> sent a code paste, see https://paste.rs/uBo |
10:42:31 | FromDiscord | <Nerdie> just |
10:42:40 | FromDiscord | <Nerdie> i installed another version of mingw |
10:42:48 | FromDiscord | <Nerdie> which can do 64 and 32 bit compilation |
10:42:55 | FromDiscord | <Nerdie> but how do i select that as my compiler |
10:43:02 | FromDiscord | <Nerdie> i've added it's bin file to path |
10:43:03 | FromDiscord | <Yardanico> You need to pass -m32 as well |
10:43:09 | PMunch | With --gcc.exe and --gcc:linkerexe |
10:43:17 | FromDiscord | <Yardanico> --passC:-m32 and --passL:-m32 |
10:43:21 | FromDiscord | <Yardanico> Without "and" |
10:43:54 | FromDiscord | <Nerdie> so i use `gcc compile` in my terminal to do this |
10:44:03 | FromDiscord | <Nerdie> instead of using nim compile |
10:44:06 | FromDiscord | <Yardanico> No |
10:44:23 | FromDiscord | <Yardanico> nim compile --app:lib --noMain --cpu:i386 --passC:-m32 --passL:-m32 main.nim |
10:44:52 | PMunch | And --gcc.exe and --gcc.linkerexe to select the C compiler |
10:45:22 | FromDiscord | <Araq> usually --gcc.exe and --gcc.linkerexe isn't required for this |
10:45:29 | FromDiscord | <Araq> if he has only one ming in the path |
10:45:39 | PMunch | Do we trust that he does? |
10:45:44 | FromDiscord | <Nerdie> nope |
10:45:47 | FromDiscord | <Nerdie> i've got nim's mingw |
10:45:50 | FromDiscord | <Nerdie> and the new one |
10:45:52 | FromDiscord | <Nerdie> and fuck |
10:46:04 | FromDiscord | <Nerdie> i just love compiled languages |
10:46:09 | FromDiscord | <Solitude> same |
10:46:12 | FromDiscord | <Nerdie> a brand new error |
10:46:21 | idf | you said you love python 5 minutes ago |
10:46:28 | FromDiscord | <Nerdie> sent a code paste, see https://play.nim-lang.org/#ix=2QNs |
10:46:28 | FromDiscord | <Nerdie> In reply to @idf "you said you love": yeah i do |
10:46:44 | PMunch | I think he was being facetious |
10:46:58 | idf | ah, quite unnecesary |
10:47:09 | PMunch | That's using the Nim MinGW |
10:47:10 | FromDiscord | <Araq> listen to me. this is super futile. even if you get a DLL to build eventually, you will run into the next problem, the app won't load the DLL because of libc differences etc |
10:47:25 | FromDiscord | <Nerdie> In reply to @Araq "listen to me. this": what? |
10:47:35 | FromDiscord | <Araq> you simply don't know enough to ever get any of this to work. |
10:48:58 | FromDiscord | <Araq> you need to learn Nim first and how native PLs work |
10:49:04 | FromDiscord | <Araq> you need to learn about calling conventions |
10:49:07 | FromDiscord | <dom96> Guys, if you don't have the will to help @Nerdie then just stay quiet |
10:49:11 | FromDiscord | <dom96> no need to discourage them though |
10:49:15 | FromDiscord | <Nerdie> dude |
10:49:19 | FromDiscord | <Nerdie> it's 6 fucking am |
10:49:23 | PMunch | We've been trying to help for about an hour.. |
10:49:28 | FromDiscord | <Nerdie> i've been at this for about 12 hours now |
10:49:29 | FromDiscord | <Araq> about why one DLL cannot `free` a different DLL's `malloc` operation |
10:49:38 | FromDiscord | <Nerdie> just tell me it won't work and be done |
10:49:46 | FromDiscord | <Araq> I am. |
10:49:48 | PMunch | It can work if you do it correctly |
10:49:59 | PMunch | But that's a big "if" |
10:50:05 | FromDiscord | <Nerdie> how the fuck |
10:50:09 | FromDiscord | <Nerdie> do i do this correctly then |
10:50:24 | FromDiscord | <dom96> @Nerdie like I said many hours ago, treat Nim as C |
10:50:33 | FromDiscord | <dom96> look up how to do it in C and use that |
10:50:33 | FromDiscord | <Nerdie> i don't know c |
10:50:36 | FromDiscord | <Nerdie> i did |
10:50:43 | FromDiscord | <Nerdie> i tried using gcc to compile |
10:50:48 | FromDiscord | <dom96> Most of us don't do DLL injection here |
10:50:52 | FromDiscord | <Nerdie> well yeah |
10:50:53 | FromDiscord | <Nerdie> i can tell |
10:50:59 | PMunch | @dom96, he just struggles with compiling his DLL |
10:51:05 | FromDiscord | <Nerdie> that's the only thing |
10:51:10 | FromDiscord | <Nerdie> i just wanna make this a 32 bit dll |
10:51:14 | PMunch | I mean I do cross compiling of 32-bit Windows DLLs in Nim for work |
10:51:15 | FromDiscord | <Nerdie> i read that you can do that in nim |
10:51:21 | FromDiscord | <Nerdie> yeah like how |
10:51:24 | FromDiscord | <Nerdie> how'd you do it |
10:51:29 | PMunch | So one should think I at least have some idea how to do it :P |
10:51:39 | FromDiscord | <Nerdie> you seem a lot more helpful than fucking iraq |
10:51:50 | narimiran | ban in 3... 2... 1... |
10:53:12 | FromDiscord | <Yardanico> done |
10:53:16 | FromDiscord | <Yardanico> (but not by me) |
10:53:26 | PMunch | What is that even supposed to mean? Does Iraq have a 32-bit DLL building program? |
10:53:49 | idf | how is DLL related to geopolitics |
10:53:50 | FromDiscord | <dom96> huh, banning removes their messages? |
10:54:08 | FromDiscord | <noE> no |
10:54:11 | FromDiscord | <noE> it was a play on his name. |
10:54:23 | FromDiscord | <noE> i just wanna know how to compile a damn dll |
10:54:40 | PMunch | Oh who's name? |
10:54:44 | FromDiscord | <noE> all i've wanted to do for the past 12 hours |
10:54:50 | narimiran | just be stubborn, you'll definitely succeed! |
10:54:55 | narimiran | PMunch: *raq |
10:55:00 | PMunch | Ah :P |
10:55:00 | FromDiscord | <dom96> @noE go to sleep please |
10:55:03 | narimiran | PMunch: lol |
10:55:03 | FromDiscord | <noE> this is the biggest and only real place to get help for nim |
10:55:09 | FromDiscord | <dom96> come back tomorrow and it'll be easier to figure out |
10:55:17 | FromDiscord | <noE> i wanna wake up to a 32 bit dll |
10:55:23 | FromDiscord | <Solitude> In reply to @noE "all i've wanted to": you could do your own research in 12 hours. you could learn nim in 12 hours. |
10:55:33 | PMunch | I mean I can send you a random 32-bit DLL if you like :P |
10:55:35 | FromDiscord | <noE> i've been learning nim over the past 12 hours |
10:55:41 | FromDiscord | <noE> i've got plenty of those |
10:55:46 | FromDiscord | <noE> i just wanna make a 32 bit dll |
10:55:53 | FromDiscord | <noE> so i can do random crap with csgo |
10:55:57 | PMunch | Why does it have to be 32-bit by the way? |
10:56:03 | PMunch | Is CSGO not 64-bit? |
10:56:06 | FromDiscord | <noE> because csgo is a 32bit application |
10:56:09 | FromDiscord | <noE> its from like 2009 lol |
10:56:13 | PMunch | Huh TIl |
10:56:15 | narimiran | @noE just yell "no fucking finish.exe" enough time, and i'm sure it will work at some point! |
10:56:16 | FromDiscord | <noE> REALLY old game |
10:56:34 | * | sagax__ joined #nim |
10:56:59 | FromDiscord | <dom96> narimiran: there is no need for that |
10:57:07 | FromDiscord | <Araq> is this how we want to spend our time, yes? helping somebody how to hack some old game who has no manners? |
10:57:11 | narimiran | @dom96 there is |
10:57:19 | idf | i have to say the ban evasion was quite fast |
10:57:43 | * | kaletaa left #nim (#nim) |
10:57:43 | * | kaletaa joined #nim |
10:57:48 | FromDiscord | <Araq> because if so, I'm out |
10:58:02 | FromDiscord | <Araq> your choice. |
10:58:15 | narimiran | Iraq making ultimatums! |
10:58:26 | FromDiscord | <Yardanico> iraq is the new 4raq |
10:58:42 | * | sagax__ quit (Client Quit) |
10:59:16 | * | dom96__ joined #nim |
10:59:28 | * | dom96__ quit (Changing host) |
10:59:28 | * | dom96__ joined #nim |
10:59:45 | FromDiscord | <mratsim> that isn't funny |
10:59:59 | FromDiscord | <Yardanico> https://media.discordapp.net/attachments/371759389889003532/814451621936758794/unknown.png |
11:00:06 | FromDiscord | <Yardanico> nice ban evasion I must say |
11:03:09 | FromDiscord | <TotsCoolGamerBruh> had to switch to an account with a verified email. |
11:03:13 | FromDiscord | <TotsCoolGamerBruh> dude i don't mean to be rude |
11:03:20 | FromDiscord | <TotsCoolGamerBruh> i just wan't help with compiling a 32 bit dll |
11:03:38 | FromDiscord | <Solitude> In reply to @TotsCoolGamerBruh "i just wan't help": best minds tried to help you and failed, help yourself |
11:03:55 | narimiran | 3rd time's the charm. maybe this time you really want help. we'll see.... |
11:06:51 | superbia | good morning fiume |
11:09:40 | FromDiscord | <Yardanico> just for the reference, I easily downloaded mingw online installer from https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/ , installed i686 version (of course added its bin folder to path - D:\mingwi386\mingw32\bin), opened a new `cmd` window and easily compiled the 32-bit dll with `nim c --app:lib --cpu:i386 --gcc.exe:i686-w64-mingw32-gcc --gcc.linkerexe:i686-w64-mingw32-gcc a.nim`. To |
11:09:48 | FromDiscord | <Yardanico> and that's with 64-bit nim compiler |
11:14:30 | FromDiscord | <Nerdie_> thank you. |
11:14:57 | FromDiscord | <Nerdie_> all i wanted |
11:15:37 | FromDiscord | <Yardanico> people explained the same thing to you multiple times |
11:19:18 | FromDiscord | <Nerdie_> after 12 and a half hours my issue has been solved. |
11:19:44 | FromDiscord | <konsumlamm> so are we just gonna ignore the ban evasion? |
11:19:59 | FromDiscord | <Nerdie_> there isn't a point lol |
11:20:09 | PMunch | I'm only a lowly IRC mod, nothing I can do about it *shlugs* |
11:20:22 | PMunch | Well, I could ban FromDiscord, but that doesn't really help anyone :P |
11:20:52 | PMunch | And how did that solve you issue? It's literally the exact same thing we've been telling you do to for hours?! |
11:22:11 | FromDiscord | <Yardanico> he's banned |
11:22:27 | FromDiscord | <Yardanico> lemme specifically add to rules "Ban evasion is not allowed" |
11:22:48 | Clonkk[m] | "It is forbidden to not follow the rules" :D |
11:22:53 | Clonkk[m] | Always a nice rule |
11:22:55 | FromDiscord | <carpal> what did he do? |
11:23:27 | Clonkk[m] | He insulted Linux |
11:23:30 | Clonkk[m] | THat's ba nworthy |
11:23:31 | FromDiscord | <Yardanico> Spent 12 hours asking for help on how to setup a cross-compiler on windows for nim |
11:23:32 | PMunch | Just spammed the channel with variations of the same question for a long time |
11:23:33 | FromDiscord | <Yardanico> and that too |
11:23:42 | Clonkk[m] | * That's ban worthy |
11:23:52 | PMunch | Haha, doesn't that mean we have to ban Araq? |
11:24:31 | FromDiscord | <Yardanico> also, just for the reference, CS:GO is 32-bit on Windows, but guess what? |
11:24:33 | FromDiscord | <Yardanico> it's 64-bit on Linux :P |
11:24:47 | PMunch | Of course it is :P |
11:24:53 | PMunch | That used to be the case with KSP as well |
11:24:59 | FromDiscord | <Araq> once again. |
11:25:12 | PMunch | If you wanted to use more than 4Gb of RAM you needed to install Linux :P |
11:25:21 | * | dom96__ quit (Quit: Connection closed) |
11:25:28 | FromDiscord | <Araq> the problem is IMHO that only myself told him in my own special way what he needs to know. |
11:25:29 | PMunch | And for a game with as many mods as KSP, that was quite a lot of users |
11:26:20 | FromDiscord | <Araq> that the DLL is not even the problem. it will crash. and then what? are you gonna teach him all the knowledge that he needs to figure it out? |
11:26:25 | FromDiscord | <konsumlamm> i wonder if it was a mistake to subscribe to all PRs... |
11:26:44 | PMunch | That is a good point, he'll probably be back with a million other issues.. |
11:26:45 | FromDiscord | <Yardanico> @konsumlamm it's fun |
11:26:45 | FromDiscord | <Araq> on IRC? for 40 hours then? |
11:28:30 | FromDiscord | <Araq> @konsumlamm why? PRs are fine |
11:28:41 | FromDiscord | <konsumlamm> ye, but there are so many |
11:29:47 | FromDiscord | <Araq> if somebody comes along and says "I don't know much about cars, please help me produce my own Porsche", the best thing you can do is to tell him it's a bad idea |
11:30:19 | FromDiscord | <Araq> instead of explaining how to hold a screw driver as the "first step" |
11:31:09 | * | abm quit (Ping timeout: 264 seconds) |
11:32:24 | FromDiscord | <carpal> In reply to @Clonkk "He insulted Linux": 😂 |
11:32:56 | FromDiscord | <carpal> In reply to @PMunch "Haha, doesn't that mean": ahhaha yes ban andreas |
11:33:24 | liblq-dev | ßan andreas |
11:33:53 | PMunch | @Araq, that is a good point, I just jumped into the middle of it without really knowing that he had no idea what he was doing.. |
11:34:59 | * | krux02` joined #nim |
11:35:40 | * | krux02` quit (Remote host closed the connection) |
11:41:57 | FromDiscord | <mratsim> In reply to @konsumlamm "i wonder if it": You didn't subscribe when timotheecour was going crazy over issues/PR |
11:42:37 | FromDiscord | <Yardanico> hehe |
11:42:46 | FromDiscord | <carpal> I'm trying to port a friend from python to nim (he's making an engine with pyglet). He asked: if it is so good (has multiple ways to manage memory, as fast as c, looks like python has a good macro system, has full interoperability with c, ecc...) why isn't it known as rust or similar? |
11:43:09 | FromDiscord | <Solitude> In reply to @carpal "I'm trying to port": because we keep a secret club? |
11:43:16 | FromDiscord | <carpal> five club? |
11:43:19 | FromDiscord | <Yardanico> @carpal rust had mozilla, y'know :P |
11:43:20 | FromDiscord | <mratsim> reply, "if you're so smart, why aren't you president?" |
11:43:21 | PMunch | You told someone about Nim?! |
11:43:27 | FromDiscord | <Yardanico> first rule |
11:43:30 | FromDiscord | <Yardanico> time to ban |
11:43:39 | Clonkk[m] | The way programming language gain traction is mysterious and has little to do with technical aspect |
11:43:39 | PMunch | Haha, but yeah it's mostly a PR thing I think |
11:43:58 | FromDiscord | <mratsim> correct answer "i don't have no sponsor, support base, Marketing, ..." |
11:43:59 | * | krux02_ quit (Read error: Connection reset by peer) |
11:44:12 | PMunch | Mozilla pushed Rust, which helped it spread. And Rust has one single hook that sounds good, it's "safe" |
11:44:22 | FromDiscord | <mratsim> but what a hook |
11:44:32 | PMunch | Nim is just overall better than a lot of things, which is hard to market |
11:44:38 | FromDiscord | <mratsim> it's true for most upstarts though. I mean Amazon, "selling book online" |
11:44:40 | Clonkk[m] | Just make a blog post that we use Rust in the compiler to make the buzz 😂 |
11:44:54 | FromDiscord | <Solitude> rust people are not afraid to use buzzwords to gain reddit/hn crowd attention |
11:44:58 | FromDiscord | <mratsim> find your niche, solve it, fill it and then expand |
11:45:08 | FromDiscord | <mratsim> just like Javascript |
11:45:16 | FromDiscord | <carpal> In reply to @PMunch "Nim is just overall": yes lol |
11:45:20 | FromDiscord | <Yardanico> @Solitude RIR |
11:46:14 | * | krux02 quit (Remote host closed the connection) |
11:46:40 | Clonkk[m] | What I learned from the internet is that popularity is correlated to what you say not what you actually deliver |
11:46:41 | Clonkk[m] | I call it the V-way |
11:46:55 | FromDiscord | <carpal> In reply to @PMunch "You told someone about": first rule, don't talk about nim |
11:47:04 | FromDiscord | <carpal> I'm going to get a ban |
11:47:23 | FromDiscord | <Solitude> yeah, the guy before talked about nim so much he got banned three times |
11:48:20 | * | superbia left #nim ("WeeChat 3.0") |
11:48:28 | FromDiscord | <Araq> he also called me "fucking Iraq" but yeah, we banned him because he talked about nim, obviously. |
11:49:01 | FromDiscord | <carpal> why are you using discord in these days?@Araq |
11:49:48 | FromDiscord | <carpal> In reply to @Araq "he also called me": in what sense? aren't you germany? |
11:49:54 | Clonkk[m] | Isn't Discord the most popular platform these days ? |
11:50:14 | liblq-dev | it is, unfortunately. |
11:50:51 | FromDiscord | <Araq> @carpal so that I lower the number of messangers I have to use |
11:51:44 | FromDiscord | <konsumlamm> In reply to @Yardanico "<@!699146708466008115> rust had mozilla,": honestly, i think people are overestimating the role mozilla played in Rust's adoption ¯\_(ツ)_/¯ |
11:52:38 | FromDiscord | <Yardanico> You think so? |
11:52:41 | Clonkk[m] | <FromDiscord "<konsumlamm> In reply to @Yardan"> Having access to a marketing department, fundings and a popular flagpole application is nothing underestimate. |
11:52:41 | liblq-dev | mozilla is mozilla but after using rust for a few weeks i can see why people like it |
11:52:45 | FromDiscord | <haxscramper> They had more people on documentation team than we have core devs |
11:53:26 | FromDiscord | <haxscramper> Like really? Idk how much people exactly worked on rust, but I suspect it is in the dozens easily |
11:53:43 | PMunch | I mean a single blog post saying "We at large company X are using Y language for our next release" would bring a lot of PR to any language |
11:53:46 | FromDiscord | <hamidb80> In reply to @liblq-dev "mozilla is mozilla but": Why? |
11:53:52 | FromDiscord | <konsumlamm> i mean, i saw many people saying they looked at go because it was made by google, but only rarely people saying they looked at rust because it was made by mozilla |
11:54:21 | FromDiscord | <konsumlamm> though the point about docs is fair |
11:54:23 | FromDiscord | <Araq> a team of paid compiler core devs doesn't hurt for adoption |
11:54:26 | PMunch | Sure, but you've heard about it because someone else have heard about it |
11:54:28 | FromDiscord | <haxscramper> Because go is nothing realy |
11:54:43 | FromDiscord | <haxscramper> Rust has something, as a language, as an idea. Overall it is a really good language I think. |
11:54:44 | liblq-dev | @hamidb80 they have a focus on really good tooling |
11:54:48 | FromDiscord | <haxscramper> Overhyped sometimes, yes, but still |
11:54:54 | FromDiscord | <haxscramper> `go` is just .... |
11:54:59 | PMunch | The question I get the most when people start realising how cool Nim is is "Why haven't I heard of Nim before?" |
11:55:06 | Clonkk[m] | Fundings and marketing go a long way |
11:55:16 | Clonkk[m] | You also need documentation for non technical people |
11:55:18 | FromDiscord | <dom96> they have ~~a focus~~ the workers to work on really good tooling |
11:55:19 | liblq-dev | go doesn't have any good, revolutionary ideas behind it. people adopted it because other people told them it's "easy" |
11:55:38 | FromDiscord | <dom96> Go has goroutines |
11:55:43 | FromDiscord | <haxscramper> anything else? |
11:55:44 | liblq-dev | so? |
11:55:47 | FromDiscord | <dom96> and "simplicity" |
11:55:49 | PMunch | Yeah go has goroutines |
11:55:58 | FromDiscord | <flywind> our stdlib is not very good(docs and features). |
11:56:00 | PMunch | Which makes it really easy to do a very specific kind of task |
11:56:04 | FromDiscord | <konsumlamm> ye, but neither of those ideas are new |
11:56:05 | liblq-dev | @dom96 just because rust has paid workers doesn't mean that hobbyists can't do just as well |
11:56:14 | liblq-dev | we all know what the pain points of nim are |
11:56:15 | liblq-dev | but |
11:56:20 | liblq-dev | getting into compiler development is difficult |
11:56:21 | FromDiscord | <konsumlamm> In reply to @flywind "our stdlib is not": sad but true |
11:56:36 | liblq-dev | because the god damn source code is so undocumented it scares people like me after 5 minutes. |
11:56:52 | FromDiscord | <dom96> In reply to @liblq-dev "<@132595483838251008> just because rust": @liblq-dev: actually, it does mean that exactly |
11:57:03 | FromDiscord | <Araq> ah it's this again |
11:57:19 | liblq-dev | but dom, we can't have many paid workers until the language gets good |
11:57:26 | liblq-dev | and gains on popularity |
11:57:37 | FromDiscord | <Araq> so here I am |
11:57:44 | FromDiscord | <Araq> what do you want to know about the compiler? |
11:57:54 | liblq-dev | where did all the comments go. |
11:58:11 | FromDiscord | <Araq> comments are like other code, the initial state is "unwritten" |
11:58:11 | liblq-dev | i don't want to rely on another person 24/7 while debugging or improving a piece of software |
11:58:15 | FromDiscord | <mratsim> I'm afraid of the compiler as well, especially sigmatch semtypes :p |
11:58:23 | liblq-dev | because that person might not be present at a given time |
11:58:41 | FromDiscord | <Araq> yes, but I am listening and will add doc comments |
11:58:47 | FromDiscord | <Araq> I won't reply here |
11:58:51 | FromDiscord | <haxscramper> I had to write sourcetrail for nim to dig around compiler |
11:58:56 | liblq-dev | @Araq: the thing with comments is that it's easy to write comments as you go, and then improve them incrementally |
11:58:57 | FromDiscord | <Araq> I am asking you now here |
11:59:14 | FromDiscord | <Araq> and as a result you'll see a PR |
12:00:30 | FromDiscord | <Araq> bbl |
12:06:07 | FromDiscord | <carpal> In reply to @liblq-dev "mozilla is mozilla but": and why ? |
12:07:41 | FromDiscord | <konsumlamm> good documentation, nice type system, good tooling, memory safety, speed, ... |
12:08:56 | FromDiscord | <konsumlamm> big ecosystem |
12:09:06 | FromDiscord | <konsumlamm> easy and safe concurrency |
12:10:00 | FromDiscord | <konsumlamm> (for the most part) |
12:20:04 | * | krux02 joined #nim |
12:22:07 | FromDiscord | <mratsim> good documentation came somewhat late for Rust, it really was confusing in 2015 when I tried it |
12:22:40 | FromDiscord | <mratsim> what's nice about the type system is the guarantees, what's not nice about the type system is working with it 😉 |
12:22:50 | FromDiscord | <konsumlamm> 🤔 |
12:23:07 | FromDiscord | <mratsim> the concurrency story came after as well. There was no async/await or Tokio for a while |
12:23:47 | FromDiscord | <mratsim> I mean, When I started Rust, I added "clone" everywhere, and I'm not even talking about creating tree algorithms |
12:23:49 | FromDiscord | <konsumlamm> i think i started to look at it around the time where async/await was becoming a thing |
12:25:01 | FromDiscord | <mratsim> I think Rust is a very good language for companies and team, but for fun and hobbies (or science) it's too ceremonial |
12:25:27 | FromDiscord | <zetashift> In reply to @PMunch "I mean a single": Talking about blogposts, I remember Rust doing a like a month of blogposts and a lot of it got attention with the sites I browse, maybe something to consider with Nim. F# does this too in December with an advent calender for F# related blogposts |
12:25:28 | FromDiscord | <konsumlamm> it is fun for me ¯\_(ツ)_/¯ |
12:25:57 | FromDiscord | <konsumlamm> In reply to @zetashift "Talking about blogposts, I": there is "This month with Nim" now |
12:25:58 | FromDiscord | <mratsim> well I find cryptography fun so what do i know |
12:26:18 | FromDiscord | <konsumlamm> lol |
12:26:38 | FromDiscord | <zetashift> In reply to @konsumlamm "there is "This month": I know! It's great :D, but blogposts tend to be easier to market around |
12:26:45 | ForumUpdaterBot | New thread by Benob: Async stack traces referring to macros, see https://forum.nim-lang.org/t/7557 |
12:26:58 | PMunch | Well I guess we could get the most prominent blogpost writers in the community to write one or two articles and stagger their releases over a month |
12:27:09 | FromDiscord | <mratsim> I have a blog post I wrote in december that wasn't published still :/ |
12:27:26 | PMunch | I have one I wrote last year that I still haven't published.. |
12:27:34 | FromDiscord | <mratsim> december is last year |
12:27:45 | PMunch | What's the most punny month for Nim posts? |
12:27:47 | FromDiscord | <mratsim> I mean it was submitted to Nim's blog |
12:27:55 | PMunch | @mratsim, fair point. About a month ago I meant |
12:28:00 | PMunch | about a year ago* |
12:29:04 | FromDiscord | <zetashift> I should rewrite my Godot post with some more stuff added to it |
12:29:10 | FromDiscord | <carpal> In reply to @konsumlamm "good documentation, nice type": nim has a good documentation too imho. nim has a good type system too or not? I saw a lot of benchmarks and nim is always faster than rust. nim allows you to use the memory managment you want, gc is safe arc too I think |
12:29:27 | FromDiscord | <konsumlamm> the documentation isn't really comparable tbh |
12:29:50 | FromDiscord | <zetashift> Rust Book is really really good tbh, Nim assumes programmer experience for a lot of things |
12:30:12 | FromDiscord | <konsumlamm> nim has a good type system in theory maybe, but parts of it are a bit broken/unstable |
12:30:14 | FromDiscord | <flywind> Rust is well designed, the RFC book is so great. https://rust-lang.github.io/rfcs/1252-open-options.html |
12:30:20 | FromDiscord | <zetashift> I liked Rust but nothing what I do requires that low-level/boilerplate of programming |
12:30:28 | FromDiscord | <konsumlamm> and something i prefer about generics in Rust is that they're not SFINAE |
12:30:54 | FromDiscord | <zetashift> `Substitution failure is not an error` had to google that |
12:31:12 | FromDiscord | <konsumlamm> GC is safe, sure, but Rust doesn't need a GC and is still safe |
12:32:03 | FromDiscord | <zetashift> Yes I get that but it's at the cost of maintaining lifetimes and thinking a lot about low level stuff, to `String` thing also. I don't need that power yet haha |
12:32:06 | FromDiscord | <mratsim> it uses Rc |
12:32:34 | FromDiscord | <konsumlamm> it doesn't if you don't tell it to |
12:32:52 | FromDiscord | <mratsim> same for Nim |
12:33:03 | FromDiscord | <mratsim> don't use ref types |
12:33:04 | FromDiscord | <mratsim> no GC |
12:33:28 | FromDiscord | <konsumlamm> in Rust, you can still make heap allocations without GC tho |
12:33:36 | FromDiscord | <konsumlamm> and it's still memory safe |
12:33:46 | FromDiscord | <mratsim> if you compile nim with gc:destructors you can too. |
12:34:17 | FromDiscord | <flywind> Not to mention Rust, even compared to other less popular new languages(Zig, Crystal), we did not much better.(big number, decimal, tempfile, threadsafe once, spinlock, read/write lock, concurrent data structures, uuid, io_uring, ryu etc. |
12:34:57 | FromDiscord | <mratsim> We did Windows though |
12:35:12 | FromDiscord | <konsumlamm> speaking of `gc:destructors`, is that documented anywhere? because it isn't in the GC manual? so how the hell is anyone supposed to know about it? |
12:35:14 | FromDiscord | <mratsim> I don't think concurrent data structures need to be in the standard library |
12:35:30 | FromDiscord | <mratsim> it's a black hole that sucks all energy |
12:36:09 | FromDiscord | <konsumlamm> honestly, for me the borrow checker is just a side effect, i mostly like it because of the traits, ADTs etc. |
12:36:14 | FromDiscord | <carpal> In reply to @konsumlamm "GC is safe, sure,": yes, but you have to clone an object on the heap. it means to allocate another address on the heap and copy there all you want to move into |
12:36:34 | FromDiscord | <konsumlamm> whata re you talking about? |
12:38:05 | FromDiscord | <konsumlamm> often, you can just move it and if you want shared ownership, you can still use Rc |
12:39:56 | * | Sembei quit (Ping timeout: 240 seconds) |
12:41:00 | * | haxscramper quit (Remote host closed the connection) |
12:41:11 | * | rockcavera joined #nim |
12:41:11 | FromDiscord | <flywind> http://www.modulecounts.com/ |
12:44:12 | FromDiscord | <zetashift> that graph sure gets hard to read when you add languages |
12:44:23 | FromDiscord | <Araq> @flywind agreed but then what's the point |
12:44:36 | FromDiscord | <Araq> Rust is a good language, plenty of lessons to learn from it |
12:44:46 | FromDiscord | <flywind> In reply to @zetashift "that graph sure gets": just compare Nim and Crystal. |
12:44:46 | FromDiscord | <Araq> same holds for Go even though I don't like it much |
12:47:30 | FromDiscord | <Araq> @flywind Crystal is more popular because it's closer to Ruby than Nim is to Python, afaict |
12:50:30 | FromDiscord | <dom96> Crystal is more popular? By what measure? |
12:51:07 | FromDiscord | <carpal> In reply to @Araq "same holds for Go": lol |
12:53:19 | FromDiscord | <zetashift> In reply to @dom96 "Crystal is more popular?": GH stars if you fancy that, but I think it's more like "Crystal can get the ball rolling faster cause it strives to be close to Ruby, but Nim only has the syntax in common with Python" |
12:56:57 | FromDiscord | <nachos> yeah rust is actually pretty good but rn it's going through that phase where everyone just wants to rewrite long-standing stable tools in rust just because rust |
12:57:44 | FromDiscord | <nachos> it's not really a bad thing but it doesn't make much sense for some tools |
13:00:28 | FromDiscord | <zetashift> A lot of programmers just need new shiny things |
13:00:31 | FromDiscord | <konsumlamm> GH stars, the most accurate measurement of popularity |
13:01:22 | FromDiscord | <zetashift> In reply to @konsumlamm "GH stars, the most": Let me be clear I am not one that thinks GH stars are an accurate measurement |
13:01:32 | FromDiscord | <flywind> https://tjpalmer.github.io/languish/ |
13:01:50 | FromDiscord | <flywind> this shows Nim is better than Crystal. |
13:03:36 | FromDiscord | <konsumlamm> i hope concepts will be used in the stdlib in the future |
13:03:51 | FromDiscord | <Araq> @konsumlamm please help by trying |
13:04:06 | FromDiscord | <Araq> I merged the new concepts to encourage experiments |
13:04:31 | FromDiscord | <Araq> (also the concepts code is documented well, in my very humble, subjective, worthless opinion) |
13:04:32 | * | kitech1- quit (Quit: ZNC 1.7.5 - https://znc.in) |
13:05:10 | FromDiscord | <konsumlamm> In reply to @Araq "<@!312654963694108674> please help by": by trying out concepts in general or by trying to use th in the stdlib? |
13:05:13 | * | kitech1 joined #nim |
13:05:25 | FromDiscord | <Araq> somewhere |
13:05:33 | FromDiscord | <Araq> all we currently have are green tests |
13:07:13 | FromDiscord | <nachos> i have a friend that absolutely loves crystal, although honestly nim syntax looks better to me |
13:07:26 | FromDiscord | <nachos> i can't really compare them until i use both |
13:07:36 | FromDiscord | <konsumlamm> In reply to @flywind "https://tjpalmer.github.io/languish/": brainfuck is quite high |
13:07:49 | FromDiscord | <Noobi> Is there any recommendation for parentheses for methods e.g. `echo`? |
13:07:58 | FromDiscord | <zetashift> Like a style guide? |
13:08:18 | FromDiscord | <zetashift> if there is only one argument passed then you can skip the parentheses |
13:08:47 | FromDiscord | <Noobi> Yeah, but what's like the common thing? |
13:08:57 | FromDiscord | <nachos> In reply to @Noobi "Is there any recommendation": id probably use them anyways for consistency |
13:09:52 | FromDiscord | <konsumlamm> i use them evwrywhere except for echo and spawn ¯\\_(ツ)\_/¯ |
13:10:11 | FromDiscord | <Solitude> i omit them everywhere i can |
13:10:39 | FromDiscord | <exelotl> I tend to skip parentheses for echo, add, inc/dec and for 'getters' |
13:11:28 | FromDiscord | <exelotl> anything that's so ubiquitous that it could be a keyword |
13:13:40 | * | idf left #nim ("ERC (IRC client for Emacs 27.1)") |
13:18:54 | * | idf joined #nim |
13:21:29 | * | Tanger quit (Quit: Leaving) |
13:26:00 | FromDiscord | <carpal> I hate parenthesesless function calls |
13:26:30 | FromDiscord | <carpal> only for echo I omit them |
13:27:31 | FromDiscord | <mratsim> all function calls are created equal |
13:27:46 | FromDiscord | <carpal> ok so? |
13:28:46 | * | idf left #nim ("ERC (IRC client for Emacs 27.1)") |
13:29:17 | * | idf joined #nim |
13:30:27 | FromDiscord | <mratsim> no discrimination or hate speech, functions should be equal except if they are `!=` |
13:30:51 | FromDiscord | <ache of head> haha |
13:31:11 | FromDiscord | <carpal> ahahah |
13:31:13 | idf | f(x) = g(x) |
13:31:23 | FromDiscord | <carpal> yea |
13:31:25 | FromDiscord | <carpal> poor g |
13:31:32 | FromDiscord | <zetashift> hahhaha |
13:31:41 | FromDiscord | <carpal> don't say anything against g |
13:31:49 | FromDiscord | <carpal> it has the same rights of f |
13:40:06 | FromGitter | <gogolxdong> How is https://github.com/arnetheduck/nlvm going? |
13:41:43 | * | kitech1 quit (Quit: ZNC 1.7.5 - https://znc.in) |
13:42:02 | * | kitech1 joined #nim |
13:43:45 | FromDiscord | <DARTHVADER NAXXX> What differences between `gcc` and `llvm`? |
13:43:56 | FromDiscord | <DARTHVADER NAXXX> (edit) removed "What" |
13:44:02 | FromDiscord | <DARTHVADER NAXXX> (edit) "differences" => "Differences" |
13:44:35 | FromDiscord | <mratsim> 7 letters |
13:44:41 | * | Vladar quit (Quit: Leaving) |
13:45:34 | FromDiscord | <carpal> hahahha |
13:46:47 | FromDiscord | <carpal> In reply to @DARTHVADER NAXXX "Differences between `gcc` and": gcc and clang? |
13:46:53 | FromDiscord | <carpal> llvm is used by clang |
13:47:05 | FromDiscord | <carpal> but llvm does not manage c directly |
13:47:08 | FromDiscord | <DARTHVADER NAXXX> In reply to @carpal "gcc and clang?": yes |
13:47:54 | FromDiscord | <carpal> clang file.c -> file.ll (multiplatform, static typed, bla bla bytecode) -> file.exe |
13:48:08 | FromDiscord | <carpal> rustc file.rs -> file.ll -> file.exe |
13:48:25 | FromDiscord | <carpal> this means that you can do file.c + file.rs -> file.exe |
13:50:36 | FromDiscord | <carpal> https://media.discordapp.net/attachments/371759389889003532/814494557092839467/5e08f557ad6bad4b45b60524_c47cbc8cca9448df840b6c203a38ab8d.png |
13:51:17 | FromDiscord | <apollo> ahh yes rust |
13:51:25 | FromDiscord | <carpal> this is the llvm ir the previously image is talking about https://media.discordapp.net/attachments/371759389889003532/814494761297379398/preview.png |
13:51:48 | FromDiscord | <carpal> it is very elegant |
13:52:43 | FromDiscord | <carpal> I'm curretly using it in my compiler, but I think I'll switch to my own ir |
13:55:23 | FromDiscord | <zetashift> @flywind am I using your single line collect example wrong? https://play.nim-lang.org/#ix=2QOB |
13:55:33 | FromDiscord | <flywind> use devel version |
13:55:38 | FromDiscord | <flywind> it's a new feature |
13:55:56 | FromDiscord | <flywind> https://nim-lang.github.io/Nim/sugar.html#collect.m%2Cuntyped%2Cuntyped |
13:56:09 | FromDiscord | <carpal> 1. to learn more 2. to implement a custom type checking system |
13:58:45 | FromDiscord | <zetashift> oh I see, thank you, I keep forgetting to switch to devel haha |
13:59:33 | FromDiscord | <flywind> never mind, you could add this one line feature to docs 😛 |
13:59:34 | FromDiscord | <flywind> https://nim-lang.github.io/Nim/sugar.html#collect.m%2Cuntyped |
14:09:28 | FromDiscord | <zetashift> Thanks 💯 |
14:09:54 | FromDiscord | <zetashift> for the one line feature should I make a separate PR? |
14:10:00 | FromDiscord | <flywind> yeah |
14:30:32 | FromDiscord | <carpal> how can I fix? https://media.discordapp.net/attachments/371759389889003532/814504609284358144/unknown.png |
14:30:35 | FromDiscord | <carpal> on windows |
14:30:43 | FromDiscord | <carpal> nim-lang/opengl |
14:31:08 | FromDiscord | <InventorMatt> if you have freeglut downloaded you just need to put it into the same folder as your program |
14:33:19 | FromDiscord | <carpal> this is my friend problem↵https://cdn.discordapp.com/attachments/651135598282801162/814505025183285258/unknown.png |
14:34:37 | FromDiscord | <InventorMatt> https://forum.nim-lang.org/t/7551 this forum thread may help you with that |
14:40:20 | * | asdflkj joined #nim |
14:50:44 | FromDiscord | <carpal> thanks |
14:50:48 | FromDiscord | <carpal> He's trying |
14:52:02 | FromDiscord | <mratsim> alternative ;): https://ubuntu.com/download |
14:55:21 | FromDiscord | <carpal> lollo |
14:55:24 | FromDiscord | <carpal> I have ubuntu |
14:55:30 | FromDiscord | <carpal> but I prefer windows lol |
14:56:53 | FromDiscord | <carpal> where can I find the packages.json |
14:58:16 | asdflkj | linux mint is a more windows-like ubuntu-based distro |
15:03:39 | FromDiscord | <carpal> no lol |
15:03:49 | FromDiscord | <carpal> I like ubuntu stile and all |
15:04:04 | FromDiscord | <carpal> but I have nvidia and all lags (also with drivers) |
15:05:37 | FromDiscord | <juan_carlos> I use Arch BTW. |
15:06:40 | * | waleee-cl joined #nim |
15:06:44 | asdflkj | Distros that call themselves “A simple, lightweight distribution” and then ship systemd suck btw |
15:10:04 | FromDiscord | <juan_carlos> Artix. |
15:12:42 | FromDiscord | <Yardanico> `s/Artix/Void Linux` |
15:14:49 | leorize[m] | systemd is pretty light tbh |
15:15:03 | asdflkj | [citation needed] |
15:15:54 | FromDiscord | <mratsim> "systemd is pretty light tbh" |
15:16:14 | FromDiscord | <Yardanico> average joke |
15:16:22 | FromDiscord | <Recruit_main707> - leorize 25/02/2021 at 16:16 |
15:16:24 | FromDiscord | <mratsim> light joke |
15:16:35 | FromDiscord | <Yardanico> nimmoke |
15:18:42 | Prestige | systemd is great |
15:19:29 | asdflkj | pending moderation: http://bash.org/?quote=967614 |
15:19:58 | FromDiscord | <Yardanico> https://ghnou.su/systemd (not the original, but still funny) |
15:20:09 | FromDiscord | <Yardanico> sent a long message, see http://ix.io/2QP9 |
15:20:37 | FromDiscord | <apollo> bloat |
15:21:32 | leorize[m] | I truly believe that systemd is great, but that's just me I guess |
15:22:05 | FromDiscord | <juan_carlos> No correlation, Void is not Arch based. |
15:22:06 | FromDiscord | <mratsim> not just you, I do believe that pulseaudio was poorly executed though |
15:22:10 | asdflkj | «just me I guess» no, RedHat and IBM agree |
15:22:23 | FromDiscord | <mratsim> the number of support requests pulseaudio generated in the Arch forum :/ |
15:22:31 | FromDiscord | <Yardanico> @juan_carlos i wasn't talking about correlation, I was talking about the fact that Void Linux is a better distro than Artix if you don't want systemd |
15:22:40 | FromDiscord | <Yardanico> believe me, I used Artix for about a year myself |
15:22:50 | leorize[m] | pipewire is gonna take over, but it's gonna take awhile |
15:23:22 | FromDiscord | <juan_carlos> I did not say Void is bad. |
15:23:44 | FromDiscord | <juan_carlos> Alpine is also becoming nice for Desktop, it can do KDE and all. |
15:23:50 | FromDiscord | <Yardanico> alpine is musl-based |
15:24:16 | leorize[m] | use void if you want a musl-based desktop (if they still maintains that) |
15:24:22 | FromDiscord | <Yardanico> they do |
15:24:34 | FromDiscord | <Yardanico> I just meant that by using desktop you'll most likely want to use at least one proprietary application |
15:24:48 | leorize[m] | flatpak comes to the rescue :) |
15:25:04 | FromDiscord | <Yardanico> and musl doesn't work with those at all :P I know there's gcompat and you can do glibc chroots, but why not use a glibc-based distro in the first place then |
15:25:24 | leorize[m] | I use flatpak and it works very well |
15:25:32 | FromDiscord | <Yardanico> I don't like flatpak (or snap) too to be honest, I prefer native packages from the repos |
15:25:40 | FromDiscord | <juan_carlos> ...and that why I said Artix. |
15:25:42 | FromDiscord | <Yardanico> they're too bloated (yes bloat) for me |
15:25:46 | leorize[m] | or you can setup a toolbox if your distro packages that |
15:25:47 | FromDiscord | <Yardanico> @juan_carlos Void is glibc-based by default |
15:26:05 | FromDiscord | <Yardanico> https://voidlinux.org/download/ |
15:26:10 | asdflkj | snap is nasty, flatpak idk, AppImage is useful in moderation |
15:26:10 | FromDiscord | <apollo> lol just use Windows 😎 |
15:26:17 | FromDiscord | <Yardanico> yes, AppImage has its uses |
15:26:22 | FromDiscord | <Yardanico> but I don't like snap/flatpak at all |
15:26:30 | FromDiscord | <juan_carlos> dec Flatpak |
15:26:37 | FromDiscord | <mratsim> I think we have been offtopic for a while now, I'm sorry for talking about Ubuntu |
15:26:48 | FromDiscord | <Yardanico> no one is asking ontopic questions anyway :D |
15:28:01 | FromDiscord | <Yardanico> how to cross-compile kde2 to freebsd i486? |
15:28:01 | FromDiscord | <mratsim> there was one about >indows SSL certificate |
15:28:01 | FromDiscord | <Yardanico> @carpal check #nimble |
15:28:01 | FromDiscord | <Yardanico> i helped a person solve the same problem |
15:28:01 | FromDiscord | <Yardanico> but yeah, the solution on the forum is the same |
15:29:04 | asdflkj | there is #nim-offtopic but it's +R and I've waited maybe a month for Araq or dom96 to respond after I pinged one of them about it |
15:34:03 | FromDiscord | <carpal> In reply to @Yardanico "<@!699146708466008115> check <#753721959308853319>": thanks, what should I do? https://media.discordapp.net/attachments/371759389889003532/814520586423894086/unknown.png |
15:34:26 | FromDiscord | <Yardanico> just download cacert.pem and place it in any folder in your %PATH% |
15:34:32 | FromDiscord | <Yardanico> preferably in the folder with `nim` and `nimble` binaries |
15:36:28 | leorize[m] | you can also wait for 1.4.6 :p |
15:37:26 | FromDiscord | <Yardanico> shh |
15:41:37 | FromDiscord | <SneakyBaguette> In reply to @Yardanico "but I don't like": Why is that ? |
15:42:05 | FromDiscord | <Yardanico> because they duplicate a lot of system libraries for each software, just like windows software does it |
15:42:12 | FromDiscord | <Yardanico> (edit) "software," => "program," |
15:42:36 | FromDiscord | <carpal> In reply to @Yardanico "preferably in the folder": doesn't work anyway |
15:42:47 | FromDiscord | <Yardanico> define "doesn't work" |
15:42:56 | FromDiscord | <carpal> same error lol |
15:44:46 | FromDiscord | <Yardanico> then I don't know, because it should work just fine |
15:47:57 | * | PMunch quit (Quit: leaving) |
16:01:04 | FromDiscord | <apollo> . |
16:14:29 | * | fosred joined #nim |
16:15:10 | ForumUpdaterBot | New thread by YesDrX: Onnxruntime C Api wrapped for nim, see https://forum.nim-lang.org/t/7558 |
16:20:14 | * | haxscramper joined #nim |
16:27:38 | * | fosred quit (Quit: Leaving) |
16:34:31 | FromDiscord | <dom96> asdflkj: what's +R again? |
16:35:23 | asdflkj | I meant +r . it's a channel mode that bans all unregistered users |
16:36:12 | * | zedeus_ is now known as zedeus |
16:39:41 | FromDiscord | <dom96> so register? 🙂 |
16:40:46 | asdflkj | I'm told it would also make things easier for matrix users too (https://irclogs.nim-lang.org/22-01-2021.html#23:26:35) |
16:58:42 | FromDiscord | <carpal> sent a code paste, see https://play.nim-lang.org/#ix=2QPM |
16:58:45 | FromDiscord | <Yardanico> ?? |
16:58:52 | FromDiscord | <carpal> shouldn't better pass a var x? |
16:58:59 | FromDiscord | <Yardanico> why? |
16:59:08 | FromDiscord | <Yardanico> if you don't modify, don't pass as `var` |
16:59:11 | FromDiscord | <carpal> it weighs 8 byte |
16:59:18 | FromDiscord | <carpal> a pointer |
16:59:28 | FromDiscord | <carpal> and the struct 16 |
16:59:36 | FromDiscord | <Yardanico> the nim/c compiler will figure out the best way to pass the argument anyway |
16:59:40 | FromDiscord | <Yardanico> and they're smarter than us :) |
16:59:49 | FromDiscord | <Yardanico> in this case it's fine to just pass like that |
16:59:52 | FromDiscord | <carpal> so I should copy 16 byte, but why not creating a pointer and copy it? |
17:00:09 | FromDiscord | <carpal> In reply to @Yardanico "and they're smarter than": ahhah sure |
17:00:21 | FromDiscord | <Yardanico> @carpal because a pointer needs to also be dereferences |
17:00:22 | FromDiscord | <Yardanico> (edit) "dereferences" => "dereferenced" |
17:01:14 | * | Jjp137 quit (Ping timeout: 264 seconds) |
17:01:27 | * | Jjp137 joined #nim |
17:01:35 | FromDiscord | <carpal> ah right |
17:02:27 | FromDiscord | <carpal> but something on the stack pointed by it does not need to be deallocated by the gc |
17:02:38 | FromDiscord | <carpal> dereferenced? |
17:02:57 | FromDiscord | <Yardanico> if you pass by pointer/reference, it needs to be dereferenced |
17:04:09 | FromDiscord | <Yardanico> just don't use `var` unless you need to mutate and everything will be fine |
17:04:09 | FromDiscord | <Yardanico> profile your code and don't assume that something might be slow when it's not :) |
17:12:31 | FromDiscord | <haxscramper> Nim 1.4.4 is live at godbolt |
17:12:53 | FromDiscord | <haxscramper> Also noticed they have nim trunk (1.5.1 from `NimVersion`) |
17:15:56 | FromDiscord | <carpal> 👏 |
17:22:34 | * | clyybber joined #nim |
17:26:03 | FromDiscord | <Yardanico> @haxscramper we still need to solve the problem with multiple modules :( |
17:26:26 | FromDiscord | <Yardanico> godbolt will only show the assembly code for the current nim src file, not stdlib modules |
17:27:57 | FromDiscord | <haxscramper> Really? I thought it shows assembly for the whole binary |
17:29:00 | FromDiscord | <Yardanico> yeah sadly it doesn't |
17:30:42 | leorize[m] | tick the "compile binary" flag and it will show everything |
17:31:56 | FromDiscord | <Yardanico> i don't think so |
17:31:58 | FromDiscord | <Yardanico> it's the same |
17:32:17 | FromDiscord | <Yardanico> I think for Nim it doesn't change anything |
17:32:35 | FromDiscord | <nachos> is it just me or does type x = object look better on a single line? |
17:33:18 | FromDiscord | <haxscramper> sent a code paste, see https://play.nim-lang.org/#ix=2QQ4 |
17:33:26 | krux02 | @nachos: it does, but my editor works better if I split it |
17:33:41 | FromDiscord | <Yardanico> @leorize --debugger:native -o:/tmp/compiler-explorer-compiler2021125-5262-3j37e.n86ua6/output.s --nolinking --nimcache:/tmp/compiler-explorer-compiler2021125-5262-3j37e.n86ua6/output.s.cache compile -d:danger /tmp/compiler-explorer-compiler2021125-5262-3j37e.n86ua6/example.nim |
17:33:45 | FromDiscord | <Yardanico> even when "compile to binary" is on |
17:33:49 | FromDiscord | <Yardanico> that's the cmdline godbolt uses |
17:33:56 | FromDiscord | <Yardanico> as I said, its support for nim isn't the best |
17:34:59 | krux02 | @Yardanico, what is the problem with that line? |
17:35:13 | FromDiscord | <Yardanico> @krux02 it won't show you assembly for other nim modules (e.g. stdlib) |
17:35:23 | FromDiscord | <Yardanico> only for your source file |
17:36:09 | leorize[m] | they used to show everything |
17:36:22 | krux02 | yea, compiler explorer is made for C and around C, and that shows sometimes when you want to look at something that is not C |
17:37:23 | krux02 | as far as I know, compiler explorer always showed the important parts. |
17:37:44 | krux02 | when you include files in C, you don't want to see their assembly either |
17:39:10 | FromDiscord | <Yardanico> well `echo "hi"` gives you 57 lines of assembly with -d:danger --gc:arc which is a bit wrong :) |
17:39:19 | FromDiscord | <Yardanico> because the actual echo impl is larger than that |
17:40:24 | FromDiscord | <Yardanico> at least with "compile to binary" it should show assembly of the whole binary |
17:42:32 | FromDiscord | <haxscramper> I think it might be considered "wrong" in theory, but nobody really needs to look at 2k+ lines of assembly from `echo`, so i guess it is fine |
17:42:32 | FromDiscord | <haxscramper> So this is pragmatic approach |
17:42:32 | FromDiscord | <Yardanico> well, it's not an issue for normal viewing yes |
17:42:32 | FromDiscord | <Yardanico> but when you turn on "compile to binary" the behaviour right now just doesn't change |
17:42:39 | FromDiscord | <Yardanico> since nim in godbolt has hardcoded --nolinking |
17:42:46 | FromDiscord | <Yardanico> so it won't build or run the full binary |
17:42:55 | FromDiscord | <Yardanico> (and godbolt can run and show you output of binaries) |
17:42:57 | leorize[m] | I wonder why they switched to that version |
17:43:23 | FromDiscord | <Yardanico> relevant file is https://github.com/compiler-explorer/compiler-explorer/blob/main/lib/compilers/nim.js by the way |
17:44:18 | leorize[m] | guess we need to patch that? |
17:44:22 | FromDiscord | <Yardanico> yes |
17:44:31 | FromDiscord | <Yardanico> I already patched it in the past a bit (added --debugger:native) |
17:45:31 | FromDiscord | <Yardanico> the whole file only has 10 commits 4 of which are unrelated to actual process |
17:46:15 | FromDiscord | <Yardanico> we can check rust for example https://github.com/compiler-explorer/compiler-explorer/blob/main/lib/compilers/rust.js |
17:46:39 | * | Vladar joined #nim |
17:52:19 | * | lkajsdf joined #nim |
17:54:02 | FromDiscord | <Noobi> Is it more common to print text and variables using `echo "some ", variable` or `echo "some " & $variable`? |
17:54:37 | FromDiscord | <Yardanico> first one, but people are also starting to use strformat more often |
17:54:46 | FromDiscord | <Yardanico> https://nim-lang.org/docs/strformat.html |
17:55:14 | FromDiscord | <Yardanico> there's also https://nim-lang.org/docs/sugar.html#dump.m%2Cuntyped if you want to "dump" the result of an expression |
17:56:56 | * | rockcavera quit (Remote host closed the connection) |
18:13:25 | FromDiscord | <carpal> In reply to @Yardanico "as I said, its": I think it is so useless. looking c disassembled is easy but nim one not |
18:13:33 | FromDiscord | <Yardanico> why? |
18:14:03 | FromDiscord | <carpal> it does shows calls with addresses |
18:14:13 | FromDiscord | <carpal> NimMain+12, why? |
18:14:53 | * | lkajsdf is now known as lkjasdf |
18:14:54 | FromDiscord | <carpal> imo it could be better if like c one |
18:15:32 | FromDiscord | <Yardanico> that's doesn't go against what I say |
18:15:40 | FromDiscord | <Yardanico> of course if you have time you can improve it, add demanglers, etc |
18:16:05 | FromDiscord | <Yardanico> but big things come from small things, y'know |
18:16:36 | FromDiscord | <Yardanico> also it actually shows calls normally |
18:16:58 | FromDiscord | <Yardanico> it shows calls like "NimMain+12" only if they're not in the same module (because the assembly is only shown for the current source file, not for the stdlib) |
18:17:12 | FromDiscord | <Yardanico> https://media.discordapp.net/attachments/371759389889003532/814561645778960473/unknown.png |
18:20:57 | FromDiscord | <carpal> ah okay |
18:21:04 | FromDiscord | <carpal> I don't know, at first look c dis is easier to read https://media.discordapp.net/attachments/371759389889003532/814562617393676298/IMG_20210225_191734.jpg https://media.discordapp.net/attachments/371759389889003532/814562617615581194/IMG_20210225_191851.jpg |
18:21:55 | FromDiscord | <Yardanico> compile with `-d:danger` |
18:22:05 | FromDiscord | <carpal> done |
18:22:15 | FromDiscord | <Yardanico> also preferably --gc:arc too |
18:22:24 | FromDiscord | <carpal> why? |
18:22:36 | FromDiscord | <Yardanico> because it usually results in shorter c and assembly code |
18:22:47 | FromDiscord | <Yardanico> and it's generally better :P |
18:23:49 | FromDiscord | <Yardanico> if you want the most compact (not fastest) assembly code `-d:danger --opt:size --gc:arc` is generally your best bet |
18:24:11 | FromDiscord | <Yardanico> in godbolt I mean |
18:30:15 | FromDiscord | <carpal> ok thank you |
18:31:12 | Oddmonger | is it ok to do this for getting an alias of var ? var toto:ptr Foo = addr(foo) |
18:31:25 | Oddmonger | i know there is {.byref.} too |
18:31:38 | FromDiscord | <mratsim> just use `import std/decl` and use `{.byaddr.}` |
18:31:49 | FromDiscord | <mratsim> or templates |
18:31:55 | Oddmonger | yes i was meaning {.byaddr.} |
18:32:17 | Oddmonger | but using a pragma for such an usual operation puzzles me |
18:32:39 | Oddmonger | is it discouraged ? Hence the pragam ? |
18:36:36 | FromDiscord | <mratsim> it's experimental |
18:36:57 | FromDiscord | <mratsim> maybe it will become "alias" something |
18:37:00 | FromDiscord | <mratsim> or maybe not |
18:37:11 | Oddmonger | var foo = &bar ? :) |
18:37:24 | FromDiscord | <mratsim> nah, no sigil/symbol |
18:37:36 | FromDiscord | <mratsim> pointers need to be spelled out |
18:38:07 | Oddmonger | now i have understood ref is for new , and ptr for existing objects (caught with addr) |
18:38:26 | FromDiscord | <konsumlamm> umm, not really |
18:38:40 | FromDiscord | <Yardanico> yeah, not at all |
18:38:41 | FromDiscord | <konsumlamm> `ref` is a GC pointer and `ptr` is a normal raw pointer |
18:38:44 | FromDiscord | <Yardanico> this |
18:42:46 | Oddmonger | another strange thing is the need of dereferencing a ptr string for modifying it |
18:43:19 | FromDiscord | <Yardanico> why is it strange? |
18:43:34 | FromDiscord | <Yardanico> btw, why would you have a `ptr string` |
18:43:41 | Oddmonger | https://play.nim-lang.org/#ix=2QQU |
18:43:50 | FromDiscord | <Yardanico> that's a raw pointer to a managed reference to the string data |
18:43:51 | FromDiscord | <Yardanico> double indirection |
18:43:58 | Oddmonger | ah |
18:44:07 | Oddmonger | thought it was * , not ** |
18:44:32 | FromDiscord | <Yardanico> strings behave like value types but they indeed contain a reference |
18:44:39 | FromDiscord | <Yardanico> although it's a raw reference |
18:45:11 | Oddmonger | but on my own type (see https://play.nim-lang.org/#ix=2QQU) i don't need to dereference |
18:45:15 | FromDiscord | <Yardanico> @Oddmonger you can check e.g. how strings are defined with ARC/ORC (with refc it's a bit different) https://github.com/nim-lang/Nim/blob/devel/lib/system/strs_v2.nim#L12 |
18:45:27 | FromDiscord | <exelotl> I'm hoping that `var x {.byaddr.} = foo` will become something like `var x: var T = foo` right? |
18:45:31 | FromDiscord | <Yardanico> @Oddmonger because there's automatic dereference for dot access |
18:45:36 | FromDiscord | <Yardanico> same as in other languages |
18:45:58 | FromDiscord | <Yardanico> "The . (access a tuple/object field operator) and [] (array/string/sequence index operator) operators perform implicit dereferencing operations for reference types:" |
18:46:00 | FromDiscord | <Yardanico> https://nim-lang.org/docs/manual.html#types-reference-and-pointer-types |
18:46:21 | Oddmonger | ok i understand better, thank you |
18:49:19 | FromDiscord | <apahl> sent a code paste, see https://play.nim-lang.org/#ix=2QQY |
18:49:54 | FromDiscord | <Yardanico> how does it compare to zero functional? |
18:50:01 | FromDiscord | <Yardanico> ah lazy evaluation |
18:50:12 | FromDiscord | <Yardanico> just for the reference, there's https://github.com/zero-functional/zero-functional |
18:50:16 | FromDiscord | <apahl> Yes, with closure iterators. |
18:50:28 | FromDiscord | <Yardanico> well, that'll be a bit of a perf hit :P |
18:50:32 | FromDiscord | <Yardanico> so it'll be even slower than sequtils |
18:50:39 | FromDiscord | <apahl> Yes, thanks. I am aware of that library, as well. |
18:52:36 | FromDiscord | <Yardanico> btw, @apahl , what's the improvement of using lazyseq over sequtils/zero functional in your code example? |
18:52:48 | FromDiscord | <Avatarfighter> What's the safest way to convert a seq[char] to string? I am just casting but is it recommended that I iterate through the seq and add the chars to a string ? |
18:53:16 | FromDiscord | <apahl> In reply to @Yardanico "btw, <@!732968123745042443> , what's": In that trivial example there is ofc none. |
18:53:17 | FromDiscord | <Yardanico> @Avatarfighter seq[char] and string have the exact same memory layout as a matter of fact :P but if you want to be the safest you might want to iterate, I'm not sure honestly |
18:53:47 | krux02 | the memory layout of seq and string can change |
18:53:52 | FromDiscord | <Yardanico> yes, exactly |
18:54:40 | FromDiscord | <mratsim> don't cast !!!! |
18:54:51 | FromDiscord | <apahl> I just very much like the idea of iterating over a -well- iterator without having to allocate a sequence at the beginning, esp. in combination with option values. |
18:54:52 | FromDiscord | <mratsim> there is a missing \0 in seq[char] |
18:55:05 | FromDiscord | <mratsim> closure iterators allocate though |
18:55:23 | FromDiscord | <apahl> But not the whole sequence? |
18:55:32 | FromDiscord | <mratsim> not the whole sequence |
18:56:02 | FromDiscord | <apahl> Yes, I need to do some benchmarking how large the impact is. |
18:56:07 | FromDiscord | <Yardanico> for the reference btw, lazyseq is https://github.com/markspanbroek/nim-lazyseq/blob/main/lazyseq.nim |
18:58:18 | krux02 | @mratsim: the missing \0 in `seq[char]` only matters for conversion to cstr |
18:59:18 | FromDiscord | <Yardanico> remembers the old times when null terminator in strings was accessible |
18:59:18 | FromDiscord | <mratsim> sure but anywhere you need to do IO, for example network, http, stdout, you will have strange crashes |
18:59:59 | krux02 | yea probably. |
19:00:10 | krux02 | is casting possible in js as well? |
19:00:43 | krux02 | I mean from seq to str? |
19:01:05 | krux02 | probably I should just try it instead of asking |
19:03:49 | FromDiscord | <konsumlamm> it'll probably to some implicit conversion lol |
19:14:14 | FromDiscord | <Avatarfighter> okay guys converters are my new favorite thing, I finally have a reason to use them. implicit conversion is hot |
19:14:47 | FromDiscord | <mratsim> You became the very thing you swore to destroy |
19:15:51 | FromDiscord | <konsumlamm> noooooooooo |
19:18:16 | FromDiscord | <Avatarfighter> ahaha |
19:18:23 | FromDiscord | <Avatarfighter> tbf im just iterating through the seq and adding to a string for my converter, I am just in it for the implicit conversion |
19:27:57 | * | krux02` joined #nim |
19:33:07 | * | deepend_ is now known as deepend |
19:35:17 | * | haxscramper quit (Remote host closed the connection) |
19:37:48 | * | lkjasdf quit (Ping timeout: 260 seconds) |
19:39:24 | FromDiscord | <LITeralLANGuage9> Is there a debugger written in nim? |
19:39:30 | * | rockcavera joined #nim |
19:42:21 | * | tiorock joined #nim |
19:42:21 | * | tiorock quit (Changing host) |
19:42:21 | * | tiorock joined #nim |
19:42:21 | * | rockcavera is now known as Guest16668 |
19:42:21 | * | tiorock is now known as rockcavera |
19:45:19 | FromDiscord | <Solitude> no |
19:47:25 | FromDiscord | <Avatarfighter> I think most people use gdb |
19:47:45 | FromDiscord | <Avatarfighter> though if you are feeling adventurous and want to make a debugger, I don't think any of us will complain @LITeralLANGuage9 |
19:48:26 | FromDiscord | <LITeralLANGuage9> But gdb can only debug C code. How will I know what the nim code is causing the problem? |
19:48:57 | FromDiscord | <konsumlamm> well, Nim compiles to C code |
19:49:00 | * | Guest16668 quit (Remote host closed the connection) |
19:49:02 | * | rockcavera quit (Remote host closed the connection) |
19:49:13 | FromDiscord | <konsumlamm> and Nim can produce debug symbols that are used by gdb, afaik |
19:49:31 | * | rockcavera joined #nim |
19:51:07 | FromDiscord | <Solitude> In reply to @LITeralLANGuage9 "But gdb can only": nim (probably) ships with nim-gdb wrapper that makes gdb aware of nim |
19:54:45 | FromDiscord | <mratsim> compile with --debugger:native and then you have Nim<-> GDB or LLDB integration |
19:54:58 | FromDiscord | <mratsim> never used nim-gdb personally so can't comment on it |
19:56:54 | FromDiscord | <LITeralLANGuage9> Cool. Thanks. |
19:57:32 | FromDiscord | <LITeralLANGuage9> Can I cross-compile a windows dll on linux/macos or a linux .so on windows etc? |
19:58:34 | * | krux02`` joined #nim |
19:58:35 | * | idf left #nim ("ERC (IRC client for Emacs 27.1)") |
20:01:11 | * | idf joined #nim |
20:05:39 | FromDiscord | <Solitude> linux->windows is easy with mingw |
20:08:21 | FromDiscord | <LITeralLANGuage9> The question was if I could make a linux shared object (.so) on windows with nim. |
20:08:41 | * | lkjasdf joined #nim |
20:10:57 | * | lbart joined #nim |
20:10:57 | * | lbart quit (Changing host) |
20:10:57 | * | lbart joined #nim |
20:14:08 | leorize[m] | you might be able to, but it's not recommended due to how no one tests cross toolchain from windows to linux |
20:17:53 | FromDiscord | <Solitude> In reply to @LITeralLANGuage9 "The question was if": with wsl, probably |
20:29:18 | * | krux02`` quit (Remote host closed the connection) |
20:29:44 | FromDiscord | <IndianGoldSmith> Hi all, what is "suite" means in Nim ? |
20:30:23 | FromDiscord | <Rika> test suite |
20:30:27 | FromDiscord | <Rika> group of tests |
20:30:38 | FromDiscord | <Rika> found in unittest module i believe |
20:34:28 | FromDiscord | <IndianGoldSmith> @Rika Like a namespace ? |
20:34:28 | FromDiscord | <Rika> no more just a group of tests |
20:34:28 | FromDiscord | <IndianGoldSmith> Means, so many tests in under one suite ? |
20:34:28 | FromDiscord | <Rika> it doesnt act anything like a namespace i believe |
20:34:28 | FromDiscord | <Rika> yeah you can run them all if you specify the suite |
20:34:28 | FromDiscord | <IndianGoldSmith> Got it. Thank you. |
20:34:39 | * | Gustavo6046_ joined #nim |
20:34:50 | * | beatmox quit (Write error: Broken pipe) |
20:35:20 | * | antranigv_ joined #nim |
20:35:28 | * | spiderstew_ quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) |
20:35:28 | * | ebb quit (Quit: Somebody set up us the bomb) |
20:35:31 | * | stefantalpalaru quit (Quit: ZNC 1.7.5 - https://znc.in) |
20:35:58 | * | mal``` joined #nim |
20:36:23 | * | dsrw_ joined #nim |
20:36:32 | * | astronavt___ joined #nim |
20:36:34 | * | lkjasdf quit (Ping timeout: 269 seconds) |
20:36:38 | * | sepples_ quit (Quit: bye) |
20:36:44 | * | hpyc9 quit (Quit: 420) |
20:36:44 | * | GreaseMonkey quit (Quit: No Ping reply in 180 seconds.) |
20:36:44 | * | ehmry quit (Quit: No Ping reply in 180 seconds.) |
20:36:44 | * | kwilczynski quit (Ping timeout: 439 seconds) |
20:36:47 | * | ebb joined #nim |
20:37:04 | * | qwertfisch_ joined #nim |
20:37:13 | * | beatmox joined #nim |
20:37:15 | * | spiderstew joined #nim |
20:37:15 | * | kitech1- joined #nim |
20:37:15 | * | letto_ joined #nim |
20:37:15 | * | oz` joined #nim |
20:37:15 | * | ^Q-Master^ joined #nim |
20:37:16 | * | hpyc9 joined #nim |
20:37:16 | * | pbb_ joined #nim |
20:37:17 | * | kwilczynski joined #nim |
20:37:17 | * | kitech1- quit (Changing host) |
20:37:18 | * | kitech1- joined #nim |
20:37:20 | * | Xena joined #nim |
20:37:44 | * | Fake-Face joined #nim |
20:37:46 | * | greaser|q joined #nim |
20:37:53 | * | sepples joined #nim |
20:37:58 | * | astronavt quit (Quit: ...) |
20:38:00 | * | koltrast quit (Quit: ZNC - http://znc.in) |
20:38:13 | * | stefantalpalaru joined #nim |
20:38:42 | * | ForumUpdaterBot quit (Write error: Broken pipe) |
20:38:45 | * | qwertfisch quit (Quit: ZNC - http://znc.in) |
20:38:46 | * | letto quit (Remote host closed the connection) |
20:38:57 | * | r4vi quit (Ping timeout: 260 seconds) |
20:38:58 | * | ehmry joined #nim |
20:39:12 | * | ForumUpdaterBot joined #nim |
20:39:21 | * | blackpawn_ joined #nim |
20:39:25 | * | alex[m]28 quit (Ping timeout: 240 seconds) |
20:39:26 | * | Avatarfighter[m] quit (Ping timeout: 240 seconds) |
20:39:26 | * | Clonkk[m] quit (Ping timeout: 240 seconds) |
20:39:33 | * | Yardanico[m] quit (Ping timeout: 265 seconds) |
20:39:33 | * | Benjamin[m]2 quit (Ping timeout: 265 seconds) |
20:39:33 | * | j-james[m] quit (Ping timeout: 265 seconds) |
20:39:36 | * | zazi[m] quit (Ping timeout: 246 seconds) |
20:39:36 | * | vycb[m] quit (Ping timeout: 246 seconds) |
20:39:37 | * | stisa quit (Ping timeout: 246 seconds) |
20:39:41 | * | kaputse[m] quit (Ping timeout: 244 seconds) |
20:39:47 | * | liblq-dev quit (Ping timeout: 240 seconds) |
20:39:47 | * | antholop[m] quit (Ping timeout: 240 seconds) |
20:39:56 | * | smlckz[m] quit (Ping timeout: 240 seconds) |
20:40:00 | * | lnxw37d4 quit (Ping timeout: 268 seconds) |
20:40:04 | * | koltrast joined #nim |
20:40:05 | * | leorize[m] quit (Ping timeout: 240 seconds) |
20:40:18 | * | FlammableDuck[m] quit (Ping timeout: 246 seconds) |
20:40:25 | * | Zoom[m] quit (Ping timeout: 240 seconds) |
20:40:25 | * | sekao[m] quit (Ping timeout: 240 seconds) |
20:40:25 | * | wiltzutm[m] quit (Ping timeout: 240 seconds) |
20:40:26 | * | BitPuffin quit (Ping timeout: 240 seconds) |
20:40:26 | * | unclechu quit (Ping timeout: 240 seconds) |
20:40:34 | * | vqrs_ joined #nim |
20:40:37 | * | retroedgetech[m] quit (Ping timeout: 268 seconds) |
20:40:37 | * | vegai1 quit (Ping timeout: 268 seconds) |
20:40:37 | * | ee7[m] quit (Ping timeout: 268 seconds) |
20:40:37 | * | MTRNord quit (Ping timeout: 268 seconds) |
20:40:39 | * | Q-Master quit (Write error: Broken pipe) |
20:40:40 | * | mal`` quit (Quit: Leaving) |
20:40:40 | * | kitech1 quit (Quit: ZNC 1.7.5 - https://znc.in) |
20:40:40 | * | blackpawn quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) |
20:40:40 | * | Fish-Face quit (Quit: No Ping reply in 180 seconds.) |
20:40:42 | * | antranigv quit (Quit: ZNC 1.8.2 - https://znc.in) |
20:40:42 | * | vicfred quit (Remote host closed the connection) |
20:40:43 | * | oswin[m] quit (Ping timeout: 244 seconds) |
20:40:46 | * | xace_ quit (Remote host closed the connection) |
20:41:17 | * | r4vi joined #nim |
20:41:23 | * | lkjasdf joined #nim |
20:41:26 | * | nxnl[m] quit (Ping timeout: 240 seconds) |
20:41:26 | * | headache quit (Ping timeout: 240 seconds) |
20:41:26 | * | gollark[m]1 quit (Ping timeout: 264 seconds) |
20:41:44 | * | xace joined #nim |
20:42:34 | * | jk13579[m] quit (Ping timeout: 258 seconds) |
20:42:35 | * | i_use_arch_btw[4 quit (Ping timeout: 258 seconds) |
20:42:35 | * | vindaar[m] quit (Ping timeout: 258 seconds) |
20:42:44 | * | pbb quit (Remote host closed the connection) |
20:42:44 | * | oz quit (Quit: EOF) |
20:42:45 | * | Gustavo6046 quit (Remote host closed the connection) |
20:42:45 | * | dsrw quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
20:42:45 | * | oz` is now known as oz |
20:42:45 | * | Gustavo6046_ is now known as Gustavo6046 |
20:42:45 | * | JStoker quit (Remote host closed the connection) |
20:42:45 | * | vqrs quit (Remote host closed the connection) |
20:42:56 | * | watzon quit (Ping timeout: 240 seconds) |
20:42:56 | * | reversem3 quit (Ping timeout: 240 seconds) |
20:43:03 | * | njoseph quit (Remote host closed the connection) |
20:43:03 | * | Yardanico quit (Quit: No Ping reply in 180 seconds.) |
20:43:04 | * | Cadey quit (Remote host closed the connection) |
20:43:05 | * | Avahe[m] quit (Ping timeout: 268 seconds) |
20:43:13 | * | Yardanico joined #nim |
20:44:09 | * | njoseph joined #nim |
20:48:07 | * | JStoker joined #nim |
20:57:08 | * | Yardanico[m] joined #nim |
20:57:08 | * | Clonkk[m] joined #nim |
20:57:09 | * | Avatarfighter[m] joined #nim |
20:57:10 | * | Benjamin[m]2 joined #nim |
21:00:51 | * | zazi[m] joined #nim |
21:00:52 | * | vycb[m] joined #nim |
21:00:56 | * | alex[m]28 joined #nim |
21:00:58 | * | stisa joined #nim |
21:01:24 | * | phpostrich joined #nim |
21:03:27 | * | phpostrich quit (Client Quit) |
21:11:37 | FromDiscord | <Rika> timezones are painful given only the `times` module... |
21:12:56 | * | kaputse[m] joined #nim |
21:14:06 | * | smlckz[m] joined #nim |
21:14:10 | * | headache joined #nim |
21:14:10 | * | oswin[m] joined #nim |
21:14:11 | * | ee7[m] joined #nim |
21:14:12 | * | retroedgetech[m] joined #nim |
21:14:13 | * | vegai1 joined #nim |
21:14:55 | * | lnxw37d4 joined #nim |
21:15:06 | * | lkjasdf quit (Ping timeout: 265 seconds) |
21:15:57 | * | antholop[m] joined #nim |
21:16:25 | * | FlammableDuck[m] joined #nim |
21:16:33 | * | Zoom[m] joined #nim |
21:16:33 | * | sekao[m] joined #nim |
21:16:37 | * | liblq-dev joined #nim |
21:16:40 | * | wiltzutm[m] joined #nim |
21:16:49 | * | leorize[m] joined #nim |
21:18:16 | * | nxnl[m] joined #nim |
21:20:51 | * | jk13579[m] joined #nim |
21:20:59 | * | vindaar[m] joined #nim |
21:24:44 | * | i_use_arch_btw[4 joined #nim |
21:26:18 | * | watzon joined #nim |
21:27:02 | * | gollark[m]1 joined #nim |
21:29:28 | * | unclechu joined #nim |
21:29:31 | * | MTRNord joined #nim |
21:29:46 | * | reversem3 joined #nim |
21:30:18 | * | Avahe[m] joined #nim |
21:31:13 | * | BitPuffin joined #nim |
21:34:52 | * | abm joined #nim |
21:41:01 | FromDiscord | <Ninjaa> hi all, trying to set up nim with clion (and tried intellij also). both say: |
21:41:13 | FromDiscord | <Ninjaa> "Cannot find Nim compiler executable. Please ensure that nim is accessible through PATH environment variable." |
21:41:57 | FromDiscord | <Ninjaa> but I have nim on my path, `which nim` reports `/usr/local/nim/bin/nim` and `/usr/local/nim/bin` is on my path |
21:42:09 | FromDiscord | <Ninjaa> anyone run into the same issue with the official plugin? |
21:59:15 | * | narimiran quit (Ping timeout: 256 seconds) |
22:01:42 | * | stefantalpalaru quit (Changing host) |
22:01:42 | * | stefantalpalaru joined #nim |
22:07:37 | FromDiscord | <zero signal> @Ninjaa Is the IDE seeing the same PATH variable as your interactive shell? |
22:08:54 | FromDiscord | <zero signal> its possible that you've added `/usr/local/bin` too late in your shell profile/rc and the IDE is not getting that customization |
22:09:09 | FromDiscord | <zero signal> (edit) "`/usr/local/bin`" => "`/usr/local/nim/bin`" |
22:09:43 | * | theelous3 joined #nim |
22:09:48 | FromDiscord | <zero signal> you also might want to log out and log in again in case you havent done that since you installed nim. |
22:33:19 | * | qwr joined #nim |
22:51:30 | * | Xena is now known as Cadey |
22:52:26 | * | tane__ quit (Quit: Leaving) |
22:56:05 | * | Vladar quit (Quit: Leaving) |
23:00:18 | * | krux02`` joined #nim |
23:01:44 | * | krux02` quit (Remote host closed the connection) |
23:11:05 | * | clyybber quit (Quit: WeeChat 3.0.1) |
23:34:03 | FromDiscord | <ajusa> has anyone here ever used illwill? running into some weird issues when making a string shorter and I'm not sure if it is my fault |
23:35:24 | * | aenesidemus joined #nim |
23:43:30 | * | qwertfisch_ is now known as qwertfisch |
23:44:41 | FromDiscord | <Rika> prolly would be better to say what the issue is |
23:49:32 | FromDiscord | <ajusa> sent a code paste, see https://play.nim-lang.org/#ix=2QSv |
23:53:23 | FromDiscord | <ajusa> it works if I add an `tb.clear()` on every loop, that seems inefficient though... I thought illwill had a diffing algorithm for this sort of thing |