<<22-06-2012>>

00:00:02filwithere's what I mean
00:00:57Araqvar x: T # call constructor implicitly, C++ style
00:00:57filwitif we could define a function that allocates a type in special way and returns the reference we could have the syntax that gives you insight about he type being allocated and is easy to remember
00:01:02filwitso if I could make:
00:01:19Araqc++ style would be even better for you then, right?
00:01:25filwitproc new[T](...): ref T = ...
00:01:50filwitproc pool[T](pool:MemoryPool, ...): ref T ....
00:02:00Araqdom96: I don't know
00:02:01filwitand I could use those like:
00:02:13filwitvar foo = new FooBar(...)
00:02:29filwitvar bar = pool(MyPool) FooBar(...)
00:02:40filwit*or something along those lines*
00:02:49Araqwell I see you want C++
00:02:59Araqlike constructors really
00:03:04filwitno, but I would like to define general purpose allocators
00:03:19dom96Well we already have destructors, so why not allocators too?
00:03:30filwitand a way for the allocator to call "finalizers" implicitly
00:03:43dom96or constructors, whatever you might want to call them.
00:03:44Araqfilwit: zahary implemented destructors already :P
00:03:54*shevy joined #nimrod
00:04:11Araqand there is a plan for constructors
00:04:13shevyhmm was there always a forum?
00:04:23Araqit's new
00:04:49dom96There was always a forum, the new one is written in Nimrod though :)
00:05:08Araqdamn you
00:05:15AraqI should sleep
00:05:16Araqgood night
00:05:21dom96bye Araq
00:05:30filwitlol, bye
00:05:43shevyoh... dont think I recall the last forum
00:06:12dom96It was kind of closed down because phpbb is very easily spammed...
00:06:18filwitI'm still not sure I see you're arguments against general purpose allocators/constructors.... but I will talk to about that later
00:06:46shevyoh yes
00:06:53shevybut that is psychological advantage too
00:06:58shevyto have a forum in nimrod rather than php
00:06:59shevy:-)
00:07:06dom96indeed :D
00:09:28zaharybtw, I only skimmed over the conversation, but you should know that nimrod now can supports syntax like
00:09:28zaharyTFoo.new
00:09:28zaharyif you want new to mean newly allocated reference, you can have a single generic function written like this:
00:09:28zaharyproc new(T: typedesc): ref T = new(result)
00:10:15*XAMPP joined #nimrod
00:11:24shevyhey
00:11:27filwitzahary: that's good news, I didn't know about that
00:11:30shevyTFoo.new ... that is even valid Ruby
00:12:31filwitso basically i can: var foo = TFoo.new(...)
00:12:57filwitlet me try it real quick...
00:13:27zaharythe signature would be
00:13:27zaharyproc new(t: typedesc{TFoo}, arg1: int, arg2: string) etc
00:15:06dom96That looks pretty nice actually :O
00:15:29dom96shevy: Nice kitty on your gravatar :P
00:15:46shevy:D
00:15:51shevyit was mostly a placeholder actually
00:16:22dom96Good choice, it's a well known fact that everyone on the internet loves kitties. :D
00:16:24shevyI think I will make those iconification of the portrait
00:16:58shevywell, that cat was kinda special. the only survivor of her group and we fed her from the beginning with milk on our own (the mother did not accept her)
00:17:13shevyI mean, special milk. not human milk (hahaha)
00:17:29shevydom96, something like this perhaps: https://secure.gravatar.com/avatar/0ec4920185b657a03edf01fff96b4e9b?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png
00:17:34shevythis is matz gravatar
00:17:43shevyhttps://github.com/mruby/mruby
00:17:46shevylooks a bit like anime
00:18:08shevyanother idea could be like apeiros https://github.com/apeiros but I dunno
00:18:29shevyI like those iconifications more. there were some that looked like old dungeon and dragons ... nethack thingies
00:18:50dom96Can't say I like matz's
00:19:36shevyhmm lemme check what was your gravatar
00:19:43dom96Mine is an anime thing :P
00:19:49dom96I should probably change it
00:19:59shevyyeah! anime!
00:21:53dom96shevy: As I said before, you should specifically ask us questions about things you do not understand from the tutorial :)
00:22:00filwitPrincess Mononoke > all
00:22:52*dom96 hasn't watched anime in such a long time...
00:23:21dom96I think I got too old for it.
00:23:28filwitI'm not a huge anime fan, but Priness Mononoke is badass
00:23:52*dom96 gets :P
00:25:11filwitand Cowboy Beebop's pretty cool too
00:25:13filwit:P
00:25:58dom96Pokemon ftw!
00:26:00dom96:P
00:26:07filwitlol, no
00:26:10dom96WE GOTTA CATCH 'EM ALL
00:26:13filwithaha
00:27:02filwitI never had cable TV growing up, so when I was young I used to watch "digi monsters" on public TV
00:27:04filwitlol
00:27:30filwitwas such a pokemon rip-off
00:28:06filwitsorry, it's 'digimon' I think...
00:28:16dom96lol yeah. Digimon, such a rip-off.
00:28:31filwitI've never actually seen (or played) pokemon
00:28:36dom96I never really got into it though.
00:28:51dom96Wow, you missed out on some good times.
00:29:01filwitso i've been told
00:29:06dom96My childhood consisted of Pokemon and Beyblade :D
00:30:03filwitI had an odd childhood though... never went to the same school for more than 1 1/2 years
00:30:42filwitso if i ever met kids that where into pokemon It didn't last
00:31:02filwitmostly, I just saw them playing with Pokemon cards and I decided it wasn't for me
00:31:18filwitthought I tried to learn Magic once. I was never really into that stuff
00:31:30filwitthough**
00:32:19filwitnot that I have anything against them
00:32:20Tasserfilwit, I still play magic :-)
00:32:25Tasserfrom time to time, that is
00:32:49Tasserthe official rules with clarifications are like 50 pages
00:33:17filwitya, I used to play on my friends deck when he would play, but it was too complicated for me to care much
00:33:27filwitcause everyone would always kick my ass
00:33:36dom96The only card game I played was Yu-gi-oh lol
00:33:51filwitand half time time they'd be explaining why I couldn't do something or why I should do something else
00:34:37Tasseroh, I love complex board games :-)
00:35:01filwitI tried to RPG with my friends a couple of times too
00:35:22filwitand, even "bafted" (or however you say that) a few times
00:35:22*XAMPP quit (Quit: There is no such thing as coincidence, only the inevitable.)
00:35:32filwityou know, fake swords and shit
00:35:37filwitit was actually pretty fun
00:36:50filwitthe people that do that stuff all the time are a bit to eccentric through for my tastes
00:37:24filwitone guy was trying to convince me he was legitly a warewolf waiting to "awaken"
00:37:34filwitor some crazy nonsense like that
00:41:21Tasseroh, I do fighting with real words :-)
00:41:37Tasserehh swords
00:41:47Tasserthe other variant would be boring
00:42:37filwitfencing?
00:43:10filwitI took a class in High school for fencing as a PE elect
00:43:23filwitI was a Sabor
00:44:32filwitor do you mean you just go out and kill your friends with real blades, LOL
00:45:33Tasserwell, the blades are kinda real, just not sharpended :-)
00:45:48filwitseriously? that's pretty hard core
00:45:57filwityou where pads or anything?
00:46:11Tasserwell, you just pay attention, the swords are trainig ones
00:46:21filwitI imagine that's gotta do some damage, even without sharpened edges
00:46:31filwitmasks?
00:46:39Tasserso blunt you could call them clubs ^^
00:46:48filwitare they made of metal or wood?
00:46:58Tasserthe beginner ones wood, but the balance sucks
00:47:07filwitthat's cool
00:47:26filwityou any good?
00:47:57Tasseronly a year or so - I kinda suck against the ones who do it longer
00:48:21filwitya, I remember these kids in my fencing class that had been doing it since they where yong
00:48:25filwityoung**
00:48:30filwitand they're where impossible to beat
00:48:43Tasserthe real "fighting" is done with shinais - bamboo + lacrosse armor
00:49:07Tasserfencing? with toothpicks?
00:49:11filwitlol
00:49:27filwitwell I was Sabor, but yes the Foil is like a tooth pick
00:49:46filwitand even the Sabors are light, one-handed weapons
00:50:04Tasseryeah, google helps :-)
00:50:19filwitbut our instructor use to say that with the right foot-work, Fencing was better than long swords because it was faster
00:50:29filwitcause it was faster
00:50:41Tasserindeed
00:51:14TasserI'd like to see a fight against shield + sword against fencer
00:51:31Tasserdepends on the armor also
00:51:38filwitthat would be pretty click
00:51:44filwitslick**
00:52:25filwitidk though, many of our techniques where about slicing through their wrists
00:52:44Tasserah, that's where the shield comes in
00:52:49filwitbut I guess the proper armor could help a lot with that
00:52:59Tassernot even needed
00:53:23filwitwell you've got to reveal your arms to swing
00:53:37Tasserhttp://www.hurstwic.org/history/articles/manufacturing/pix/buckler.jpg bit smaller than that one
00:53:41Tassernope, you don't ^^
00:53:53Tasserthat's where techniques come in
00:54:05filwitaw I see
00:54:13filwiti was think a big sheild
00:54:16filwitshield**
00:54:28Tassernah, you don't want to fight one-on-one with a formation shield
00:54:53filwitya that's more for pikes and stuff right?
00:55:12Tassernah, more like against arrows
00:55:19filwiti see
00:55:43Tasseror for formation tactics, see Romans
00:55:59Tasserguess why they lost all of their big fights in the woods ;-)
00:56:27filwitya I see
00:56:52Tasserwith a bit bigger shields, you can still do 1on1 - guess where the German saying 'etwas Böses im Schilde führen' comes from (carry something evil in your shield)
00:57:26Tassera dagger hidden behind a shield can be quite unexpected... and evil
00:57:28filwitI'd imagine they had a spike on their shields
00:57:46Tassernah, too heavy
00:57:55filwitmakes sense
00:58:23Tassereven a buckler as the one before tires you out after half to one hour
00:58:28Tasser... untrained
00:58:58Tassertake a big one, train a lot, after 2 hours, your arm will drop off. you want to add more weight? ^^
00:59:00filwityes well it's all about fitness at that point
00:59:38filwiteven a book will be heavy if you hold it out for along time
01:00:06filwitbtw Tasser, are you from the D forums?
01:00:55Tasserfilwit, nope
01:01:14filwitokay, just asking cause there's someone with your name over there
01:02:00Tasserso I really got to switch to my secondary-new name here too :-)
01:06:02Tasserso gn8, need some more sleeeeeeeeeeeep
01:06:50filwitonly 9pm over here
01:10:54dom96only 2am over here :P
01:39:35filwitnight folks
01:39:37*filwit quit (Quit: Leaving)
03:02:43dom96good night everyone
07:08:50*fowl quit (Remote host closed the connection)
07:55:43*Araq_ joined #nimrod
07:55:51*Araq_ quit (Client Quit)
08:27:35*Trix[a]r_za is now known as Trixar_za
09:02:14*Trixar_za is now known as Trix[a]r_za
12:10:48*Trix[a]r_za is now known as Trixar_za
12:22:22*Trixar_za is now known as Trix[a]r_za
13:25:15*shevy quit (Ping timeout: 265 seconds)
13:29:51*JStoker quit (Excess Flood)
13:33:13*JStoker joined #nimrod
13:37:01*shevy joined #nimrod
15:02:16*Bosc0p joined #nimrod
15:02:16*Boscop quit (Disconnected by services)
15:02:44*Bosc0p is now known as Boscop
15:02:46*Boscop quit (Changing host)
15:02:46*Boscop joined #nimrod
15:27:31*llm joined #nimrod
15:32:31*llm quit (Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901])
16:27:53Araqha, take this you "professionals" :P
16:28:12Araqsystem.gorge is here to stay :-)
16:28:17dom96lol
16:28:50shevygeorge!
16:28:53shevysystem george!
16:29:07shevysystem pete and system tony are the next
16:30:52Araqwe have 'slurp' and 'gorge'
16:30:58Araqperfect match
16:31:24Araqyou can also use 'staticRead' and 'staticExec' ...
16:31:31Araqbut they are not as cool
16:33:42shevyheeh
16:33:52Araqshevy: I'll answer tonight on the forum
16:33:58Araqbut short answer now:
16:34:07Araqwe need 2 tutorials
16:34:16Araqone for noobs :P
16:34:29Araqand one for people coming from pascal/ada/c++ ;-)
16:34:41shevy\o/
16:35:06dom96Maybe I'll take it upon myself to write a tutorial for newbies :)
16:35:09Araqand I may even write both as writing is kinda fun for me
16:35:16shevyhmm
16:35:20Araqas it requires so little debugging :D
16:35:26Araqbut hey, you can do it too of course
16:35:37dom96Araq: You can do it if you want.
16:35:51Araqdom96: do what?
16:35:58dom96But I'm much closer to a "noob" mindset than you are :P
16:36:02dom96Araq: Write the tutorial.
16:36:08shevyAraq, do you know _why's old ruby guide?
16:36:39shevyhttp://mislav.uniqpath.com/poignant-guide/
16:36:47shevyjust for one glimpse, no need to read it :P
16:37:00shevyhmm this link is better http://mislav.uniqpath.com/poignant-guide/book/chapter-1.html
16:37:33shevythere also was this haskell tutorial... not sure which one it was
16:37:54shevydom96 yeah. I think it depends on what kind of tutorial one wants to have and read
16:38:01shevyfor instance, when I came to ruby, why's guide confused me to no ends
16:38:06shevybut others loved it
16:38:24Araqthe guide is crap :P
16:38:28shevyhehe
16:38:32Araqsooooo verbose
16:38:36shevyyeah
16:38:41shevybut remember that some liked it!
16:39:02Araqso? I like paris hilton :P
16:40:21Araqwell obviously I do not
16:40:26dom96New programmers require verbosity :P
16:40:27Araqbut I'm sure someone does
16:41:19dom96What would be nice is something like try-haskell, but we need a good REPL for that.
16:41:56Araqno only a fast sandboxed server :P
16:44:06AraqI have to go, see you later
17:44:37*Trix[a]r_za is now known as Trixar_za
17:46:01Trixar_zaActually, you're wrong Araq. You need three tutorials. One for noobs, one for people coming from other languages and one for me :P
17:47:09Trixar_zaWell, for people like me we just need more examples. I learn by example rather than text.
17:48:42Trixar_zaBut to paraphrase Ghandi: It's better to create the examples you wish to see in the world. :P
17:53:20dom96Trixar_za: http://rosettacode.org/wiki/Nimrod :)
17:53:38Trixar_zaAlso dom96. I don't like verbose tutorials :P
17:53:53shevynoobs need the tutorial with the examples
17:54:49Trixar_zahttp://www.swaroopch.org/notes/Python
17:54:54Trixar_zaThis is a good example to me
17:54:59Trixar_zaIt's like 180 pages
17:56:20Trixar_zaBut it covers the basic and the advanced features of the Language. That's how I really learned Python.
17:57:43Trixar_zaIt's also the book I recommend. Every language should have one like a Byte of Python
17:57:43Trixar_za:P
17:58:04dom96Someone should make Learn Nimrod the Hard Way :P
17:58:19dom96Learn Python the Hard Way is by example IIRC
17:58:35Trixar_zaEh, I master most things the Hard Way
17:58:36Trixar_za:P
17:59:07Trixar_zaMostly because I'm either too stubborn or impatient to do it the Easy (aka Boring) Way
17:59:39dom96Trixar_za: If you want particular examples, let me know and I will write them for you :P
18:00:49Trixar_zaHmmm
18:00:57Trixar_zaYou are allowed to remix this book
18:01:03*Boscop is now known as Bo5cop
18:02:39Trixar_zaSorry, I was just thinking
18:02:59Trixar_zaWhat if I took the book right, but only used Nimrod instead of Python examples.
18:03:00shevyhttp://www.swaroopch.org/notes/Python_en:Basics#Double_Quotes
18:03:05shevyhas some examples
18:03:07dom96Zed Shaw released a template to make Learn X the Hard Way
18:03:12shevyand better look than nimrod tutorial right now :D
18:03:37shevybut currently python code is easier for me to understand than nimrod code, even though i did not really finish any python tutorial
18:05:37*Bo5cop is now known as Bo5c0p
18:06:19Trixar_zahttp://www.irc-wiki.org/Category:A_Byte_of_Python
18:06:22Trixar_zaBwahahaha
18:06:23Trixar_zaIt works
18:09:37Araq180 pages to describe python ... wtf ... :P
18:09:45Araqpython is quite simple ...
18:10:06Trixar_zalol
18:10:35Trixar_zaIt's written for beginners to more advanced coders. You can skip the bits you know
18:11:00Trixar_zahttp://www.irc-wiki.org/Python_en:Basics#The_format_Method
18:11:12Trixar_zaGood, the <python></python> tags work
18:12:14Araqugh python's new format method sucks
18:12:22AraqI prefer the % operator
18:12:26Araqwas really handy
18:12:33Araqso I copied it ;-)
18:12:37Trixar_zalol
18:12:44Trixar_zaYeah, I used it all the time
18:13:22Trixar_zaExamples of valid identifier names are i, __my_name, name_23, a1b2_c3 and resumÃ� ’©_count.
18:13:29Trixar_za^--- yeah, my Wiki can't display that...
18:15:07Trixar_zaThis also keeps wanting to use <source lang="">
18:15:23Trixar_zaI implemented language tags so I don't have to use that lame method
18:15:46Araqnimrod has docgen built-in
18:15:48Araqyou can do:
18:15:54Araq.. code-block:: nimrod
18:16:01Araq echo "summ summ di dumm"
18:17:11Trixar_zaI noticed. I even messed with it a bit too
18:23:00*Trixar_za looks at some of the undone Rosetta stone examples
18:23:12Trixar_zaI might try my hand at them
18:23:13Trixar_za:P
18:23:17Trixar_zalike the 100 doors one
18:23:34dom96They are quite fun.
18:25:45Trixar_zahttp://rosettacode.org/wiki/Category:Nimrod_User
18:25:47Trixar_zalol
18:25:51Trixar_zaJust you dom96
18:26:07*dom96 sings I'm so lonely...
18:26:42Araqnobody uses nimrod as it's not as convenient as C# yet ... XD
18:27:22Araqand people are suprised that a lonesome hacker can't produce a competive compiler in his spare time
18:28:46Araqthere is a *team* working *full time* on the C# compiler ...
18:29:38Trixar_zaC# greatest problem is that it depends on the .NET libraries
18:29:55AraqC#'s initial design is also a problem
18:29:55Trixar_zaMind you, I would say the same about Java :P
18:30:06Araqit started copying Java and it still shows
18:30:08Trixar_zaThat and C# keeps changing
18:30:30Araqthey should have started with delphi instead ...
18:30:47Trixar_zalol
18:30:47Araqbut it changes for the better
18:31:01Araqthe new stuff is much better in general
18:31:14Trixar_zaTrue, but I rather not use a language that keeps changing critical libraries with each version
18:31:46Trixar_zaIf it wasn't backed by Microsoft, I doubt most people would bother using it or rewriting their older code the whole time
18:32:10Araqwe don't rewrite our older code the whole time at work ... :P
18:32:26AraqIMO compatibility is pretty good
18:32:31Trixar_zaBlood traitor
18:32:32Trixar_za:P
18:32:42Trixar_zaBut yeah, C# isn't so bad
18:33:01Trixar_zaWay better than say VB.Net
18:33:09Trixar_zaand easier to learn than C++
18:33:27Araqnowadays VB.NET is merely a more verbose syntax for C#
18:33:40Araqwell I think, I never used VB.NET in fact
18:36:10dom96There are some core differences, VB.NET is for example case insensitive while C# is not.
18:37:46Araqreally? interesting
18:37:58AraqI thought they made it sensitive for C# compat
20:22:15*Trixar_za is now known as Trix[a]r_za