00:01:27 | * | astronavt joined #nim |
00:02:29 | * | NimrodBot joined #nim |
00:02:37 | * | NimrodBot quit (Remote host closed the connection) |
00:06:07 | * | astronavt quit (Ping timeout: 258 seconds) |
00:19:25 | * | xkapastel quit (Quit: Connection closed for inactivity) |
00:20:54 | * | skoude joined #nim |
00:22:57 | * | rbrt quit (Ping timeout: 240 seconds) |
00:23:11 | * | rbrt joined #nim |
00:25:05 | * | skoude quit (Ping timeout: 248 seconds) |
00:39:44 | FromGitter | <barcharcraz> tryina add nim support to meson |
00:40:14 | FromGitter | <barcharcraz> got basic stuff running, although I treat it as a non-clike compiler when I should treat it as clike and pass c options through |
00:41:15 | * | Vladar quit (Quit: Leaving) |
00:55:23 | FromGitter | <zacharycarter> anyone else doing LD tonight? |
00:57:30 | ftsf | yep yep! |
00:58:06 | * | rbrt quit (Quit: Oíche mhaith) |
00:59:03 | FromGitter | <zacharycarter> sweet! |
00:59:09 | FromGitter | <zacharycarter> solo? |
00:59:15 | ftsf | yeah |
00:59:33 | FromGitter | <zacharycarter> nice |
01:00:08 | ftsf | just fixing up my framework's audio on JS |
01:00:15 | * | rbrt joined #nim |
01:00:31 | ftsf | being able to submit a web version makes it heaps easier for people to play during judging |
01:00:56 | ftsf | in previous LDs i've done web as an after thing, but gonna try and make sure it works there from the outset this time |
01:01:16 | FromGitter | <zacharycarter> yeah we'll probably do a wasm build |
01:01:35 | FromGitter | <zacharycarter> I haven't really put any work on sound into zengine |
01:01:47 | ftsf | ann can do wasm for nim now? |
01:02:11 | * | astronavt joined #nim |
01:02:14 | FromGitter | <zacharycarter> yeah I got wasm working with my engine a few months ago |
01:02:54 | * | rbrt quit (Client Quit) |
01:02:59 | ftsf | nice |
01:03:06 | FromGitter | <zetashift> I'm staying up all for the LD |
01:03:10 | FromGitter | <zetashift> not sure if this is smart |
01:03:15 | FromGitter | <zacharycarter> nah get sleep |
01:03:25 | FromGitter | <zacharycarter> your brain works better with rest |
01:03:29 | ftsf | for me it starts at 1pm |
01:03:37 | ftsf | ends at 1pm monday |
01:03:38 | FromGitter | <zacharycarter> pretty convenient :P |
01:03:57 | FromGitter | <zetashift> my brain never works hehe but it's I'll probably fall asleep soon anyway |
01:03:58 | FromGitter | <zacharycarter> @zetashift what engine are you using? |
01:03:59 | * | rbrt joined #nim |
01:04:21 | FromGitter | <zetashift> Currently doing some stuff with godot-nim if that doesn't work nimgame2 |
01:04:32 | FromGitter | <zacharycarter> cool |
01:04:55 | FromGitter | <zetashift> I couldn't get zengine to work :( |
01:05:35 | * | rbrt quit (Client Quit) |
01:05:53 | FromGitter | <zacharycarter> meh you're better off with a framework with some documentation |
01:06:15 | FromGitter | <zacharycarter> I can help you get it working later if you'd like - I know there are a few show stoppers with devel Nim which I haven't gotten around to fixing yet |
01:06:51 | * | astronavt quit (Ping timeout: 240 seconds) |
01:07:41 | FromGitter | <zetashift> actually I was thinking of doing a small conway of life in Nim, I'll ttry to implement that using zengine instead of sdl |
01:08:01 | FromGitter | <zetashift> I'm on 0.17.2 not sure if that's devel(that's 0.18 right?) |
01:09:10 | FromGitter | <zacharycarter> mmm let me see |
01:09:23 | FromGitter | <zacharycarter> 1) 17.3 apparently - I just rebuilt today |
01:09:29 | FromGitter | <zacharycarter> I think 0.18.0 is the next release |
01:14:32 | FromGitter | <zetashift> ah my bad I'll give zengine a go after the LD |
01:15:25 | * | rbrt joined #nim |
01:16:51 | FromGitter | <zacharycarter> no worries at all - I think there are a few bugs with it and the latest version of Nim anyway so I'll fix those up post LD and help you out if you use it |
01:21:59 | * | rbrt quit (Quit: Oíche mhaith) |
01:23:48 | * | couven92 quit (Quit: Client Disconnecting) |
01:31:29 | * | arnetheduck joined #nim |
01:33:20 | * | astronavt joined #nim |
01:44:27 | * | earenndil quit (Quit: ZNC 1.6.3+deb1 - http://znc.in) |
01:46:01 | * | xkapastel joined #nim |
01:48:02 | * | earenndil joined #nim |
01:50:37 | FromGitter | <zetashift> Mhmhm weird getting an Overflow error using choosenim to install 0.17.3, guess I'll just compile the good ol' fashioned way. |
01:51:07 | * | MJCaley joined #nim |
01:55:38 | * | d10n-work quit (Quit: Connection closed for inactivity) |
02:02:33 | ftsf | whooo theme announced |
02:02:40 | ftsf | now to think |
02:07:16 | FromGitter | <zetashift> oh man what is this theme even |
02:07:30 | ftsf | i think I have my idea \o/ |
02:07:36 | FromGitter | <zetashift> good luck! |
02:07:42 | ftsf | thanks, you too! |
02:08:26 | FromGitter | <zacharycarter> More ⏎ The theme for Ludum Dare 40 is: The more you have, the worse it is. https://ldjam.com #LDJAM |
02:09:16 | * | endragor joined #nim |
02:12:45 | FromGitter | <zacharycarter> @define-private-public you around by any chance? |
02:13:51 | * | endragor quit (Ping timeout: 248 seconds) |
02:58:46 | * | chemist69 quit (Disconnected by services) |
02:58:51 | * | chemist69_ joined #nim |
03:11:51 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
03:26:00 | * | astronavt quit (Remote host closed the connection) |
03:39:33 | * | marenz__ joined #nim |
03:43:44 | * | marenz_ quit (Ping timeout: 268 seconds) |
04:00:00 | FromGitter | <Varriount> What's the theme? |
04:03:18 | FromGitter | <zacharycarter> The theme for Ludum Dare 40 is: The more you have, the worse it is. https://ldjam.com #LDJAM |
04:04:27 | * | marenz__ quit (Ping timeout: 240 seconds) |
04:09:11 | * | leorize joined #nim |
04:24:09 | * | dddddd quit (Remote host closed the connection) |
04:34:49 | * | leorize quit (Quit: WeeChat 1.9.1) |
04:50:24 | * | rosshadden quit (Quit: WeeChat 1.9.1) |
04:51:12 | FromGitter | <Varriount> @zacharycarter Hm. A shoot-em-up where the bullets stick to you and make you slower? Or perhaps where you have limited ammo that gets more effective as it decreases? |
04:51:33 | FromGitter | <Varriount> *enemy bullets stick to you |
04:51:46 | ftsf | i'm making a game about cats ;) |
04:52:44 | FromGitter | <zacharycarter> I made a team on crowdforge.io and I have a feeling our designer has picked out an idea that is way too complex to implement in 72 hours |
04:53:27 | FromGitter | <zacharycarter> it's a sweet idea |
04:54:40 | FromGitter | <zacharycarter> but I don't think it can be accomplished in 72 hours |
04:55:12 | * | miran joined #nim |
04:56:07 | miran | AoC day 2 starts in 5 min, anybody here? :) |
05:00:06 | FromGitter | <zacharycarter> ftsf: crazy cat lady? the more cats she gets the crazier things get? |
05:00:30 | ftsf | zacharycarter, yeah that kind of idea. |
05:00:55 | ftsf | people keep bringing you cats |
05:01:02 | ftsf | and the more you get, the harder it is to keep them all happy |
05:01:08 | ftsf | and keep the house clean |
05:01:26 | FromGitter | <zacharycarter> right |
05:01:47 | FromGitter | <zacharycarter> my designers idea is to have a house where you have two girlfriends over |
05:01:54 | FromGitter | <zacharycarter> and you have to keep them from seeing each other |
05:02:01 | FromGitter | <zacharycarter> and more girls keep showing up |
05:02:08 | ftsf | ahh, similar =p |
05:02:09 | FromGitter | <zacharycarter> and they all want to do different things |
05:02:23 | FromGitter | <zacharycarter> yeah |
05:02:27 | ftsf | cats are probably easier to code than girlfriends though |
05:02:33 | FromGitter | <zacharycarter> I agree |
05:02:48 | FromGitter | <zacharycarter> I'm kind of thinking screw his idea |
05:03:23 | FromGitter | <zacharycarter> but I need to think of something better first :P |
05:03:52 | ftsf | that's the hard bit |
05:04:52 | FromGitter | <zacharycarter> what about this |
05:05:06 | FromGitter | <zacharycarter> it's a reverse RTS |
05:09:43 | * | miran_ joined #nim |
05:09:58 | * | miran quit (Ping timeout: 260 seconds) |
05:10:00 | * | miran_ is now known as miran |
05:10:58 | * | arecaceae quit (Remote host closed the connection) |
05:11:21 | * | arecaceae joined #nim |
05:11:25 | FromGitter | <zacharycarter> that's a bad description - basically you are playing a rts but the more you have of a certain resource the worse it gets, like you start suffering some penalty |
05:24:59 | * | endragor joined #nim |
05:28:44 | FromGitter | <Varriount> Hm.. Should I remove the Nimble commands from NimLime, or not... |
05:28:59 | FromGitter | <Varriount> As far as I know, nobody has used them, and I'm betting they no longer work. |
06:10:07 | * | pwntus quit (Ping timeout: 248 seconds) |
06:13:22 | * | pwntus joined #nim |
06:28:36 | * | cspar quit (Ping timeout: 260 seconds) |
06:35:08 | * | cspar joined #nim |
06:44:33 | * | MJCaley quit (Quit: MJCaley) |
06:54:16 | ftsf | https://twitter.com/impbox/status/936850679171133440 |
07:14:04 | * | endragor quit (Remote host closed the connection) |
07:38:22 | ftsf | hmm, anyone using the astar nimble package? |
07:39:40 | ftsf | trying to compile a basic example (bottom of https://forum.nim-lang.org/t/2340 ) gives me test.nim(62, 45) Error: cannot instantiate: 'path[AnyGrid, Point, float]' |
07:40:53 | ftsf | aha, installed @#HEAD and it works |
07:45:15 | * | jhope quit (Quit: Page closed) |
08:14:27 | * | endragor joined #nim |
08:19:23 | * | endragor quit (Ping timeout: 268 seconds) |
08:24:07 | * | endragor joined #nim |
08:33:09 | * | gokr joined #nim |
08:34:57 | FromGitter | <alehander42> can I get generic args in a macro ? |
08:37:16 | FromGitter | <alehander42> I mean access to typed generic object args |
08:51:37 | * | noonien quit (Quit: Connection closed for inactivity) |
08:58:33 | * | nsf joined #nim |
09:03:34 | FromGitter | <alehander42> ah you can't even access tuple fields in typed macros |
09:11:38 | * | skoude joined #nim |
09:15:11 | * | gokr quit (Ping timeout: 248 seconds) |
09:18:49 | * | JappleAck joined #nim |
09:21:56 | Araq | wow tuning a general purpose allocator is hard |
09:23:30 | Araq | and the floating garbage the GC produces doesn't help |
09:29:21 | FromGitter | <alehander42> ah after all I *can* create temp types from a macro |
09:29:23 | FromGitter | <alehander42> which allocator is this? |
09:29:41 | Araq | Nim's |
09:39:08 | Araq | for i in 0..1000_000: |
09:39:08 | Araq | let size = sizes[i mod sizes.len] |
09:39:08 | Araq | let p = newString(size) |
09:40:05 | Araq | ^^ used to kill Nim's allocator. now it "only" kills Nim's GC. |
09:44:36 | * | vlad1777d quit (Ping timeout: 260 seconds) |
09:52:26 | * | nim_newb joined #nim |
09:52:44 | nim_newb | Are there any plans to do this soon https://github.com/nim-lang/Nim/issues/3119#issuecomment-122031164 ? |
10:02:03 | * | nim_newb quit (Quit: Page closed) |
10:02:47 | Araq | no. PRs are welcome |
10:04:07 | * | cspar quit (Ping timeout: 258 seconds) |
10:05:59 | * | nim_newb joined #nim |
10:06:10 | nim_newb | :( |
10:15:39 | * | claudiuinberlin joined #nim |
10:18:57 | * | skoude quit (Ping timeout: 240 seconds) |
10:19:56 | * | nim_newb quit (Quit: Page closed) |
10:20:04 | Araq | nim_newb, IME the html parser is fine |
10:21:25 | * | skrylar joined #nim |
10:22:28 | * | BitPuffin|osx joined #nim |
10:25:47 | * | xkapastel quit (Quit: Connection closed for inactivity) |
10:28:24 | * | HoloIRCUser joined #nim |
10:35:14 | FromGitter | <alehander42> @Araq is there any way to use `macroname[x: y]` as a macro invocation |
10:37:47 | * | HoloIRCUser quit (Ping timeout: 255 seconds) |
10:40:38 | * | Vladar joined #nim |
10:42:01 | * | nim_newb joined #nim |
10:43:59 | FromGitter | <alehander42> I want to be able to create a macro jsobject so ⏎ `proc(arg: jsobject[x: int, y: float])` is valid code, but the closest I get is `jsobject([x: int, y: float])` |
10:46:26 | * | miran quit (Ping timeout: 260 seconds) |
10:47:45 | nim_newb | @Araq: I am using nim for web scraping.I use https://github.com/GULPF/nimquery. Now the website I am trying to scrape has horrible html. And therefore the `css selector` fails to work and I have to use a combo of `findAll`, `attr` and `innertext`. Doing this for every element in the page i want is time consuming and error prone. So I think maybe the html5 parsing algorithm will fix the issue. |
10:48:41 | nim_newb | And currently I am not knowledgeable enough to work on the htmlparser myself :( |
10:49:00 | * | nim_newb quit (Quit: Page closed) |
10:53:51 | * | BitPuffin|osx quit (Ping timeout: 248 seconds) |
11:05:03 | * | Snircle joined #nim |
11:05:58 | * | kier joined #nim |
11:14:04 | dom96 | It sure is hard to come up with an idea for this Ludum Dare. Especially when my art partner is at work :\ |
11:14:58 | FromGitter | <Varriount> @dom96 I'll probably be able to do Ludum Dare next year. |
11:15:06 | ftsf | dom96, aww |
11:15:11 | ftsf | yeah it's hard |
11:15:11 | FromGitter | <Varriount> We could team up. :D |
11:15:32 | dom96 | ftsf: Love your idea :) |
11:15:52 | ftsf | thanks, dunno how fun it'll be, but i like how it goes with the theme |
11:16:48 | ftsf | i think the art looks a bit too much like my previous LD game, Moving In |
11:17:20 | dom96 | I wouldn't worry about that. It's you, you've got your own unique art signature :) |
11:17:26 | ftsf | guess so |
11:17:36 | ftsf | it's a different palette at least |
11:18:18 | dom96 | Varriount: Will have to see. I'll probably be doing these with my SO for the foreseeable future. |
11:19:56 | FromGitter | <Varriount> Ah, ok |
11:21:08 | * | nsf quit (Quit: WeeChat 1.9.1) |
11:52:01 | * | Sentreen quit (Ping timeout: 248 seconds) |
11:55:31 | * | nim_newb joined #nim |
11:56:04 | nim_newb | https://forum.nim-lang.org/t/3388 shows that there is a page 2. but going to page 2 gives a 404. bug? |
11:59:34 | * | Snircle_ joined #nim |
11:59:49 | skrylar | i wanted to do one of those ludum dares |
11:59:58 | skrylar | tried doing a group one; group kept failing to cohese though |
12:00:16 | skrylar | i see now why so many companies talk about their hiring departments |
12:01:19 | ftsf | mmm i've only tried it solo |
12:01:24 | ftsf | i imagine doing it in a team would be much harder |
12:01:54 | skrylar | it does test your relationship with those people |
12:02:31 | skrylar | they claimed to want to do things, but when i set up the mattermost and private wiki, only one of them took it seriously and the other one turned out to be a phony |
12:02:31 | * | Snircle quit (Ping timeout: 252 seconds) |
12:04:13 | skrylar | so one of the unspoken things of tech project management you get to learn by experience is "make sure your team workers aren't only in it for resume bullets" because they will say 'i want to do x' but in reality they just want to say they worked with the Unreal engine. If you say "we're using Godot because I know how to support it, and you're just doing scripting" and they bail, well |
12:04:40 | skrylar | to be fair the guy wasn't assigned that, he said before he had no interest in doing engine work |
12:05:46 | * | Sentreen joined #nim |
12:06:07 | * | NimBot joined #nim |
12:06:38 | skrylar | dunno about the single person ludum dares. mostly a test of having multiple skillsets that have no common ground and how much pain you can endure |
12:07:28 | * | Trustable joined #nim |
12:07:51 | skrylar | --symbolfiles seems to be a buggy mess |
12:08:17 | skrylar | ex. i just ran it on an unbuilt file and it succeeds. i ran it again, and with no changes it suddenly decides that some methods are invalid |
12:15:36 | * | marenz__ joined #nim |
12:25:21 | * | skrylar quit (Ping timeout: 255 seconds) |
12:25:38 | * | skrylar joined #nim |
12:31:21 | * | skrylar_ joined #nim |
12:35:12 | * | endragor quit (Remote host closed the connection) |
12:38:49 | * | endragor_ joined #nim |
12:40:35 | * | nim_newb quit (Ping timeout: 260 seconds) |
12:40:49 | * | skrylar_ quit (Remote host closed the connection) |
12:43:13 | * | endragor_ quit (Ping timeout: 248 seconds) |
12:43:35 | * | skrylar quit (Ping timeout: 240 seconds) |
12:43:42 | * | skrylar joined #nim |
12:51:32 | FromGitter | <mratsim> @alehander42 look into the list comprehension macros `lc[] ` |
12:53:25 | FromGitter | <alehander42> @mratsim very interesting thanks but I don't think one can do `jsobject[x: int]` in the same way as x: int is not valid expr |
12:54:06 | FromGitter | <alehander42> btw is the newNode style or the nnkNode.newTree style the idiomatic one ? |
12:55:52 | FromGitter | <mratsim> Araq encouraged me to use newTree a month ago |
12:56:09 | * | jjido joined #nim |
12:57:24 | * | BitPuffin|osx joined #nim |
12:58:17 | * | gokr joined #nim |
12:58:46 | gokr | dom96: I am failing with nimble publish. |
13:00:09 | gokr | Aha: https://github.com/nim-lang/nimble/issues/398 |
13:01:58 | * | dddddd joined #nim |
13:07:57 | * | nsf joined #nim |
13:08:38 | * | natrys joined #nim |
13:11:45 | * | arecaceae quit (Remote host closed the connection) |
13:12:03 | * | arecaceae joined #nim |
13:17:07 | * | gokr quit (Read error: Connection reset by peer) |
13:19:29 | * | PMunch joined #nim |
13:29:45 | skrylar | nimble publish is persnickety. |
13:53:42 | * | Vladar quit (Quit: Leaving) |
14:09:29 | * | skrylar_ joined #nim |
14:11:17 | * | couven92 joined #nim |
14:13:34 | FromGitter | <gokr> @dom96 Can you pull in some PRs in packages? Made two for spry, trying to make it a better nimble citizen |
14:16:37 | * | miran joined #nim |
14:33:43 | * | vlad1777d joined #nim |
14:38:57 | * | skrylar_ quit (Ping timeout: 248 seconds) |
14:50:04 | * | MJCaley joined #nim |
14:54:36 | * | Trustable quit (Remote host closed the connection) |
14:59:56 | * | nim_newb joined #nim |
15:01:00 | * | dddddd quit (Remote host closed the connection) |
15:01:22 | * | Vladar joined #nim |
15:02:57 | nim_newb | I am not at all experienced in asynchronous programming, threads or parallel. I intend to learn them first with some other language because there will be more resources. Are these features in nim modelled after some other language or are they similar to the features provided by any other language? Please recommend some programming languages or resources to learn this topic. |
15:04:06 | nim_newb | I was thinking of Dart because it has async await futures everywhere? |
15:05:07 | dom96 | Python :) |
15:08:39 | * | nim_newb_ joined #nim |
15:08:45 | * | nim_newb quit (Ping timeout: 260 seconds) |
15:09:32 | nim_newb_ | IIRC python *3* has support for asyncio? Thank you. I will give it a go. |
15:17:01 | * | skoude joined #nim |
15:18:50 | * | MJCaley quit (Quit: MJCaley) |
15:23:20 | * | nim_newb_ quit (Ping timeout: 260 seconds) |
15:32:17 | * | jjido quit (Ping timeout: 248 seconds) |
15:33:08 | * | nsf quit (Quit: WeeChat 1.9.1) |
15:37:21 | * | skoude quit (Ping timeout: 240 seconds) |
15:37:38 | * | MJCaley joined #nim |
15:40:52 | PMunch | Does quote support `something.field` yet? |
15:48:17 | Araq | why wouldn't ? `something`.`field` do? |
15:49:52 | * | MJCaley quit (Quit: MJCaley) |
15:54:26 | PMunch | For compiletime things |
15:55:07 | PMunch | Let's say you have a compiletime tuple, and you want one of the fields |
16:10:27 | niv | is it possible to make a callback/generic proc {async}? |
16:20:46 | Araq | why not? I think we have that covered in tests |
16:21:07 | niv | figured it out. decorating the call site, not the declaration site, works. |
16:45:03 | * | MJCaley joined #nim |
16:54:10 | * | miran quit (Ping timeout: 260 seconds) |
16:55:32 | * | SunDwarf quit (Ping timeout: 268 seconds) |
16:59:37 | FromGitter | <alehander42> @Araq do you think the approach in https://github.com/nim-lang/Nim/pull/6862 seems correct? (I had an earlier issue about that and I found out I can do it with macros, I hope the rationale is clear) |
17:05:45 | Araq | well it works and some variant of it will be accepted |
17:05:57 | skrylar | well if you just need to grasp asynchronicity, you could always play shensen io or TIS-100 |
17:06:12 | skrylar | those are basically *about* asynchronois microcode |
17:06:13 | Araq | but I think turning a tuple into an object would make more sense than named parameters |
17:08:25 | FromGitter | <alehander42> something like `jsobj(tuple[x: int, y: bool])` ? |
17:08:35 | FromGitter | <alehander42> that's why I hoped `jsobject[x: int, y: bool]` to be possible |
17:08:36 | Araq | yeah |
17:08:45 | FromGitter | <alehander42> is there a way to somehow add this to macro syntax ? |
17:10:35 | Araq | well X(a: b) is an object constructor |
17:10:53 | Araq | with a little tweak we can check if 'X' is a template/macro and pass it to it |
17:11:01 | Araq | currently it errors when X is not a type iirc |
17:11:16 | Araq | requires no parser change, just a patch to semExprs.nim |
17:11:18 | FromGitter | <alehander42> and would that work for `X[a: b]`? |
17:11:32 | Araq | X[a: b] is different |
17:12:17 | Araq | iirc that one only works because 'tuple' is a keyword :P |
17:12:39 | Araq | a solution that doesn't require a parser change would be nice |
17:12:48 | FromGitter | <alehander42> :D yes I was afraid of that |
17:13:30 | FromGitter | <alehander42> other thing I thought about was jsobject{x: int, y: bool} (as it typechecks js code equivalent to js{x: 2, y: 4}) |
17:14:08 | * | PMunch quit (Quit: leaving) |
17:14:13 | FromGitter | <alehander42> but jsobject(x: int, y: bool) is almost perfect |
17:19:27 | * | vlad1777d quit (Ping timeout: 248 seconds) |
17:20:20 | * | MJCaley quit (Quit: MJCaley) |
17:24:55 | * | MJCaley joined #nim |
17:26:14 | * | xkapastel joined #nim |
17:29:28 | * | ofelas_ joined #nim |
17:35:45 | * | Trustable joined #nim |
17:41:42 | * | skoude joined #nim |
17:46:20 | * | gokr joined #nim |
17:47:09 | * | nsf joined #nim |
17:56:03 | * | SunDwarf joined #nim |
17:59:01 | * | skoude quit (Ping timeout: 240 seconds) |
18:01:47 | * | vlad1777d joined #nim |
18:11:06 | * | HM joined #nim |
18:11:28 | HM | hmm, how do i use map() with parseInt? i have a seq[string] and i want a seq[int] |
18:11:53 | Araq | myseq.map(parseInt) |
18:12:19 | HM | oh |
18:13:25 | HM | i love it |
18:13:58 | HM | is this like a uniform call syntax? |
18:14:18 | Araq | yes. we call it "method invokation syntax" |
18:14:40 | Araq | as there is nothing uniform about a specialized first argument. |
18:14:56 | Araq | but yeah, it's exactly as D's UFCS |
18:15:03 | HM | cool |
18:15:09 | HM | I jump in to most new languages blind |
18:15:21 | HM | i find i learn more that way that copying examples |
18:15:40 | HM | i tried kotlin for yesterdays advent of code challenge and it was like pulling teeth |
18:15:51 | HM | Nim hasnt caused me any pain yet |
18:19:49 | HM | bit confusing that you have add() and pop and not push :) |
18:20:25 | Araq | 'add' is the generic "add to container" |
18:22:46 | FromGitter | <Varriount> Araq, dom96: https://forum.nim-lang.org/t/1541/1#21305 |
18:23:25 | Araq | what about it? |
18:24:00 | FromGitter | <Varriount> I dislike seeing Python misrepresented. It doesn't allow importing modules that have invalid identifiers. |
18:24:13 | FromGitter | <Varriount> :/ |
18:24:56 | Araq | I don't know Python all that well to spot these errors |
18:26:08 | Araq | converted my Python code to Nim years ago :P |
18:27:25 | FromGitter | <ephja> so nimsuggest provides information about converter invocations. neat |
18:27:50 | FromGitter | <Varriount> Araq: You would have to do use the low-level import mechanisms to import a module with an invalid identifier. You still wouldn't be able to easily reference it though. |
18:27:58 | * | skoude joined #nim |
18:32:05 | * | skoude quit (Ping timeout: 240 seconds) |
18:33:55 | FromGitter | <ephja> winim needs some more work. we must eradicate weak typing once and for all |
18:34:56 | dom96 | ftsf: what do you use for vectors? |
18:39:30 | Araq | ephja; what is winim? |
18:50:19 | HM | how do i initialize an empty seq[seq[int]] ? |
18:50:20 | HM | :/ |
18:50:38 | HM | .add fails when i don't assign it to = @[] |
18:50:44 | HM | (first) |
18:51:38 | HM | oh nm |
18:51:53 | HM | blank line in the input |
19:03:15 | * | skoude joined #nim |
19:05:08 | * | dddddd joined #nim |
19:15:16 | * | Jesin joined #nim |
19:31:05 | * | BitPuffin|osx quit (Ping timeout: 276 seconds) |
19:39:05 | * | nsf quit (Quit: WeeChat 1.9.1) |
19:40:16 | * | Trustable quit (Remote host closed the connection) |
19:56:16 | FromGitter | <ephja> Araq: winapi library |
19:56:49 | FromGitter | <ephja> the parameters are named a, b, c... and p1, p2, p3... though. that's unfortunate |
20:03:50 | FromGitter | <tim-st> Is there something like Pythons enumerate(iterable) that yields the index and the element in nimlang? |
20:06:27 | * | gokr quit (Ping timeout: 240 seconds) |
20:14:25 | * | JappleAck quit (Ping timeout: 248 seconds) |
20:26:40 | Araq | tim-st pairs iterators do |
20:30:17 | * | skrylar quit (Remote host closed the connection) |
20:34:10 | FromGitter | <alehander42> For normal seq just |
20:34:21 | FromGitter | <alehander42> for undex,element in |
20:34:53 | FromGitter | <tim-st> Thanks, thought about runes(), but will manually increment than |
20:37:18 | subsetpark | Whoa I had no idea about that! |
20:41:28 | * | arnetheduck quit (Remote host closed the connection) |
20:42:41 | * | sz0 quit (Quit: Connection closed for inactivity) |
20:48:25 | * | Vladar quit (Quit: Leaving) |
20:51:29 | * | nsf joined #nim |
21:04:22 | * | Snircle_ quit (Quit: Textual IRC Client: www.textualapp.com) |
21:07:51 | * | ofelas_ quit (Quit: shutdown -h now) |
21:36:30 | * | endragor joined #nim |
21:37:13 | * | MJCaley quit (Quit: MJCaley) |
21:38:22 | * | skoude quit (Ping timeout: 260 seconds) |
21:40:50 | * | endragor quit (Ping timeout: 255 seconds) |
21:41:12 | * | skoude joined #nim |
21:45:37 | * | skoude quit (Ping timeout: 260 seconds) |
21:45:46 | * | jjido joined #nim |
21:46:00 | * | SenasOzys joined #nim |
21:51:57 | * | skrylar joined #nim |
21:58:41 | * | smt joined #nim |
22:12:16 | * | skoude joined #nim |
22:16:35 | * | skoude quit (Ping timeout: 240 seconds) |
22:20:18 | skrylar | wonder if anyone is actually using that firebird wrapper |
22:47:09 | * | natrys quit (Quit: natrys) |
22:53:53 | ftsf | dom96, i used to use glm, but then it broke and i made a mini vector library. |
23:12:47 | skrylar | i also use one of those |
23:12:55 | skrylar | although i've been contemplating if BLAS is something in eed to deal with |
23:13:04 | skrylar | i don't think games tend to use them though |
23:13:19 | * | ShalokShalom joined #nim |
23:22:26 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
23:31:33 | dom96 | Without docs using Nico is rather difficult :\ |
23:31:41 | dom96 | I might have to switch to something else |
23:32:41 | * | skrylar_ joined #nim |
23:33:09 | dom96 | and because it emulates the pico-8 so much it feels like there is a ton of limitations |
23:41:34 | * | SenasOzys quit (Ping timeout: 260 seconds) |
23:50:01 | * | nsf quit (Quit: WeeChat 1.9.1) |
23:58:40 | FromGitter | <zetashift> I really can't figure out what to make |
23:58:45 | FromGitter | <zetashift> a snake clone? hehehe |