| 00:13:49 | * | ftajhii quit (Ping timeout: 264 seconds) |
| 00:14:49 | FromDiscord | <Elegantbeef> @DetermiedNim1 Magics are implemented in the compiler and where they're handled is not centralized cause they require different behaviour for each magic |
| 00:19:24 | FromDiscord | <DetermiedNim1> ahh ok |
| 00:19:53 | FromDiscord | <DetermiedNim1> mainly im wondering how `compiles` works |
| 01:30:58 | FromDiscord | <nevillegg> In reply to @Elegantbeef "<@758738754100920383> Magics are implemented": Who are these bots |
| 01:49:31 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 01:50:17 | * | SchweinDeBurg joined #nim |
| 01:55:19 | FromDiscord | <nasuray> Beep boop beef |
| 02:30:42 | FromDiscord | <Elegantbeef> @nasuray yes my son and or daughter? |
| 02:35:23 | FromDiscord | <nasuray> I wish I could be a bot in main, but alas this room is just too damn old |
| 02:43:21 | FromDiscord | <demotomohiro> In reply to @determiedmech1 "How exactly does `compiles`": git clone Nim source code and run `git grep -i "mcompiles"`. |
| 02:44:14 | FromDiscord | <DetermiedNim1> š |
| 02:56:46 | * | rockcavera quit (Remote host closed the connection) |
| 05:37:28 | FromDiscord | <aethrvmn> In reply to @nevillegg "Who are these bots": Nim is so good that we have BOTs that have accomplished self-consciousness |
| 05:38:09 | FromDiscord | <Elegantbeef> I looked at a mirror and barked for hours this morning |
| 06:01:11 | * | cornfeedhobo quit (Read error: Connection reset by peer) |
| 06:04:17 | * | cornfeedhobo_ joined #nim |
| 06:13:22 | * | beholders_eye quit (Ping timeout: 244 seconds) |
| 06:18:39 | * | cornfeedhobo_ is now known as cornfeedhobo |
| 07:08:39 | * | cornfeedhobo quit (Remote host closed the connection) |
| 07:13:16 | * | cornfeedhobo joined #nim |
| 07:58:02 | FromDiscord | <tauruuuuuus> sent a code paste, see https://play.nim-lang.org/#pasty=YeHHRkkb |
| 08:05:49 | FromDiscord | <tauruuuuuus> nvm I'm just stupid, the key type was wrong lol |
| 08:30:50 | FromDiscord | <nevillegg> In reply to @aethrvmn "Nim is so good": š |
| 08:30:53 | FromDiscord | <nevillegg> so funny |
| 08:48:54 | FromDiscord | <alehander92> hey guys: if one doesn't use the re module/call its functions: it doesn't matter that `pcre` is not linked in this case, right? |
| 09:14:20 | Amun-Ra | right |
| 09:18:38 | FromDiscord | <lainlaylie> also nre i think? |
| 09:54:46 | FromDiscord | <kiloneie> I asked this a few days ago, i don't need it, but it's still in my head:āµ`myTuple: tuple[x: int = 5, y: int = 10]` this doesn't seem to do anything, because you are supposed to do `= (x: 5, y: 10)`. My question is, why can i do code 1, and if it actually does anything ?... |
| 09:58:38 | * | SchweinDeBurg quit (Ping timeout: 244 seconds) |
| 10:00:29 | * | SchweinDeBurg joined #nim |
| 11:06:41 | * | tmpod quit (Remote host closed the connection) |
| 11:06:42 | * | noeontheend quit (Remote host closed the connection) |
| 11:06:42 | * | robertmeta quit (Remote host closed the connection) |
| 11:06:43 | * | ursa-major quit (Remote host closed the connection) |
| 11:06:43 | * | johuck quit (Remote host closed the connection) |
| 11:06:43 | * | mronetwo quit (Remote host closed the connection) |
| 11:06:44 | * | casaca quit (Remote host closed the connection) |
| 11:06:44 | * | Freneticks quit (Read error: Connection reset by peer) |
| 11:06:44 | * | adigitoleo quit (Read error: Connection reset by peer) |
| 11:06:46 | * | zie quit (Remote host closed the connection) |
| 11:33:11 | * | Ekho quit (Ping timeout: 244 seconds) |
| 11:45:25 | * | vsantana joined #nim |
| 11:58:32 | FromDiscord | <tauruuuuuus> my guess is that the same parsing strategy is used there as it is used for `proc` parameters, but there the default values are then used, whilst in named tuples they are not |
| 11:58:34 | FromDiscord | <tauruuuuuus> but it is a guess |
| 12:19:24 | * | robertmeta joined #nim |
| 12:19:26 | * | casaca joined #nim |
| 12:19:28 | * | zie joined #nim |
| 12:19:28 | * | adigitoleo joined #nim |
| 12:19:30 | * | ursa-major joined #nim |
| 12:19:30 | * | noeontheend joined #nim |
| 12:19:31 | * | tmpod joined #nim |
| 12:19:31 | * | mronetwo joined #nim |
| 12:19:32 | * | Freneticks joined #nim |
| 12:19:32 | * | johuck joined #nim |
| 12:24:46 | * | Ekho joined #nim |
| 12:30:38 | FromDiscord | <kiloneie> What would cause, only a single instance in a sequence, the last one to be detected by AABB collision detection, and not the rest ? |
| 12:34:28 | FromDiscord | <kiloneie> In reply to @kiloneie "What would cause, only": I made it work though. My brain sucks at these... |
| 14:47:31 | FromDiscord | <kiloneie> Sequence `del` vs `delete`, which one is faster ? I don't care about the order. |
| 15:00:19 | FromDiscord | <kiloneie> Actually, i prefer how `delete` works... |
| 15:17:41 | FromDiscord | <nasuray> In reply to @kiloneie "Sequence `del` vs `delete`,": https://nim-lang.org/docs/system.html#delete%2Cseq%5BT%5D%2CNatural |
| 15:18:24 | FromDiscord | <nasuray> Says it on the tin |
| 15:20:21 | FromDiscord | <tauruuuuuus> nicest RTFM |
| 15:20:48 | FromDiscord | <mitranim> Interesting way of deleting from a sequence |
| 15:23:33 | FromDiscord | <kiloneie> In reply to @tauruuuuuus "nicest RTFM": Whats RTFM ? |
| 15:25:04 | FromDiscord | <kiloneie> Also, what the hell, if you put ## into a template, and it's 4 spaces indented, it's an ERROR ! |
| 15:25:07 | FromDiscord | <kiloneie> O,O |
| 15:26:26 | Amun-Ra | ## is not an ordinary comment, you can't start block with it |
| 15:28:51 | FromDiscord | <kiloneie> I know it's documentation comment, been using it a lot. Why can it cause an error though ? |
| 15:30:45 | Amun-Ra | because you started a new indented block with it |
| 15:31:55 | FromDiscord | <tauruuuuuus> In reply to @kiloneie "Whats RTFM ?": I think this may become a bit too meta if I answer |
| 15:34:02 | Amun-Ra | read the fucking manual, here |
| 15:34:27 | Amun-Ra | I'm not native, english words do not have the same weight as for natives |
| 15:34:34 | Amun-Ra | I mean for me |
| 15:36:13 | FromDiscord | <tauruuuuuus> not native either, but I do have google š |
| 15:36:47 | Amun-Ra | :> |
| 15:43:32 | FromDiscord | <kiloneie> In reply to @nasuray "https://nim-lang.org/docs/system.html#delete%2Cseq%": Oh, i read that, and my eyes saw O(1) operation for both(second one was refering to the other one)... my bad. |
| 16:12:11 | FromDiscord | <janakali> In reply to @kiloneie "Sequence `del` vs `delete`,": I like how it's easy to intuit and remember: `del` is short (fast), `delete` is longer (slower) and spelled properly, because it does things properly (doesn't change the order) |
| 16:30:37 | * | beholders_eye joined #nim |
| 16:42:32 | FromDiscord | <systemblue2010> In reply to @Amun-Ra "I'm not native, english": use google or browser translater āµI use translater first and I see english words one more |
| 17:47:03 | * | beholders_eye quit (Ping timeout: 252 seconds) |
| 17:54:02 | FromDiscord | <systemblue2010> hey guys I fix sha 1 code |
| 17:54:11 | FromDiscord | <systemblue2010> but I don't know how I fix it |
| 17:54:33 | FromDiscord | <systemblue2010> i just migrate my stream hash code to one time hash's processing part by template |
| 17:54:43 | FromDiscord | <systemblue2010> I love nim's template programming |
| 17:55:01 | FromDiscord | <systemblue2010> I will use less proc or func and use more template |
| 18:07:26 | FromDiscord | <systemblue2010> and i hate immutable variableāµvariable must be changableāµimmutable variable must use in limited parts like length, runtime-constant |
| 18:07:43 | Amun-Ra | the less mutable vars the better |
| 18:08:42 | Amun-Ra | templates are fine, but they are working on code copy/paste mechanism rather then code reuse |
| 18:10:57 | Amun-Ra | model* |
| 18:16:53 | FromDiscord | <tauruuuuuus> I see we're getting philosophical today |
| 18:43:04 | * | beholders_eye joined #nim |
| 19:01:03 | FromDiscord | <saint._._.> In reply to @Amun-Ra "templates are fine, but": How do you replace procs with templates? |
| 19:01:30 | FromDiscord | <saint._._.> Does he mean like using templates instead of abstraction? |
| 19:01:55 | FromDiscord | <saint._._.> Like instead of abstraction for a refactor for reuse |
| 19:02:03 | FromDiscord | <saint._._.> @systemblue2010 |
| 19:05:47 | FromDiscord | <systemblue2010> In reply to @saint._._. "How do you replace": I made two hash implementāµfirst is onetime sha-1 |
| 19:05:52 | FromDiscord | <systemblue2010> second is stream sha-1 |
| 19:05:59 | FromDiscord | <systemblue2010> onetime sha-1 works well |
| 19:06:07 | FromDiscord | <systemblue2010> but stream sha-1 works wrong |
| 19:06:16 | FromDiscord | <systemblue2010> (edit) "works" => "worked" |
| 19:06:21 | FromDiscord | <systemblue2010> (edit) "works" => "worked" |
| 19:06:33 | FromDiscord | <systemblue2010> so I made template with onetime sha-1's processing parts |
| 19:06:45 | FromDiscord | <systemblue2010> and I use that template in stream sha-1 code |
| 19:06:47 | FromDiscord | <systemblue2010> and it fixed |
| 19:09:19 | FromDiscord | <nasuray> In reply to @systemblue2010 "I will use less": luckily templates have no footguns! |
| 19:09:32 | FromDiscord | <nasuray> (edit) "In reply to @systemblue2010 "I will use less": luckily templates have no footguns! ... " added "/s" |
| 19:11:49 | FromDiscord | <Elegantbeef> Mouse traps and templates have something in common, you should almost never reach for them |
| 19:12:27 | FromDiscord | <Elegantbeef> This screams as one of those cases where you're using templates to bypass language semantics you don't want to learn |
| 19:18:48 | Amun-Ra | you can't use single pass sha-1 calculating proc for multiple passes |
| 19:19:25 | Amun-Ra | sha-1 hashes plaintext bit length in the last step and it's done only once |
| 19:33:46 | FromDiscord | <saint._._.> In reply to @Elegantbeef "This screams as one": Why is this bad? It seems cool |
| 19:34:09 | FromDiscord | <Elegantbeef> Cause templates are not procedures |
| 19:34:19 | FromDiscord | <Elegantbeef> They do not have the same semantics and they should not be the defaultly used |
| 19:34:35 | FromDiscord | <saint._._.> Why not though |
| 19:34:55 | FromDiscord | <saint._._.> What are the bad effects of this |
| 19:35:02 | FromDiscord | <mitranim> The concrete answer is that with procedures, you get sensible type errors, while with templates, you get harder to debug cryptic messages |
| 19:35:09 | FromDiscord | <Elegantbeef> Cause their different semantics make code that is less reusable as they rely on the instantiation scope to match what they expect |
| 19:35:34 | FromDiscord | <saint._._.> In reply to @mitranim "The concrete answer is": Interesting |
| 19:44:28 | * | vsantana quit (Ping timeout: 246 seconds) |
| 20:22:16 | * | vsantana joined #nim |
| 20:55:58 | * | termer quit (Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in) |
| 20:56:28 | * | termer joined #nim |
| 21:21:51 | * | vsantana quit (Ping timeout: 256 seconds) |
| 21:39:27 | * | rockcavera joined #nim |
| 22:52:52 | * | LuckyMan joined #nim |
| 23:05:51 | * | LuckyMan left #nim (Adeus) |
| 23:17:27 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 23:29:55 | * | tiorock joined #nim |
| 23:29:55 | * | rockcavera is now known as Guest2103 |
| 23:29:55 | * | Guest2103 quit (Killed (erbium.libera.chat (Nickname regained by services))) |
| 23:29:55 | * | tiorock is now known as rockcavera |