<< 04-06-2014 >>

00:01:28flaviu1Varriount: I speak american too, but that looks fine to me
00:02:14Varriounthttp://en.wikipedia.org/wiki/American_and_British_English_spelling_differences#-our.2C_-or
00:32:59flaviu1filwit: https://nimrod-by-example.github.io/getting_started/
00:33:08flaviu1You got your checkmarks!
00:33:30filwitnice!
00:33:37filwitshould be green tho, probably
00:34:45flaviu1I'm not sure I like the way that looks
00:34:46xenagiooo cool
00:35:05flaviu1thanks xenagi
00:35:31*askatasuna quit (Quit: WeeChat 0.4.3)
00:47:15DemosI am watching Bjarne Stroustrup's lang.next keynote, makes me love nimrod :D
00:47:37filwitflaviu1: i adjusted some of your CSS colors: http://reign-studios.net/philipwitte/nimrod/NBE_screen.png
00:47:58filwitflaviu1: but i like your overall design
00:48:07flaviu1filwit: I like that a lot.
00:48:21Demosanyone have throughs on any kind of "dynamic" typeclasses? Like being able to easly convert a typeclass to a bunch of indirect functions?
00:48:39filwitflaviu1: okay. I actually have to go somewhere really quick, but I'll be back in ~30mins and i'll give you the changes (they're minor)
00:48:39flaviu1filwit: Can you gist the CSS?
00:48:45flaviu1ok
00:48:56filwitbbl
01:28:32filwitk back, one sec tho
01:30:11flaviu1Demos: The talk at http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/Keynote is really interesting, he makes very good points
01:31:07Demosthat is what I was talking about
01:31:26flaviu1I know, but you posted the link in the unlogged #nimrod-offtopic
01:31:47Demosah
01:35:09filwitwell that's lame..
01:35:27flaviu1on c++: "there was no sugar daddy coming in with the money". Seems to apply here too
01:35:32filwiti closed the inspector (not the tab) and it lost my color changes
01:35:38filwit:\
01:35:45flaviu1really? that sucks
01:35:52filwiti'll just remake them from the image
01:36:07flaviu1filwit: Can you make the font less thin?
01:36:15filwityeah, it saved them (the website is still those colors, but the inspector doesn't remember them anymore
01:36:48filwitflaviu1: less thing how? you might need a different font
01:37:06filwitflaviu1: or you just mean bold?
01:37:15filwitthin*
01:37:48flaviu1I mean the font is very thin and a bit more difficult to read
01:38:13flaviu1I personally like the current fonts, they're thicker and easier to read
01:38:44Demosyeah, but on the other hand Bjarne was fairly effective at promoting the language. But I think our time will come, after we release 1.0
01:39:00Demosheck it took python like a bazillion years to catch on
01:43:26*q66 quit (Quit: Leaving)
01:43:27filwitflaviu1: ah, you mean color wise (which is all i changed with the font, besides line spacing)
01:44:08flaviu1Really? It feels a lot thinner
01:52:19filwitflaviu1: yeah, color theory :) contrast can convey's a bit of distance (spatially), so the closer the foreground color is to the background, the "further away" which is why your mind things it's thinner (don't quote me on that, word of mouth)
01:53:37flaviu1do you have text antialising on?
01:53:51filwitidk.. KDE, Chromium
01:53:55filwitArch Linux
01:54:09flaviu1Its in the KDE settings somewhere
01:54:24OrionPKfowl how goes it
01:54:37filwitwell i didn't change the text settings really (unless it's part of the theme, which i doubt)
01:54:42filwitand Arch is pretty default
01:55:07filwitguess i'll just check, one sec
01:56:08flaviu1Yeah, by default it uses "system style" which probably doesn't do sub-pixel smoothing
01:57:19filwitdoes that apply to chromium though? It's a gtk2 app, or at least it uses that icon-set.
01:57:57filwitit's okay, i've almost got all the CSS changes i think: https://gist.github.com/PhilipWitte/73e510eeda8cadf15a90
01:58:35filwiti think i changed something else, but i can't remember cause the inspector doesn't highlight them any more :|
01:58:50filwitoh yeah..
01:59:09filwitwhoops one sec
02:01:08fowlOrionPK, hey
02:01:21filwitk, updated it
02:01:32filwitbut left the colors for the font out
02:01:44filwit(still includes line-height changes, which i like)
02:01:57filwit(personally)
02:02:41fowlOrionPK, changing the macro to use namespaceify and allow for namespace: is hairy
02:04:54flaviu1filwit: Line height looks better. The white code area is neat, it looks off white but isn't
02:05:13flaviu1Or maybe thats f.lux
02:10:08filwitflaviu1; wait, the code text style needs to be adjusted
02:10:12filwitprobably
02:10:29flaviu1filwit: hmm?
02:10:54flaviu1For the code style, look through https://github.com/richleland/pygments-css
02:11:48filwitflaviu1: nah i mean on the CSS gist i posted. updated it (line height of code)
02:12:22filwitflaviu1: cause line-hight:20px is a bit steep for the code
02:12:35filwitflaviu1: i just wanted to suggest setting that
02:19:22flaviu1filwit: I think I like 20px for code, how much more superior do you think that 16px is? If it isn't, I'd like to keep 20px for code
02:20:59filwitflaviu1: It's just my opinion, so if you like it more use your preferences or get other opinions peoples thoughts
02:21:23filwitflaviu1: i'm going through the color styles, will post in a sec
02:21:44flaviu1Some asshole undeleted the Nimrod article on Wikipedia
02:22:11filwitflaviu1: ps, idk how much web-dev you know, but in case you don't, the browser's inspect is very useful for playing with colors
02:22:21filwitwait what?
02:22:24flaviu1I've found out about inspect :)
02:22:26filwitthat's lame
02:22:27flaviu1https://en.wikipedia.org/wiki/Nimrod_%28programming_language%29
02:22:39flaviu1Yeah, it makes us look bad
02:22:52filwitwtf, why? automated I hope
02:23:05flaviu1No, non-automated
02:23:16filwitk, don't know much about how wikipedia works really
02:23:22filwitbut i see a name now
02:23:33flaviu1Neither do I, but the last two names a different and don't appear to be bots
02:23:48filwitso what reasons where given?
02:24:03filwitcan anyone do this or something? I doubt it.
02:24:22flaviu1It was deleted because it was recreated without significant changes
02:25:09filwitso it was considered practically a mirror which breaks wikipedia's advertising policy or something?
02:25:39filwitwhat the reason, that's lame
02:25:43flaviu1No, it didn't have any academic papers or things in news sites not written by Araq
02:25:45filwitwhatever*
02:26:33springbokWikipedia is about whatever "editor" has the most juice. If one doesn't like you, or has an axe to grind with your entry, or is just a loon, everything you do to correct is irrelevant.
02:27:18flaviu1springbok: Sorry, but I disagree here. They are correct by Wikipedia's policies in this case.
02:27:57fowlflaviu1, ive seen programming language pages with no citations, why cant we even get a stub
02:28:21flaviu1They actually have a name for that: OTHERCRAPEXISTS
02:28:27springbokflaviu1: what you said does not contradict what I said.
02:28:44fowl?
02:29:03flaviu1Literally, they linked dom to the page that explains that policy
02:29:44flaviu1https://en.wikipedia.org/wiki/Wikipedia:OTHERCRAPEXISTS
02:39:24springbokWow...if I've never seen a better reason to double down on Wikipedia editors are twats, flaviu1's links prove it: some dumb fuck can't Google and thinks "nimrod" is a word for stupid things.
02:43:15DemosI agree with wikipedia's position here, but I think it will likely change later. The fact is we are not yet a "released" product
02:43:36flaviu1springbok: Sorry, can't agree with you there. I tried googing, even went several pages down. I didn't find any secondary sources that were written by reputable new sources
02:44:18springbokflaviu1: Wiki appologist. Got it.
02:44:28*saml_ quit (Ping timeout: 245 seconds)
02:44:37*Demos quit (Read error: Connection reset by peer)
02:45:37flaviu1springbok: I might agree that the policies are a bit harsh, but they aren't going to change those policies just for us.
02:46:55springbokIdiots do idiotic things to the detriment of others, but hey! We shouldn't object because they're following their own stupid rules. Got it.
02:48:22flaviu1Yep, pretty much. Can't have a high standard of quality if they aren't very careful, so I can't really blame them for over-carefulness.
02:49:37*xenagi quit (Quit: Leaving)
02:49:48springbokThey don't have a high standard for quality. They have a high standard for highly placed editors being unaccountable for pushing their agenda. Once again, you might try doing some research.
02:50:41fowlspringbok, exactly why i dont vote
02:53:07flaviu1fowl: I know you're in the middle of typing something so feel free to finish, but you didn't include any shadows. How is `box-shadow: 1px 1px 2px #999`?
02:54:01flaviu1#CCC is even better
02:55:49springbokLook! Over there! Distraction!
02:56:03flaviu1springbok: Not my intent
02:56:48fowlflaviu1, /
02:56:51fowlwhat
02:57:44flaviu1I was asking what you thought about the appearence of that property on large code blocks
02:57:47springbokof course.
02:59:41fowlidk
03:01:02flaviu1I like it, it provides a bit more contrast between the code and background. Feel free to reply to springbok, he thinks I'm only asking you to distract you from the discussion about wikipedia.
03:02:50springbokZing!
03:03:05*hoverbear joined #nimrod
03:11:37*def- joined #nimrod
03:13:30filwitflaviu1: you like these colors: http://reign-studios.net/philipwitte/nimrod/NBE_screen.png ?
03:15:05*def-_ quit (Ping timeout: 252 seconds)
03:15:45flaviu1Yes, looks nice
03:18:09filwitgreat, let me updated the gist, just a minute
03:18:21flaviu1I think the best solution is to make CSS switchable
03:18:53filwityeah, certainly for the code colors at least.
03:19:47filwitoh and that's no-borders on code, plus padding changes
03:22:17*springbok_ joined #nimrod
03:22:23*springbok quit (Ping timeout: 245 seconds)
03:22:56*springbok_ is now known as springbok
03:25:27*springbok quit (Quit: Leaving)
03:36:30filwitflaviu1: updated the gist https://gist.github.com/PhilipWitte/73e510eeda8cadf15a90
03:41:22flaviu1filwit: Are you sure that `box-shadow: rgba(0,0,0,0.1);` does anything? No effect for me, on both firefox and chromium
03:41:40flaviu1Yeah, it says its malformed
03:41:42filwitflaviu1: whoops, forgot the numbers
03:42:02filwitshould be: box-shadow:1px 3px 12px rgba(0,0,0,0.1);
03:55:57*brson joined #nimrod
03:57:06filwitflaviu1: updated the gist again with some sidebar tweaks.
03:58:34flaviu1filwit: I don't know much CSS, is it possible to add padding to the text if the window gets too small?
03:59:34filwitnot really, however you can do some interesting stuff with max-width and floating objects
04:00:31filwitflaviu1: there are some really new layout types actually, that should do what you want
04:01:06flaviu1filwit: It actually turns out to be even easier. I just added a right margin on #main p
04:01:20filwitflaviu1: i remember seeing examples of them, and it was pretty nice. I can't remember how good of browser support they have though. It was like "flexy-box" or something.
04:01:35filwitdispaly: flexbox... something like that
04:02:33flaviu1flexboxes seem to apply with multiple elments
04:03:16filwitflaviu1: yeah, but i saw some really cool demo before, using it really effectively (maybe it in combo with something else)
04:03:34filwitidk
04:04:09filwiti'm interesting to see what you use for the live version when it's up, flaviu1
04:07:57flaviu1filwit: Ok, should be up in 5 minutes. I really should precompile the source code for the tools I use...
04:10:18*brson quit (Ping timeout: 245 seconds)
04:11:08flaviu1I commented out the cotton candy css, but its still available, I'll get a code style selector tomorrow
04:15:15filwitflaviu1: that's cool. It was just some color's i chose (not actually cotton candy), but as I was thinking it would be cool to try a darker color theme as well (like VSDark.. or similar)
04:17:33*brson joined #nimrod
04:38:32filwitflaviu1: btw, you can simplify code in the OOP section like this: https://gist.github.com/PhilipWitte/19a00bfbbf7017e4bae7
04:41:23flaviu1I guess so, but TBH that doesn't really make a difference in how hard it is to follow. I'll merge it, but I should be sleeping right now.
04:41:52flaviu1see you tomorrow
04:42:10filwitokay, later
04:49:25*flaviu1 quit (Ping timeout: 252 seconds)
04:58:03*xtagon quit (Quit: Leaving)
05:08:03*ehaliewicz quit (Ping timeout: 260 seconds)
05:09:25*gsingh93_ quit (Quit: Connection closed for inactivity)
05:17:35*bjz joined #nimrod
06:18:37*hoverbear quit ()
06:31:58*brson quit (Ping timeout: 240 seconds)
06:32:33*bjz quit (Ping timeout: 252 seconds)
06:33:24*bjz joined #nimrod
06:48:06*bjz quit (Read error: Connection reset by peer)
06:50:27*bjz joined #nimrod
07:02:15*bjz quit (Ping timeout: 252 seconds)
07:03:23*bjz joined #nimrod
07:09:31*dymk quit (Ping timeout: 240 seconds)
07:22:26*bjz quit (Ping timeout: 255 seconds)
07:47:19*zahary quit (Quit: Leaving.)
07:50:24Skrylardom96: so if i were hypothetically to write a mini-mud in nimrod, is there any particular stupidity involved with nimrod and asynchronous tcp?
07:50:56reactormonkSkrylar, mini-mud?
07:51:18Skrylarreactormonk: i donno. i've off and on felt like running a MUD
07:52:57Skrylarits also an easy way to familiarize with a tcp library
07:55:54reactormonkSkrylar, what's a mud?
07:58:19CARAM_http://en.wikipedia.org/wiki/MUD
08:02:28*kunev joined #nimrod
08:02:30*kemet joined #nimrod
08:27:47*bjz joined #nimrod
08:29:38*io2 joined #nimrod
08:38:57*BitPuffin quit (Ping timeout: 252 seconds)
08:48:34*io2 quit (*.net *.split)
08:48:37*oddmunds quit (*.net *.split)
08:49:00*io2 joined #nimrod
08:50:36*oddmunds joined #nimrod
08:53:19*Changaco joined #nimrod
08:54:47*dymk joined #nimrod
09:05:26dom96Skrylar: You may run into problems because you can't nest closures multiple times
09:05:34dom96but you should be able to work around that
09:05:42dom96So do it
09:07:32*noam joined #nimrod
09:30:29*brson joined #nimrod
09:37:47*brson quit (Quit: leaving)
10:21:53*Johz joined #nimrod
10:23:41*bjz quit (Ping timeout: 264 seconds)
10:25:55*bjz joined #nimrod
11:05:07Klaufirwhen allocating something using var, is it stored on the stack?
11:11:37*EXetoC quit (Quit: WeeChat 0.4.3)
11:14:34AraqKlaufir: yes, in general
11:18:10*EXetoC joined #nimrod
11:19:32*kunev quit (Quit: leaving)
11:28:04*kunev joined #nimrod
11:35:33Klaufirand elements in a seq? garbage collected heap?
11:41:16*shevy joined #nimrod
11:41:28Araqyes
11:50:24Klaufirdoes nimrod have something similar to the guaranteed destructor call in c++? like python's with, or c# using, or java's try-with-resources? - sorry for my many questions
11:59:45EXetoCask away
11:59:51EXetoCKlaufir: http://build.nimrod-lang.org/docs/manual.html#destructor-pragma
12:00:32KlaufirEXetoC: thank you
12:01:08*kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
12:06:09EXetoCa 'with' construct has been discussed before I think. that seems like a trivial thing to implement with user code
12:16:57*untitaker quit (Ping timeout: 240 seconds)
12:22:30*untitaker joined #nimrod
12:29:03reactormonkEXetoC, I think it would serve as a good example code
12:33:28*BitPuffin joined #nimrod
12:37:41reactormonkhow do I run tests again?
12:39:11EXetoC./tests/testament/tester(.nim)
12:40:46EXetoCactually, I can't remember why I started doing that. I used './koch tests' before
12:42:02EXetoCwhich also executes tester
12:57:21reactormonkEXetoC, and one specific test file?
13:05:01EXetoCnot possible I think
13:05:43*shevy quit (Ping timeout: 245 seconds)
13:15:34*askatasuna joined #nimrod
13:18:24*shevy joined #nimrod
13:19:16*darkf quit (Quit: Leaving)
13:21:35reactormonkmuh
13:38:47*untitaker quit (Quit: ZNC - http://znc.in)
13:39:29*untitaker joined #nimrod
13:40:44*superfunc joined #nimrod
13:41:44EXetoCreactormonk: yeah we could add such an example to the nimrod-by-example site
13:44:12*untitaker quit (Quit: ZNC - http://znc.in)
13:44:43*untitaker joined #nimrod
13:47:42Klaufircan you tell me something about the memory layout of an object when there is a 'case ... of ... of ... etc' structure in its definition?
13:48:18*filwit quit (Quit: Leaving)
13:48:33reactormonkKlaufir, generate the C code and take a look
13:50:13Araqreactormonk: tester cat <category_name> works
13:51:44AraqKlaufir: it generates a union
13:53:45reactormonkAraq, as mentioned, the ruby implementation is not really feasable
13:54:00KlaufirAraq: thanks
13:54:07Araqreactormonk: ok, I'll do it myself then
13:55:15*untitaker quit (Quit: ZNC - http://znc.in)
13:55:46*untitaker joined #nimrod
13:56:14reactormonkAraq, got a slight idea what might work
13:56:45*untitaker quit (Client Quit)
13:57:16*untitaker joined #nimrod
14:05:11*untitaker quit (Quit: ZNC - http://znc.in)
14:05:42*untitaker joined #nimrod
14:07:59reactormonkmuh, koch temp just dies on me.
14:08:31reactormonkor rather, the compiler created by it.
14:08:58*caioariede quit (Ping timeout: 265 seconds)
14:20:41*Changaco quit (Ping timeout: 264 seconds)
14:22:11*Changaco joined #nimrod
14:30:34reactormonkHow do I copy ranges of arrays?
14:30:38reactormonkranges of array items.
14:30:39*untitaker quit (Quit: ZNC - http://znc.in)
14:31:11*untitaker joined #nimrod
14:32:22*untitaker quit (Client Quit)
14:32:53*untitaker joined #nimrod
14:33:17*untitaker quit (Client Quit)
14:33:49*untitaker joined #nimrod
14:56:25*kunev quit (Quit: leaving)
15:14:41*flaviu1 joined #nimrod
15:24:42superfuncholy hell boost is making my job so much easier lately. Now, if only they'd let me just use Nimrod :)
15:38:21*bjz quit (Read error: Connection reset by peer)
15:38:43*bjz joined #nimrod
15:54:05*bjz quit (Ping timeout: 255 seconds)
16:11:11*BitPuffin quit (Ping timeout: 255 seconds)
16:15:10*hoverbear joined #nimrod
16:28:19*brson joined #nimrod
16:28:26*brson quit (Client Quit)
16:31:30*brson_ joined #nimrod
16:32:15*brson_ quit (Client Quit)
16:32:48*brson_ joined #nimrod
16:40:14Klaufirwhat is the customary way of representing unicode strings? seq[TRune] ?
16:40:28dymkHuh, something happened to the nimrod wiki page?
16:41:44flaviu1dymk: Its been deleted for a while, they couldn't find any non-primary sources
16:41:54dymkI see
16:42:02dymkbummer, it had some useful information on it
16:42:15dom96Klaufir: For most use cases using a string should be enough.
16:42:21*q66 joined #nimrod
16:42:21*q66 quit (Changing host)
16:42:21*q66 joined #nimrod
16:42:43Klaufirdom96: say I want to do toUpper in a unicode fashion
16:43:05KlaufirI got an input as a utf-8 string, how would I proceed?
16:43:33KlaufirI can call runes and get an interator of TRunes
16:43:52*Jesin joined #nimrod
16:44:26dom96I'm not expert on this but I would guess that you would use the runes iterator in the unicode module, call toUpper on the runes and convert them to a string using toUtf8
16:44:38KlaufirI see
16:46:22Klaufiris there somewhere a 'map' proc I could use on iterators?
16:47:18Klaufiri know I can just slurp an interator into a seq, but somehow it feels inefficient when the iterator would give lots of elements
16:48:15flaviu1Klaufir: IIRC there isn't one unfortunately
16:49:56EXetoCsequtils.mapIt?
16:51:01EXetoChm let me check
16:51:19KlaufirmapIt works on seq[T], isn't it?
16:51:30flaviu1Yeah, mapIt is on seqs
16:58:49Klaufirhow would you write this nicer?
16:58:51Klaufirunicode.`$`(toSeq(unicode.runes("dépêchez-vous, l'ordinateur!")).map(unicode.toUpper))
17:00:50flaviu1I'd write my own `map` iterator, and then make a `toUnicodeString` method that takes an iterator
17:02:28flaviu1so it'd be `runes("fancy unicode text").map(do (c: Rune) -> Rune: c.toUpper).toUnicodeString`
17:02:51Klaufiryeah, its much better
17:04:48*hoverbea_ joined #nimrod
17:04:49*hoverbear quit (Read error: Connection reset by peer)
17:10:23EXetoCa better generic map would be nice. hopefully the user-defined type classes will be usable soon
17:11:09EXetoCsomeone throw money at zahary :p
17:11:13flaviu1EXetoC: They aren't usable already?
17:12:08flaviu1But you don't need type classes to have a generic iterator map anyway
17:16:16EXetoCno not strictly necessary
17:17:35EXetoCthe two-argument mapIt just uses items, so it's not only for sequences
17:17:51EXetoC*three
17:19:48EXetoCKlaufir: so, unicode.runes("...").mapIt(targetType, it.toUpper) or something maybe
17:21:01dom96does 'do' work in that context?
17:21:07*hoverbea_ is now known as hoverbear
17:22:13EXetoC"got (string)" yeah, and? :p
17:22:37EXetoCgah wait a second
17:37:40EXetoCtalking rubbish again. nevermind me. good luck
17:42:43*askatasuna quit (Ping timeout: 252 seconds)
17:55:30*askatasuna joined #nimrod
17:55:46EXetoCdom96: I don't know, but the params are all expr
17:56:53*BitPuffin joined #nimrod
17:57:06EXetoCKlaufir: I don't think there's a clean way to get the type that an iterator yields, but you can do something like this if you decide to roll your own: "toSeq(x)[0].type"
17:58:58*superfunc quit (Quit: Page closed)
17:59:45AraqKlaufir: toUpper is a broken idea for Unicode anyway
18:00:14Araquse cmpIgnoreCase or whatever it's called
18:01:17EXetoCKlaufir: oh. x.items.type
18:05:27EXetoCbut x is already an iterator in your case
18:06:01EXetoCso that'd be x.type then of course
18:17:23dom96flaviu1: oh yeah, the UTF8 checkboxes don't show up for me
18:18:20flaviu1dom96: I'm actually working on that right now
18:18:30dom96ok
18:24:39EXetoCAraq: is ignoring the case somehow more complicated than converting to lowercase or uppercase?
18:25:03flaviu1dom96: Does it work now?
18:25:09EXetoCor is it just of limited use outside comparisons?
18:25:26dom96flaviu1: yea
18:25:40Araqit loses information, EXetoC
18:26:08flaviu1Awesome. I also managed to get the build time down to 30 seconds instead of 3 minutes, so it updates quickly now
18:27:18EXetoCAraq: for some quirky languages?
18:29:05*Changaco quit (Ping timeout: 264 seconds)
18:30:13AraqEXetoC: like German, yes
18:32:57*askatasuna quit (Ping timeout: 252 seconds)
18:33:54*Changaco joined #nimrod
18:40:51*askatasuna joined #nimrod
18:47:57*kunev joined #nimrod
18:53:32*brson_ quit (Ping timeout: 260 seconds)
18:57:26*ehaliewicz joined #nimrod
19:07:34*brson joined #nimrod
19:08:10*Jehan_ joined #nimrod
19:08:40*Jesin quit (Quit: Leaving)
19:22:04*kunev quit (Quit: Lost terminal)
19:27:02Araqflaviu1: I told you to update the spec too
19:27:57dom96flaviu1: You should add a "star" button
19:28:29flaviu1Araq: I did, but give me a few seconds before merging. I noticed a small bug where an unexpected EOL would not throw an error
19:31:52flaviu1Araq: After: `'('|')'|'['|']'|'{'|'}'`, before: `'(' ')'|'[' ']'|'{' '}'`
19:32:41AraqI noticed
19:33:10AraqI'm talking about regenerating doc/grammar.txt and perhaps the manual
19:33:43flaviu1sorry, didn't realize that that was manual. I can do that, give me a few minutes
19:33:51dom96flaviu1: Why does the enums example use low(int)/high(char) to demonstrate inc dec for enums?
19:34:16flaviu1dom96: You're right, I was going to combine ordinals with enums
19:34:40flaviu1Feel free to change that
19:59:11*kunev joined #nimrod
20:00:14*Matthias247 joined #nimrod
20:25:39*kunev quit (Quit: leaving)
20:39:35*Sergio965 joined #nimrod
21:06:10dom96Perhaps we should put in one of those requests for a re-review of whether we are allowed to have a wiki article
21:06:50*Changaco quit (Quit: Changaco)
21:08:47flaviu1dom96: Have you found any new sources?
21:09:34*Mat3 joined #nimrod
21:09:37dom96There is plenty of new sources, assuming that they are viable.
21:09:42Mat3hello
21:09:44dom96The Dr Dobbs article, the emerging langs talk
21:10:44flaviu1They've rejected the Dr Dobbs article the Strange Loop talk because they're primary sources
21:14:41dom96oh yeah, forgot about taht
21:14:42dom96*that
21:19:42Araqwhat IS a valid non-primary source?
21:20:10EXetoCgod himself
21:20:47*Demos joined #nimrod
21:20:54flaviu1Araq: An article in Dr Dobbs not written by you, or a paper on using Nimrod for experimental construct X
21:21:23Araqwhat do I have to do to become a wikipedia member and delete every PL article that lacks secondary sources?
21:21:39dom96you could do that without an account
21:21:56dom96maybe
21:22:34dom96actually nah, that would be silly
21:23:07AraqI can't see why. Let's delete half of wikipedia, in fact.
21:31:35Klaufironce this happened to Nemerle
21:31:40Klaufira few years back
21:31:53Klaufirthen a huge uproar came thanks to reddit
21:32:34Klaufirand the article has been undeleted as a result
21:32:37*jbe joined #nimrod
21:32:40Klaufirmaybe /r/programming can help
21:32:52Mat3hmm, good point
21:33:16dom96there was a moderate uproar on HN and it didn't help
21:33:22EXetoCsubjectivity in action?
21:33:45Mat3corruptivity ?
21:35:14dom96But perhaps if one of us wrote a blog post talking about how angry we are that the article has been deleted, and it becomes popular on reddit. Then maybe we could get it undeleted.
21:36:38flaviu1I think the best way is to just get a paper published in http://arxiv.org/
21:36:42EXetoCso we need either secondary sources, or people protesting? got it
21:41:10flaviu1The stuff with proving out of bounds accesses sounds good for a research paper, or maybe a paper on implementing an OS with regionized pointers
21:43:43*hoverbea_ joined #nimrod
21:44:46*Matthias247 quit (Read error: Connection reset by peer)
21:44:51*Johz quit (Ping timeout: 260 seconds)
21:45:46*hoverbe__ joined #nimrod
21:45:53*hoverbear quit (Ping timeout: 264 seconds)
21:46:41*hoverbe__ quit (Read error: Connection reset by peer)
21:47:41*hoverbea_ quit (Read error: Connection reset by peer)
21:51:51Araqflaviu1: it's not good enough for a research paper and I am not allowed to write it anyway
21:51:52*hoverbear joined #nimrod
21:51:59Araqwould just be another primary source
21:53:41*hoverbea_ joined #nimrod
21:54:27flaviu1They might make an exception if its typeset in Latex...
21:54:31EXetoCI can take the credit for it
21:56:50*hoverbear quit (Ping timeout: 265 seconds)
21:59:33Mat3ciao
21:59:44*Mat3 quit (Quit: Verlassend)
22:13:09KlaufirI am still struggling with map_iterator
22:14:02Klaufirhttps://gist.github.com/anonymous/fd4dad01266bf85c8878
22:14:20Klaufirhere I just want to wrap an iterator into another and pass the contents
22:15:10Klaufirso, I would expect 1..10 on the output, instead I see 1,1,1...
22:17:25flaviu1Klaufir: What happens when you do `var itTemp = it()` and iterate over that?
22:17:46dom96https://gist.github.com/dom96/4a9e941919509bdddbfd
22:18:25dom96Indeed. You need to create an instance of the iterator, otherwise you are iterating over a new instance which is why you get a 1 constantly.
22:18:49*Xuerian quit (Ping timeout: 252 seconds)
22:20:11*Xuerian joined #nimrod
22:24:17*ehaliewicz quit (Ping timeout: 264 seconds)
22:24:46reactormonkHow do I copy ranges of array items?
22:25:01Klaufirflaviu1, dom96 : thanks
22:25:16EXetoCranges?
22:25:42reactormonkEXetoC, yeah, copy X elements from array a to array b starting at element y
22:27:36fowlreactormonk, there is function for it
22:27:48fowlreactormonk, my recommendatin is copymem
22:27:53fowlno function for it*
22:28:01dom96I recommend you write a function to do it
22:28:05dom96copyMem is unsafe
22:28:24fowl(a function that would call copymem)
22:28:43EXetoCcan't slice assignment be used?
22:35:12Klaufirhow could this be improved: https://gist.github.com/anonymous/971c3b89da8ea1da3845 ?
22:36:44fowlKlaufir, it could do something useful
22:36:50fowlba-dum-chhh
22:38:58*hoverbea_ quit ()
22:43:12*jbe quit (Quit: Leaving)
22:46:35*brson quit (Quit: Lost terminal)
22:46:58*brson joined #nimrod
22:50:27*def-_ joined #nimrod
22:51:39*brson quit (Client Quit)
22:53:11*def- quit (Ping timeout: 252 seconds)
22:59:01*brson joined #nimrod
22:59:13fowlKlaufir, it looks fine how it is though
23:00:46Jehan_reactormonk: b[y..y+x-1] = a[y..y+x-1]
23:01:40*gsingh93_ joined #nimrod
23:03:57*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
23:05:14*brson quit (Quit: leaving)
23:16:27*Joe_knock joined #nimrod
23:34:50*brson joined #nimrod
23:35:49*Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:41:27flaviu1Wow, someone fixed the REPL
23:42:21*EXetoC1 joined #nimrod
23:43:21*EXetoC quit (Ping timeout: 240 seconds)
23:44:40Jehan_flaviu1: You mean that Ctrl-D works properly?
23:45:07flaviu1No, I can press up and down and use ctrl-Left/right
23:45:41dom96Didn't that always work as long as you compiled with a certain flag?
23:45:46Jehan_Hmm, did you compile with -d:useGnuReadline? Because that's what enables it.
23:46:29Jehan_-d:useGnuReadline has always worked fine, AFAIK.
23:47:00Jehan_It was the REPL without it that was messed up (because it went into an infinite loop when you hit Ctrl-D).
23:49:42*EXetoC1 is now known as EXetoC
23:53:52*askatasuna quit (Quit: WeeChat 0.4.3)
23:57:17dom96Even Swift's wiki article only has 3 references. Two of which are primary.
23:57:47*darkf joined #nimrod
23:58:03dom96And all the other news sources are bound to be just an echo of what Apple wrote/said.
23:58:12dom96How is that reliable?
23:58:14Jehan_dom96: Probably the "famous origin" exception. :)
23:58:22dom96... yeah :\
23:59:11Jehan_Honestly, I wouldn't worry much about it.
23:59:23Jehan_People don't go to WIkipedia to discover new programming languages.