logs archiveBotHelp.net / Freenode / #ada / 2015 / August / 9 / 1
sparre
Good morning (+time zone corrections)
(Action) has configured GNAT so it is an error to omit "overriding" from an overriding subprogram.
antranigv
nya~~~m,,,.. morningg ((:
darkestkhan
sparre: I did the same, but still I would rather write that "not overriding" just in case
charlie5
\o
(Action) 's 'humans' look more like a cross between movie aliens and easter island idols
:/
charlie5-arch
there
now you have to put up with 2 of me
:P
no contest results yet :(
Visaoni
oh no, two charlie5's...
(Action) hides
charlie5-arch
you can hide but you can't run !
no ... wait
um
(Action) binds Visaoni, hand an feet
:)
Visaoni
(Action) frantically tries to remember the safe word
charlie5-arch
kitten ?
Visaoni
good as any, I guess?
charlie5-arch
(Action) 's humans *still* look like .. well, same as b4
Visaoni
O-k
^ my human
charlie5-arch
how goes the great ada adventure ?
Visaoni
slowly. now I'm off thinking about a new binding for gnat.sockets.thin :P
but first I have to try not to jump off a cliff before I get through working with this javascript sh*t
charlie5-arch
sparre has dealt with that a bit, i think
javascript ? ... you're not allowed to use dirty words here, sorry
Visaoni
I was thinking about a little telnet program just to jump into sockets, but it turns out gnat.sockets doesn't actually expose everything you need for that
so naturally I'm back to building libraries :)
charlie5-arch
naaaw ... skip sockets and go with dsa :)
who wants to do plumbing ?
(Action) hides
Visaoni
I wish I could do without JS so much... and it's even worse than that, it's javascript in pdfs
(Action) cries
well, the eventual never-going-to-even-start idea is that you could make an Ada MUD framework. so, sockets :)
charlie5-arch
oh, so mud frameworks depend on sockets ?
(Action) tried a few muds back in the late 90's
not that impressed
Visaoni
muds run over telnet
well, they've implemented their own protocol (which apparently is loosely followed at best by everybody) on top of telnet
charlie5-arch
an ada mud with dsa/PO, however would be the proverbial piece of pineapple
Visaoni
but then you have to write your own client too
charlie5-arch
i think godunko wrote a dsa/qt4 irc client-ish app in ada in a few hours ... a mud would not be that dissimilar, i expect
Visaoni
eh, you also need to integrate scripting
charlie5-arch
heh, i've thought of going back to simple mud-ish style, when graphics or physics defeats me
Visaoni
and some of them have pseudo-graphics stuff, although I don't exactly know how that's accomplished. might just be a tileset kind of deal
charlie5-arch
the hack-ish games do that ... tile or isometric tiles
well, some of them
how did you get stuck with JS ?
Visaoni
long story, but basically making a better pdf form
pdfs now have... javascript, of all thigns
at least with adobe products. seems a number of alternative pdf viewers don't support it
charlie5-arch
javascript ... the creeping chaos
Visaoni
it's insane
you can pass as many arguments to a function as you do or don't want to
charlie5-arch
i've never touched it, thankfully
i've seen some java code, that's about it
Visaoni
all numbers are 64-bit floating point values
but you have bitshift operators. they round the 64-bit fp to a 32-bit integer and then shift
charlie5-arch
heh, fun
Visaoni
I wish i was making this up
charlie5-arch
(Action) thought he had it hard coping with matix math :)
matrix
sounds like basic meets c++'s evil twin brother
more evil
Visaoni
semicolons are optional and will be inferred
so you must start a return value expression on hte same line as "return" or else it's assumed you're returning nothing
charlie5-arch
indenting to indicate a new subprogram ?
Visaoni
nah that's python
referencing an undeclared variable automatically declares it in the global scope
charlie5-arch
heh, yeah ... it would have made a nice final crushing tocuh tho :)
Visaoni
blocks don't create new scopes
charlie5-arch
wow ... what could possibly go wrong ?!?
Visaoni
nothing major, I'm sure
charlie5-arch
:) ... better thee than me
an ada dsa mud system might be fun/interesting
Visaoni
I mean, until a connection drops :P
charlie5-arch
heh, yeah, i guess ... would be good chance to get experience with the prob and try to solve somehow ... the dsa comms would be pretty simple
Visaoni
I've read about the dsa a little bit but that's it. at first glance it almost looks like sockets would be easier... just encapsulate the socket-related logic and go from there
for all the claims of the dsa just letting you write code like normal, it didn't quite look like that
this UI just gets worse and worse... how does adobe expect anybody to use this
it's a "console" that let's you execute JS except it doesn't... work like a console
you can execute a single line at your cursor, or multiple selected lines... but it dumps the output into the same damned window, but doesn't update your view of it...
it's a mess
I guess if you were interactively generating javascript that... generated javascript that.. etc it might be a little useful if your code had no errors?
other than that, holy sh*t...
charlie5
better thee than me
Visaoni
(Action) needs to take a break before he actually does start crying
charlie5
apart from the network outage probs dsa has worked pretty well for me ... the outages are one thing i've not looked at much yet
you can build/debug your app as a normal single exe, get that working ... then invoke the dsa build to build the real distributed app
ie you design/code/build/debug a distributed app the same as you would a non-distributed one ... which is a pretty nice 'pro'
of course you have to consider lag and outages :)
Visaoni
I guess I need to look at it more. it just seems easier to wrap up all the networky stuff in one place and then do the rest normally, rather than having to deal with the restrictions everywhere
but I've also done sh*t all with networking stuff before, and have only read a little about the dsa so what do I know ;)
charlie5
heh, i may be biased against sockets
i'm trying to do some dsa atm
Visaoni
oh, nice
what's the project?
« prev 1 2 next »