<< 23-12-2016 >>

00:02:08*yglukhov joined #nim
00:06:33*yglukhov quit (Ping timeout: 260 seconds)
00:13:01*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:25:53*space-wizard joined #nim
00:36:29*Snircle joined #nim
00:57:08*kulelu88 quit (Quit: Leaving)
01:36:18*dmi1 joined #nim
01:37:59*dmi1 is now known as dmi0
02:03:04*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:10:52*gokr quit (Ping timeout: 258 seconds)
02:12:36*vlad1777d quit (Quit: Leaving)
02:44:16FromGitter<vegansk> @andreaferretti, we had to fork jester with our implementation of async streams (https://github.com/vegansk/nimboost/blob/master/src/boost/http/jester.nim , https://github.com/vegansk/nimboost/blob/master/src/boost/io/asyncstreams.nim ). Maybe it's not so nice solution, but it mimics the current implementation of standard streams and it works on real projects with the big data posts :-)
02:46:34FromGitter<vegansk> Here is the simple example of async multipart handling from tests: https://github.com/vegansk/nimboost/blob/master/tests/boost/http/impl/run_test_server.nim#L111
02:56:56*chemist69 quit (Ping timeout: 240 seconds)
03:10:52*space-wizard joined #nim
03:11:08*chemist69 joined #nim
03:44:02*eizua joined #nim
03:49:00*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:49:29*space-wizard joined #nim
03:53:52*space-wizard quit (Ping timeout: 250 seconds)
05:01:27*PMunch joined #nim
05:03:01PMunchdom96, you there?
05:31:07*space-wizard joined #nim
05:32:51*PMunch quit (Quit: Bye)
06:04:05*yglukhov joined #nim
06:08:28*yglukhov quit (Ping timeout: 265 seconds)
06:19:34*bjz joined #nim
06:39:51*nsf joined #nim
07:17:38*byte512 joined #nim
07:18:04*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:44:47*yglukhov joined #nim
08:01:58*rokups joined #nim
08:03:36*brson quit (Quit: leaving)
08:41:21*Andris_zbx joined #nim
08:58:26*albertocg joined #nim
08:58:34*albertocg left #nim ("WeeChat 1.6")
08:58:36*albertocg joined #nim
08:58:40*albertocg left #nim ("WeeChat 1.6")
09:00:40*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:27:36*kunev quit (Ping timeout: 265 seconds)
09:29:39*kunev joined #nim
09:42:28dom96PMunch: now I am
09:46:37zevlgis it possible somhow to write nim program that prints all the imports occured in order to compile this program? I need to write some implicit dependences scanner
09:47:34flyxzevlg: transitively?
09:48:56zevlgwhat do you mean? just all import tree down to basic (with no imports) ones ..
09:49:23flyxyeah, that's transitive
09:50:26zevlgor should I simple parse the files extracting imports ?
09:50:29Araqzevlg: nim gendepend foo.nim
09:51:15Araqproduces a "dot" file containing the dependency graph
09:52:21zevlgAraq: hm, sounds great, I'll check it out
09:52:28Araqdon't parse this on your own, it's a "Nim complete" problem.
09:53:05Araqyou need a full Nim implementation to do this reliably, imports can be in 'when' that depend on compiletime evaluations
09:53:26*dmi0 quit (Ping timeout: 264 seconds)
09:53:46euantordom96 Looking at that Nimble issue. Looking at creating a Fork with the API - this comment makes it sound interesting... `Forking a Repository happens asynchronously. Therefore, you may have to wait a short period before accessing the git objects. If this takes longer than 5 minutes, be sure to contact Support.`
09:57:35dom96euantor: why is that?
09:57:46euantorhttps://developer.github.com/v3/repos/forks/#create-a-fork
09:58:07euantorThe current code waits 10 seconds, but it could take longer
09:58:51dom96euantor: yep. It was a "good enough" solution.
09:59:00euantorFair enough :)
09:59:14dom96But you can certainly make it better by checking whether the fork was created ever n seconds
09:59:17dom96*every
09:59:39dom96Looks like Racket has a new website: http://racket-lang.org/
09:59:46Araqthanks for looking into this issue btw, it makes me crazy
10:00:40Araqdom96: yeah, the old site was horrible. took me some time to figure out it's a Lisp
10:02:20dom96btw anybody on Windows that could test Nimble's new output formatting?
10:04:26Araqdom96: later
10:05:08zevlgAraq: hm, got some weird error from gendepend - https://gist.github.com/830d9fb2c61b2d1949a27a09c5a75a97
10:05:52Araqzevlg: does 'nim check' produce the same internal error?
10:06:22Araqdoes it compile at all?
10:06:49zevlgnope, check is ok - https://gist.github.com/3ac5bcb605c1dcfaa9e16216dd037fb0
10:07:42zevlgAraq: yeah, sure it compiles
10:08:18zevlgI could try to narrow code a little, if this sounds like a problem
10:08:31Araqzevlg: nah, fix the compiler instead please
10:08:35Araqedit compiler/main.nim
10:08:41Araqremove line 37
10:09:01Araqthe "cleanupPass" is not used by the other commands and could cause trouble
10:10:00zevlgaha, will try, thanks
10:11:06Araqyou can also patch the compiler to produce JSon instead/in addtion to the .dot file
10:14:27*adeohluwa joined #nim
10:16:53euantorJust realised the forked repository will also need to be updated from the upstream repository somehow... Unless I can create a branch on the fork based on the upstream's master ref which I'm going to try now
10:22:31dom96yeah, this thing turns out rather complex unfortunately.
10:22:33*yglukhov quit (Remote host closed the connection)
10:22:46dom96we need a nimble package website desperately
10:29:46Araqwe already have one
10:29:53*adeohluwa quit (Remote host closed the connection)
10:30:44dom96where?
10:31:24euantorYeah, I just tried creating a branch on my fork using the master ref from the main repo and it looks like the response was successful
10:31:33euantorhttps://www.irccloud.com/pastebin/4UCrT4Qr/
10:31:47*vlad1777d joined #nim
10:31:48euantorBut there's no new branch or any sign of a new commit or anything: https://github.com/euantorano/packages/tree/master
10:32:24euantorNevermind, got it sorted, it is possible!
10:32:59dom96huh, IIRC the current publish code does this already
10:34:28euantoryes, but it does it on the checkout
10:34:43euantorI'm doing this through the GitHub API without chekcing out the packages repository at all
10:34:53euantorJust create a fork, add a new branch, modify the file, create a PR
10:35:09euantorThe fork is already created in the existing code
10:36:07dom96ahh awesome
10:44:14Araqdom96: https://github.com/nim-lang/nimble/issues/219
10:44:18Araqpoints to:
10:44:29Araqhttps://nimble.directory/
10:44:54dom96yes, that's federico3's site. Not ready for general use yet though.
10:45:07Araqget rid of the "work in progress" and link to it from the main Nim site
10:46:11dom96This is what I would like to see as a first version: http://crystalshards.xyz/
10:48:12*Matthias247 joined #nim
10:50:01AraqI don't care what you like to see as a first version. the site exists and has a working "search" feature.
10:50:32Araqthe unimplemented 404 links need to be removed and then it's already better what we have now.
10:50:39Araqwhich is nothing.
10:54:29Araqsorry for being rude, I'm hunting yet another annoying regression
10:55:28dom96Yes, well, in that case http://nimble-explorer.com/ is better.
10:55:34dom96(sorry federico3)
10:55:51dom96The search on nimble.directory doesn't work correctly unfortunately.
10:55:57*yglukhov joined #nim
10:56:39dom96But the point of a Nimble website isn't to search, it's to make publishing packages easier.
10:56:51dom96I can search via Nimble easily
10:57:32euantoryeah,, that domain's mine too :)
10:57:47dom96euantor: which one?
10:57:48euantorI've been meaning to update the css on it for a while
10:57:56euantornimble.directory
10:58:11dom96ahh
10:58:11euantorit's pointing to frederico3's site
11:01:50Araqdom96: well to return the argument. I can do that via 'nimble publish' easily (once it's been fixed)
11:03:54dom96Araq: fair enough
11:04:29dom96The actual point of the site is to have fully curated package repository.
11:04:33dom96*to have a
11:04:38Araqa nicer presentation of seach results than what can be achieved in 4bit colors with fixed width font (terminal) is a worthwile goal
11:05:41dom96Sure. What is also interesting is which packages are most popular.
11:06:15euantorWHat would be the easiest way to make a PUT request with httpclient with extra headers?
11:06:32euantorIt looks like I have to create a new httpclient with the headers, then use request, right?
11:08:18*synshroud quit (Quit: ZNC 1.6.3 - http://znc.in)
11:09:14dom96yes
11:10:53*synshroud joined #nim
11:11:41*bjz joined #nim
11:14:22Araqdom96: we could also have "package of the month" announcements
11:32:20*xet7 quit (Quit: Leaving)
11:39:23euantorHm, GitHub isn't liking the base64 encoded content I'm sending. STrange
11:44:32euantorThe `json` module appears to be creating invalid JSON when I try to enter a base64 encoded string. Here's the JSON it creates:
11:45:33euantorhttp://pastebin.com/88sSYav6
11:45:42euantorIt's created using:
11:46:08euantorhttps://www.irccloud.com/pastebin/piS4Pirl/
11:46:47euantorGitHub is complaining about the `content` key containing invalid base64, JSON validators dislike the whole "content" key: https://jsonformatter.curiousconcept.com/
11:50:45euantorFunnily enough, the `parseJson` proc in the JSON module also can't decode it
11:51:34dom96interesting
11:51:44dom96I guess there are still bugs hiding in the json module
11:53:02euantorIt would seem so
11:54:48euantorAnyway, published what I have so far: https://github.com/euantorano/nimble/tree/feature-use-github-api-for-publish
11:55:12euantorIf we can get that error fixed, it should work (hopefully). Do you want me to create a PR now?
11:57:35Araqwhat's wrong with the json?
11:58:15Araqit's rather long and has newlines in it becaues some tool inserted newlines
12:00:17euantorAraq: Not sure, but GitHub is complaining that the "content" is not valid Base 64
12:00:55Araqwhen I shorten the JSON and remove the newlines, it's reported as valid
12:01:14Araqperhaps it's just too much data for github to accept
12:01:45euantorPossibly, but I hope not
12:01:57euantorIf that's the case, we can't use the API to submit the changes
12:02:04*yglukhov quit (Remote host closed the connection)
12:02:49*dmi0 joined #nim
12:03:06Araqthe problem is that you use CR-LF and the file originally uses LF only
12:03:22Araqso the diff is huge
12:04:04Araqjson generation shouldn't use \n, but \L or be configurable
12:04:13euantorThat's because I'm on a Windows machine
12:04:25dmi0#gobolinux hi
12:04:43euantorI do the JSON modification in memory with the JSON module, so it's the JSON module that needs fixing ;)
12:04:52euantorUnfortunately, for work I have to use Windows
12:05:42Araqpatch the stdlib please and see if it makes a difference
12:05:51Araqjson.nim, line 955
12:05:57Araquse \L instead of \n
12:06:23AraqI don't know if you actually transfer the 'diff' though ;-)
12:06:28Araqdmi0: hey
12:06:34euantorNo, you just transfer the whole content
12:06:39euantorWHich is kind of crap really
12:06:50euantorI'm patching the stdlib now to test
12:07:12Araqyou mean the full packages.json is base64 encoded and submitted to github?
12:07:25euantoryes
12:07:32euantorexactly
12:07:32Araqthat cannot scale.
12:07:41Araqcan we please use a database instead?
12:07:44euantorTHeir API to modify a file requires you submit the whole content
12:07:51Araqthat lies on our own servers
12:07:57euantorI would far prefer that personally
12:08:13euantorEspecially as the Nim project grows
12:08:24euantorThey will end up cutting us off for creating too much traffic
12:10:35euantorYeah, changing the lines doesn't help, it must be too much data for them to handle
12:11:22euantorA proper database would make far more sense
12:11:25Araqeven if you can get it to work for now, it fail later
12:11:32Araq*it will fail
12:11:39euantorIf we agree that makes sense, I might be able to work on it over Christmas break
12:11:53euantor(using SQLite obviously since you've already expressed some preference ;))
12:12:29Araqyeah, I use it for everything :-)
12:13:20*yglukhov joined #nim
12:16:43dom96How does a SQLite database help us here?
12:17:26dom96What we need instead is a web service that accepts package list changes.
12:17:29euantorThe idea is to host the package list on a dedicated service backed by a database
12:17:50euantorI'm just saying the database backing said webservice would be an SQLite DB
12:18:42dom96Sure, that's fine.
12:19:31dom96As long as Nimble doesn't need to depend on SQLite
12:19:39*yglukhov quit (Remote host closed the connection)
12:20:38euantorno
12:20:43euantorjust httpclient
12:20:43*bjz quit (Ping timeout: 252 seconds)
12:22:29dom96euantor: In that case, could you fix what we already have?
12:22:46dom96or finish your PR, just to tide us over until this web service is up and running
12:22:48euantorWhat's wrong with the existing code?
12:23:07dom96No idea. It doesn't work for some reason, I didn't investigate far.
12:23:10euantorI can't finish the PR, unless GitHub has a different API to update the contents of a file
12:23:17euantorOk, I'll have alook at the old code
12:23:22dom96thanks
12:27:14dom96I should get time over Christmas to finally set up two droplets for us
12:27:16*bjz joined #nim
12:27:41dom96One for official things and another for anyone that wishes to help us with stuff like this web service :)
12:28:07*yglukhov joined #nim
12:28:15euantorDo you have a Nim team setup on DigitalOcean?
12:28:32euantorThat's how I've set it up for the forum software I contribute to
12:28:54dom96not yet, but I will be setting up lots of things for us.
12:57:31*dmi0 quit (Quit: BitchX-1.2.1 -- just do it.)
13:16:40*yglukhov_ joined #nim
13:16:51*bjz_ joined #nim
13:17:12*bjz quit (Ping timeout: 250 seconds)
13:17:40*yglukhov quit (Ping timeout: 265 seconds)
13:20:26*Matthias247 quit (Read error: Connection reset by peer)
13:25:01*yglukhov_ quit (Ping timeout: 260 seconds)
13:28:18*vlad1777d quit (Ping timeout: 250 seconds)
13:30:42*yglukhov joined #nim
14:15:00federico3dom96, euantor: I was just going to spend some time on the pkg directory
14:15:35federico3btw who's running nimble-explorer?
14:15:57federico3dom96: how's the search broken?
14:16:19dom96federico3: searching "nimbl" should return nimble
14:16:23dom96it returns nothing
14:16:44federico3it should?
14:18:24dom96I think so
14:18:39federico3why?
14:18:50dom96say I want to search for sdl packages
14:18:54dom96I search for "sdl"
14:19:05dom96there are two packages, one named sdl2 the other coolsdl
14:19:09dom96I want to see them both as results
14:19:12*Trustable joined #nim
14:19:25federico3https://nimble.directory/search?query=sdl like this?
14:20:32dom96yes, but it shouldn't rely on tags
14:22:55federico3sounds like the default search could look for an exact match across tags and descriptions but "any" match across pkg names
14:25:16federico3...but only for tokens that are longer that 2 chars I guess?
14:26:08dom96I don't think there is a need to make the rules too complex.
14:26:15dom96As long as you limit the number of results returned.
14:26:43dom96You could also add a rule where any quoted word is checked to match exactly
14:28:40federico3or use a "LIKE" globbing syntax? e.g. sdl*
14:29:36dom96I would prefer the default to return more results.
14:30:10federico3ok
14:30:39Araqmore important is proper priorization
14:30:54dom96Nimble's search even uses non-exact matching for tags
14:30:54Araqyou need a notion of "Match quality" and sort the results by that
14:32:09*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:32:52Araq for i in 0..<db.len:
14:32:53Araq let c = contents[i]
14:32:55Araq if c.containsWord(key):
14:32:56Araq matches.add((db[i], -(30_000 - c.len)))
14:32:58Araq elif c.contains(key):
14:32:59Araq matches.add((db[i], c.len))
14:33:01Araq matches.sort do (a, b: auto) -> int:
14:33:02Araq a[1] - b[1]
14:33:12Araqis what the search on our website does (look at dochack.nim line 260)
14:34:16federico3it's already doing that
14:34:34Araqtoo many results is not an issue when the order is good, imo
14:35:17federico3I'll update the search algo
14:36:27dom96Araq: agreed
14:39:59*eizua quit (Quit: Leaving)
14:48:28Araqwhen I search for 'gtk' in synaptic I get 1615 results, ordered by alphabet, first match "0install"
15:06:00*gokr joined #nim
15:38:02*gokr quit (Ping timeout: 246 seconds)
15:41:11*Trustable quit (Remote host closed the connection)
15:49:28*Andris_zbx quit (Remote host closed the connection)
16:05:11*yglukhov quit (Remote host closed the connection)
16:07:28*vlad1777d joined #nim
16:25:58*vendethiel- joined #nim
16:27:17*vendethiel quit (Ping timeout: 248 seconds)
16:28:12*Jesin joined #nim
16:39:04*vendethiel- quit (Quit: q+)
16:43:24*gokr joined #nim
16:47:33*byte512 quit (Ping timeout: 245 seconds)
16:57:08*gokr quit (Ping timeout: 258 seconds)
17:05:41*yglukhov joined #nim
17:10:26*yglukhov quit (Ping timeout: 256 seconds)
17:21:57*rokups quit (Quit: Connection closed for inactivity)
17:25:14*space-wizard joined #nim
17:36:14*dmi0 joined #nim
17:43:59*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:48:58*Sentreen quit (Ping timeout: 256 seconds)
17:58:29*Ven joined #nim
18:01:20*space-wizard joined #nim
18:02:02*Sentreen joined #nim
18:07:15vlad1777dHello to all. I want to ask some question, for what after "proc name()" to define the proc there is need to place "=" symbol ?
18:09:53vlad1777dAnd after "for" and "while" instruction there is ":" symbol. Why so different ?)
18:09:55vlad1777dThanks
18:14:39*devted joined #nim
18:15:16*devted quit (Client Quit)
18:16:29dom96vlad1777d: You're defining a proc, you're not defining a for loop.
18:16:38dom96Same for 'var', you're defining a variable
18:16:43dom96hence the '='
18:16:54dom96Just implemented this: https://github.com/nim-lang/nimble/issues/88#issuecomment-269026811 :D
18:25:56*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:28:11*yglukhov joined #nim
18:32:48*yglukhov quit (Ping timeout: 265 seconds)
18:41:12*azur_kind joined #nim
18:42:11vlad1777dAha, I understood. Are somewhere some discussions\propositions about language syntax ?
18:42:26vlad1777dFor me to read them =)
18:49:32*space-wizard joined #nim
18:51:57*yglukhov joined #nim
18:52:11flyxvlad1777d: there are few discussions. there's the language manual, but it mostly just explains how things work and not why they're designed that way
18:57:15*gokr joined #nim
19:00:21*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:02:11vlad1777dflyx, thanks, I had read manual, tutorials and list of data in system\os module several times =)
19:03:44*space-wizard joined #nim
19:06:01flyxwell then it's best to just ask here if you want to know something
19:09:37renesac-awayvlad1777d: there was some discussion on that = vs : issue with filwit: http://forum.nim-lang.org/t/389
19:10:26vlad1777drenesac-away, thanks
19:26:56vlad1777dAnd to change some syntax I must change only parcer.nim, right ?
19:29:36*azur_kind quit (Remote host closed the connection)
19:30:38*brson joined #nim
19:34:17*gokr quit (Ping timeout: 246 seconds)
19:41:44FromGitter<Izrab> Hello
19:45:09dom96vlad1777d: why change the syntax? :O
19:46:16*dmi0 quit (Ping timeout: 265 seconds)
19:47:31vlad1777ddom96, 1 - to train in reading and understanding code, 2 - I want to remove "=" in proc definitions and ":" in loops, like it is in Genie. Also it would better to add keyword for multiple importing\including from different folders =) I cannot change it now, but I could to look to sources, to understand some principles, etc
19:48:14Araqlet foo: type = value
19:48:18Araqproc foo: type = impl
19:48:30Araqit's not really inconsistent
19:48:52vlad1777dNo, I mean when proc's body is on the next line
19:49:24Araqwell you cannot leave it out for 'let' when the value "is on the next line" either
19:49:26vlad1777dIt's clear and without "=", that if in the next lines there is indent - it's the body of procedure
19:50:09AraqI don't believe in the "simplicity" of optional tokens.
19:50:35Araqit's a fine line though
19:51:22vlad1777dsomething like this: https://pp.vk.me/c638428/v638428447/16629/smho7XV5OBg.jpg
19:51:55Araqlooks naked to me :P
19:51:59vlad1777dand in "if" too: https://wiki.gnome.org/Projects/Genie#Conditional_Execution_with_.27if.27
19:52:24vlad1777dI tried that language when I was trying to resolve my problems with RSVG wrapper for Nim
19:52:56vlad1777dit seems clear enough, but Nim is better =)
19:54:46vlad1777dIt's the same, like ";" in the end of line. C knows, that line end when there is ";". But anyway people write there and "\n" too. So there is no need to "double" that instructions
19:57:49*Trustable joined #nim
19:59:32dom96Readability is a good reason to keep it https://docs.python.org/3/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements
20:02:27vlad1777dfor me - without ":" is better =) I do not ask you to change something, tastes differ, the only one language will be perfect to you - youth =)
20:03:14vlad1777dSo we must "agree" with something we dislike in language because we like more things, and this language is better.
20:04:15vlad1777dI dislike Python's package system - all files must be in the same folder. Or to add: "import sys; sys.path.append("path to files"); import needed_module; "
20:04:51vlad1777dBut generally Python is good and clear, and better than all other interpreting languages. So I use it
20:05:58Araqdom96: I'm not convinced by that paragraph in Python's docs and Nim also uses the colon for type annotations, something that Python lacks
20:06:44Araqbut it's not a big deal either way and there is no progress in making ":" optional for Nim.
20:08:13*chemist69 quit (Ping timeout: 260 seconds)
20:09:55*dddddd joined #nim
20:11:42vlad1777dI just hate Perl with it's couple of ASCII symbols =) Symbol on symbol.
20:14:31*nsf quit (Quit: WeeChat 1.6)
20:34:02*bjz joined #nim
20:35:05*chemist69 joined #nim
20:47:45*brson quit (Quit: leaving)
20:47:53*brson joined #nim
20:54:06*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
20:55:04*Sentreen quit (Quit: WeeChat 1.4)
20:56:52*Sentreen joined #nim
21:13:51*nsf joined #nim
21:32:16*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:35:01*renesac-away quit (Ping timeout: 260 seconds)
21:36:47*brson quit (Ping timeout: 246 seconds)
21:44:03*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:46:25*renesac joined #nim
21:52:42*gokr joined #nim
22:08:25FromGitter<Varriount> @vlad1777d You've never used Python's module system?
22:09:14*dmi0 joined #nim
22:09:22dmi0#gobolinux hi
22:09:27vlad1777dVarriount, I had used it, but I dislike it, because it bans dividing text into several files.
22:09:52vlad1777dIt's possible, but you need to make cross-imports between files to receive needed data.
22:10:30vlad1777dMaybe it was designed for large projects... I don't know.
22:12:11vlad1777dIt's missing "include" and import from specified directory (with relative path): "import ./data/people"
22:12:12*chemist69 quit (Ping timeout: 250 seconds)
22:16:53*chemist69 joined #nim
22:17:00dom96dmi0: why do you keep joining and saying "#gobolinux hi"?
22:18:10*yglukhov quit (Remote host closed the connection)
22:18:21dmi0sorry dom96, just learnead how to chat in multiple channel with bitchX, no spam or anything like it intended
22:18:42dom96no problem, just curious.
22:24:25dmi0yeah, gobolinux is small but very interesting linux distro, and last week came the long awaited 64B version
22:24:53*bjz joined #nim
22:31:13*Trustable quit (Remote host closed the connection)
22:39:13dom96cool
22:40:48*yglukhov joined #nim
22:45:35*yglukhov quit (Ping timeout: 265 seconds)
22:48:44*gokr quit (Ping timeout: 256 seconds)
22:50:01*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:54:26*dmi0 left #nim (#nim)
22:56:13*brson joined #nim
23:03:24*gokr joined #nim
23:08:12*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:08:40*space-wizard joined #nim
23:13:33*space-wizard quit (Ping timeout: 268 seconds)
23:15:57*cheatfate_ joined #nim
23:16:38*cheatfate quit (Read error: Connection reset by peer)
23:28:08FromGitter<hcorion> Hi all, I'm having trouble with generics can you look at my code to see what is wrong? ⏎ https://gist.github.com/hcorion/104e46ddee6d3137d2f65e74f1690c6d
23:38:27FromGitter<hcorion> Whoops, I changed it, it now shows my problem
23:39:03Araqyou cannot return either int or string
23:39:36FromGitter<hcorion> if I change it to just T it still doesn't work
23:40:01FromGitter<hcorion> oh, wait, nvm
23:40:06*nimtester_ joined #nim
23:40:14FromGitter<hcorion> so what can I return then?
23:40:48nimtester_Hello. What are nims tools (or what is planned) for the following items?: custom allocator (can allocate an object in my own memory and initialize it. interaction with gc?), gc-less programming, can I pass a type into a macro and analyse its members and methods ?, writing a dynamic library (dll) for other languages with and without gc. is RAII possible? SIMD?
23:41:27nimtester_A lot points, but hobe you can help me :)
23:41:48nimtester_hope
23:45:43FromGitter<hcorion> Here is a link to an online compiler with my code: https://goo.gl/wctXZQ
23:49:59*Pisuke quit (Ping timeout: 258 seconds)
23:51:34*Jesin quit (Quit: Leaving)
23:56:16*nimtester_ quit (Quit: Leaving)
23:58:54*yglukhov joined #nim