<< 13-09-2020 >>

00:00:02*junland quit (Quit: %ZNC Disconnected%)
00:00:08FromDiscord<Elegant Beef> Next job juan is to embed python inside nimscript so then you can have nim -> nimscript -> python -> nimscript
00:00:52FromDiscord<Elegant Beef> Having a programming interpreter written in an intepreted language totally sounds super fast and fun! πŸ˜›
00:00:53FromDiscord<juan_carlos> import nimpy inside nim4py inside python
00:00:59FromDiscord<juan_carlos> xD
00:01:43FromDiscord<Elegant Beef> How do you handle cross application communication?
00:01:48FromDiscord<Elegant Beef> Well cross language
00:02:13*junland joined #nim
00:02:30FromDiscord<juan_carlos> Right now it wont return :( But you can write to disk or sockets. Pull Requests welcome tho.
00:02:52FromDiscord<Elegant Beef> Lol i was just curious, im not touching python with a 30m pole
00:04:02FromDiscord<Elegant Beef> I do sorta want to try making the nim <-> nims more seemless to enable nimscript as a easier entry scripting language
00:06:05FromDiscord<Elegant Beef> Although it'd probably be similar to my RPC thing, where i just generate a lut, for to/from and make a file for them so you can just import a module generated on compilation in your nimscript file to call/recieve proc calls
00:06:46FromDiscord<Elegant Beef> I dont exactly like the idea of using json for the communication
00:07:15disruptekgood.
00:09:10disruptek!repo dbus
00:09:10disbothttps://github.com/disruptek/deebus -- 9deebus: 11simple sugar over dbus 15 0⭐ 0🍴 7& 2 more...
00:09:47disruptekdid he remove his dbus?
00:09:59disruptek!repo zielmicha/nim-dbus
00:09:59disbothttps://github.com/zielmicha/nim-dbus -- 9nim-dbus: 11libdbus binding for Nim 15 12⭐ 5🍴
00:10:08FromDiscord<Avatarfighter> sugar over dbus! that looks like diabetes waiting to happen
00:10:39FromDiscord<juan_carlos> Stevia syntax
00:10:57disruptekeh too much syntactic sugar'll give you cancer of the semi-colon.
00:11:17FromDiscord<Elegant Beef> Well considering the main program is still evaluating the nimscript why would you use dbus?
00:11:39*a_chou joined #nim
00:13:00disruptekdon't use nimscript.
00:13:09FromDiscord<Elegant Beef> Shit you right
00:13:13FromDiscord<Elegant Beef> Why didnt i think about that
00:14:01disruptekpyobjects aren't fast enough anyway.
00:14:18FromDiscord<Avatarfighter> just embed jvm in your program smh
00:14:24FromDiscord<Elegant Beef> Who said anything about pyobjects? πŸ˜„
00:15:01disrupteki'm just teasing jc.
00:15:16FromDiscord<Avatarfighter> sqlite doesn't support async right?
00:15:21disrupteknah.
00:15:38FromDiscord<Avatarfighter> ok so i would assume its bad if i try and insert a bunch of rows all at once
00:15:46disrupteknah, it's fine.
00:15:50disruptekbut, don't use sqlite.
00:15:51FromDiscord<Avatarfighter> in a manner that someone would say looks a lot like async though
00:16:07FromDiscord<Avatarfighter> ok but what if i want to use sqlite, do I just cry?
00:16:19disrupteknah, you aren't missing anything.
00:16:40disruptek!repo frosty
00:16:41disbothttps://github.com/disruptek/frosty -- 9frosty: 11Serialize native Nim objects to strings, streams, or sockets β›„ 15 12⭐ 0🍴
00:16:45FromDiscord<Avatarfighter> ok so the thing is that I'm not sorting much data, I do not think I need postgres or something
00:17:01disruptekyour application won't benefit from anything beyond frosty.
00:17:23disruptekhowever, it /will/ benefit from simple, native, fast data storage.
00:17:23FromDiscord<Avatarfighter> do you know what my application is lmao
00:17:27disruptekof course.
00:17:35FromDiscord<Avatarfighter> what then πŸ˜›
00:17:40disruptekit's a secret.
00:17:48FromDiscord<Avatarfighter> fuck who told disruptek
00:17:54FromDiscord<Avatarfighter> @Rika was it you??
00:18:09FromDiscord<Avatarfighter> or was it @Elegant Beef !?
00:18:31FromDiscord<Elegant Beef> I didnt tell anyone, i seen gigs of scrapped urls and fucking flee for the hills
00:18:35FromDiscord<Avatarfighter> LMAO
00:19:17FromDiscord<Avatarfighter> What can I say I'm a master at memory management 😎
00:19:59disruptek!repo lmdb
00:19:59FromDiscord<Rika> you're making an app?
00:19:59disbothttps://github.com/FedericoCeratto/nim-lmdb -- 9nim-lmdb: 11Nim LMDB wrapper 15 28⭐ 1🍴 7& 2 more...
00:20:17FromDiscord<Elegant Beef> I think when you start using local storage, you've accepted that you're so bad at memory management it's leaking the application πŸ˜›
00:20:25FromDiscord<Avatarfighter> well
00:20:27FromDiscord<Avatarfighter> uhm
00:20:27*a_chou quit (Quit: a_chou)
00:20:40FromDiscord<Avatarfighter> valid point
00:21:28FromDiscord<Avatarfighter> LMDB looks like budget Redis
00:21:40FromDiscord<Avatarfighter> yup
00:23:25disruptekyou can start with frosty and move to lmdb when you run out of memory.
00:23:42FromDiscord<Avatarfighter> hm I'm kind of afraid of what I'm making right now, I have a suspicion I might run out of memory again
00:24:12FromDiscord<Avatarfighter> I'm going to be running this program on a 512MB "server" I can't use anything that consumes too much memory
00:25:21disruptekthen use lmdb; it doesn't need to be async.
00:25:47disruptekyou will still use frosty for records.
00:26:00FromDiscord<Avatarfighter> lmdb is a memory db isn't it
00:26:08disruptekno, it's memory-mapped.
00:26:24FromDiscord<Avatarfighter> πŸ˜“
00:26:33FromDiscord<Avatarfighter> What does that mean?
00:26:44FromDiscord<Avatarfighter> This is my first encounter with a memory-mapped db
00:26:54FromDiscord<Avatarfighter> well probably not I just don't know the terms
00:26:54FromDiscord<Elegant Beef> A real file that's mapped to memory
00:26:56FromDiscord<Rika> it uses files that are in memory vs actual raw memory
00:27:28FromDiscord<Avatarfighter> Ok so can you explain that again but dumb that down a lot more
00:27:39FromDiscord<Avatarfighter> Its not just storing the file in memory rihgt?
00:27:42FromDiscord<Avatarfighter> (edit) 'rihgt?' => 'right?'
00:27:44FromDiscord<Rika> mem map -> files stored in memory
00:27:50FromDiscord<Rika> mem -> process memory
00:28:05FromDiscord<Rika> mem map -> process dies, files still there
00:28:11FromDiscord<Rika> mem -> process dies, you're fucked
00:28:14FromDiscord<Elegant Beef> https://en.wikipedia.org/wiki/Memory-mapped_file πŸ˜„
00:28:15FromDiscord<Avatarfighter> wait whatttt
00:28:18FromDiscord<Avatarfighter> that's so cool
00:28:48FromDiscord<Avatarfighter> Thank you for the link
00:28:50FromDiscord<Elegant Beef> memory mapped files are one method of cross application communication, not a particularly nice one
00:29:02FromDiscord<Avatarfighter> Wow I really hope I learn this in college !
00:29:08FromDiscord<Avatarfighter> I've never heard of that
00:29:30FromDiscord<Rika> you dont learn a lot of things in college
00:29:47FromDiscord<juan_carlos> Theres a memfile thingy on stdlib I think.
00:29:50FromDiscord<Elegant Beef> I believe all windows executables are actually memory mapped files
00:29:52FromDiscord<Elegant Beef> There is
00:30:00FromDiscord<Avatarfighter> Yeah but I've learned like nothing in high school at the moment
00:30:18FromDiscord<Elegant Beef> Highschool teaching CS.... i wish
00:30:30FromDiscord<Avatarfighter> I've straight up learned more about programming in this channel than I did in the computer science classes I took at my HS and community college.
00:31:14FromDiscord<Rika> beef i hope your iq is high enough because mine isnt, whats the diff btwn mmap and tmpfs
00:31:52disruptektmpfs is a fs.
00:32:04FromDiscord<Rika> well yes
00:32:05FromDiscord<juan_carlos> tmpfs is a filesystem
00:32:13FromDiscord<Rika> but the functionality is essentially the same is it not?
00:32:14disruptekit can used shared memory, sure, but it's completely different.
00:32:15FromDiscord<Elegant Beef> tmpfs is a filesystem storage
00:32:20FromDiscord<Rika> my god i know
00:32:42FromDiscord<Rika> thats the obvious difference
00:32:45disruptekmmap allows you to share memory with individual sections having separate permissions.
00:32:45FromDiscord<Avatarfighter> I thought tmpfs is a fs partition in memory/swap
00:32:49FromDiscord<Elegant Beef> I assume tmpfs makes a partition vs mmap just creates files
00:33:09FromDiscord<Elegant Beef> So i think you can technically have a mmap file on a tmpfs πŸ˜›
00:33:15disrupteksure.
00:33:25FromDiscord<Avatarfighter> So I have somewhat of a dumb question
00:33:26disruptekbut mmap isn't limited to files.
00:33:35FromDiscord<Avatarfighter> well dumber than the usual
00:33:48FromDiscord<Avatarfighter> Is there anyway for me to encrypt an object being stored in memory?
00:33:51FromDiscord<Elegant Beef> Doesnt mmap always create a file?
00:33:54disrupteknope, no way.
00:33:56FromDiscord<Avatarfighter> like the actual bytes in memory
00:34:15disruptekno, mmap doesn't always create a file.
00:34:30FromDiscord<Rika> sounds dangerous to implement, fighter
00:34:31disruptekyou can use it to share access with the kernel, for example.
00:34:41FromDiscord<Avatarfighter> Yeah I know Rika :L
00:34:51FromDiscord<Elegant Beef> I just assumed it abided by the "Everything's a file" paradigm
00:35:24FromDiscord<Avatarfighter> Rika: Its just I would like to store certain secrets encrypted in memory and then manually fetch, decrypt, and unmarshal my nim objects before using them
00:35:25disrupteknot really.
00:35:44disruptekit's convenient to use files or devices for mmap but you can make anonymous maps, too.
00:36:30FromDiscord<Elegant Beef> Well you always can encrypt the data and keep it in the stack
00:36:48FromDiscord<Elegant Beef> But seems sorta moot, unless you expect someone to be reading your memory
00:36:48disruptekjust put a stamp on the data and mail it to yourself.
00:36:59FromDiscord<Elegant Beef> You forgot the double lock
00:37:22disrupteklock the mailbox and then mail yourself the key.
00:37:33FromDiscord<Elegant Beef> You think the postal service would ship an envelope with two locks sticking out?
00:37:39FromDiscord<Avatarfighter> yeah
00:37:46FromDiscord<Rika> i think their idea is that the server contains the encrypted data
00:37:59FromDiscord<Rika> and they just want to decrypt it on the machine before sending it off to a database server?
00:38:04FromDiscord<Rika> *encrypt
00:38:08FromDiscord<Rika> and then vice versa
00:38:09FromDiscord<Avatarfighter> no allow me to explain lmao
00:38:16FromDiscord<Elegant Beef> Not a clue, all i know is their server has 512mb of ram... so say good bye to that ram πŸ˜›
00:38:23FromDiscord<Rika> well you aint typing, how would i know you're explaining
00:38:32FromDiscord<Avatarfighter> well i type fast so
00:38:40FromDiscord<Rika> like, you literally have no indicator
00:38:45FromDiscord<Rika> probably using ripcord
00:38:45FromDiscord<Avatarfighter> yeah and
00:38:48FromDiscord<Avatarfighter> nah
00:38:56disrupteki have a fapping indicator.
00:39:00FromDiscord<Avatarfighter> we on that bandagedbd life 😎
00:39:01FromDiscord<Elegant Beef> Also rika, i did not have a big enough brain to know the difference between tmpfs and mmap
00:39:19FromDiscord<Rika> yeah but i dont see why it matters if your indicator shows or not
00:39:19FromDiscord<Elegant Beef> Disruptek, it's called a heartbeat, just cause it's present doesnt mean you have to be fapping
00:39:20FromDiscord<Rika> anyway
00:39:30FromDiscord<Rika> > Also rika, i did not have a big enough brain to know the difference between tmpfs and mmap↡other than the obvious difference of course
00:39:34FromDiscord<Avatarfighter> basically atm I have an email/password in memory and i would like to make it so that if someone dumps the memory of the program there wont be the email/password in its memory
00:39:36disruptekbut dat rhythym.
00:39:56FromDiscord<Avatarfighter> ill put my indicator back on then smh
00:40:09FromDiscord<Rika> there will always be a moment in your program where you handle a decrypted version of your email
00:40:10FromDiscord<Rika> and what
00:40:19FromDiscord<Rika> are you encrypting the password from plaintext
00:40:20disrupteknot necessarily.
00:40:45FromDiscord<Avatarfighter> no its the credentials to a service
00:40:59FromDiscord<Rika> and you're obtaining their *password* for it?
00:41:05FromDiscord<Avatarfighter> no I'm using my password
00:41:05FromDiscord<Rika> not a token or w/e?
00:41:13FromDiscord<Avatarfighter> the service doesn't offer a token
00:41:16disruptekif someone's reading the contents of your memory, you have bigger problems.
00:41:18FromDiscord<Avatarfighter> that's why im worried lmao
00:41:30FromDiscord<Rika> that
00:41:31FromDiscord<Rika> what dis said
00:41:41FromDiscord<Avatarfighter> yes i am aware
00:41:51FromDiscord<Rika> if someone has access to your server and could dump your memory, there are bigger issues to deal with
00:42:38FromDiscord<Avatarfighter> I'm scraping the reviews and products of an onion site that's why I care about my credentials being in memory
00:42:53FromDiscord<Rika> i dont understand
00:43:04FromDiscord<Elegant Beef> Didnt realize you liked onions that much, how many varieties are there, and how many people review onions
00:43:05disruptekonions have many layers.
00:43:08FromDiscord<Rika> what connection do the two statements have
00:43:17FromDiscord<Elegant Beef> Lol disruptek perfect timing
00:43:32FromDiscord<Avatarfighter> i would just like peace of mind that my credentials can't be yoinked
00:43:34FromDiscord<Avatarfighter> that is all
00:43:43FromDiscord<Rika> you will have that with a well secured server
00:43:58disruptekdon't waste your time.
00:44:09*Prestige yoinks your creds
00:44:11FromDiscord<Elegant Beef> Nothing is as protected as a server with a condom on it
00:44:16FromDiscord<Avatarfighter> ik
00:44:24FromDiscord<Avatarfighter> I'm looking for server rack sized condoms rn
00:44:35FromDiscord<Elegant Beef> I could lend you one but im almost all out πŸ˜‰
00:44:41FromDiscord<Avatarfighter> ooo
00:44:43FromDiscord<Rika> a well secured server is both easier and has more benefits than to figuring out some odd way to encrypt and decrypt a blob of bytes
00:44:43FromDiscord<Avatarfighter> Send πŸ˜›
00:44:58FromDiscord<Rika> how many Us, beef
00:44:58FromDiscord<Avatarfighter> I follow correct security for my servers I think
00:45:14FromDiscord<Elegant Beef> Depends on who's asking rika
00:45:20FromDiscord<Avatarfighter> LMAO
00:45:23FromDiscord<Rika> think my server's too big
00:46:01disrupteki hear thinking about baseball helps.
00:46:16FromDiscord<Elegant Beef> Im canadian so it's hockey
00:46:27FromDiscord<Avatarfighter> hockey is just ground baseball
00:46:41FromDiscord<Elegant Beef> That's like saying soccer is foot golf
00:46:47FromDiscord<Avatarfighter> it is
00:46:53FromDiscord<Avatarfighter> why do you think they use a white ball
00:46:55FromDiscord<Rika> is it not?
00:47:01FromDiscord<Elegant Beef> Avatar clearly hasnt played or seen sports
00:47:07FromDiscord<Avatarfighter> ahahah
00:47:27FromDiscord<Avatarfighter> to be fair I've only done competitive diving and swimming
00:47:29FromDiscord<Rika> hey ive participated in a soccer match and its pretty much high paced foot golf
00:47:57FromDiscord<Avatarfighter> when i was little i went to kick a soccer ball and instead of kicking it I jumped on it and face planted
00:48:02FromDiscord<Elegant Beef> Competitive diving, also known as being a twit whilst entering a pool
00:48:22FromDiscord<Avatarfighter> I believe you mean /gracefully/ belly flopping on the way in
00:48:36FromDiscord<Rika> the fucks graceful about belly flopping
00:49:01FromDiscord<Avatarfighter> your state of mind when you realize its going to hurt
00:50:18FromDiscord<Rika> your brain is gonna hurt if you try making that weird encrypt decrypt thing
00:50:28FromDiscord<Avatarfighter> lmao wayyy ahead of you
00:50:50FromDiscord<Avatarfighter> I'm trying to figure out if I can access memory without the GC yeeting it rn
00:51:01FromDiscord<Rika> cast
00:51:05FromDiscord<Avatarfighter> really?
00:51:10FromDiscord<Rika> just cast to your hearts content or something
00:51:16FromDiscord<Avatarfighter> oh
00:51:20FromDiscord<Avatarfighter> :GWaobloChildPepeCry:
00:51:27FromDiscord<Rika> `can access memory without the GC yeeting it` i dont understand what this means in the first place
00:51:39FromDiscord<Avatarfighter> which part
00:51:49FromDiscord<Rika> why would the gc free something if its still being used
00:52:00FromDiscord<Avatarfighter> well because I'm planning on killing the references to it
00:52:15FromDiscord<Avatarfighter> My idea isn't clear in my head yet but I hope it'll be cool
00:52:27FromDiscord<Avatarfighter> imagine this https://github.com/awnumar/memguard but made by me
00:53:09FromDiscord<Rika> doubt it would be as good xddd
00:53:22FromDiscord<Avatarfighter> wowww
00:53:26FromDiscord<Rika> i kid
00:53:31FromDiscord<Rika> i kid T_T
00:53:36FromDiscord<Avatarfighter> well tbh
00:53:48FromDiscord<Avatarfighter> judging by my /perfect/ implementation of XSalsa20Poly1305 we'll see lmao
00:54:19FromDiscord<Rika> this looks like it would be heavily platform dependent
00:54:35FromDiscord<Avatarfighter> oh yeah
00:54:55FromDiscord<Rika> `Accidental memory leaks are mitigated against by harnessing the garbage-collector to automatically destroy containers that have become unreachable.`
00:55:07FromDiscord<Rika> what a weird roundabout way of saying "the GC works in go"
00:55:12FromDiscord<Avatarfighter> lmao
00:55:22FromDiscord<Rika> legit, is this not how a GC should work?
00:55:25FromDiscord<Rika> am i missing something
00:55:36FromDiscord<Avatarfighter> not exactly sure
00:55:48FromDiscord<Avatarfighter> you're probably not
00:56:09FromDiscord<Rika> `Kernel-level immutability is implemented so that attempted modification of protected regions results in an access violation.`
00:56:12FromDiscord<Rika> this shit's cool tho
00:56:27FromDiscord<Rika> wonder how much of a runtime cost this is
00:56:58FromDiscord<Rika> tho if youre this paranoid, runtime aint the main concern youll be having
00:57:02FromDiscord<Avatarfighter> yeah
00:58:21*Zectbumo quit (Remote host closed the connection)
00:58:37FromDiscord<Avatarfighter> I need to invest in some programming pjs or something comfortable to program in
00:59:04FromDiscord<Elegant Beef> Then there is mean, always wear jeans regardless of where i am or what im doing
00:59:09FromDiscord<Elegant Beef> (edit) 'mean,' => 'me,'
00:59:22FromDiscord<Rika> you wear clothes?
00:59:34FromDiscord<Elegant Beef> I know i seem primordial but i do wear clothes
01:00:16FromDiscord<Rika> @Avatarfighter okay, this lib you linked is interesting
01:00:17FromDiscord<Avatarfighter> Damn idk why but I program so slowly in the day
01:00:22FromDiscord<Avatarfighter> Right??
01:00:31FromDiscord<Rika> its interesting, but i have no use for it
01:00:34FromDiscord<Rika> but its interesting
01:00:41FromDiscord<Avatarfighter> I would only use it for storing secrets in memory
01:00:45FromDiscord<Rika> so its real damn tempting to recreate in nim
01:00:50FromDiscord<Avatarfighter> yeah
01:00:57FromDiscord<Rika> but i have no use for it
01:01:02FromDiscord<Rika> someone please do it lol
01:01:11FromDiscord<Avatarfighter> dw rika
01:01:15FromGitter<sealmove> guys I made a pretty nice minimal vim colorscheme for Nim ((https://www.dropbox.com/s/0ldkxwigbny9wvl/theme.png?dl=0))
01:01:19FromDiscord<Rika> probably something in status' repos
01:01:33FromGitter<sealmove> https://www.dropbox.com/s/0ldkxwigbny9wvl/theme.png?dl=0
01:01:39FromDiscord<Elegant Beef> Needs more purple/yellow
01:01:57FromDiscord<Rika> sealmove: looks nice but its hard for me to distinguish certain things because they only differ in thickness/brightness
01:02:14FromDiscord<Rika> also italics.... i dont like italics
01:02:19FromDiscord<Rika> still looks nice tho
01:02:21FromDiscord<Elegant Beef> Im impatiently waiting for moe to get language support πŸ˜„
01:02:33FromDiscord<Avatarfighter> what moe
01:02:38FromDiscord<Avatarfighter> what is *
01:02:45FromDiscord<Elegant Beef> It's a terminal text editor inspired by vim written in nim
01:02:46FromDiscord<Rika> editor
01:02:57FromDiscord<Avatarfighter> OH WHAT
01:02:59FromDiscord<Rika> lol
01:03:00FromGitter<sealmove> oh moe is written in nim?
01:03:00FromDiscord<Avatarfighter> link?
01:03:02FromGitter<sealmove> i didn't know
01:03:03FromDiscord<Rika> yes
01:03:21FromGitter<sealmove> saw the gentoo package https://packages.gentoo.org/packages/app-editors/moe
01:03:23FromDiscord<juan_carlos> Moe is a text editor for coding.
01:04:12FromDiscord<Avatarfighter> that's super cool
01:04:30FromDiscord<Elegant Beef> tmpfs is a file system
01:04:40FromDiscord<Rika> beef i think your internet is slow\
01:04:51FromDiscord<Elegant Beef> The joke is yet again needless repeating
01:06:19FromDiscord<Avatarfighter> beef i think you internet is slow
01:06:30FromDiscord<Avatarfighter> (edit) 'you' => 'your' | 'slow' => 'slow\'
01:07:31FromDiscord<Avatarfighter> inim is so cool
01:07:33FromDiscord<Avatarfighter> i
01:07:43FromGitter<sealmove> any network programming project ideas?
01:07:46FromDiscord<Rika> i
01:07:50FromDiscord<Avatarfighter> I've been using `nim secret` and I wanted to try it rn
01:08:00FromDiscord<Avatarfighter> Sorry I hit enter before I thought about what I wanted to say
01:08:17FromDiscord<Avatarfighter> sealmove: you could try your hand at making a reliable ordered udp transport?
01:08:43FromDiscord<Rika> someone already made that
01:08:47FromDiscord<Avatarfighter> what who
01:09:01FromDiscord<Avatarfighter> i was working on one :L
01:09:03FromDiscord<Rika> https://github.com/treeform/netty
01:09:13FromDiscord<Avatarfighter> treeform is back at it again
01:09:46FromDiscord<Rika> note that its for games so latency is good but throughput is not (as stated in readme)
01:10:06*satox joined #nim
01:10:08FromDiscord<Avatarfighter> yeah
01:10:23FromDiscord<Avatarfighter> that's interesting though
01:10:46FromDiscord<Avatarfighter> You can usually get better throughput at the cost of safety in reliable udp channels
01:11:23FromDiscord<Avatarfighter> safety as in you don't care if 1 packet gets dropped somewhere
01:11:38FromDiscord<juan_carlos> I think that UDP is
01:12:10*satox quit (Remote host closed the connection)
01:14:48FromDiscord<Avatarfighter> Is what @juan_carlos
01:14:48FromDiscord<Rika> is?
01:15:48FromDiscord<Avatarfighter> rika when are you releasing Rika's Memguard
01:16:49FromDiscord<Rika> nimguard xddddddddddd
01:17:00FromDiscord<Rika> fighter i thought you were going to make it wtffffff
01:17:31FromDiscord<juan_carlos> , and thats my opinion on UDP.
01:17:41FromDiscord<Rika> looooooool
01:17:44FromDiscord<Avatarfighter> LMAO
01:17:51FromDiscord<Rika> fucking hell i didnt expect a joke
01:18:15FromDiscord<Avatarfighter> yeah tbh i was just expecting no response like what happens with udp
01:18:53FromDiscord<Avatarfighter> what is smaller in memory a string or an int?
01:19:07FromDiscord<Avatarfighter> ignore that
01:19:14FromDiscord<Avatarfighter> i didn't just ask that
01:19:14FromDiscord<Rika> bruh
01:19:19FromDiscord<Rika> b r u h
01:20:08FromDiscord<Rika> @Avatarfighter though it depends on what portion of memory we're talking about, stack or heap πŸ˜›
01:20:30FromDiscord<Avatarfighter> me rn https://media.discordapp.net/attachments/371759389889003532/754511790179614740/j7ufxw4v1vx31.jpg
01:21:41FromDiscord<Avatarfighter> I am proud to say I do know the different between a heap and a stack
01:23:00FromDiscord<Elegant Beef> Juan the go to is "I'd say a joke about udp, but you probably wouldnt get it"
01:23:30FromDiscord<Avatarfighter> beef must be on udp too because that was a slow response πŸ˜›
01:24:19FromDiscord<Avatarfighter> I'm sorry Beef I feel bad but it made me giggle
01:25:22FromDiscord<Rika> is speed and dropped packets the joke only udp of?
01:26:07FromDiscord<Avatarfighter> what
01:26:14*Zectbumo joined #nim
01:26:18FromDiscord<Avatarfighter> oh
01:26:20FromDiscord<Avatarfighter> i hate you
01:26:55FromDiscord<Avatarfighter> Rika do understand I.
01:27:33FromDiscord<Elegant Beef> I mean i was in a game so not like i can send my response whilst trying to win
01:27:46FromDiscord<Avatarfighter> Did you win ?
01:28:06FromDiscord<Elegant Beef> No
01:28:13FromDiscord<Avatarfighter> aw 😦
01:28:17FromDiscord<Avatarfighter> what game?
01:28:22FromDiscord<Elegant Beef> Hunt showdown
01:29:28FromDiscord<Avatarfighter> Is it a permadeath?
01:30:16FromDiscord<Avatarfighter> oh yeah thats sick
01:39:57*apahl_ quit (Ping timeout: 260 seconds)
01:41:13*Zectbumo quit (Read error: Connection reset by peer)
01:41:56*apahl joined #nim
01:44:59FromDiscord<Avatarfighter> if i do `proc (): XmlNode =` the default result value will be nil right?
01:45:26FromDiscord<Rika> afaik
01:45:28FromDiscord<Rika> yesa
01:45:30FromDiscord<Rika> (edit) 'yesa' => 'yes'
01:45:51FromDiscord<Avatarfighter> cool thank you πŸ˜„
02:01:34FromDiscord<acek7> is Nim pretty easy to pick up vs languages like c++, C#, Java etc
02:01:39disrupteknope.
02:01:57FromDiscord<acek7> dang this bot just crushed me
02:02:38FromDiscord<Rika> it was pretty easy for me
02:02:44FromDiscord<Rika> but it really depends on the person
02:07:39FromDiscord<JSGRANT> @acek7 Not really a bot; A bridge to irc -- but they say disruptek is more machine than man nowadays. looool
02:08:22FromDiscord<Elegant Beef> It's an easy language to learn in my experience
02:08:30FromDiscord<JSGRANT> Ultimately I find 'easier' to pickup than the languages you listed just for the fact that there's much less syntactic noise -- like you don't have to learn public-static-voice and friends
02:08:53FromDiscord<JSGRANT> It 'feels' lighter to me; And that's not nothing
02:08:55FromDiscord<ThothLoki> it seems pretty easy to understand. it seems mor elike python in syntax than something like java
02:09:34FromDiscord<Elegant Beef> Well it's easier than C++ as it is GC'd, but it's different to java/C# since it's compiled and non OOP
02:09:49FromDiscord<Avatarfighter> @acek7 Don't worry though, disruptek is basically a bot
02:09:55FromDiscord<ThothLoki> outside of assembly, i think everything else is easier to learn than c++
02:09:56FromDiscord<ThothLoki> lol
02:10:03FromDiscord<JSGRANT> It's roughly in the orbit of Pascal with less noise afaict
02:10:33disruptekif you have access to stack overflow you'll find the other languages easier.
02:10:46FromDiscord<ThothLoki> like what?
02:10:54FromDiscord<Elegant Beef> Nim is really rather obscure so it's more difficult to get out outside here
02:11:01FromDiscord<Avatarfighter> so after much research it appears that programming pjs are really expensive so I'm now waiting for disruptek to release the much sought after "Disruptek Body Pillow" so I can code in Nim comfortably
02:11:01FromDiscord<Rika> basically if you're unable to solve problems without the help of SO
02:11:14FromDiscord<Elegant Beef> (edit) 'out' => 'help'
02:11:18FromDiscord<Rika> fighter just get some programmer high socks
02:11:24FromDiscord<Avatarfighter> genius
02:11:37FromDiscord<Avatarfighter> I wont lie I discovered Nim on wikipedia lol
02:11:59FromDiscord<acek7> i have tried getting into python a few times but ive never really been able to find a project i wanted to make and so i always kinda fell out of learning after a month or two or got distracted with work and life and lost my track. But i have an idea for like a 2D map maker i want to make and i have been perusing the Nim website and some Nimble packs and so i was like hey this things kinda new and seem like its got a lot of the good stuff fr
02:11:59FromDiscord<Avatarfighter> specifically here https://en.wikipedia.org/wiki/List_of_C-family_programming_languages
02:12:08FromDiscord<ThothLoki> i found NIM from searching for "compiled language like python"
02:12:31FromDiscord<Rika> same here
02:12:35disrupteknim is not python, and that's a good thing.
02:12:56FromDiscord<Avatarfighter> @acek7 imo the hardest part with Nim is starting to write the actual code, after a while it all falls in place and you end up hanging out in here all day πŸ™‚
02:13:00FromDiscord<ThothLoki> i love python but find it difficult to distrubute desktop apps with it
02:13:14FromDiscord<ThothLoki> a basic calculator should not be 80mb
02:13:21FromDiscord<Avatarfighter> Yes it should
02:13:26FromDiscord<Avatarfighter> it shows how much love you put into it
02:13:28FromDiscord<Rika> wdym it should lol
02:13:42FromDiscord<Avatarfighter> Everyone knows more MB means more code and therefore better smh
02:13:45FromDiscord<Rika> > it shows how much love you put into it↡or lack of love
02:13:49FromDiscord<ThothLoki> lol
02:13:53FromDiscord<acek7> lmao
02:14:05FromDiscord<ThothLoki> when you need to include the compiler, that doesnt help
02:14:08FromDiscord<Avatarfighter> lmao
02:14:12FromDiscord<Rika> lmao
02:14:26FromDiscord<ThothLoki> i wrote a few desktops in python for my work and it really doesnt matter the size of them
02:14:29disruptekthe nim compiler is around 60k lines and it uses stdlib, too; the binary is ~4.6mb.
02:14:34FromDiscord<Avatarfighter> If your calculator isn't consuming AT LEAST half a GiB of RAM idk what to tell you
02:14:40FromDiscord<Rika> just half????
02:14:42FromDiscord<Rika> why not 16
02:14:46FromDiscord<ThothLoki> but what i really dont like is it takes 10-20 seconds to load
02:15:02FromDiscord<Avatarfighter> because 16-20 GiBs are reserved for efficiently storing urls in memory Rika
02:15:09FromDiscord<JSGRANT> I think the tendency to try to play that hand as "a faster python" is a bit scary -- with my tacit interest in Scala the "better Java" line of reasoning really did some damage when something like Kotlin came around
02:15:28FromDiscord<Rika> nim just looks like python
02:15:35FromDiscord<Rika> it doesnt work like python tho
02:15:37FromDiscord<ThothLoki> if you have java installed on your computer, things are lightning fast
02:15:43FromDiscord<Avatarfighter> HOW dare you insult our beauty and unique syntax Rika
02:15:43disrupteklol
02:15:46FromDiscord<ThothLoki> but my IT department doesnt want everyone to have python
02:15:47FromDiscord<acek7> I appreciate the comments though everyone. I think i might give it a shot, i see a lot of bad things about nim online about it being to much of a general purpose language and not good at one specific thing and was making me doubt my intentions.
02:16:00FromDiscord<Rika> eh
02:16:05FromDiscord<Avatarfighter> @ThothLoki Credit Cards and SIM cards have java on them πŸ˜›
02:16:06FromDiscord<Rika> python is a gp lang
02:16:35disruptekthe important take-away with nim is that it has legs other languages don't have.
02:16:55FromDiscord<Avatarfighter> @acek7 One thing I can guarantee is that the Nim programming language has the funniest IRC/Gitter/Matrix/Discord bridge ever
02:16:57disruptekwe can run anywhere, and the language's metaprogramming allows it to grow.
02:17:10FromDiscord<acek7> what do you mean Bridge lol
02:17:22FromDiscord<Avatarfighter> this channel is a bridge between other chat services
02:17:33FromDiscord<JSGRANT> @acek7 Connection between multiple chat services
02:17:34FromDiscord<Avatarfighter> I do not mean we paid for a bridge to be constructed
02:17:35FromDiscord<acek7> oh dang how the heck is that even done
02:17:36disruptekmore like a pit.
02:17:52FromDiscord<acek7> like a tin can with a string everyone has connected together
02:18:12FromDiscord<Rika> essentially
02:18:17FromDiscord<Avatarfighter> yes
02:18:21FromDiscord<JSGRANT> @acek7 Nim isn't big-enough yet to have a strongly defined "domain of best fit" or similar -- if there's even a slight-bias I'd say there's a decent community around gamedev already. Which is GREAT for an up-and-coming systems language.
02:18:23disruptekmore like a circle jerk.
02:18:37FromDiscord<Avatarfighter> We have disruptek, no other language has him
02:18:44FromDiscord<Avatarfighter> what more could you want from a language @acek7
02:18:50FromDiscord<JSGRANT> @disruptek I triangle is a more powerful shape
02:18:51disrupteksrsly.
02:19:25disrupteksay ~help to discover the bot.
02:19:30FromDiscord<Avatarfighter> -help
02:19:33FromDiscord<Rika> ~help
02:19:36FromDiscord<Rika> xddddd
02:19:39FromDiscord<Avatarfighter> We've just been scammed
02:20:17disruptek~Avatarfighter
02:20:18disbotno footnotes for `Avatarfighter`. πŸ™
02:20:26disruptekyou don't even have a bio?
02:20:38FromDiscord<Avatarfighter> a what
02:20:55FromDiscord<Avatarfighter> I believe your bot is missing "expert nimion"
02:21:01FromDiscord<Rika> expert?
02:21:01disruptek~rika
02:21:02disbotRika: 11a footnote
02:21:05disrupteklol
02:21:08FromDiscord<Rika> lol
02:21:20FromDiscord<Avatarfighter> -disruptek
02:21:25FromDiscord<Rika> its ~
02:21:27FromDiscord<Rika> not -
02:21:27disruptek~Avatarfighter is a chucklehead who cannot tell a tilde from a hyphen.
02:21:28disbotAvatarfighter: 11a chucklehead who cannot tell a tilde from a hyphen.
02:21:35FromDiscord<Rika> loooooooooooool
02:21:39FromDiscord<Avatarfighter> im going to cry
02:21:47FromDiscord<Avatarfighter> I can't tell the difference in light mode
02:21:51FromDiscord<Avatarfighter> ~disruptek
02:21:51disbotdisruptek: 11a sexy fella with magic hands.
02:21:51disbotdisruptek: 11don't listen to him
02:21:51disbotdisruptek: 11an unsafe nil deref
02:21:57FromDiscord<Avatarfighter> LMAO
02:21:59FromDiscord<Rika> > light mode
02:22:08FromDiscord<acek7> Nim from my reading feels like something i can grow into pretty easily and use it for multiple things. Gamedev does sound pretty cool. I would really love to move away from wordpress, i dont want to learn PHP. As well as use it to make general graphic design applications for use in my business stuff.
02:22:23FromDiscord<Avatarfighter> Nim has some pretty mature HTTP servers imo
02:22:36disruptekwe need more 2d people.
02:22:46disruptek!repo fidget
02:22:46disbothttps://github.com/treeform/fidget -- 9fidget: 11Figma based UI library for nim, with HTML and OpenGL backends. 15 295⭐ 10🍴 7& 1 more...
02:22:49FromDiscord<Avatarfighter> We have Jester, Prologue, Rosencraftz, Asynchttpserver, and probably another or 12
02:22:51FromDiscord<Rika> not really, we're still anemic in regards to HTTP/2 server implementations
02:23:03FromDiscord<Avatarfighter> All the homies hate HTTP/2
02:23:11FromDiscord<JSGRANT> @disruptek 2d people? I hear they come from the Flatlands
02:23:15FromDiscord<ThothLoki> @Avatarfighter cool. I hate java. Like I have a hate for java that I don’t have for my worst enemy
02:23:24FromDiscord<Theodore> java sucks
02:23:27FromDiscord<Rika> rosencrantz or w/e is still kinda experimental too from what i hear
02:23:33FromDiscord<ThothLoki> I respect it. But hate it
02:23:46FromDiscord<Avatarfighter> Rosencrantz is experimental yeah
02:23:52FromDiscord<Avatarfighter> I like prologue though
02:23:57FromDiscord<Theodore> ill take a piss on javas source code
02:24:00disruptekjvm is becoming the vm to llvm's ir.
02:24:04FromDiscord<Avatarfighter> its syntax reminds me of Flask/FastAPI in Python
02:24:05FromDiscord<Rika> link, fighter?
02:24:11FromDiscord<Avatarfighter> I gotchu
02:24:16FromDiscord<Avatarfighter> !repo Prologue
02:24:17disbothttps://github.com/planety/prologue -- 9prologue: 11Full-Stack Web Framework written in Nim. 15 430⭐ 13🍴 7& 2 more...
02:24:51FromDiscord<Theodore> ill get the last remaining copy of java source code, put it on a hard drive, blend the hard drive up with my own shit and piss, stuff it up my foreskin and watch it explode out all over the groundd
02:24:52FromDiscord<Rika> it looks ok
02:25:03FromDiscord<Theodore> LM A O
02:25:12FromDiscord<Avatarfighter> Rika do you like good things
02:25:19FromDiscord<Avatarfighter> Prologue is godo
02:25:22FromDiscord<Avatarfighter> (edit) 'godo' => 'good'
02:25:23FromDiscord<Rika> godo
02:25:27FromDiscord<Avatarfighter> shut
02:25:31disrupteki think he means, Gordo.
02:25:47FromDiscord<Avatarfighter> Prologue has a pene muy gordo
02:25:51FromDiscord<Rika> in the repo the person maintaining it misspelled buy
02:25:52FromDiscord<Rika> `by me a coffee`
02:26:07FromDiscord<Avatarfighter> maybe they mean: `by me, a coffee`
02:26:33FromDiscord<JSGRANT> Exciting stuff coming to the JVM finally; Namely ultra-low-latency VMs (ZGC & Shenandoah), Native binaries (via GraalVM), decent C interop (Panama), etc, etc. Still not a fan of Java but finally becoming a bit more competitive ...
02:26:34FromDiscord<Avatarfighter> Disruptek: when is your body pillow for sale
02:26:43FromDiscord<Avatarfighter> GraalVM is exciting
02:27:13disrupteki haven't finished marinating it yet.
02:27:28disruptekgraal is part of why i chose nim.
02:27:44FromDiscord<Rika> why?
02:27:48FromDiscord<JSGRANT> Nim has sucked pretty much all my gamedev interest away from the JVM; But the idea of a passably performant 3D game-engine in Scala is / was pretty exciting to me
02:29:10disruptekbecause being able to write code that can run under jvm is increasingly important, and having solid c-based ffi is no less important than its always been.
02:29:12FromDiscord<Avatarfighter> Disruptek: do you have incremental compiling working yet
02:29:19disrupteknope.
02:29:28FromDiscord<Avatarfighter> need moral support?
02:29:31disrupteknope.
02:29:38FromDiscord<acek7> Need a beer
02:29:45FromDiscord<JSGRANT> what about morale support ?
02:29:52disrupteki think i need an enema.
02:30:04FromDiscord<Avatarfighter> πŸ™
02:30:04FromDiscord<JSGRANT> I'll grab the coffee
02:30:16FromDiscord<Avatarfighter> coffee enema
02:30:26disrupteki'm too big a fan of coffee.
02:30:27FromDiscord<Rika> coffeenema
02:30:38FromDiscord<Avatarfighter> Ok so I really want to put 256 in an int8
02:30:48disruptekgo for it.
02:30:49FromDiscord<JSGRANT> @disruptek Even for pipe-cleaning?
02:30:52FromDiscord<Avatarfighter> but I need an extra bit for that to work
02:30:53FromDiscord<acek7> I just wanna make a program like Autorealm to build out some DND stuff guys lmao
02:31:04FromDiscord<JSGRANT> I get literally 'too loose' from the caffeine alone
02:31:21FromDiscord<JSGRANT> Which is weird because regular soda has little to no effect lol
02:31:24FromDiscord<Rika> you'd need two extra bits, fighter
02:31:33FromDiscord<Avatarfighter> 1 take it or leave it
02:31:45FromDiscord<Rika> lol
02:31:48disrupteki can't really function on less than 6oz of beans per day.
02:32:14FromDiscord<JSGRANT> How many cups is that?
02:32:22FromDiscord<Avatarfighter> too many
02:32:49disruptekit's around 16oz or so. i make it pretty strong.
02:33:01FromDiscord<JSGRANT> One of my first jobs out of HS I was a dishwasher at a diner & my manager drank seriously like 10+ cups a shift. Blew my mind
02:33:31disrupteki can't drink coffee like that; just tastes like weak tea to me.
02:34:20FromDiscord<Avatarfighter> disruptek chews the beans then drinks water
02:34:44disruptekpretty much, it's a little nuts.
02:34:45FromDiscord<JSGRANT> I seriously don't think I've had coffee since like maybe Feb or March? I bought a t i n y machine and ended up using ... 2-3 times?
02:35:02FromDiscord<Rika> wait youre not supposed to snort the ground beans?
02:35:18FromDiscord<Avatarfighter> no you are
02:35:24disrupteki use a thing by fellow called the duo.
02:35:28FromDiscord<Rika> ah, okay, thought i was making a mistake
02:35:36FromDiscord<Avatarfighter> don't worry
02:35:42FromDiscord<Avatarfighter> how else are you supposed to consume the beans lol
02:35:47disruptekit's basically a steeper. but i've modified mine.
02:36:40FromDiscord<Avatarfighter> Does your coffee machine have the newest and coolest Intel CPU, RTX GPU, RAM, and RGBs disruptek
02:36:55disrupteknah, i'm old school.
02:37:03disrupteki mean, i'm old.
02:37:04FromDiscord<ThothLoki> so, does anyone have an opinion on a good GUI for nim?
02:37:12FromDiscord<acek7> thats what im sayin man
02:37:13disruptek!repos gui
02:37:14disbothttps://github.com/yglukhov/nimx -- 9nimx: 11GUI library 15 684⭐ 58🍴
02:37:14disbothttps://github.com/trustable-code/NiGui -- 9NiGui: 11Cross-platform desktop GUI toolkit written in Nim 15 362⭐ 39🍴
02:37:14disbothttps://github.com/khchen/wNim -- 9wNim: 11Nim's Windows GUI Framework 15 153⭐ 4🍴 7& 27 more...
02:37:28FromDiscord<Avatarfighter> !repo fidget
02:37:29disbothttps://github.com/treeform/fidget -- 9fidget: 11Figma based UI library for nim, with HTML and OpenGL backends. 15 295⭐ 10🍴 7& 1 more...
02:37:30disrupteki would use fidget.
02:37:34FromDiscord<ThothLoki> i know the list of guis
02:37:36FromDiscord<Avatarfighter> It looks really good
02:37:47FromDiscord<ThothLoki> what is your fav for desktops?
02:37:55FromDiscord<Avatarfighter> I'm planning on using Fidget
02:38:01disrupteki don't use a mouse, so i don't use guis.
02:38:15FromDiscord<ThothLoki> .......html........i should relearn it
02:38:16FromDiscord<Avatarfighter> he uses eye tracking
02:38:20FromDiscord<acek7> do i have to use figma to use fidget
02:38:32FromDiscord<Avatarfighter> no but you can
02:38:58FromDiscord<ThothLoki> last time i wrote a full html site, geocities was new
02:39:03FromDiscord<acek7> does it export the UI stuff straight to Nim Code
02:39:14FromDiscord<acek7> or something else
02:39:25FromDiscord<Avatarfighter> https://github.com/treeform/fidget/blob/master/examples/minimal/minimal.nim
02:39:26disruptekbasically.
02:39:30FromDiscord<Avatarfighter> you can write in nim
02:39:31FromDiscord<Avatarfighter> or uh
02:39:35FromDiscord<Avatarfighter> do figma stuff idk
02:39:53FromDiscord<acek7> i use affinity designer for most design things
02:40:23FromDiscord<acek7> that code is like the most minimal UI code ive ever seen
02:40:39FromDiscord<acek7> like PyQT is a mess
02:40:50FromDiscord<acek7> is fidget on par with that
02:41:04FromDiscord<Avatarfighter> https://github.com/treeform/fidget/blob/master/examples/gradaui/gradaui.nim
02:41:10*Zectbumo joined #nim
02:41:15FromDiscord<Avatarfighter> its /different/ lmao
02:41:40FromDiscord<ThothLoki> do i need to write html for fidget?
02:41:45disruptekfidget is really more about the tight integration with figma and the ability to output against different ui subsystems.
02:41:46FromDiscord<ThothLoki> or can it be pure nim?
02:42:09FromDiscord<Avatarfighter> Check out the two examples I linked Thoth
02:42:17disruptekhttps://www.youtube.com/embed/IB8Yt2dqZbo
02:42:59FromDiscord<ThothLoki> will do
02:44:26FromDiscord<acek7> Disruptek can you explain the tight integration with figma more
02:44:50FromDiscord<acek7> im kinda dumb
02:45:04disruptekfigma is like sketch but evolutionary.
02:45:32disruptekyou're familiar with sketch, right?
02:45:46FromDiscord<acek7> nah, photoshop, illustrator, affinity designer
02:46:00FromDiscord<acek7> WAIT
02:46:05FromDiscord<acek7> Adobe XD is close right
02:46:07disruptekit's kinda similar to affinity, i guess.
02:46:32FromDiscord<Rika> its close to XD too yes
02:47:00disrupteksketch is mostly used for design. you can take the figma output and consume it with fidget.
02:47:01*muffindrake quit (Ping timeout: 272 seconds)
02:47:30FromDiscord<acek7> but thats just the GUI arrangement/design correct
02:47:37disruptekyes.
02:48:17FromDiscord<ThothLoki> is nigui good?
02:48:27FromDiscord<ThothLoki> i started playing with that
02:48:43FromDiscord<acek7> do i have to install a plugin in figma
02:48:48disruptekyou should zip through treeform's video.
02:49:01*muffindrake joined #nim
02:49:08disrupteki haven't seen it, actually, but i talked with him at fosdem.
02:49:34disruptekyou can start at around 6mins, looks like.
02:49:45*D_ joined #nim
02:50:15FromDiscord<acek7> alright sounds good
02:50:46disruptekthe other nim gui stuff works, sure, but it's pretty much the usual stuff.
02:50:58disruptekfidget is a step into the future.
02:51:30FromDiscord<acek7> Can fidget work for web
02:51:34disruptekyep.
02:51:56FromDiscord<acek7> like if i had to design an admin panel for a client to use
02:52:02FromDiscord<acek7> that managed their business site
02:52:23disruptekyou're talking to someone who doesn't give a shit about guis and has never even cloned the repo.
02:52:26FromDiscord<Avatarfighter> yeah you install the figma plugin in the github @acek7
02:52:32disrupteki don't actually know anything about this.
02:52:40FromDiscord<Avatarfighter> And yeah fidget targets web mostly
02:52:43FromDiscord<acek7> i assumed you were a god
02:52:43FromDiscord<ThothLoki> can nim compile arduino?
02:52:47disruptekyes.
02:52:49FromDiscord<ThothLoki> from ino to hex?
02:52:59disrupteki mean, i've written x-platform pyqt apps. also qt.
02:53:04FromDiscord<Avatarfighter> its web -> desktops(windows/linux/mac) -> mobile in that order of reliance
02:53:06disruptekbut, this is not that.
02:53:15FromDiscord<flywind> Maybe you can try `karax` too.
02:53:17FromDiscord<Avatarfighter> !repo nim-arduino
02:53:17FromDiscord<Elegant Beef> I mean fidget isnt really web target
02:53:18disbothttps://github.com/zevv/nim-arduino -- 9nim-arduino: 11Trying to get Nim integrated into arduino IDE 15 31⭐ 2🍴 7& 1 more...
02:53:22FromDiscord<ThothLoki> \o/
02:53:31FromDiscord<Elegant Beef> Fidget targets seemless mobile/native development
02:53:52FromDiscord<Avatarfighter> You might like `karax` @acek7 like what @flywind said
02:53:55disruptekfidget can target karax ultimately.
02:53:58FromDiscord<Avatarfighter> !repo karax
02:53:59disbothttps://github.com/pragmagic/karax -- 9karax: 11Karax. Single page applications for Nim. 15 597⭐ 49🍴 7& 13 more...
02:54:33FromDiscord<Avatarfighter> I love treeform now
02:54:49FromDiscord<Avatarfighter> I'm watching the video and he is so passionate
02:55:08FromDiscord<Avatarfighter> @treeform thank you for your video on fidget
02:55:12disruptektreeform is good. i wish he was more active here.
02:55:19disruptekthe guy is very productive.
02:55:34disruptekhis work on fonts is particularly impressive.
02:55:46FromDiscord<Avatarfighter> yeah
02:55:50FromDiscord<Avatarfighter> his font library is crazy
02:55:52disruptekhe is also known for having made a successful indie game on steam.
02:56:00FromDiscord<Avatarfighter> what game
02:56:05disruptekhe's building a new version now.
02:56:14FromDiscord<ThothLoki> @Avatarfighter thanks. you might have made me some money with that extension
02:56:24FromDiscord<Avatarfighter> ahah
02:56:33FromDiscord<Avatarfighter> Which extension>
02:56:48FromDiscord<ThothLoki> now i can finally provide some software with my hardware
02:56:49FromDiscord<Elegant Beef> istroloid is treeforms game
02:56:50FromDiscord<Avatarfighter> the figma -> nim in figet or Karax or nim-arduino
02:56:53FromDiscord<ThothLoki> the arduino one
02:56:56FromDiscord<Avatarfighter> ah
02:57:00FromDiscord<Avatarfighter> I have no idea if that works btw
02:57:05FromDiscord<Avatarfighter> mileage WILL vary
02:57:10disruptekeh people are using it.
02:57:12FromDiscord<Rika> > istroloid is treeforms game↡@Elegant Beef istrolid
02:57:22FromDiscord<Elegant Beef> Hey if you searched the incorrect spelling you got it
02:57:23FromDiscord<Elegant Beef> So fuck it!
02:57:32FromDiscord<Rika> ok mr "boeef"
02:57:54FromDiscord<Avatarfighter> yeah mr "beouf"
02:57:57FromDiscord<Elegant Beef> https://media.discordapp.net/attachments/371759389889003532/754536314115981413/unknown.png
02:58:06FromDiscord<Elegant Beef> Fine enough with me
02:58:56disruptekthe thing with fidget is, it's written in nim for nim by someone who knows nim.
02:59:01FromDiscord<Avatarfighter> i wish the stdlib for xmltrees let you get siblings
02:59:05disruptekthis isn't really the case with the other stuff.
02:59:31FromDiscord<Rika> does it not?
02:59:44FromDiscord<Rika> oh you mean siblings
02:59:50FromDiscord<Avatarfighter> i said siblings >:)
02:59:50FromDiscord<Rika> yeah thats kinda complex to implement
03:00:00FromDiscord<Avatarfighter> nah not really
03:00:14FromDiscord<Avatarfighter> sent a code paste, see https://play.nim-lang.org/#ix=2xmF
03:00:17FromDiscord<Avatarfighter> I got a little too bored
03:00:23FromDiscord<acek7> Whats the game dev stuff for Nim looking like, im pretty sold on this fidget stuff
03:00:25FromDiscord<Rika> requires root node
03:00:28FromDiscord<Avatarfighter> I have a little lib for xmltree helper methods
03:00:31FromDiscord<Rika> looks pretty slow as well
03:00:37FromDiscord<Avatarfighter> its fast enough for me
03:00:40FromDiscord<Rika> okay
03:00:44FromDiscord<Avatarfighter> I made it the best way I could
03:00:50FromDiscord<Avatarfighter> I'm being serious sadly
03:01:19FromDiscord<Rika> well the next best thing would be to modify the node to make it doubly linked or so, i think
03:01:23FromDiscord<Rika> i dont know
03:01:29FromDiscord<Avatarfighter> yeah that would be the best way
03:01:35FromDiscord<Avatarfighter> but I didn't want to modify the stdlib
03:01:37FromDiscord<Rika> yeah
03:01:38disruptekthere are a few game engines and a few game engineers. a fairly significant portion of nim coders, actually.
03:01:39FromDiscord<Rika> risky shit
03:02:03FromDiscord<acek7> well im interested
03:02:06FromDiscord<Elegant Beef> Depends on what you're looking for, there are no plug and play 3D engines aside from godot
03:02:32FromDiscord<Elegant Beef> Since we have nice C FFI we got all the C libs for OGL and vk, so with time will come fancy 3D engines πŸ˜›
03:03:44FromDiscord<acek7> wait can you use Nim with godot
03:04:41FromDiscord<Elegant Beef> Yes
03:04:49FromDiscord<Elegant Beef> !repo godot-nim
03:04:50disbothttps://github.com/pragmagic/godot-nim -- 9godot-nim: 11Nim bindings for Godot Engine 15 230⭐ 18🍴 7& 7 more...
03:05:00FromDiscord<juan_carlos> Enu is active and using godot and nim.
03:05:14FromDiscord<Anuke> sent a long message, see http://ix.io/2xmH
03:05:38FromDiscord<Anuke> tl;dr java still bad
03:05:50FromDiscord<Elegant Beef> Anuke i thought that was going to start talking about nim, and i was like "Well i find nim nice for gamedev" πŸ˜„
03:06:33FromDiscord<Rika> not off topic
03:06:35FromDiscord<Rika> imo
03:06:42FromDiscord<Elegant Beef> Nah it's right on
03:06:48disruptekwhat kinda game dev have you done in java?
03:07:10disruptekwe always get the crazies.
03:07:12FromDiscord<Elegant Beef> They made mindustry
03:08:18FromDiscord<acek7> im still impressed i compiled these squares so easily from that example code
03:08:26FromDiscord<Elegant Beef> Yea fidget is fucking awesome
03:08:50FromDiscord<Elegant Beef> Native/web builds without relying on a webview or equivlent
03:09:37FromDiscord<acek7> Disruptek what is your actual role in the community
03:10:02disrupteki'm a fluffer.
03:10:02FromDiscord<Elegant Beef> He's the local errand boy, you tell him to do stuff and he says "fuck no"
03:10:20FromDiscord<Elegant Beef> Disruptek be serious
03:10:38disrupteki'm like a scarecrow.
03:10:42disruptekto keep the newbies away.
03:10:55FromDiscord<Elegant Beef> Yea he's more like our village idiot svant
03:10:56FromDiscord<Elegant Beef> (edit) 'svant' => 'savant'
03:10:57FromDiscord<acek7> but im a newb, you are doing a terrible job
03:11:01FromDiscord<Rika> lol
03:11:10disrupteki didn't say i was talented.
03:11:28disrupteki try to make up for a deficiency of skill with, uh, gumption.
03:12:04FromDiscord<Elegant Beef> Disruptek is really just a weird person that makes some semi interesting stuff
03:12:18FromDiscord<Elegant Beef> For instance he has a testing package named "testes"
03:12:33FromDiscord<acek7> does the creator of nim ever pop in
03:12:52FromDiscord<Elegant Beef> He's fairly regular
03:13:16FromDiscord<acek7> whats his name
03:13:37disruptek!last araq
03:13:38disbotAraq spoke in 12#nim 5 hours ago 12https://irclogs.nim-lang.org/12-09-2020.html#21:47:43
03:13:50disruptekalso i wrote the bot.
03:14:01FromDiscord<Elegant Beef> If you're lucky like me he will ignore you shitty jokes!
03:14:52shashlicki'm just seeing a bunch of genericAssign/genericAssignAux when I use nimprof
03:14:58shashlickany idea what to look for
03:15:26disrupteksounds like it's not very slow.
03:16:22shashlickokay fair
03:17:05disruptekis this toast?
03:17:16FromDiscord<Rika> when something is slow i just skip nimprof because sometimes theres no correlation to how many times a function is called to how slow a program is
03:17:17disruptekalso, have you compared it to arc?
03:18:04shashlicknimble
03:18:21shashlicktoast doesn't work with arc, but haven't tried in a month
03:18:24FromDiscord<acek7> whats nimprof
03:18:44disruptekit's a profiler for nim.
03:19:02disruptek!repo coz
03:19:04disbothttps://github.com/plasma-umass/coz -- 9coz: 11Coz: Causal Profiling 15 1815⭐ 86🍴 7& 29 more...
03:19:16disruptekthere are nim bindings, also.
03:19:43shashlickany docs
03:19:51disruptekfor coz?
03:20:02shashlickya with ni
03:20:04shashlicknim
03:20:12disrupteki can give it to you in a nutshell, but there are several videos that explain it in depth.
03:20:45disruptekthe idea is that we slow everything down except for the bit you want to measure and see if running it at native speed (while everything else is slow) helps.
03:20:53FromDiscord<Avatarfighter> I forgot but we also have the most advanced vim editor
03:21:00FromDiscord<Avatarfighter> !repo vim_cubed
03:21:01disbothttps://github.com/oakes/vim_cubed -- 9vim_cubed: 11Vim rendered on a cube for no reason 15 2324⭐ 35🍴
03:21:36FromDiscord<Avatarfighter> Why write code in 2D when you can write in 3D
03:22:01disruptekthe point of coz is that frequently it doesn't matter if X gets faster if it is bottlenecked by Y. coz helps you identify Y before you waste time on X.
03:23:41disruptekdunno what happened to the coz wrapper.
03:23:58shashlickneed some ideas for one optimization
03:24:09disruptek!repo s0kil/nimcoz
03:24:10disbothttps://github.com/s0kil/nimcoz -- 9nimcoz: 11Nim Wrapper For Coz Profiler 15 15⭐ 0🍴
03:24:31disruptekit's "C". 😁
03:24:49disruptekshashlick: one optimization?
03:25:25disruptekis nimble slow?
03:25:28shashlickhttps://github.com/nim-lang/nimble/blob/master/src/nimblepkg/packageinfo.nim#L235 <- i need that proc to get called only once on demand
03:25:44shashlickeither i use a global or use the memoize package
03:25:49disrupteksure, use a global.
03:26:05shashlickhttps://github.com/andreaferretti/memo
03:26:19disruptekdoesn't seem worth the dep to me.
03:26:31shashlickthat's the only thing i can find - saves almost 50% time
03:27:06shashlicki can just copy memo.nim into nimble and it works
03:27:11shashlickbut ya easier with a global
03:27:18disrupteklooking at the code, it doesn't seem like the logic is very well sorted out.
03:27:41disruptekie. you don't read the package list sometimes, so either the proc isn't named right, or...
03:29:22disruptekyou can see how i do it, too. maybe my impl is slower, i dunno. it was never an issue for me.
03:30:15shashlicki prefer just mini changes - don't want to shake things up too much
03:31:03*Cthalupa quit (Ping timeout: 256 seconds)
03:31:11disruptekit's kinda cute.
03:31:41disruptekoh lovely, there's a toValidPackageName that you should remove. πŸ˜‰
03:32:34*Cthalupa joined #nim
03:38:51FromDiscord<Avatarfighter> i made the mistake of eating really spicy food :L
03:41:24FromDiscord<treeform> @Avatarfighter thanks!
03:42:30FromDiscord<Elegant Beef> Your welcome
03:42:34FromDiscord<Avatarfighter> @treeform Question for you related to fidget, if I need to post data and have the UI update should I have a callback that refreshes the UI like the HttpGET in fidget?
03:43:10FromDiscord<Avatarfighter> I just answered my own question
03:43:14FromDiscord<Avatarfighter> Ignore me lmao
03:46:56*arecacea1 quit (Ping timeout: 240 seconds)
03:47:56*superbia quit (Ping timeout: 244 seconds)
03:48:21*superbia joined #nim
03:49:04*arecacea1 joined #nim
03:50:55*Oddmonger quit (Ping timeout: 240 seconds)
03:52:04*Oddmonger joined #nim
03:53:57FromDiscord<treeform> ok
03:59:29*pulux quit (Ping timeout: 240 seconds)
03:59:48*pulux joined #nim
04:06:02*supakeen quit (Quit: WeeChat 2.9)
04:06:33*supakeen joined #nim
04:09:53FromDiscord<Avatarfighter> I love getting SIGSEGV
04:15:28*femtotones quit (Quit: Default Quit Message)
04:38:03*arecacea1 quit (Remote host closed the connection)
04:38:55*arecacea1 joined #nim
05:01:45FromDiscord<Elegant Beef> Just be a good programmer like me and never get it, just need to be smarter
05:02:04FromDiscord<Avatarfighter> I hate javascript
05:02:12FromDiscord<Avatarfighter> who thought it was a good idea to let javascript edit the DOM
05:02:19FromDiscord<Avatarfighter> makes my scraping harder 😦
05:02:42FromDiscord<Elegant Beef> *Looks at me automating generation of by portfolio site using js* uhhhh "That guy over there"
05:02:49FromDiscord<Avatarfighter> lmao
05:03:09FromDiscord<Elegant Beef> I store all my entries into a js object then iterate it on web load
05:03:16FromDiscord<Avatarfighter> yeah that's nice
05:04:08FromDiscord<Avatarfighter> what I meant is the site im scraping has `<strong>1</strong>` initially and then what the js does its magic that same element becomes `<span class="muted">1</span>`
05:04:36FromDiscord<Avatarfighter> I scrape it thinking that the DOM has a `span` with a class of `muted` but it just doesn't exist
05:04:57FromDiscord<Elegant Beef> Yea but my site is super simple html and a element i find and duplicate
05:05:02FromDiscord<Elegant Beef> Without js my site is empty
05:05:18FromDiscord<Avatarfighter> ah
05:05:30FromDiscord<Avatarfighter> I wonder when someone is going to write a jvm in nim
05:05:33FromDiscord<Avatarfighter> not jvm
05:05:38FromDiscord<Avatarfighter> JSVM
05:05:41FromDiscord<Avatarfighter> Is it a VM actually
05:05:47FromDiscord<Avatarfighter> It might be interpreted
05:06:26FromDiscord<Elegant Beef> It's interpreted i believe
05:06:40FromDiscord<Elegant Beef> Doesnt really matter it's the same basic principle
05:08:04FromDiscord<Elegant Beef> Clearly the solution is to figure out how to embed the nim compiler into js, so then we can evaluate nimscript inside js and never actually use js πŸ˜„
05:08:25FromDiscord<Avatarfighter> ACTUALLY
05:08:51FromDiscord<Avatarfighter> The clear solution is to embed the Python interpreter which embed the JS Interpreter which evaluates nimscript
05:18:21*waleee-cl quit (Quit: Connection closed for inactivity)
05:22:28*narimiran joined #nim
05:30:58FromDiscord<ShalokShalom> @treeform Since you are interested in creating GUIs by drawing them: Did you know that Godot can be used to do that?↡↡Godot supports Nim and itself is written and designed by its own editor.
05:31:40FromDiscord<Elegant Beef> Did you mean to at someone else, my money is on treeform knows that πŸ˜„
05:32:07*user9 joined #nim
05:34:53*solitudesf joined #nim
05:39:07FromDiscord<ShalokShalom> I would wonder why he prefers a non-free version to a free one then?
05:39:24FromDiscord<Elegant Beef> Are you talking about figma?
05:39:36FromDiscord<ShalokShalom> Yes
05:39:50FromDiscord<ShalokShalom> Fidget
05:40:04FromDiscord<Elegant Beef> Does godot ui have an equally easy to read syntax?
05:40:12FromDiscord<Elegant Beef> And i mean figma isnt required to use fidget
05:40:20FromDiscord<ShalokShalom> Godot UI is done via UI
05:40:35FromDiscord<ShalokShalom> Thats the point
05:40:50FromDiscord<Elegant Beef> Fidget allows you to use figma, but figma just outputs code you could've made using fidget
05:41:03FromDiscord<ShalokShalom> Yes, I know.
05:41:17FromDiscord<ShalokShalom> My initial statement is still valid.
05:41:40FromDiscord<Elegant Beef> Im just trying to figure out how godot would be better, does it output similarly readable code?
05:41:47FromDiscord<ShalokShalom> His initial idea, so far as I understand it, is to draw UIs without code.
05:42:23FromDiscord<ShalokShalom> 'You can use fidget without figma' is then just the excuse to use a non-free software
05:42:39FromDiscord<Elegant Beef> In what way, i've used fidiget and never touched figma
05:42:57FromDiscord<ShalokShalom> @Elegant Beef It does create the UI. You dont have code in between that you do.
05:43:27FromDiscord<ShalokShalom> @Elegant Beef Well, he released a video in which he states, that creating UIs this way is the future
05:43:50FromDiscord<ShalokShalom> So, the way Figma does it.
05:44:55FromDiscord<ShalokShalom> In case creating it with an easy to use, and declarative code, would be the integration of fidget be unnecessary, since Qt Qml already offers that.
05:45:25FromDiscord<ShalokShalom> https://media.discordapp.net/attachments/371759389889003532/754578459426291722/unknown-64.png
05:45:41FromDiscord<Elegant Beef> Well qt is non free aswell
05:46:17FromDiscord<ShalokShalom> So the creation of fidget happened, because of Figma. No, Qt is open source and offers a second license, which is free.
05:46:31FromDiscord<Elegant Beef> Is qt 100% permissive?
05:46:58FromDiscord<ShalokShalom> The GUI creator is non-free, while this brings it on par with Fidget and Figma.
05:47:38FromDiscord<ShalokShalom> Anyway, the point is that Godot is 100% MIT and might be exactly, what he and some others were looking for.
05:49:09FromDiscord<ShalokShalom> So I leave the documentation here, that describes the integration between Nim and Godot. It is feature complete and ready to go: https://pragmagic.github.io/godot-nim/master/index.html#getting-started-creating-project
05:49:27FromDiscord<ShalokShalom> Wonderful day πŸ˜‡
05:49:55FromDiscord<Elegant Beef> What's the output code for godot ui look like, cause im fairly certain another big thing is that fidiget is all in nim code, and depending on the output of godot that could make it very difficult for that seemless experience
05:50:06FromDiscord<Elegant Beef> (edit) 'fidiget' => 'fidget'
05:50:40FromDiscord<Rika> Isn’t Godot a game engine and creator
05:50:48FromDiscord<ShalokShalom> Yes
05:51:00FromDiscord<Avatarfighter> I think there is a qml DSL
05:51:09FromDiscord<Rika> I don’t think many people who are just coming to make a GUI wants to install a game editor
05:51:20FromDiscord<ShalokShalom> @Elegant Beef As I explained multiple times, there is no output code for the UI.
05:51:25FromDiscord<Elegant Beef> That's my point
05:51:36FromDiscord<ShalokShalom> @Rika 70 mb and its the easiest way.
05:51:45FromDiscord<Rika> Fidget is made to be backend agnostic
05:52:27FromDiscord<Elegant Beef> Wonder if treeform will weigh in πŸ˜„
05:53:04FromDiscord<Elegant Beef> What'd be a more reasonable suggestion is making a realtime editor/viewer for fidget that's free
05:53:26FromDiscord<Elegant Beef> That way you dont rely on a game engine for doing some rather simple renderering
05:53:33FromDiscord<Elegant Beef> (edit) 'renderering' => 'rendering'
05:54:35FromDiscord<Elegant Beef> Cause as soon as you make fidget only work through an editor you've officially killed it's functionality imo
05:54:56user9test
05:54:58FromDiscord<ShalokShalom> It is also portable to multiple different platforms, probably more than Fidget. ↡Practically all that offers some form of OpenSDK. Linux, Windows, macOS, WebAssembly, Xbox via UWP, Android, iOS and via third party support Playstation, Xbox native and Switch
05:55:39FromDiscord<ShalokShalom> > What'd be a more reasonable suggestion is making a realtime editor/viewer for fidget that's free↡@Elegant Beef That would be also reasonable.
05:57:55FromDiscord<ShalokShalom> But game engine is here more distracting as a word as helpful. Godot is really multi purpose and multiple different projects - like the Godot editor itself, got made in it. And there is really no way, why it should be not feasible for other software, quite the contrary. I can ask, if there is some form of code, that can be used to be edited directly, while I doubt it.
05:59:58FromDiscord<Elegant Beef> Well for me the cool thing about fidget is super easy to write gui code in the same language as you're writting, native code that doesnt require any painful dicking around with styling sheets or the like
06:00:28FromDiscord<ShalokShalom> Yeah, that for fidget is already perfect for.
06:00:57FromDiscord<ShalokShalom> While I understood treeforms intention differently.
06:01:38FromDiscord<Elegant Beef> Well he most likely will speak eventually, so we'll see soon πŸ˜„
06:02:27FromDiscord<Elegant Beef> Although it's a rather big demand to have a 70MB dependancy πŸ˜›
06:05:34FromDiscord<ShalokShalom> Its not a dependency, you can strip it, 70mb is the complete engine. πŸ™‚
06:06:23FromDiscord<ShalokShalom> He explains it at 3:20
06:06:26FromDiscord<ShalokShalom> https://youtu.be/IB8Yt2dqZbo
06:06:42FromDiscord<Elegant Beef> Hmm.... embedding nimscript and having a nimscript version that instead of attempting ogl calls speaks back to the application that then renders the file....
06:18:32*narimiran quit (Quit: leaving)
06:23:24FromDiscord<acek7> can you guys link me some stuff for gamedevelopment, tutorials, libraries, engines etc
06:24:14FromDiscord<Elegant Beef> Aside from godot-nim, nico, nimgame2, and working with graphics libraries directly, there isnt much there
06:24:38FromDiscord<Elegant Beef> Guess there is also orx
06:33:10FromDiscord<Avatarfighter> Yeah @acek7 you'll mostly be doing stuff on your own except for more known libraries where you can try and convert the language they are written in to nim
06:34:12FromDiscord<acek7> well is there any guides, tutorials, etc you can link me to that are decent
06:38:11FromDiscord<Elegant Beef> Are you looking for guides/tutorials for nim or gamedev in nim
06:38:45FromDiscord<Elegant Beef> Cause the latter will be vastly harder to find much documentation on, nim doesnt exactly have the largest userbase
06:42:00*OMGOMG_ joined #nim
06:42:26FromDiscord<Elegant Beef> Hey treeform is here now πŸ˜›
06:45:09FromDiscord<treeform> @ShalokShalom I chose Figma because it's taking design world by storm, most ui/ux jobs list it as requrement... Etc... It's just a popular option.
06:47:36*NimBot joined #nim
06:48:05*vycb[m] quit (*.net *.split)
06:48:05*dgb quit (*.net *.split)
06:48:06*stisa[m] quit (*.net *.split)
06:48:06*agentofuser[m] quit (*.net *.split)
06:48:06*torbencarstens[m quit (*.net *.split)
06:48:06*planetis[m] quit (*.net *.split)
06:48:07*hnOsmium0001[m] quit (*.net *.split)
06:48:07*BitPuffin quit (*.net *.split)
06:48:07*codic quit (*.net *.split)
06:48:08*OMGOMG quit (*.net *.split)
06:48:08*skrzyp quit (*.net *.split)
06:48:08*voidpi quit (*.net *.split)
06:48:08*EastByte quit (*.net *.split)
06:48:43*leorize quit (*.net *.split)
06:48:43*opal quit (*.net *.split)
06:52:57FromDiscord<acek7> i cant find the figma plugin
06:57:26*vicfred joined #nim
06:58:33FromDiscord<ShalokShalom> @treeform Despite its license?
06:59:39FromDiscord<ShalokShalom> @acek7 Godot, the game engine has a complete and maintained Nim binding. ↡↡https://godotengine.org/
07:00:09FromDiscord<acek7> i mean the figma plugin for fidget
07:00:40FromDiscord<ShalokShalom> You just wrote about the game development?
07:00:45FromDiscord<ShalokShalom> > can you guys link me some stuff for gamedevelopment, tutorials, libraries, engines etc↡@acek7
07:01:04FromDiscord<Rika> > i cant find the figma plugin
07:01:05FromDiscord<acek7> oh yeah i forgot briefly
07:01:19FromDiscord<acek7> sorry guys my dog just passed away im kinda out of it
07:01:40FromDiscord<Rika> πŸ˜“
07:01:47FromDiscord<ShalokShalom> Condolences
07:02:21FromDiscord<acek7> thanks...im just trying to keep myself distracted
07:02:31FromDiscord<ShalokShalom> https://github.com/treeform/fidget
07:06:20*arecacea1 quit (Remote host closed the connection)
07:06:50*arecacea1 joined #nim
07:16:55*apahl quit (Ping timeout: 240 seconds)
07:18:09*apahl joined #nim
07:20:05*literal quit (Ping timeout: 240 seconds)
07:22:10*literal joined #nim
07:25:03*vycb[m] joined #nim
07:25:03*dgb joined #nim
07:25:03*agentofuser[m] joined #nim
07:25:03*stisa[m] joined #nim
07:25:03*torbencarstens[m joined #nim
07:25:03*BitPuffin joined #nim
07:25:03*codic joined #nim
07:25:03*planetis[m] joined #nim
07:25:03*hnOsmium0001[m] joined #nim
07:25:03*skrzyp joined #nim
07:25:03*EastByte joined #nim
07:28:22*casaca quit (Ping timeout: 246 seconds)
07:29:28*leorize joined #nim
07:31:54*OMGOMG_ quit (Quit: Reconnecting)
07:32:01*OMGOMG joined #nim
07:32:24FromDiscord<acek7> other good books on nim
07:32:29FromDiscord<acek7> other than nim in action
07:32:38FromDiscord<Avatarfighter> not really
07:32:47FromDiscord<Avatarfighter> You can always read the docs πŸ˜‰
07:33:29FromDiscord<acek7> can i download them
07:33:38FromDiscord<Rika> comes with the nim compiler
07:33:41FromDiscord<Avatarfighter> ^
07:34:18FromDiscord<acek7> i wanna put it on my kindle
07:34:37FromDiscord<Avatarfighter> damn i wish https://devdocs.io was updated, they have the docs for 0.19 nim
07:40:14FromDiscord<Rika> wdym
07:40:20FromDiscord<ShalokShalom> Thanks, I looked for this homepage for quite some while now ^^
07:41:38FromDiscord<ShalokShalom> @acek7 Always consider that the shelters are filled πŸ’—
07:47:41*xet7 quit (Remote host closed the connection)
07:49:18*xet7 joined #nim
07:50:33*opal joined #nim
07:52:48FromDiscord<Avatarfighter> Yeah I'm sorry for your loss @acek7
07:53:20*opal quit (Excess Flood)
07:54:22*letto quit (Quit: Konversation terminated!)
07:54:55*opal joined #nim
07:59:06*arecacea1 quit (Read error: Connection reset by peer)
08:00:00*arecacea1 joined #nim
08:07:08FromDiscord<acek7> thanks guys it means a lot
08:07:16FromDiscord<acek7> im pretty broken up about everything
08:07:28FromDiscord<acek7> i spent like a week nursing the dog and she couldnt take it anymore
08:09:29FromDiscord<whisperdev> Is anyone exclusively using the C++ target?
08:17:16*Vladar joined #nim
08:25:51*hnOsmium0001 quit (Quit: Connection closed for inactivity)
08:27:38*Oddmonger quit (Changing host)
08:27:38*Oddmonger joined #nim
08:38:26FromDiscord<mratsim> Not exclusively but Arraymancer Cuda only works with the C++ target
08:38:43FromDiscord<mratsim> and all my libraries are tested on C, C++, ARM64 and now PPC64
08:39:27FromDiscord<mratsim> Weave in particular is well tested with C++ since with this targets it uses the C++11 concurrency semantics
08:39:46FromDiscord<mratsim> @whisperdev ^
08:43:52*arecacea1 quit (Remote host closed the connection)
08:44:11*arecacea1 joined #nim
09:04:44FromDiscord<ShalokShalom> > i spent like a week nursing the dog and she couldnt take it anymore↡@acek7 I had a newborn puppy in my pocket that I seek to find treatment for, it died inside of that pocket.
09:06:43FromDiscord<ShalokShalom> I also give to think, that our interpretation and assumption that disembodiment is something cultural, not something factual. πŸ™‚
09:07:02FromDiscord<ShalokShalom> (edit) 'I also give to think, that our interpretation and assumption that disembodiment is ... somethingcultural' => 'I also give to think, that our interpretation and assumption that disembodiment isbad, is' | 'cultural,' => 'cultural and'
09:08:55*FromDiscord quit (Remote host closed the connection)
09:09:12*FromDiscord joined #nim
09:27:22*casaca joined #nim
09:28:11*user9 quit (Remote host closed the connection)
09:33:31*krux02 joined #nim
09:54:41*wowaname joined #nim
09:55:03*opal quit (Ping timeout: 240 seconds)
09:55:39*wowaname is now known as opal
10:00:11*oculuxe quit (Ping timeout: 240 seconds)
10:07:07FromDiscord<kodkuce> hmm still trying to build for rpi, just tryed qumu but only get black screen
10:07:22FromDiscord<kodkuce> ```↡/bin/qemu-system-arm -monitor stdio -machine virt-3.1 -m 4096 -net nic -net user -rtc base=localtime -cdrom /home/me/Documents/Projects/QUEMu/alpine-virt-3.12.0-aarch64.iso↡QEMU 5.1.0 monitor - type 'help' for more information↡```
10:08:36*brainbomb[m] joined #nim
10:09:00*oculux joined #nim
10:09:21*Zectbumo quit (Remote host closed the connection)
10:10:02FromDiscord<kodkuce> this arm sux
10:29:18*literal quit (Ping timeout: 244 seconds)
10:30:52*literal joined #nim
10:37:40*bra-ket joined #nim
10:39:27*zyklon quit (Ping timeout: 240 seconds)
10:51:50*letto joined #nim
11:27:15*apahl quit (Ping timeout: 244 seconds)
11:28:21*apahl joined #nim
11:32:37*arecacea1 quit (Remote host closed the connection)
11:33:01*arecacea1 joined #nim
11:49:14FromDiscord<kodkuce> kmeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
12:06:01*supakeen quit (Quit: WeeChat 2.9)
12:06:44*supakeen joined #nim
12:27:55FromDiscord<Clyybber> > looking at the code, it doesn't seem like the logic is very well sorted out.↡what makes you say that?
12:36:58*femtotones joined #nim
12:45:55*femtotones quit (Ping timeout: 240 seconds)
12:50:59*pbb quit (Ping timeout: 246 seconds)
13:59:21disruptekso very many things.
14:08:28FromDiscord<haxscramper> Does nim have equivalent of python's `float('inf')` for integers where you can subtract/add anything to this number and it will still be `inf`? I can get float infinity by doing `1 / 0`, but it doesn't really work for integers
14:12:03disruptekuh, no.
14:13:45FromDiscord<mratsim> yes
14:13:50FromDiscord<mratsim> Inf and -Inf
14:14:34FromDiscord<haxscramper> For integers?
14:14:44FromDiscord<mratsim> ah, no
14:14:46FromDiscord<haxscramper> !eval int(1 /0)
14:14:47NimBotCompile failed: /usercode/in.nim(1, 7) Error: type mismatch: got <int literal(0)>
14:15:17FromDiscord<mratsim> You need a symbolic math library for this
14:15:22FromDiscord<Clyybber> integers are integers, they don't have a Inf state
14:15:27FromDiscord<Recruit_main707> !eval 1 mod 0
14:15:28disrupteki just use my imagination.
14:15:28NimBotCompile failed: /usercode/in.nim(1, 3) Error: expression '1 mod 0' is of type 'int' and has to be discarded
14:15:36FromDiscord<Recruit_main707> lol, not mod, div
14:15:45FromDiscord<haxscramper> Okay, I will just do `maxInt - 1000 < a and a < maxInt`. SHould be good enogu
14:15:46FromDiscord<mratsim> that will give you SIGFPE
14:15:55FromDiscord<mratsim> 1 div 0
14:16:23FromDiscord<Clyybber> @haxscramper what use case do you have? I think it would make sense to create a distinct int type for that
14:16:35FromDiscord<haxscramper> I'm just porting python code that makes use of this "lovely" feature
14:16:42FromDiscord<Clyybber> ah ok
14:17:03FromDiscord<mratsim> I would just use "type Infinity = object"
14:17:10FromDiscord<mratsim> and overload + and -
14:17:12FromDiscord<haxscramper> And since in python `float ~ int ~ string ~ concrete` I have troubles with types
14:17:38FromDiscord<mratsim> so that you can do "1 + infinity"
14:17:39FromDiscord<Clyybber> if the python code does float('Inf') I think it should be equivalent for the nim code to do Inf
14:18:04FromDiscord<Clyybber> and use a float instead
14:18:14disruptekjust keep incrementing. you'll get to infinity eventually, right?
14:18:23FromDiscord<mratsim> or -1 or 0
14:18:35FromDiscord<Clyybber> I want safe uints
14:18:59FromDiscord<Clyybber> but there seems to be no gcc/clang extensions that provide the building blocks for them
14:19:17FromDiscord<Clyybber> safe as in overflow checked
14:19:55FromDiscord<haxscramper> Yes, but the issue is - every other part of the code assumes this is an integer. So I have things like `0 .. margin` etc. where `margin` might be an `inf`. But sometimes there is also things added and subtracted from it, so it will be really annoying to have `float` and reimplement all other `..` for it. But I think `func inf*(a: int): bool = (infty - 4096 <= a) and (a <= infty + 4096)` will suffice for now. I just wanted to make sure
14:20:19FromDiscord<Clyybber> k
14:21:11disrupteki wouldn't even consider not going the distinct route.
14:32:48*voidpi joined #nim
14:33:13FromDiscord<mratsim> @Clyybber Nim already uses the GCC builtin for overflow checking
14:35:47FromDiscord<Clyybber> oh, damn. I wasn't aware that there were also builtin_uadd_overlow functions
14:35:59FromDiscord<Clyybber> all set pieces are there then :D
14:37:28*Lord_Nightmare quit (Ping timeout: 246 seconds)
14:41:55*TCZ joined #nim
14:42:28*natrys joined #nim
14:44:04*superbia1 joined #nim
14:44:40*TCZ left #nim ("Leaving")
14:45:14FromDiscord<treeform> @ShalokShalom Yes, sorry, I like open source, but I use the value of closed source too. Open source struggles with UX type things.
14:45:55FromDiscord<treeform> For Fidget it was either Figma or Sketch... Maybe XD... all closed source pay for software
14:47:27*waleee-cl joined #nim
14:47:28*superbia quit (Ping timeout: 260 seconds)
14:47:42*Lord_Nightmare joined #nim
14:49:56FromDiscord<ShalokShalom> @treeform What you say about Godot?
14:52:05*pbb joined #nim
14:55:24*Lord_Nightmare quit (Ping timeout: 258 seconds)
15:03:40disruptekhearts and minds, people; hearts and minds!
15:06:01disruptekclyybber: if you are around, i could use your help with loc.r =
15:09:48disruptekthe problem is figuring out how to bear witness when no witness is available. i'm thinking about pushing it into a stack on the backend module and then popping them off before any read.
15:11:03FromDiscord<Clyybber> why would there be no witness sometimes?
15:11:43disruptekeg. createDispatcher(PSym) for methods.
15:12:07FromDiscord<Clyybber> can't you introduce a witness there?
15:12:29disruptekmaybe, i'm just trying to keep the changes as small as possible.
15:12:39disrupteki hated looking at the old diff.
15:13:11FromDiscord<Clyybber> yeah, thats a good idea, but I think introducing a change stack just to decrease the diff is not good
15:13:47disrupteki need mangling merged.
15:14:10FromDiscord<Clyybber> do you still ahve that taintedstring hack in there?
15:14:15disruptekyeah.
15:14:22FromDiscord<Clyybber> then its unmergable IMO
15:14:29FromDiscord<Clyybber> and not ready for review probably
15:14:32disruptekhow would you solve it?
15:14:39FromDiscord<Clyybber> I dunno what the problem is
15:14:49disruptekit's the same problem as tuples and proc signatures.
15:15:00disruptekroughly.
15:16:56disruptekif we define the signature using a type, and that type doesn't match the later mangle of a use of the signature, then the two won't match.
15:26:36disruptektainted string hack could be resolved by resorting to distinct bases for our type names. not sure that's really better than omitting the type names entirely.
15:28:32*def- quit (Quit: -)
15:28:47*def- joined #nim
15:28:48*bouzu_ joined #nim
15:29:30disruptekfor procs and tuples we could maintain a global registry of the signatures so that we can identify them without having to query the entire module graph. first one into the registry wins.
15:30:24disrupteki was trying to avoid duplicating the data.
15:41:37disruptektypeName() already resolves distincts, so it's merely a question of whether we want to change the logic.
15:47:56FromDiscord<Clyybber> >if we define the signature using a type, and that type doesn't match the later mangle of a use of the signature, then the two won't match.
15:48:02FromDiscord<Clyybber> why does this happen in the first place?
15:48:11FromDiscord<Clyybber> the later use should be the same as the first use no?
15:48:28disruptekwe don't have any context that includes the first use.
15:48:44disruptekhence the comment about "all mangles have to be the same"
15:49:17disrupteki will push a taint-free version and we can see if it is widely acceptable.
15:51:23FromDiscord<haxscramper> How can I prevent symbols resolution when I call macro with `untyped` parameter as `(some code).myMacro:`? When I do `myMacro(some code)` there are no issues. Code: https://play.nim-lang.org/#ix=2xqf
15:51:50FromDiscord<Clyybber> you can't
15:51:52disruptekknown problem.
15:51:54FromDiscord<Clyybber> I have a PR to fix that
15:52:00FromDiscord<Clyybber> but its not finished
15:52:54disruptekmy dashboard is awesome, btw. highly-recommended.
15:54:02disruptekclyybber: i cannot figure out the incantation to make koch test with just c or just cpp or just "c cpp"; how do i use --targets correctly?
15:59:11*arecacea1 quit (Remote host closed the connection)
16:00:11*arecacea1 joined #nim
16:00:17FromDiscord<treeform> @ShalokShalom about Godot, I like that there is an open source competitor to Unity/Unreal. I have downloaded it played with it. But did not get too deep. Did not use it with nim.
16:01:19FromDiscord<Clyybber> disruptek: I never used koch to test, I use testament directly
16:01:29FromDiscord<Clyybber> --targets:"c" *should* work, but doesn't
16:01:44disruptekbleh.
16:03:29FromDiscord<Clyybber> disruptek: I mean, in general if TaintedString doesn't work, no type aliases will
16:03:36FromDiscord<Clyybber> so I think its important to get it right
16:05:22Araqclyybber: btw testament got new features for testing Nim compiler error messages, look at tests/effects/teffects1.nim
16:05:36Araq#[tt.Error ^ message here]
16:06:20Araquse it with 'cmd: "nim check $file" ' to test for multiple error messages in a convenient way
16:14:56Araqdisruptek: https://github.com/nim-lang/Nim/pull/14632 is super red now :-)
16:14:57disbotβž₯ porting name mangling from ic effort
16:16:05disruptekhmm, tainted is a problem again.
16:17:09*endragor quit (Remote host closed the connection)
16:17:13Araqwhy?
16:17:39*endragor joined #nim
16:18:10disruptekcan't tell if you're being facetious.
16:18:35Araqhaven't read the dicussion
16:18:40Araqhaven't read the discussion
16:18:58disrupteki think i overlooked something obvious.
16:19:23*opal quit (Ping timeout: 240 seconds)
16:20:43*Cthalupa quit (Ping timeout: 244 seconds)
16:22:11*endragor quit (Ping timeout: 244 seconds)
16:23:22*Cthalupa joined #nim
16:25:14*endragor joined #nim
16:25:41disruptekthat boy needs therapy.
16:30:54*endragor quit (Remote host closed the connection)
16:31:23*endragor joined #nim
16:31:41*lritter joined #nim
16:34:13*opal joined #nim
16:36:19*endragor quit (Ping timeout: 265 seconds)
16:44:55*a_chou joined #nim
17:12:38*a_chou quit (Ping timeout: 258 seconds)
17:14:12*Vladar quit (Quit: Leaving)
17:16:43*endragor joined #nim
17:21:28*endragor quit (Ping timeout: 260 seconds)
17:28:30*haxscramper joined #nim
17:28:43FromGitter<sealmove> Hey, O see ioctl defined in posix module but it only takes 2 arguments, whereas C's ioctl takes varargs. What's going on there?
17:29:06Oddmongeris it possible to define a tuple in a function, and pass its adress with Β«addrΒ» ?
17:30:00Oddmongerlike this: setColor( soldier, addr ( orxVECTOR_WHITE, 1.0f ))
17:30:21Oddmongerlike a kind of anonymous object
17:30:25FromDiscord<Rika> not like that
17:30:47FromDiscord<Rika> need to put it in a mutable variable first
17:31:07FromGitter<sealmove> it needs to have an address
17:31:15Oddmongerah ok, that's what i was doing before asking
17:31:57haxscramper!eval echo((var a = ("e", 2); cast[int](addr a)))
17:31:59NimBot93944893922624
17:32:29*superbia1 is now known as superbia
17:33:15FromGitter<sealmove> oddmonger: use `var` for your tuple parameter in proc's definition, and then you don't need to use `addr`
17:33:35FromDiscord<Recruit_main707> !eval var a = ("e", 2);echo(cast[int](addr a))
17:33:36NimBot94464888102208
17:33:44Oddmongerwell i need to, because it's needed by the API
17:34:13haxscramperYou can do it like this: `proc tmp(a: ptr (string, int)) = echo a[]` and `tmp((var a = ("e", 2); addr a))`.
17:34:21Oddmongerit is defined like this: proc setColor*(pstObject: ptr orxOBJECT; pstColor: ptr orxCOLOR)
17:34:40FromGitter<sealmove> https://play.nim-lang.org/#ix=2xr0
17:35:02FromDiscord<Recruit_main707> its a library
17:35:06FromDiscord<Recruit_main707> he doesnt write it
17:35:07FromGitter<sealmove> ah
17:35:31Oddmongerah yes var in proc definition, i remember
17:35:32haxscramperhttps://play.nim-lang.org/#ix=2xr1
17:35:41Oddmongerthank for the reminding :)
17:37:42Araqsealmove: I don't know, maybe an oversight in our wrapper, maybe the Linux version differs from Posix and nobody noticed
17:38:16Araqit's 2020, what is 'static T'
17:38:39Araqproc columns[M, K: static[int]; T](m: typedesc[MyMatrix[M, K, T]]): M = 0 # type expected for 'M'
17:39:30*rockcavera joined #nim
17:41:06FromDiscord<Avatarfighter> Hello everyone how are you all doing
17:41:15Araqbut "how can I infer static values in the new styled concepts" -- "how can you even use static values anyway"
17:46:31*hnOsmium0001 joined #nim
17:52:32Prestigehey @Avatarfighter
17:55:58*Trustable joined #nim
17:57:35FromDiscord<Avatarfighter> Prestige: Hi, are you working on anything exciting today?
17:58:35PrestigeWorking on a game possibly, er starting to. First one in Nim
17:59:40FromGitter<sealmove> Araq: nah, the posix standard says it takes an optional 3rd argument or not depending on the 2nd argument
18:01:34FromGitter<sealmove> btw C varargs are untyped. how do you typically wrap those? varargs[any]?
18:01:52FromDiscord<Avatarfighter> Prestige: do you have an idea for your game yet?
18:02:28PrestigeYeah, only problem is I don't want to create the art. Might hire a freelancer
18:02:54FromDiscord<Avatarfighter> I heard disruptek is a man of many trades
18:03:00FromGitter<sealmove> btw there is a varargs pragma. maybe I am missing something: `proc ioctl(f: FileHandle; device: uint): int {.importc: "ioctl", header: "<sys/ioctl.h>", varargs, tags: [WriteIOEffect].}`
18:03:16FromDiscord<ShalokShalom> @treeform I mean you can build UI applications with it
18:03:43FromDiscord<ShalokShalom> Quite a lot are build like this like Godot itself. πŸ™ƒ
18:03:54disruptekyou're blowin' my mind right now.
18:04:18FromDiscord<ShalokShalom> Cross-platform, hardware-accelerated and open source...
18:04:25FromDiscord<Avatarfighter> Disruptek: What is new today!
18:04:30disruptekbe still my throbbing balls.
18:04:45FromDiscord<Avatarfighter> Wow! Exciting!
18:04:51disruptekhow goes the memory consumption?
18:05:01FromDiscord<Avatarfighter> I actually managed to bring it down
18:05:17FromDiscord<Avatarfighter> I'm saving a gigabyte by using some really cool methods
18:05:55FromDiscord<Avatarfighter> its not yet running at under 512MB but 17GB instead of 20GB is good atm
18:06:04disruptekuhh
18:06:31FromGitter<sealmove> ah, Araq sorry, my bad, I didn't realize how the pragma works https://nim-lang.org/docs/manual.html#foreign-function-interface-varargs-pragma
18:07:00FromDiscord<Avatarfighter> I think using the critbit lib will drop that considerably but I do think I'll have a few GiBs in memory so I either have to make my thing slower or pray to the gods
18:07:22disruptekplan to not keep it all in memory, chuckles.
18:07:59FromDiscord<Avatarfighter> Do not worry
18:08:32FromDiscord<Avatarfighter> I am working on incorporating LMDB
18:08:48FromDiscord<Avatarfighter> should be exciting from my tests
18:09:31disruptekyeah, lmdb is good stuff.
18:09:32Araq"'the posix standard says it takes an optional 3rd argument" well too bad then that C doesn't have optional arguments at all
18:09:57disruptekwell, you don't /have/ to argue.
18:10:10FromGitter<sealmove> yeah of course it's implemented with varargs
18:10:27FromDiscord<Avatarfighter> disruptek: I'm kind of worried though because the "server" im using has either 3GB of storage or 10GB
18:11:21disruptekit can be hard to decide.
18:11:27FromDiscord<lqdev> Araq: it's similar to the OpenGL reference, sometimes they say that some param has a default value even though it's not part of the OpenGL state machine
18:11:48disruptek"we wish it had a default"
18:18:15*Avatarfighter joined #nim
18:23:42FromDiscord<acek7> how are you all
18:23:52disruptekbroke.
18:25:13FromDiscord<ache of head> hey disruptek
18:25:17FromDiscord<ache of head> why doesn't nimph work
18:25:44disruptekit's only for package management. for your application, carter cruise is a better choice.
18:26:15FromDiscord<ache of head> sent a code paste, see https://play.nim-lang.org/#ix=2xrt
18:26:38disruptekwhat does it say?
18:26:57FromDiscord<ache of head> what does what say?
18:27:04*Zectbumo joined #nim
18:27:15disruptekyour link. i don't bother with discord links anymore.
18:27:32FromDiscord<Avatarfighter> it says "could not load: /var/folders/l2/1tqx1r6j10s640y3j4jjh30r0000gn/T/nimble_4250/githubcom_disrupteknimph/libgit2.dylib"
18:27:35FromDiscord<ache of head> it's a link?
18:27:39FromDiscord<ache of head> dang, sorry
18:27:42FromDiscord<ache of head> i thought it was sent as text
18:27:44disruptekyeah, because yardanico is lazy.
18:27:50FromDiscord<Avatarfighter> the discord bridge converts embedded code to a link for irc
18:27:52disruptekdid you just build nimph?
18:28:01FromDiscord<ache of head> i installed it with nimble
18:28:07FromDiscord<ache of head> from the github repo
18:28:14disruptekis that wise?
18:28:33FromDiscord<ache of head> is it not?
18:28:40disrupteki would just clone the repo and run the bootstrap. not the no-nimble one, just the normal one.
18:28:49FromDiscord<ache of head> i see
18:28:51FromDiscord<ache of head> will try that
18:29:04disrupteki don't support nimble. that's kinda why nimph exists. πŸ˜‰
18:29:24FromDiscord<ache of head> hmmm
18:29:37disrupteki think JBB doesn't work right now, though. due to an ssl certificate error.
18:29:57disruptekbut, if you find that to be the case, you can just use git.
18:30:17disruptekit's reproducable on linux but i dunno about osx.
18:30:46FromDiscord<Avatarfighter> I can test if you want
18:30:51disrupteki know it's annoying as fuck.
18:30:52FromDiscord<Avatarfighter> Just need to know what to do
18:31:18disrupteki guess try `nimble install https://github.com/disruptek/nimph` and see what happens.
18:31:59FromDiscord<Avatarfighter> I hope being on macOS beta doesn't break anything too mcuh
18:32:31Araqclassic macOS before 'X' got into the name?
18:32:47disruptekthe bug is that `nimph clone` will work but the doctor won't because, like, the jbb libgit2 ssl doesn't know how to do the right thing with a git url... or something.
18:32:52FromDiscord<Avatarfighter> Mac OS X got rebranded a bit ago back to macOS
18:32:53FromDiscord<Rika> no, macos removed the x recently
18:32:55*endragor joined #nim
18:33:00FromDiscord<Rika> so no
18:33:03FromDiscord<Rika> now*
18:33:08FromDiscord<haxscramper> > i guess try `nimble install https://github.com/disruptek/nimph` and see what happens.↡Didn't work for me last time I tried. @ache of head just go with `git clone https://github.com/disruptek/nimph`
18:33:19FromDiscord<Rika> you have classic mac OS and macOS
18:33:25disrupteki mean, for fighter to test it on osx.
18:33:25FromDiscord<Avatarfighter> Yeah
18:33:40FromDiscord<Avatarfighter> I'm building nimph rn
18:33:51disrupteknimble is working, right?
18:33:53FromDiscord<Avatarfighter> Do you just need me to build it or want me to do stuff with it?
18:33:56FromDiscord<Avatarfighter> yeah
18:34:07disrupteklet's see if it can find the libs once it's installed.
18:34:18disruptekthen we can see if your ssl works.
18:34:18*Avatarfighter quit (Quit: Leaving.)
18:35:14FromDiscord<Avatarfighter> brb for a bit while it builds I'll report back when it fails
18:35:22FromDiscord<Avatarfighter> or succeeds
18:36:06disruptekhaxscramper: do you use jbb or git or what?
18:36:10disruptekyou're on linux, right?
18:37:14FromDiscord<haxscramper> I used git and I'm on linux
18:37:19FromDiscord<Avatarfighter> I might be afk for a bit while it builds I need to do my biology homework lmao
18:38:08FromDiscord<Avatarfighter> nimph built correctly
18:38:17FromDiscord<Avatarfighter> Was that the only bit I was meant to test or no
18:38:41FromDiscord<Avatarfighter> and nimph does not run
18:38:57disruptekreally.
18:39:01FromDiscord<Avatarfighter> "could not load: /var/folders/qk/y0hpr1rd40gcdnwxv0f41fgm0000gn/T/nimble_38912/githubcom_disrupteknimph/libgit2.dylib"
18:39:02FromDiscord<Avatarfighter> yeah
18:39:34FromDiscord<Avatarfighter> it compiles but doesn't load the dylib, though this could be because macOS changes how dylibs are handled on the system
18:39:41FromDiscord<Avatarfighter> But I only think that applies to the ones shipped with the OS
18:40:12disrupteki think i'm going to switch it to git by default.
18:40:38*OldFaithful joined #nim
18:42:53disruptekwindows users won't get working ssh clones but i don't really care about them.
18:43:07FromDiscord<Avatarfighter> lmao
18:44:01disruptekit's their choice after all.
18:48:16FromDiscord<Avatarfighter> Debian is the superior OS
18:48:23FromDiscord<Avatarfighter> it says it needs 256MB minimum
18:48:25idfs/Debian/Void
18:48:28FromDiscord<Avatarfighter> perfect >:)
18:49:27FromDiscord<lqdev> :s/Void/Artix
18:49:56Zevv~figlet
18:49:57disbotno footnotes for `figlet`. πŸ™
18:50:00idfinstall gentoo
18:51:50FromDiscord<haxscramper> !eval import distros; echo high(Distribution)
18:51:53NimBotHaiku
18:52:02idfholy, haiku is amazing
18:52:22FromDiscord<iWonderAboutTuatara> Windows > linux
18:52:28FromDiscord<haxscramper> !eva import distros; echo low(Distribution)
18:52:31idfmods
18:52:42FromDiscord<lqdev> !eva import distros; echo low(Distribution)
18:52:43FromDiscord<lqdev> da
18:52:47idfda
18:52:47FromDiscord<lqdev> !eval import distros; echo low(Distribution)
18:52:50NimBotWindows
18:52:54FromDiscord<lqdev> loooooool
18:53:00idfwindows is a distro doe
18:53:00FromDiscord<lqdev> Windows < everything
18:53:12FromDiscord<Avatarfighter> lmao
18:53:19Prestigeobv mac os isn't on the list
18:53:56FromDiscord<Avatarfighter> macOS isn't on the list bc a gold standard os doesn't need to be on a list πŸ₯±
18:53:59FromDiscord<iWonderAboutTuatara> Windows > Linux
18:54:14FromDiscord<iWonderAboutTuatara> Mac os isn't on the list because nobody seriously thinks it can compete with win or Linux
18:54:18Prestige^
18:54:26FromDiscord<Avatarfighter> ahah
18:54:26FromDiscord<haxscramper> Well, technically it is on the list: https://nim-lang.org/docs/distros.html#Distribution
18:54:34FromDiscord<Avatarfighter> hey man I'm vibing with my linux libs running on mac
18:55:26*Prestige starts an OS war in #nim
18:55:31FromDiscord<Avatarfighter> ahah
18:55:36FromDiscord<lqdev> meanwhile macOS market share being greater than linux's
18:55:40disruptekhey fighter
18:55:46FromDiscord<Avatarfighter> To be fair idk why I said that I run Windows, Mac, and Linux
18:55:51FromDiscord<Avatarfighter> what's up disruptek
18:55:59disruptekplease try a nimble install of nimph since it was bumped.
18:56:11FromDiscord<Avatarfighter> i gotchu
18:58:14FromDiscord<Avatarfighter> do you guys think a server host will let me use Lubuntu minimal on their machines
18:59:25idflubuntu minimal sounds decent from that point of view, so sure i guess
18:59:40FromDiscord<ache of head> > Didn't work for me last time I tried. @ache of head just go with `git clone https://github.com/disruptek/nimph`↡@haxscramper thanks!
19:00:16disruptekwell, it might work now; fighter will let us know. πŸ˜‰
19:00:39voidpiidf: void gives linux a good name
19:00:55idfthese, also i like your username
19:01:00voidpihow come I can't find nimph with nimble search?
19:01:12Zevvbecause nimphs author
19:01:18disruptekis a prick.
19:01:23Zevvis a prick.
19:01:30idfprickle disruptek
19:01:31voidpialso a pickle
19:01:47voidpiidf: lol
19:01:56*endragor quit (Remote host closed the connection)
19:02:25voidpiany more packages manager fragmentation I should know about?
19:02:38disruptek!repo nimby
19:02:39disbothttps://github.com/treeform/nimby -- 9nimby: 11Nimby is a very simple and unofficial package manager for nim language. 15 7⭐ 0🍴 7& 2 more...
19:02:40FromDiscord<Avatarfighter> i think there is another
19:02:44FromDiscord<Avatarfighter> two others i think
19:02:54Zevvwell, in our community we only accept newbies if they made at least one package manager
19:02:54FromDiscord<Avatarfighter> disruptek
19:03:03FromDiscord<Avatarfighter> "nimph help" doesn't even fucking work
19:03:04voidpilet's invent another to rule them all!
19:03:16disruptekwhat a piece of shit.
19:03:28FromDiscord<Avatarfighter> bro why is the help command trying to load git
19:03:31disruptekhuh, works for me.
19:03:43FromDiscord<acek7> im probably looking in the wrong place but i still cant find the export plugin in figma that exports into nim code
19:04:21FromDiscord<Avatarfighter> it should be in the github for fidget I believe
19:05:01idfspeaking of package manager fragmentation, i realised i have 4 package managers installed, and i installed atleast one package with each
19:05:27FromDiscord<Avatarfighter> imagine not using 5 package managers smh
19:05:50FromDiscord<acek7> what package managers are they
19:06:06FromDiscord<Avatarfighter> disruptek lmk when you want me to try again
19:06:10FromDiscord<Avatarfighter> I gotta speedrun a unit test atm
19:06:21disruptekwe're just going to keep writing package managers until the problem is solved.
19:06:36disruptekare you telling me 1.0.3 doesn't work?
19:06:53FromDiscord<Avatarfighter> uhm
19:06:55FromDiscord<Avatarfighter> how can i check
19:07:04FromDiscord<Avatarfighter> i just installed with the github url
19:07:23disruptekyou did `nimble install https://github.com/disruptek/nimph`?
19:07:28FromDiscord<Avatarfighter> yeah
19:07:33disruptekand it built.
19:07:36FromDiscord<Avatarfighter> yes
19:07:50disrupteknimph --version yields `1.0.3`?
19:08:03FromDiscord<Avatarfighter> nimph --version yields "could not load: /var/folders/qk/y0hpr1rd40gcdnwxv0f41fgm0000gn/T/nimble_41748/githubcom_disrupteknimph/libgit2.dylib"
19:08:50disruptekshashlick: ^ any ideas? we tried jbb and git with the same result.
19:09:28FromDiscord<Avatarfighter> it looks to be a bug
19:09:34FromDiscord<Avatarfighter> that path doesn't exist
19:09:45disruptekwhich nimble are you using?
19:09:50FromDiscord<Avatarfighter> "/var/folders/qk/y0hpr1rd40gcdnwxv0f41fgm0000gn/T/nimble_41748" specifically this
19:10:03FromDiscord<Avatarfighter> nimble v0.11.4
19:10:20disruptekhmm.
19:10:28disruptekgit hash: 27d1063febe3055252103cacb11787ac83893416 ?
19:10:50FromDiscord<Avatarfighter> yes
19:11:10FromDiscord<Avatarfighter> I don't think nimble is making that directory with the dylib
19:11:36FromDiscord<haxscramper> I can set default values for functions using other arguments, like this: `proc tmp(a = 12, b = a + 2) = echo b` - how this feature is called? I'm having trouble googling if other languages have something similar
19:11:52disruptekkeyword arguments.
19:12:17FromDiscord<haxscramper> No, I mean `b = a + 2` thing where I can use other argument in default value expression
19:12:33disruptekah, not sure it has a name. it's pretty rare.
19:12:57Zevvwait what does that work
19:13:03Zevvwho makes up all that stuff
19:13:09disruptekyeah, sometimes it works. πŸ˜‰
19:13:11shashlickNice bug
19:13:43disruptekis it nimterop?
19:13:46ZevvWay too much shit in this language. If Lua had types I would not even be here.
19:13:50FromDiscord<haxscramper> I think this is a great thing to have
19:14:02disruptekZevv: you saw that new typeful lua, right?
19:14:16ZevvI liked the one from FOSDEM better
19:14:26disruptekit doesn't do tail recursion properly, so i'm out.
19:14:33shashlickYa
19:15:38ZevvNim doesn't
19:15:43FromDiscord<Avatarfighter> disruptek: do you need anymore help from me?
19:15:55disruptekno, thanks boss.
19:16:13FromDiscord<Avatarfighter> np, feel free to ask if you need me to test again
19:16:25FromDiscord<haxscramper> > Way too much shit in this language. If Lua had types I would not even be here.↡https://play.nim-lang.org/#ix=2xrP
19:16:47disruptekhttps://github.com/dibyendumajumdar/ravi
19:16:52FromDiscord<haxscramper> > Expressive
19:17:24Zevvbrb, fetching my eye drops
19:17:30disrupteklol
19:17:46*endragor joined #nim
19:17:57ZevvWhy even the double brackets?
19:18:06FromDiscord<Avatarfighter> because its quirky Zevv
19:18:21disruptekextra lulz
19:18:25Zevvyeah what would you expect
19:18:44Zevvin my country they lock you up if you type this kind of nonsense
19:18:45FromDiscord<acek7> why am i getting this error when running the plugin in figma ```figma_app.9fb7f502d2…ec6903c0.min.js:978 Error: Unable to load code: Error: ENOENT: no such file or directory, open 'C:\Users\Kin\Documents\GitHub\fidget\figma_plugin\code.js'↡ at Object.t.getLocalPluginCode (figma_app.9fb7f502d2…ec6903c0.min.js:581)```
19:19:21FromDiscord<acek7> there a step im missing
19:19:25FromDiscord<Avatarfighter> @treeform
19:19:32FromDiscord<haxscramper> > brb, fetching my eye drops↡https://play.nim-lang.org/#ix=2xrR
19:19:40FromDiscord<haxscramper> Sometimes I feel bad for compiler
19:19:56FromDiscord<Avatarfighter> Is the plugin at the path listed @acek7
19:20:22FromDiscord<acek7> basically i just had to clone the repo and point the figma plugin to the manifest right
19:21:24FromDiscord<Avatarfighter> I would assume so? Does "code.js" exist in `fidget/figma_plugin/`?
19:22:04voidpi19:07 < disruptek> you did `nimble install https://github.com/disruptek/nimph`?
19:22:19voidpidisruptek: I tried that and got an error
19:22:32FromDiscord<acek7> i figured it out
19:22:35*endragor quit (Ping timeout: 258 seconds)
19:22:37voidpiPrompt: Build failed for 'https://github.com/disruptek/[email protected]', would you lik
19:22:42FromDiscord<acek7> its a Typescript file and i forgot to change it to .js
19:22:48disruptekwell, like the readme says, it only works for a lucky few.
19:22:51disruptekthe rest of us have to use the bootstrap.
19:23:04FromDiscord<Avatarfighter> Uhhh I don't know if figma understands TS
19:23:37FromGitter<sealmove> is `cast[pointer]` any different than `addr`?
19:23:43disruptekyes.
19:24:15FromDiscord<Avatarfighter> @acek7 you need to compile the typescript plugin using `tsc` you'll probably have to install that
19:24:38FromDiscord<acek7> oh dang i know nothin about typescript
19:28:50FromDiscord<whisperdev> How hard it is to make a program that can interpret some β€œdsl” from a file?
19:30:45FromDiscord<Rika> depends on the dsl?
19:31:15Zevvwhisperdev: show us your dsl, and we'll quote you a hardness
19:31:18FromDiscord<Rika> sealmove: cast pointer converts the data stored on the struct into a pointer (aka not what you're looking for), while addr gets the address
19:31:47FromDiscord<Avatarfighter> Rika, what are you working on?
19:32:06FromDiscord<Rika> i am working on nothing
19:32:08FromDiscord<Rika> right now
19:32:24FromDiscord<Avatarfighter> nimguard when
19:32:28FromDiscord<whisperdev> I am thinking dummy stuff. Nothing too serious.
19:32:37FromDiscord<Rika> oml didnt you tell me you were gonna do that
19:32:41FromDiscord<Avatarfighter> yes
19:32:45FromDiscord<Avatarfighter> AvatarGuardβ„’
19:33:03FromDiscord<Rika> im not intelligent enough to figure out the intricacies of these kinds of security libraries
19:33:14FromDiscord<Avatarfighter> 😦
19:33:35FromDiscord<Avatarfighter> AvatarGuardβ„’ is so effective you won't even have to worry about females approaching you and your code
19:33:44FromDiscord<Avatarfighter> and your memory !
19:34:28Zevvwhisperdev: well, in Nim it's not easier or harder then in other languages
19:34:38Zevvyou write a parser, and do stuff with the stuff you parse
19:35:08voidpino memory leaks in ba sing se
19:35:10Zevvat one extreme you have something like reading in a data structure. At the other extreme you kind of build a compiler
19:38:07*a_chou joined #nim
19:39:30FromDiscord<whisperdev> Zevv i never did anything like that and i imagine there is not a lot of tutorials to do something like that in Nim
19:43:57Zevv~npeg
19:43:57disbotno footnotes for `npeg`. πŸ™
19:44:01Zevvbwah
19:44:03Zevv!repo npeg
19:44:04disbothttps://github.com/zevv/npeg -- 9npeg: 11PEGs for Nim, another take 15 114⭐ 5🍴
19:44:33Zevvwhisperdev: ^^
19:47:01disruptekneed a name for a new project.
19:48:13Zevvwhat does it do
19:48:27disruptekit creates my dashboard automagically.
19:48:44Zevvdashboard?
19:48:55disruptekhttps://github.com/disruptek
19:50:13FromDiscord<haxscramper> disboard
19:50:30idfwaterboard
19:50:40disruptekwhattaboard
19:56:07FromDiscord<Theodore> is nim useful for hacking?
19:56:18disruptekyep.
19:56:26FromDiscord<Theodore> it is recommended by Parrot OS, a hacking distro
19:57:44FromDiscord<Theodore> Ba sing se
19:58:20shashlickdisruptek: basically nimble builds binaries in temp and then moves the files over to nimbleDir
19:58:30shashlickso while linking, the dynlib is referenced in tmp
19:58:56disruptekwhat a cool idea.
19:59:06disrupteknot cool. that's not what i meant.
19:59:08disrupteklame.
19:59:10shashlickthis can only be solved by using getProjectPath() or something like htat
19:59:15disrupteklame, that's what i mean. what a lame idea.
19:59:16shashlickor -rpath
19:59:31shashlickugh, just when i thought I'd dabble with C++, there's more bugs
19:59:51disruptekeventually you will give up and join the dark side.
20:00:14disrupteki just hope you still have some good lines in you by the time you throw in the towel and decide to work on nimph.
20:00:42FromDiscord<Theodore> Bugs? Memory issues? Meet my friend Rust, he can fix.
20:08:42disrupteksure, great.
20:09:11disruptekdishboard
20:10:00Zevvdoes shashlick *still* resist?
20:10:40disruptekhe's known to be glutton.
20:10:45disruptekfor punishment, i mean.
20:11:33shashlickits all about perspective
20:11:59shashlickafter all, this is a nimterop issue
20:11:59disrupteksome people just can't see the forest for the trees.
20:13:53shashlicki cannot really say much, cause I made nimterop even tho c2nim existed, so pushing for nimble instead of nimph is just hypocrisy
20:14:08shashlickbut that's how my world is - everything is allowed to exist
20:15:15disrupteki'm fine with allowing rotten milk to exist, but that doesn't mean i have to drink it.
20:15:38*Zevv sets aside his yoghurt
20:16:32FromDiscord<Elegant Beef> Last i check yogurt isnt just off milk, you chew through πŸ˜„
20:16:38shashlickOne's rotten is another's treasure
20:17:18disruptekone man's garbage is another man's culture, you mean.
20:17:41shashlickNo compulsion to drink, there's lactose lactose intolerance as well to consider
20:18:21shashlickPeople who will, won't and can't - any other categories?
20:18:37*NimBot joined #nim
20:18:49OldFaithfulwould
20:18:58FromDiscord<Rika> would?
20:19:01FromDiscord<Avatarfighter> disruptek did you fix your bad programming yet
20:19:08FromDiscord<Avatarfighter> oh god not another udp joke
20:20:58shashlickdisruptek is a category of his own - good to have him around keeping us all in check
20:21:35FromDiscord<martinium> is there a way to append new lines starting at a specific line # in a text file?
20:22:25FromDiscord<Avatarfighter> not without setting the file position i believe
20:22:47FromDiscord<Rika> and copying all after that certain line
20:23:00FromDiscord<Avatarfighter> I don't think you need to copy
20:23:18FromDiscord<Rika> how else would you append
20:23:29FromDiscord<Avatarfighter> you would set the file position then do writeLine
20:23:43FromDiscord<Rika> that would overwrite whatever is at that position
20:23:55FromDiscord<Avatarfighter> I don't think so?
20:23:57FromDiscord<Rika> it will
20:24:03*arecacea1 quit (Remote host closed the connection)
20:24:05FromDiscord<Avatarfighter> I believe it just adds and puts `\n`
20:24:22FromDiscord<Rika> what
20:24:33FromDiscord<Avatarfighter> the writeLine proc
20:24:51*arecacea1 joined #nim
20:25:01FromDiscord<Rika> `writeline` uses `write` under the hood
20:25:21FromDiscord<Avatarfighter> ah
20:25:23FromDiscord<Avatarfighter> I see now
20:25:30FromDiscord<Avatarfighter> Yeah basically your fucked @mratsim
20:25:35FromDiscord<Rika> wrong person
20:25:36FromDiscord<Rika> lol
20:25:40FromDiscord<Avatarfighter> OH GOD
20:25:42FromDiscord<Avatarfighter> I'm so sorry
20:26:01FromDiscord<Rika> tfw just pinged the god
20:26:01FromDiscord<Avatarfighter> @martinium yeah basically your fucked
20:26:04FromDiscord<Avatarfighter> I know
20:26:10FromDiscord<Rika> repent
20:26:13FromDiscord<Avatarfighter> I am trying
20:26:20FromDiscord<Avatarfighter> I need Priest Disruptek to assist
20:26:34FromDiscord<mratsim> Team mratsim assemble! Where is the ugly?
20:26:36FromDiscord<Avatarfighter> Sorry for the ping
20:26:48FromDiscord<kodkuce> i am still depresed trying to buikl for arm64 atm am trying to make quemu run an arm64 os to build but now am stugguiling with some ovmf stuff
20:26:55FromDiscord<Rika> > yeah basically your fucked↡@Avatarfighter what about their fucked? whats a fucked anyway
20:27:01FromDiscord<Avatarfighter> But if you know the solution to martinium's question of "is there a way to append new lines starting at a specific line # in a text file?"
20:27:07FromDiscord<Avatarfighter> let him know ahah
20:27:11FromDiscord<mratsim> @kodkuce you can use Travis arm64 no?
20:27:29FromDiscord<mratsim> text files are append only
20:27:37FromDiscord<Rika> you have to copy everything after the position they want to append, then rewrite the whole end of the file with the extra data
20:27:45FromDiscord<Avatarfighter> :GWjiangPepeThumb:
20:27:55FromDiscord<Avatarfighter> Thank you God mratsim πŸ™
20:28:59FromDiscord<martinium> luckily the file is small enough that it won't hurt to copy everything each time
20:29:18FromDiscord<martinium> guess I'll do it that way until then
20:29:48FromDiscord<Avatarfighter> Can I make a specific file in a project a dependency with nimble
20:30:01FromDiscord<kodkuce> for Travis i need public package right?
20:30:17FromDiscord<kodkuce> to put repo in public mode
20:30:17FromDiscord<Avatarfighter> Status wrote a wrapper for something i need to borrow but I don't want all of nim-libp2p
20:30:18FromDiscord<Elegant Beef> > Team mratsim assemble! Where is the ugly?↡I mean no reason to ask where i am
20:31:13FromDiscord<Avatarfighter> Rika did I tell you my achievement of shaving off a GiB from my programs memory usage πŸ˜›
20:31:28FromDiscord<Recruit_main707> why does this code throw an error?↡https://play.nim-lang.org/#ix=2xs8
20:31:30FromDiscord<Rika> a gibibyte out of 20 is not a lot
20:31:35FromDiscord<Avatarfighter> hey man
20:31:41FromDiscord<Elegant Beef> It's literally only 5%
20:31:48FromDiscord<Avatarfighter> its a bit lower than that
20:31:48FromDiscord<mratsim> @kodkuce yes, but apparently Gitlab supports ARM as well so it might work with a private one: https://developer.arm.com/solutions/infrastructure/developer-resources/ci-cd/gitlab
20:31:56shashlickwow its easy to get mratsim in here
20:32:04FromDiscord<Elegant Beef> 5 * 20 = 100
20:32:14FromDiscord<Avatarfighter> God always responses to its followers shashlick
20:32:15FromDiscord<Rika> @Elegant Beef `X` is also assumed to be a static int
20:32:20FromDiscord<Rika> i think
20:32:38FromDiscord<Recruit_main707> i guess that was to me Rika?
20:32:39FromDiscord<Rika> semicolons fix it
20:32:41FromDiscord<Rika> oops
20:32:42FromDiscord<Rika> it is
20:32:43FromDiscord<Rika> yes
20:32:45FromDiscord<Avatarfighter> Elegant Beef if we're being technical I'm actually at 17GiB now instead of 20GiB
20:32:46FromDiscord<Elegant Beef> I was super confused πŸ˜„
20:32:47FromDiscord<Recruit_main707> ok
20:32:56FromDiscord<Elegant Beef> Ah so you've saved 15% πŸ˜›
20:32:59FromDiscord<Avatarfighter> ik
20:33:02FromDiscord<Avatarfighter> insane
20:33:06FromDiscord<Elegant Beef> Not really
20:33:19FromDiscord<kodkuce> "Official Arm runners are available for developers to natively run builds on Arm machines." so i need an arm mashinge
20:33:40FromDiscord<mratsim> ah
20:33:42FromDiscord<mratsim> misread
20:33:44FromDiscord<Avatarfighter> I used memory techniques never seen before, I call it actually deleting objects that I forgot to remove references of
20:33:49FromDiscord<Elegant Beef> *we've managed to reduce the cost of this car by 15%, it's still 400 times the cost needs to be, but...*
20:34:12FromDiscord<Avatarfighter> psh
20:34:15FromDiscord<Avatarfighter> 400 times !?
20:34:22FromDiscord<Avatarfighter> how else are you going to hold a few urls
20:34:55FromDiscord<Elegant Beef> Arent you rolling this out on hardware with 512mb of ram?
20:34:56FromDiscord<martinium> anyone ever half lose their minds trying to squash a bug and it turns out to be the simplest error ever?
20:34:59FromDiscord<Avatarfighter> yes
20:35:06FromDiscord<martinium> lol
20:35:07FromDiscord<Elegant Beef> I rest my case πŸ˜„
20:35:20FromDiscord<Avatarfighter> LMao just wait till I finish the critbit tree
20:35:27FromDiscord<Avatarfighter> finish integrating*
20:35:37FromDiscord<Avatarfighter> this bad boy will probably be at 3-6gb
20:35:51FromDiscord<Elegant Beef> Your desired hardware shudders
20:35:56FromDiscord<Elegant Beef> What's your hardware anyway?
20:36:35FromDiscord<Avatarfighter> 1 vCPU @ 3Ghz, 512MB ECC, 3GB or 10GB(mattering on how fancy I feel) Storage, 10TB bandwidth
20:36:38FromDiscord<Avatarfighter> its like 10$/yr
20:36:52FromDiscord<Rika> where the hell do you find such a thing
20:37:02FromDiscord<Avatarfighter> I love lowend hardware
20:37:17FromDiscord<Elegant Beef> That's not lowend, that's bottom of the barrel end πŸ˜›
20:37:17FromDiscord<Rika> yeah but thats super cheap for that specs aint it
20:37:26FromDiscord<Avatarfighter> here is a better spec'd vps that i'm considering
20:37:27FromDiscord<Avatarfighter> https://www.ethernetservers.com/clients/cart.php?a=confproduct&i=0
20:37:53FromDiscord<Rika> > 500 MB NVMe SSD Storage Space
20:37:56FromDiscord<Rika> GOD DAMN
20:38:00FromDiscord<Rika> thats tiny
20:38:05FromDiscord<Elegant Beef> *that's what she said*
20:38:06FromDiscord<Rika> how the hell does anyone run anything
20:38:14FromDiscord<Avatarfighter> Yeah, the way its super cheap is because low end providers over-configure their servers knowing that maybe 1% of the people using the server will actually saturate the specs provided
20:38:31FromDiscord<Avatarfighter> and then there is me choking the gigabit line on my other provider by accident
20:38:58*lritter quit (Ping timeout: 244 seconds)
20:39:04FromDiscord<Avatarfighter> A good site to find dirt cheap hosting is https://www.serverhunter.com/ but ultimately you'll probably want to be on a forum like LowEndTalk
20:40:10FromDiscord<Rika> i probably cant use that because i prefer my servers to be relatively near me, not a thousand kilometres away
20:40:24*a_chou quit (Ping timeout: 265 seconds)
20:40:54FromDiscord<Elegant Beef> Then there is me I prefer owning hardware πŸ˜„
20:41:28FromDiscord<Avatarfighter> What's nice about these providers is you can usually negotiate with providers for better specs at a discount. My current "heavy lifting" VPS is 2x vCPU @ 3.5Ghz, 4GiB RAM, 2TB HDD, 20 TB bandwidth for 40$ a year I just emailed to see if the provider was offering anything better than what I had.
20:41:56FromDiscord<Rika> i cant have my servers where i live, i kinda prefer to have servers on "not the same isp as i use"
20:42:05FromDiscord<Avatarfighter> lmao
20:42:18FromDiscord<Rika> `My current "heavy lifting" VPS is 2x vCPU @ 3.5Ghz, 4GiB RAM, 2TB HDD, 20 TB bandwidth for 40$ a year`
20:42:18FromDiscord<Elegant Beef> I mean i dont do anything server related so my point is moot
20:42:24FromDiscord<Rika> thats already better than the VPS i have
20:42:33FromDiscord<Rika> and cheaper
20:42:37FromDiscord<Elegant Beef> If i ever have anything server related it's hosting a game
20:42:41FromDiscord<Rika> but once again its prolly in europe
20:42:48FromDiscord<Avatarfighter> Yeah its definitely in Romania
20:42:51FromDiscord<Rika> so its a non-option for me i assume
20:42:58FromDiscord<Avatarfighter> The ping isn't too bad to be fair
20:43:03FromDiscord<Rika> bitch i live in asia
20:43:04FromDiscord<Avatarfighter> I'm
20:43:11FromDiscord<Avatarfighter> Oh that's fine
20:43:26FromDiscord<Avatarfighter> You're probably closer than I am
20:43:27FromDiscord<Rika> "I'm"
20:43:47FromDiscord<Avatarfighter> I'm a few thousand miles/km away
20:43:53FromDiscord<Rika> usa i assume
20:43:58FromDiscord<Avatarfighter> is what I meant to type before beta macOS decided to send that
20:44:04FromDiscord<Avatarfighter> yeah west coast of the US
20:45:03FromDiscord<Avatarfighter> lmao "pings not too bad" `time=222.151 ms`
20:45:13FromDiscord<martinium> for file modes what are the differences between fmReadWriteExisting and fmAppend
20:45:31*haxscramper quit (Remote host closed the connection)
20:45:43*lritter joined #nim
20:45:44FromDiscord<Rika> readwriteexisting will not seek to the end
20:45:45FromDiscord<Rika> append will
20:46:00FromDiscord<Avatarfighter> readwriteexisting also opens an existing file without overwriting the contents
20:46:04FromDiscord<Rika> https://nim-lang.org/docs/io.html
20:49:35FromDiscord<Rebel> has anyone successfully built the nim playground locally from within wslv2?
20:49:38FromDiscord<Avatarfighter> Where abouts are you Rika in asia?
20:49:49FromDiscord<Avatarfighter> I can hunt around for a low end provider for you?
20:49:57FromDiscord<Avatarfighter> I saw one in Singapore/Thailand iirc
20:50:38FromDiscord<Rika> singapore is where i put my vps right now
20:51:09FromDiscord<Avatarfighter> how much a month and specs?
20:51:33FromDiscord<Rika> im already searching, lets maybe move to <#371759607934353448>
20:51:37FromDiscord<iWonderAboutTuatara> @Avatarfighter where did you get that quality of vps?
20:51:54FromDiscord<iWonderAboutTuatara> For that price?
20:51:57FromDiscord<iWonderAboutTuatara> Incredible
20:52:27FromDiscord<Avatarfighter> Quality is a strong word
20:52:39FromDiscord<iWonderAboutTuatara> Specs are incredible
20:52:41FromDiscord<Avatarfighter> ahaha
20:53:08FromDiscord<iWonderAboutTuatara> No, seriously, for that cost that's very good
20:53:20FromDiscord<Avatarfighter> yeah its pretty amazing for what it is, https://secure.hostsolutions.ro/ if you're interested, the provider ignores DMCA if you need that
20:53:28FromDiscord<Rika> oh shit
20:53:33FromDiscord<iWonderAboutTuatara> No need for dmca
20:53:38FromDiscord<iWonderAboutTuatara> Romanian?
20:53:40FromDiscord<Avatarfighter> yeah
20:53:45FromDiscord<iWonderAboutTuatara> I see
20:53:49FromDiscord<iWonderAboutTuatara> I'm fine with that
20:54:18FromDiscord<Avatarfighter> The network isn't too bad its just the gigabit lines provided to the racks are many times saturated to the max, I also think that the host is running something to limit throughput from each vps
20:54:30FromDiscord<Rika> why are these prices so wonky, starter more expensive than starter advanced, etc
20:54:58FromDiscord<Avatarfighter> but with 20 httpclients working in parallel I was able to max out the gigabit line to the entire rack
20:55:21FromDiscord<Avatarfighter> Rika: Marcus, the man running the site has had some issues
20:55:24FromDiscord<Avatarfighter> Marius*
20:56:17*natrys quit (Quit: natrys)
20:56:23FromDiscord<iWonderAboutTuatara> His name is Marius?
20:56:26FromDiscord<Avatarfighter> yes
20:56:28FromDiscord<iWonderAboutTuatara> Like Gaius Marius?
20:56:36FromDiscord<iWonderAboutTuatara> That's a pretty amazing name
20:56:40FromDiscord<Avatarfighter> ahah
20:57:11FromDiscord<iWonderAboutTuatara> Seems like a real service that exists and works
20:57:15FromDiscord<iWonderAboutTuatara> Which is always a plus
20:57:22FromDiscord<Avatarfighter> I do recommend that you only use it for non-essential stuff
20:57:25FromDiscord<iWonderAboutTuatara> This is cheaper than any vps I was able to find
20:57:34FromDiscord<iWonderAboutTuatara> Yeah, only running non essential things
20:57:37FromDiscord<Avatarfighter> there was an incident with a multi-month DDOS attack
20:57:57FromDiscord<Rika> ok so vpses in asia are never easy to find for cheap
20:58:17FromDiscord<Avatarfighter> how much are you paying monthly Rika
20:58:21FromDiscord<Rika> prolly because we're full of islands, on my side at least
20:58:38FromDiscord<Rika> i dont remember, 10 for a 4gb 2c 40gb
20:58:50FromDiscord<Rika> 4tb bandwidth
20:59:06FromDiscord<Avatarfighter> @iWonderAboutTuatara <https://www.lowendtalk.com/discussion/166663/hostsolutions-ro-bye-openvz-and-hello-kvm> Cociu is Marius, he is funny imo
20:59:46FromDiscord<Avatarfighter> read through the thread, a lot of people hate on the uptime but in my experience I haven't had a single downtime on my current box and my last one went 1 year with only 1, 10 minute internet outage
21:00:48FromDiscord<Rika> tfw have had far more downtime with fuckin *linode* of all companies
21:01:30FromDiscord<iWonderAboutTuatara> i am not a kiss ass , i have my faults like everyone but definetly if the client have reason i will give it and ask apologise anythime
21:01:34FromDiscord<iWonderAboutTuatara> Legend
21:01:43FromDiscord<iWonderAboutTuatara> What a legend
21:01:56FromDiscord<Avatarfighter> Rika: your VPS is the best priced I can find for those specs
21:01:56FromDiscord<iWonderAboutTuatara> That is the correct attitude
21:02:06FromDiscord<Avatarfighter> He threatened to fuck someones sister too that was funny
21:02:16FromDiscord<Avatarfighter> the person didn't have a sister lmao
21:02:56OldFaithfulthe hip thing these days is stepsisters
21:03:18FromDiscord<iWonderAboutTuatara> Lmaooo
21:03:18FromDiscord<Avatarfighter> lmao
21:04:30FromDiscord<Avatarfighter> Rika: how far is turkey compared to where you are
21:05:09FromDiscord<Rika> i live in southeast asia
21:05:11FromDiscord<Avatarfighter> because I found 1 vCPU, 4GiB RAM, 40GB SSD, 4TB bandwidth for 5$ a month
21:05:18FromDiscord<Avatarfighter> ok but Turkey is in Asia I believ
21:05:28FromDiscord<Rika> yeah but its the furthest west in asia
21:05:35FromDiscord<Rika> im borderline furthest east in asia
21:05:46FromDiscord<Avatarfighter> ok
21:05:54FromDiscord<Avatarfighter> do you care if your VPS is in China
21:05:55FromDiscord<Rika> ill just stay on linode tbh
21:06:02FromDiscord<Rika> yeah china is :MonkaS:
21:06:09FromDiscord<Rika> i dont know how the internet works there
21:06:10FromDiscord<dom96> Why not Digital Ocean?
21:06:16FromDiscord<Rika> because they hate debit cards
21:06:24FromDiscord<dom96> what? They don't
21:06:38FromDiscord<Rika> they do lol i tried it back then (2017) and they didnt like my card so
21:06:47FromDiscord<dom96> Linode managed to lose my card details so πŸ˜›
21:06:52FromDiscord<Avatarfighter> i definitely got charged twice one month for a vps with DO, I use Vultr for some stuff
21:07:38FromDiscord<Avatarfighter> Oh wow I've never seen a VPS in cyprus
21:09:34FromDiscord<Avatarfighter> i might just buy a vps in turkey
21:09:36FromDiscord<Avatarfighter> that seems like fun
21:09:58FromDiscord<Elegant Beef> Only if you distribute the erodan clown image
21:10:04FromDiscord<Avatarfighter> ofc
21:11:46OldFaithful*Erdogan
21:12:06FromDiscord<Elegant Beef> Once he stops being a dictator he can have his name spelled propeprly
21:12:14FromDiscord<Elegant Beef> (edit) 'propeprly' => 'properly'
21:12:14OldFaithfulso funny how he turned off his plane's transponder before claiming he was attacked
21:15:52*FromDiscord quit (Remote host closed the connection)
21:16:09*FromDiscord joined #nim
21:16:37*Jesin quit (Quit: Leaving)
21:16:51*FromDiscord quit (Remote host closed the connection)
21:17:07*FromDiscord joined #nim
21:29:41*vicfred quit (Ping timeout: 244 seconds)
21:32:40*Jesin joined #nim
21:34:28*a_chou joined #nim
21:35:23*a_chou quit (Client Quit)
21:41:47*Cthalupa quit (Ping timeout: 265 seconds)
21:45:09*Cthalupa joined #nim
21:49:30*Avatarfighter joined #nim
21:49:35AvatarfighterI can imagine Theodore
21:49:57disrupteki mean, i can imagine ted, i just don't want to.
21:52:39*Avatarfighter left #nim (#nim)
21:52:42disruptekclyybber: i think you're sending me down the wrong path on this TaintedString thing.
21:57:22*Trustable quit (Remote host closed the connection)
22:06:48*solitudesf quit (Ping timeout: 244 seconds)
22:56:29*abm joined #nim
23:29:13*krux02_ joined #nim
23:31:11*bouzu_ quit (Quit: Leaving)
23:32:05*Lord_Nightmare joined #nim
23:32:25*krux02 quit (Ping timeout: 240 seconds)
23:32:59*Zectbumo quit (Remote host closed the connection)
23:38:11*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
23:42:25*Lord_Nightmare joined #nim