<< 11-06-2016 >>

00:03:38PMunchOne thing I really don't like about Nim: Googling topics related to it
00:03:41*Demon_Fox quit (Quit: Leaving)
00:03:54PMunchThe Nim game pops up in about all my searches..
00:04:03*yglukhov quit (Ping timeout: 276 seconds)
00:16:33*Guest64494 quit (Remote host closed the connection)
00:16:42*Heartmender joined #nim
00:17:04*Heartmender is now known as Guest90939
00:17:55kulelu88PMunch: imagine googling for 'go' or 'crystal'
00:18:14PMunchDon't have to imagine unfortunately, been there..
00:18:31PMunchThe service parse isn't much better..
00:18:35kulelu88which language is winning for you? PMunch
00:18:44PMunchDefine winning
00:19:33kulelu88the language you enjoy/prefer using most
00:19:41kulelu88between the systems-languages
00:19:51PMunchHmm, Nim is pretty high up on the list
00:20:11kulelu88but... you use Go for production?
00:20:19PMunchRecently had a run-in with Clojure which was nothing but pleasant, really love the functional programming paradigm
00:20:41PMunchNo, I don't use Go for anything if I can help it..
00:20:52*pregressive joined #nim
00:21:21namnguyencan nimble use a different directory for its stuffs?
00:21:24PMunchI'm currently a CS student so what's used for production in my odd jobs aren't much of my concern unfortunately
00:21:33kulelu88When I hear Clo'j'ure, I think "closure"
00:21:40*pregressive quit (Read error: Connection reset by peer)
00:21:47namnguyeni really like the virtualenv tool in Python
00:22:04*pregressive joined #nim
00:22:24*ddmgy joined #nim
00:23:03kulelu88namnguyen: you want to virtualize your nim?
00:23:33namnguyenkulelu88, absolutely. i plan to work on a few different versions at once.
00:24:13ddmgyPMunch: Something I've noticed that helps when searching is appending "lang" to the name. So, nimlang, golang, racketlang..
00:24:26ddmgyIt's made it easier for me over the past few years, at least.
00:24:36PMunchYeah, that makes it a lot easier
00:24:43PMunchI've noticed that as well
00:24:48kulelu88namnguyen: in that case, I'd containerize it
00:25:15ddmgyPMunch: Ah, I guess it wasn't necessary for me to log in, then :)
00:25:19PMunchEarlier today I was trying to google for game development using nim. My search for "Nim game" and "Nim game design" did not go down well..
00:25:31PMunchSorry if I bothered you :(
00:25:45PMunchBut someone else might find that tip useful :)
00:26:16ddmgyNo problem, I was just reading the logs and thought I'd pop in.
00:26:34*Guest90939 quit (Remote host closed the connection)
00:26:50*pregressive quit (Ping timeout: 244 seconds)
00:27:12*Heartmen- joined #nim
00:27:51kulelu88you won't find much on it though in any case
00:30:12*ddmgy quit (Quit: Page closed)
00:30:34*arnetheduck joined #nim
00:30:47*arnetheduck quit (Client Quit)
00:31:18*arnetheduck joined #nim
00:31:53*Heartmen- quit (Remote host closed the connection)
00:33:58*Heartmen- joined #nim
00:34:59*yglukhov joined #nim
00:38:19*Heartmen- quit (Remote host closed the connection)
00:39:24*yglukhov quit (Ping timeout: 244 seconds)
00:39:38*Heartmen- joined #nim
00:39:41*girvo joined #nim
00:39:42*girvo_ joined #nim
00:44:32*girvo_ quit (Ping timeout: 260 seconds)
00:44:32*girvo quit (Ping timeout: 260 seconds)
00:45:32*Heartmen- quit (Remote host closed the connection)
00:45:52*Heartmen- joined #nim
00:50:05*Heartmen- quit (Remote host closed the connection)
00:54:29*Heartmender joined #nim
00:54:51*Heartmender is now known as Guest86734
00:59:27*bjz joined #nim
00:59:46*Guest86734 quit (Remote host closed the connection)
01:01:08*bjz quit (Max SendQ exceeded)
01:08:31*Heartmen- joined #nim
01:09:10*Jesin quit (Quit: Leaving)
01:10:37*yglukhov joined #nim
01:12:19*Jesin joined #nim
01:12:49*Heartmen- quit (Remote host closed the connection)
01:13:05*Heartmen- joined #nim
01:13:50*brson quit (Quit: leaving)
01:14:41*yglukhov quit (Ping timeout: 240 seconds)
01:17:50*Heartmen- quit (Remote host closed the connection)
01:22:04*Heartmen- joined #nim
01:22:05*bjz joined #nim
01:27:23*Heartmen- quit (Remote host closed the connection)
01:29:49*Heartmen- joined #nim
01:30:26*PMunch quit (Quit: leaving)
01:34:05*Heartmen- quit (Remote host closed the connection)
01:37:11*Heartmen- joined #nim
01:38:17*michael_campbell joined #nim
01:40:08michael_campbellHello all. Newb here - quick question. When going through the tutorial, the compiler gripes that I cannot declare of var of type array[...], nor set[int8], but I must use "system.array" and "system.set" This works, but wondered if I'm doing something wrong, or if the tutorial is outdated, or some other user error.
01:42:59michael_campbellAlso, when I run the array example in the tutorial (the one with Direction and BlinkLights), the `repr(level)` line gives me the following output:
01:42:59michael_campbell[132097 (invalid data!), 516 (invalid data!), slowBlink, off]
01:43:06michael_campbellwhich seems wrong
01:44:29michael_campbell(that's with -d:release). WITHOUT -d:release, I get:
01:44:29michael_campbell[132097 (invalid data!), 516 (invalid data!), -11258999068426238 (invalid data!), -4266105115770880 (invalid data!)]
01:44:34michael_campbellWhich seems even more wrong.
01:46:06*yglukhov joined #nim
01:47:02michael_campbellLooks like I have 0.14.0, though; I try the .2 and see if that changes anything.
01:49:32*Heartmen- quit (Remote host closed the connection)
01:50:11*yglukhov quit (Ping timeout: 244 seconds)
01:51:14*Heartmender joined #nim
01:51:37*Heartmender is now known as Guest4691
01:53:32michael_campbellSadly, no. Same error(s)
01:56:55michael_campbellIf I echo the array by element, works fine. But repr() not so much.
02:01:00*Guest4691 quit (Remote host closed the connection)
02:01:04*chemist69 quit (Ping timeout: 264 seconds)
02:01:19*|2321 joined #nim
02:02:10*Heartmen- joined #nim
02:07:03*Heartmen- quit (Remote host closed the connection)
02:10:05*Heartmen- joined #nim
02:14:11*chemist69 joined #nim
02:14:25*Heartmen- quit (Remote host closed the connection)
02:16:24*Heartmen- joined #nim
02:20:43*Heartmen- quit (Remote host closed the connection)
02:21:37*yglukhov joined #nim
02:22:44*Heartmen- joined #nim
02:26:02*yglukhov quit (Ping timeout: 260 seconds)
02:27:01*Heartmen- quit (Remote host closed the connection)
02:34:13*kulelu88 left #nim ("Leaving")
02:40:32*girvo joined #nim
02:40:33*girvo_ joined #nim
02:41:44kieryay arch linux nim package has updated to 0.14.0
02:43:21*Heartmen- joined #nim
02:45:14*girvo quit (Ping timeout: 272 seconds)
02:45:52*girvo_ quit (Ping timeout: 272 seconds)
02:46:03kierslightly less yay for backwards incompatible language changes
02:50:27*Heartmen- quit (Remote host closed the connection)
02:57:18*akaisora__ quit (Ping timeout: 246 seconds)
02:57:30*Heartmender joined #nim
02:57:52*Heartmender is now known as Guest92577
02:59:59*yglukhov joined #nim
03:04:32*yglukhov quit (Ping timeout: 260 seconds)
03:09:20*Guest92577 quit (Remote host closed the connection)
03:14:41*Heartmen- joined #nim
03:21:34*Heartmen- quit (Remote host closed the connection)
03:23:10*fgimian joined #nim
03:24:27*yglukhov joined #nim
03:26:01*Heartmen- joined #nim
03:29:02*yglukhov quit (Ping timeout: 260 seconds)
03:32:19*michael_campbell quit (Ping timeout: 244 seconds)
03:48:58*yglukhov joined #nim
03:51:13*tautologico quit (Quit: Connection closed for inactivity)
03:53:09*yglukhov quit (Ping timeout: 244 seconds)
03:54:44*wismas joined #nim
03:57:38*Demon_Fox joined #nim
04:13:26*yglukhov joined #nim
04:18:02*yglukhov quit (Ping timeout: 260 seconds)
04:25:56*Pearson1977 joined #nim
04:26:24*Pearson1977 quit (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805])
04:27:07*Pearson1977 joined #nim
04:27:40*Pearson1977 left #nim (#nim)
04:41:24*girvo joined #nim
04:41:24*girvo_ joined #nim
04:46:09*girvo_ quit (Ping timeout: 276 seconds)
04:46:09*girvo quit (Ping timeout: 276 seconds)
04:49:46*yglukhov joined #nim
04:54:36*yglukhov quit (Ping timeout: 276 seconds)
05:14:18*yglukhov joined #nim
05:16:29*zodiak joined #nim
05:18:24*yglukhov quit (Ping timeout: 244 seconds)
05:19:01*zodiak_ quit (Ping timeout: 240 seconds)
05:39:05*yglukhov joined #nim
05:43:13*yglukhov quit (Ping timeout: 244 seconds)
05:51:15*fgimian quit (Quit: Textual IRC Client: www.textualapp.com)
06:03:33*yglukhov joined #nim
06:08:42*yglukhov quit (Ping timeout: 276 seconds)
06:28:02*yglukhov joined #nim
06:32:45*yglukhov quit (Ping timeout: 276 seconds)
06:35:45*zodiak quit (Read error: Connection reset by peer)
06:36:07*zodiak joined #nim
06:42:16*girvo joined #nim
06:42:17*girvo_ joined #nim
06:46:51*girvo_ quit (Ping timeout: 258 seconds)
06:46:51*girvo quit (Ping timeout: 258 seconds)
07:04:19*yglukhov joined #nim
07:08:27*yglukhov quit (Ping timeout: 244 seconds)
07:19:20*wismas quit (Remote host closed the connection)
07:28:54*yglukhov joined #nim
07:33:27*yglukhov quit (Ping timeout: 260 seconds)
07:53:37*yglukhov joined #nim
07:56:33*Pisuke joined #nim
07:56:54*MyMind quit (Ping timeout: 246 seconds)
07:58:32*yglukhov quit (Ping timeout: 260 seconds)
07:59:12*Matthias247 joined #nim
08:18:06*yglukhov joined #nim
08:22:27*yglukhov quit (Ping timeout: 260 seconds)
08:25:26*jjido joined #nim
08:34:49*nsf quit (Quit: WeeChat 1.4)
08:39:34*der-landgraf quit (Quit: WeeChat 1.5)
08:42:35*yglukhov joined #nim
08:43:09*girvo joined #nim
08:43:09*girvo_ joined #nim
08:47:11*der-landgraf joined #nim
08:47:18*yglukhov quit (Ping timeout: 276 seconds)
08:47:29*girvo_ quit (Ping timeout: 244 seconds)
08:47:29*girvo quit (Ping timeout: 244 seconds)
08:49:45*irrequietus joined #nim
08:52:52*jjido quit (Read error: Connection reset by peer)
09:04:49*desophos quit (Quit: Leaving)
09:07:03*yglukhov joined #nim
09:08:56*fgimian joined #nim
09:12:00*yglukhov quit (Ping timeout: 276 seconds)
09:17:42*Trustable joined #nim
09:21:39*yglukhov joined #nim
09:45:42*xet7_ joined #nim
10:26:00*chemist69 quit (Ping timeout: 260 seconds)
10:26:06*Matthias247 quit (Quit: Matthias247)
10:33:07*Matthias247 joined #nim
10:43:18*chemist69 joined #nim
10:43:58*girvo joined #nim
10:43:59*girvo_ joined #nim
10:48:37*girvo_ quit (Ping timeout: 252 seconds)
10:48:37*girvo quit (Ping timeout: 252 seconds)
10:51:57*gokr joined #nim
10:52:39*Gonzih quit (Remote host closed the connection)
10:56:24*gokr quit (Ping timeout: 258 seconds)
10:57:14*fgimian quit (Quit: Textual IRC Client: www.textualapp.com)
10:59:58*gokr joined #nim
11:01:39*fredrik92 joined #nim
11:10:46*yglukhov quit (Remote host closed the connection)
11:16:53*saml_ joined #nim
11:22:36*yglukhov joined #nim
11:27:22*yglukhov quit (Ping timeout: 260 seconds)
11:33:11*TheLemonMan joined #nim
11:40:00dom96http://forum.nim-lang.org/t/2307
11:40:27*yglukhov joined #nim
11:43:53yglukhovAraq: btw, nimx fonts are now subpixel-antialiased. you might want to try it.
11:44:54*girvo joined #nim
11:44:54*girvo_ joined #nim
11:49:32*akaisora_ joined #nim
11:49:40*girvo_ quit (Ping timeout: 264 seconds)
11:49:40*girvo quit (Ping timeout: 264 seconds)
12:00:30*akaisora_ quit (Ping timeout: 246 seconds)
12:01:11*akaisora_ joined #nim
12:02:38*Demon_Fox quit (Quit: Leaving)
12:11:57Araqyglukhov: :O
12:12:28Araqunfortunately I have no time for porting NimEdit to nimx or libui
12:14:16*jjido joined #nim
12:19:34Araqping cheatfate_
12:31:57*nsf joined #nim
12:45:43*girvo joined #nim
12:45:44*girvo_ joined #nim
12:50:42*girvo_ quit (Ping timeout: 272 seconds)
12:50:42*girvo quit (Ping timeout: 272 seconds)
13:01:17*cheatfate_ is now known as cheatfate
13:01:24cheatfatepong
13:01:27cheatfateAraq,
13:13:01*gokr quit (Ping timeout: 250 seconds)
13:40:13*jjido quit (Read error: Connection reset by peer)
13:45:17*gokr joined #nim
13:45:40*couven92 joined #nim
13:46:14*yglukhov quit (Remote host closed the connection)
13:46:35*girvo joined #nim
13:46:36*girvo_ joined #nim
13:46:50*yglukhov joined #nim
13:48:03*fredrik92 quit (Ping timeout: 240 seconds)
13:51:20*girvo_ quit (Ping timeout: 260 seconds)
13:51:20*girvo quit (Ping timeout: 260 seconds)
13:51:30*yglukhov quit (Ping timeout: 276 seconds)
13:53:17*Fin joined #nim
13:54:00*Fin is now known as Guest34928
13:56:17Guest34928Hi
13:57:20Guest34928Why Aporia IDE is licensed under GPL?why not a more permissive and friendly license?
13:58:30Guest34928Hello?Anyone there?
13:58:57Araqhi
13:59:01Guest34928Aloha?
13:59:13Araqbecause gtk and gtksourceview are under the (L)GPL
13:59:27Araqdom96 kinda had to make that Aporia's license as well
13:59:57Guest34928So you do like to use permissive licenses?
14:00:07Araqeverything else is MIT here
14:00:11Guest34928like MIT, BSD or Apache.
14:00:29Guest34928That is fantastic!
14:00:35Araq:-)
14:09:39federico3echo "{}".parseJson()["a"]
14:10:05federico3this is leading to SIGSEGV: Illegal storage access. (Attempt to read from nil?)
14:11:11gokrHmmm, what is the preferred way to handle subdirs under src?
14:11:16federico3oh it's the usual issue with echo nil
14:11:37Araqshouldn't that raise a KeyError now with 0.14?
14:11:59gokrI have src/modules/ - and in src I have a nim.cfg that says: --path:"modules"
14:12:27Araqgokr: --path:"$projectdir/modules" perhaps?
14:12:42gokrAh, yeah... let me try that
14:12:46Araqnot sure what your problem is though
14:13:06gokrIt seems to be a new behavior since 0.13
14:13:13gokr(I mean, it used to work)
14:15:08gokrStrange. nim dump shows the modules dir in that list at the end.
14:15:23gokrBut... when I compile it doesn't seem to work.
14:15:54gokrSo what do people do? Do they do "import modules/x, modules/y, modules/z" ?
14:16:48*Guest34928 quit (Quit: Page closed)
14:17:10gokrAraq: No difference with that $projectdir variable. I presume you mean literally that?
14:17:11*nsf quit (Quit: WeeChat 1.4)
14:17:51Araqor maybe use --path:"$projectdir"
14:18:02Araq(no manual substitutions necessary)
14:18:14Araqand yes, we changed this behaviour for 0.14
14:19:51gokrWeird. So standing in "src" I run "nim dump" - I see the proper path listed to blabla/src/modules
14:20:10gokrBut when I try to compile it fails an import.
14:20:51gokrSo in src I have A.nim that does "import B" where B is in src/modules
14:21:19gokr....what was the change in behavior then?
14:22:09gokrok, just read release notes.
14:25:52*irrequietus quit ()
14:38:50*fastrom joined #nim
14:39:06*fastrom quit (Client Quit)
14:41:50cheatfateAraq, you pinged me couple of hours ago?
14:44:08Araqyeah, about your PR.
14:44:43cheatfateyep
14:44:43Araqyou're right it's hard to just merge it, can we move the new modules into lib/upcoming or something and get a --define to enable them?
14:45:08*_stowa joined #nim
14:45:14Araqso that people can try it easily with their projects
14:45:51cheatfateAraq, so you just scared of it size? :)
14:46:04Araqno, about its stability.
14:46:15Araqwe don't have nearly enough async tests for this
14:46:42cheatfatewhat async tests you want me to make for it?
14:47:08Araqstress testing with wrk
14:47:16cheatfateAraq, how much time?
14:47:26Araqhow am I supposed to know?
14:47:34*girvo joined #nim
14:47:34*girvo_ joined #nim
14:47:56Araqthe test suite already takes quite a while
14:48:07Araqand every test is run for every commit/PR
14:48:58cheatfateAraq, i have made many tests with wrk for this, but this was 10s tests only... (thats why i can say - it faster)
14:49:13cheatfate2 threads and 10 connections for 10 seconds
14:49:19cheatfateon every system i have
14:49:22cheatfateeven on solaris
14:50:27*chrisheller quit (Remote host closed the connection)
14:50:43cheatfatebut, whatever, i know this code requires review of others... but looks like nobody has enough time to do it
14:51:02cheatfateso i'm agree with you
14:51:24cheatfatebut i think only asyncdispatch.nim needs to be placed in `upcoming/`
14:51:41*girvo quit (Ping timeout: 240 seconds)
14:52:01*girvo_ quit (Ping timeout: 240 seconds)
14:52:44cheatfatei will be fully satisfied, if you merge at least winlean.nim :)
14:53:13Araqno, it's not about the time.
14:53:29AraqI can easily "review" the full PR tonight
14:53:58Araqbut that's just not enough.
14:54:12Araqwe need a fallback should new problems be reported
14:54:32*_stowa quit (K-Lined)
14:57:36cheatfateWhat do you think, if i remove asyncdispatch.nim from PR and leave ioselectors.nim and winlean.nim?
14:59:41*couven92 quit (Ping timeout: 240 seconds)
15:00:23cheatfateand about `upcoming`, its a really nice feature, but i dont understand how i can use it with defines?
15:04:03Araqpatch the config like so
15:04:10Araq@if upcoming:
15:04:18Araq --path:"lib/upcoming"
15:04:20Araq@end
15:04:43Araqyou need to do it properly so that lib/upcoming is preferred over lib/
15:06:48cheatfateso is how i must patch asyncdispatch.nim.cfg?
15:08:00Araqno, the global config
15:08:32Araqbut I can prepare that switch for you
15:09:42cheatfatedoes `lib/upcoming` will have same directory structure as `lib` has?
15:10:30cheatfateso i will create `lib/upcoming/pure/asyncdispatch.nim` or just `lib/upcoming/asyncdispatch.nim`?
15:11:40Araqthe latter
15:13:14cheatfateso all my PR files needs to be moved there?
15:13:45cheatfateor i can leave winlean.nim?
15:15:03Araqlet's see
15:15:21*fastrom joined #nim
15:16:18cheatfateAraq, i want to make on more PR and all this winlean.nim staff i needed for my new PR
15:16:24cheatfateone more
15:17:16Araqok, only asyncdispatch.nim needs to be moved over there, the other stuff cannot cause problems
15:19:30*elrood joined #nim
15:23:56*gokr quit (Ping timeout: 244 seconds)
15:27:21*fredrik92 joined #nim
15:28:06cheatfateAraq, could you please `lib/upcoming` in branch, so there will be no permission problems with my windows git
15:28:12cheatfatecreate^^^
15:31:43*arnetheduck quit (Ping timeout: 250 seconds)
15:36:31Araqwhat?
15:36:58*jjido joined #nim
15:44:08*fastrom quit (Quit: Leaving.)
15:45:28cheatfateAraq, i'm noob in git... is it ok, to create this `upcoming` dir in my windows repository?
15:45:31*TheLemonMan quit (Quit: "It's now safe to turn off your computer.")
15:46:22*TheLemonMan joined #nim
15:48:26*girvo joined #nim
15:48:27*girvo_ joined #nim
15:51:31Araqsure
15:53:22*girvo_ quit (Ping timeout: 260 seconds)
15:53:22*girvo quit (Ping timeout: 260 seconds)
15:58:24*nsf joined #nim
15:59:23*fastrom joined #nim
16:03:31*fastrom quit (Client Quit)
16:08:19*fastrom joined #nim
16:10:17*jjido quit (Ping timeout: 260 seconds)
16:11:03*fastrom quit (Client Quit)
16:13:16*desophos joined #nim
16:15:03*fredrik92 quit (Ping timeout: 250 seconds)
16:15:51cheatfateAraq, i have updated PR
16:20:32*Matthias247_ joined #nim
16:23:03*Matthias247 quit (Ping timeout: 240 seconds)
16:26:30*fastrom joined #nim
16:28:43*fastrom quit (Client Quit)
16:30:42*yglukhov joined #nim
16:35:40*fastrom joined #nim
16:37:31*fastrom quit (Client Quit)
16:40:59*yglukhov quit (Remote host closed the connection)
16:41:34*yglukhov joined #nim
16:43:49*yglukhov quit (Remote host closed the connection)
16:44:05*yglukhov joined #nim
16:44:10*yglukhov quit (Remote host closed the connection)
16:45:12*fastrom joined #nim
16:46:29*yglukhov joined #nim
16:46:29*yglukhov quit (Remote host closed the connection)
16:46:44*yglukhov joined #nim
16:48:40*jjido joined #nim
16:49:17*girvo joined #nim
16:49:17*girvo_ joined #nim
16:53:16*desophos quit (Ping timeout: 252 seconds)
16:53:37*girvo_ quit (Ping timeout: 250 seconds)
16:53:37*girvo quit (Ping timeout: 250 seconds)
16:53:41*M-Flox joined #nim
17:00:50*GangstaCat joined #nim
17:01:08*yglukhov quit (Remote host closed the connection)
17:08:31*yglukhov joined #nim
17:11:10*fastrom quit (Quit: Leaving.)
17:23:16*TheLemonMan quit (Quit: "It's now safe to turn off your computer.")
17:25:38*xet7 joined #nim
17:29:17foosballhas anyone successfully called tk from the nim tcl module? Even when i use the example it just does nothing without any error. Feels like a sleep(1)
17:35:18foosballtcl works fine
17:38:44*yglukhov quit ()
17:42:19*yglukhov joined #nim
17:50:09*girvo joined #nim
17:50:11*girvo_ joined #nim
17:55:20*girvo_ quit (Ping timeout: 272 seconds)
17:55:20*girvo quit (Ping timeout: 272 seconds)
18:29:11*gokr joined #nim
18:30:09*PMunch joined #nim
18:40:04gokrAraq: Did you get a look?
19:00:32cheatfatedom96, is it possible to omit popFrame() in compiled code function?
19:01:05dom96cheatfate: {.nostackframe.} maybe
19:02:26cheatfate{.asmnostackframe.} but it makes my function `naked` but i want to have `stdcall` without popFrame
19:15:32*desophos joined #nim
19:21:54*yglukhov quit (Remote host closed the connection)
19:30:51*yglukhov joined #nim
19:31:09*gokr quit (Remote host closed the connection)
19:31:13GangstaCatAraq, little detail, in this error message ("'$#' is not GC-safe as it accesses '$#'" & " which is a global using GC'ed memory") from https://github.com/nim-lang/Nim/blame/93749ea1fca51749acb90e67ca36a3f36309cd77/compiler/sempass2.nim#L202 isn't the word "variable" is missing?
19:40:02*zacts quit (Ping timeout: 258 seconds)
19:47:56*yglukhov quit (Remote host closed the connection)
19:48:06*renesac joined #nim
19:51:00*girvo joined #nim
19:51:02*girvo_ joined #nim
19:51:36*jjido quit (Ping timeout: 276 seconds)
19:52:47*yglukhov joined #nim
19:55:55*girvo_ quit (Ping timeout: 260 seconds)
19:55:55*girvo quit (Ping timeout: 260 seconds)
19:55:55*zacts joined #nim
20:01:27*deavmi_mobile joined #nim
20:01:42deavmi_mobilewrote a very simple lexer in Python a few fays ago
20:01:55deavmi_mobilehttps://github.com/deavmi/lexersex
20:01:59deavmi_mobileI was so happy about it
20:02:00deavmi_mobile:)
20:02:03deavmi_mobileit isn't the best
20:02:10deavmi_mobilebut I will be practicing more after exams. :)
20:04:05*nchambers quit (Ping timeout: 260 seconds)
20:06:24*nchambers joined #nim
20:10:04dom96deavmi_mobile: booo. Write it in Nim instead :P
20:13:45Araqfoosball: it used to work, but these things tend to bitrot
20:14:01Araqgokr: works for me, most of the time, seems a bad corruption
20:14:32AraqGangstaCat: I think a "global" can be a noun
20:14:54GangstaCatAraq, alright, no problem :)
20:15:23Araqcheatfate: {.push stackFrames: off.}
20:16:07*akaisora_ is now known as sora
20:43:13*yglukhov quit (Remote host closed the connection)
20:49:37*yglukhov joined #nim
20:54:04*yglukhov quit (Read error: Connection reset by peer)
21:05:02*fredrik92 joined #nim
21:10:18cheatfateAraq, thank you already found it
21:13:18Araqso ... I'm looking for a tiny 32 bit linux distro which can run GCC 2.95. any ideas?
21:17:39renesacI'm not sure what you want, but here the result of my quick googling: http://www.damnsmalllinux.org/f/topic-3-5-19796-5.html
21:17:47renesacand hello
21:20:48*renesac quit (Remote host closed the connection)
21:21:12Araqyeah funny, I'm indeed looking at DSL
21:29:20elrooddepends on your idea of tiny, i guess. tinycore, puppy, slax, nimblex, slitaz, crunchbang, arch?
21:31:59*renesac joined #nim
21:40:45cheatfateAraq, gentoo linux?
21:41:28*yglukhov joined #nim
21:42:00Araqwell it should not take more than 1GB of hard disk space
21:42:39renesacI liked DSL back in the day, it worked very well
21:42:52renesacI don't know how it will work now after all those years
21:43:57Araqwell I run i via qemu which apparently doesn't work properly on Windows 10
21:44:12Araqit lags so much it's unusable
21:44:14renesacI always used it as a livecd, never installed it though
21:44:16renesachum
21:45:02elroodany of the mentioned ones should fit the bill then. debian, lfs, porteus, knoppix, slack.. there are lots of options
21:46:33renesacDSL used to be the most snappy linux I could load in my machine, as it would copy itself to ram and run light weith apps and windows manager
21:47:24Araqelrood: crunchbang says it needs 10GB
21:47:33renesacthere were some more boot options, like running it directly on the frame buffer or something like that
21:47:52renesacmaybe some of that could solve the lag?
21:48:39elroodAraq, uh.. doesn't fit my experience with that distro, but things might've changed. if all you need to get running is indeed gcc <3 tinycore might be all you need
21:49:35elroodand if you're not determined to use qemu for some reason, virtualbox might be an option
21:49:40*heretobang joined #nim
21:51:33renesactinycore is the successor of DSL, but I don't know if gcc 2..x will run there
21:51:54*girvo joined #nim
21:51:55*girvo_ joined #nim
21:55:00Araqmeh, I dislike virtualbox but it seems I have no other choice
21:55:39renesacwhy do you want to run a gcc so old?
21:56:50Araqtrying to setup brickOS which build on a GCC 2.95 for hitachi H8
21:57:03*girvo_ quit (Ping timeout: 276 seconds)
21:57:03*girvo quit (Ping timeout: 276 seconds)
21:57:24Araqand since all of these things are obsolete, I cannot upgrade anything
21:58:18*xet7 quit (Quit: Leaving)
21:58:46elroodnot exactly a fan of anything oracle either, but vbox ran more smoothly than qemu and was more practical and user-friendly last i tried
22:36:16renesacso, I'm recovering my work at an enchanced queues library: https://gist.github.com/ReneSac/c081bc621ec0de9f2d8f96a58af8ae4c
22:37:16renesacI quickly created that englishOrdinal() proc for the enchanced error message, I couldn't find something already done
22:38:06renesacI also overloaded low() and high() even though the manual said they couldn't be overloaded, because they won't work otherwise...
22:38:48renesacthose are two issues I wanted to solve before sending the pull request
22:39:26*der-landgraf quit (Quit: WeeChat 1.5)
22:40:58Araqrenesac: what does it improve? :-)
22:41:21renesacremember the guy that came here one year ago asking for random aces on queues?
22:41:47renesacEnchanced random access support for queues
22:41:47renesac
22:41:47renesac Now queues support indexing, front() and back() operations and pairs iteration.
22:41:47renesac Also modernized some of the code to use newer Nim features.
22:41:47renesac Added the "add()" alias to "enqueue()", per nim's conventions (also fits better with pop())
22:51:48*der-landgraf joined #nim
22:52:35Araqcoolio.
22:53:39renesacso, what I should do about those two issues?
22:53:54renesacdo the pull request anyway?
22:54:59Araqwhy not simply remove the low/high?
22:55:22AraqenglishOrdinarl is fine, we can move it somewhere else later
22:55:32Araqindeed it doesn't exist anywhere yet
22:56:46renesacwell, I used the high() in the bounds checking for example: if i > q.high:
22:57:15renesacif I remove it's definition, the code won't compile
22:57:18*Trustable quit (Remote host closed the connection)
22:58:00renesacI'm not sure how that no overloading rule works
22:59:07renesacI get "Error: invalid argument for 'high'"
23:02:55*Matthias247_ quit (Read error: Connection reset by peer)
23:06:32Araqleave it in then and write that down in its description
23:06:44AraqI will have a look before merging.
23:07:29renesacok
23:10:03*deavmi_mobile quit (Read error: Connection reset by peer)
23:15:15*elrood quit (Quit: Leaving)
23:18:36*der-landgraf quit (Quit: WeeChat 1.5)
23:21:26*der-landgraf joined #nim
23:23:24*sora quit (Ping timeout: 244 seconds)
23:23:26*akaisora__ joined #nim
23:31:07*akaisora__ is now known as akaisora
23:35:58cheatfateAraq, does nim has something like debugbreak for native debuggers, i mean "INT 3" for x86?
23:38:33Araq--debugger:native --lineDir:on
23:38:38Araqgdb foo.exe
23:38:43Araqbr bar.nim:12
23:43:47*pregressive joined #nim
23:49:51*Demon_Fox joined #nim
23:52:40*girvo joined #nim
23:52:42*girvo_ joined #nim
23:57:25*girvo_ quit (Ping timeout: 260 seconds)
23:57:25*girvo quit (Ping timeout: 260 seconds)