| 00:06:20 | * | xtr00_ quit (Read error: Connection reset by peer) |
| 00:44:11 | * | hazardchem quit (Read error: Connection reset by peer) |
| 00:44:20 | * | hazardchem joined #nim |
| 00:45:59 | * | sdothum quit (Ping timeout: 260 seconds) |
| 00:48:25 | * | sdothum joined #nim |
| 03:17:52 | * | rockcavera quit (Remote host closed the connection) |
| 03:28:58 | * | SchweinDeBurg joined #nim |
| 04:58:20 | * | jj quit (Remote host closed the connection) |
| 05:22:40 | * | jj joined #nim |
| 06:22:26 | * | mal`` quit (Ping timeout: 276 seconds) |
| 06:34:16 | * | mal`` joined #nim |
| 07:39:36 | FromDiscord | <b0rsuk> Oh, it's a finite sequence, so technically it's simple to write an O(1) solution and it won't be large. Unless you want Armstrong Numbers in other numeric bases as well. |
| 07:40:38 | FromDiscord | <b0rsuk> And there are a few quirks, such as when an Armstrong number ends in 0 then the next number will also be an Armstrong number. |
| 07:41:04 | FromDiscord | <pmunch> In reply to @longptr "Is Nim <--> wxWidgets": Not really, I don't think the wkWidgets bindings I used are still maintained. And Futhark unfortunately doesn't wrap C++ (yet) |
| 07:41:42 | FromDiscord | <pmunch> I'm actually planning on using WxWidgets as the target for the C++ wrapping effort in Futhark |
| 07:45:20 | FromDiscord | <pmunch> In reply to @b0rsuk "Oh, it's a *finite*": With 89 numbers no less, so you could just slap the ones that fit in an int into an array and iterate over them 😂 |
| 07:45:55 | FromDiscord | <b0rsuk> Now I'm starting to think about balanced ternary. (1, 0, -1) |
| 08:29:07 | * | xtr00 joined #nim |
| 12:06:06 | * | xet7 quit (Ping timeout: 249 seconds) |
| 12:19:16 | * | xet7 joined #nim |
| 12:19:50 | * | jarausch_ joined #nim |
| 12:54:58 | * | sdothum quit (Remote host closed the connection) |
| 12:58:36 | * | sdothum joined #nim |
| 13:24:04 | * | Guest49 joined #nim |
| 13:25:28 | * | Guest49 quit (Client Quit) |
| 14:12:34 | * | Mister_Magister quit (Excess Flood) |
| 14:12:51 | * | Mister_Magister joined #nim |
| 14:19:15 | FromDiscord | <gabrielsantos00119> Hello. I’m looking for someone to discuss my business with; if you’re interested, please send me a DM. |
| 14:28:49 | * | xtr00 quit (Read error: Connection reset by peer) |
| 14:35:11 | * | xtr00 joined #nim |
| 14:47:56 | * | xtr00 quit (Read error: Connection reset by peer) |
| 14:51:37 | * | xtr00 joined #nim |
| 15:24:23 | FromDiscord | <Emmanuel M. Smith 🔸> Man, we've been getting a lot of these recently. Might be a new tactic |
| 15:55:43 | * | sdothum quit (Ping timeout: 260 seconds) |
| 15:58:29 | * | sdothum joined #nim |
| 16:05:36 | * | jarausch_ quit (Remote host closed the connection) |
| 17:09:43 | FromDiscord | <mratsim> In reply to @Emmanuel M. Smith 🔸 "Man, we've been getting": just clankers. banned |
| 18:00:40 | * | jjido joined #nim |
| 18:15:17 | * | jjido quit (Ping timeout: 263 seconds) |
| 18:21:51 | FromDiscord | <b0rsuk> sent a code paste, see https://paste.rs/RpM5o |
| 18:28:23 | FromDiscord | <b0rsuk> sent a long message, see https://paste.rs/kl7dm |
| 18:29:08 | FromDiscord | <b0rsuk> Exact problem specification is here: https://exercism.org/tracks/nim/exercises/atbash-cipher |
| 18:35:38 | FromDiscord | <b0rsuk> By the way I found splitting a string into even-sized chunks and adding a separator between them surprisingly finicky. I could use sequtils/distribute, but then I need to calculate `ceil(len(string) / chunksize)`, and also use `spread=false`.↵↵There's std/wordwrap, which works but is a bit wordy. |
| 18:36:23 | FromDiscord | <b0rsuk> I looked carefully through std/{algorithm, strutils, sequtils} and couldn't find anything helpful. |
| 18:39:46 | FromDiscord | <b0rsuk> I guess next time I'm importing `sugar` for the `collect:` macro. Then I could do it the old school python way: `[text[ind: ind + 5] for ind in range(0, len(text), 5)]` |
| 18:39:54 | * | Mister_Magister quit (Ping timeout: 260 seconds) |
| 18:42:29 | * | Mister_Magister joined #nim |
| 18:42:29 | * | xtr00 quit (Read error: Connection reset by peer) |
| 18:43:19 | * | xtr00 joined #nim |
| 18:45:01 | * | Mister_Magister quit (Excess Flood) |
| 18:45:26 | * | Mister_Magister joined #nim |
| 19:34:08 | longptr | Is it fair to say each GUI family (Qt, gtk, wxWidgets) isn't at the moment truly fully supported by an up-to-date flow? I still haven't found a clear answer on what direction to go here. |
| 19:34:22 | longptr | *supported with nim interoperability |
| 19:49:57 | tarzeau | longptr: why did you forget gnustep? |
| 19:50:08 | tarzeau | longptr: the best, deluxe of GUI family? |
| 19:54:44 | FromDiscord | <dykatz> Are there bindings for GNUStep beyond whatever bindings exist for cocoa? |
| 19:55:17 | tarzeau | yup there are many of them |
| 19:55:52 | tarzeau | steptalk, jigs (java) come to mind, i'm sure there is more |
| 19:56:09 | tarzeau | guile, ruby |
| 19:58:44 | FromDiscord | <dykatz> I was specifically asking about Nim bindings |
| 19:59:27 | tarzeau | i was so sure qt,gtk,wxwidgets don't have them either. and you gonna write one. and my suggestion was please one for gnustep :) |
| 19:59:42 | tarzeau | at least with gnustep, you write it once, and forever |
| 19:59:53 | tarzeau | my apps written 25 years ago, still build+run fine |
| 20:00:07 | tarzeau | not so much gtk1,2,3,4 nor qt2,3,4,5,6 |
| 20:00:48 | tarzeau | wx? it's c++, i'm not going to touch that |
| 20:08:11 | Amun-Ra | still building after those years? I assume the project wasn't harmed by adding autotools to it |
| 20:14:12 | tarzeau | yep. it's basically a stable API (openstep spec from 1992?) |
| 20:14:26 | tarzeau | what next.com uses today |
| 20:15:00 | tarzeau | eek, we don't need autotools? |
| 20:15:37 | tarzeau | gnustep is not only a GUI (applicationkit.h) API, but also a portable non-gui API (foundationkit.h) (cocoa.h includes both of them btw) |
| 20:16:05 | tarzeau | really having a stable, well thought, consistent API is gold. anyone not going for it is, i'm pity them |
| 20:16:20 | tarzeau | (microsoft foundation classes? java swing? omg) |
| 20:16:31 | FromDiscord | <dykatz> Objective-C also is reasonable when it comes to ABI stability, unlike C++ |
| 20:16:33 | FromDiscord | <arnetheduck> for qt there's https://github.com/seaqt/nim-seaqt / https://github.com/seaqt/nimside/ |
| 20:22:06 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
| 20:24:59 | * | Lord_Nightmare joined #nim |
| 21:18:18 | * | KawaiiSelbst_ quit (Remote host closed the connection) |
| 21:19:05 | * | KawaiiSelbst joined #nim |
| 21:19:25 | FromDiscord | <b0rsuk> sent a code paste, see https://paste.rs/byASP |
| 21:19:44 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 21:20:30 | * | KawaiiSelbst joined #nim |
| 21:22:17 | FromDiscord | <b0rsuk> Okay, I think I understand. There's no guarantee the last character is a good one. The test suite is not very tight. I'm lucky the program is working with the current tests. |
| 21:25:36 | FromDiscord | <b0rsuk> So there's no foolproof way to do it in a single pass - but I can `.strip()` result at the end. |
| 21:29:18 | * | kasimir_ quit (Remote host closed the connection) |
| 21:29:48 | * | kasimir_ joined #nim |
| 21:30:02 | * | rockcavera joined #nim |
| 23:18:03 | * | xtr00 quit (Read error: Connection reset by peer) |