<< 02-08-2013 >>

00:00:23BitPuffindom96: what kind of CPU?
00:00:34dom96AMD Phenom Quad
00:01:20BitPuffinsounds like you should be fine I'd assume
00:01:26BitPuffinask in #wayland though about the state etc
00:02:36dom96AFAIK the AMD drivers need to add support for Wayland first, so i'm sure that will take a couple of years.
00:03:16BitPuffindom96: hmm, should probably work with open source drivers soon enough
00:03:37dom96open source drivers don't support my graphics card :P
00:03:45comexit's all great, except for how Canonical decided to write their own version for no reason
00:05:37BitPuffindom96: oh that's a shame
00:05:48BitPuffincomex: well without that wayland probably wouldn't be happening right now
00:06:12EXetoCno?
00:07:01dom96BitPuffin: Yeah, i'm somewhat tempted to try to get support for my GPU in the open source drivers working myself. But I don't want to fry my GPU.
00:07:37BitPuffindom96: doesn't the hardware have safe switches for that?
00:07:55EXetoCit's easy to trigger overclocking or something by accident?
00:08:59dom96BitPuffin: No idea. I'd be scared that I would screw something up anyway heh.
00:09:29dom96EXetoC: That's definitely a possibility.
00:09:46BitPuffindom96: try asking AMD about it. They actually provide details about their hardware, that's why Haiku has some AMD drivers and no NVidia drivers
00:09:46dom96Since the proprietary drivers can control AMD overdrive.
00:11:41dom96I bet they would tell me "It is not recommended to use third party software on our products, we cannot guarantee that no damage can be caused blah blah"
00:12:47dom96But I may do it anyway, if anything talking to the devs of the open source driver would be interesting.
00:13:41Associat0rID didn't start FPS at all
00:14:36BitPuffinAssociat0r: well they pretty much did
00:15:19Associat0rhttps://www.youtube.com/watch?v=aipGP5oAuWQ "The History of FPS Games Vol 1 1974-1988 "
00:16:38Associat0rgame industry is forgetting it's history just like with computing in general
00:16:58*Trixar_za is now known as Trix[a]r_za
00:23:57BitPuffinAssociat0r: well yeah I know, but they aren't really the same thing
00:27:21Associat0rfirst person and shooting
00:30:43Associat0rhttp://en.wikipedia.org/wiki/List_of_first-person_shooters
00:43:20BitPuffinyeam
00:43:22BitPuffinyeah
00:43:25BitPuffinobviously
00:43:41BitPuffinbut that's like the driest way to look at it ever
00:45:02dom96Good night
00:46:22BitPuffinnight!
00:54:29*XAMPP quit (Ping timeout: 248 seconds)
00:57:16EXetoC
01:05:16*Amrykid quit (Changing host)
01:05:16*Amrykid joined #nimrod
01:13:51*q66 quit (Quit: Leaving)
01:13:54EXetoCBitPuffin: wassup
01:14:22BitPuffinEXetoC: job searching
01:14:43EXetoC-.-
01:15:12BitPuffinEXetoC: whaat
01:15:36EXetoCnothing
01:17:43*DAddYE_ joined #nimrod
01:19:38*EXetoC quit (Quit: WeeChat 0.4.1)
01:21:30*DAddYE quit (Ping timeout: 264 seconds)
01:22:40*DAddYE_ quit (Ping timeout: 264 seconds)
01:26:36*Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:51:44Associat0rCarmack keynote recording http://www.twitch.tv/bethesda/b/439369577
02:01:41*BitPuffin quit (Ping timeout: 248 seconds)
02:18:21*DAddYE joined #nimrod
02:25:06*DAddYE quit (Ping timeout: 264 seconds)
02:40:55*Associat0r quit (Quit: Associat0r)
02:42:23*Emmyy quit (K-Lined)
02:57:09*Endy joined #nimrod
03:09:39*Endy quit (Ping timeout: 260 seconds)
03:27:01*Aww_ joined #nimrod
03:27:25*Aww_ is now known as Guest33357
03:31:08*Guest33357 is now known as Emmyy
04:00:17*OrionPK quit (Read error: Connection reset by peer)
04:28:39*xilo quit (Read error: Operation timed out)
04:30:19*DAddYE joined #nimrod
06:04:15*Associat0r joined #nimrod
06:42:25*Endeg joined #nimrod
07:11:36*Araq_ joined #nimrod
07:53:33*Trix[a]r_za is now known as Trixar_za
08:25:07*DAddYE quit (Remote host closed the connection)
08:25:39*DAddYE joined #nimrod
08:29:48*Trixar_za is now known as Trix[a]r_za
08:30:24*DAddYE quit (Ping timeout: 256 seconds)
08:38:03*Trix[a]r_za is now known as Trixar_za
09:26:12*DAddYE joined #nimrod
09:32:52*DAddYE quit (Ping timeout: 264 seconds)
09:39:17*EXetoC joined #nimrod
09:43:25*q66 joined #nimrod
09:53:11EXetoC"Using a C-like *T notation would make it shorter but causes even more problems with Nimrod's syntax." maybe just keep the P prefix then. seems like a good compromise
09:56:08Araq_well Rust uses_this for functions and people complain about it too
09:56:33Araq_so I'm back to "lets try to let the tools deal with it"
09:57:12Araq_it's only Vim, Emacs and Aporia anyway that need to be "patched"
09:58:03Araq_I think it's a safe bet to ignore the other editors for a while
09:58:12EXetoCI don't know why you'd want to use snake case, but ok
09:59:19*BitPuffin joined #nimrod
09:59:31EXetoCor maybe that was just an example
10:00:31BitPuffinohoy!
10:00:36Araq_people complain about these things endlessly ...
10:00:44Araq_that was my point
10:01:10EXetoCyeah
10:01:13BitPuffinme saying ohoy? Sorry then ;_;
10:01:52Araq_EXetoC: I think you can read the single words better with snake_case
10:02:08Araq_but that comes at the expense of "lexing"
10:02:27Araq_it makes it much harder to see where the identifier ends for me
10:02:28BitPuffinhow does that make lexing harder?
10:02:41BitPuffinah
10:02:54BitPuffinnimrod doesn't allow snake case?
10:03:05EXetoCit does
10:03:09Araq_BitPuffin: you should know by now nimrod doesn't care ;-)
10:03:25BitPuffinnimro never cares
10:03:48BitPuffinso erf and e_Rf is the same symbol?
10:04:42Araq_yep
10:05:08BitPuffinsplendid
10:06:17BitPuffinso here is something I was wondering about
10:06:26BitPuffinif a proc has a ref or ptr variable
10:06:36EXetoCin this case it's about people complaining endlessly, so I don't see how tools will help. are people supposed to care less if the conversion is just one command away?
10:06:49BitPuffinwill any passed variable implicitly become a ref or ptr?
10:06:53BitPuffinor is that just with var
10:07:11BitPuffinand if you don't mark it with var, is it still passed by reference or is it faster to pass as a var?
10:07:25EXetoCit's implicit with var?
10:07:33BitPuffinyeah
10:07:51BitPuffinwell you can't pass a let or a const to a var I think
10:08:32EXetoCwhat else then? you often need to introduce new variables for this reason
10:09:10*nihathrael quit (Quit: Unknown Horizons - Open Source real-time strategy with the comfy 1602 feeling!)
10:09:34EXetoCvar x = y; f(x)
10:09:41EXetoCrather than just f(y)
10:09:56BitPuffinyou mean because y is const or let?
10:09:57BitPuffinwell
10:10:07BitPuffinI'm sure you can just do f(y.someCopyProc)
10:10:10*nihathrael joined #nimrod
10:10:18Araq_"often"? it happens very rarely for me
10:10:33BitPuffinAraq_: did I get it right though?
10:10:38Araq_no
10:10:48BitPuffintell me what I got wrong
10:10:49Araq_y.someCopyProc is no l-value either
10:10:57Araq_in general
10:11:07BitPuffinso there is no dup proc?
10:11:11EXetoCsometimes you just don't care
10:11:33Araq_BitPuffin: you got it all backwards I'm afraid
10:11:45Araq_the problem is not 'dup'
10:12:00EXetoCI don't need it as often now, but that's because I can't bother with 'var' on params as much anymore
10:12:03BitPuffinOh wait
10:12:11BitPuffina var parameter is supposed to modify the variable
10:12:15Araq_yes
10:12:16BitPuffinwell then dup would be useless
10:12:21BitPuffinbecause the variable would just disappear
10:12:28Araq_exactly
10:12:40BitPuffinWell if you only care about the side effects though
10:12:42Araq_EXetoC: good ;-) that's the point
10:12:58BitPuffinif any
10:13:45BitPuffinAraq_: but are arguments always passed by reference, just that without var, ref, ptr it's an immutable reference?
10:14:05Araq_BitPuffin: that's one way of looking at it
10:14:21BitPuffinI'm just wondering because I thought in that case it's better to pass them as one of those and mark it with {.noSideEffect.}
10:14:34Araq_in reality the compiler decides for you whether to pass by copy or by reference
10:14:57Araq_the compiler tries to use the most efficient way
10:15:07BitPuffinAraq_: okay so all forms are just as fast, and ref & ptr doesn't happen implicitly, it has to be a ref or ptr variable right?
10:15:12EXetoCI always forget some detail. that's fine then
10:15:29BitPuffinDoes {.noSideEffect.} help with the decision?
10:15:33Araq_BitPuffin: right
10:15:48Araq_noSideEffect is irrelevant for the analysis
10:16:33EXetoCthe only remaining issue then is that sometimes you can't do x.y.z += x.y.w, because of the way 'var' works. or is that a bug? say if x is 'var' whatever and the other symbols are fields
10:16:52BitPuffinah, so that's just to make sure that your proc never introduces a side effect
10:17:35Araq_BitPuffin: noSideEffect is for the programmer, the compiler doesn't need it, it performs the analysis always anyway
10:17:52EXetoCor just "x.y.z += 1" for simplicity (rather than "x.y.z = x.y.z + 1")
10:18:00BitPuffinAraq_: makes sense
10:18:18Araq_EXetoC: I'm nto sure what you mean
10:18:28Araq_x.y.z is either an l-value or it's not
10:19:08Araq_if 'x' is a parameter and no intermediate pointers are involved nor it's a var parameter then it's not l-value
10:19:46EXetoCok bug then. will report some other time. will be away for two days
10:19:51EXetoChappy decision-making :>
10:20:10Araq_I don't think there is a bug lurking here
10:20:21Araq_but sure, make an issue
10:22:36EXetoCit is a var
10:25:33Araq_what is a 'var'? 'x'?
10:26:01Araq_ok bug report please
10:26:04Araq_bye
10:26:06*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 22.0/20130618035212])
10:26:11*EXetoC quit (Quit: WeeChat 0.4.1)
10:30:46*EXetoC joined #nimrod
10:32:33EXetoCyes x would be a var in this case, but maybe x.y[z] or y[z] or something like that was the issue specifically, where y was an array. I'm pretty sure that it should be regarded as an lvalue. can't see why not
10:32:40EXetoCalright cya on sunday
10:32:40*EXetoC quit (Client Quit)
10:33:50*Trixar_za is now known as Trix[a]r_za
10:44:39*Trix[a]r_za is now known as Trixar_za
11:05:01*Trixar_za is now known as Trix[a]r_za
11:25:02dom96hello
11:26:30BitPuffinhey dom96! Now that vectors are pretty much complete I'm marking linagl as 0.1.0 so I'm adding it to babel :)
11:26:36BitPuffindom96: 0.2.0 will have matrices
11:26:37dom96yay
11:27:14BitPuffindom96: err, what link should I add as the url
11:27:23BitPuffindom96: https://bitbucket.org/TheLonelyByte/linagl/
11:30:44BitPuffinssh://[email protected]/TheLonelyByte/linagl ?
11:33:39BitPuffinaaand bitbucket went down
11:35:30BitPuffinand it's up
11:40:08*Araq_ joined #nimrod
11:46:09*Araq_ quit (Read error: Connection reset by peer)
11:46:37*Araq_ joined #nimrod
11:48:35dom96BitPuffin: I think just the http url will work.
11:48:44dom96BitPuffin: Whatever way you would clone a hg repo
11:48:58dom96(as a user with read-only permissions)
11:51:33*BitPuffin quit (Ping timeout: 248 seconds)
12:11:35*Trix[a]r_za is now known as Trixar_za
12:30:47*DAddYE joined #nimrod
12:37:28*DAddYE quit (Ping timeout: 256 seconds)
12:45:14*[1]charles is now known as charles81
13:45:10*xilo joined #nimrod
13:49:15*BitPuffin joined #nimrod
13:51:08BitPuffindom96: now the pull request was submitted, apparently github doesn't do that automatically anymore
13:52:01dom96CC0?
13:52:40BitPuffindom96: Creative Commons 0
13:54:02dom96BitPuffin: I think it would be better to use https://bitbucket.org/TheLonelyByte/linagl as the URL. Because then the user doesn't have to unlock their SSH key.
13:54:29BitPuffindom96: will that work?
13:54:39dom96yes
13:54:46dom96hg clone https://bitbucket.org/TheLonelyByte/linagl
13:54:47dom96works for me
13:54:54BitPuffinyep i just tried
13:56:36*Endy joined #nimrod
13:56:37BitPuffindom96: feel like changing it for me?
13:56:54dom96alright
13:57:21BitPuffinor I can do it
13:57:44dom96do it then :P
13:57:50BitPuffinchil l:D
13:58:01*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 22.0/20130618035212])
13:58:32BitPuffindone
14:00:06BitPuffindom96: some more info about cc0 https://creativecommons.org/publicdomain/zero/1.0/
14:00:16dom96heh, I just found that :P
14:01:00NimBotnimrod-code/packages master 6574e0a Isak Andersson [+0 ±1 -0]: Add linagl to packages.json
14:01:00NimBotnimrod-code/packages master 394d260 Isak Andersson [+0 ±1 -0]: Update linagl link
14:01:00NimBotnimrod-code/packages master f1f9de6 Dominik Picheta [+0 ±1 -0]: Merge pull request #22 from BitPuffin/patch-1... 2 more lines
14:01:06BitPuffinwee!
14:02:01dom96So why do you prefer to use hg and not git?
14:02:22BitPuffinI think it's a bit more sane
14:02:56BitPuffinYou do things the way you would expect to do it
14:03:05BitPuffinwith Git it's usually kind of weird
14:03:29dom96I think i'm too used to Git nowadays to switch to hg heh
14:03:38BitPuffindom96: linagl installed successfully.
14:03:42BitPuffinit works :)
14:03:52dom96yay
14:03:57BitPuffindom96: Well it was kind of the same for me. But I decided to do it anyway
14:04:33BitPuffindom96: the only thing that was kind of different was branches
14:04:59BitPuffindom96: branches stick to commits in hg. If you want disposable git like branches you can use bookmarks instead
14:05:04dom96btw remember to bump your version in the .babel file
14:05:16BitPuffindom96: why should I bump?
14:05:17dom96Usually best to get into the habit of doing it straight after tagging I think
14:06:03dom96Because that is what babel reads to determine your packages version.
14:06:14BitPuffindom96: but the version is correct
14:07:11dom96So the commit that you tagged as version 0.1.0 is version 0.1.0 and your hg 'tip' is version 0.1.0 too?
14:07:33BitPuffindom96: no tip shouldn't be 0.1.0
14:07:59BitPuffinand it ain't
14:07:59dom96But it is :P
14:08:19BitPuffinit is not!
14:08:19dom96https://bitbucket.org/TheLonelyByte/linagl/src/25fa332cee272a662115f94e60ed87cd81c20041/linagl.babel?at=tip#cl-3
14:08:50BitPuffindom96: oh well, the tag v0.1.0 is 0.1.0 I can't bump the number before it's an actual release
14:09:04dom96why not?
14:09:32BitPuffindom96: because things that aren't releases are tip
14:09:56BitPuffindom96: and babel did the right thing, it downloaded the tag v0.1.0 because I don't see a matrix file in the package
14:09:56dom96alright. Just remember to bump it when tagging :P
14:10:01BitPuffindom96: ofc :)
14:11:05dom96yeah, I think I will have to make babel ignore the version param in the .babel file when the user specifies that they want to install tip
14:11:23dom96That's not implemented yet though, so it's all good I think.
14:12:50*[1]Endy joined #nimrod
14:13:57dom96Being able to specify a branch or commit in your dependencies list will be pretty useful.
14:15:50*Endy quit (Ping timeout: 240 seconds)
14:15:50*[1]Endy is now known as Endy
14:17:28BitPuffindom96: yes for sure!
14:17:57BitPuffindom96: can babel also act a s a build system for a project?
14:18:05BitPuffinthat would be sweet
14:18:08BitPuffinlike dub
14:18:09BitPuffinfor D
14:18:10BitPuffingotta go
14:21:34dom96I guess.
14:21:42dom96Nimrod already takes care of most stuff.
14:22:42*BitPuffin quit (Ping timeout: 264 seconds)
14:35:37*rubino123 joined #nimrod
14:53:03*Associat0r quit (Quit: Associat0r)
14:56:24*[1]Endy joined #nimrod
15:00:52*Endy quit (Ping timeout: 276 seconds)
15:00:52*[1]Endy is now known as Endy
15:35:04*DAddYE joined #nimrod
15:42:28*DAddYE quit (Ping timeout: 276 seconds)
15:54:34*Trixar_za is now known as Trix[a]r_za
16:22:46*DAddYE joined #nimrod
17:21:07dom96hey DAddYE
17:30:39DAddYEhey dom96!
17:31:51dom96DAddYE: How's nimrod coding going?
17:33:07DAddYEquite well, I'm coding a channel primitive (poor's man) based on pipes
17:33:14DAddYElthread coroutines
17:33:21DAddYE(I know nimrod has channels)
17:34:01DAddYEbut are base on pthread
17:34:42dom96cool, so will you be sticking with Nimrod, do you like it?
17:36:04DAddYEyep other than issue you know I like it a lot!
17:36:23DAddYEI'm trying to spend more time in studying source code
17:36:43DAddYEand rewrite for the joy of no one some stuff already written
17:36:48dom96hrm you mean the T/P prefixes issue?
17:37:02DAddYEyea, but isn't a big deal I've a nimrod fork
17:37:08DAddYEcase sensitive
17:37:09DAddYE:D
17:37:43DAddYEand hand made pretty :D
17:38:14dom96You edited the compiler so that it's case sensitive? lol
17:38:49DAddYEyep only the first letter, Araq pointed me how do that, I'll switch soon to a full CS
17:49:56*Mat2 joined #nimrod
17:49:59Mat2hi
17:52:25Araqhi Mat2
17:52:37Araqhi DAddYE, does my "nimrod pretty" fix work?
17:52:57DAddYEI haven't tried yet
17:53:01Araqok
17:53:18Mat2hi Araq and all
18:07:45Mat2if I define an array of sequences, must I initiate each sequence element or is these done automatical ?
18:12:14Araqyou must initialize each element unless you use system.safeAdd
18:12:26Araqthough this will likely change
18:12:26Mat2thanks
18:12:39Araqand 'add' will becomes the "safe" version
18:13:37*Sergio965 joined #nimrod
18:15:10*Sergio965 quit (Client Quit)
18:15:28Mat2hmm, I think some programmers will expect that GB collected types are implicitly initiated so this would be a nice behaviour
18:41:07*rubino123 quit (Remote host closed the connection)
18:51:00apotheonAraq: in case you're still seeking perspectives on coding styles - http://www.reddit.com/r/programming/comments/1iyp6v/is_there_a_really_an_empirical_difference_between/cbfo4k8
18:51:55Araqapotheon: I know the study. it's worthless
18:52:06apotheonI'm not linking to the study. I'm linking to a comment.
18:52:23apotheon(my comment, in fact)
18:53:13Araqyeah well I disagree
18:53:26apotheonOkay.
18:53:42AraqC is around for long enough to see what happens
18:53:42apotheonI didn't say you had to agree. I offered my perspective so you could perhaps understand it.
18:54:01Araqin C you have a consistent style *per project*
18:54:07apotheonOh, criminy. Is this going to be another case of "I hate technology Foo, therefore stuff that Foo does is bad"?
18:54:24apotheonForget I said anything.
18:54:49*Associat0r joined #nimrod
18:54:49*Associat0r quit (Changing host)
18:54:49*Associat0r joined #nimrod
18:55:06Araqbut you have TYPESLIKETHIS (Winapi) types_like_this_t (posix), TypesLikeThis (GTK)
18:55:37apotheonI just need to repeat to myself (every time I think about talking to Araq . . .) "He will never just try to reach an understanding if he has an opinion that differs from yours -- he will instead expend a lot of energy trying to prove you are stupid."
18:56:21Araqwell according to your nice theory these things shouldn't have happened
18:56:32apotheonWhat theory is that?
18:56:46apotheonI don't see any theory that shows this is impossible.
18:56:50apotheonMine or otherwise.
18:57:05Araq" Thus, in my view, one should follow the conventions of the project and the language's community not just because it's polite, but also because it is probably really and truly better for the readability of the source code for that language to do it that way."
18:57:11apotheonGo ahead, though. I'm sure the straw man can take the abuse. It'll just stuff itself with more straw for your weapon practice pleasure.
18:57:49apotheonYes, divest it of context.
18:58:07apotheonIn fact, you should always specifically ignore the part where I *directly* addressed that problem.
18:58:15apotheonYou know -- the next fucking sentence.
18:58:42apotheonNever mind, I'm sure I didn't actually say anything in the next sentence. If I did, it might undermine your theory that I'm an imbecile for daring to have a different opinion than you.
18:58:46apotheonWe can't have that.
18:59:21apotheonCouldn't possibly survive in a world where anything contradicts the One Truth that issues from the Mouth of Araq . . .
18:59:35apotheon. . . like the VeryNextSentence.
18:59:50Araq*shrug* so you're right because you contract yourself?
18:59:54apotheonThe strawman is easier to see when your biases are so deeply ingrained.
19:00:17apotheon1. I didn't contradict -- I pointed out the difference between a tendency and a Natural Law.
19:00:29Mat2apotheon: https://en.wikipedia.org/wiki/Circular_reasoning
19:00:31apotheon2. Are you right because you typo a lot? (This is much the same argument as yours.)
19:00:36apotheon"contract" indeed
19:01:05apotheonMat2: I'm going to ignore petty sniping from the peanut gallery.
19:01:17apotheon(especially when it's inapplicable)
19:01:23*wan_ joined #nimrod
19:01:30apotheonNeither of us used circular reasoning.
19:02:05Araqapotheon: you say "I think it works well except when it doesn't" well ... yes
19:02:31apotheonAraq: I say "It tends to work well. Tendencies are not absolutes." Your inability to understand that kind of statement is your failing -- not mine.
19:02:49dom96hello wan_, welcome to #nimrod.
19:03:46apotheonwan_: Whether you're actually welcome probably depends on your opinions on certain things.
19:03:54*apotheon isn't bitter at all. Oh, no, not at all.
19:04:26Araqapotheon: maybe the more important question is "what if it doesn't work well"? but I'll give up
19:04:46Araqand you're welcome here no matter if you disagree with me or not
19:04:53apotheonAraq: Maybe you should have brought up "the more important question" earlier, rather than immediately jumping to "you're a fucking imbecile just because".
19:05:23Araqhi wan_, welcome :-)
19:05:46apotheonAraq: I don't feel very welcome when your argumentation style is to label people who disagree with you, at least implicitly, as idiots all the time, even when all they're trying to do is provide some perspectives and reasoning that would help you understand why some people disagree with you.
19:06:15Mat2hi wan_
19:06:37apotheonmeh
19:06:47apotheonI have better things to do than deal with this shit.
19:07:05apotheondom96: Make sure you let me know if any other Nimrod software of yours goes the copyfree route, please.
19:07:05dom96apotheon: How and at what point did Araq imply that you are an idiot?
19:07:08*apotheon left #nimrod (#nimrod)
19:07:27*dom96 sighs
19:12:23*Aww_ joined #nimrod
19:12:44*Aww_ is now known as Guest88875
19:14:11dom96oh, another new person. Hello.
19:14:12*Emmyy quit (Killed (kornbluth.freenode.net (Nickname regained by services)))
19:14:12*Guest88875 is now known as Emmyy
19:14:41Mat2hello
19:14:48dom96or not heh
19:20:14*wan_ quit (*.net *.split)
19:20:15*nihathrael quit (*.net *.split)
19:20:16*charles81 quit (*.net *.split)
19:34:21*Emmyy is now known as EvilAww
19:40:43*nihathrael joined #nimrod
19:40:43*wan_ joined #nimrod
19:48:36*Sergio965 joined #nimrod
20:12:01Mat2ok, I have an array, something like array [0..x, seq[uint8]] and a loop index i, how do I initialize each sequence element ?
20:13:06*Endy quit (Ping timeout: 264 seconds)
20:13:11Araqfor i in 0..high(a): a[i] = @[]
20:14:05Mat2thanks
20:24:59Mat2works, but I get trouble defining an array of sequences as object member: Error: 'ob.aHeap[i]' cannot be assigned to
20:25:51Araqis 'ob' a parameter?
20:27:07Mat2no, the object reference. Ah I see...
20:27:28Mat2I have mixed up a wrong syntax
20:29:39Mat2huh, now it worked
20:33:45Araqexetoc reported a perhasp similar problem this morning
20:34:09Araqpastebin your code please
20:36:09Mat2uno momento
20:42:06Mat2http://pastebin.com/TNec3ZdF
20:43:28Mat2Error: 'ob.aHeap[i]' cannot be assigned to
20:44:05AraqI asked you if 'ob' is a parameter
20:44:17Araqyou denied :P
20:44:21Araqand yet it is
20:44:29Araqwell parameters are readonly
20:44:41Araqso use a 'var' parameter instead
20:44:58Araqroc seqHeapInit (ob: var TNavmSeqHeap)
20:45:01Araq*proc
20:45:33Mat2yes, that was my solution, you asked for the code which causes the error however :P
20:45:50Araq-.-
20:46:18Araqseems to be my day today
20:46:49Araqmaybe I really have some deep problems understanding other people
20:47:38Mat2no problem, my answer was just to unspecific
20:49:33Araqbtw perhaps it's better to make 'oHeap' the first object field so it gets a small offset that can become an immediate on x86
20:49:50Mat2thanks
20:51:58*Mat2 vim sucks because of needed mode-switches (personal meaning)
20:52:59Araquse aporia instead, doesn't work on a mac yet though
20:53:20Mat2I give it a try
20:56:47Mat2it uses GTK so there should exist a highlighting file which I can use for gedit, right ?
20:57:28Araqtrue but you won't ever use gedit again :P
21:04:40dom96:D
21:05:29Mat2*g*. Well, its nice to have options (larger GTK application can behave ehm ... problematic on Raspberri Pi for example)
21:06:36Mat2but I can convert .lang files for using other text editors and work in text mode
21:06:58Mat2or via a terminal emulator
21:08:55dom96That reminds me, I should test Aporia on the RPI.
21:09:37Mat2good idea (take the 512mB version)
21:30:55Mat2dom96: I will build Aporia tomorrow for RPI (which can take some time) and post my experiences
21:31:14dom96cool, thanks.
21:38:45*Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:40:23Mat2hmm, exist there a plan for switching to GTK 3 (the Gnome one) ?
21:42:47dom96Maybe someday. But currently I am not impressed with GTK 3.
21:44:53*OrionPK joined #nimrod
21:45:25Mat2that's a common reaction to GTK as I know. Most programmers seem to prefer Qt
21:47:00dom96I don't mind GTK in general. But GTK3 apps still look crap on my desktop.
21:47:10dom96The theme is very broken.
21:47:14dom96I don't get why.
21:48:25Mat2that's because of the Gnome influence
21:48:42dom96Also I am worried about GTK's future on Windows.
21:53:25Mat2hmm, probably future versions of GTK will be much more restricted to Gnome so I see no future beside Linux (on BSD porting is already a hard try and these OS is *Nix like)
22:07:46AraqI'm not that worried, windows compatibility is good
22:07:58Araqthe DLLs we need will continue to run
22:21:24Mat2I hope so
22:21:57dom96I am worried.
22:22:18dom96There is a bug on Windows with scrolling in the GtkSourceView.
22:22:28dom96And it's pretty annoying.
22:23:03dom96Also we won't get all the new features that will be introduced into the GtkSourceView.
22:23:06dom96Like code folding.
22:23:18AraqI can't stand code folding
22:23:29Araqit always folds the wrong things
22:23:41Araqbut I get your point
22:24:10AraqI guess ultimately we need to write our own editor component
22:24:51Araqit's actually lots of fun and you can finally control everything
22:25:11Araqand all bugs are yours so you can fix them :P
22:25:34dom96Lots of fun... hah.
22:26:11dom96I'm starting to think that using webkit + HTML as a GUI toolkit may not be such a bad idea.
22:28:34Araqomg
22:28:53Araqno ... it IS a bad idea
22:29:06dom96why?
22:29:50AraqI'd use OpenGl or SDL for Aporia 2 ;-)
22:30:26Araqdom96: because I dislike webapps
22:30:39dom96But it won't be a webapp
22:30:52dom96It will be a desktop app running webkitgtk
22:30:57Araqyeah I suppose
22:31:10Araqstill a bad idea
22:31:12dom96You're using chatzilla which is pretty much a web app...
22:31:22Araqhe he, good point
22:31:37Araqbut I use it so that it crashes when my browser crashes
22:34:00dom96And you have stuff like this which I could reuse: http://codemirror.net/
22:34:13dom96Speaking of that, look at their 'commercial support' deal.
22:34:21dom96We should do something like that for Nimrod :P
22:35:21Araqthey don't support nimrod ...
22:35:42Associat0rwe should have a hypercard style web
22:36:03dom96yeah, I know. We need to ridicule them for not supporting Nimrod :P
22:36:08Associat0rthen this dichotomy would be a non-issue
22:37:04*rubino123 joined #nimrod
22:37:41rubino123one more idea for nimrod; a bitcoin node client
22:38:05Mat2how about using Qt?
22:38:53Araqwrapping Qt is lots of work
22:39:02Araqsame for wxWidgets
22:39:10Mat2that's true
22:39:21dom96rubino123: I think we have enough ideas, we need more people to implement them.
22:39:58rubino123Ok; let me finish on my other free project and I will get websockets done
22:40:18dom96Awesome.
22:41:23Mat2it can be worth the effort because of some abstractions for web and stand-alone applications support for example plus Qt runs on a variety of platforms
22:42:47dom96AFAIK using Qt would mean compiling my Nimrod app using a C++ compiler which would make me feel uncomfortable.
22:43:04Mat2I see your point
22:43:29Mat2ok, wrong library
22:44:02Mat2how about FLTK ?
22:44:21Araqexhu is writing a new UI library in pure Nimrod
22:44:29Araqwe can simply wait for that
22:45:00Mat2doesn't know before
22:45:09Mat2makes sense :)
22:46:02dom96I think we may have to wait a while :\
22:47:46rubino123Is there a nimrod to js tool?
22:48:02dom96'nimrod js <file.nim>'
22:49:10Mat2get some sleep, ciao
22:49:24*Mat2 quit (Quit: Verlassend)
22:55:04rubino123dom96, feature complete(ness)?
22:56:06dom96rubino123: needs work I think. I don't use it at all, and other people don't either AFAIK so I'm guessing there may be problems.
22:57:58Araqit should actually be quite usable, I rewrote it recently
22:58:23Araqbut it's true I'm not aware of any project that really uses it
22:59:30dom96The tester still doesn't test it does it?
23:43:45AraqI dunno lol