SQL interfaces - Fortune [possible satire]

AbleBaconmpDrive->getLoc().list[i]->stats.getVal()->val; sometimes i wish object oriented programming was never invented
GeDaMoOnly sometimes? :P
rindolfAbleBacon: https://en.wikipedia.org/wiki/Law_of_Demeter
AbleBaconoh my god this Law of Demeter is exactly the opposite of what we're doing
patientplatypusdoes anyone know how to programmatically create a subtable in postgres?
rindolfpatientplatypus: not off hand
rindolfpatientplatypus: is there an sql syntax for that?
rindolfAbleBacon: heh
GeDaMoWould a subtable be like a view?
patientplatypuserrr....
patientplatypusi want to basically make a tree of tables
patientplatypuslike a json object
rindolfpatientplatypus: sound like it would stand against the normalisation rules
AbleBaconwhat urge would possess you to make something as evil as a tree of tables?
AbleBaconi understand the desire to do something to see if it can be done, but us mortals should not meddle in the workings of sorcery
patientplatypusI'm making dnd in sql
GeDaMoYou might want to look up Common Table Expressions
rindolfpatientplatypus: the game?
patientplatypusyeah
rindolfpatientplatypus: ah
patientplatypusits a challenging problem
AbleBaconLOL I'm picturing players taking their turns by submitting database queries with their requests
patientplatypusbut it would be useful to be able to use a tree structure
patientplatypusI'm just making the game sheet
GeDaMoThere's at least one game like that
patientplatypusif i get that working that would be a hat trick
rindolfpatientplatypus: you can encode trees using a table or two
patientplatypushmmm
AbleBaconADD "MOVE, 1" TO TABLE "MOVE_QUEUE_$PLAYER_NAME"
GeDaMoAbleBacon: https://schemaverse.com/
AbleBaconi always feel like SQL people are screaming
patientplatypusAHHHHH
AbleBacon"Compete against other players using raw SQL commands to command your fleet." picard never had to do this
rindolfpatientplatypus: https://duckduckgo.com/?q=sql+tree&ia=qa
AbleBacon"CAPTAIN, we've lost control of our primary command instruments! all commands to the ship will have to be issued via MICROSOFT sql queries"
AbleBacon"... number one, give the order to abandon ship."
rindolfAbleBacon: heh
patientplatypusi may just use lots of tables without the tree - looks overly complicated
rindolfpatientplatypus: what?
GeDaMoWhy do you need trees of tables?
patientplatypusoh well....i was thinking trees but it just looks like this would be sort of sucky
Myrl-sakiAbleBacon: I'd be screaming too if I had to write SQL for a living.
rindolfpatientplatypus: every purpose should have a single table
AbleBacon"you adopted capslock for internet arguments... i was born with capslock"
GeDaMoI remember computers before lowercase was invented :P
CashDash123How is a game like flappy bird ported to so many systems?
CashDash123I mean what makes it so easy to port?
CashDash123I mean it's been ported to the snes,gba,etc
AbleBacon"captain, our systems are down! we can only match enemy ships for targeting using regex!" "... number one, issue the command ".*"" "but sir there are civi-" "i give up"
jrslepakCashDash123: how complex is the game itself?
CashDash123no very jrslepak but how was the source code obtained or was it reverse engineered?
AbleBaconCashDash123, the logic behind the game is very simple. if it was written in, say, C++ there's probably a C++ compiler for all of those systems. the only thing that would change really is how to display the graphics
AbleBaconah--birds were the key to the game's breakthrough into success i see
AbleBaconunless the birds are just a RED HERRING!
AbleBaconwait--is a herring a fish?
AbleBaconor a bird?
wedr_Yeah, the Inverse Laws of Game Design, the shorter the jump distance, the more popular it gets via word of mouth
CashDash123AbleBacon, the addiction of beating a high score lead to its popularity
wedr_herring is a fish yes
wedr_a type of tuna
rindolfAbleBacon: heh
wedr_salmon, not tuna
AbleBaconthen we need to invent "flappy herring"
AbleBaconavoid sharks and other sea creatures idk
wedr_For a warning, I think it's called red harring.
wedr_Or haerring
AbleBaconno, "red flag" is a warning. "red herring" is something that distracts you from the real thing
AbleBaconshoot i don't know any more
wedr_red herring is a fish.
wedr_:/
wedr_red Sirens, maybe?
jrslepakit's also an idiom whose meaning is as AbleBacon described
wedr_In Norse mythology, Sirens are blue.
wedr_Or was it Greek?
wedr_So red Sirens is like the shiny Pokemon that distracts you in real life.
AbleBaconall those poor kids getting hit by cars looking at their phones hunting for pokemon
wedr_True, Pokemon Go caused kids to get hit more often
jrslepakthe best solution is to play it on the bus :-P
AbleBaconyou don't want to go on the bus in America
AbleBaconit is not a nice place
jrslepakI was just there a few hours ago
GeDaMoDoes America only have one bus? :|
jrslepakhaha
jrslepakit seems that way some evenings
CashDash123Leads me to question of how were games ported back in the day when you would have to downgrade a game to run on a system?
GeDaMoA lot of hard work
CashDash123kinda like how lets say you have developed a dreamcast game while also having a Linux and windows port
CashDash123how does that work or even in reverse
GeDaMoThe game engine may have to be partly rewritten but the content (graphics etc.) should be reusable
CashDash123I mean I was thinking in a similar vain to Elysian Shadows which I'm pretty sure was designed around the dreamcast
CashDash123Which was tweaked most likely
CashDash123that or I may also get an Idea by reading quora
GeDaMoHmmm ... there's a #dreamcastdev channel
horny-samaGeDaMo: I thought dreamcast was stuff before I was born. Surprised that people still dev for it
GeDaMoThere's a also an #elysian_shadows channel but only one person in it
GeDaMoPeople still develop for a lot of old systems
CashDash123It's been chronicled on youtube since they were in high school in 2007
CashDash123horny-sama, The Dreamcast due to it's discontinuation date makes it more common to have a system without protection from playing burned cdr's though it's bad for the laser
AbleBacon"bad for the laser"--a likely story
patientplatypusOK
patientplatypusI'm confused
CashDash123AbleBacon, well it was designed for GD-ROM
AbleBaconhow could it damage the laser, though?
AbleBaconlasers don't have any moving parts!
patientplatypusso here's my question: if i have a table with a, b, c, d, e and I want each of those 5 letters to reference 5 different tables A, B, C, D, E how would I do this in postgresql? I can link tables by foreign/primary key but I cant see how they actually reference the value its linking to
patientplatypusso
GeDaMoWhy do you have 5 different tables?
patientplatypusin dnd you have paladin, fighter, etc. I want each of those items to link to a table that contains their statistics. So one table with class names, several linked tables with different statistics
grouseGeDaMo, gotta have redundant table in case bobby drops them ;)
GeDaMoWhy can't this be in one table?
AbleBaconall classes have strength, intelligence, etc. you should have one table for shared characteristics of all classes
patientplatypusbecause each class is entirely different from another
AbleBaconoh i see what you're saying
patientplatypuswell like wizard and fighter are so different that the tables need to be totally separate
patientplatypusthe way sql seems to want to work is that it just replicates tables in a single customer/many purchases type pattern
patientplatypusdoes anyone have any suggestions? I'm totally lost and have been staring at this for a while
GeDaMoI'm having difficulty visualising your DB structure
patientplatypusso one table for classes (fighter, wizard, etc)
patientplatypuseach class will have its one table - fighter table, wizard table, paladin table
patientplatypuswith their own special statistics on each
GeDaMoWhat fields do these tables have?
patientplatypuseach table will have entirely different fields (this is the problem- if they were similar it would not be an issue). so fighter has swords and fighting, and wizard would have spells etc
patientplatypusi need what is essentially some sort of tree/json like hierarchy but in sql
patientplatypusltree seems very confusing
patientplatypuswhat do you mean beaky?
GeDaMoWhat do these tables represent? Are they like D&D character sheets?
horny-samaCashDash123: gd-rom?
GeDaMoYeah, IRC will do that to you :|
CashDash123horny-sama, It was Sega's specialized cd I think the reason the burned cd exploit had to do something with an exploit with the mil-cd format
CashDash123though
horny-samaIs it safe to assume that gd-rom is out of production
CashDash123https://en.wikipedia.org/wiki/GD-ROM horny-sama
horny-samaCashDash123: did not say if it is out of production or not
CashDash123I don't think anyone can press there games to GD-Rom any more.
CashDash123I don't actually even own a dreamcast I just learned a bit about it
CashDash123long ago
horny-samagood luck with whatever you are doing
horny-samasounds cool
CashDash123I figured it out hombre is pressed to mil-cd's
xenowhy would anyone wanna press things onto GD-Ros any more?
xenoor why am I asking?
CashDash123don't quote me on that
CashDash123quote
horny-samaxeno: I think CashDash123 is doing some dreamcast dev
CashDash123horny-sama, I'm not
horny-samaCashDash123: so just quest for knowledge?
xenohorny-sama: yeah, but why?
CashDash123It would just be a good place to get an Idea of how a game is ported
xenohorny-sama: it's like the worst waste of time
horny-samaxeno: different people have different hobby
xenoyeah I know
AbleBaconoh no... we're resorting to "scrum" meetings every morning. things must be getting really desperate.
CashDash123I mean how games are made for old consoles really is interesting
horny-samaAbleBacon: ?
AbleBaconat my work
AbleBaconand they pay me and all i have to do is not die
GeDaMohttps://upload.wikimedia.org/wikipedia/commons/b/bd/Scrum-1.JPG
horny-samaAbleBacon: in other words, you are their basic bitch
CashDash123horny-sama, You could say that,and I really wanted a dreamcast a long time ago
AbleBaconit's not a giant wrestling orgy; it's a management technique
GeDaMoWhy not both? :D
horny-samaAbleBacon: just hope you made your fuck you money soon so you can quit
horny-samalol
RouninAbleBacon: Your team just needs to move their organization to Sloth® so that all of their personal data can be sold to advertisers
RouninThen you'll be truly efficient
RouninAnd of course SourceHubâ„¢ to organize your Packer images
Channel##programming
NetworkFreenode
Published2017-10-12