<< 03-10-2014 >>

00:03:27Joe_knockAraq: Are you familiar with small web-based projects?
00:03:28*darkf joined #nimrod
00:04:05*bjz quit (Ping timeout: 244 seconds)
00:13:46*xenagi joined #nimrod
00:20:39OnionhammerJoe_knock you referring to small web-based projects in nim?
00:28:25Joe_knockOnionhammer: Yeah
00:33:38willwillsonwhat project are you working on joe? You seem to need very high performance! :D
00:33:45*DiffuseStorm quit (Remote host closed the connection)
00:34:07Joe_knockwillwillson: More so the case of being miserly with server costs :P
00:35:17Joe_knockI am currently trying to mimick some of my flask apps in jester (to see how it works).
00:36:58willwillsoncan't say I've tried jester yet, certainly looks interesting though...
00:37:29willwillsondid you benchmark the async branch?
00:38:01Joe_knockIf python has flask and that has Jinja2, we need Nimja3 :P
00:40:31willwillsoni thought emerald templating looked interesting: https://github.com/flyx/emerald
00:41:06*Sembei quit (Quit: WeeChat 1.1-dev)
00:41:37Joe_knockoh there is 1!!!
00:41:39Joe_knockawesome
00:41:49willwillsonthere are a few :D
00:42:16willwillsonhttps://github.com/idlewan/jade-nim
00:43:01Joe_knockI like how they're all "started" and then forgotten about :'D
00:44:16willwillsonmaybe that just means that they are stable...
00:45:07Joe_knockemerald: "Emerald is a macro-based type-safe templating engine for producing well-formed HTML 5 web pages with Nimrod. It's currently under development. Most features are still missing." :P
00:46:20*Joe_knock is now known as Joe_knock_afk
00:46:22willwillsonI guess it was wishful thinking!
00:46:44*Joe_knock_afk is now known as Joe_knock
00:47:07Joe_knockI am trying to go back to commit 1 of jinja2, but github is not friendly like that.
00:47:12*Joe_knock is now known as Joe_knock_afk
00:49:47willwillsonI take it you've seen stdtmpl: http://build.nimrod-lang.org/docs/filters.html ?
01:00:32*brson quit (Quit: leaving)
01:08:53*noam quit (Ping timeout: 260 seconds)
01:14:01*brson joined #nimrod
01:14:01*brson quit (Client Quit)
01:15:14*Joe_knock_afk is now known as Joe_knock
01:15:23Joe_knockwillwillson: Thanks for that link.
01:15:32*q66 quit (Quit: Leaving)
01:16:57willwillsonno worries, you might want to check out https://github.com/nimrod-code/nimforum to see it in action
01:18:27Joe_knockare you a newbie to static languages/nimrod? willwillson
01:19:20willwillsonpretty much :D
01:23:42Joe_knockaah so I'm not alone :P
01:46:02*brson joined #nimrod
01:46:04*brson quit (Client Quit)
01:46:12*brson joined #nimrod
01:51:16*Celestic quit (Ping timeout: 246 seconds)
01:54:09*francisl joined #nimrod
02:23:12*willwillson quit (Read error: Connection reset by peer)
02:34:12*EXetoC quit (Remote host closed the connection)
02:38:53*Joe_knock quit (Ping timeout: 240 seconds)
02:43:24*fowl joined #nimrod
02:58:14*zahary1 joined #nimrod
02:59:51*zahary quit (Ping timeout: 246 seconds)
03:27:48*quasinoxen joined #nimrod
03:31:22*flaviu1 quit (Ping timeout: 240 seconds)
03:58:22*brson quit (Quit: leaving)
04:18:15*xenagi quit (Quit: Leaving)
04:20:20*noam joined #nimrod
04:22:00*saml_ joined #nimrod
04:23:21*noam quit (Client Quit)
04:24:26*noam joined #nimrod
04:37:33*Demos quit (Read error: Connection reset by peer)
05:07:02*BlaXpirit joined #nimrod
05:09:33*nande quit (Remote host closed the connection)
05:10:42*francisl quit (Quit: francisl)
05:40:55*vendethiel quit (Quit: q+)
05:41:38*saml_ quit (Quit: Leaving)
05:44:27*dirkk0 joined #nimrod
05:50:30*dirkk0 quit (Quit: Leaving)
06:11:08*rpag joined #nimrod
06:17:27*dirkk0 joined #nimrod
06:33:42*dirkk0 quit (Quit: Leaving)
07:03:27*fowl quit (Ping timeout: 246 seconds)
07:43:02*Matthias247 joined #nimrod
07:46:25*vissborg quit (Remote host closed the connection)
07:46:29*johnsoft quit (Ping timeout: 260 seconds)
07:46:44*johnsoft joined #nimrod
07:48:07*vissborg joined #nimrod
07:53:36*BlaXpirit quit (Quit: Quit Konversation)
08:09:47*johnsoft quit (Ping timeout: 245 seconds)
08:10:34*johnsoft joined #nimrod
08:16:15*johnsoft quit (Ping timeout: 246 seconds)
08:17:03*johnsoft joined #nimrod
08:17:44*noam quit (Ping timeout: 260 seconds)
08:36:01*Matthias247 quit (Read error: Connection reset by peer)
08:37:23*skyfex quit (Quit: Computer has gone to sleep.)
08:37:55*skyfex joined #nimrod
09:20:35*kuzy000_ joined #nimrod
09:23:54*noam joined #nimrod
09:35:23*jasondotstar joined #nimrod
09:38:26*DiffuseStorm joined #nimrod
10:17:35*BitPuffin joined #nimrod
10:29:01*bjz joined #nimrod
10:41:25*bjz quit (Read error: Connection reset by peer)
10:41:28*bjz_ joined #nimrod
10:46:03*Rational joined #nimrod
10:46:37*DiffuseStorm left #nimrod ("Leaving")
10:58:10*pafmaf joined #nimrod
10:59:38*pafmaf quit (Client Quit)
11:30:39*BlameStross quit (Ping timeout: 272 seconds)
11:42:32*BlaXpirit joined #nimrod
11:48:26Araqping Varriount_
12:06:22*bjz_ quit (Quit: Textual IRC Client: www.textualapp.com)
12:06:40*bjz joined #nimrod
12:22:15*BitPuffin` joined #nimrod
12:22:32*BitPuffin quit (Quit: See you on the dark side of the moon!)
12:23:42*BitPuffin` is now known as BitPuffin
12:33:28*Trustable joined #nimrod
13:03:32*darkf quit (Quit: Leaving)
13:27:05*untitaker quit (Ping timeout: 272 seconds)
13:31:01*prosper_ joined #nimrod
13:33:59*untitaker joined #nimrod
13:37:17*askatasuna joined #nimrod
13:49:26*askatasuna quit (Ping timeout: 258 seconds)
13:50:22*fowl joined #nimrod
14:28:21*askatasuna joined #nimrod
14:34:17*prosper__ joined #nimrod
14:34:59*Demos joined #nimrod
14:35:13*prosper_ quit (Read error: Connection reset by peer)
15:04:15*io2 joined #nimrod
15:18:11*perturbation joined #nimrod
15:22:28*prosper__ quit (Remote host closed the connection)
15:33:39*prosper_ joined #nimrod
15:41:22*quasinoxen quit (Ping timeout: 258 seconds)
15:44:31*quasinoxen joined #nimrod
15:52:09*woodgiraffe joined #nimrod
15:57:20*Joe_knock joined #nimrod
15:57:31*Joe_knock quit (Changing host)
15:57:31*Joe_knock joined #nimrod
16:07:02*BlaXpirit quit (Quit: Quit Konversation)
16:08:40*BlaXpirit joined #nimrod
16:09:52*prosper_ quit (Remote host closed the connection)
16:10:13*prosper_ joined #nimrod
16:34:00*q66 joined #nimrod
16:37:57*prosper_ quit (Read error: Connection reset by peer)
16:38:26*prosper_ joined #nimrod
16:38:45perturbationis there a good reason to favor using {.dynlib, nodecl.} pragmas for wrapping C libraries over using {.header.}? More portable (don't need header files?)
16:39:14*Joe_knock quit (Quit: Leaving)
16:39:49Araqyeah
16:40:09Araqthat's why I prefer .dynlib, I don't need to have headers around
16:40:36Araqplus .header won't work with an LLVM backend
16:41:26perturbationgood to know - thanks
16:43:23Araqbtw you shouldn't use .nodecl
16:43:30Araqit's very rarely necessary
16:43:59Araqmost code out there uses it because it used to be necessary
16:44:21perturbationhmmm... I was getting memory leaks without it when I checked with valgrind
16:44:39Araqthat makes no sense whatsoever
16:44:55Araqand checking with valgrind is quite broken anyway
16:45:24perturbations/memory leaks/'still accessible memory'/
16:48:03*Joe_knock joined #nimrod
16:55:09perturbationtested with clang and valgrind still doesn't complain... am I lucky :) ? what's wrong with nodecl?
16:55:57perturbationoh
16:56:09perturbationI'm giving the imported stuff the same names as in the header file
16:56:11perturbationthat's why
17:00:02*wkoch joined #nimrod
17:01:30*wkoch quit (Client Quit)
17:04:24*prosper_ quit (Remote host closed the connection)
17:16:48woodgiraffeI'm trying to loop over the fields of a type, having access to their name and type, in a template/macro - any pointers?
17:23:30*Jehan_ joined #nimrod
17:27:18Araqwoodgiraffe: usual way is to use system.fieldPairs and overloading instead of a macro
17:27:38Araqan immediate macro can access the type as the AST
17:28:00Araqand then you can do stuff, but there is no type API yet
17:28:58woodgiraffeAraq: thanks, will look into it
17:32:20*perturbation quit (Quit: Leaving)
17:38:46*perturbation joined #nimrod
17:40:25*Fran__ joined #nimrod
17:42:34*enquora joined #nimrod
17:44:02*Francisco quit (Ping timeout: 245 seconds)
17:46:30perturbationI'm going crazy - I'm getting a double free (or 'invalid read of size 4') when trying to call a clean-up function on what should be non-GC'd memory and Araq should be right about not needing 'nodecl' but it's broken ('still accessible') without it
17:46:39perturbationcan I post a gist and someone can take a look?
17:46:49Jehan_perturbation: Sure.
17:47:10Jehan_No promises that I'll actually be able to help, though, but I can try.
17:48:29perturbationhttps://gist.github.com/singularperturbation/b48c2c6234a17c188aaa
17:48:55perturbationthanks Jehan!
17:51:52Jehan_Hmm, you call mkd_cleanup() even if mkd_in() returned nil?
17:52:42perturbationhmmm... yeah. That should be fixed
17:53:21perturbationbut it *does* output formatted HTML, so mkd_in() should be returning a PMMIOT
17:55:46*Matthias247 joined #nimrod
17:57:13Jehan_I'm still sorting a few things out, but here's how the interface works:
17:57:41Jehan_using dynlib and passL:-lwhatever are mutually exclusive.
17:58:34Jehan_If you declare a proc as dynlib, Nim will grab the lib with dlopen(), look up the symbols in there, and use the function pointers to call them.
17:59:23Jehan_If you mix and match dynlib and implicit use of passL, this may, depending on how DLLs work on your OS, create runtime confusion.
17:59:33perturbationgood to know
18:00:26Jehan_What nodecl does in conjunction with dynlib is to assume that this proc will not go through the dlopen mechanism.
18:00:43Jehan_(I'm not sure if that's intended, but that's what happens.)
18:01:31Jehan_But that's no different from not using dynlib at all in the importc pragma.
18:03:00Jehan_But in general, all importc procs should have the same pragma. This is best done using either {.push …} and {.pop.} or declaring a custom pragma.
18:04:05perturbationI'll give it another look... it compiles fine (removing the passL and nodecl pragmas, with just dynlib) but now leaks more memory
18:04:12perturbationtwo steps forward, eh? :)
18:05:45Araqyou need to run it in a loop to see if it leaks
18:06:04Araqit could simply cache stuff, you know
18:06:58Jehan_Also, if you use nodecl, there will not actually be a C prototype if you use dynlib.
18:07:47Jehan_In particular, that means that a function that returns a 64-bit value or a pointer will instead be assumed to return a 32-bit int on most 64-bit architectures.
18:08:12Jehan_"nodecl" means: I provide a C prototype myself somewhere (e.g., through {.emit.}).
18:08:55*johnsoft quit (Ping timeout: 272 seconds)
18:09:07perturbationI took out nodecl (didn't realize it conflicted with dynlib)
18:09:12*johnsoft joined #nimrod
18:09:34Jehan_Honestly, I hadn't know that myself until I looked at the generated code. :)
18:09:39Jehan_known*
18:18:16*EXetoC joined #nimrod
18:46:56*willwillson joined #nimrod
18:58:20perturbationok - so markdown() calls mkd_cleanup() internally - it's not needed to call directly - so that solves that mystery
19:00:40perturbationnow I just need to figure out where I'm leaking memory / do some more cleanup
19:00:46perturbationthanks Jehan, Araq
19:03:02OnionhammerJoe_knock sorry i disappeared yesterday before I could reply.. but you should check out nim-templates
19:03:10Onionhammerhttps://github.com/onionhammer/nim-templates
19:03:41Joe_knockOnionhammer: No probs. Thanks for the link.
19:03:50Onionhammeralso Jester
19:04:18Onionhammermy site is built on jester/nim-templates with nginx web server
19:04:21Joe_knockI'd really like to see what web apps have been built so far with Nim.
19:04:43Onionhammer │ untitaker │13:12:56 +bastard_ | I can now import and export .mdls straight from Milkshape3d │
19:04:43Joe_knockOnionhammer: Link?
19:04:44Onionhammer13:18:16 --> | EXetoC ([email protected]
19:04:47Onionhammererm
19:04:49Onionhammeroops
19:04:52Onionhammerhttp://www.eoleary.me/Blog/The-Templates-Library
19:05:05*Fran__ is now known as Francisco
19:05:34Onionhammerit's hosted on a cubox-i, so not a powerhouse server
19:06:01Joe_knockOnionhammer: Is it running on an SPA or is it that fast??
19:06:17Onionhammerhmm?
19:06:35Onionhammerit's not an SPA
19:06:41Onionhammerit uses ajax to retrieve other articles
19:07:07Onionhammerbut then it also changes the URL so if you refresh ur still at the same url
19:07:22Joe_knockaah okay. I figured there was some JS involved.
19:07:27Onionhammeryep
19:08:06Joe_knockOnionhammer: Have you successfully built an API with Jester?
19:08:08Onionhammerit will be even faster once the new asyncio stuff is stable
19:08:16Onionhammerbuilt an API?
19:08:31Joe_knockYes, for eg. a CRUD app
19:08:56OnionhammerI haven't done a CRUD app in nim/jester
19:09:08Onionhammerbut are you asking about writing a web service or something?
19:10:05Joe_knockOnionhammer: Yeah. It specifies that Jester is similar to Sinatra which is similar to Flask. So using some of my flask code, I want to build the same API in nim/jester
19:10:43Onionhammeri've never used sinatra/flask etc, I'm primarily asp.net/mvc at work
19:10:54Onionhammerso there's a terminology gap here ;)
19:11:29Joe_knockaah I see :P Are you familiar with RESTful services though?
19:11:31Onionhammerit would be pretty easy to write a JSON webservice or something though..
19:11:54Onionhammeryeah that would be easy
19:12:04Onionhammerthe hard part woudl be the logic
19:12:32Onionhammeryou can do routes in jester like get "applications/delete/@id"
19:12:42Onionhammerand the @id becomes a variable in the request handler
19:12:57Joe_knockThat's the one part I can't seem to clearly understand in RESTful services. How/Where to provide the logic.
19:13:33Onionhammerhave you looked at the jester readme?
19:14:01Onionhammerthere aren't really good patterns established for web apps in nim right now, i'm still developing mine
19:14:22Onionhammerbut jester/asyncio etc needs to be fixed up before i do much more work w/ it
19:14:39Onionhammercurrently it doesnt build on OSX
19:15:03Joe_knockLow bus factor Onionhammer :P dom96 now has a life, so we'll have to pick up his Jester code
19:15:12Onionhammerheh
19:15:19Onionhammeryeah unfortunately i have a life too :\
19:15:34Onionhammerthe only reason im able to talk right now is because I'm at work and happen to be between projects :)
19:16:06shodan45Onionhammer: a bit off topic, but I just read your "controllershell" blog post... SDL2's joystick support is incomplete?
19:16:14Joe_knockthey don't pay you for 10% open source contributions? :(
19:16:29Onionhammershodan45 not SDL2's support
19:16:36Onionhammernimrod's SDL2 wrapper
19:16:43shodan45ohhhh
19:16:47shodan45missed that :)
19:16:52Onionhammernp :)
19:17:05OnionhammerJoe_knock ha, no unfortunately not :p
19:17:30shodan45Onionhammer: you have any screenshots of it? I've been wanting something similar to it for ages now
19:17:49Onionhammershodan45 I meant to add some screenshots of it for a while, but havent gotten around to it yet
19:17:54OnionhammerI'll make some tonight though if I remember!
19:18:08Onionhammerit's pretty basic, and very customizeable, you can change around the fonts and colors and padding and whatnot
19:18:17shodan45Onionhammer: ok, I'll have my browser auto-refresh every 5 minutes then ;)
19:18:24Onionhammerlol
19:18:39Joe_knockI think nim has a low-level binding issue. There's tons of cool things we can bind it too, but not many folks have the necessary knowledge for those upstream tasks that need being done for the derivative works.
19:18:56*shodan45 misses that built-in feature from Konqueror :(
19:19:09Joe_knockshodan45: DDoS :O
19:19:10Onionhammershodan45 i made myself a reminder for tonight
19:19:43shodan45Joe_knock: with great power comes great responsibility ;)
19:20:11Joe_knock:'D
19:21:58*Mat3 joined #nimrod
19:22:02Mat3hello
19:22:29shodan45Mat3: hello
19:23:03Mat3hi shodan45
19:39:54*flaviu1 joined #nimrod
20:14:14perturbationone last question re: that markdown wrapper I was working on... I'm 90% sure things are correct now
20:14:26perturbationbut if I run through valgrind, I still get 5 more allocs than free's
20:14:47perturbationif I run the main() proc in a loop, it's always only 5, and it looks like they come from dlopen() calls
20:15:17perturbationis this just a false positive? no complaints from valgrind if I use passL w/ header instead of dynlib
20:16:16Araqperturbation: yes. false positive.
20:16:23Jehan_perturbation: The thing is that the dynamic library, once opened with dlopen(), will never be closed.
20:16:39Jehan_Which means that all memory allocated through it will persist until the program exits.
20:19:05perturbationokay - that makes sense
20:19:56perturbationshould (can?) I free that memory manually with dlclose/or the moral equivalent?
20:19:59*BlameStross joined #nimrod
20:20:12*BlameStross left #nimrod (#nimrod)
20:23:44Jehan_Why?
20:25:21Jehan_This isn't DOS. The OS will automatically reuse the process's memory once it's terminated.
20:27:20perturbationwell
20:27:29perturbationfor one curious :)
20:27:44perturbationfor another, want to know what The Right(tm) Is
20:28:07Jehan_To just let the OS do it.
20:28:09perturbationand also I've been conditioned to feel a deep sense of unease if valgrind says anything to me
20:28:41Jehan_Otherwise, the GC would have to run an extra collection at the end of the program, for example. For no reason at all.
20:29:07shodan45OCD GC? :)
20:29:37Jehan_Well, frankly, part of the reason to use a language with GC and bound checking is to be able to toss valgrind on the trash.
20:29:55perturbationI mean - what if the leftover memory was significant from a crypto standpoint?
20:30:06perturbationshh-- it's okay, valgrind baby, he doesn't mean it
20:30:25Jehan_If it's significant from a crypto standpoint, as you put it, then free isn't going to fix it.
20:30:34Jehan_Because free isn't going to zero the underlying memory.
20:30:57Jehan_Zeroing memory with sensitive data is actually a pretty difficult problem.
20:31:17*flaviu11 joined #nimrod
20:32:17*perturbation remembers reading an article a few weeks back about how most attempts at zeroing out buffers would be optimized away by the compiler since the memory wasn't read again\
20:32:41*flaviu11 quit (Client Quit)
20:32:45perturbationin most implementations of C, I mean
20:33:18Mat3may I notice that some operating systems can not grant memory deallocation in all cases ?
20:34:49Jehan_Mat3: Yeah, but if you're using them, you've got way bigger headaches.
20:38:15shodan45perturbation: from my limited microcontroller programming, adding "volatile" to the type might fix that
20:39:10*BlameStross joined #nimrod
20:40:50perturbationshodan: it got hairier than that
20:40:55Jehan_shodan45: Yes and no.
20:41:02perturbationI'll see if I can find the article
20:41:12Jehan_And a big problem is that if you have volatile everywhere, then your performance will go to hell.
20:42:13Jehan_Consider, for example, an AES implementation, where literally every bit of the state and the key would have to be volatile if you really want to be safe.
20:42:16shodan45wait, I know! inline asm! :)
20:47:36EXetoCbacons
20:56:28fowlsup nimrods
21:11:28*BitPuffin quit (Ping timeout: 244 seconds)
21:16:38Mat3how can I read from stdin in raw mode within Nimrod ?
21:17:06Mat3exist there a getkey like function or something =
21:18:05fowlyou could use the same functions you would use to do it from c (some ioctl calls?)
21:22:56*Demos_ joined #nimrod
21:23:27AraqJehan_, perturbation actually we should generate some "closeDLLs" proc that can be called at shutdown for valgrind etc. but it's of super low priority
21:24:16Mat3fowl: Altering the termios configuration is a Un*x only solution
21:25:23AraqMat3: whatever you call in C, you can call from Nim
21:25:40Mat3(I even do not know how to accomplish raw keyboard input for Windows)
21:25:40Jehan_Araq: I think the point is that there's no portable way to do it in C.
21:26:27*Demos quit (Ping timeout: 244 seconds)
21:26:30Araqquite likely, yes
21:26:40Mat3ok, Windows based C compiler has a simple and nice conio.h library
21:27:03AraqMat3: conio.h may be C compiler specific though
21:27:10Araqit's usually better to use the win API directly
21:27:54*quasinoxen quit (Ping timeout: 258 seconds)
21:30:16*Mat3 thinks a Nimrod standard library for console access (something like the OS/2 VIO interface) would be a good idea
21:30:44fowlthere is a terminal module
21:31:10Araqyeah, we need to enhance terminal.nim
21:35:40perturbationAraq - is there a good list of things that could be worked on (github project list maybe?) that I/we could help with?
21:36:04perturbationI don't know enough to write parser/compiler internals
21:36:13Mat3Araq: I spend some time on this after finishing these compiler port
21:36:15perturbationbut I could help with some stuff / improve documentation
21:39:08*dom96 quit (Excess Flood)
21:40:19*dom96 joined #nimrod
21:40:50Mat3I think this would greatly help attracting programmers (documentation is relevant to quite anything)
21:41:26*dom96 quit (Excess Flood)
21:41:33*dom96 joined #nimrod
21:41:37Mat3hi dom96
21:41:54Mat3how's your study ?
21:44:10*Joe_knock ponders about college ... ehh. dom96 must be drunk on a friday night :'D
21:45:27*Jesin quit (Quit: Leaving)
21:45:53*Jesin joined #nimrod
21:46:39dom96hey guys
21:46:42dom96Just got a chromebook
21:46:55dom96And nah, I'm not drunk :P
21:51:44Mat3good for you, have you tried to install a useful operating system for it yet ?
21:52:36*askatasuna quit (Quit: WeeChat 1.0)
21:52:45*BlaXpirit quit (Quit: Quit Konversation)
21:52:48*askatasuna joined #nimrod
21:52:54*askatasuna quit (Client Quit)
21:56:04Araqperturbation: most important:
21:56:09Araqinstall bigbreak
21:56:24Araqmake PRs to Babel packages that don't compile with it
21:58:11Jehan_dom96: Not sure why you felt the need to mention that. :)
21:58:40Jehan_I've been toying with the idea of getting a Chromebook myself.
22:00:11dom96Jehan_: I got the HP Chromebook 14, it's pretty nice.
22:00:27Jehan_dom96: What are you using it for?
22:00:30dom96Mat3: not yet. Chrome OS is alright.
22:00:40dom96Jehan_: I'll be taking it to lectures for note taking.
22:00:47dom96Jehan_: Haven't done much with it yet.
22:00:52dom96But first impressions are good.
22:01:07dom96The Chrome OS IRC client is pretty shit though.
22:01:09Jehan_dom96: I've mostly been thinking about having one as a PDF reader for papers.
22:01:44dom96Jehan_: That would work.
22:02:04dom96Might be a bit overkill though. But perhaps you dislike touch screens.
22:02:13Jehan_Unfortunately, there's no equivalent to Skim for ChromeOS.
22:02:38dom96What's that?
22:03:21Jehan_dom96: PDF reader for OS X.
22:04:13Jehan_One that is designed for marking up PDFs with notes etc.
22:04:49dom96I see.
22:04:57Mat3well, you probably can install Arch Linux and profitate from the bright software base
22:05:02Jehan_On the other hand, getting a Macbook Air just to keep my main monitor free would be overkill.
22:05:12dom96The build quality of this chromebook is very mac-like.
22:05:27Mat3or try to make a Hackintosh out of it (with some upgrading)
22:05:46dom96But it's possible that I am wrong because I don't really have that much experience with macs.
22:06:55*quasinoxen joined #nimrod
22:07:05Jehan_dom96: It's not the build I'm concerned with, it's the software. :)
22:07:36Jehan_Macs are nice, but I'd use a Linux computer if it ran the software I need.
22:12:03Joe_knockJehan_: There is tablet software where you can "write" in PDFs
22:12:10*Jehan_ quit (Quit: Leaving)
22:12:48*Jehan_ joined #nimrod
22:15:00perturbationAraq: bigbreak won't compile for me right now, but I'll try it later on and add PRs to anything that I notice breaking
22:16:35perturbationI just want to try and help if there's some low-hanging fruit :)
22:16:54dom96Jehan_: Chrome remote desktop is working very well.
22:17:59Jehan_dom96: Hmm, interesting, I hadn't thought about that.
22:18:36dom96Jehan_: This was my plan all along :)
22:18:40dom96Impressed it works this well.
22:18:47Jehan_Heh. :)
22:20:52Joe_knockdom96: As far as coming to terms with Jester, can I use the older version?
22:22:08dom96Joe_knock: You can, but I wouldn't recommend it.
22:23:06Joe_knockI don't want to break my current nim version, but ehh. not sure what to do. Guess I can just wait till bigbreak is stable
22:25:23*Matthias247 quit (Read error: Connection reset by peer)
22:26:36EXetoCmeaning 0.9.6? :p
22:27:02Araqbigbreak IS more stable than devel, I think
22:27:18Araqsince there are some fixes that have not been backported
22:28:53*saml quit (Read error: Connection reset by peer)
22:36:23*def- quit (Ping timeout: 240 seconds)
22:39:03Joe_knockbigbreak is bigbreak :P meaning things like gtk2 dont work, right?
22:39:29AraqI don't know
22:39:44Araqyeah I think that's broken a bit
22:40:12Joe_knockOkay, let me do it then. bigbreak here I come
22:41:53TrustableHi all, I want to try out sdl2/audio. When I import it, I get the error "undeclared identifier SDL_BYTEORDER". How can I declare it?
22:42:39*io2 quit (Ping timeout: 258 seconds)
22:43:25AraqTrustable: complain at fowl ?
22:43:56fowlsdl2's audio module is not finished
22:44:00TrustableIt's this source line: https://github.com/nimrod-code/sdl2/blob/master/src/sdl2/audio.nim#L118
22:44:20*def- joined #nimrod
22:44:36Trustableflow: ok, is it already usable?
22:44:48fowlhttps://github.com/nimrod-code/sdl2/issues/1
22:45:11fowlTrustable, everything but the net and audio modules are
22:45:16*kuzy000_ quit (Ping timeout: 260 seconds)
22:45:38Trustableflow: I will try to get around this error
22:48:39*francisl joined #nimrod
22:51:22*Jehan_ quit (Quit: Leaving)
22:53:13Mat3probably it would be better for all programmers who relate on SDL if you work on the problem (complete the audio part) instead of code a workaround
22:54:40*perturbation quit (Quit: goodnight all)
22:54:57*francisl quit (Quit: francisl)
22:55:22Mat3ciao
22:55:26*Mat3 quit (Quit: Verlassend)
23:00:20*io2 joined #nimrod
23:01:03fowlTrustable, i will try to finish the audio module this weekend
23:02:15TrustableEXetoC, I made a PR for OpenGL: https://github.com/nimrod-code/opengl/pull/6
23:02:32fowlno promises though, i'm also working on remodeling my kitchen and dining room
23:03:44*enquora quit (Quit: enquora)
23:04:22Trustablefowl, thx, I watch for changes
23:09:33Varriount_Meep
23:09:46*Varriount_ is now known as Varriount
23:11:11*EXetoC quit (Quit: WeeChat 1.0.1)
23:11:18fowlcommented on your opengl pullrequest Trustable
23:11:45VarriountAraq: I saw yours and Jehan's post on inheritance for value types on the forums. Perhaps the compiler should warn when a value type is being inherited from?
23:12:40*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
23:14:36*def- quit (Ping timeout: 250 seconds)
23:14:49Demos_slicing is pretty bad, I would agree with eliminating it, I am OK with having ptrs to object types
23:16:54Trustablefowl: I changed it like suggested
23:18:16*def- joined #nimrod
23:20:52*bjz quit (Quit: Textual IRC Client: www.textualapp.com)
23:21:14*bjz joined #nimrod
23:21:24fowlTrustable, don't define PGLfloat/double, change references to them to 'ptr TGfloat'
23:22:00Trustablefowl: ok
23:22:26fowlin fact just search and replace "PGL" with "ptr TGL"
23:24:28Trustablefowl: done
23:25:47fowlTrustable, thanks, its merged
23:26:22Trustablefowl: fine :)
23:27:40Araqhi Varriount
23:27:46Araqthis weekend is release
23:28:04Araqare you ready?
23:30:07*Jesin quit (Quit: Leaving)
23:36:21*quasinoxen quit (Ping timeout: 272 seconds)
23:36:24*quasinoxen joined #nimrod
23:36:41VarriountAraq: Yes.
23:37:14VarriountAraq: I'm fixing babel packages at the moment, but yes, I'm ready.
23:37:21*quasinoxen quit (Client Quit)
23:38:00*def- quit (Ping timeout: 260 seconds)
23:38:35Araqyay, excellent!
23:38:46*def- joined #nimrod
23:41:44*darkf joined #nimrod
23:42:40*Joe_knock quit (Quit: Leaving)
23:47:50AraqVarriount: dunno yet what to do about object inheritance
23:48:07AraqI think it can be made to work good enough
23:48:37Araqwithout having to go through ptr/ref
23:48:56*boydgreenfield joined #nimrod
23:50:05*def- quit (Ping timeout: 244 seconds)
23:50:15VarriountAraq: Oh? How?
23:53:21Araqparameter passing already is done via pointers for inheritable objects
23:53:35Araqand assignment needs to check that no slicing happens
23:53:38Araqin fact
23:53:51Araqthat's how it's implemented since a long time
23:53:58Araqbut apparently still buggy ;-)
23:55:27NimBotVarriount/NimLime master 414dee0 Clay Sweetser [+0 ±2 -0]: Updated nimcheck command to work with the compiler path setting.... 2 more lines
23:55:51*def- joined #nimrod
23:55:58*Varriount is now known as NimBot
23:56:28NimBotHm... What should I use my newfound nickname for...
23:58:25*NimBot is now known as Varriount