logs archiveBotHelp.net / Freenode / #ada / 2015 / July / 31 / 2
Shark8
LOL -- Me too.
Heck, it doesn't have to be particularly symbol-heavy. (PHP)
Visaoni
It's terrible. I try to read something about Haskell and it's just terrible. It wasn't great before Ada (functional programmers might be worse than old C folks), but now I often just close the tab in disgust
Shark8
LOL -- You're right... I have a couple of Haskell books [in PDF] that I ought-to/want-to read... but the dread of that symbol-heavy syntax.
(I'd /almost/ be more excited to learn APL.)
Game of Life in APL -- https://www.youtube.com/watch?v=a9xAKttWgP4
Visaoni
Well, at least in APL it's clear they knew what they were doing and had a purpose
Shark8
^-- Plus APL is simpler in that its evaluation is strictly left-to-right. [IIRC]
And there's something appealing to the hyper-specialization to vectors/matrices.
Visaoni
Yeah, it's interesting... I will give it that
Shark8
(You could argue that Haskell [and FP in-general] do that w/ functions... but I'm not sure I completely buy it. [After all LISP has a similar claim and, being homoiconic, can read data and functions interchangably.])
Visaoni
I mean, you can basically make a LISP to hyper-focus into whatever the hell you want
The bare bones are probably more focused on vectors than matrices
Shark8
...so quiet.
Visaoni
just need to wait for charlie5 to show up
charlie5
(Action) shows up
(Action) listens to channel collectively groan
any chance anyone tried that video link last n8 besides luke ?
!quote
Allegra--
With stupidity the gods themselves contend in vain.
-- Friedrich von Schiller
charlie5
at least 'leggy will chat to me *sniff*
https://www.assembla.com/spaces/playada/documents/dqr676n1Wr5BlcacwqjQYw/download/dqr676n1Wr5BlcacwqjQYw
could someone try that ?
(Action) prods ThomasLocke
you once asked about a world building app for dream .. this is just a 'building' app ... the closest i've got so far ... :)
ThomasLocke
charlie5, Dude! So cool! And on PC-BSD. That is just badass with badass sprinkled all over.
charlie5
*gasp* ... so you could view it ?!?
bsd + ada = easy these days :)
Visaoni
which bsd are you on?
one of these days I'll get around to throwing BSD onto one of my systems (as I think we've talked about before actually...)
ThomasLocke
charlie5, I could view it just fine. Great stuff!
charlie5
Visaoni: pcBSD (which is basically freeBSD easily setup for gui/desktop)
Visaoni
is freeBSD really so bad in that respect?
Natacha
I'd say it's on par with Debian, yet Ubuntu is still successful
But then again, I'm fluent in POSIX shell, so I might have a distorted view of what is easy
Visaoni
I wouldn't consider myself particularly apt at that sort of thing, but I can follow directions well enough to have taken arch and gentoo boxes up
charlie5
desktop on freebsd is pretty easy also, i think ... i used pcbsd cause it setup nvidia gl card nicely and has a nicish auto-update app
Natacha
I don't recall doing anything difficult to get my nVidia working
I did some non-trivial stuff (but really following a procedure found on the Internet) to get it work with wine
but nowadays its all embedded in a nice port
charlie5
i think nvidia provide driver for freebsd but not the others bsd's ... i started with dragonflybsd, found out that nvid was only avail for freebsd, then decided to take the path of least resistance and try pcbsd
Natacha
I'm not sure why they even provide it, but I'm glad they do
It seemed they wanted to drop support when 64-bit because mainstream, but didn't want to be streight about it, so they made huge demands on kernel features
But FreeBSD folks actually implemented all the demanded features :-D
charlie5
lol
Natacha
Maybe the story is more complicated though, but that's how it looked from the outside
charlie5
good !
Natacha
(like maybe the list wasn't arbitrary, but only there to make trivial the port from whatever linux base they maintain)
charlie5
i've always had nvidia cards due to 'the devil you know, is better ...' idea ... had a few probs with them s/w wise ... i'll probly try some other card next time
Visaoni
is there a good pattern or whatever to do away with basically having instructions to cast a dervied type back to the parent type to call the parent's version of the subprogram you are currently overriding before adding your own extra code?
that is a horrific description
the "be sure to call Parent.Foo (in 99+% of cases at least) in Derived.Foo" instruction
godunko
Parent (Derived).Foo();
Visaoni
my question isn't about how to call it
it's like I don't like having to call it like that. it's pretty much a given to do, so why be forced to remember to do it everywhere?
charlie5
there isn't any shorthand for doing it
i guess it's meant to be explicit
Visaoni
bleh, was hoping there was some way to do away with ti
charlie5
there are some times when you don't want to call the parent class operation
Visaoni
certainly
charlie5
alsoyou may want to control when it is called (ie do some stuff before)
so i guess it can't be made 'automatic'
Visaoni
yeah, order is an issue
I just /hate/ things like "hey, you better remember to do xyz!" just to work properly with a library
if it's your own code then it's kinda whatever, but for a library to force you to do that kinda thing? icky icky icky
charlie5
yes, i take your point ... it is an easy source of errors
otoh, ppl who are familiar with OO are usually aware of the situation, and the parent package should probly document how a classes subprograms are intended to be overriden
(Action) 's 2c
Visaoni
true
charlie5
Visaoni: how goes the prng ?
Visaoni
haven't really touched it
messing around with gnoga right now
probably past time to get started on the tagged version of the prng, but I need to look at interfaces a little bit more
the thing is, all of the internal types need to be generic
so I might need to just use a tagged null record as the root type
haven't really used interfaces before in any language. mostly come from C++
I get the basic idea behind them, but need to get a bit of a feel for how I can (ab)use them
I saw your video though. cool stuff!
charlie5
wow, thanks
(Action) was hoping someone else would say that :)
it's pretty basic atm but you can change wall height, width and portal size and position
interfaces are pretty simple in principle
think pure c++ classes with all pure functions
Visaoni
is it all physicsy or just eye candy?
charlie5
no state
sparre
(Action) has finally finished a recording for the LearnAdaNow competition.
Visaoni
nice!
charlie5
the buildings are modelled in 3d using bullets3d for physics and opengl for 3d graphics
Visaoni
also nice :)
sparre
It is in Ogg/Vorbis format at the moment.
charlie5
apart from the bullet3d, it's all ada :)
sparre: excellent ... preview screening ?
sparre
I have to watch it myself and figure out how to convert it to MP4 before midnight.
I'll put it online as soon as I've watched it myself.
One thing I've learnt is that I need a big "on air" sign for while I'm recording. :-)
Visaoni
(Action) has apparently gone crazy and can't do a tagged type properly.
sparre
Visaoni: What does the compiler say?
Visaoni
Complaining about no selectors. Derived type isn't getting the subprograms of the parent.
charlie5
pastebin ! ... :)
« prev 1 2 3 4 next »