<< 02-09-2014 >>

00:04:11*darkf joined #nimrod
00:58:00*jpoirier joined #nimrod
01:12:11*jpoirier quit (Quit: Leaving)
01:12:58*q66 quit (Quit: Leaving)
01:57:45onionhammerdom96 some way of accessing globals in the new jester would be nice
01:58:02onionhammerdom96 of course i know this stems back to that same gc not safe thing we talked about the other day
02:42:21*darkf_ joined #nimrod
02:45:01*darkf quit (Ping timeout: 272 seconds)
02:51:32*flaviu joined #nimrod
03:20:44*kshlm joined #nimrod
03:26:56*shiv joined #nimrod
03:29:45shivI am unable to install 0.9.4 on Linux from github sources. Can someone help? Thanks.
03:33:44*flaviu quit (Ping timeout: 255 seconds)
03:34:49*shiv quit (Quit: Page closed)
03:36:40*darkf joined #nimrod
03:38:44*darkf_ quit (Ping timeout: 260 seconds)
03:46:53*skrylar joined #nimrod
03:48:59*Demos quit (Read error: Connection reset by peer)
04:04:40*xenagi quit (Quit: Leaving)
04:13:56*darkf_ joined #nimrod
04:14:40*darkf quit (Ping timeout: 260 seconds)
04:19:36*darkf_ is now known as darkf
04:22:46*darkf_ joined #nimrod
04:24:27*darkf quit (Ping timeout: 272 seconds)
04:25:30*darkf joined #nimrod
04:27:16*darkf_ quit (Ping timeout: 260 seconds)
04:31:16*ARCADIVS joined #nimrod
04:36:23skrylarugh
04:36:41skrylari didn't know getting a simple footpedal to work would require writing C code
04:54:26Araqskrylar: no, it doesn't. I'm sure you can write Nim code instead
05:15:58*fowl quit (Read error: No route to host)
05:20:20*BlaXpirit joined #nimrod
05:27:38*fowl joined #nimrod
05:27:38*fowl quit (Changing host)
05:27:38*fowl joined #nimrod
05:27:55skrylarAraq: probably.
05:28:24skrylarAraq: i think i ended up adding an extra ~40 minutes because i decided inspecting USB dumps woudl be a good way to practice data analytics
05:29:05skrylaron an up note, i ended up with a tidy little script that groups the packets in to keypress, then culls bytes that never changed, and makes this succint little "this is how you read an IN-USB-2" table </monologue>
05:42:47skrylarnow to deal with shoving data out to uinput
05:55:14*kunev joined #nimrod
06:09:51skrylaruinput did bad bad things o.o
06:22:06*vendethiel quit (Quit: q+)
06:27:21*skrylar quit (Quit: leaving)
06:53:01*darkf_ joined #nimrod
06:54:44*darkf quit (Ping timeout: 260 seconds)
06:56:42*darkf__ joined #nimrod
06:57:43*darkf_ quit (Ping timeout: 272 seconds)
06:58:30*darkf__ is now known as darkf
07:04:03*darkf quit (Ping timeout: 272 seconds)
07:04:40*darkf joined #nimrod
07:39:35*bjz joined #nimrod
08:09:41Araqbogen: as a workaround, don't += global variables
08:21:04*Araq_ joined #nimrod
08:46:47*Trustable joined #nimrod
08:57:00*kunev quit (Ping timeout: 260 seconds)
09:06:32*BlaXpirit quit (Quit: Quit Konversation)
09:08:02*BlaXpirit joined #nimrod
09:09:23*Araq_ quit (Read error: Connection reset by peer)
09:11:18*Araq_ joined #nimrod
09:16:58dom96good morning
09:25:34*kunev joined #nimrod
09:55:53*BlaXpirit quit (Quit: Quit Konversation)
09:56:31*BlaXpirit joined #nimrod
10:10:26*zahary quit (Ping timeout: 250 seconds)
10:14:06*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446])
10:37:59*ARCADIVS quit (Quit: WeeChat 0.4.3)
11:06:54*kshlm quit (Ping timeout: 255 seconds)
12:03:56bogenAraq: ok. Well, I tried doing it all without globals. Then I ran into the lambda lifting issue, which is I why I made some local functions and variables global. I guess I could use an object and associated member functions rather than the approach I'd been using (local funcations all sharing parent functions data).
12:11:07bogenThe reason I filed the lamda related issue is because it was only after I started making those procedures and associated data global that I started seeing the variable corruption.
12:19:04*jasondotstar quit (Quit: Leaving)
13:32:37*UNIcodeX quit (Read error: Connection reset by peer)
13:47:02*Araq_ joined #nimrod
13:47:51Araq_bogen: well yeah. using locals and then storing it back into the global should work much better though
13:55:47onionhammermornin
13:56:22*saml joined #nimrod
14:01:46*darkf quit (Quit: Leaving)
14:24:19dom96hey onionhammer
14:26:14onionhammerhows it going dom
14:30:02*saml quit (Quit: Leaving)
14:30:23*saml joined #nimrod
14:50:21dom96onionhammer: good, you liking async?
14:56:21onionhammerdom96 with the exception of not being able to access globals
14:56:45onionhammerdom96 it's looking pretty good though, i'm impressed.
14:57:17onionhammerdom96 There are probably still a couple of API things you're going to need to add once you get more real world programs using it
15:00:21*mko quit (Ping timeout: 240 seconds)
15:03:01Araq_onionhammer: --threadAnalysis:off and then you can use globals
15:03:09Araq_or mark them as .threadvar
15:03:57*Sht0 quit (Ping timeout: 245 seconds)
15:05:14onionhammerAraq_ okay. whats the plan for this going forward?
15:05:25onionhammerAraq_ seems like something a lot of people are potentially going to run into
15:06:03onionhammerdom96 also what's the 'match' paramter in jester.serve?
15:06:14Araq_the quick fix is to tie threadAnalysis to --threads:on
15:06:20onionhammerdom96 presumably it's declared in some macro, but it seems messy
15:06:42EXetoChow would one dereference a distinct type refering to a type with a qualifier such as ptr? casting can be performed of course, and I suppose you can just make a pointer of the distinct type
15:06:43onionhammerAraq_ that seems like a good interim solution anyway
15:06:56EXetoCwithout any kind of alias that is, which we will get rid off
15:12:47*def- quit (Ping timeout: 245 seconds)
15:13:59*bogen quit (Quit: Leaving.)
15:14:11*kunev quit (Quit: leaving)
15:14:20Araq_EXetoC: not sure what you mean
15:17:17NimBotAraq/Nimrod devel 10f6a11 fuzzthink [+0 ±1 -0]: Pointer -> pointer to fix compile error using --cs:partial
15:17:17NimBotAraq/Nimrod devel 967b507 Simon Hafner [+0 ±1 -0]: Merge pull request #1514 from fuzzthink/devel... 2 more lines
15:19:35Araq_hmm maybe we should really merge bigbreak into devel ...
15:19:56dom96yes
15:22:59*Demos joined #nimrod
15:23:35Demoswhat does bigbreak do? is it just the rename?
15:23:54Araq_rename, T/P prefixes are deprecated, cs:partial is the default
15:24:20Demoswait how are T/P prefixes depricated, were there features that depended on em?
15:24:30Demosor were they just removed from the compiler and libraries
15:24:38Demosalso awww I like the prefixes, oh well
15:25:27Araq_{.deprecated: [TFile: File, TSocket: Socket].} has been added
15:25:33Araq_so code continues to work
15:25:56Araq_it's the --cs:partial which breaks everything
15:26:22EXetoCAraq_: distinctType.(ptr targetType)
15:26:54Araq_bbs
15:27:33*BlaXpirit quit (Quit: Quit Konversation)
15:28:18dom96onionhammer: Yes, my plan is to get the 'route' macro to generate the jester.serve.
15:28:55dom96Settings then will also be a macro and they will generate a 'settings' var
15:29:04*BlaXpirit joined #nimrod
15:29:32dom96It's a bit messy I guess, but if you have a better idea of how to implement this then tell me.
15:35:24*Demos quit (Ping timeout: 268 seconds)
15:54:39*brson joined #nimrod
16:07:04*noam_ quit (Ping timeout: 250 seconds)
16:07:28*def- joined #nimrod
16:24:37TrustableHi all
16:24:41reactormonko/
16:24:54Araq_hi Trustable
16:30:42*kunev joined #nimrod
16:31:58TrustableIs this the right place to discuss about Aporia or better use #Aporia?
16:32:33EXetoCthis channel is fine
16:33:42Trustabledom96, I will answer your questions about my PR here, ok?
16:34:05dom96Trustable: I would prefer if you answered it on github for future reference.
16:34:29Trustabledom96: ok
16:35:46dom96Trustable: One question i'll ask here though: how do you show the key shortcuts? Is it just a number representing the key? If so it would be nice to have something more user friendly, is that easy to do?
16:36:36TrustableMy current implementation is just the very first step to make the shortcuts configurable.
16:36:50dom96Trustable: That's fine, it's better than nothing :)
16:37:10TrustableOnly the key code is configurable, not the modifier mask.
16:37:18dom96Trustable: Apart from the little issues I commented about I really like your PR. Good job!
16:37:44TrustableThe key code is stored as integer in the config file and the main memory.
16:38:46TrustableIn the settings window, the key is shown as character resp. "f1", f2", ...
16:39:23dom96oh, that's better than I thought then.
16:39:32dom96Thoguht the settings window also shows the integer.
16:39:33TrustableAt the moment it's a simple text box.
16:39:37dom96*Thought
16:39:57TrustableIn the future it should be replaced by key capture.
16:40:02dom96indeed
16:40:16Trustableincluding the modifiers
16:40:42dom96Can we encode a key code + modifier in a single value?
16:40:49dom96or will we need to add more setting paramters?
16:41:31TrustableI don't know yet.
16:41:36onionhammerdom96 i'll go over it tonight - im converting my blog over
16:41:41onionhammerdom96 once it's done i'll give you some feedback
16:41:59dom96onionhammer: great
16:42:09Araq_you guys should implement the biggest missing feature
16:42:33Araq_I call it the "verbose view"
16:42:42Trustablebtw. Is the Nimrod compiler ready for productive development in your opinion?
16:42:52onionhammerTrustable no, not yet IMO
16:43:28Araq_it asks the compiler for a verbose view of a module
16:43:28TrustableI made some simple programs, had no problems no far.
16:43:44Trustable*so far
16:44:13dom96Trustable: problem with adding more parameters later is that we will break people's config
16:44:34*q66 joined #nimrod
16:44:45Trustableyes, this is an important topic
16:44:48dom96Trustable: But it should be ok, we can deprecate the old parameters.
16:45:11dom96Trustable: And introduce new ones, perhaps under a new ini [section]
16:46:13Trustablefirst of all, are there enough Aporia users, so say, that we have to think their configs?
16:46:21Trustable*to say
16:47:07dom96I only know of two people that use it.
16:47:11dom96ok, maybe 3
16:47:16dom96me, Araq_ and fowl
16:47:35dom96unfortunately we may never know how many people really use it
16:47:44TrustableI also use it
16:47:56Araq_I will complain when you break my config :P
16:48:18Trustable:)
16:49:33*milosn quit (Ping timeout: 240 seconds)
16:49:46TrustableIn my opinion should a incomplete config file accepted by the program.
16:50:01TrustableFor example when some recently added options are missiong.
16:50:04Trustable*missing
16:50:24*milosn joined #nimrod
16:50:46Trustableah, this is not a problem
16:51:09TrustableThe problem might be, when the config file contains an option, which is not longer valid.
16:51:55dom96Yes, we can accept it and then print a deprecation warning.
16:52:02dom96Anyway, I think i'm done my review of your code.
16:52:11dom96Fix those comments and it should be ready to be merged.
16:52:36TrustableWhere do we show warning about the config? As new dialog window or in the Output window?
16:53:31dom96Trustable: Here: https://github.com/nimrod-code/Aporia/pull/54/files#diff-1fe37933ce0a98156a0ef998b9996bc4L2336
16:55:11*wan joined #nimrod
16:55:42*Matthias247 joined #nimrod
16:56:01Trustabledom96, I think your code review is better than that from the Heartbleed bug :)
16:56:45dom96Trustable: haha, thanks. Hope you don't mind that I am so picky.
16:57:19Trustabledom96: absolutely not
16:58:22*gkoller joined #nimrod
16:59:22*vegai quit (Ping timeout: 240 seconds)
17:00:06Araq_IMHO it should simply fix the deprecated options
17:00:20Araq_instead of complaining
17:00:39*EXetoC quit (Read error: No route to host)
17:00:54*kunev quit (Ping timeout: 252 seconds)
17:01:02*vegai joined #nimrod
17:02:00TrustableBut how to fix?
17:02:53TrustableThe whole file will be overwritten on save, so unrecognized entries will be removed, right?
17:03:38*EXetoC joined #nimrod
17:06:43TrustableAnother question: Why does "gtk2.delete(textBuffer, ...)" compile, but not "textBuffer.delete(...)"?
17:07:17*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446])
17:09:26dom96ambiguity?
17:09:49Trustableyes
17:16:04TrustableAddition: "textBuffer" is an expression which results to an instance of TSourceBuffer, which is derived from TTextBuffer.
17:20:02*comex quit (Quit: WeeChat 0.4.0)
17:21:42*Jehan_ joined #nimrod
17:23:34*comex joined #nimrod
17:33:10TrustableWhy is the "delete" identifier ambiguous? And why only under Windows?
17:34:00Araqdunno, do you import windows.nim?
17:40:06Araqthere is likely some windows.DELETE constant that confuses the compiler
17:40:56TrustableI don't see "windows" in the import section
17:44:53Araqtry:
17:45:02Araqimport gdk2 except DELETE
17:45:42*kunev joined #nimrod
17:46:56Jehan_Araq: Submit new pull requests for devel or for bigbreak?
17:47:38Araqif only I knew, Jehan_
17:47:52Jehan_Araq: Just asking what your preference is.
17:48:28Araqwe need to merge bigbreak into devel, but thanks to --cs:partial this breaks every babel package out there
17:48:53*Ven joined #nimrod
17:48:59TrustableAraq, it works when I change the order of the imports
17:49:02*wan quit (Ping timeout: 245 seconds)
17:49:31AraqTrustable: yeah, it's a known compiler bug
17:50:05Araqmy workaround should work too
17:50:06Jehan_Every babel package? Ouchies.
17:50:39Araqit's not a big deal, somebody will run "nim pretty" over every package and make PRs
17:50:55Araqbut until we did that, I don't want to merge
17:51:59Araqhmm I just got an idea ...
17:53:29AraqJehan_: what do you have in the pipeline?
17:53:52Jehan_Araq: Nothing major right now.
17:54:13Jehan_These are really minor things, such as fixing createDir permissions on POSIX.
17:54:32Jehan_I have some things that I _want_ to do, but for which I don't have the time at the moment.
17:54:40Araqjust make them against devel for now
17:54:46Jehan_Alrighty.
17:57:01Jehan_Ugh, they create conflicts when backporting.
17:57:06Jehan_I think I'll postpone.
17:57:17Araqsure no worries
17:57:51Araqhmm finding a bug in thousands of lines of generated bytecode is not that much fun
17:57:54Jehan_Yeah, they don't bother me, since I don't need the Windows version, so I can just use posix.mkdir.
17:58:24Trustabledom96: I have to correct myself: I store the key not as integer but as string in the config file.
18:05:06*wan joined #nimrod
18:17:29dom96Trustable: can you give me an example of such a string?
18:17:55Trustabledom96: "a", "/", "F1", ...
18:18:06dom96Trustable: ahh, that's good.
18:18:14TrustableI will extend this string with the modifier mask
18:18:23dom96Yeah, that will work.
18:18:44TrustableThe good thing of this: the config file is human readable (numbers would be not)
18:19:05TrustableThe bad thing: more work
18:19:34dom96heh yes
18:19:39TrustableBut I think we need to have a string representation of every possible shortcut, to show it in the settings window
18:20:04dom96Araq: Do we have a issue on github for that compiler bug?
18:20:16TrustableThere are many key which are not yet included in my implementation.
18:20:34Araqdom96: I don't think so and it's not easy to fix either
18:20:42Araqotherwise I'd already have done it
18:21:04Araqwell actually
18:21:09Araqit IS easy enough to fix
18:21:14Araqbut will break your code :P
18:21:37dom96is that the correct way to fix it?
18:22:06Araqyes
18:23:42dom96well as long as it's easy to fix for me
18:23:43dom96then do it
18:25:36Araqok
18:27:52AraqI take it back, debugging this thing IS fun :-)
18:34:04*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:52:55*gsingh93 joined #nimrod
19:10:00*kunev quit (Ping timeout: 268 seconds)
19:12:08*nande joined #nimrod
19:14:03*Jesin joined #nimrod
19:15:20*Jesin quit (Max SendQ exceeded)
19:16:33*Jesin joined #nimrod
19:17:00*Ven joined #nimrod
19:17:21*vendethiel joined #nimrod
19:18:40*Ven quit (Client Quit)
19:21:52*Jesin quit (Ping timeout: 240 seconds)
19:33:35*Jesin joined #nimrod
19:42:34*flaviu joined #nimrod
19:54:39wanWhat are you supposed to do when you get an "Error: 'stuff' is not GC-safe" on a previously-working program ?
19:57:48wanShould I mark every potentially-accessed variable either {.global.} or {.threadvar.} ?
20:00:36dom96only global vars should be marked {.threadvar.} if you really need them
20:00:56dom96and you need to mark your closures/proc types gcsafe I think
20:01:16wanAh, I'll try marking closures gcsafe
20:02:22wanHm, doesn't seem to be that
20:04:16Araqwan: use warning[GcUnsafe]:on to see why the compiler thinks your code is GC unsafe
20:04:35Araqusually it's also caused by a forward declaration
20:09:15wanHa, very useful. These warning should probably be on by default (especially if the compilation fails)
20:11:24dom96Bah. Looks like we really need to fix unittest.
20:11:29dom96A lot of people are using it.
20:12:01TrustableNewbie question: How can I iterate over the elements of a TTable?
20:12:12Araqfor key, val in tab
20:12:36Trustablethx :)
20:12:41Araqdom96: well it's easy to fix according to flaviu since it's only caused by compiler passes interacting in strange ways
20:13:05dom96we also need to document it
20:13:26Araqwell as long as it's not documented, it's not offically supported
20:13:32dom96lol
20:13:38dom96Yeah, people don't care.
20:14:10AraqI don't get why unittest buys us
20:14:20AraqI consider it a stress test for template expansions
20:14:27wanHum, can't fix my problem yet. I have a globally-accessed seq of closures that is filled by main thread on startup, but read-only for worker threads afterwards, but I can't seem to compile on the latest bigbreak
20:14:47dom96The exercism guys made a Nimrod exercise, and they make use of it.
20:15:07dom96I'm of course not complaining, it's great that they are writing Nimrod :P
20:15:28Araqwan: interesting. well --threadAnalysis:off should make it compile for you
20:15:48dom96Araq: it buys us sexy unit tests.
20:16:08Araqah yeah. sex. I keep forgetting about this reason.
20:16:24dom96I'll just have to spend some time understanding the code.
20:16:48dom96Since zahary decided to escape into the land of narnia.
20:17:25wanAraq: well, not even that. I've hit a compiler bug (Error: internal error: expr: var not init)
20:18:34Araqwan: well report it, but fix your horrible closures
20:18:49wanI have to reduce it to a short failing test first, my stuff is a mess for now
20:19:06*zahary joined #nimrod
20:19:15Araqha zahary is back
20:19:26*filwit joined #nimrod
20:19:30dom96is he though?
20:19:35Araqand filwit
20:19:40dom96that could just be his zombie irc client
20:19:43dom96yay filwit
20:19:44filwithey Araq
20:19:49filwit& dom96
20:19:53wanHi
20:19:56dom96how's things filwit?
20:19:58filwithi wan
20:19:59Araqwell at least he can now highlight him
20:20:33filwitdom96: good, just stopping by for a bit (trying to finish up the forums now), but it's my grandma's b-day so I don't have much time
20:20:48*Jesin quit (Quit: Leaving)
20:21:15dom96filwit: ahh cool. I would tell you to wish her a happy birthday from me but you may have a hard time explaining who I am hah.
20:21:32filwitwan: ps, new docs design (so far) are here: http://reign-studios.net/philipwitte/nim/docs.htm feedback is welcome
20:21:45filwitdom96: lol
20:22:30wanYay! Design bashing!
20:22:40filwitactually i was just telling my mother today that if I learned a new language it would probably be German, so that i could talk to Araq and get tips.
20:22:53filwitshe was like "talk to Iraq? wut?"
20:23:29filwitwan: bash away :)
20:23:42wanThat's actually a lot better than I expected
20:24:00dom96filwit: hrm, did you make the background color of each type/proc/iter box darker?
20:24:02wanI like the use of colors
20:24:06filwitwan: thanks, but it's not entirely done yet either (their's no isolate feature or sorting JS yet)
20:24:14flaviuAraq: I can't make any claims when it comes to unittest, I've never looked at the code
20:24:29filwitdom96: possibly, but I don't think so
20:24:31dom96filwit: because I feel as if it looks better than it did previously.
20:25:25filwitdom96: well that's good :) but i don't think I changed anything there. Probably just the light in your room. I did fix all the issue with small-sceens though (mostly)
20:26:06filwiti still need to make the side-bar thing collapsible for really small devices
20:26:18dom96filwit: heh, did you play around with different hyperlink colors yet?
20:26:44dom96also what is that in the background?
20:26:46filwitdom96: no, but honestly I kinda like them as-is (i played around with those when i first made the home design)
20:26:52dom96the nim logo
20:27:03filwityeah, blurred version of it
20:27:09dom96but what's beside it?
20:27:20dom96it looks like a dragon lol
20:27:30filwitthere's no dragon...
20:27:36dom96i'll play around with the colors a bit later
20:28:03dom96if I make the window smaller then there is something beside the nim logo in the backgroun
20:28:04dom96d
20:28:44filwiti'm not sure what you're talking about. perhaps take a screenshot
20:28:50wanThere might be a need for a max-width on the main content
20:29:06filwitwan: there is already
20:29:12*gkoller quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:29:22dom96filwit: well I just looked at this: http://reign-studios.net/philipwitte/nim/images/bg.jpg
20:29:27dom96looks nothing like a dragon lol
20:29:27Jehan_Hmm, my mouse cursor doesn't change to a vertical bar when over text there?
20:29:32dom96just my imagination.
20:29:55dom96oh yeah, same here.
20:30:03filwitdom96: you can see that better on the homepage. It's just a faded nim logo
20:30:09wanDoesn't seem so, I like to ctrl- pages because most pages have too big fonts for my eyes (I like small fonts), but the parameters get away too much from the procs and all
20:30:30filwitJehan_ yes, that's by design, but I can change specific elements (like the code) to vertical bars
20:30:43Jehan_filwit: Why by design?
20:31:38filwitJehan_ i've gotten very positive feedback from doing that in the past (it gives a clear "clicking this will take you away" message when the cursor changes, or "you can edit this", etc)...
20:32:08Jehan_filwit: Hmm. I personally hate it when webpages break standard behavior.
20:32:26dom96I would prefer to see a vertical bar too.
20:32:36dom96Most developers will be used to the standard behaviour.
20:33:18filwitlol, alright guys. Will do whatever you want, but in my experience you are in the minority here.
20:33:21EXetoCand don't forget 3d-transforms using CSS
20:33:22Jehan_The gray used to highlight text that you select probably needs to be changed to a different color.
20:33:32wanfilwit: I would go without the text-align:justify
20:33:58Jehan_There's no contrast when selecting normal text and it's the same color as parts of the code.
20:34:13filwitwan: on everything? I disagree (try changing that in your browser's inspector to see how it looks)
20:34:24dom96Jehan_: gray? I don't see that. What browser are you using?
20:34:32filwitJehan_ what browser?
20:34:32wanThat's what I'm doing, and the paragraphs look better for me
20:34:35Jehan_dom96: Chrome on Mac.
20:34:55dom96is that the default on Mac&Chrome?
20:35:13filwitJehan_: ahh... Mac... I will explicitly set the highlight color then.
20:35:25Jehan_dom96: Possible.
20:35:50filwitwan: okay, i'll try it (btw it was Araq's suggestion on the original design to make things justified, so we'll have to see what he says)
20:36:00flaviufilwit: main thing I can say is contrast. The w3c has recommendations, and the page doesn't really do well on them.
20:36:01Jehan_Actually, it looks like Chrome pulls it from System Preferences.
20:36:21Jehan_wan: I also agree on the justified vs. ragged-right part.
20:36:32filwitflaviu: can you not read it well? Sometime I think people have their monitors brightness too low or something.
20:36:55Jehan_flaviu: Yeah, there are probably accessibility issues.
20:37:03filwitJehan_, wan: you want Justified in the docs, or homepage as well?
20:37:14flaviufilwit: I believe my brightness is fine, I have no issues even with playing minecraft without torches
20:37:23Araqfilwit: looks the same as last time to me. it's nice, I like it
20:37:47filwitflaviu: okay, noted.
20:37:54Jehan_filwit: I haven't seen justified text ever work well without manual typesetting/hyphenation.
20:38:02wanfilwit: at least in the docs, everywhere if possible
20:38:12flaviuJehan_: Tex does a great job...
20:38:22wanI have the same opinion as Jehan
20:38:25Jehan_flaviu: Yes. But web browsers aren't TeX.
20:38:36flaviuquite a sad fact
20:38:39filwitbtw, the sidebar has custom scrollbars, but those don't work on Firefox or IE
20:38:53AraqI always wonder how anybody can be serious about TeX
20:38:59Jehan_flaviu: Most importantly, TeX hyphenates.
20:39:08Jehan_Araq: For anyone for whom the result matters.
20:39:12AraqTeX -- incomprehensible error messages
20:39:18filwitJehan_, wan: i'll play around with the text-alignment.
20:39:19Jehan_Plus, anyone who has to typeset mathematical formulas.
20:39:20TrustableNewbie question: How to do bitwise AND?
20:39:20Araqoverfull hbox issues
20:39:28flaviuTrustable: `and`
20:39:28dom96I vote for getting rid of justified text also.
20:39:49flaviuAraq: You should fix those hboxes. Your text will look bad if you don't
20:40:08Araqflaviu: no, the fucking tool should know the limits of the sheet
20:40:17Jehan_Araq: I'm not fond of TeX from a usability perspective; I use it because little else comes close when you have to typeset scientific papers.
20:40:49AraqI don't even want to know how many scientific bugs have been caused by TeX
20:40:51Jehan_Trustable: Watch out for operator precedence, however.
20:41:09Araqbecause people never ever can see the actual formula before it's way too late in the process
20:41:10flaviuAraq: There are sometimes good reasons for overfull hboxes. Main one is urls. Another is big words, an overfull hbox is better than 2 half-full lines
20:41:47AraqTeX is like painting a picture with putPixel commands
20:42:04Araqit doesn't work and the whole approach is stupid as fuck
20:42:10*jpoirier joined #nimrod
20:42:29flaviuAraq: I very, very highly disagree with that, it's worked excellent for me, but I'm not going to bother argue.
20:42:39filwitAraq, dom96, wan, Jehan_, flaviu: btw, do you like the procs being yellow and iterators orange, or do you think they should be flipped (since orange almost stands out more).. my original plan is to make methods red as well (vars green, const blue, converters white). Opinions?
20:43:21flaviuSounds good, as long as the colors are fairly muted. This is the one place where you don't want too much contrast
20:43:33flaviuCurrent colors are great
20:43:47Jehan_filwit: I don't really have an opinion there.
20:44:01filwitk, k
20:44:09wanIterators in orange look okay, there is always less iterators so it seems good not to push for too many bright orange stuff
20:44:23EXetoCdo you do WYSIWYG-editing of css colors? that's pretty useful
20:45:00Araqflaviu: when I used it, I spent more time fighting with the tool than creating the content in the first place
20:45:04filwitEXetoC: I will use the broswer's inspector to play with colors, yes. But most of the design is done in Inkscape :)
20:45:05dom96filwit: I think what you have now is fine.
20:45:10filwitk
20:45:25flaviuAraq: Not going to argue there, the learning curve is worse than vim.
20:45:42Araqand a lack of alternatives doesn't make it good
20:46:12filwitdom96: speaking of Inkscape, i'll email you all the source art for these, so you can Araq can maintain backups in case i die
20:46:14Araqflaviu: it's not the learning curve either, I read 2 books about it
20:46:15dom96filwit: It would be nice to have the colors be a bit more vibrant but I guess you can't do that because you want the headings to be vibrant.
20:46:38dom96filwit: That's a very dramatic way to put it lol
20:46:52EXetoCfilwit: with a color map rather than manually editing hex values I hope
20:46:54Araqspeaking of which ... how can I describe page width and height in cm in latex?
20:46:56EXetoCthe latter sure is fiddly
20:47:17EXetoCthere's firepicker for example
20:47:27dom96I wrote a CV in latex once. It went ok.
20:48:00flaviuAraq: I dunno. Why do you need that? Latex has packages for all the page sizes there are.
20:48:01dom96And it looked sexy in the end. Rule #1: sexiness always wins.
20:48:10flaviu^
20:49:01filwitEXetoC: Firefox, Chrome, and even IE now all have built-in inspectors which you can adjust things. In the case of colors, yes there is a color picker... which is very nice, i used to have to do manual hex by hand or make a mockup to play with colors in an art program.
20:49:47Araqflaviu: when you're typesetting a book, you can pick page sizes
20:49:51dom96filwit: when I make the window width smaller and the scroll to the right, the content moves left but the index stays put. That could prove problematic.
20:50:08dom96*then
20:50:20filwitdom96: yes, last remaining issue for rendering :|
20:50:22Araqflaviu: and sometimes the size should be "ok, like this book over there"
20:50:34Jehan_Araq: If you're typesetting a book in TeX, your publisher will worry about that.
20:50:58AraqJehan_: the publisher doesn't accept TeX anyway
20:51:07filwitdom96: I'm going to make the sidebar collapsible, which will auto-trigger when the screen is too small (less than the min-width)
20:51:08flaviuAraq: Google says \pdfpaperheight=xcm \n \pdfpaperwidth=ycm
20:51:34Araqflaviu: now that's helpful. thanks
20:51:36EXetoCfilwit: what do you think about css? the difficulty involved in actually adding a footer for example makes it seem as though there's something fundamentally broken about it, but I'm still inexperienced
20:51:40Jehan_Araq: Then it's really not a problem, is it? :)
20:51:49Araqwhen I looked for it, google didn't turn up anything
20:51:53dom96filwit: Just tested on my iPad
20:51:54Araqit's been a while
20:51:56flaviuNow, tikz really is a rabbit hole
20:52:07dom96filwit: As I predicted it causes big issues on it.
20:52:10Jehan_For what it's worth, I prefer to use ConTeXt over LaTeX these days.
20:52:15EXetoCI'll find a nice guide next time and test things with jsfiddle a little more
20:52:17AraqJehan_: well you've got to create the PDF somehow
20:52:28Araqand the book already is in LaTeX
20:52:31filwitdom96: i've tested on iPad, Android (which browser kinda sux), and Windows 8.1/Phone-8.1
20:52:32Jehan_Oh, I see.
20:53:33dom96filwit: the custom scrollbar is really nice
20:53:38filwitEXetoC: it works, and it's better than some UI design's I've used.. but it's also not the best either. I can be confusing at times (because sometimes order is dependent, but only if the top element isn't "more descriptive" in it's selector)
20:53:48flaviuThe number of hours I sunk into http://i.imgur.com/cu6iErV.png is really ridiculous
20:54:00EXetoCright
20:54:06EXetoCand there's the whole 'clear' business
20:54:48filwitEXetoC: you mean float & clear? That's all pretty straight forward... just make sure your container has "overflow:auto" on it (so it properly scales)
20:55:05filwitdom96: glad you like them :)
20:55:26filwitdom96: it's too bad FF and IE don't have them
20:56:56dom96indeed
20:57:10dom96flaviu: what is that? And why are you sinking time into it?
20:57:29flaviudom96: A while ago. A graph rendered purely with latex
20:57:39dom96flaviu: oh
20:58:25filwitwhere is BitPuffin and fowl?
20:58:36filwit!seen BitPuffin
20:58:36NimBotBitPuffin was last seen on Fri Jul 25 19:46:29 2014 quitting with message: Client Quit
20:58:38dom96fowl is here
20:58:39filwit!seen fowl
20:58:39NimBotfowl was last seen on Tue Sep 2 06:27:38 2014 joining #nimrod
20:58:56filwitoh cool
20:59:00dom96BitPuffin only hangs around in #nimrod-offtopic now
20:59:13filwithe doesn't use Nim anymore?
20:59:14flaviuHe's writing his own language now or something
20:59:21filwitahh, i see
21:00:57flaviufilwit: https://bitbucket.org/BitPuffin/yig/src/3d30b6b0f4fbc0007a775fd6b868679cc5137fea/spec/spec.rst?at=default
21:00:57flaviuI think his language is going to be a bit weird
21:01:25filwitone sec
21:03:31filwityeah it doesn't appeal to me, syntactically anyways
21:17:36*Jehan_ quit (Quit: Leaving)
21:19:46*gsingh93 quit (Quit: Connection closed for inactivity)
21:39:32*untitaker quit (Ping timeout: 260 seconds)
21:44:45*untitaker joined #nimrod
21:57:29onionhammerno happy birthday for me huh
21:57:59dom96onionhammer: happy birthday!
21:58:56*BlaXpirit quit (Ping timeout: 255 seconds)
22:00:02Araqonionhammer: happy birthday! you're a hammer
22:01:25*noam joined #nimrod
22:07:40Trustableoh, I have found a mean thing: "entry1.getText() == entry2.getText()" != "$entry1.getText() == $entry2.getText()"
22:08:14VarriountTrustable: O_o
22:08:42EXetoCI might have reported this
22:08:48dom96cstring vs. string?
22:08:52EXetoCno, that was something else
22:09:10EXetoCmaybe
22:10:22onionhammerwoo
22:10:24onionhammerthanks :)
22:10:42onionhammeractually my birthday was saturday
22:11:42dom96Should've told us ahead of time. I would have gotten NimBot to give you a little IRC happy birthday song :P
22:13:06Varriountdom96: I have all the failing tests from BigBreak open in my text editor
22:13:28dom96Varriount: Nice. Is that how you keep motivated? lol
22:13:43filwitmy birthday's next Wednesday... i want a nimbot message...
22:14:00dom96filwit: the 10th?
22:14:04filwityeah
22:14:07dom96sure.
22:14:12dom96Mine's the 12th :D
22:14:13filwit:D
22:14:14EXetoCTrustable: https://github.com/Araq/Nimrod/issues/883
22:14:18filwiton, cool
22:14:25filwitVirgos!
22:14:45dom96filwit: :D
22:14:51EXetoCnow I want to control the memory layout of variants
22:15:01EXetoCcus, stupid struct definition :<
22:15:04Trustablenice to see the issue
22:15:13EXetoCvalue_type, padding, value
22:21:36*shodan45 joined #nimrod
22:22:23*nande quit (Read error: Connection reset by peer)
22:28:36Varriountdom96: You need to fix the await macro
22:28:38*io2 joined #nimrod
22:28:47*io2 quit (Changing host)
22:28:47*io2 joined #nimrod
22:29:23*nande joined #nimrod
22:29:47dom96Varriount: what's wrong with it?
22:30:07VarriountI'm getting macro errors in many of the async tests
22:30:30Araqgood night
22:32:44dom96just let me fix them
22:33:51*bjz quit (Read error: Connection reset by peer)
22:33:57*bjz_ joined #nimrod
22:34:27*flaviu quit (Quit: Leaving.)
22:34:53EXetoCTrustable: yeah, I'll re-open it after this release. it has been a while
22:43:40*Matthias247 quit (Read error: Connection reset by peer)
22:54:56*filwit quit (Quit: Leaving)
23:03:54*Demos joined #nimrod
23:22:37*darkf joined #nimrod
23:23:16*brson quit (Quit: leaving)
23:23:56*brson joined #nimrod
23:29:22*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
23:36:59*Boscop__ quit (Read error: Connection reset by peer)
23:37:19*Boscop joined #nimrod
23:41:43*Boscop quit (Read error: Connection reset by peer)
23:42:37*Boscop joined #nimrod