00:00:05 | gokr | The pdf has more details. |
00:00:33 | Araq_ | oh wait |
00:00:42 | Araq_ | it's a Packrat Parser |
00:00:45 | * | Trustable quit (Quit: Leaving) |
00:00:48 | Araq_ | meh .... :P |
00:01:04 | gokr | PetitParser is heavily used in the Moose project which uses it to parse several programming languages |
00:01:14 | gokr | For doing analysis. |
00:01:32 | gokr | Araq_: Its a combo, I have said it to you already. |
00:01:52 | Araq_ | yeah I will take a closer look, sorry |
00:05:34 | gokr | This may be the most detailed paper on it: http://scg.unibe.ch/archive/papers/Reng10cDynamicGrammars.pdf |
00:07:25 | * | brson quit (Quit: leaving) |
00:07:38 | * | brson joined #nimrod |
00:10:32 | gokr | dts|pokeball: I can only say that I would love a port of PetitParser :) And its a fresh approach. It doesn't use a textual representation of the grammar, instead its a DSL. |
00:14:08 | ldlework | Araq_: why does using ${..-2} give the last argument? |
00:14:46 | Araq_ | dunno, I don't think it should |
00:15:30 | gokr | dts|pokeball: And here is a paper where someone extends PetitParser to handle indentation based languages, quite interesting: http://scg.unibe.ch/archive/projects/Sade13a.pdf |
00:15:32 | ldlework | Araq_: sorry |
00:15:47 | ldlework | Araq_: I spaced out while typing my question |
00:16:04 | ldlework | Araq_: why does using ${..-2} present all the arguments except the last? |
00:16:21 | ldlework | iow, why does -2 correspond to the last argument? |
00:16:31 | ldlework | is it because Nim arrays are null terminated? |
00:16:37 | Araq_ | ranges a..b are inclusive in Nim land |
00:16:56 | ldlework | oh I see |
00:17:19 | Araq_ | and before you come up with that Knuth paper ... he's wrong. |
00:17:25 | ldlework | lmfao |
00:17:41 | ldlework | Araq_: I'm pressing the blog article button. |
00:17:45 | * | gokr just hacked "map" for slices... |
00:18:11 | ldlework | Araq_: seriouosly write more, smaller articles |
00:19:25 | gokr | Araq_: But you wanted an explicit Interval type, instead of Slice, right? I don't recall the specific reasoning though. |
00:20:12 | Araq_ | gokr: I don't really care, it's just that '..' has been introduced because Nim lacks ternary operators |
00:21:08 | Araq_ | for me: x in a..b is a single operation, but the language doesn't allow proc `in ..` (x, a, b: int): bool |
00:21:31 | EXetoC | have it construct a slice then |
00:21:34 | EXetoC | ? |
00:21:51 | Araq_ | EXetoC: congratulations |
00:23:13 | EXetoC | well it does of course, but why do we have iterators called `..` again? |
00:23:51 | Araq_ | iterator '..' existed before the '..' proc |
00:25:01 | EXetoC | right |
00:27:09 | * | gokr just realizing ternary operators are... a limited form of Smalltalk's keyword syntax |
00:27:42 | ldlework | Araq_: if I added a random semantic for subexes would it get in? |
00:27:48 | Araq_ | I don't agree that you can them this way, gokr |
00:28:02 | Araq_ | btw we have named parameters too |
00:28:18 | ldlework | yeah those are nice |
00:28:19 | Araq_ | ldlework: what would be the point? |
00:28:44 | ldlework | Araq_: it would be like the one that accepts 0, 1 or other but, it would just pick a random one |
00:28:45 | gokr | No, I meant more like... in Smalltalk it goes "1 to: 10 do: [:i | blabla ]" |
00:29:00 | gokr | So #to:do is basically like "in .." |
00:29:33 | ldlework | Araq_: eh I guess there is no point |
00:29:38 | ldlework | Nevermind |
00:33:22 | gokr | Ok, gnite folks |
00:33:26 | ldlework | o/ |
00:33:46 | ldlework | Araq_: hmm, do you think it would even be possible to build something like this in Nim, https://gist.github.com/dustinlacewell/7ed9be6399c43368bd7d |
00:33:57 | gokr | dts|pokeball: If you do start hacking on PetitParser in Nim, let me know :) |
00:34:11 | ldlework | since, the strings themselves refer to callables? |
00:34:31 | ldlework | I can't use a string to magically find a reference to a function can I |
00:34:59 | gokr | Why not? |
00:35:00 | ldlework | Unless the macro made some sort of map |
00:35:06 | ldlework | gokr: no reflection |
00:35:23 | gokr | Yeah, ok, I just thought you wanted to stuff them in a table |
00:35:41 | ldlework | yeah that works as well |
00:35:54 | Araq_ | ldlework: looks quite easy to do |
00:35:57 | gokr | Wait... Nim has those "dot" thingies |
00:36:00 | ldlework | okay no one do it |
00:36:03 | ldlework | let me try first |
00:36:05 | ldlework | :) |
00:36:19 | ldlework | well I can't do it right now |
00:36:33 | Araq_ | well you have to do it differently, but nothing that a macro cannot patch |
00:36:53 | Araq_ | basic idea is that ... should I continue? |
00:37:50 | ldlework | Araq_: my strategy is, have the macro accept a structure similar to what the python shows, names to strings that contain template, the macro will parse the strings with the same exact regex I have now, and create a table of tokens to callables which it generates |
00:38:23 | ldlework | unless you think that wont work inherently, let me try that before you share :) |
00:38:44 | Araq_ | dunno, sounds convoluted |
00:38:50 | * | gokr dot operators goes the other way around of course... |
00:39:12 | Araq_ | ldlework: I'll tell you tomorrow how I'd do it |
00:39:17 | ldlework | Araq_: ok hehe |
00:54:17 | dts|pokeball | gokr, i wil |
00:59:07 | Araq_ | what's the best way to extract the images from http://reign-studios.net/philipwitte/nim/ ? |
01:00:20 | ldlework | lib/system.nim(2164, 6) Error: unhandled exception: false Invalid node kind nnkExprEqExpr for macros.`$` |
01:02:23 | Araq_ | proc `$`*(node: PNimrodNode): string {.compileTime.} = |
01:02:24 | ldlework | Araq_: what do you mean? |
01:02:24 | Araq_ | ## Get the string of an identifier node |
01:02:44 | ldlework | Oh I didn't even realize it was telling me something about `$` |
01:02:47 | Araq_ | does exprEqExpr look like an identifier to you? |
01:02:55 | ldlework | thanks |
01:03:00 | Araq_ | that's (a = b) btw |
01:03:03 | ldlework | right |
01:03:19 | ldlework | I assume exprEqExpr lets me get at each operand? |
01:03:44 | Araq_ | ldlework: I ported filwit's new design but don't have the images so it looks like crap |
01:04:02 | ldlework | Araq_: your browser will list all the image |
01:04:14 | Araq_ | how so? |
01:04:16 | ldlework | depending on how many there are that might be the easiest way |
01:04:21 | ldlework | Araq_: what browser do you use? |
01:04:29 | Araq_ | when I do "save as" it doesn't save the images |
01:04:32 | ldlework | nah |
01:04:37 | Araq_ | tried chrome and firefox |
01:05:12 | ldlework | Araq_: in chrome hit f12 |
01:05:53 | Araq_ | opens some sidebar |
01:05:58 | ldlework | yeah |
01:06:01 | ldlework | click resources |
01:06:19 | ldlework | there's about 20 images |
01:07:06 | ldlework | sorry, then expand "Frames" then "Images" |
01:07:54 | Araq_ | yeah I did that |
01:08:10 | Araq_ | and now I have a list |
01:08:19 | Araq_ | but I want to save the images |
01:08:41 | ldlework | yeah you can right click |
01:08:43 | ldlework | open in tab |
01:08:45 | ldlework | then save |
01:08:47 | ldlework | :) |
01:08:51 | ldlework | or use curl or otherwise |
01:08:55 | ldlework | and build up a commandline |
01:09:01 | ldlework | by right clicking them and copying their url |
01:09:18 | ldlework | quick |
01:09:30 | ldlework | build a downloader with nim |
01:09:34 | ldlework | use it like a scripting language |
01:09:58 | ldlework | Araq_: https://gist.github.com/a8dfafc0b4e4ffdbd762 |
01:13:37 | Araq_ | dude, I use Nim as scripting language all the time but it was faster to do by hand |
01:15:49 | * | dts|pokeball quit (Read error: Connection reset by peer) |
01:15:51 | ldlework | nice |
01:16:03 | ldlework | I think I'm getting an error merely importing httpclient |
01:16:45 | ldlework | https://gist.github.com/79cb2697a665c4f88af0 |
01:16:58 | ldlework | wtf.nim has a single line "import httpclient" |
01:18:16 | ldlework | oh |
01:18:19 | ldlework | derp |
01:18:22 | ldlework | I pulled and never rebuilt |
01:20:41 | ldlework | okay that works now |
01:20:52 | ldlework | heh though httpclient throws a bunch of deprecation warnings |
01:22:44 | Araq_ | we're not good at keeping up to date with the stdlib/language |
01:27:52 | Araq_ | good night |
01:31:25 | ldlework | I wish there was a way to get the last item of a sequence without having a named reference to it |
01:31:57 | ldlework | someUrl.split({'/'})[-1] |
01:36:03 | onionhammer | Araq_ |
01:36:11 | onionhammer | the nim version is faster than the rust version :p |
01:36:17 | ldlework | where are low and high and len and such implemented for sequences? |
01:39:39 | ldlework | I can't find them |
01:42:07 | EXetoC | system |
01:42:18 | willwillson | ldlework: something like "test/this/string".split({'/'})[-1 .. -1][0] ? |
01:42:19 | EXetoC | c(:)|< |
01:42:30 | ldlework | Oh I see |
01:42:40 | ldlework | it is a proc len*[T](x: seq[T]): |
01:42:42 | ldlework | err |
01:42:49 | ldlework | its marked with .magic. |
01:42:56 | ldlework | does that mean it's implementation is in the C? |
01:43:44 | willwillson | that means it is built into the compiler |
01:43:46 | ldlework | willwillson: yes, but not so verbose |
01:44:11 | ldlework | willwillson: how can I make my own magic function like LengthSeq |
01:44:25 | ldlework | actually I don't need to |
01:44:33 | willwillson | ldlework: modifiy the compiler ;-) |
01:46:32 | ldlework | implementing .last was trivial |
01:46:39 | ldlework | sorry for the distraction |
01:47:02 | ldlework | don't you guys think that would be a generally useful addition? |
01:47:17 | ldlework | compliments to high and low |
01:47:21 | ldlework | first and last ? |
01:50:27 | EXetoC | 'first' also for the sake of consistence? |
01:51:20 | ldlework | yeah |
01:51:28 | ldlework | also, sequences don't always start at 0 |
01:52:01 | willwillson | sequences do, arrays don't right? |
01:52:08 | ldlework | ?? |
01:52:26 | EXetoC | willwillson: right |
01:52:31 | willwillson | i thought sequences are always zero indexed |
01:52:48 | ldlework | oh you're right |
01:53:04 | EXetoC | you still have 'low' though |
01:53:23 | ldlework | yeah, so it is consistent all around then |
01:54:06 | ldlework | someUrl.split({'/'}).last |
01:54:48 | ldlework | actually |
01:55:03 | ldlework | we should also just support negative indexing on sequences |
01:55:09 | * | brson quit (Quit: leaving) |
01:56:27 | ldlework | can array indicies be negative? |
02:00:49 | willwillson | seems like they can |
02:02:48 | willwillson | maybe your last proc should just take an optional negative index? |
02:04:52 | * | vendethiel quit (Ping timeout: 245 seconds) |
02:11:37 | * | vendethiel joined #nimrod |
02:11:38 | * | q66 quit (Quit: Leaving) |
02:12:35 | * | mko quit (Ping timeout: 250 seconds) |
02:12:53 | * | wan quit (Ping timeout: 264 seconds) |
02:13:15 | * | wan joined #nimrod |
02:13:39 | * | wan is now known as Guest89006 |
02:21:41 | * | Guest89006 quit (Ping timeout: 250 seconds) |
02:22:32 | ldlework | willwillson: why would last take any parameter at all? |
02:22:49 | ldlework | willwillson: it just does = x[x.high] |
02:23:19 | willwillson | I meant make a proc for negative indexing |
02:24:12 | ldlework | seems like if it wasn't part of [] it wouldn't be worth it |
02:24:25 | ldlework | and you'd have to make .. support it |
02:24:28 | ldlework | probably too much work |
02:24:29 | EXetoC | last(n=-1) |
02:24:44 | EXetoC | it's just a couple more statements surely |
02:24:54 | * | brson joined #nimrod |
02:25:03 | EXetoC | oh |
02:25:18 | EXetoC | there's no need. just have a similar interface for .. |
02:25:29 | ldlework | if last took an arg, it might be like s.last(5) and it gives you a slice of the last five elements |
02:25:44 | ldlework | but I'm just thinking s[s.high] shortcut |
02:26:29 | ldlework | EXetoC: there's no need for what |
02:27:12 | EXetoC | why not just let .. be? |
02:27:30 | EXetoC | and returning a slice if larger than 1 seems confusing |
02:27:53 | EXetoC | and do you expect it to be an int{lit} parameter then? |
02:29:34 | * | brson quit (Client Quit) |
02:29:45 | * | flaviu joined #nimrod |
02:30:15 | flaviu | ldlework: I like flaviu too! ;) |
02:30:45 | flaviu | dts|pokeball: If you check the logs, wrap libmarpa instead! |
02:31:23 | flaviu | It's excessively awesome. |
02:32:25 | * | vendethiel quit (Ping timeout: 244 seconds) |
02:32:45 | * | darkf joined #nimrod |
02:34:14 | * | vendethiel joined #nimrod |
02:46:24 | EXetoC | I can't remember why it wasn't possible to capture parametes |
02:48:41 | EXetoC | it would be nice to avoid having to do this bufPtr[]... in those cases, when copying the actual object would be undesirable |
03:03:09 | EXetoC | template to the rescue I guess |
03:14:15 | flaviu | ldlework: Ok, I had time to write something up before going to bed. Hopefully this will explain my what I'm thinking: https://github.com/nimlets/nimlets.github.io/blob/master/code/notes.md |
03:18:24 | * | EXetoC quit (Quit: WeeChat 1.0.1) |
03:18:40 | * | vendethiel quit (Ping timeout: 260 seconds) |
03:18:55 | * | flaviu quit (Ping timeout: 244 seconds) |
03:25:58 | * | vendethiel joined #nimrod |
03:31:01 | * | dts|pokeball joined #nimrod |
03:58:30 | * | quasinoxen quit (Ping timeout: 256 seconds) |
04:10:04 | * | quasinoxen joined #nimrod |
04:23:43 | * | willwillson quit (Ping timeout: 244 seconds) |
04:54:00 | * | Guest89006 joined #nimrod |
05:17:51 | * | BlaXpirit joined #nimrod |
05:48:52 | * | quasinoxen quit (Ping timeout: 255 seconds) |
05:50:12 | * | quasinoxen joined #nimrod |
05:53:20 | * | vendethiel quit (Ping timeout: 258 seconds) |
05:57:02 | * | vendethiel joined #nimrod |
06:19:57 | * | ARCADIVS joined #nimrod |
06:22:32 | * | dts|pokeball is now known as illuminaughty |
06:22:46 | * | illuminaughty is now known as dts|pokeball |
06:25:12 | * | dts|pokeball is now known as marketbot |
06:25:39 | * | marketbot is now known as dts|pokeball |
06:39:34 | * | BlaXpirit quit (Quit: Quit Konversation) |
06:40:57 | * | vendethiel quit (Ping timeout: 240 seconds) |
06:42:49 | * | vendethiel joined #nimrod |
06:44:13 | * | Guest89006 quit (Quit: WeeChat 1.0.1) |
06:55:48 | * | bjz joined #nimrod |
06:56:46 | dts|pokeball | ummma Araq_ are you there? |
06:57:01 | ldlework | not likely |
06:57:33 | dts|pokeball | i just created an account on the forums |
06:57:42 | dts|pokeball | how did it get my github account? |
06:58:29 | * | starless joined #nimrod |
07:01:37 | ldlework | Nim is funded by the NSA |
07:01:47 | dts|pokeball | i thought so |
07:01:57 | ldlework | :) |
07:03:49 | dts|pokeball | are you familiar with the --passC compiler option? |
07:03:58 | ldlework | not at all |
07:04:24 | dts|pokeball | damn |
07:08:57 | * | gokr_ quit (Ping timeout: 240 seconds) |
07:09:35 | * | gokr_ joined #nimrod |
07:19:05 | dts|pokeball | there should be a compiler option for running your program with valgrind |
07:19:12 | dts|pokeball | or something like that |
07:19:14 | gokr_ | Smalltalk has last, last:, first, first:, second, third etc |
07:19:31 | dts|pokeball | what? |
07:19:42 | ldlework | gokr_: nice |
07:19:43 | gokr_ | Responded to ldlework |
07:19:56 | ldlework | gokr_: would you support such a patch to the core? |
07:20:14 | ldlework | maybe not second and third, etc :P |
07:20:35 | dts|pokeball | oh |
07:20:37 | gokr_ | Not core perhaps, but definitely to utils libs |
07:20:47 | ldlework | gokr_: oh right |
07:20:54 | gokr_ | I have a whole slew of things I want |
07:20:57 | ldlework | gokr_: I continuously forget how extensibel the language is |
07:21:02 | gokr_ | later |
07:21:06 | ldlework | import a module, ton of methods |
07:31:41 | * | gour joined #nimrod |
07:31:45 | gokr_ | yep |
07:33:30 | dts|pokeball | Only top-level symbols that are marked with an asterisk (*) are exported: |
07:33:36 | dts|pokeball | whats a top level symbol? |
07:34:39 | * | starless quit (Quit: WeeChat 0.4.2) |
07:37:23 | dts|pokeball | never mind |
07:40:14 | * | gokr_ quit (Read error: Connection reset by peer) |
07:40:40 | * | gokr_ joined #nimrod |
07:42:19 | gokr | ldlework: Did you see my last article? |
07:42:31 | ldlework | gokr: I dunno did i |
07:43:05 | gokr | http://goran.krampe.se/category/nim/ |
07:43:07 | gokr | The one on top |
07:43:20 | gokr | Given that you were wondering a bit about seq |
07:44:56 | ldlework | gokr: yeah I read it |
07:45:45 | dts|pokeball | if i wanted to seperate my code into modules, would i need to pass each module to the compiler or just the main one, and the compiler handles the rest through importing? |
07:46:21 | ldlework | dts|pokeball: the latter |
07:46:30 | dts|pokeball | awesome |
07:47:17 | dts|pokeball | see, this is why i like nim better than c. i dont have to bother with this linking shit because .h files are the only way to hide data |
07:49:10 | gokr | dts|pokeball: So did you decide which way to go? :) |
07:50:37 | dts|pokeball | gokr, for the parser generator? |
07:50:44 | gokr | yeah |
07:51:16 | dts|pokeball | im just going to do a straight forward port of petiteparser then decide on a proper parsing algorithim |
07:51:28 | dts|pokeball | im just going to do a straight forward port of petiteparser then decide on a proper parsing algorithim when i finish and start refactoring ** |
07:51:31 | gokr | Which one are you looking at? |
07:51:48 | gokr | The Java and Dart versions are on github |
07:52:01 | dts|pokeball | dart, just because if i dont have to deal with java im happy. and a happy dts writes better code |
07:52:22 | gokr | Dart is probably more similar to the original also, since Dart is a "Smalltalk in disguise" |
07:53:07 | dts|pokeball | tbh its been a whjile since ive even seen dart code, but hopefully it wont be too hard to pick back up again |
07:53:24 | gokr | Lukas did lots of really good stuff in the Smalltalk community before he got "snatched up" by Google, and now for obvious reasons uses Dart instead. |
07:54:47 | dts|pokeball | hmmm interesting. i should learn smalltalk one of these days |
07:55:13 | gokr | Smalltalk has been my "home" since 1994. Its a drug. |
07:55:48 | gokr | I hope to bring over some of that Smalltalk goodness into the Nim community. |
07:56:05 | dts|pokeball | im particularly interested in it because of the roots c++ has in it |
07:56:21 | dts|pokeball | it being smalltalk |
07:56:40 | dts|pokeball | i would try and bring language culture, but it already has everything i like |
07:56:57 | gokr | A lot of things come from Smalltalk. More than people know. |
07:57:40 | gokr | The modern UI. XP. Scrum. Refactoring. Unit testing. Traits. OO. Eclipse. Ruby. |
07:57:48 | gokr | Just to mention a few :) |
07:58:44 | dts|pokeball | i knew about OO tbh |
07:59:41 | gokr | Most of the JIT stuff including HotSpot has its roots there too. |
07:59:52 | dts|pokeball | hotspot? |
08:00:02 | gokr | The dynamic JIT tech in the JVM. |
08:00:06 | dts|pokeball | ah |
08:00:14 | dts|pokeball | i try to stay away from the jvm lol |
08:00:28 | gokr | Adaptive JITing was born in Self first. Self being basically a prototypical Smalltalk. |
08:00:29 | dts|pokeball | btw gcc 5.0 is getting JIT compilation support!!! |
08:01:15 | gokr | Then it was commercialized in a small company. That company was in turn bought by Sun (if IBM had bought it, then Smalltalk would have gotten it) and integrated into the JVM and dubbed "hotspot". |
08:01:59 | gokr | If you want to peek at Smalltalk - try pharo.org. And www.world.st is a reasonably nice top level portal. |
08:02:16 | dts|pokeball | ooo cool |
08:02:54 | gokr | Pharo is the leading open source Smalltalk, and... well, if you really try it out it will blow your mind. |
08:06:14 | gour | Varriount, onionhammer: i see that you're behind NimLime and wonder if plugin does work with limetext? |
08:14:26 | gokr | dts|pokeball: What platform are you on? |
08:14:39 | dts|pokeball | typically linux |
08:14:49 | dts|pokeball | ubuntu atm just because manjaro lost support |
08:14:51 | gokr | I just downloaded a prebuilt PetitParser image for Pharo 3.0, so i can help you get it up. |
08:14:59 | gokr | Good, I am on Ubuntu too. |
08:15:03 | dts|pokeball | ooo awesome |
08:15:04 | dts|pokeball | ok |
08:15:12 | dts|pokeball | let me just get pharao installed real quick |
08:15:53 | gokr | using the PPA or? |
08:16:12 | dts|pokeball | theres a ppa? fukk |
08:16:19 | gokr | You can hop over to #pharo btw, so we not litter this channel |
08:16:32 | dts|pokeball | nvm found it |
08:16:36 | dts|pokeball | and good point |
08:16:48 | * | khmm joined #nimrod |
08:18:04 | * | yglukhov__ joined #nimrod |
08:20:57 | * | khmm quit (Ping timeout: 240 seconds) |
08:29:47 | * | vendethiel quit (Ping timeout: 252 seconds) |
08:30:59 | * | vendethiel joined #nimrod |
08:54:29 | * | Trustable joined #nimrod |
09:03:28 | * | Sembei quit (Ping timeout: 250 seconds) |
09:20:48 | * | milosn quit (Ping timeout: 244 seconds) |
09:42:48 | * | Sembei joined #nimrod |
09:44:39 | * | Sembei quit (Client Quit) |
09:47:35 | * | ARCADIVS quit (Quit: ARCADIVS) |
09:54:29 | * | milosn joined #nimrod |
10:06:50 | * | irrequietus joined #nimrod |
10:11:38 | * | Araq0 joined #nimrod |
10:12:13 | Araq0 | gokr_: you have to be careful with statements like: "A lot of things come from Smalltalk. ... The modern UI. XP. Scrum. Refactoring. Unit testing. Traits. OO. Eclipse. Ruby." |
10:12:33 | Araq0 | these things are not universally seen as good things ;-) |
10:13:11 | gokr | Well, so people have different views - so what? |
10:13:55 | gokr | And further - its never black and white. |
10:15:16 | gokr | But that list is not wrong, those things are examples where the roots are in Smalltalk. |
10:17:58 | Araq0 | so ... I almost have the new website ready |
10:18:04 | gokr | Nice! |
10:18:40 | gokr | I was meant to try integrating a SMART board today, but... I accidentally got the Win SDK and not the OSX one. sigh |
10:23:22 | gokr | Further, regarding that list - XP and Scrum both have "good" aspects in them, refactoring is hard to argue being "bad", unit testing likewise, Traits is interesting but personally I consider it not overly useful but wouldn't call it "bad", OO is not "bad" either. So Eclipse and Ruby then... Eclipse is a strong IDE, wouldn't call it "bad"? And Ruby, well... not my favourite of course, but its a fairly decent language. |
11:03:51 | * | q66 joined #nimrod |
11:04:51 | Araq0 | fair enough but I dislike Eclipse and I happen to think it's incredibly poor given the amount of resources that have been put into it |
11:14:27 | * | khmm joined #nimrod |
11:15:02 | * | gour quit (Quit: Konversation terminated!) |
11:15:29 | * | gour joined #nimrod |
11:19:57 | gokr | Admittedly it was several years since I used it. |
11:22:29 | * | khmm quit (Ping timeout: 250 seconds) |
11:22:55 | gokr | And I liked VisualAge much better of course |
11:25:30 | * | khmm joined #nimrod |
11:30:29 | * | flaviu joined #nimrod |
11:30:42 | * | gokr_ quit (Remote host closed the connection) |
11:33:02 | * | gokr_ joined #nimrod |
11:35:05 | * | yglukhov___ joined #nimrod |
11:35:06 | * | yglukhov__ quit (Read error: Connection reset by peer) |
11:38:08 | * | gour_ joined #nimrod |
11:41:28 | * | gour quit (Ping timeout: 256 seconds) |
11:49:12 | * | gour_ is now known as gour |
11:58:06 | * | flaviu quit (Ping timeout: 250 seconds) |
12:04:13 | * | perturbation joined #nimrod |
12:04:17 | * | EXetoC joined #nimrod |
12:43:27 | * | perturbation quit (Remote host closed the connection) |
13:02:05 | * | dom96_ quit (Ping timeout: 264 seconds) |
13:30:19 | * | Araq0 quit (Quit: Page closed) |
13:40:05 | * | vendethiel quit (Ping timeout: 264 seconds) |
13:42:36 | * | irrequietus quit () |
13:44:47 | * | vendethiel joined #nimrod |
13:57:19 | onionhammer | gour im not familiar with limetext |
13:58:01 | onionhammer | gour actually it appears i have the project starred on github, but i dont think i've tried it ;) |
14:01:18 | gour | onionhammer: ok. i'm told that limetext does support ST3 plugins, but wonder whether nim plugin is for ST2? |
14:01:43 | gour | limetext is not ready (yet), but it looks as nice open-source alternative for ST... |
14:04:18 | * | darkf quit (Quit: Leaving) |
14:04:39 | * | darkf joined #nimrod |
14:22:52 | * | rpag joined #nimrod |
14:23:09 | * | rpag quit (Remote host closed the connection) |
14:24:19 | * | untitaker quit (Ping timeout: 258 seconds) |
14:25:29 | * | BitPuffin joined #nimrod |
14:28:59 | * | untitaker joined #nimrod |
14:34:05 | * | quasinoxen quit (Quit: quasinoxen) |
14:35:59 | * | gour_ joined #nimrod |
14:36:29 | * | gokr_ quit (Ping timeout: 245 seconds) |
14:37:12 | * | gokr_ joined #nimrod |
14:39:58 | * | gour quit (Ping timeout: 256 seconds) |
14:45:43 | * | gour_ is now known as gour |
15:11:19 | * | darkf quit (Quit: Leaving) |
15:31:40 | * | q66 quit (Remote host closed the connection) |
15:33:51 | * | q66 joined #nimrod |
15:37:19 | * | drewsrem joined #nimrod |
15:48:47 | onionhammer | gour ninlime should work fine with ST3. |
15:49:08 | onionhammer | I use ST2 and Varriount uses st3 iirc |
15:51:52 | gour | onionhammer: that's great to hear...making limetext interesting option as nim-capable editor |
15:52:04 | * | dom96_ joined #nimrod |
16:03:09 | * | nickles joined #nimrod |
16:08:51 | nickles | Where's the new website? |
16:11:44 | * | brson joined #nimrod |
16:15:09 | * | zio_tom78 joined #nimrod |
16:26:25 | * | Araq0 joined #nimrod |
16:27:26 | Araq0 | nickles: it's not online yet. But I'll have it ready soon |
16:27:51 | Araq0 | the forum already uses the new design |
16:32:56 | nickles | Thx for the info! |
16:33:03 | * | nickles quit () |
16:34:34 | * | zio_tom78 quit (Ping timeout: 250 seconds) |
16:50:22 | * | milosn quit (Ping timeout: 258 seconds) |
16:50:25 | * | gokr_ quit (Read error: Connection reset by peer) |
16:51:02 | * | gokr_ joined #nimrod |
16:53:13 | * | Araq0 quit (Quit: Page closed) |
16:56:47 | * | starless joined #nimrod |
16:57:17 | * | dom96_ quit (Ping timeout: 240 seconds) |
16:59:05 | * | filcuc joined #nimrod |
16:59:48 | filcuc | hi all is there a way to get the type of an object at runtime. With type i mean runtime type |
17:00:08 | filcuc | like c++ RTTI |
17:01:27 | * | khmm quit (Ping timeout: 244 seconds) |
17:03:41 | * | Demos quit (Read error: Connection reset by peer) |
17:06:21 | * | filcuc quit () |
17:06:37 | * | rpag joined #nimrod |
17:06:57 | * | rpag quit (Remote host closed the connection) |
17:15:15 | * | mwbrown joined #nimrod |
17:17:28 | * | mwbrown left #nimrod (#nimrod) |
17:18:37 | * | gokr_ quit (Ping timeout: 240 seconds) |
17:19:18 | * | gokr_ joined #nimrod |
17:22:20 | dts|pokeball | how do i import a local module? |
17:23:14 | * | milosn joined #nimrod |
17:23:43 | * | willwillson joined #nimrod |
17:24:45 | willwillson | dts|pokeball: if the file is named mymodule.nim, you just import with `import mymodule` |
17:25:54 | willwillson | dts|pokeball: if it is in a subdir, do `import sub_dir/mymodule` |
17:26:12 | dts|pokeball | oh awesome |
17:35:42 | * | Matthias247 joined #nimrod |
17:38:40 | * | kniteli joined #nimrod |
17:40:39 | * | BlaXpirit joined #nimrod |
17:46:54 | * | gokr_ quit (Read error: Connection reset by peer) |
17:49:09 | * | gokr_ joined #nimrod |
18:00:22 | * | quasinoxen joined #nimrod |
18:16:41 | * | Sembei joined #nimrod |
18:29:28 | * | yglukhov___ quit (Ping timeout: 256 seconds) |
18:41:23 | * | starless quit (Quit: WeeChat 0.4.2) |
18:49:17 | * | gokr_ quit (Ping timeout: 240 seconds) |
18:49:43 | * | gokr_ joined #nimrod |
18:51:27 | Araq_ | ugh what is # for class and '.' for id or what? |
18:51:27 | * | kniteli quit (Remote host closed the connection) |
18:51:48 | Araq_ | how come my CSS never is applied? |
18:54:44 | EXetoC | either because it's being overridden by more specific selectors or simply because the selector is wrong |
18:54:51 | EXetoC | id is # |
18:56:27 | Araq_ | what does |
18:56:30 | Araq_ | #body pre > .Comment |
18:56:32 | Araq_ | mean? |
18:59:07 | * | PV_ joined #nimrod |
19:01:14 | EXetoC | the classes named 'Comment' whose parents are 'pre' residing in elements with the 'body' id |
19:01:16 | EXetoC | I think |
19:02:23 | Araq_ | well what does the '>' mean? |
19:02:39 | Araq_ | some subtree under 'pre' ? |
19:04:24 | * | gokr_ quit (Read error: Connection reset by peer) |
19:05:36 | * | gokr_ joined #nimrod |
19:05:50 | EXetoC | that .Comment must have a 'pre' parent |
19:06:36 | EXetoC | that it must be exactly one level below in other words |
19:13:30 | EXetoC | does it need to be this specific? should different instances of .Comment have different styling? |
19:14:23 | Araq_ | dunno, I didn't write it |
19:14:29 | Araq_ | I guess it's not necessary |
19:14:50 | EXetoC | css practice http://flukeout.github.io/ |
19:18:32 | * | drewsrem quit (Quit: Leaving) |
19:19:08 | * | asterite joined #nimrod |
19:35:48 | * | PV_ quit (Quit: Page closed) |
19:40:23 | * | rpag joined #nimrod |
20:03:07 | * | Matthias247 quit (Quit: Matthias247) |
20:07:09 | Araq_ | we need more smart quotes |
20:08:02 | asterite | Yes, I always wished a programming language could guess where a string ends without me having to specify that |
20:08:38 | Araq_ | indentation based string literals? |
20:09:15 | asterite | Oh, it was just a joke about “we need more smart quotes” |
20:09:23 | Araq_ | when I had the idea, """ already made it into the language |
20:09:36 | Araq_ | and people dislike too many ways of doing the same thing |
20:11:38 | Araq_ | dom96: I finished the website but you need to update the navigation of the forum |
20:11:57 | Araq_ | and you'll have to do this again when I add the "support" tab |
20:16:11 | Araq_ | asterite: as a language designer, what do you think of the "strong spaces" idea? |
20:16:40 | asterite | I’m just a language designer by chance, we started the language as an experiment :) |
20:17:07 | asterite | Mmm… I think it’s a nice idea, but I don’t know how it will work in practice… are there any other languages that work like that? |
20:18:12 | asterite | Some programmers I know just don’t care about whitespace, like they write 1+2 * 3 or whatever |
20:18:19 | asterite | so for them that rule will be bothering |
20:18:47 | asterite | or it will give them a lesson :-P |
20:19:15 | Araq_ | there was some research language that used it but I forgot its name |
20:20:00 | Araq_ | anyway it doesn't count as "has been tried in practice" |
20:21:02 | asterite | Unless you are writing lots of math code, I think that it won’t matter that much. And for those cases parentheses are enough and are already well understood |
20:21:38 | * | repax joined #nimrod |
20:22:12 | Araq_ | hi repax welcome |
20:22:35 | repax | hi there! |
20:22:44 | gokr | Araq_: Fortress seems to have something similar. |
20:22:49 | Araq_ | asterite: well arguably Ruby uses "strong spaces" of some sort, +foo is different from + foo or something like that |
20:23:06 | gokr | I am looking at page 101 in the spec and it talks about "tight" and "loose" juxtaposition. |
20:23:14 | gokr | http://homes.soic.indiana.edu/samth/fortress-spec.pdf |
20:23:25 | Araq_ | fortress is dead, right? |
20:23:37 | asterite | Araq_: I think that only applies to numbers, like +1 is a literal, + 1 is a method call, but +foo is always a method call |
20:23:40 | gokr | I think so, AFAIK it was dropped |
20:24:17 | gokr | But you will find 61 hits of the word "whitespace" in that spec :) |
20:24:53 | Araq_ | yeah, it's nice |
20:25:06 | Araq_ | asterite: quite sure there are other cases where it matters |
20:39:55 | * | flaviu joined #nimrod |
21:01:52 | * | Matthias247 joined #nimrod |
21:04:06 | gokr | dts|pokeball: Chatting with Lukas Renggli |
21:09:57 | * | bjz quit (Ping timeout: 240 seconds) |
21:22:48 | * | zio_tom78 joined #nimrod |
21:23:30 | Araq_ | hi zio_tom78 I like your CSS for the docs. where can I find it? |
21:23:56 | zio_tom78 | Wow! |
21:24:26 | zio_tom78 | It's my second attempt to create a CSS |
21:24:53 | zio_tom78 | The page I sent a few days ago was created using Jsfiddle |
21:25:39 | zio_tom78 | Although the CSS was created from SASS files and is minified |
21:26:53 | zio_tom78 | Do you just want the minified CSS or the source? |
21:27:02 | Araq_ | the source |
21:27:06 | zio_tom78 | Ok |
21:27:33 | zio_tom78 | Wait a moment, I need to turn on my laptop |
21:28:13 | Araq_ | well it's better than the current CSS |
21:28:24 | * | asterite quit (Quit: asterite) |
21:28:25 | Araq_ | it's perhaps to ubuntu-like though |
21:32:10 | * | zio_tom78 quit (Quit: Bye) |
21:32:32 | * | zio_tom78 joined #nimrod |
21:32:37 | zio_tom78 | Ok, back again |
21:32:53 | zio_tom78 | I am not an expert of IRC, can I use it to send files? |
21:33:15 | * | kniteli joined #nimrod |
21:34:40 | * | starless joined #nimrod |
21:36:13 | Araq_ | dunno. just gist it please |
21:36:37 | zio_tom78 | I just found the way, using DCC. Have you got the zip file? |
21:36:42 | Araq_ | ok, never mind, seems to work |
21:36:46 | zio_tom78 | Great |
21:36:55 | Araq_ | no, it failed |
21:39:37 | zio_tom78 | Araq_: Ok, nevermind, I created a gist as you suggested: https://gist.github.com/ziotom78/9886e778a7e18894e5bf |
21:40:32 | zio_tom78 | I've just added a short README.txt |
21:41:14 | * | dom96_ joined #nimrod |
21:41:49 | flaviu | I can't assign a proc from another module to a variable? |
21:41:59 | flaviu | Is that working as intended? |
21:42:24 | flaviu | Yes, it is |
21:43:28 | flaviu | ldlework: Got the decorators you asked for working! |
21:44:59 | flaviu | https://gist.github.com/b59ccbb3a1a71e79c686 |
21:51:29 | * | drewsrem joined #nimrod |
21:53:17 | Araq_ | guys, check out the new website |
21:54:11 | dom96_ | Araq_: Please add something else to that ticker. |
21:54:21 | dom96_ | And make the timeout longer. |
21:54:35 | dom96_ | People need more time to observe the code. |
21:54:46 | dom96_ | tbh I think putting the code in the ticker is a bit of a bad idea... |
21:55:07 | Araq_ | I agree but it's too late now |
21:55:30 | dom96_ | Why is the ticker on every page!?!?! |
21:56:19 | dom96_ | You also need to get rid of the nimbuild link |
21:56:28 | gour | Araq_: is FAQ link alive? |
21:56:45 | gour | now it is... |
21:57:16 | dom96_ | Araq_: This is what the docs page should look like: http://reign-studios.net/philipwitte/nim/docs.htm |
21:57:49 | Araq_ | ah, so it supports getting rid of the ticker out of the box, nice |
21:57:57 | dom96_ | Also, the links at the top should match the forum's... |
21:58:23 | dom96_ | I can add a "News" link if you want |
21:58:30 | dom96_ | But you need the forum link |
22:00:41 | gour | the table at https://github.com/Araq/Nimrod/wiki/Nimrod-for-C-programmers is broken? |
22:00:44 | ldlework | Araq_: it looks nice |
22:00:48 | gokr | Noticed some links failing. The ones pointing to https://github.com/Araq/Nim |
22:01:15 | gour | it's strange to scroll to see last column |
22:01:18 | ldlework | I agree we should remove the ticker from pages that are not the front page |
22:02:57 | Araq_ | yeah yeah, working on it! |
22:03:18 | ldlework | hehe |
22:03:21 | * | rHermes|webchat joined #nimrod |
22:03:24 | rHermes|webchat | Hello :) |
22:03:28 | Araq_ | servus |
22:03:41 | rHermes|webchat | Just found the language and really eager to try it! |
22:03:46 | rHermes|webchat | But I'm having some problems building it :o |
22:03:52 | rHermes|webchat | I've been doing the git build |
22:03:59 | rHermes|webchat | Using the devel branch |
22:04:06 | rHermes|webchat | And when doing ./koch boot -d:release i get the following error: |
22:04:10 | rHermes|webchat | usr/home/knownperson/build/testing/Nimrod/compiler/nimcache/cgen.o: In function `cgenwritemodules_592360': cgen.c:(.text+0x22dd0): undefined reference to `writemapping_203898' |
22:04:21 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:04:25 | dts|pokeball | is devel the the nim or nimrod one? |
22:04:26 | rHermes|webchat | I'm using FreeBSD kai 10.1-RELEASE |
22:04:34 | Araq_ | used the c sources from devel as well? |
22:04:37 | dom96_ | Did you switch to the devel branch when you cloned the C sources |
22:04:38 | rHermes|webchat | Yes. |
22:04:38 | dom96_ | ? |
22:04:46 | ldlework | rHermes|webchat: ;) |
22:05:09 | dts|pokeball | rHermes|webchat, where did you get the instructions to build it? |
22:05:11 | rHermes|webchat | Thanmks ldlework :) |
22:05:15 | Araq_ | hrm this error is new |
22:05:22 | rHermes|webchat | https://github.com/Araq/Nimrod |
22:06:15 | ldlework | Am I the only one who finds this screen extremely hard to read/focus on? http://forum.nim-lang.org/ |
22:06:18 | dts|pokeball | if you followed those instructions then idk. |
22:06:35 | dts|pokeball | i actually like it ldlework |
22:06:54 | * | rpag quit (Ping timeout: 264 seconds) |
22:06:57 | * | heinrich5991 quit (Ping timeout: 245 seconds) |
22:07:12 | EXetoC | because of the contrast? me and someone else complained about that before |
22:07:22 | * | reloc0 quit (Ping timeout: 245 seconds) |
22:07:37 | * | heinrich5991 joined #nimrod |
22:07:38 | * | reloc0 joined #nimrod |
22:07:43 | ldlework | Its like my eyes can't even look at it |
22:07:52 | ldlework | they just get scattered around and never focus on the thread titles |
22:07:53 | rHermes|webchat | Araq_: I don't mean to take up your time, I just searched through the issues and couldn't find a referance to it |
22:08:17 | gour | right column's (Activity) coloring is strange to me |
22:08:26 | ldlework | gour: I wish the whole thing were colored like that |
22:08:27 | Araq_ | well try the official zip please, rHermes|webchat |
22:08:28 | * | nickles joined #nimrod |
22:08:31 | ldlework | that's the easiest part to read |
22:08:37 | rHermes|webchat | Araq_: The 0.9.6 tar ball worked for me, but I would very much like to be on the latest version |
22:08:47 | rHermes|webchat | Araq_: I did so, and it worked. |
22:08:59 | dts|pokeball | rHermes|webchat, what c compiler do you have? |
22:09:10 | rHermes|webchat | gcc48, FreeBSD |
22:09:22 | EXetoC | having the lighter color there would reduce the overall background contrast |
22:09:28 | rHermes|webchat | 4.8.3 |
22:09:56 | Araq_ | rHermes|webchat: well ensure that 0.9.6 doesn't interfere with your building of 0.10.1 |
22:10:04 | Araq_ | (which is devel) |
22:10:10 | rHermes|webchat | How would I assure this? |
22:10:13 | rHermes|webchat | by deleteing the old one? |
22:10:18 | gour | Idlework: maybe, but now it does not fit with the left side (imho) |
22:10:27 | Araq_ | that's one possibility |
22:11:04 | rHermes|webchat | ok, deleted everything related to the previous and current build and trying again :) |
22:11:46 | flaviu | We really need to get filwit back for at least a few moments. The background looks terrible because of blending issues. |
22:11:58 | rHermes|webchat | Well first off all, have to change Araq/Nim to Araq/Nimrod |
22:13:49 | starless | look at this sexy new website |
22:13:53 | starless | I didn't know the name was changing |
22:14:16 | * | BlaXpirit quit (Quit: Quit Konversation) |
22:14:54 | rHermes|webchat | Oh wow |
22:15:10 | rHermes|webchat | I though I had seen the real website before, but this is the new one then |
22:15:30 | rHermes|webchat | How long has it been up? |
22:15:53 | dom96_ | flaviu: The background of the new website is too dark. |
22:16:26 | flaviu | sure, but it's also of poor resolution, which is more important IMO |
22:16:36 | repax | roadmap link on nim-lang.org points to https://github.com/Araq/Nim/wiki/Roadmap which doesn't exist |
22:16:50 | flaviu | Please tell me I'm not the only one to see the artifacts here: http://reign-studios.net/philipwitte/nim/images/bg.jpg |
22:17:54 | starless | flaviu: it looks like the crown was stretched from a lower res image |
22:17:59 | starless | but that's hardly noticable |
22:18:14 | flaviu | Look at the dots in the foreground |
22:18:14 | ldlework | readable: http://i.imgur.com/n5pu8qg.png |
22:18:18 | starless | meaning I didn't see that backgruond at all anymore |
22:18:21 | starless | ground* |
22:18:23 | dom96_ | flaviu: I don't see any artifacts. |
22:18:24 | EXetoC | artifacts or not, it doesn't look good |
22:18:40 | ldlework | flaviu: those dots are supposed to be there I think |
22:18:48 | rHermes|webchat | ok Araq_ first error here |
22:18:50 | ldlework | I think it does look good |
22:18:57 | flaviu | ldlework: They are. But notice how some are blurrier than others. |
22:18:57 | rHermes|webchat | Araq_: [Linking] gcc: error: usr/home/knownperson/build/Nimrod/compiler/nimcache/cgen.o: No such file or directory |
22:18:58 | ldlework | its a nice texture |
22:19:16 | * | BitPuffin quit (Ping timeout: 258 seconds) |
22:19:21 | ldlework | flaviu: but not randomly |
22:19:27 | gour | design is also not responsive which is pity :-( |
22:19:29 | rHermes|webchat | Now what should I do? |
22:19:31 | ldlework | see its a grid of bright ones and darker ones |
22:19:46 | flaviu | And the 1px wide thing at the top seems like part of the browser chrome. I suspect it was sized to fit the browser window, and then he took a screenshot of it. |
22:19:57 | Araq_ | omg, filwit ... I don't get his <div> structure |
22:20:07 | flaviu | Araq_: It's ok, no one does :P |
22:20:11 | EXetoC | and I think it looks worse when there's a div that partially covers it |
22:20:26 | rHermes|webchat | Webdesign is hard yo. |
22:20:31 | gour | i'd expect being responsive these days |
22:20:38 | Araq_ | this is like LaTeX |
22:20:46 | Araq_ | nothing ever works |
22:21:11 | EXetoC | CSS seems to do some things very badly |
22:21:13 | ldlework | gour: responsive is bad for reading |
22:21:14 | Araq_ | it's like using putPixel commands to draw an image |
22:21:19 | dom96_ | Araq_: oh yeah. He like puts two divs EVERYWHERE |
22:21:27 | dom96_ | There is a reason though. |
22:21:34 | dom96_ | But I bet there is a different way of doing it. |
22:21:38 | ldlework | I think we should have gone with the opposite aesthetic though |
22:21:46 | Araq_ | yeah, it's called "table" |
22:21:47 | gour | Idlework: really? you prefer scrolling to the right to see what's there? |
22:21:48 | ldlework | no graphics, lots of font work, etc |
22:22:02 | ldlework | gour: ah, yeah the content should center itself |
22:22:09 | EXetoC | I removed the borders with firefox and now it looks a little better |
22:22:12 | gour | try with 800px |
22:22:14 | Araq_ | ldlework: no, we want candy |
22:22:24 | Araq_ | everybody has boring text these days |
22:22:40 | dts|pokeball | eXcEpT fOr Me |
22:22:40 | ldlework | Araq_: candy only works if you have professional making it though |
22:22:59 | rHermes|webchat | Araq_: I rebuilt and I'm now getting the error on the same command: [Linking] gcc: error: usr/home/knownperson/build/Nimrod/compiler/nimcache/cgen.o: No such file or directory |
22:23:19 | EXetoC | I'll edit some more and take a screenshot |
22:23:26 | ldlework | I think the site overall looks great though |
22:23:26 | Araq_ | rHermes|webchat: build with --parallelBuild:1 |
22:23:36 | gour | too me, e.g. ocaml.org looks more pro - simpler but more functional |
22:24:21 | gour | of course, they use bootstrap |
22:24:32 | rHermes|webchat | Araq_: ? Should I build Koch with that parameter or? |
22:24:46 | Araq_ | just use it for everything |
22:24:57 | rHermes|webchat | including csources? |
22:25:06 | Araq_ | no |
22:25:30 | Araq_ | oh ffs, I'm adding a comment to every single div |
22:25:51 | rHermes|webchat | What does that option do? |
22:26:50 | * | nickles quit (Quit: Page closed) |
22:27:24 | flaviu | ldlework: Of course it isn't random. If I really cared, it should be possible to deduce the scaling amount from the blur pattern. |
22:27:57 | rHermes|webchat | Now it worked! |
22:28:08 | rHermes|webchat | What sourcery is this :o |
22:28:18 | flaviu | http://imgur.com/a/NxSyl |
22:28:30 | Araq_ | your OS tells Nim the C compiler is done when it is not |
22:28:32 | flaviu | See how the patterns are similar to the background? |
22:28:38 | Araq_ | and so linking starts to early |
22:28:54 | Araq_ | you can fix it by hacking osproc.nim |
22:29:16 | Araq_ | I'm sure something misinterprets the posix standard when it comes to interprocess communication |
22:29:17 | ldlework | I genuinely don't thin it is upscaled flaviu |
22:29:27 | ldlework | the distortion happens in a lattuce pattern |
22:29:32 | ldlework | I think it is intended |
22:30:03 | rHermes|webchat | I don't know, I'm not much good at programming :) |
22:30:20 | rHermes|webchat | But do you think it's FreeBSD that is doing something wrong or nim? |
22:30:25 | ldlework | I think we're seeing really messy graphical design by using lots of layers and bluring |
22:30:28 | ldlework | rather than upscaling |
22:30:35 | flaviu | ldlework: Huh, you might be right. It's hard tell with all the JPEG |
22:32:06 | Araq_ | rHermes|webchat: I don't know and do not care too much. I'm waiting for Unix to die. |
22:32:38 | repax | NimOS is almost done |
22:33:18 | rHermes|webchat | HAHAHA |
22:33:18 | Araq_ | but I notice that Posix should be *good at* interprocess communication and its API should be straight forward for these things |
22:33:32 | rHermes|webchat | repax: +1 |
22:33:40 | ldlework | rHermes|webchat: you think he's kidding |
22:33:44 | ldlework | cute |
22:33:54 | rHermes|webchat | :o |
22:35:08 | flaviu | Seriously though, there is a kernel in nim: https://github.com/dom96/nimkernel |
22:35:19 | ldlework | has anyone here booted it? |
22:35:33 | flaviu | dom96 has :P |
22:35:47 | Araq_ | it's hardly a kernel though |
22:36:26 | flaviu | It interfaces with hardware. that's pretty much the definition. |
22:37:10 | Araq_ | er ... it cannot run other programs |
22:37:12 | flaviu | It may have the limitation that any programs need to be statically compiled into it, but that's just a side note ;) |
22:37:19 | rHermes|webchat | Magnificent :D |
22:37:36 | Araq_ | rHermes|webchat: you can add that option to your config and report a bug |
22:37:51 | flaviu | Araq_: What is a program? What if I consider `proc foo()` a program? |
22:38:08 | dom96_ | flaviu: ldlework: obviously :P |
22:38:11 | Araq_ | you need to be able to dynamically start it, flaviu |
22:38:29 | dom96_ | Unless you mean on real hardware. |
22:39:01 | flaviu | Araq_: I don't see that anywhere on the wikipedia page. |
22:39:04 | rHermes|webchat | Attach what option to my config? Which config? and i will report a bug tomorrow :) |
22:40:39 | Araq_ | on BSD it's in /etc/foobar/rcbanana.conf |
22:41:06 | flaviu | Araq_: Its a microkernel :P. Everything is done through the novel idea of spawning a new process each time a computation is required, receiving the results, and tearing down the process. |
22:41:08 | rHermes|webchat | What options should I add there? |
22:41:41 | Araq_ | --please-take-your-time-and-read-some-docs:on |
22:41:43 | rHermes|webchat | export NIMOPTS="--parallelBuild:1" |
22:41:47 | rHermes|webchat | Ok :) |
22:42:24 | rHermes|webchat | Then I'll do that tomorrow as well. Thank you so much for your help and have good evening :D |
22:42:31 | flaviu | rHermes|webchat: http://nimrod-lang.org/nimrodc.html#configuration-files, so /etc/nimrod.cfg |
22:42:50 | Araq_ | flaviu: but he builds from source |
22:43:01 | Araq_ | so maybe it's /opt or ~/nim |
22:43:20 | flaviu | oh, ok. |
22:44:08 | Araq_ | rHermes|webchat: but if 0.9.6 works it's a simple regression in osproc.nim |
22:44:39 | Araq_ | see? there is a reason why I say this file should never be touched |
22:45:01 | Araq_ | every single change caused problems for some OS |
22:46:07 | flaviu | Araq_: S |
22:46:32 | flaviu | eems as if there should be some automated system to set up a bunch of VMs every so often and run tests on them all. |
22:47:15 | Araq_ | well it seems Varriount must stop studying |
22:49:10 | flaviu | I should start studying too :< |
22:49:16 | dom96_ | It seems we need corporate backing so that we can hire people to do stuff like this. |
22:49:56 | flaviu | dom96: Do you randomly happen to be the CTO of some big company? |
22:51:03 | Araq_ | frankly I would prefer to tell people to use any of the 3 OSes that's not completely stuck in the 70ies, but that's just me |
22:51:51 | Araq_ | on the other hand |
22:52:14 | Araq_ | we don't have to do anything really. people who use other OSes are used to the fact that nothing works |
22:56:25 | gour | osc status |
22:59:07 | Araq_ | muhahah |
22:59:12 | Araq_ | finally found it |
22:59:25 | Araq_ | dom96_: what do you want me to add to the news entry? |
23:00:29 | zio_tom78 | Araq_: Just out of curiosity, what are the "3 OSes that's not completely stuck in the 70ies"? I wondered a bit but found that none of the OSes I have ever used fits the definition |
23:00:51 | Araq_ | lol |
23:02:19 | Araq_ | Plan 9, Haiku and FreeDOS, obviously |
23:02:31 | zio_tom78 | I would have bet on FreeDOS but wasn't sure |
23:03:21 | flaviu | But Plan 9 is more unix than unix... |
23:04:51 | Araq_ | sooooo |
23:04:55 | EXetoC | http://postimg.org/image/az5ncacqx/full/ I went a little overboard at some point, but I kind of like it. I didn't want to spend too much time on it though |
23:05:00 | Araq_ | I missed the discussions really |
23:05:13 | Araq_ | what's wrong with the design? |
23:05:14 | EXetoC | but I care a lot about functionality and so I've removed superfluous elements |
23:07:01 | repax | yay, my name is highlighted in that screenshot |
23:08:44 | * | flaviu quit (Quit: Leaving.) |
23:09:18 | EXetoC | I suppose we don't have the photoshop (?) project file for the log |
23:09:21 | EXetoC | o |
23:09:54 | * | jux joined #nimrod |
23:10:31 | * | gour quit (Quit: Konversation terminated!) |
23:10:42 | Araq_ | hi jux. are you having fun? |
23:11:17 | * | drewsrem quit (Ping timeout: 264 seconds) |
23:11:33 | EXetoC | I would remove that thin, bright line, keep the length of the strokes uniform |
23:12:04 | zio_tom78 | Gotta go to sleep. G'night to everybody! |
23:12:18 | * | zio_tom78 quit (Quit: ERC Version 5.3 (IRC client for Emacs)) |
23:13:42 | Araq_ | ldlework: do you only dislike the forum or the whole new website? |
23:14:04 | ldlework | Araq_: oh I actually think for the direction it went, that the new Nim site is totally legit |
23:14:11 | ldlework | it its the styling of the forum I find hard to read |
23:14:23 | ldlework | almost optical-illusion style my eyes don't like it one bit |
23:14:57 | EXetoC | dom96_: perhaps you can take some inspiration from the screenshot I posted |
23:14:59 | ldlework | I also think removing the entire users column would be beneficial |
23:15:09 | ldlework | offering that information on a hover popup or something |
23:15:28 | EXetoC | I edited the tree with firefox, and I made some color adjustments with firepicker (a firebug addon) |
23:15:35 | ldlework | I would also remove the forum headers |
23:15:41 | ldlework | since they contribute no information |
23:15:53 | ldlework | the details column items offer a hover/click info thing |
23:16:35 | ldlework | hmm did the forum get updated? |
23:16:38 | ldlework | its easier to read now.. |
23:16:40 | ldlework | :P |
23:16:41 | Araq_ | btw we need more sexy snippets |
23:16:52 | Araq_ | if you have any, I'll add them |
23:17:03 | ldlework | sexy snippets? |
23:17:05 | ldlework | oh |
23:17:08 | ldlework | for the header thing? |
23:17:10 | Araq_ | the ticking between only 2 things is a bit poor |
23:17:12 | Araq_ | yes |
23:17:45 | ldlework | hmm maybe the forum wasn't updated |
23:17:47 | EXetoC | it does seem easier to read |
23:18:13 | ldlework | EXetoC: mental acclimation? |
23:18:20 | EXetoC | ? |
23:18:28 | ldlework | EXetoC: maybe we got used to it? |
23:18:40 | Araq_ | hrm for the "learn" tab the news is too long |
23:18:42 | EXetoC | possibly |
23:18:48 | ldlework | I feel like the text should ust be the color of the little stopper on the left, and the background of the activity column |
23:18:51 | EXetoC | that contrast still bugs me though |
23:19:07 | ldlework | Araq_: http://contrastrebellion.com/ |
23:20:03 | EXetoC | I think it's just that I resized the browser window, which does help somewhat |
23:20:41 | ldlework | I think the biggest help would be darkening the text, followed by removing the users column |
23:21:53 | ldlework | Imagine if you clicked on the posts number for a thread and it popped up a little square with all the gravicons |
23:21:58 | Araq_ | I suggested removing the users column to dom96 as well but he got mad at me |
23:22:06 | Araq_ | ldlework: even more interesting: http://www.nngroup.com/articles/how-little-do-users-read/ |
23:22:10 | ldlework | dom96_: yo |
23:22:18 | Araq_ | this is what I always say: people |
23:22:20 | Araq_ | don't |
23:22:23 | Araq_ | read. |
23:22:30 | ldlework | Araq_: straight up |
23:23:06 | EXetoC | hey, let's have a bot that enforces topic-reading :p |
23:23:27 | * | repax quit (Quit: repax) |
23:27:06 | * | dts|pokeball quit (Ping timeout: 244 seconds) |
23:33:10 | * | dts|pokeball joined #nimrod |
23:34:33 | * | starless quit (Quit: WeeChat 0.4.2) |
23:35:38 | Araq_ | and with the new website we got our 900th watcher/stargazer! |
23:37:09 | dts|pokeball | Araq_, ive got two questions for you |
23:37:41 | dts|pokeball | the first: how did the forum link to my github account when i created an account? |
23:37:49 | dts|pokeball | the second: what does NimBot do? |
23:38:56 | EXetoC | gravatar? |
23:39:27 | dts|pokeball | hmmm. that could be it |
23:39:27 | EXetoC | maybe not, but perhaps it shouldn't be done automatically |
23:40:19 | Araq_ | 1. dunno |
23:40:20 | Araq_ | 2. not much |
23:41:12 | EXetoC | !lag |
23:41:13 | NimBot_ | 147ms between me and the server. |
23:41:18 | EXetoC | !lag |
23:41:19 | NimBot_ | 147ms between me and the server. |
23:42:20 | * | dts|pokeball quit (Read error: Connection reset by peer) |
23:44:41 | Araq_ | !lag |
23:44:42 | NimBot_ | 147ms between me and the server. |
23:45:00 | Araq_ | the underscored Nimbot performs much worse |
23:45:10 | jux | high(uint64) doesn't work? |
23:45:57 | Araq_ | it will eventually but unsigned is discouraged anyway |
23:46:26 | Araq_ | use a numeric type with non broken subtraction semantics instead |
23:58:09 | Araq_ | that is a signed type btw |