00:01:44 | * | derlafff joined #nim |
00:06:04 | * | derlafff quit (Ping timeout: 255 seconds) |
00:08:01 | * | derlafff joined #nim |
00:11:57 | * | gokr quit (Ping timeout: 240 seconds) |
00:20:21 | * | luka_ joined #nim |
00:23:26 | luka_ | hi, is there a Nim equivalent of "new T(x)"? I found T.new(), but it doesn't accept arguments (I know I can write a proper constructor, but I'd like to avoid that) |
00:24:50 | * | MightyJoe is now known as cyraxjoe |
00:40:20 | FromGitter | <Varriount> luka_: `var x = RefType(field: value)` |
01:09:10 | luka_ | thanks! but what if the type is not a ref type? |
01:16:57 | * | luka_ quit (Quit: Page closed) |
01:29:46 | * | Nikky quit (Quit: WeeChat 1.9) |
01:29:59 | * | Nikky joined #nim |
01:38:40 | * | Jesin quit (Quit: Leaving) |
01:39:22 | * | JappleAck quit (Ping timeout: 260 seconds) |
01:42:36 | * | UxerUospr quit (Quit: Lost terminal) |
01:46:32 | * | chemist69 quit (Ping timeout: 258 seconds) |
01:50:48 | * | Snircle_ quit (Quit: Textual IRC Client: www.textualapp.com) |
01:59:58 | * | chemist69 joined #nim |
02:06:14 | * | TjYoco joined #nim |
02:08:17 | * | Jesin joined #nim |
02:22:15 | * | suswombat__ joined #nim |
02:24:30 | * | SusWombat_ quit (Ping timeout: 246 seconds) |
02:33:56 | * | TjYoco quit (Quit: Leaving) |
02:41:25 | * | def-pri-pub quit (Quit: Leaving.) |
03:24:13 | * | Kingsquee joined #nim |
03:33:18 | FromGitter | <zacharycarter> luka_ you can still do it with objects |
03:35:08 | FromGitter | <zacharycarter> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59e81d6b614889d475d1e901] |
03:40:17 | shashlick | https://nim-lang.org/docs/theindex.html <= where/how is that generated? |
03:49:28 | * | endragor joined #nim |
04:35:53 | FromGitter | <Varriount> shashlick: Generated at documentation generation time. I don't know where it is on the main website. |
04:44:19 | FromGitter | <Yardanico> https://github.com/nim-lang/Nim/blob/devel/doc/lib.rst |
04:44:35 | FromGitter | <Yardanico> And nimble package list is loaded via JS file |
04:57:54 | * | dddddd quit (Remote host closed the connection) |
05:08:01 | * | miran_ joined #nim |
05:22:51 | * | vlad1777d joined #nim |
05:32:05 | * | gokr joined #nim |
05:39:29 | * | arnetheduck quit (Remote host closed the connection) |
05:46:13 | * | Laon joined #nim |
05:59:44 | * | miran_ quit (Quit: Leaving) |
06:04:39 | * | ryanhowe_ quit (Read error: Connection reset by peer) |
06:25:34 | * | nsf joined #nim |
06:30:48 | * | PMunch joined #nim |
06:47:39 | * | miran joined #nim |
06:48:04 | FromGitter | <mratsim> @luka_ the idiomatic way would be this: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59e84aa4210ac2692004b37d] |
06:50:30 | FromGitter | <mratsim> By using “result”, you make sure that there is no copy or move, f is directly constructed |
06:57:57 | * | vlad1777d quit (Ping timeout: 240 seconds) |
07:02:23 | * | vlad1777d joined #nim |
07:05:21 | * | Elronnd is now known as Pope |
07:12:54 | * | Pope is now known as Elronnd |
07:19:49 | * | claudiuinberlin joined #nim |
07:24:17 | FromGitter | <mratsim> Let’s grab some beginner dev in the Nim community: https://www.reddit.com/r/learnprogramming/comments/77cp4b/what_was_the_first_language_you_went_allin_on/ |
07:27:03 | * | Arrrr joined #nim |
07:29:09 | miran | mratsim - what about experienced devs on HN? arraymancer might be interesting to many of them |
07:31:47 | PMunch | mratsim, just left a comment for you :) Always like to help getting some hype around Nim |
07:33:19 | FromGitter | <mratsim> @miran The arraymancer HN topic was a flop, no reaction, though the reddit generated a lot of reaction |
07:33:52 | FromGitter | <mratsim> And this one was seen by a lot of people in the Rust community: https://www.reddit.com/r/rust/comments/76olo3/why_rust_fails_hard_at_scientific_computing/ |
07:34:08 | PMunch | Posting things like this is always a bit of a hit or miss |
07:34:33 | PMunch | If it never goes above a certain threshold it just fizzles out |
07:34:51 | FromGitter | <mratsim> There will be lots of other opportunities when: ⏎ ⏎ 1) I add benchmarks with Google Tensorflow ⏎ 2) I compile to Javascript ⏎ 3) probably other stuff I don’t think about yet ... [https://gitter.im/nim-lang/Nim?at=59e8559af7299e8f5306c8b4] |
07:36:02 | PMunch | I remember someone creating a Facebook service called thunderclap were a lot of people could queue up a like or comment so that when a site went live it would get a spike in popularity which would put it in a more prominent position to be noticed by even more people. |
07:36:03 | * | couven92 joined #nim |
07:36:19 | PMunch | Oooh, arraymancer in JS, interesting |
07:36:31 | FromGitter | <mratsim> Also thankfully I’m in France, where all core devs of scikit-learn and scipy are (INRIA), and I’ve already talked to a couple people during an Artificial Intelligence conference at the beginning of the month: http://franceisai.com/conference/ |
07:36:45 | PMunch | Not quite sure what that would be useful for (when would you do that instead of just compiling to C), but cool none the less |
07:37:41 | FromGitter | <mratsim> web services ? :p |
07:38:27 | * | Vladar joined #nim |
07:40:43 | PMunch | Yeah but why would they be doing this kind of stuff? |
07:41:33 | miran | mratsim - are you talking about link to your blog? or have you tried posting link to github as 'show HN'? |
07:44:07 | miran | i remember link to your blog going unnoticed, but posting to 'show HN' might bring much more attention (less stuff is posted there and people are more interested in seeing original work) |
07:48:02 | * | skrylar joined #nim |
07:52:21 | * | rauss quit (Read error: Connection reset by peer) |
07:52:46 | FromGitter | <mratsim> Didn't yet |
07:53:35 | FromGitter | <mratsim> @Pmunch it would be very useful to be able to have a photo tagging service in REST, upload the photos it returns what tags match |
07:53:38 | * | rauss joined #nim |
07:54:12 | FromGitter | <mratsim> And change deep learning models on the fly, and also for quick demos |
07:54:56 | PMunch | Yeah, I guess that's fair |
07:55:00 | FromGitter | <mratsim> I'm pretty sure there are plenty of use case I'm not aware of |
07:55:05 | PMunch | Probably :P |
07:55:40 | PMunch | I'm just so used to seeing people only talking about speed for these kinds of things so I never really considered anyone trying to run such things in the browser |
07:55:56 | FromGitter | <mratsim> https://github.com/karpathy/convnetjs |
07:56:03 | FromGitter | <mratsim> 8100k stars |
07:56:53 | PMunch | Huh, I guess that proves you're right:P |
07:57:19 | FromGitter | <mratsim> Speed for training but once trained it can be run on phones |
07:57:20 | PMunch | Will be interesting to see what kinds of speed you will be able to achieve with Nim generated JS code for something like this |
07:57:31 | PMunch | Oh yeah, that's true |
07:57:47 | PMunch | You can train somewhere else and then simply run it on pretty much anything |
07:58:26 | FromGitter | <mratsim> http://blog.booleanbiotech.com/dna-alignment-with-python-nim-and-javascript.html |
07:58:41 | FromGitter | <mratsim> Someone hacked Arraymancer to run on JS |
07:59:58 | miran | ugh, not using log-plots |
08:02:46 | PMunch | Haha, that was fast |
08:04:57 | PMunch | Haha, I like how nimc is just a straight line in all the first plots :P |
08:08:05 | PMunch | But it's a shame that nimjs is so much slower than his native JS implementation |
08:08:06 | miran | just a sec, i'm making more useful versions of those plots |
08:08:18 | * | sleepyqt joined #nim |
08:08:41 | PMunch | About 1/2 as fast with his data-set |
08:11:13 | miran | first graph: https://i.imgur.com/SzypD47.png |
08:12:26 | miran | second one: https://i.imgur.com/PE7ZusT.png |
08:18:11 | Araq | I think, I mostly can get 'nim js' down to 0 overhead |
08:18:37 | PMunch | Oh really? That would be really cool |
08:19:06 | Araq | well I mean "my own Nim code has no overhead" |
08:19:08 | PMunch | How do you plan on doing that? Or to rephrase, what is the overhead now? |
08:19:28 | Araq | not that I intend to patch the JS codegen further |
08:20:07 | PMunch | Ah right |
08:21:42 | Araq | though I could do that too :-) |
08:28:35 | * | gokr quit (Ping timeout: 240 seconds) |
08:33:29 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:37:13 | * | gangstacat quit (Quit: Ĝis!) |
08:38:57 | * | claudiuinberlin joined #nim |
08:50:45 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:51:55 | * | gangstacat joined #nim |
08:52:29 | * | claudiuinberlin joined #nim |
09:24:10 | * | chemist69 quit (Quit: WeeChat 1.9.1) |
09:29:48 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:30:58 | * | skrylar quit (Remote host closed the connection) |
09:31:53 | * | ryanhowe_ joined #nim |
09:32:53 | * | claudiuinberlin joined #nim |
09:55:19 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:56:59 | * | claudiuinberlin joined #nim |
10:08:35 | * | rebellis joined #nim |
10:09:24 | * | Yardanico joined #nim |
10:10:24 | * | ryanhowe_ quit (Read error: Connection reset by peer) |
10:10:51 | * | ryanhowe_ joined #nim |
10:13:48 | Yardanico | hi guys |
10:16:52 | couven92 | Hi Yardanico! :) |
10:19:49 | PMunch | Hi there |
10:20:14 | PMunch | couven92, I was reading dom96's book last night and the chat-application might be something we could do for the workshop |
10:20:28 | PMunch | It's pretty basic but shows off some of the features of Nim |
10:20:37 | couven92 | PMunch, feasable :) |
10:20:42 | PMunch | Plus it would be cool to have people chat together :P |
10:24:59 | Yardanico | btw, we would get gitter-like experience on twitch |
10:25:11 | Yardanico | since (if someone didn't see it) I've registered "FromIRC" nickname on twitch xD |
10:25:24 | PMunch | Yeah I saw that :) |
10:25:50 | Yardanico | It's very strange that it wasn't taken |
10:26:11 | PMunch | Might get a bit noisy and weird in here though since people are commenting on a temporal thing not strictly linked to the channel. So maybe we should try it out in a new room first? |
10:26:25 | PMunch | Or we could try it here first then decide later |
10:26:28 | Yardanico | yes it has a config file |
10:26:31 | Yardanico | easy to change :) |
10:26:47 | PMunch | Yeah I saw that, checked out the project this morning :) |
10:27:12 | Yardanico | i'll add server IP to config too |
10:27:31 | Yardanico | maybe in the future it can be full-fledged twitch bot for anyone who wants irc - twitch bridge :) |
10:28:23 | Yardanico | also I didn't stress test it |
10:28:27 | Yardanico | ah, that's easy |
10:28:31 | PMunch | Apparently not that many seeing how FromIRC wasn't taken |
10:28:52 | FromGitter | <mratsim> But you can already connect to any twitch channel chat from IRC |
10:28:52 | PMunch | But maybe people just haven't though about it |
10:28:58 | Yardanico | mratsim: it's a bridge |
10:29:04 | Yardanico | so you can send messages from YOUR irc channel to twitch |
10:29:06 | PMunch | If you have a twitch account mratsim |
10:29:08 | Yardanico | and from twitch to irc |
10:29:12 | Yardanico | like FromGitter works |
10:29:28 | Yardanico | so instead of Gitter - IRC we have IRC - twitch |
10:29:31 | * | Viktor_ joined #nim |
10:29:37 | Yardanico | well, people from IRC will be able to write things too xD |
10:29:40 | Yardanico | *from gitter |
10:30:26 | PMunch | <FromIRC>: FromGitter: <PMunch> Hello world |
10:30:27 | FromGitter | PMunch, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim |
10:30:36 | PMunch | Haha :P |
10:30:37 | Yardanico | PMunch, yeah I will probably add a special case for that |
10:30:51 | Yardanico | for gitter I mean |
10:31:04 | PMunch | Yeah that would probably be a good idea |
10:31:51 | Viktor_ | Hi Guys, I am just evaluating if I should use nim for my pet-project api. It is basically a simple crud (for now) with postgres data, and json responses. Did anyone write an api in nim, that is actually used in prod? |
10:34:02 | FromGitter | <zetashift> I haven't but these companies using it in production! https://github.com/nim-lang/Nim/wiki/Companies-using-Nim |
10:35:06 | PMunch | Viktor_, I've used it for simple JSON REST server with SQL DB and a single-page Karax front-end |
10:35:11 | PMunch | Really easy to work with |
10:36:04 | Viktor_ | <PMunch> how was the stability and memory consumption of your api? |
10:36:49 | couven92 | Viktor_, That being said, Nim is still heavily in development, some of the APIs might change over time, possible creating breaking changes as we move forwards. Might be something to consider for use in production |
10:37:21 | PMunch | Didn't really measure as it was only for a school project, so stability wasn't an issue for me. |
10:37:47 | PMunch | couven92, true. But you can always run the old compiled binaries |
10:37:59 | PMunch | Or use an older version of Nim while porting to a never one |
10:38:06 | PMunch | s/never/newer |
10:38:21 | PMunch | It's not like Python 2/3 |
10:39:35 | couven92 | PMunch, it is still important to say for in-production use! It is very important for a company to know that they might have to put in some maintanance effort if they plan to maintain an application. |
10:40:03 | * | FromTwitch joined #nim |
10:40:06 | Viktor_ | For me it is also my own pet-project api, so I could live with changes. Is there an estimated time for the api freeze? |
10:40:26 | Yardanico | Viktor_, well nim doesn't have THAT much changes |
10:40:39 | FromGitter | <Yardanico> checking Gitter-IRC-Twitch :P |
10:40:58 | PMunch | Yeah, I wouldn't worry too much about it. Most breaking changes I've seen has been very easy to fix |
10:41:17 | * | FromTwitch quit (Remote host closed the connection) |
10:41:25 | * | FromTwitch joined #nim |
10:41:33 | FromGitter | <Yardanico> a |
10:41:36 | * | FromTwitch quit (Remote host closed the connection) |
10:42:15 | * | FromTwitch joined #nim |
10:42:16 | FromGitter | <Yardanico> hmm, doesn't work well for some reason |
10:42:28 | * | FromTwitch quit (Remote host closed the connection) |
10:42:31 | couven92 | PMunch, Viktor_: yeah for pet-projects that is fine. I am just thinking in larger contexts here: If you have millions of LOC, breaking changes is a real pain in the a**, even if the change is easy to fix! |
10:43:18 | Viktor_ | Thanks for the responses guys. What I am doing now is, I am writing the same little api in Node, Go, and Nim and evaluate which works best for me. |
10:43:28 | * | FromTwitch joined #nim |
10:43:35 | FromGitter | <Yardanico> still trying to make gitter-twitch work :/ |
10:43:50 | PMunch | couven92, that is very true |
10:43:53 | couven92 | Viktor_, :) if you have time to do that, that is often a very good idea |
10:44:26 | couven92 | (and we all know he'll conclude with Nim being superior, right?) :P |
10:44:40 | * | FromTwitch quit (Remote host closed the connection) |
10:45:27 | * | FromTwitch joined #nim |
10:45:27 | PMunch | Of course :) |
10:45:28 | FromGitter | <Yardanico> yeah, you're right |
10:45:36 | * | FromTwitch quit (Remote host closed the connection) |
10:45:42 | Viktor_ | That's what after work hours are for. :) I have it already in Node, and Go, but I am not convinced of either. Nim seems to be the best of all worlds. Especially since I worked with coffeescript for years, the syntax is very similar. |
10:46:30 | PMunch | A simply CRUD in Jester is dead simple to do |
10:46:52 | PMunch | dom96, did we ever fix the metaprogramming thing in jester routes by the way? |
10:47:30 | * | FromTwitch joined #nim |
10:47:37 | FromGitter | <Yardanico> I'm trying to use strscans btw |
10:47:51 | Yardanico | why it doesn't workkk |
10:48:01 | PMunch | It's really practical to have an error checking template for DB operations, but with the bug it just introduced more errors :P |
10:48:22 | PMunch | Yardanico, how are you trying to do it? |
10:48:45 | Yardanico | PMunch, if scanf(message, "<$+>$s$+", checkNick, checkMsg): do stuff if it matches |
10:48:54 | Yardanico | $+ means 1 or more chars |
10:49:04 | PMunch | if username == "FromGitter": username = msg[1..msg.find(">")] |
10:49:12 | Yardanico | :d |
10:49:21 | Yardanico | ok :) |
10:49:25 | * | FromTwitch quit (Remote host closed the connection) |
10:49:27 | PMunch | Wouldn't that work? |
10:49:40 | Yardanico | yeah it would |
10:49:42 | Araq | Yardanico: keep in mind scanf is not a regex |
10:49:47 | PMunch | That way it only happens on FromGitter as well, so that I couldn't do: |
10:49:48 | Yardanico | Araq, I know |
10:50:06 | PMunch | <Yardanico> Now I would be spoofing you! |
10:50:10 | Yardanico | ohh |
10:50:27 | Yardanico | well I'll just use the code that you've suggested! |
10:51:08 | * | skrylar joined #nim |
10:51:44 | * | FromTwitch joined #nim |
10:51:51 | FromGitter | <Yardanico> trying |
10:52:09 | Yardanico | yeah that works, only need to remove a lot of not needed ">" |
10:52:23 | * | FromTwitch quit (Remote host closed the connection) |
10:52:34 | * | FromTwitch joined #nim |
10:52:36 | FromGitter | <Yardanico> sooo |
10:53:06 | Yardanico | oh wait, I've got a better idea |
10:53:35 | * | FromTwitch quit (Remote host closed the connection) |
10:53:38 | Yardanico | lol it's so simple |
10:53:42 | * | FromTwitch joined #nim |
10:53:46 | FromGitter | <Yardanico> and it probably would work |
10:53:49 | Yardanico | yes it does |
10:53:52 | * | FromTwitch quit (Remote host closed the connection) |
10:54:07 | Yardanico | so I just know the fact that gitter has messages like " <Yardanico> I'm trying to use strscans btw" |
10:54:19 | Yardanico | so I just send this message to twitch without re-formatting it |
10:54:24 | Yardanico | but probably I should add that it's from gitter |
10:54:47 | Yardanico | what would be the best way to indicate that this message was sent from gitter ? :P |
10:54:58 | Yardanico | <Yardanico@gitter> ? |
10:57:11 | PMunch | I guess that would work |
10:59:46 | Araq | Yardanico: told ya the results are representative |
11:00:01 | Yardanico | Araq, yeah it seems so |
11:00:06 | Araq | destructors are most exciting :P |
11:00:35 | * | FromTwitch joined #nim |
11:00:36 | FromGitter | <Yardanico> trying again |
11:00:48 | Yardanico | hmm, it shows as " <<Yardanico>gitter> > trying again" on twitch |
11:01:12 | Araq | speaking of which, is there an IRC client for VS Code? |
11:01:32 | couven92 | Araq, I know there is one for Vim :P |
11:01:50 | Yardanico | Araq, can't find any |
11:02:10 | Araq | couven92: too bad vim cannot distinguish between scroll position, mouse position and cursor position then. |
11:02:14 | Yardanico | I found an extensions for gitter tho |
11:02:17 | Yardanico | *extension |
11:02:17 | Yardanico | https://marketplace.visualstudio.com/items?itemName=scrthq.vscode-gitter |
11:02:36 | * | Snircle joined #nim |
11:03:15 | Araq | maybe get the basics right before boasting how your non sensical keyboard shortcuts from the 70ies make you more productive |
11:03:58 | * | FromTwitch quit (Remote host closed the connection) |
11:04:02 | couven92 | Araq, not too fond of Vim, eh? :D |
11:04:05 | * | FromTwitch joined #nim |
11:04:06 | FromGitter | <Yardanico> (ignore) check |
11:05:08 | * | FromTwitch quit (Remote host closed the connection) |
11:05:15 | * | FromTwitch joined #nim |
11:05:18 | FromGitter | <Yardanico> (ignore sorry) check2 |
11:05:53 | FromGitter | <zetashift> What does Araq use then? :o |
11:06:14 | couven92 | @zetashift if the last stream is any indication: VS Code |
11:06:34 | Araq | couven92: tried it multiple times, it never convinced me |
11:06:48 | * | FromTwitch quit (Remote host closed the connection) |
11:07:10 | * | FromTwitch joined #nim |
11:07:11 | FromGitter | <Yardanico> (check check check) |
11:07:41 | couven92 | Araq, yeah, I only use it when I already am in the command-line and too lazy to switch out of the window or when I **have** to use (i.e. in an ssh without Graphical redirect) |
11:07:45 | * | FromTwitch quit (Remote host closed the connection) |
11:07:53 | * | FromTwitch joined #nim |
11:07:57 | FromGitter | <Yardanico> well it seems I did it (but the code isn't very clean) |
11:08:02 | Araq | couven92: there is 'nano' for that |
11:08:12 | Yardanico | (nick, msg) = (data[0][2..^1] & " at Gitter", data[1].strip()) |
11:08:59 | * | FromTwitch quit (Remote host closed the connection) |
11:09:07 | * | FromTwitch joined #nim |
11:09:08 | couven92 | Araq, I hear people telling me that... But I have no clue how nano works, so instead of learning yet another set of key combos I stick to those I have already learned... It's a relic of the Linux-people around pushing Vim onto me :P |
11:09:33 | FromGitter | <Yardanico> I've never used any console editors as my main editor |
11:09:41 | Araq | you don't have to learn nano, it tells you the combinations at the bottom |
11:09:45 | * | FromTwitch quit (Remote host closed the connection) |
11:10:58 | couven92 | Araq, oh well... I'll try to remember next time :P But in reality now that the damage is already done, there is no real difference for me using Vim as opposed to nano, is there? |
11:11:07 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
11:11:17 | Yardanico | ok, now I'll stress-test it in some empty channel (I can create it myself) |
11:11:24 | Yardanico | e.g. connect to some popular twitch streamer |
11:11:26 | Araq | and they use this innovation called "ctrl" key (or Apple's rethought version of it) |
11:11:36 | couven92 | People should instead try talking me out of using full-blown Visual Studio for everything instead of other (better) alternatives :P |
11:12:36 | couven92 | Yardanico, what happends when I `/MSG FromTwitch Hi there!` |
11:12:39 | Araq | vim for coding is like lynx for browsing |
11:12:48 | FromGitter | <mratsim> Nano is only for conf files :p |
11:13:11 | * | FromTwitch joined #nim |
11:13:11 | Yardanico | couven92, IDK, I've started the bot |
11:13:12 | miran | VS Code + Vim keybinding = nice combo |
11:13:14 | Yardanico | try it |
11:13:17 | couven92 | Araq, as you might imagine, the same people have been pushing lynx onto me as well... Thus far I have resisted :P |
11:13:39 | Yardanico | yeah |
11:13:41 | Yardanico | it works xD |
11:13:47 | couven92 | what happened? |
11:13:54 | Yardanico | couven92, it sent the message to twitch |
11:13:57 | * | claudiuinberlin joined #nim |
11:13:59 | Yardanico | I'll add a check for the source |
11:13:59 | couven92 | okay :) |
11:14:06 | Yardanico | so I would check if it's from the can |
11:14:08 | Yardanico | *channel |
11:14:11 | couven92 | why? |
11:14:19 | couven92 | anti-spam? |
11:14:31 | Yardanico | well I can keep it as it is now |
11:14:42 | couven92 | yeah, probably a good idea now that I think of it... hmm... |
11:14:48 | Yardanico | it would be strange though |
11:15:15 | * | FromTwitch quit (Remote host closed the connection) |
11:15:24 | * | FromTwitch joined #nim |
11:15:43 | Yardanico | couven92, it doesn't crash :P |
11:15:45 | Yardanico | but yeah, spam is real |
11:16:08 | couven92 | :D |
11:16:41 | Yardanico | it's easy to check for though |
11:17:28 | * | FromTwitch quit (Remote host closed the connection) |
11:17:36 | * | FromTwitch joined #nim |
11:17:46 | Yardanico | yeah, doesn't work now |
11:18:17 | Yardanico | couven92, thanks for your help |
11:18:31 | * | FromTwitch quit (Remote host closed the connection) |
11:18:41 | couven92 | I helped? Omg, what did I do now? :O |
11:18:49 | Yardanico | so I'll finally change my nickname to FromIRC and try it on some very popular stream |
11:18:59 | Yardanico | (not my nickname, bot's nickname) |
11:19:00 | Yardanico | on twitch |
11:20:14 | Yardanico | couven92, you can join #twitchas (I'll stress-test it there) |
11:20:16 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
11:20:19 | couven92 | :) |
11:20:28 | * | dddddd joined #nim |
11:20:30 | couven92 | on irc.twitch.tv, right? |
11:20:46 | Yardanico | couven92, no, it's on irc |
11:20:58 | couven92 | ah, okay... |
11:20:58 | Yardanico | firstly I want to test twitch-irc :P |
11:24:02 | skrylar | nano/pico are the console equivalents of notepad :p |
11:24:08 | skrylar | although emacs with evil can be very nice |
11:25:49 | livcd | I use emacs but consider switching to Atom |
11:26:10 | skrylar | what would the point of that even be |
11:26:42 | skrylar | admittedly i wish emacs/vim would integrate a fuzzy matcher already. fuzzy completion is really nice in Sublime |
11:27:09 | Araq | "do what I mean, don't do what I type" |
11:27:14 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:27:22 | Araq | I love these things too :-) |
11:28:24 | livcd | skrylar: more effortless setup, no elisp |
11:29:00 | miran | livcd: sonsider VS code instead of Atom. you might be surprised |
11:29:54 | FromGitter | <dandevelo> I would like to add a prefix to my log messages such as "APPName" and be able to specify a different string for every app I build. Ideally this string would be written in the C code and not be allocated every time my program runs. How would I go about doing that? |
11:31:07 | Araq | use a custom logging module, not the stdlib'S :-) |
11:31:38 | * | PMunch_ joined #nim |
11:32:46 | * | PMunch quit (Disconnected by services) |
11:32:48 | * | PMunch_ is now known as PMunch |
11:34:17 | Yardanico | yay, my twitchrelay works for unicode (tested on some korean stream) |
11:35:56 | FromGitter | <mratsim> @skrylar, your wish is my command: Vim with fuzzymatcher: http://owen.cymru/fzf-ripgrep-navigate-with-bash-faster-than-ever-before/ |
11:35:58 | Yardanico | oh twitch |
11:35:59 | Yardanico | If you send more than 20 commands or messages to the server within a 30 second period, you will get locked out for 8 hours automatically. |
11:36:06 | Yardanico | I should probably add a variable to count that |
11:36:28 | couven92 | Yardanico, oooh... yeah :) |
11:36:42 | Yardanico | or |
11:36:43 | Yardanico | Mods can type 100 messages in a channel before hitting this rate limit. If a message is sent to a room in which your global message count is already too high, you will be disconnected. |
11:37:03 | Yardanico | if araq will give my bot a moderator status, it will be a lot better |
11:37:17 | Yardanico | and they don't ban mods |
11:37:23 | FromGitter | <mratsim> !eval kick Yardanico |
11:37:25 | NimBot | Compile failed: in.nim(1, 1) Error: undeclared identifier: 'kick' |
11:37:29 | Yardanico | ? |
11:37:34 | FromGitter | <mratsim> moderator status ;) |
11:37:38 | FromGitter | <mratsim> abuse* |
11:37:52 | Yardanico | NimBot uses nim playground for eval anyway |
11:38:39 | FromGitter | <mratsim> I meant, you probably want some filter to avoid people sending an ill-formed message in Gitter that does something “dangerous” on IRC |
11:38:45 | FromGitter | <mratsim> or Twitch |
11:38:55 | Yardanico | how they would do some dangerous things? |
11:39:09 | Yardanico | my message format is "<nickname> message" |
11:39:37 | FromGitter | <mratsim> it’s just food for thoughts |
11:40:07 | Yardanico | well I don't think there would be a lot of evil people here :) |
11:40:44 | Yardanico | I'll enable the bot in #nim channel, and if there would be a lot of messages - I'll move to #nim-offtopic probably |
11:40:53 | Yardanico | (on today's stream) |
11:41:11 | Yardanico | or if people will complain |
11:42:18 | Yardanico | Araq, can you add "FromIRC" as a mod to your channel on twitch? so we won't hit the message rate limit. Just type "/mod FromIRC" in your channel's chat |
11:42:25 | Yardanico | https://go.twitch.tv/araq4k here in the chat :) |
11:42:58 | * | PMunch_ joined #nim |
11:43:17 | * | PMunch quit (Disconnected by services) |
11:43:21 | * | PMunch_ is now known as PMunch |
11:43:46 | Araq | done |
11:44:26 | PMunch | The stream is at 19:00 UTC right? |
11:45:10 | * | FromTwitch joined #nim |
11:45:52 | FromTwitch | <yardanico> ok, I've configured it, so let's just wait for the stream :) |
11:46:06 | * | FromTwitch quit (Remote host closed the connection) |
11:46:19 | dom96 | hello guys |
11:46:24 | Yardanico | dom96, hi |
11:46:44 | Yardanico | dom96, I've improved twitchrelay a bit :P (added gitter support with the help from couven92) |
11:47:24 | dom96 | oh, you mean you parse out the nickname from FromGitter? |
11:47:28 | Yardanico | dom96, yep |
11:47:34 | dom96 | cool |
11:47:41 | Yardanico | and it would be like "<nickname from Gitter> message" |
11:47:43 | Yardanico | e.g. |
11:47:49 | Yardanico | "<Yardanico from Gitter> hi" |
11:48:24 | PMunch | That's even longer though Yardanico.. |
11:48:47 | Yardanico | well I don't know a better way to let people understand that this message was sent from gitter :P |
11:48:57 | PMunch | @G |
11:49:01 | Yardanico | ok |
11:49:02 | PMunch | Or something else simple |
11:49:17 | * | FromTwitch joined #nim |
11:49:20 | FromGitter | <Yardanico> sending from gitter to #araq4k channel! |
11:49:40 | * | FromTwitch quit (Remote host closed the connection) |
11:49:48 | FromGitter | <Yardanico> test |
11:49:52 | * | FromTwitch joined #nim |
11:49:54 | FromGitter | <Yardanico> test |
11:49:58 | dom96 | I don't think there is a need to let people know that it's from Gitter |
11:50:04 | dom96 | but *shrug* |
11:50:09 | Yardanico | also you may check how it looks like here: https://go.twitch.tv/araq4k |
11:50:18 | Yardanico | just type something in IRC |
11:50:32 | Yardanico | dom96, ok, I'll remove it |
11:50:48 | * | dom96 what happens with this? |
11:51:01 | dom96 | That doesn't look right ;) |
11:51:05 | Yardanico | why ? :) |
11:51:11 | dom96 | because it doesn't specify my nick |
11:51:15 | Yardanico | ah, yep |
11:51:18 | dom96 | but still, nice work |
11:51:25 | * | FromTwitch quit (Remote host closed the connection) |
11:51:34 | * | FromTwitch joined #nim |
11:51:34 | * | Yardanico checking stuff |
11:51:48 | Yardanico | ah, so the message that is parsed by IRC library is |
11:51:51 | Yardanico | "ACTION checking stuff" |
11:52:33 | Yardanico | I can just use multireplace to remove these |
11:53:14 | * | PMunch Then we can say things here without twitch knowing. Muhaha |
11:53:32 | PMunch | Oh wow, yeah you should fix that Yardanico |
11:53:40 | Yardanico | nah, I'll parse them as usual messages |
11:53:43 | Yardanico | they'll be sent to twitch too |
11:53:55 | PMunch | Now without the nick it could possibly be abused |
11:54:07 | Yardanico | is there any commands apart from "/me" ? |
11:54:14 | Yardanico | which can do stuff like this |
11:54:27 | PMunch | Hmm, people could /query the bot? |
11:54:47 | PMunch | But nothing in a room itself I don't think |
11:55:04 | Yardanico | no I've already fixed that ( couven92 said about it) |
11:55:23 | couven92 | No, I only did /MSG and /QUERY |
11:55:32 | PMunch | And you do have styles which I guess wouldn't work |
11:55:39 | Yardanico | yeah, they wouldn't |
11:55:45 | Yardanico | but Kappa KappaPride would work on twitch xD |
11:56:02 | PMunch | Wat |
11:56:08 | Yardanico | twitch emotes |
11:56:14 | Yardanico | they're parsed in your browser |
11:56:24 | PMunch | Right.. |
11:56:46 | * | FromTwitch quit (Remote host closed the connection) |
11:56:53 | * | FromTwitch joined #nim |
11:56:54 | * | Yardanico doing some stuff |
11:57:08 | * | FromTwitch quit (Remote host closed the connection) |
11:57:15 | * | FromTwitch joined #nim |
11:57:23 | * | Yardanico one two three unicode привет |
11:58:49 | Yardanico | hmm, it has some weird characters on twitch |
11:59:55 | * | FromTwitch quit (Remote host closed the connection) |
12:00:03 | * | FromTwitch joined #nim |
12:00:04 | * | Yardanico doesn't know why |
12:00:08 | * | FromTwitch quit (Remote host closed the connection) |
12:00:32 | Yardanico | any ideas about that ? :P |
12:00:32 | * | FromTwitch joined #nim |
12:00:36 | Yardanico | ping |
12:00:43 | * | Yardanico ping |
12:00:57 | dom96 | looks fine to me |
12:01:03 | Yardanico | dom96, on twitch? |
12:01:14 | couven92 | Your cyrrilic looks fine both in my browser and in HexChat |
12:01:17 | dom96 | Yardanico: yeah |
12:01:26 | Yardanico | well I'm not about cyrillic, I'm about /me stuff |
12:01:43 | * | Yardanico maybe it's just for me, but twitch shows some weird chars at the start and at the end of this message |
12:02:04 | * | FromTwitch quit (Remote host closed the connection) |
12:02:11 | * | FromTwitch joined #nim |
12:02:11 | * | arnetheduck joined #nim |
12:02:14 | * | Yardanico so probably it's just for me ... |
12:02:37 | PMunch | There probably are some weird characters there, it's just that dom96 and couven92 have a font that doesn't render them |
12:03:14 | * | FromTwitch1 joined #nim |
12:03:20 | * | Yardanico I'll try to see that bytes they have (through repr) |
12:03:25 | * | FromTwitch1 quit (Remote host closed the connection) |
12:03:28 | Yardanico | oh wait, really |
12:03:39 | Yardanico | they have \1 at the start and at the end |
12:04:18 | dom96 | Yep. It's \1ACTION msg\1 |
12:04:25 | Yardanico | ah, ok |
12:04:59 | * | FromTwitch1 joined #nim |
12:05:01 | * | Yardanico I just use .multiReplace for them :) |
12:05:06 | Yardanico | yes, that works |
12:05:09 | * | FromTwitch1 quit (Remote host closed the connection) |
12:06:25 | * | FromTwitch quit (Ping timeout: 248 seconds) |
12:06:28 | dom96 | https://github.com/nim-lang/nimbot/blob/master/src/nimbot.nim#L103 |
12:06:29 | dom96 | :P |
12:07:05 | Yardanico | oh, I'll probably use that as well |
12:07:11 | Yardanico | wow, you can use {} syntax here? ! |
12:07:17 | dom96 | We're getting a little army of bots here |
12:07:22 | dom96 | Wanna make a FromSlack as well? :) |
12:07:28 | dom96 | Yeah you can |
12:07:35 | dom96 | Clever ain't it ;) |
12:07:47 | dom96 | Remember, that syntax expands to a list of tuples |
12:08:07 | Yardanico | yeah, I know |
12:08:17 | * | claudiuinberlin joined #nim |
12:08:40 | Yardanico | I'll remove though :) |
12:08:52 | dom96 | yeah, of course |
12:08:58 | Yardanico | :P |
12:09:07 | dom96 | I used it because somebody would have to be trying to be clever |
12:09:13 | dom96 | whereas a /me is quite common for your sue case |
12:09:18 | dom96 | *use |
12:10:16 | * | FromTwitch joined #nim |
12:10:17 | Yardanico | done\n newline? |
12:10:22 | Yardanico | ah, that's fake newline |
12:10:34 | Yardanico | 1 |
12:10:34 | Yardanico | 2 |
12:11:35 | * | FromTwitch quit (Remote host closed the connection) |
12:12:33 | Yardanico | I've pushed all changes to https://github.com/Yardanico/twitchrelay |
12:14:14 | Yardanico | also it works fine without -d:release |
12:14:24 | Yardanico | because speed is not an issue here :) |
12:15:26 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:17:57 | Araq | Yardanico: it doesn't work though? |
12:18:06 | Yardanico | Araq, what do you mean? |
12:18:14 | Araq | I wrote 'test' in araq4k's chat |
12:18:14 | Yardanico | I'll start it on a VPS now |
12:18:21 | Yardanico | it's not running now |
12:18:25 | Araq | and it doesn't show up here, oh ok |
12:18:29 | * | FromTwitch joined #nim |
12:18:30 | Yardanico | started it |
12:18:37 | FromTwitch | <araq4k> test |
12:18:57 | FromTwitch | <araq4k> good job! |
12:19:32 | PMunch | Hi araq4k |
12:19:35 | Yardanico | :D |
12:19:52 | Yardanico | PMunch, it doesn't change "araq4k" to "@araq4k" yet |
12:19:55 | * | PMunch thinks Yardanico did a good job! |
12:19:56 | Yardanico | like fromgitter does |
12:20:00 | PMunch | Aaah |
12:20:04 | PMunch | Oh does it? |
12:20:14 | Yardanico | FromGitter does |
12:20:21 | Yardanico | try to write Araq here, it will show up as "@Araq" in gitter |
12:20:29 | Yardanico | or no |
12:20:35 | Yardanico | yglukhov |
12:20:36 | PMunch | Huh, then I'll stop writing @ when talking to Gitter people :P |
12:20:44 | Yardanico | hmm wait |
12:20:48 | Yardanico | Araq: test gitter |
12:20:50 | Yardanico | ah yes |
12:20:52 | Yardanico | it works this way |
12:20:53 | dom96 | Araq: Got a second screen hooked up? |
12:21:04 | PMunch | Oh, only when you add :? |
12:21:09 | couven92 | PMunch, FromGitter will actually add @ when you mention a nick that is in the gitter room |
12:21:10 | FromGitter | couven92, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim |
12:21:11 | Araq | dom96: no, should I? |
12:21:29 | Yardanico | dom96, he'll check twitch chat in IRC :P |
12:21:34 | Araq | I'm trying to find a VS Code plugin instead that shows the chat |
12:21:51 | couven92 | so feel free to omit the @ it'll be there anyways :P |
12:21:52 | dom96 | Araq: yeah... |
12:22:08 | Araq | dom96: why? |
12:22:43 | dom96 | Araq: So you can view the chat without having to switch windows? |
12:23:03 | PMunch | couven92, according to Yardanico it seems to only work when you do couven92: and not just the nick |
12:23:07 | PMunch | But I might be wrong |
12:23:24 | Yardanico | maybe it works if your message starts with a nickname? |
12:23:27 | couven92 | PMunch, to secs, let's try |
12:23:27 | Yardanico | Araq &*#&Q@%!@(#*$% |
12:23:31 | Yardanico | hmm, no |
12:23:34 | FromTwitch | <d0m96> Hello dom96 |
12:23:41 | dom96 | Hello d0m96 |
12:23:50 | Araq | dom96: yeah but then I have to read out the chat or else people will be confused |
12:23:55 | FromGitter | <couven92> PMunch: try writing something to me, pls? on Gitter |
12:24:03 | FromGitter | <Yardanico> @couven92 hi |
12:24:04 | Araq | it's more bullet proof to have the chat part of the screen |
12:24:05 | dom96 | Araq: No, you need to get a chat overlay like I have |
12:24:11 | PMunch | Hi couven92 |
12:24:13 | FromGitter | <couven92> without the @ |
12:24:30 | dom96 | Araq: Then you can have OBS in your other screen |
12:24:31 | PMunch | That was without it |
12:24:34 | dom96 | and see what your viewer's are seeing |
12:24:36 | FromGitter | <couven92> Yeah, you're right PMunch, it does not add the @ |
12:24:45 | * | FromTwitch quit (Remote host closed the connection) |
12:24:55 | Araq | dom96: alright then |
12:25:07 | dom96 | all you need to do is login to streamlabs |
12:25:13 | PMunch | couven92: apparently it does when you do this |
12:25:16 | couven92 | PMunch, but with nickname: it does |
12:25:17 | dom96 | With your Twitch login |
12:25:20 | couven92 | yeah |
12:25:22 | dom96 | and then grab the URL for their chat widget |
12:25:28 | * | claudiuinberlin joined #nim |
12:25:28 | dom96 | Put it into a BrowserSource in OBS |
12:26:03 | Araq | so you do suggest OBS records the chat window? |
12:26:41 | dom96 | ? |
12:26:53 | dom96 | what do you mean? |
12:27:24 | * | FromTwitch joined #nim |
12:27:28 | Yardanico | ok, I've started twitchrelay on my VPS |
12:27:48 | dom96 | Yardanico: Can it relay to multiple Twitch channels? |
12:27:55 | Yardanico | dom96, I didn't add this feature yet |
12:28:06 | Yardanico | but it shouldn't be too hard |
12:28:48 | * | claudiuinberlin quit (Client Quit) |
12:28:54 | Araq | dom96: I mean the chat will be visible all the time for the watchers |
12:28:58 | dom96 | yes |
12:29:05 | Araq | ok |
12:30:50 | * | JappleAck joined #nim |
12:31:00 | * | UxerUospr joined #nim |
12:32:47 | Yardanico | I hope my bot wouldn't crash :P |
12:33:56 | Yardanico | couven92, you don't need to connect to twitch irc anymore :P |
12:36:03 | Yardanico | guys, ping me if you see "FromTwitch has quit (Remote host closed the connection)" in IRC :) |
12:36:16 | Yardanico | *will see |
12:39:50 | Yardanico | BTW, I've compiled it with -x:off to have traceback available in case it will crash |
12:40:20 | * | Viktor_ quit (Quit: Page closed) |
12:40:25 | Araq | Yardanico: shouldn't that be -x:on ? |
12:40:42 | dom96 | What's `-x`? |
12:40:46 | dom96 | First time I'm seeing this |
12:40:53 | Yardanico | Araq, ah lol |
12:41:19 | Yardanico | dom96, -x, --checks:on|off turn all runtime checks on|off |
12:41:25 | Yardanico | Araq, wait, it should be off: -x, --checks:on|off turn all runtime checks on|off |
12:41:38 | Yardanico | linedir and stacktrace are unaffected by -x |
12:41:55 | Araq | turn on these checks |
12:42:16 | Araq | as you said, efficiency doesn't matter for this application |
12:42:21 | * | FromTwitch quit (Remote host closed the connection) |
12:42:26 | dom96 | what does this actually switch on? |
12:42:35 | dom96 | that isn't already switched on by default? |
12:42:35 | Yardanico | dom96, enables/disables all runtime cheks |
12:42:38 | Yardanico | *checks |
12:42:42 | Yardanico | out of bounds, range checks etc |
12:42:52 | dom96 | those are enabled by default, no? |
12:42:55 | Araq | dom96: it is the default, yes |
12:43:07 | * | FromTwitch joined #nim |
12:43:13 | * | Viktor joined #nim |
12:43:14 | Yardanico | Araq, ok, I've compiled it with "nim c twitchrelay" |
13:02:37 | Yardanico | only 6 hours left :p! |
13:05:34 | * | Yardanico_ joined #nim |
13:08:35 | * | Yardanico quit (Ping timeout: 240 seconds) |
13:11:20 | * | Yardanico_ quit (Quit: Quit) |
13:11:39 | * | Yardanico joined #nim |
13:14:49 | * | yglukhov joined #nim |
13:15:17 | * | claudiuinberlin joined #nim |
13:18:19 | * | PMunch quit (Quit: Leaving) |
13:20:38 | * | arnetheduck quit (Remote host closed the connection) |
13:21:07 | * | arnetheduck joined #nim |
13:24:41 | * | aziz joined #nim |
13:25:34 | * | aziz quit (Client Quit) |
13:26:40 | gangstacat | whose is this araq4k channel? |
13:27:07 | couven92 | gangstacat, it's the Araq twitch channel |
13:27:21 | gangstacat | alright, nice idea |
13:27:30 | couven92 | go.twitch.tv/araq4k |
13:28:42 | * | yglukhov quit (Ping timeout: 260 seconds) |
13:28:48 | couven92 | Araq, I am joining a workshop on AI at the university today, so I cannot be there live to watch you do destructors... :( Please upload the stream somewhere later so that I can enjoy your thought process again! :) |
13:29:36 | couven92 | The benefit is that this time he can do his work without being interrupted be me :P |
13:30:20 | Yardanico | couven92, use gitter & twitch from the phone |
13:30:21 | couven92 | s/be/by |
13:30:25 | Yardanico | at least you'll see the code and chat :D |
13:30:41 | Araq | uploaded my first live coding to youtube |
13:30:59 | Araq | and the second two actually but youtube says it's "private" and I dunno why |
13:31:20 | couven92 | Yardanico, that would be impolite, as at 19:00 we'll be talking with the guys doing the workshop, and they'll be giving us free beer |
13:31:42 | Yardanico | Araq, link ? :) |
13:32:13 | couven92 | Araq, nice! I haven't watched the first one yet either, so I'll treat myself tonight when I get home :) |
13:35:01 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:37:35 | * | Laon quit (Ping timeout: 248 seconds) |
13:38:13 | * | luka_ joined #nim |
13:39:01 | luka_ | @zacharycarter, @mratsim, thanks! |
13:39:06 | * | luka_ quit (Client Quit) |
13:39:12 | miran | couven92: where are you located? |
13:39:26 | couven92 | Tromsø, Norway |
13:39:39 | couven92 | Home of the Northernmost University in the World :) |
13:39:52 | miran | couven92: so at 21:00 you'll still be at the workshop? :) |
13:40:10 | miran | that's a time for being at home and/or watching streams :) |
13:40:55 | couven92 | miran, no the workshop will probably only last until 18:00 or so... But afterwards we're invited to the Pub to talk, socialize and to get free beer |
13:41:01 | * | claudiuinberlin joined #nim |
13:41:57 | miran | yeah, i'm going on some datascience meetup starting at 18:00, but hopefully i'll be home by the time the stream starts |
13:42:14 | miran | but it seems there is a hope it will be later published on youtube :) |
13:46:14 | couven92 | miran, well from experience I know that these social gatherings with business representatives can last last well into the evening, I don't expect to be home before 23:00 to day :P |
13:48:10 | Araq | don't be too excited, I don't even know what to program yet |
13:48:57 | couven92 | Araq, as I said the other day: it still is interesting just to hear the train of thought :P |
13:49:00 | FromGitter | <mratsim> @miran don't go there! It will be the bane of your existence, you will become all talk and no substance. Everything will be targeted at the potential "I know nothing" and as.an expert you won't learn anything. Plus I don't know about you but there are like 2-3 data science related Meetup per week in my area |
13:49:02 | Araq | maybe I'll fake the poll and show Karax instead :P |
13:49:18 | couven92 | :D |
13:49:46 | skrylar | what even is a 'data science meetup' |
13:50:51 | skrylar | "man i compared the pearson r between hamburger diameter and the price of meat futures, its totally rad" |
13:51:00 | FromGitter | <mratsim> Machine learning, deep learning, computer vision, natural language understanding, neural network, gradient boosted trees, classification, regression. Anything that allows you to deal with data |
13:51:21 | miran | mratsim - i'm going because i know the girl who will give the talk. and this is first meetup of this kind in my town, so i want to be there to give some support |
13:51:40 | skrylar | the real reason emerges, cherches la femme. :P |
13:51:52 | FromGitter | <mratsim> Hehe! |
13:52:13 | miran | and after some time spent here with nim community, finally something where i can be "i know more than some of these people" :D :P |
13:52:13 | couven92 | miran, Good luck with that! :D |
13:52:22 | miran | skrylar: :D :D |
13:53:02 | miran | so basically, i'm going to get some ego boost :D |
13:53:23 | FromGitter | <mratsim> You're doing data science in Nim? |
13:53:27 | skrylar | dump the framework in the trash, read the whitepaper. congratulations you are no longer john snow |
13:54:31 | miran | mratsim - no(t yet). i'm coming from the python world (where i do some DS, but mostly numerics), and now i'm exploring nim - i just started |
13:54:38 | livcd | Araq: do something boring that is easily understandable :) |
13:54:47 | miran | you can tell by all those basic questions i keep having :) |
13:54:59 | couven92 | okay gotta go to the workshop. Good luck with your stream later Araq! :) |
13:55:50 | Araq | thanks |
13:55:52 | * | couven92 quit (Quit: Client disconnecting) |
13:58:27 | Yardanico | Araq, so can you share a link of your stream recording? |
14:00:53 | Araq | https://www.youtube.com/watch?v=E2qlDKm_WzE |
14:01:00 | Araq | should have given it a title lol |
14:01:18 | Araq | oh and apparently the Pretty printing is public now too |
14:02:03 | dom96 | Create a playlist with your videos so that I can feature it on the Nim youtube channe; |
14:02:05 | dom96 | *channel |
14:02:29 | dom96 | Sorta how I've done with my videos https://www.youtube.com/channel/UCDAYn_VFt0VisL5-1a5Dk7Q |
14:03:30 | FromGitter | <mratsim> Twitch is an awesome way to promote Nim, congrats on the idea |
14:04:42 | livcd | there is a nim youtube channel ? |
14:04:52 | dom96 | Yep :) |
14:05:37 | dom96 | So since Araq is doing one today, maybe I should do a livestream tomorrow? :) |
14:06:33 | Araq | dom96: you need to do a livestream every day because it forces you to stay focussed on one task and be productive |
14:06:52 | dom96 | That would kill me lol |
14:07:37 | Araq | meh destructors are so hard, apart from that they already work |
14:07:52 | dom96 | Sure it makes you more focused, but it also makes you more likely to write poor code because you don't want to bore people with refactoring. |
14:08:01 | Araq | no leaks, no GC, no crashes |
14:08:23 | Yardanico | Araq, ideal world? :) |
14:08:36 | dom96 | Another good idea btw would be to put up a banner on your twitch account |
14:08:45 | dom96 | Which specifies the time of your next stream |
14:08:48 | dom96 | I wonder how that's done |
14:08:51 | Yardanico | Araq, pls rename these videos when you have time :P |
14:09:27 | Yardanico | dom96, https://www.twitch.tv/yardanico/dashboard |
14:09:43 | Yardanico | oh wait, wrong link |
14:09:51 | dom96 | Yeah, I guess Twitch just lets you upload an image? |
14:09:54 | Yardanico | ahh |
14:09:56 | Yardanico | dom96, no |
14:10:05 | Yardanico | dom96, go to here https://www.twitch.tv/d0m96 |
14:10:09 | Yardanico | then scroll down |
14:10:13 | Yardanico | then enable panel editing |
14:10:25 | Yardanico | and you'll be able to add a text or image panel :P |
14:10:31 | dom96 | But that's below the video |
14:10:33 | dom96 | isn't it? |
14:10:41 | Yardanico | dom96, it is |
14:10:44 | dom96 | https://go.twitch.tv/h3h3productions |
14:10:54 | dom96 | They've got an image even though they're offline |
14:11:02 | Yardanico | dom96, https://www.twitch.tv/settings/channel |
14:11:02 | dom96 | oooh, they've got totalbiscuit next |
14:11:03 | dom96 | nice |
14:11:22 | Yardanico | you can change this banner here |
14:11:28 | dom96 | okay, that's what I thought :) |
14:11:34 | Yardanico | wow https://www.youtube.com/watch?v=-T0MrJkLB8Y |
14:12:19 | livcd | listening to the old stream of araq |
14:12:34 | FromGitter | <krux02> cool |
14:12:37 | livcd | Yardanico: btw is not it possible to spam twitch chat through irc via your bot ? |
14:12:48 | dom96 | Araq has an interesting fetish :P |
14:13:01 | Yardanico | livcd, well it is possible, but twitch limits are high because araq gave moderator right to my bot |
14:13:10 | Araq | dom96: which one? |
14:13:20 | Araq | oh lol |
14:13:21 | Yardanico | so I can send ~100 messages every 30 seconds |
14:13:31 | dom96 | hah, "which one" |
14:13:34 | Yardanico | :DD |
14:14:00 | dom96 | Yardanico: So now implement multi channel support so that it can relay to my channel too :) |
14:14:09 | livcd | we should buy araq a better microphone |
14:14:30 | dom96 | oh, a nice feature would also be to add a command to mute it in case I want to stream something non-Nim related |
14:14:39 | dom96 | but I guess I can just do that from Twitch |
14:15:14 | Yardanico | dom96, well change twitchChan = cfg["twitch_chan"] to twitchChan = cfg["twitch_chan"].split(",") |
14:15:40 | Yardanico | in the config file: twitch_chan = #d0m96,#araq4k |
14:15:44 | Yardanico | also |
14:15:55 | Yardanico | joinChans = @[twitchChan] change it to joinChans = twitchChan |
14:16:00 | dom96 | oh cool, so it's simple |
14:16:07 | Yardanico | ah, not that simple |
14:16:20 | dom96 | just need to send to multiple channels |
14:16:22 | Yardanico | let isTwitch = twitchChan in event.params[0] |
14:16:39 | Yardanico | dom96, you want it to send messages from different twitch channels to one IRC channel? |
14:16:53 | dom96 | sure |
14:17:02 | Yardanico | I'll probably implement that today |
14:17:16 | dom96 | Might need to get your bot to state where it's coming from then though :\ |
14:17:29 | FromGitter | <mratsim> @dom96 At the bottom of Nim features page, you should put a link with "Try Nim in your browser" with a link to play.nim-lang.org |
14:17:36 | Yardanico | dom96, yeah I think that will be neccesary |
14:17:51 | dom96 | mratsim: PRs welcome :) |
14:18:20 | FromGitter | <mratsim> :) |
14:19:25 | dom96 | Hrm, maybe I'll create a survey of what I should do in my stream too |
14:19:38 | dom96 | Question is what should I put in there? |
14:19:59 | * | miran quit (Quit: Page closed) |
14:25:11 | * | FromTwitchTest joined #nim |
14:25:16 | Yardanico | test |
14:25:17 | FromTwitchTest | <fromirc> <Yardanico> test |
14:25:18 | FromTwitch | <fromirc> <Yardanico> test |
14:25:18 | FromTwitchTest | <fromirc> <FromTwitchTest> <fromirc> <Yardanico> test |
14:25:19 | FromTwitch | <fromirc> <FromTwitch> <fromirc> <Yardanico> test |
14:25:19 | * | FromTwitchTest quit (Remote host closed the connection) |
14:25:20 | FromTwitch | <fromirc> <FromTwitch> <fromirc> <FromTwitch> <fromirc> <Yardanico> test |
14:25:32 | Yardanico | -_- |
14:25:35 | Yardanico | xD |
14:25:41 | FromGitter | <krux02> args, my notifications are going crazy |
14:25:46 | Yardanico | sorry |
14:26:00 | FromGitter | <krux02> np |
14:26:06 | FromGitter | <krux02> was that recursion? |
14:26:11 | Yardanico | probably yeah |
14:26:29 | Yardanico | so it sent "test" to #araq4k and #d0m96 channels on twitch |
14:26:36 | Yardanico | then received a message from twitch channel |
14:26:45 | Yardanico | and sent "test" back to IRC channels |
14:26:49 | Yardanico | and so on |
14:27:06 | Araq | dom96: fix stdlib bugs |
14:27:12 | FromGitter | <krux02> I use gitter, because it has a history that simply works |
14:27:14 | Yardanico | that's not going to be as easy as I firstly though :P |
14:27:32 | FromGitter | <krux02> but the notifications about people's messages only work for gitter people |
14:27:46 | FromGitter | <krux02> when someone on irc posts the notification window has no valuable information |
14:27:54 | dom96 | krux02: why are you getting notifications when someone posts? |
14:28:07 | dom96 | Why not just on highlight? |
14:28:18 | FromGitter | <krux02> don't know |
14:28:21 | FromGitter | <krux02> it's the gitter client |
14:28:38 | Yardanico | ok I'm testing it again |
14:28:39 | * | FromTwitchTest joined #nim |
14:28:39 | FromTwitchTest | <fromirc> <Yardanico> ok I'm testing it again |
14:28:40 | FromGitter | <krux02> I use it in "Franz" a pseudo multimessenger |
14:28:40 | FromTwitchTest | <fromirc> <FromTwitchTest> <fromirc> <Yardanico> ok I'm testing it again |
14:28:41 | FromTwitch | <fromirc> <krux02> I use it in "Franz" a pseudo multimessenger |
14:28:41 | * | FromTwitchTest quit (Remote host closed the connection) |
14:28:44 | Yardanico | ... |
14:28:56 | FromGitter | <krux02> woot |
14:29:11 | dom96 | Yardanico: You've got two FromTwitch bots running... |
14:29:26 | Yardanico | ah, that's probably the reason :P |
14:29:44 | * | FromTwitch quit (Remote host closed the connection) |
14:29:56 | * | FromTwitchTest joined #nim |
14:29:58 | Yardanico | test please? don't recurse, good bot |
14:30:15 | Yardanico | test2 |
14:30:20 | Yardanico | yes it works |
14:30:22 | Yardanico | and from twitch |
14:30:28 | FromTwitchTest | <yardanico> from d0m96 channel |
14:30:33 | FromTwitchTest | <yardanico> from araq4k channel |
14:31:00 | * | FromTwitchTest quit (Remote host closed the connection) |
14:31:08 | Yardanico | I'll keep experimenting with it, but not here :P |
14:31:20 | Yardanico | I'll start a stable bot again |
14:31:31 | * | FromTwitch joined #nim |
14:32:40 | * | TjYoco joined #nim |
14:34:00 | * | endragor quit (Remote host closed the connection) |
14:34:26 | * | endragor joined #nim |
14:36:33 | * | endragor_ joined #nim |
14:37:52 | subsetpark | dom96: threadpool upgrade :) |
14:38:19 | dom96 | subsetpark: hrm, you mean I should work on that? |
14:38:25 | dom96 | Can you elaborate? |
14:38:53 | Yardanico | dom96, what would be the best way to mention where a message came from? |
14:38:59 | * | endragor quit (Ping timeout: 255 seconds) |
14:39:02 | Yardanico | "<Yardanico at #nim> test" ? |
14:39:10 | Yardanico | "<Yardanico at IRC#nim> test" ? |
14:39:18 | Yardanico | "<Yardanico at Twitch#d0m96> test" ? |
14:39:31 | subsetpark | don't we have plans to replace the current stdlib threadpool with something much more akin to yglukhov's implementation? |
14:39:43 | Yardanico | subsetpark, there's a PR made by him |
14:39:53 | Yardanico | and dom96 doesn't work on threadpool |
14:39:58 | dom96 | subsetpark: yeah, what Yardanico said, not really my domain |
14:40:14 | subsetpark | nu, never too late to learn... |
14:40:14 | dom96 | Yardanico: hrm, maybe it would just be better to connect two IRC clients to here |
14:40:28 | dom96 | FromTwitch[d0m96] |
14:40:34 | dom96 | FromTwitch[araq4k] |
14:40:39 | Yardanico | yeah, that would be very nice |
14:40:40 | dom96 | You can use that as their nicknames |
14:41:03 | * | endragor_ quit (Ping timeout: 248 seconds) |
14:42:11 | Yardanico | dom96, yeah, it would be very nice, I'll probably implement that. |
14:42:22 | Yardanico | but not today :( |
14:42:26 | * | nsf quit (Quit: WeeChat 1.9) |
14:42:36 | dom96 | Aww why? |
14:42:48 | Yardanico | well I'll start implementing it |
14:42:50 | dom96 | You don't even need to have it in some program |
14:42:57 | dom96 | *in the same program |
14:43:03 | dom96 | You can just run it twice |
14:43:06 | dom96 | Simply change the nickname |
14:43:15 | Yardanico | ah, lol |
14:43:19 | Yardanico | dom96, will you stream today? |
14:43:49 | dom96 | No, tomorrow. |
14:43:56 | Yardanico | but I'll need to handle recursion between two bots :P |
14:44:20 | Yardanico | ah, no |
14:45:22 | Yardanico | e.g. someone sends a message (via FromTwitch[d0m96]) from #d0m96 to #nim, and another bot( FromTwitch[araq4k]) sends that to #araq4k channel |
14:45:31 | Yardanico | maybe I'll just ignore all nicknames |
14:45:41 | Yardanico | which start with some nick base |
14:46:01 | Yardanico | e.g. both config files will have the same twitch_nick_base |
14:46:12 | Yardanico | but I think it would be really cool to make it in one program |
14:49:58 | livcd | i am so exhausted after 8hours of dealing with shitty software |
14:50:27 | shashlick | @varriount : I found references in compiler\docgen.nim for "theindex.html" generation but will have to sit and understand Ropes |
14:50:41 | Yardanico | shashlick, did you see my link? |
14:50:47 | Yardanico | I've sent it after @varriount response |
14:51:02 | shashlick | Yardanico: Lib.rst doesn't seem to be theindex which lists every single proc and definition in one page so that you can CTRL-F easily |
14:51:12 | Yardanico | ah, you're about index |
14:51:48 | shashlick | basically I'm looking into adding functionality in nimbot to enable doc searches |
14:51:56 | Yardanico | shashlick, well you don't need to understand Ropes |
14:52:17 | Yardanico | rope is a more-efficient string-like type (for long strings) |
14:52:19 | Yardanico | https://nim-lang.org/docs/ropes.html |
14:52:25 | shashlick | theindex has everything worth mention in one place, however, it is HTML, which isn't too hard to parse honestly, but was curious of that metadata was available to search through easily |
14:52:50 | shashlick | I had mentioned this to dom96 earlier |
14:52:59 | FromGitter | <krux02> rope is a non-continuous string representation to make string concatenation faster |
14:53:17 | shashlick | something like !doc procname => procname present in multiple modules: module1, 2, 3, etc |
14:53:34 | shashlick | And then !doc module.proc => proc definitions as response |
14:53:57 | Yardanico | well you would need to change the compiler to allow generating index in some metadata-like type |
14:54:15 | Yardanico | there's no other way expect parsing html |
14:54:30 | shashlick | then if someone here asks a question about a particular functionality, you could just do !doc xyz and the answer would be inline, with a link to the actual HTML |
14:54:59 | * | JappleAck quit (Ping timeout: 246 seconds) |
14:55:16 | Yardanico | oh wait |
14:57:17 | FromGitter | <krux02> HTML is not easy to parse |
14:57:20 | FromGitter | <krux02> XML is easy to parse |
14:58:00 | FromGitter | <krux02> HTML is these weird no end tag requirement |
14:58:10 | FromGitter | <krux02> but yea I guess C++ is much harder to pares |
14:59:05 | * | kafke quit (Remote host closed the connection) |
14:59:24 | shashlick | @krux02 : well, considering theindex.html is generated, it's relatively easier :D |
14:59:30 | * | endragor joined #nim |
14:59:37 | * | kafke joined #nim |
14:59:49 | shashlick | although, it is 1.4MB and would need to be downloaded wherever nimbot is |
15:00:16 | shashlick | but parseHtml() loads it up within 1/2 a second on my laptop so it isn't too bad |
15:00:38 | * | gokr joined #nim |
15:00:57 | FromGitter | <gokr> No idea what you are discussing but... https://nim-lang.org/docs/docgen.html#document-types-json |
15:01:26 | Yardanico | it would be very easy, yes |
15:01:48 | Yardanico | but it still would require to add like 5-10 lines to the compiler :P |
15:03:55 | Yardanico | or not |
15:04:01 | * | kafke quit (Ping timeout: 248 seconds) |
15:05:23 | * | smt_ joined #nim |
15:08:41 | * | smt` quit (Ping timeout: 255 seconds) |
15:12:31 | * | gokr quit (Ping timeout: 248 seconds) |
15:13:12 | * | kafke joined #nim |
15:14:27 | * | JappleAck joined #nim |
15:15:01 | shashlick | gokr: looks interesting, guess it is best to keep this functionality out of nimbot and instead consume it just like the playground |
15:15:28 | shashlick | But I'll have to figure a place to host this API |
15:16:01 | shashlick | That generates the docs in json format and allows searches over rest |
15:17:15 | Yardanico | shashlick, wait, you want to parse theindex html? |
15:17:25 | Yardanico | as I said: it would be better to add this functionality to the compiler itself |
15:18:38 | shashlick | Well I just want to search the documentation, using theindex is easiest since it has everything in one place |
15:18:57 | shashlick | But I could just as well leverage docs in a json format |
15:19:05 | enthus1ast | twitch is so bloaty omg |
15:19:16 | shashlick | And avoid relying on HTML |
15:19:20 | enthus1ast | or i am getting old |
15:19:35 | Yardanico | enthus1ast, it's not bloaty |
15:19:44 | Yardanico | facebook is 10x more bloaty than twitch, for example :P |
15:21:09 | shashlick | Where is nim-lang.org hosted today? Who do I talk to to get some space, assuming this is of interest |
15:21:25 | Yardanico | shashlick, digitalocean |
15:21:30 | Yardanico | you can see that at the footer |
15:22:15 | FromGitter | <dom96> shashlick: a web service would be nice, you could create something like hoogle and then hook up NimBot to it (just like I did with the playground) |
15:23:43 | FromGitter | <dom96> I believe the compiler generates another type of file (a .idx file) |
15:24:07 | FromGitter | <dom96> You should look into that, just run ./koch docs in the Nim repo |
15:24:11 | FromGitter | <dom96> and you should see them |
15:27:59 | enthus1ast | every chrome browser can natively by remote controlled by the remote debugger api |
15:28:12 | enthus1ast | this is a websocket protocol |
15:29:47 | enthus1ast | ive build a stream ripper some month ago with it |
15:32:31 | Yardanico | can we just make that all internal compiler errors will just say "error: invalid syntax" without any info ? :D |
15:32:33 | Yardanico | https://github.com/nim-lang/Nim/issues/6533 |
15:33:40 | shashlick | @dom96 : thanks I'll look into it |
15:38:22 | * | kd joined #nim |
15:41:25 | kd | Hi all, is there any interest in using http://botbot.me/ for nim logs? Currently it's rather hard to search IRC history for specific content. |
15:42:01 | Yardanico | cc Araq, dom96 :) |
15:42:19 | Yardanico | well maybe one of the reason is that irclogs are written using Nim itself, but yeah, I like botbot.me a lot |
15:43:55 | Yardanico | probably we can have two logging services at the same time ? :) |
15:45:42 | kd | Of course it was written in Nim :D |
15:47:49 | FromGitter | <dom96> Is google not good enough? :) |
15:48:08 | Yardanico | dom96: honestly no :( |
15:48:13 | kd | I guess I could search gitter for history. |
15:48:26 | Yardanico | botbot is more lightweight than gitter btw |
15:48:29 | Yardanico | and it has some cool features |
15:48:36 | FromGitter | <dom96> Let's improve NimBot then :) |
15:48:42 | Yardanico | https://botbot.me/mozilla/rust-lang/help/ |
15:48:45 | FromGitter | <dom96> botbot will lose out on years of history |
15:49:03 | Yardanico | dom96: they're configuring every channel separately |
15:49:30 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:49:35 | FromGitter | <dom96> not sure what you mean by that |
15:49:39 | Yardanico | "We manually setup logging for each channel. This process takes time." |
15:49:48 | Yardanico | maybe we can talk with them so we can convert irclogs to their format |
15:49:52 | Yardanico | and they can import that |
15:49:58 | Yardanico | btw, it's open source (in go) https://github.com/botbotme |
15:50:08 | * | smt_ is now known as smt |
15:50:09 | FromGitter | <dom96> But seriously, have you guys tried using Google? https://www.google.co.uk/search?q=site%3Airclogs.nim-lang.org+wrapping+C%2B%2B&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&dcr=0&ei=nsnoWZKDDorSXrm5p9gH |
15:50:27 | FromGitter | <dom96> Go? Blasphemy |
15:50:44 | Yardanico | dom96: compare google with this: https://botbot.me/freenode/pypy/search/?q=wrapping+c%2B%2B |
15:50:58 | Yardanico | and you even get a nice timeline here |
15:51:24 | * | claudiuinberlin joined #nim |
15:51:59 | Yardanico | https://botbot.me/freenode/pypy/search/?q=Nim |
15:52:07 | Yardanico | spotted libman here :P |
15:53:10 | kd | With botbot.me you can click into the time on a search item, and jump into the conversation. Which has been handy for me in the past. |
15:54:17 | Yardanico | dom96: btw, does nimbot save backups of irc logs? |
15:54:28 | Yardanico | and are they available to download? |
15:54:45 | kd | I guess that's mainly because some conversations start at the end of a day and continue on the next day. |
15:54:56 | FromGitter | <dom96> what do you mean by backups? |
15:55:19 | Yardanico | well if something very bad would happen to digitalocean |
15:55:30 | Yardanico | do you have any backups so you can restore irc log history? |
15:55:43 | FromGitter | <dom96> well, I've got Digital Ocean backups :) |
15:55:45 | FromGitter | <dom96> but yes |
15:55:56 | FromGitter | <dom96> bbl |
15:55:59 | kd | Yardanico: do you know if botbot.me is free for setting up a channel? |
15:56:09 | Yardanico | kd, yes, it's free as you can see on their website |
15:56:17 | Yardanico | but you need to be an OP on the channel |
15:56:27 | Yardanico | https://botbot.me/request/ |
15:56:49 | * | Trustable joined #nim |
15:57:00 | Yardanico | maybe just rewrite botbot in Nim ? xD |
15:57:43 | kd | dom96: would you be opposed to having botbot.me in addition to the current nimbot irc logger? |
15:58:00 | Yardanico | yeah, that would be nice |
15:58:49 | * | ipjk joined #nim |
16:02:30 | * | kd quit (Ping timeout: 260 seconds) |
16:02:57 | FromGitter | <Varriount> Why would we need two irc loggers? |
16:03:29 | Yardanico | Varriount: well, botbot.me is (IMO) better than irclogs.nim-lang.org |
16:04:25 | * | kd joined #nim |
16:06:28 | kd | I think this is akin to having gitter and IRC channels. Different people have different workflows, and some may just prefer using botbot.me for searching. |
16:07:37 | kd | The botbot.me one need not even be linked in IRC header, as long it is available for the people who want it to use. |
16:07:41 | kd | Thoughts? |
16:07:46 | * | Pisuke joined #nim |
16:07:50 | * | MyMind quit (Ping timeout: 252 seconds) |
16:07:51 | * | Jesin quit (Quit: Leaving) |
16:07:52 | Yardanico | botbot.me is actually *faster* than gitter |
16:08:09 | Yardanico | I mean website responsiveness :) |
16:10:21 | kd | I too like botbot.me a lot, based on use from at least two other projects. It's been really useful to scroll through history and hear what people's thoughts were. In fact, that's the first thing I looked for when I joined this channel. It'll be ideal if this chat history can be ported there as well, if botbot.me is going to be set up. |
16:11:07 | Yardanico | maybe we can convince Araq to start making a brand-new irc logs website with karax+ormin on next stream ? :) |
16:11:16 | Yardanico | !m |
16:13:20 | * | kd quit (Quit: Page closed) |
16:19:06 | FromGitter | <BigEpsilon> @Araq , updated the PR for c2nim https://github.com/nim-lang/c2nim/pull/113 , I think without it c2nim cannot be installed |
16:20:14 | Yardanico | (on devel) |
16:21:00 | * | Sembei joined #nim |
16:21:51 | * | Pisuke quit (Ping timeout: 248 seconds) |
16:22:42 | FromGitter | <BigEpsilon> Yes I missed that because I'm always on devel for nim and c2nim, they move fast |
16:32:56 | * | elrood joined #nim |
16:36:26 | livcd | when does the stream start ? |
16:36:50 | Yardanico | livcd, 19:00 UTC |
16:37:13 | livcd | ah few more hours to go :) |
16:37:21 | Yardanico | livcd, yeah |
16:37:45 | Yardanico | http://www.strawpoll.me/14163114/r 140 votes :) |
16:38:28 | dom96 | https://www.timeanddate.com/countdown/launch?iso=20171019T19&p0=%3A&msg=Araq%27s+livestream&font=cursive |
16:38:43 | Yardanico | lol |
16:38:58 | Yardanico | I like that font |
16:41:11 | Yardanico | should probably post to /r/programming in 10 minutes before stream starting :) |
16:41:16 | Yardanico | or when it starts :P |
16:41:31 | Yardanico | I want to see at least 30 on a viewer counter |
16:43:37 | enthus1ast | or a "autosozialiser" which does all that automatically |
16:45:42 | dom96 | Post it around 30 minutes before and give it a title similar to "Once this post is 30 minutes old, Nim's BDFL stream will start" |
16:45:48 | dom96 | Maybe you can word that better |
16:46:25 | * | dom96 wonder's if his stream will receive the same help |
16:46:33 | FromGitter | <cooldome> i |
17:05:18 | * | PMunch joined #nim |
17:18:57 | livcd | dom96: wow you work for FB :O |
17:20:26 | dom96 | Well, I interned there over the summer. |
17:20:37 | dom96 | Finishing my CS degree at the minute |
17:20:53 | dom96 | I will be going back to FB after I graduate though :) |
17:22:03 | livcd | so will Nim get some sweet FB $$$ ? |
17:22:04 | Yardanico | dom96, advertise nim for them lol :D |
17:22:09 | Yardanico | livcd, ecksdee |
17:23:15 | livcd | dom96: will you also doo a stream in polish ? |
17:23:28 | Yardanico | livcd, waaat?! |
17:23:33 | Yardanico | dom96 can speak polish? |
17:24:09 | dom96 | Of course, I'm Polish :) |
17:24:18 | Yardanico | I didn't knew about that one |
17:24:40 | Yardanico | that means we can sometimes understand each other because polish and russian are both slavic languages :P |
17:24:51 | dom96 | livcd: I don't think so, it would end up 60% English and 40% Polish because I know so little Polish words for comp sci. terminology. |
17:25:15 | ipjk | I thought you were Irish |
17:25:25 | livcd | citizen of the world |
17:25:34 | dom96 | Yardanico: Indeed. It's why I wrote "Na stole" that time you've written it in Cyrillic (it looked very similar to me) |
17:25:38 | Yardanico | I thought dom96 was from England :P |
17:26:10 | Yardanico | well I mean United Kingdom |
17:26:15 | livcd | Yardanico: there are lots of poles in england / uk lol |
17:26:30 | livcd | dom96: sure i hate the direct translations of comp sci terms anyway |
17:26:34 | dom96 | I've lived in Northern Ireland since 2005 :) |
17:26:43 | FromGitter | <zacharycarter> I'm a quarter polish and can speak 0 |
17:26:50 | FromGitter | <zacharycarter> :P |
17:26:55 | livcd | you are an american ? |
17:27:02 | FromGitter | <zacharycarter> aye |
17:27:11 | planetis[m] | about nimble: when installing a package at which commit does it clone the repo? |
17:27:13 | livcd | ah only an american would say "a quarter polish" lol |
17:27:20 | livcd | no offense :) |
17:27:25 | ipjk | Haha, yeah. Sounds so American. |
17:27:27 | Yardanico | planetis[m], usually at latest version tag |
17:27:27 | dom96 | planetis[m]: latest tagged version or HEAD if no tags exist. |
17:27:41 | Yardanico | you can also force-install HEAD |
17:27:48 | FromGitter | <zacharycarter> well you can't really say you're American if you're from America |
17:28:05 | FromGitter | <zacharycarter> because no one that lives in America is originally from America, unless you are a native American |
17:28:18 | planetis[m] | makes sense why I had a old bug thx |
17:28:39 | FromGitter | <mratsim> “old bug”, 2 weeks old ? ;) |
17:28:59 | ipjk | We got quite the mixes in Europe too, but we don't really mention those heritages. |
17:29:17 | planetis[m] | like 2 years old |
17:29:27 | livcd | zacharycarter: i thought native americans just got there earlier than white europeans :P |
17:29:28 | FromGitter | <mratsim> well everyone’s ancestors are supposedly coming from mesopotamia so ... |
17:29:28 | planetis[m] | actually |
17:29:37 | Yardanico | Africa |
17:29:47 | FromGitter | <zacharycarter> yeah I mean if you want to get technical |
17:29:48 | FromGitter | <zacharycarter> we're all African |
17:30:05 | livcd | i just wanted to be the pain in the ass european |
17:30:09 | FromGitter | <zacharycarter> :P |
17:30:36 | FromGitter | <zacharycarter> @dom96 I'm curious about this webdriver thing - is it similar to what selenium is? |
17:30:58 | dom96 | zacharycarter: sure, it's basically a lower level selenium I guess. |
17:31:11 | dom96 | It implements a new spec which is also called webdriver |
17:31:14 | FromGitter | <mratsim> oh, interesting |
17:31:22 | dom96 | Currently it seems that only Firefox supports it though |
17:31:28 | FromGitter | <zacharycarter> neat! right now I'm using - http://devexpress.github.io/testcafe/ - to write end to end tests for our product that launches next week |
17:31:35 | FromGitter | <zacharycarter> ahh okay |
17:32:01 | FromGitter | <mratsim> now we need a proxy list and randomly launch browsers obfuscated by that list and all growth hackers would love you |
17:32:22 | Yardanico | dom96, are you sure ChromeDriver doesn't implement it? |
17:32:39 | dom96 | Yardanico: I ran it in my stream, weren't you watching? :) |
17:32:47 | Yardanico | dom96, I was, but still |
17:34:41 | * | manjaro-kde5- joined #nim |
17:36:48 | dom96 | The protocol is similar but different https://youtu.be/583BwZ7uSro?list=PLm-fq5xBdPkrMuVkPWuho7XzszB6kJ2My&t=4779 |
17:37:01 | * | eldiz quit (Ping timeout: 240 seconds) |
17:37:25 | Yardanico | similar but different :) only programmers can understand |
17:42:02 | * | Trustable quit (Remote host closed the connection) |
17:43:32 | * | ehmry quit (Ping timeout: 252 seconds) |
17:43:41 | * | planetis[m] quit (Ping timeout: 246 seconds) |
17:43:48 | * | jivank[m] quit (Ping timeout: 240 seconds) |
17:43:50 | * | TheManiac quit (Ping timeout: 240 seconds) |
17:43:51 | * | unclechu quit (Ping timeout: 240 seconds) |
17:43:53 | * | mindB quit (Ping timeout: 240 seconds) |
17:43:53 | * | watzon quit (Ping timeout: 240 seconds) |
17:43:53 | * | MrAxilus[m] quit (Ping timeout: 240 seconds) |
17:43:58 | * | notdekka[m] quit (Ping timeout: 246 seconds) |
17:44:02 | * | byteflame quit (Ping timeout: 246 seconds) |
17:44:02 | * | shashlick quit (Ping timeout: 246 seconds) |
17:44:10 | * | Demos[m] quit (Ping timeout: 264 seconds) |
17:44:24 | * | hohlerde quit (Ping timeout: 255 seconds) |
17:44:24 | * | Jipok[m] quit (Ping timeout: 255 seconds) |
17:44:24 | * | dyce[m] quit (Ping timeout: 255 seconds) |
17:44:30 | Yardanico | why matrix disconnects all its client from time to time? |
17:44:35 | Yardanico | *clients |
17:44:44 | Yardanico | from IRC bridge |
17:44:46 | dom96 | The server that relays the messages must be dying |
17:46:32 | * | SunDwarf quit (Ping timeout: 260 seconds) |
17:47:07 | * | flyx quit (Ping timeout: 260 seconds) |
17:47:28 | * | abeaumont quit (Ping timeout: 240 seconds) |
17:48:50 | * | SunDwarf joined #nim |
17:48:56 | * | flyx joined #nim |
17:53:03 | shodan45 | http://devdocs.io/ is my new favorite site |
17:53:16 | shodan45 | (yes, it has nim!) |
17:53:28 | Yardanico | shodan45, we already know that :P |
17:53:35 | Yardanico | and their docs are not updated for 0.17.2 :( |
17:53:53 | shodan45 | aw I didn't notice that |
17:54:38 | livcd | ah i bought dash long time ago |
17:57:10 | shodan45 | Yardanico: just checked their code... it's written in ruby & actually scrapes sites to get its info |
17:57:20 | Yardanico | lol |
17:57:31 | Yardanico | not the cleanest solution I want to say |
17:57:49 | shodan45 | yeah, that wouldn't be my first approach |
17:58:05 | shodan45 | I'd never use ruby :P |
17:58:38 | livcd | so what would be your approach? |
18:00:09 | Yardanico | livcd, some languages actually have a nice doc generation - like nim |
18:00:12 | Yardanico | you can generate rst docs |
18:00:14 | Yardanico | or even json |
18:00:57 | livcd | Yardanico: ok but maybe they wanted a universal generic solution |
18:01:10 | Yardanico | livcd, it's not universal if you need to scrape websites |
18:01:21 | Yardanico | all websites are different too :) |
18:04:23 | shodan45 | livcd: I'd use a build system to download the actual source code of the docs & regenerate them to fit my needs |
18:06:54 | Yardanico | but yeah, devdocs is cool |
18:06:59 | Yardanico | found a great vscode extension for it |
18:07:12 | Yardanico | disable all other languages than nim + enabled night theme on devdocs = profit |
18:07:45 | livcd | Yardanico: oh i meant more like a generic approach how to get the feed of data |
18:10:08 | livcd | Yardanico: i guess i think of it as a path of least resistance |
18:10:58 | * | ipjk_ joined #nim |
18:13:11 | shodan45 | Yardanico: I set it up as a search provider in firefox, with a keyword. Now I can just type "dd foo" to search. |
18:13:30 | Yardanico | well it's better if you can search in docs while you're in your editor :) |
18:13:56 | livcd | does that work with devdocs ? |
18:14:24 | shodan45 | hm, true. I don't use a "browser editor" tho ;) |
18:14:25 | * | ipjk quit (Ping timeout: 248 seconds) |
18:14:44 | Yardanico | livcd, it generally works with any website where you can have a query request: "somefoowebsite.com/?q=searchhere" |
18:15:37 | livcd | Yardanico: i meant search while you are in your editor |
18:15:40 | dom96 | So YouTube exports look like shit: https://www.youtube.com/watch?v=UQ4RvUlXIDI |
18:15:57 | Yardanico | dom96, I can't even view it |
18:16:02 | dom96 | refresh |
18:16:14 | Yardanico | livcd, https://marketplace.visualstudio.com/items?itemName=akfish.vscode-devdocs |
18:16:28 | Yardanico | dom96, and what is shit here ? :) |
18:16:40 | dom96 | It's 360p! |
18:16:42 | livcd | Yardanico: ah like this ok |
18:16:44 | Yardanico | dom96, no |
18:16:48 | livcd | dom96: it's okay for me |
18:16:50 | Yardanico | it's already 720p |
18:16:51 | dom96 | oh |
18:16:55 | Yardanico | dom96, did you never use youtube? |
18:16:57 | dom96 | what |
18:17:03 | Yardanico | it doesn't do 720p right away |
18:17:21 | Yardanico | it takes some time to youtube to process higher quality versions |
18:17:46 | dom96 | Glad it's fine. |
18:17:52 | livcd | yup it just takes some time :) |
18:18:27 | livcd | but i bet it's gonna be very slow in Oceania/Korea |
18:18:30 | Yardanico | livcd, I've just added a keyboard shortcut (ctrl + f1) to devdocs.search action |
18:18:46 | dom96 | I guess I never looked at it so quickly :) |
18:18:58 | livcd | Yardanico: now i regret buying dash :) |
18:19:06 | Yardanico | so I press ctrl+f1, type something, and devdocs sends me right away to the interesting place |
18:19:07 | Yardanico | e.g. |
18:19:14 | Yardanico | i type parsecfg - devdocs opens parsecfg docs |
18:19:26 | livcd | Yardanico: but there's no offline mode is it ? |
18:19:30 | Yardanico | livcd, there is |
18:19:50 | ipjk_ | There's an open-source dash-clone |
18:19:58 | Yardanico | livcd, you can install offline data of the languages you want |
18:20:05 | livcd | ok stop |
18:20:09 | Yardanico | :D |
18:20:14 | livcd | dont make me regret it even more :P |
18:21:35 | livcd | there's no Nim in dash eh |
18:21:39 | livcd | only crystal :) |
18:21:59 | ipjk_ | https://github.com/zealdocs/zeal |
18:23:12 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
18:23:22 | livcd | ipjk_: ah it uses dash's docsets |
18:23:31 | Yardanico | I'll post a comment at devdocs trello board so they will update nim docs |
18:23:57 | livcd | actually i saw a hnews post about these today |
18:24:06 | livcd | (or similar) |
18:27:12 | dom96 | Cool. I can trim videos on YouTube |
18:32:21 | Yardanico | Araq, are you preparing to your stream ? :) |
18:32:42 | Yardanico | guys, can you post to /r/programming when Araq starts streaming ? :D |
18:33:40 | livcd | i do not have an account :S |
18:34:09 | Yardanico | well |
18:34:15 | Yardanico | we need to make a good title for it |
18:35:02 | * | gokr joined #nim |
18:37:42 | PMunch | I can do it :) |
18:37:52 | Yardanico | PMunch, do it! |
18:37:55 | Yardanico | but not now |
18:38:00 | Yardanico | only when araq starts streaming |
18:38:13 | Yardanico | I'll immediatly get a notification when he starts streaming |
18:38:24 | PMunch | Any title ideas+ |
18:38:27 | dom96 | Yardanico: Why don't you do it? |
18:38:28 | PMunch | s/+/? |
18:38:34 | Yardanico | dom96, I can't think of a good title for it :P |
18:38:49 | PMunch | Haha, we can brainstorm a title together |
18:39:13 | PMunch | It was destructors that became the theme right? |
18:39:25 | Yardanico | PMunch, yeah |
18:39:28 | * | miran joined #nim |
18:39:40 | Yardanico | it was the favourite in a poll timeline |
18:39:50 | Yardanico | http://www.strawpoll.me/14163114 |
18:39:57 | Yardanico | http://www.strawpoll.me/14163114/r |
18:40:10 | dom96 | What if I were to now use Tor to cheat the poll? :P |
18:40:42 | Yardanico | dom96, araq has already decided it I think |
18:40:53 | Yardanico | and yeah, I 100% bet there are tools to cheat on strawpoll |
18:40:59 | PMunch | How about "Nim compiler development - Implementing destructors" |
18:41:12 | PMunch | Maybe add a [Stream] on the front |
18:41:21 | Yardanico | probably [Twitch] ? |
18:41:29 | PMunch | Yeah, or that |
18:41:39 | Yardanico | and not implementing |
18:41:43 | Yardanico | maybe "improving" |
18:41:44 | dom96 | Maybe add "(starts at 19:00 UTC)" |
18:42:03 | Yardanico | PMunch, yeah, you can post now *maybe* |
18:42:18 | Yardanico | but we'll need to get 10-15 upvotes to have it on top |
18:42:20 | Yardanico | so people can see it |
18:42:59 | PMunch | Is it really an improvement though? More like a new feature |
18:43:09 | Yardanico | ah, yes |
18:43:11 | dom96 | I'll try to post it to HN but I doubt it will get any traction |
18:43:16 | dom96 | Couldn't hurt to try though right? |
18:43:19 | Yardanico | dom96, yep |
18:43:26 | Yardanico | PMunch, it generally allows to have GC-less objects |
18:43:30 | Yardanico | such as strings and sequences |
18:43:38 | PMunch | [Twitch] Nim language development - Implementing destructors |
18:43:45 | Yardanico | hmmm |
18:44:05 | Yardanico | I don't really like "implementing" again, because araq has already made them |
18:44:05 | dom96 | I will post when it starts though |
18:44:07 | Yardanico | they already work |
18:44:08 | miran | stream announcement might not be good enoguh theme for HN |
18:44:20 | Yardanico | maybe "working on destructors" |
18:44:25 | Yardanico | maybe "working on new destructors" |
18:44:53 | PMunch | Well, destructors aren't part of the language yet |
18:45:05 | dom96 | "Implementing" is fine IMO |
18:45:29 | Yardanico | PMunch, you can access new destructors with --newruntime :P |
18:45:30 | PMunch | So it's about implementing a new feature. Doesn't matter if it's half-way implemented already |
18:45:35 | Yardanico | ok |
18:45:52 | PMunch | On the development branch only, no? |
18:45:54 | Arrrr | Is Araq streaming? |
18:46:00 | Yardanico | not yet |
18:46:02 | Yardanico | PMunch, yes |
18:46:04 | Yardanico | as usual :P |
18:46:10 | * | ipjk__ joined #nim |
18:46:24 | * | ipjk__ quit (Client Quit) |
18:46:29 | PMunch | So "[Twitch] Nim language development - Implementing destructors" it is then? |
18:46:36 | Yardanico | yep |
18:46:39 | Yardanico | post it now probably |
18:47:00 | PMunch | URL? |
18:47:13 | Yardanico | PMunch, twitch.tv/araq4k |
18:47:36 | Yardanico | well I don't think Araq will turn stream on exactly at 19:00 UTC |
18:48:10 | PMunch | "[Twitch] Nim language development - Implementing destructors (starts at ~19:00 UTC)" |
18:48:33 | Yardanico | a bit too long :P |
18:48:41 | Yardanico | but probably fine |
18:48:52 | Yardanico | yeah |
18:48:55 | Yardanico | there are titles like "Mozilla brings Microsoft, Google, the W3C, Samsung together to create cross-browser documentation on MDN (" |
18:49:15 | * | derlafff quit (Remote host closed the connection) |
18:49:21 | Arrrr | foo bar |
18:49:38 | * | ipjk_ quit (Ping timeout: 255 seconds) |
18:49:47 | Arrrr | i see a bridge. How hard is to configure a bot in twitch? |
18:49:47 | Yardanico | Arrrr, are you testing twitch-irc bridge? |
18:49:53 | Yardanico | Arrrr, pretty easy |
18:49:56 | Yardanico | it's just IRC |
18:50:03 | Yardanico | Arrrr, https://github.com/Yardanico/twitchrelay |
18:50:14 | Yardanico | I'm running this at my VPS currently |
18:50:14 | PMunch | Should I post it now? Are people ready to upvote? :P |
18:50:18 | Yardanico | PMunch, yeah |
18:51:25 | PMunch | https://www.reddit.com/r/programming/comments/77gjs2/twitch_nim_language_development_implementing/ |
18:51:53 | Yardanico | Araq, are you around ? :) |
18:52:18 | Arrrr | I don't think streams are well received in r/programming |
18:52:25 | Yardanico | Arrrr, we can try :P |
18:52:29 | miran | +1 |
18:53:34 | FromTwitch | <kobi2187> Hi |
18:53:42 | Arrrr | Instead of "FromIRC" i would name the bot "#nim" if that's possible |
18:53:51 | Yardanico | Arrrr, I don't think that's possible |
18:53:55 | FromTwitch | <kobi2187> will we get to see how to destroy nim properly? :-) |
18:54:06 | Yardanico | Arrrr, I'll change it to FromIRC[nim] in the future |
18:54:18 | Yardanico | so in irc you would for example see FromTwitch[araq4k] |
18:54:21 | Arrrr | The name is too long in my opinion, that's the issue |
18:54:28 | PMunch | kobi2187 haha, not quite |
18:54:33 | miran | too long, agreed |
18:54:48 | Yardanico | need to register new twitch account, fast :P |
18:54:57 | Yardanico | what nickname would you recommend guyS? |
18:55:13 | dom96 | "IRC" :P |
18:55:47 | miran | nimIRC |
18:55:57 | Yardanico | ok |
18:55:59 | Yardanico | 1 char less |
18:55:59 | Yardanico | lol |
18:56:04 | dom96 | IMO FromIRC is fine |
18:56:08 | dom96 | to be honest |
18:56:10 | Arrrr | FreeNode |
18:56:13 | * | claudiuinberlin joined #nim |
18:57:09 | miran | couple of characters less than FromIRC[nim] ;) |
18:57:22 | Yardanico | miran, it's FromIRC |
18:57:30 | Yardanico | I didn't do FromIRC[nim] thing yet |
18:57:35 | * | TjYoco quit (Ping timeout: 248 seconds) |
18:57:38 | Yardanico | it would only be needed for multi-channel setup |
18:58:16 | Yardanico | upvote pls https://www.reddit.com/r/programming/comments/77gjs2/twitch_nim_language_development_implementing/ |
18:58:20 | oprypin | relaying chat from Twitch? what could possibly go wrong |
18:58:20 | Yardanico | this post |
18:58:30 | Yardanico | oprypin, xD |
18:58:37 | PMunch | oprypin, it's an experiment :) |
18:58:40 | Yardanico | I can change it to relay to #nim-offtopic quickly |
18:58:46 | Yardanico | and yeah, it's an experiment |
18:58:49 | Yardanico | or disable it at all |
18:58:54 | Arrrr | There is a similar bridge with gitter |
18:59:00 | Yardanico | FromGitter, |
18:59:01 | FromGitter | Yardanico, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim |
18:59:10 | Yardanico | I should add a thing like that to my bot too |
18:59:39 | dom96 | Yardanico: nah, leave it here |
18:59:41 | dom96 | It's fine |
18:59:49 | Yardanico | dom96, well, I don't say "now" |
18:59:52 | Yardanico | in the future :P |
19:00:08 | dom96 | ahh, cool |
19:00:16 | Yardanico | YAY |
19:00:18 | Yardanico | araq has started! |
19:00:25 | FromTwitch | <kobi2187> yep |
19:00:54 | FromTwitch | <yardanico> Hi Araq! |
19:01:09 | miran | zoom in please, as usual :) |
19:02:19 | FromTwitch | <d0m96> where did the chat go from the screen? |
19:02:35 | FromTwitch | <yardanico> it's there |
19:02:35 | FromTwitch | <d0m96> oh, it's not persistent :\ |
19:04:11 | Arrrr | Mmm interesting https://github.com/streamlink/streamlink |
19:04:32 | miran | Araq: please zoom in a bit for us to better see the code |
19:05:41 | FromTwitch | <d0m96> zoom in! FlipThis |
19:08:22 | * | TjYoco joined #nim |
19:08:45 | Yardanico | 30 viewers! :) |
19:10:07 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
19:10:19 | * | miran quit (Quit: Leaving) |
19:10:39 | * | miran joined #nim |
19:15:20 | Arrrr | For those wondering what's going on, twitch.tv/araq4k |
19:16:08 | * | ipjk joined #nim |
19:24:23 | * | Arrrr quit (Read error: Connection reset by peer) |
19:25:20 | PMunch | The blinking HexChat icon is a bit annoying.. |
19:25:36 | PMunch | He says, typing into the very thing that makes it blink :P |
19:25:43 | FromTwitch | <d0m96> Glad I'm not the only one... :) |
19:26:06 | FromTwitch | <d0m96> I wouldn't be able to concentrate with that blinking constantly. |
19:26:39 | PMunch | Araq seems to have more trouble concentrating when we talk |
19:27:05 | miran | congrats on mentioning him and make blinking start again :D |
19:29:01 | * | derlafff joined #nim |
19:31:39 | * | claudiuinberlin joined #nim |
19:34:46 | FromTwitch | <yardanico> because of grow? |
19:36:56 | FromTwitch | <cooldome> template createSeq? |
19:39:22 | FromTwitch | <d0m96> Sorry for the distraction. But Araq, in the future you should add your stream to the programming twitch community. |
19:40:13 | FromGitter | <mratsim> “creative" |
19:40:57 | FromTwitch | <pmunche> Yardanico, this IRC -> Twitch bot is working pretty well :) |
19:41:04 | * | miran quit (Quit: Leaving) |
19:41:05 | Yardanico | yeah, it seems so :) |
19:41:32 | FromTwitch | <yardanico> BTW, it's RAM usage is only ~8mb (compiled in debug mode) |
19:42:00 | PMunch | Nice |
19:42:12 | PMunch | Not that I would expect it to be very high :P |
19:42:14 | FromTwitch | <d0m96> Yep, Nim is awesome. Now we just need to rewrite FromGitter in Nim ;) |
19:42:17 | PMunch | It's just piping text back and forth |
19:42:19 | FromTwitch | <karyoten> Well it's not an Electron app ;) |
19:42:36 | PMunch | d0m96, it's not in Nim :o |
19:42:54 | PMunch | How is it even allowed in this channel! Blasphemy! |
19:43:25 | FromTwitch | <hcorion> heyy |
19:43:28 | FromTwitch | <karyoten> we need to call destructors on the bot? |
19:43:31 | FromTwitch | <hcorion> my first nim livestream |
19:43:45 | FromTwitch | <yardanico> @KaryoTen we need to destruct ALL the unneeded variables! |
19:43:45 | FromTwitch | <karyoten> aka "move or sink" |
19:43:51 | PMunch | hcorion, welcome! |
19:43:56 | FromTwitch | <karyoten> (by the way it's mratsim) |
19:44:29 | PMunch | Yardanico, you should add a register username mapping function to the bot :P |
19:44:58 | FromTwitch | <d0m96> Crashing the compiler: h3h3Triggered1 h3h3Triggered2 h3h3Triggered3 |
19:46:04 | PMunch | You and your fancy emoticons d0m96 |
19:46:07 | FromTwitch | <karyoten> This is magic |
19:46:18 | * | abeaumont joined #nim |
19:46:30 | FromTwitch | <yardanico> this is our future! |
19:47:04 | FromTwitch | <d0m96> Yardanico, you submitted Araq's blog post but not his stream to r/nim? h3h3Oppression |
19:47:11 | FromTwitch | <yardanico> oh |
19:47:50 | FromTwitch | <pmunche> Yeah that should probably also be cross-posted :P |
19:48:08 | FromTwitch | <pmunche> I think we just assumed that the entire Nim community reads IRC/Gitter |
19:49:28 | FromGitter | <mratsim> In the blog post: "Return values are harmful" —> “Return values considered harmful" |
19:50:39 | PMunch | indices |
19:50:41 | FromTwitch | <d0m96> indices |
19:50:53 | * | derlafff quit (Remote host closed the connection) |
19:50:56 | FromTwitch | <kobi2187> nobody knows .. indices is really fine |
19:52:17 | * | derlafff joined #nim |
19:54:27 | FromTwitch | <kobi2187> you can use Ctrl+G to jump to lines in vscode |
19:59:03 | * | derlafff quit (Remote host closed the connection) |
19:59:04 | * | der joined #nim |
20:09:23 | * | derlafff joined #nim |
20:09:49 | skrylar | considering harmful considered harmful |
20:09:54 | * | der quit (Ping timeout: 246 seconds) |
20:10:14 | Yardanico | skrylar, are you watching the stream ? :) |
20:10:23 | skrylar | no |
20:10:48 | PMunch | Hmm, in Karax how do I get the selectedIndex from a select element? |
20:11:06 | Yardanico | PMunch, that's when real issues with this bot pop up :P |
20:11:13 | PMunch | Yeah.. |
20:11:43 | PMunch | I think having a separate room #nim-twitch or something could work |
20:14:24 | * | derlafff quit (Remote host closed the connection) |
20:16:12 | * | derlafff joined #nim |
20:19:49 | skrylar | pondering how well training a machine using constraint logic works |
20:20:05 | skrylar | ex. i don't know what the interim means, i only know that "dog is dead" == "dog is not alive" |
20:20:23 | * | Vladar quit (Remote host closed the connection) |
20:23:10 | FromGitter | <mratsim> there’s a question about Nim RAII in /r/programming: https://www.reddit.com/r/programming/comments/77gjs2/twitch_nim_language_development_implementing/ |
20:26:38 | FromTwitch | <d0m96> I think Araq should answer the question. |
20:26:39 | * | nsf joined #nim |
20:26:45 | FromTwitch | <d0m96> Araq: A reddit user asked "Does Nim not have RAII?" |
20:27:18 | FromTwitch | <d0m96> bah |
20:27:20 | crem | It doesn't! |
20:27:24 | Yardanico | it does |
20:27:26 | crem | I even heard a reason. |
20:27:43 | crem | Last time I asked, it didn't. |
20:27:46 | Yardanico | crem, there are destructors already |
20:27:53 | Yardanico | so it's *kinda* like RAII |
20:28:04 | Yardanico | Araq, will you have a topic about opt[] on your next stream? |
20:28:09 | Yardanico | anyway, good stream! |
20:28:12 | crem | Wow, destructors is a nice step towards constructors! |
20:28:28 | Yardanico | crem, they was there like 2 years ago |
20:28:33 | Yardanico | and no, there wouldn't be constructors |
20:28:50 | * | FromTwitch quit (Remote host closed the connection) |
20:28:53 | Yardanico | goodbye twitch bot |
20:28:55 | FromGitter | <mratsim> https://forum.nim-lang.org/t/362/1 |
20:30:25 | Yardanico | crem, did you watch the stream? |
20:30:30 | crem | nope |
20:30:37 | crem | I will |
20:30:52 | Yardanico | it's already ended :P |
20:30:56 | Yardanico | only a recording |
20:31:16 | crem | that's good enough, I can watch it at 2x speed then. |
20:32:10 | Yardanico | top viewer count for Araq's stream was ~42-45 |
20:32:13 | Yardanico | (today) |
20:32:14 | crem | But is it possible to implement a scoped mutex, or scoped file access, so that file is closed even if you forget to write "defer file.close()" ? |
20:32:34 | Yardanico | crem, are you talking about a python-like with statement ? :) |
20:32:51 | crem | I'm talking about C++ RAII |
20:32:55 | crem | But yes, kind of |
20:33:09 | Yardanico | well, for python "with" you can (guess what? :D) create a simple macro |
20:33:25 | Yardanico | crem, you can always ask all your questions on the forum |
20:33:53 | crem | What I like about C++'s RAII is that standard lib also is implemented with it in mind. |
20:34:40 | Yardanico | crem, you can read about new destructor stuff here: https://nim-lang.org/araq/destructors.html |
20:34:42 | crem | And I didn't mean to ask, I just tried to understand what "there is RAII in nim" means. Because few months ago I was told that there was no, and was convinced that that's fine. |
20:34:53 | Yardanico | well this blog post is not only about destructors |
20:35:38 | crem | How can I know whether that's something new or not when there's no date of the post.. |
20:35:45 | Yardanico | it's from today |
20:35:49 | Yardanico | and there's a date |
20:35:49 | crem | ah |
20:35:54 | Yardanico | crem, Generated: 2017-10-19 00:43:05 UTC |
20:35:55 | Yardanico | at the bottom |
20:36:04 | crem | I though "generated" is something from cron job. |
20:36:09 | crem | and updated regularly |
20:36:30 | Yardanico | noo |
20:36:32 | Yardanico | it's from nim |
20:37:44 | crem | I think it should be "emitted" rather than "generated" as probably Araq emits articles rather than generates them.. Um, hard to say. Yes, may be generated is actually better word. |
20:37:58 | crem | Does nim compiler emit or generate C code?.. |
20:37:58 | Yardanico | crem, well he uses nim doc engine probably |
20:38:01 | ipjk | or just posted. |
20:38:05 | Yardanico | crem, stop pls |
20:38:38 | Yardanico | crem, it writes C code :D |
20:39:00 | ipjk | no, please. it barfs out C. |
20:39:02 | Araq | watching at 2x the speed is probably a good idea :D |
20:39:38 | Yardanico | Araq, let me guess... next stream's topic will be "opt" type ? :) |
20:39:39 | PMunch | Haha on Araqs blog - Barfed out: 2017-10-19 00:43:05 UTC |
20:39:45 | Yardanico | or karax * ormin |
20:39:48 | Yardanico | PMunch, XD |
20:40:00 | ipjk | PMunch: I like that! |
20:40:02 | FromGitter | <BontaVlad> I voted karax |
20:40:08 | FromGitter | <BontaVlad> more close to "home" |
20:40:13 | PMunch | But I'm off to bed now. Nice stream Araq by the way! |
20:40:17 | Yardanico | BontaVlad: well we will have another poll for next stream |
20:40:27 | Yardanico | Araq probably would post another poll today or tomorrow |
20:40:40 | Yardanico | so all of us can vote |
20:41:13 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
20:41:18 | FromGitter | <BontaVlad> great, thx for the streams, Araq and Dom :) |
20:41:27 | PMunch | Did some more work on genui today as well, got edit types with selections (think comboboxes). Hopefully tomorrow I will get around to the custom type UI generation, then it's finally time for the DSL :) |
20:41:37 | Yardanico | PMunch, yay |
20:41:39 | dom96 | I'll post a poll for my next stream soon |
20:41:44 | Yardanico | dom96, ok |
20:41:59 | Yardanico | dom96, don't forget to post it on nim forum/nim reddit |
20:42:02 | Yardanico | and in IRC |
20:42:12 | livcd | did the stream end ? i feel asleep..too tired |
20:42:16 | livcd | i fell* |
20:42:25 | Yardanico | livcd, yeah |
20:42:34 | Yardanico | it was ~90 minutes long |
20:42:42 | Yardanico | because destructors are a very complicated topic |
20:42:53 | PMunch | Yardanico, did you see the proposal for the DSL by the way? I'd be happy if you gave some input on it. Not sure if it makes sense at all or if I should do something more like "Edit(variable = a, options = myList)" |
20:42:59 | Yardanico | I finally understood this from Araq's live stream |
20:43:03 | livcd | ah i will watch it at work when it will be up on twitch |
20:43:18 | Yardanico | livcd, it won't be on twitch, it will be on youtube |
20:43:25 | crem | Was it on dom96's youtube channel? |
20:43:29 | Yardanico | crem, no |
20:43:45 | Yardanico | crem, https://www.youtube.com/channel/UCAIXKsgiEkRjwlNgduABgmw |
20:43:53 | livcd | Yardanico: ah ok |
20:44:17 | dom96 | PMunch: can you link the proposal again? |
20:44:25 | crem | There's nothing from today on that channel. |
20:44:51 | Yardanico | crem, yes |
20:44:57 | Yardanico | crem, araq has just finished |
20:45:02 | PMunch | dom96, https://github.com/PMunch/genui/issues/1 |
20:45:10 | crem | And also probably some channel modes are off, so there's no "uploads" page.. |
20:45:15 | crem | So, will recording appear later? |
20:45:20 | Yardanico | crem, yes |
20:45:29 | Araq | crem, gonna upload it tomorrow |
20:45:31 | Yardanico | Araq always needs to cut some small parts from the stream |
20:45:32 | PMunch | I think that might be a bit too complex though.. Lot's of things that aren't really explained |
20:45:40 | PMunch | But as I said, I'm off to bed |
20:45:58 | livcd | gn i cant stake awake |
20:46:01 | livcd | stay* |
20:46:08 | PMunch | Leave a memo with MemoServ or a comment on the issue if any of you have input :) |
20:46:11 | dom96 | You can export via Twitch (but you need to enable Twitch archives) and then cut via YouTube's editor |
20:46:32 | * | PMunch quit (Quit: leaving) |
20:50:41 | * | JappleAck quit (Ping timeout: 248 seconds) |
20:51:34 | dom96 | Okay, let's go for this: http://www.strawpoll.me/14185591 |
20:52:13 | Araq | guess who voted already |
20:52:16 | Araq | and for what |
20:53:55 | dom96 | :) |
20:54:16 | FromGitter | <zetashift> Voted for stdlib bugs too whoop whoop |
20:54:56 | * | UxerUospr quit (Quit: leaving) |
20:57:18 | * | manjaro-kde5- quit (Remote host closed the connection) |
20:59:15 | * | ryanhowe_ quit (Read error: Connection reset by peer) |
20:59:22 | * | elrood quit (Quit: Leaving) |
20:59:25 | * | sleepyqt quit (Quit: WeeChat 1.9.1) |
20:59:42 | * | ryanhowe_ joined #nim |
20:59:54 | Yardanico | I've voted for IRC user list :P |
21:00:05 | Yardanico | because it's useful for me |
21:00:44 | crem | Who needs stdlib when you cannot even see replay of snake's high score? |
21:00:49 | dom96 | damn it, Araq set the trend |
21:00:53 | Yardanico | dom96, yep |
21:00:55 | Yardanico | :DDDD |
21:01:00 | dom96 | crem: I know, right? |
21:01:08 | Yardanico | dom96, sooo.. no going back :D |
21:02:04 | crem | I did play snake, got around 120. High score there is ~500, must be superchallenging, so fun to watch. |
21:02:11 | Yardanico | crem, or a bot |
21:02:22 | Yardanico | crem, (I'm about highscore) |
21:02:33 | crem | yeah, I thought about writing a bot in python too.. |
21:03:12 | Yardanico | crem, why python though? :) bot for game, written in nim, written in nim |
21:03:14 | Yardanico | *for the |
21:03:30 | Yardanico | we have all needed libraries (only websockets is needed lul) |
21:03:37 | crem | I'm pretty sure that it would take less time for me to write it in python. |
21:03:43 | * | JappleAck joined #nim |
21:04:24 | Yardanico | dom96, no one have votes for jester yet :P |
21:04:25 | Yardanico | lol |
21:04:58 | crem | If I knew what jester was.. |
21:05:54 | gokr | crem: https://github.com/dom96/jester |
21:06:02 | crem | Does that strawpoll support Schulze method? |
21:06:02 | crem | Seems no.. |
21:06:08 | Yardanico | schulze? |
21:06:30 | crem | Yeah, it's more fair than majority vote. |
21:06:35 | Yardanico | how? |
21:06:40 | dom96 | Do you guys have Araq's YT link handy? |
21:06:43 | Yardanico | dom96, yep |
21:07:00 | Yardanico | dom96, lol |
21:07:01 | Yardanico | https://www.reddit.com/r/nim/comments/77hd29/what_should_d0m96_work_on_in_his_next_nim/ |
21:07:10 | crem | Yardanico: https://modernballots.com/ see two diagrams on top. |
21:07:20 | dom96 | :D |
21:07:25 | dom96 | Yardanico: Can you give me the link...? |
21:07:29 | Yardanico | yes |
21:07:35 | Yardanico | one sec |
21:07:46 | Yardanico | dom96, https://www.youtube.com/channel/UCAIXKsgiEkRjwlNgduABgmw |
21:07:54 | crem | Easy to remember. |
21:08:33 | Yardanico | crem, but it's easier for people to vote if they only have 1 choice |
21:08:40 | Yardanico | and they don't need to put stars or stuff like that |
21:11:03 | Yardanico | we're not electing our new BDFL (because we'll never do that :D), so strawpoll is enough for polls like that :P |
21:11:10 | * | derlafff quit (Remote host closed the connection) |
21:13:13 | crem | I didn't suggest you to use that, only checked whether strawpoll supported it because it looked nice. |
21:13:28 | Yardanico | crem, well it's a very simple service |
21:16:56 | * | derlafff joined #nim |
21:21:30 | FromGitter | <zacharycarter> coming soon : https://www.patreon.com/zacharycarter |
21:23:29 | FromGitter | <zacharycarter> along w/ livestreams |
21:24:54 | * | TjYoco quit (Ping timeout: 255 seconds) |
21:27:26 | * | dhalinar joined #nim |
21:32:03 | Yardanico | so you see how one idea can actually attract many people |
21:32:17 | Yardanico | dom did a livestream about nim programming |
21:32:19 | Yardanico | araq did that |
21:32:25 | Yardanico | and now zacharycarter is doing that |
21:32:34 | Yardanico | (but I did that before everyone else, haha) |
21:34:27 | FromGitter | <zacharycarter> :P |
21:34:29 | FromGitter | <zacharycarter> I'm going to do 3d modeling too |
21:34:34 | FromGitter | <zacharycarter> along with Nim game programming |
21:34:37 | Yardanico | I was streaming on liveedu in the spring (in april) |
21:34:48 | Yardanico | but I'm afraid to use my mic |
21:36:13 | Yardanico | 'cause my english speaking (I mean talking and pronuncation) skills kinda suck |
21:36:14 | FromGitter | <zetashift> @zacharycarter in Modo? |
21:39:29 | * | TjYoco joined #nim |
21:45:30 | dom96 | Soon we'll need a "Current Livestreams" section on nim-lang.org :D |
21:46:38 | FromGitter | <zacharycarter> @zetashift yup! |
21:52:58 | * | nsf quit (Quit: WeeChat 1.9) |
21:55:44 | FromGitter | <zetashift> sweet |
21:58:51 | * | Jipok[m] joined #nim |
22:09:15 | * | mindB joined #nim |
22:09:15 | * | MrAxilus[m] joined #nim |
22:09:15 | * | dyce[m] joined #nim |
22:09:15 | * | unclechu joined #nim |
22:09:15 | * | byteflame joined #nim |
22:09:15 | * | Demos[m] joined #nim |
22:09:15 | * | ehmry joined #nim |
22:09:16 | * | watzon joined #nim |
22:09:22 | * | shashlick joined #nim |
22:09:22 | * | TheManiac joined #nim |
22:09:22 | * | notdekka[m] joined #nim |
22:09:22 | * | planetis[m] joined #nim |
22:09:23 | * | jivank[m] joined #nim |
22:09:23 | * | hohlerde joined #nim |
22:09:57 | Yardanico | yay |
22:10:02 | Yardanico | matrix is back :P |
22:16:57 | * | JappleAck quit (Ping timeout: 246 seconds) |
22:23:44 | Demos[m] | glad to see another user |
22:23:54 | Demos[m] | someone should write a matrix client in nim! |
22:24:00 | * | Viktor quit (Ping timeout: 260 seconds) |
22:24:07 | Yardanico | Demos[m], I'm not a matrix user |
22:24:22 | Yardanico | just saw today a whole bunch of matrix clients disconnected |
22:24:29 | Yardanico | and now you all connected |
22:24:35 | Yardanico | wtf is happening with your irc-matrix bridge? |
22:24:50 | FromGitter | <zacharycarter> wut is matrix? |
22:25:01 | Demos[m] | lol |
22:30:50 | * | TjYoco quit (Quit: Leaving) |
22:31:23 | federico3 | irc-matrix bridge? Freenode and matrix are already federated |
22:33:16 | * | JappleAck joined #nim |
22:33:45 | * | gokr quit (Ping timeout: 246 seconds) |
22:38:17 | Yardanico | federico3, well yeah, what's that I mean |
22:38:25 | Yardanico | federico3, but it's still techically a bridge |
22:55:53 | * | Yardanico quit (Remote host closed the connection) |
23:11:44 | * | libman joined #nim |
23:33:22 | * | arnetheduck quit (Ping timeout: 264 seconds) |
23:36:50 | * | vlad1777d quit (Ping timeout: 246 seconds) |
23:43:41 | * | gmpreussner quit (Quit: kthxbye) |
23:49:07 | * | Jesin joined #nim |
23:50:44 | * | gmpreussner joined #nim |
23:51:01 | * | Nobabs27 joined #nim |
23:51:58 | * | guelosk joined #nim |
23:58:19 | * | gmpreussner quit (Quit: kthxbye) |