<<19-02-2013>>

00:25:41*q66 quit (Remote host closed the connection)
01:26:30*Anaphaxeton joined #nimrod
03:07:03*XAMPP quit (Read error: Connection reset by peer)
05:07:12*fowl joined #nimrod
05:07:43*fowl_ joined #nimrod
05:08:28*fowl quit (Client Quit)
05:08:28*fowl_ quit (Client Quit)
05:08:36*fowl joined #nimrod
05:08:43*fowl quit (Client Quit)
05:09:55*fowl joined #nimrod
05:35:09*XAMPP joined #nimrod
05:35:09*XAMPP quit (Changing host)
05:35:09*XAMPP joined #nimrod
05:46:42fowlAraq: no idea where to get libffi binaries for windows
05:47:12fowlthe first page of google didnt solve my problem and i dont feel like compiling make and shit because apparently i dont have that either
06:33:01*FreeArtMan joined #nimrod
07:14:04*XAMPP quit (Quit: My code has no bug's, just random features)
07:21:17*q66 joined #nimrod
07:33:04*gour joined #nimrod
07:43:14*fowl quit (Remote host closed the connection)
07:53:59*fowl joined #nimrod
08:30:52*Araq_ joined #nimrod
08:34:21*Araq_ quit (Client Quit)
08:43:25*q66 quit (Remote host closed the connection)
09:08:03*gour quit (Disconnected by services)
09:08:04*gour_ joined #nimrod
09:19:15*gour_ is now known as gour
09:20:44*Anaphaxeton quit (Ping timeout: 252 seconds)
10:36:43*XAMPP joined #nimrod
12:14:22Zorfowl: you can build libffi reasonably easily on cygwin, mingw32, mingw-w64
12:14:47Zorshould build out of the box on all 3
12:39:37*Anaphaxeton joined #nimrod
12:52:41*Anaphaxeton quit (Quit: Αποχώρησε)
13:25:10*fowl quit (Quit: Leaving)
13:31:01*q66 joined #nimrod
13:43:13*XAMPP-8 joined #nimrod
13:44:50*XAMPP-8 quit (Client Quit)
15:21:37*FreeArtMan quit (Ping timeout: 248 seconds)
15:43:26gourAraq: thank you for your answer in the forum, but replacing #define with #def still does not work on my minimal example - see http://pastebin.com/5qUM2pbQ
15:45:06gouriow. it fails on function declaration ext_def(int32) swe_heliacal_ut
15:45:25gouradding/remolving ';' does not help
17:25:23reactormonkAraq, btw, close or accept those pull requests imo
17:32:56*Anaphaxeton joined #nimrod
17:38:07*FreeArtMan joined #nimrod
17:47:53*Anaphaxeton quit (Remote host closed the connection)
17:48:30*Anaphaxeton joined #nimrod
17:56:02Araqping gour
18:00:35*filwit joined #nimrod
18:00:46filwithi guys
18:02:04filwitAraq, dom96, you around?
18:13:39dom96filwit: I am now ;)
18:14:19filwithey dom96 :)
18:14:27dom96hey filwit :D
18:14:30dom96What's up?
18:14:40filwitso, I know the guy who runs: http://worldofgnome.org/
18:14:48filwitand he's going to make me an editor
18:14:58filwitand I was thinking we could do a Nimrod article
18:15:03filwitwhen we launch the new site
18:15:04dom96cool!
18:15:10dom96great Idea.
18:15:16filwitwill have to be Gnome centered
18:15:24filwitso GTK bindings, etc
18:15:28dom96That might be a challenge
18:15:34dom96You could mention Aporia though
18:15:48dom96It's already a pretty good alternative to gedit
18:16:00dom96Will need to release before that though
18:16:18filwitwell I'm thinking a tutorial on building a GTK app in Nimrod
18:17:15filwitone sec
18:17:28dom96The GTK wrappers are not very Nimrodic yet though :\
18:17:58filwitdom96: we'll only use GTK as a way to sneak in cool Nimrod language features show offs
18:18:16filwitPython is used in Gnome a lot
18:18:37filwitso Nimrod is kinda like the "Fast/Safe version of Python"
18:18:46filwit(at least that's going to be people first impressions)
18:21:03dom96filwit: how big is world of gnome?
18:21:13filwit... sorry, talking to someone ATM
18:21:29filwitum.. take a look at the traffic: http://wogue.org/piwik/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday
18:21:32filwitit's not huge
18:21:36filwitby any means
18:21:49filwitbut 1,400-2,000 hits a day isn't bad
18:21:59dom96indeed.
18:22:55filwitit will bring a lot of eyes to Nimrod, and if we corrolate it with the new site, we can get quite a few good "first impressions"
18:24:45*Anaphaxeton quit (Quit: Αποχώρησε)
18:25:04Araqfilwit: excellent, thanks a lot
18:25:25filwitnp, my pleasure
18:25:46filwitlike i said, i would like to see Nimrod get bigger as well
18:26:41filwitthat way.. my complaints will be echoed in the larger voice of the populous, and you will have to recognize the correctness of my arguments :P
18:27:23filwit(in actuality, I think I'm probably the only person that cares so much)
18:29:03filwitanyways, since you way it will be around 1-2 months for the next version of Nimrod to be released
18:29:08dom96hrm, is there a big blog which focuses strictly on programming language news?
18:29:14filwitwe should start writing an article now
18:29:22Araqdom96: lambda the ultimate?
18:29:25filwitand get it ready so we can do a "marketing push" on that date
18:29:56dom96Araq: hrm, true.
18:29:57filwitdom96: probably, but not that I can get an article into :P
18:30:40dom96We should submit a link to lambda the ultimate simultaneously :P
18:30:58filwityes good idea
18:30:59AraqI guess I could get an article to LTU
18:31:24filwitand if you guys use Twitter (i don't) then announcements there, and Reddit, etc
18:31:48dom96yeah.
18:32:04reactormonkdom96, did you implement nimrod serve yet?
18:32:13dom96reactormonk: in aporia, no.
18:32:26reactormonkdom96, do you have any docs?
18:32:32dom96reactormonk: nope, sorry.
18:32:39Araqreactormonk: nobody has :-)
18:32:45reactormonkAraq, see issue...
18:32:51reactormonkAraq, can you assign that to zah?
18:33:39dom96reactormonk: You could take a look at the source code if you're desperate ;)
18:33:51Araqreactormonk: done
18:34:09filwitalso, I was going to say that the web-site should have better pages than it does now. For instance "Community" should actually talk the community, goals, and maybe an exert about Araq and other contributors, etc
18:34:30reactormonkdom96, sure
18:34:44filwitthe maybe have a few more code examples in the docs page (like the one on the home page)
18:34:47dom96filwit: I agree.
18:34:47reactormonkfilwit, and use bootstrap?
18:35:11filwitreactormonk: what do you mean?
18:35:17reactormonkfilwit, twitter bootstrap
18:35:26*Anaphaxeton joined #nimrod
18:35:36dom96reactormonk: use twitter bootstrap for what?
18:35:39filwitreactormonk: i know what bootstrap is, i just don't know what context you're talking about
18:35:57filwitreactormonk: do you mean a tutorial on how to build Nimrod?
18:36:27reactormonkdom96, for the webpage
18:36:42dom96reactormonk: what benefits would that bring?
18:36:49reactormonkdom96, looks fancy
18:36:59dom96reactormonk: I guess you haven't seen filwit's design?
18:37:04reactormonkdom96, nope
18:37:22filwitreactormonk: http://reign-studios.com/nimrod/web/
18:37:29dom96Also, I dislike twitter bootstrap.
18:37:41dom96There are too many websites which use it
18:37:45reactormonkfilwit, woah. Fancy.
18:37:47dom96and I find it repulsive now.
18:37:49filwit:)
18:37:56reactormonkfilwit, but somehow the character spacing is a bit too wide.
18:38:19reactormonkfilwit, and it was 'Rumpf' iirc
18:38:29filwiti am adding a bit of extra spacing, but i like it. What browser/OS are you on?
18:38:39reactormonkchromium / Linux
18:38:51filwitreactormonk: plus, we can fiddle with the CSS and decide what works best
18:39:10reactormonkfilwit, http://ompldr.org/vaGl1NQ
18:40:02filwitreactormonk: okay, I'm using the same setup and I don't mind the spacing :)
18:40:15filwitreactormonk: ps. No AdBlock?
18:40:17reactormonkfilwit, ... are the tabs supposed to work?
18:40:29Araqreactormonk: it's a *design*
18:40:31reactormonkfilwit, sure, see that little icon next to the star?
18:40:36filwitreactormonk: not yet, it's just the template
18:41:01Araqit's also "welcome" and not "welcom", but who cares
18:41:03filwitreactormonk: oh, you're shows up differently than mine
18:41:04reactormonkfilwit, ok.
18:41:06Araqit's a design
18:41:27filwitoh, whoops, misspelled that
18:42:52filwitfixed
18:43:04Araqfilwit: the problem with better docs is that nobody reads them anyway
18:43:05filwitidk how I turned "Welcome" into "Wecom"
18:43:06filwitlol
18:43:19filwitAraq: i didn't mean changed the docs
18:43:29Araqseriously, just look at the latest thread on the forum
18:43:36Araqit's like talking to a wall
18:43:39filwitonly give a few "quick examples" on the docs page, under the links to the official docs site
18:44:06filwitlike the little code example on the homepage
18:44:19filwitAraq: I've never browsed the forums before
18:44:29filwitAraq: cause they're so ugly
18:44:36Araq:-(
18:44:43filwitlol
18:44:52AraqI like the design
18:44:55reactormonkfilwit, hm. letter-spacing: 0.9px and 1px gives widely different results
18:45:19filwitreactormonk: it's rounded down. 0.9px is 0px
18:45:25reactormonkoh.
18:45:32reactormonkAnyway, I prefer http://i.imgur.com/SnaWCSj.png ;-)
18:45:33filwityou can't have 0.9px lol
18:45:36filwitthey're pixels
18:45:54reactormonkfilwit, hacking without brainz - works sometimes.
18:46:22filwit:)
18:47:06dom96filwit: :(
18:47:07reactormonkletter spacing in the quote is fine imo.
18:47:08filwitlet's just take a community vote later about the letter-spacing, or do whatever Araq likes best
18:47:12dom96That's my crappy design </3
18:47:29filwitdom96: :O sorry
18:47:41dom96lol it's ok
18:47:56filwitit's just isn't exactly what a modern forum should look like, IMO
18:48:12dom96yeah, I agree.
18:48:18dom96I didn't have time to design it well
18:48:25filwityes i understand
18:48:50dom96but you can design it too if you want ;)
18:49:01filwitgetting things done is more important than nit-picking all the aesthetic details... at least to everyone but me
18:49:38Araqfilwit: the real test is whether the design is still bearable within a year
18:49:42filwitdom96: we can redesign the forum later, maybe just house your design (with some CSS mods) in the new sight layout or something
18:50:20filwitAraq: I have a nagging feeling that one day you're going to wake up and hate the new website, and then take it down, lol
18:50:31filwitAraq: which is fine, it is your website afterall
18:50:40Araqthat's a real danger ;-)
18:50:58AraqI'm happy I still like the current website and forum
18:51:15Araqit's not super hot, but it ages slowly :P
18:51:29Araqymmv of course
18:51:52filwitwell even if you like it a lot, I think having a "fancy looking" website with help Nimrod attract attention
18:52:31filwitymmv?
18:53:56filwitpeople often underestimate the power of good advertising. I've watched companies double and triple their customers overnight due to a new ad graphics and slogan
18:54:02filwitwithout even advertising more
18:54:18dom96I completely agree with you filwit
18:54:55dom96It's a subconscious thing I think.
18:54:58filwitthey just put a new catch-phrase on their existing ad-spots and change the graphics to look better and stand out more (compared to other competitors), and bam, 2-3 times more interest
18:55:07filwitdom96: yeah exactly
18:55:20filwitdom96: most advertising isn't even about saying anything
18:56:36filwitdom96: it's just about association. You're more likely to buy a product off the shelves, if you've seen it on TV, and the ad left you with a positive feeling. That emotional memory with the images sticks, even if you're not conscious of it.
18:57:20filwitthat's why all those stupid skiddles and snickers bars ads work
18:59:26dom96indeed
18:59:41filwitanyways folks, I need to get back to things. Just wanted to let you know about the article possibility
19:00:01filwitI will want help writing that, and coming up with good material
19:00:30Araqexcellent
19:01:33filwitoh, ps. Kudos on that "term rewriting macros" feature
19:01:50filwiti saw that cause of Doms post on the Math-D article
19:01:54filwitthat's really handy
19:02:00Araq:-)
19:02:10filwit(though, if misused, could introduce really hard-to-find bugs)
19:02:35Araqyeah but it's never really been tried before
19:02:36dom96yeah :D
19:02:40dom96I knew people would see it :D
19:02:45filwitit could be really great for example, translating game-script code (written by "noobs") into simd-optimized code
19:02:51Araqyep.
19:03:09filwitps. what's the situation with SIMD btw?
19:03:17filwitand work done on that front?
19:03:26filwiti've learned a lot about that recently
19:03:35filwitnot an expert or anything
19:03:41Araqwe had a guy that wanted to do it
19:03:44filwitbut maybe i can hack it into the compile with some help
19:03:47Araqbut apparently he is too busy
19:04:19Araqfilwit: you would have my full support for that
19:04:31Araqit's easily wrapped with the existing FFI
19:04:50Araqand as you said, TR macros for sugar
19:04:52filwitAraq: yes dom96 mentioned that the other day
19:05:06filwitAraq: i will look into the FFI lib support you added
19:06:07filwitAraq: but i don't really think TR macros should be used soley. Maybe there should be a compile flag with introduces extra TRMacro modules into the compile
19:06:19filwitbut i think there should be a SIMD-optimized Vector type
19:06:56filwitsince often, the only way to get good performance is to limit how you access the vector components, and encourage using vectors "as a single number" type of thing
19:07:38Araqfilwit: I've seen benchmarks where Nimrod outperforms C where the C uses SIMD intristics
19:07:42*zahary joined #nimrod
19:07:44Araqand Nimrod simple arrays
19:07:44filwiti will probably just copy Manu's std.simd (D) lib (which uses C's ia_xxx functions)
19:08:09dom96hrm, what is SIMD?
19:08:12filwitAraq: well.. Nimrod compiles to C, and GCC auto-vectorizes
19:08:20AraqGCC's auto vectorization is not bad these days
19:08:29Araqyes, that's my point
19:09:00filwitAraq: yes, but it's easily beaten with specialized vector types when used right.
19:09:06filwitAraq: i've done tests
19:09:23Araqfilwit: the C was code from the language shootout iirc
19:09:36Araqbut sure, go ahead I don't mind
19:10:02Araqbtw TR macros basically require you to have version that doesn't require them
19:10:10filwitAraq: the problem is, things like Matrix multiplication is to complicated for a auto-vectorizor to really figure out the best way to do things (at least today). There are a lot of tricks, and even more with different SIMD instructions
19:10:37Araqmatrix multiplication is a simple pattern, easily hard coded in a compiler
19:10:41filwitAraq: yes, I think TR macros are definitely worth looking into.
19:11:25filwitAraq: there's actually a few different ways for the code to happen, and so you have to analyze for more than just one pattern
19:11:42filwitthat the code can happen**
19:11:46Araqhi zahary, I got rid of the cellsets for the mark&sweep GC, but it doesn't work yet :-/
19:12:07Araqfilwit: sure, but you should test Intel's compiler
19:12:25filwityes, I hear good things about ICC
19:12:52filwitbut apparently it's only really good for Intel, and it's closed.. so whatever
19:12:56filwiti don't have much interest
19:14:15filwitdom96: SIMD = Single Instruction Multiple Data, it stands for special CPU hardware operations that work on a set of data usually used for Math & Game code (Vectors)
19:14:42dom96ahh, from a quick skim read of the wiki article I think I get it.
19:15:15filwitdom96: basically, it just allows you to do 4 float operations in 1 operation
19:15:21filwitdom96: plus other tricks
19:15:30Araqfilwit: even cooler would be to patch the C codegen so that it supports CUDA
19:15:59filwitdon96: for example, you can "shuffle" the vector (rearange it's components) in 1 operation, which means you can compress some math operations even further
19:16:38filwitAraq: i would use OpenCL since it's a standard and cross platform (even though CUDA is better apparently)
19:17:04Araqyeah I guess you're right
19:17:16*FreeArtMan quit (Quit: rm -rf /)
19:17:27filwitAraq: plus, WebCL is coming out soon
19:17:37Araqomg
19:17:57*Araq despises anything web related
19:17:59filwitAraq: so in theory, you could use Nimrods JS backend + WebGL + WebCL bindings to write performant web apps
19:18:11*filwit agrees with Araq there
19:18:37filwitunfortunately, the web technology isn't going anywhere, at least not right now
19:19:07filwiti think eventually it will evolve into something more like Arch's repos, but it will take a long time for that to happen
19:21:25filwitdom96: one last note about SIMD: they're vital to Game Engines. SIMD can boost math performance (the major meat of Game code) by 4-10x in most cases. AAA game companies spend a lot of money in optimizing their core SIMD code.
19:21:38filwitdom96: that's why Nimrods TR macros look really cool
19:22:15filwitdom96: cause you can automate that process once, instead of paying someone tons of money to check every situation in the SIMD code
19:23:46filwitmy basic idea about how to do SIMD in Nimrod will probably be a hybrid of a Vector type + TR macros, where the macros search for Vector patterns and fix common use-case mistakes, but the actual SIMD instructions are done through the Vector's procs
19:24:20filwitall the other "general math" cases are probably being optimized by GCC anyways.
19:24:49filwitanyways, i need to get back to work
19:24:51filwitlater forlks
19:24:56dom96oh wait
19:25:04filwitwhat's up?
19:25:21dom96Perhaps docs could use a new design too ;)
19:25:37Araqdon't you dare :P
19:25:54filwiti think the docs are fine the way they are
19:25:54dom96Araq: You need to embrace change, change is good :P
19:26:05filwitthey're easy to read, and very technical to begin with
19:26:16Araqha!
19:26:20dom96lol.
19:26:26Araqsee, dom96, our docs rule
19:26:28dom96Alright.
19:26:41filwitmaybe one day, we can touch them up
19:26:50filwitthe Forum is a bigger priority
19:27:55filwitand Aporia should have it's own page (not just github)
19:28:11dom96yes, well actually. Aporia needs an icon first :)
19:28:11filwitbasically, the three main "more links" buttons should take you to something nice looking
19:28:16filwitexcept Nimbuild
19:28:20filwitthat's fine as-is
19:28:29dom96hey, Nimbuild is already nice looking :P
19:28:36filwityes i know
19:28:49filwitthat's perfectly fine
19:28:51dom96I need to add some docs to it though
19:28:58dom96as people find it confusing
19:29:52filwitidk, most people who know what they're looking at will understand it
19:30:06filwitif you don't know what a build server is, you're going to be confused regardless
19:30:15dom96yeah, but it's meant to provide latest nimrod binaries for new users too
19:30:38dom96might be nice to get that table into the main nimrod website.
19:30:40dom96under downloads
19:30:43filwitahh i see. i didn't realize there was more too it than just a progress report
19:30:54filwitdid you make this Dom?
19:30:57dom96yeah
19:31:03filwitit's nice, now that i take a second look
19:31:12filwiti like your icons and layout
19:31:28dom96it's a bit all over the place
19:31:28filwit(the documentation/C sources icons)
19:31:40filwitnow it's good
19:31:45filwitno** it's good
19:31:56dom96I took those icons off some website :P
19:32:22filwitone thing I might do though, is make the Documentation/CSources buttons a tad bigger, to make them stand out
19:32:26dom96and now that I look at the documentation icon all I see is a fuel station sign :P
19:32:48filwitreally? i see a book
19:33:06filwitbut yeah, lol, i can see the gasstation now
19:33:11dom96heh
19:33:50filwitokay, g2g
19:33:52filwitlater
19:33:55dom96see you later!
19:33:56*filwit quit (Quit: Leaving)
19:33:56Araqbye
19:43:55dom96Araq: You wanna have NimBot announce new issues and pull requests from github?
19:45:37Araqdom96: sure
19:48:34*zahary quit (Quit: Leaving.)
20:12:03*Zerathul joined #nimrod
20:22:54_poncewe use lots of SIMD at work for trancoding, and best results are more often than not loop with complier intrinsics rather than inline assembly or pure C++ with some pragmas
20:23:09_ponceloops with compiler intrinsics*
20:23:48_poncedisambiguating pointer aliasing sometimes help
20:24:40Araqmaking the backend generate 'restrict' is on my todo
20:24:56AraqI'm not sure if it should be the default though
20:25:08_poncewith ICC, restrict rarely lends to gains (!)
20:25:21_poncemightbe useful for GCC though
20:25:52AraqICC often generates 2 versions and determines aliasing at runtime
20:26:07Araqat least it used to do that ...
20:26:26_poncedidn't know that
20:27:47_poncehttp://www.unix.com/man-page/all/9f/memmove/ < restrict is not a reasonable default
20:28:34Araqafaik it's the default in Fortran
20:28:57Araqand often the code is not written with aliasing in mind anyway
20:29:27AraqI'd guess most programmers never think of it and assume there is no aliasing
20:30:54gourAraq: pong
20:31:15Araqgour: it's not enough to use #def only once for that header :P
20:31:31Araqyou need to tell c2nim what FAR means (nothing) etc.
20:32:00gourhmm, so s/define/def/g?
20:32:10Araqworth a try, yeah
20:32:57gourok. will try...a bit later when we finish some afk work...in any case i've to make this work ;)
20:34:57gourbtw, is there any work planned for nimrod to make it easier to do C++ bindings (e.g. Qt & wx)?
20:39:22Araqsure but it's not of high priority
20:39:50Araqon the other hand, parsing C++ is a challenge
20:41:13Araqso I may do it as soon as ambition gets me again ;-)
20:41:32gouri know...C++ bindings are hard for every language...otoh, today i read that even gnucash devs are considering (long-term) to move to C++ bindings not being overly happy with the direction of gtk+ project
20:41:46*gour will pray for Araq'a ambitions :-)
20:46:13Araqgour: http://nimrod-code.org/nimrodc.html#importcpp-pragma
20:48:43gourhmm..wonder if it would be good-enough for projects of qt/wx size
22:16:43gourdom96: have you forgot to comment here http://www.reddit.com/r/programming/comments/18r7zk/a_mathematician_looks_at_d/ ?
22:18:22dom96nah, I just decided not to.
22:18:42dom96most people will read my comment on the site anyway
22:19:09gourhow to comment on the site?
22:19:56dom96you need to register on it
22:20:03dom96why, what do you wanna say?
22:20:41gourthat i've chosen nimrod amongst several other langs finding it just the 'right' langu
22:20:45gour*langauge
22:21:12dom96cool
22:21:14*shevy joined #nimrod
22:36:19gourdom96: posted
22:37:54gourbut the comments are moderated :-/
22:38:35dom96yeah :\
22:39:19Araqyeah, spam the poor guy with nimrod advertising
22:40:01goursaving his soul from entanglement with D
22:40:04gour:-)
22:42:12Araqbtw I finally replied to your post
22:43:13gourthanks. i saw it...i'll also think about tup...which seems to be good for incremental builds, although not sure how/if it is relevant for nimrod
22:43:38Araqnimrod can do incremental builds on his own
22:43:49Araqwell ... ok, currently it's broken
22:44:06Araqbut the technology is there
22:44:07gourheh...i'm thinking speed-wisw
22:44:11gour*wise
22:45:10gourotoh, it seems that there is technology to do doc-building (reST --> html/pdf), so not much is missing, for my use-case
22:46:24gourbtw, there was one guy visiting this place some time ago, liking nimrod, but complaining about the license. not here any longer?
22:48:00Araqnot here anymore, but I know where to find him and he'll still use it once the licence changed
22:49:13gourso much occupied with it?
22:50:39Araq*shrug* it's his religion
22:50:47gour:-)
23:16:33*gour quit (Quit: WeeChat 0.4.0)
23:28:52*Zerathul quit (Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130201065344])