« first day (1506 days earlier)      last day (3511 days later) » 

12:00 AM
This is my first "real" project and it just got waaaay complicated really quick
 
@ChristianFrantz most people experience this, take it as a massive learning experience.
Finding anything specific difficult?
 
I've made pong and tetris and space invaders so I have 2D down pretty good I think
Im working on an inventory system right now. Its going better than I thought it would
 
source control is nice for even small projects. I was wondering if you have taken a look at git as a VCS
 
No but I've heard of it. I just tried tortise first and it seemed easier
 
@AttackingHobo I prefer git, but I've found SVN to be perfectly fine for projects of all scales too. Plus, TortoiseSVN has such a nice interface...
 
12:03 AM
@OMGtechy Source Tree is nicer IMO
@ChristianFrantz they are both nice, but git will teach you better habits, and git is much more robust when it comes to recovering something in an emergency
 
@AttackingHobo I also use SourceTree, but it's still nice to have something as a shell extention
I think the fact he's using source control at all is a damn good step
 
@OMGtechy when it works right. SVN has bitten me
yeah. no doubt
 
I've not had the bite yet, but then git has bitten me too. It's all about needs and what works best with you.
 
All I wanted was a program where I could save my project every day after I was done and if I needed to look back at a previous version I could do that easily. There have been many times where I deleted a whole function or class that I needed but forgot how I wrote it
 
git did when I was first starting and was doing some offline stuff, other than that, its been awesome
@ChristianFrantz just make sure you have a good svn server with backups
Look into branching and figure out something you like
 
12:06 AM
I dont use anything online since I'm usually on the water in the middle of nowhere with no phone signal
 
ah.
You really should look into git then
 
If you want offline commits, use git
 
What different about it?
 
Its full distributed. meaning you can do nearly everything without a connection to a server
and there are tons of free git hosts online
 
beats SVN hands down if you're going to be offliine frequently
It's far easier to find a free git host than SVN
 
12:07 AM
Oh nifty. Ill try it out
 
Bitbucket has free repos public and private
private with like 5(?) people
with svn its kind of easy to nuke your entire repo
with git it takes some effort to do so. and if one person has a unupdated copy of the repo. you could restore the entire thing from one copy
 
Is git any harder to set up?
 
It can be. But it can be simple if you use something like source tree
the command line is a bit strange and the naming conventions are wierd
 
I hate using command line stuff for some reason
 
Yeah. Source Tree is a GUI
@ChristianFrantz make a bitbucket account, and download source tree
super easy to get started from there
they have little guides to gets started
 
12:11 AM
Github is nice if you like minimalistic too
the application that is, not the site
 
bitbucket has free private repos
and I greatly prefer sourcetree to githubs deal
 
Whats bitbucket?
 
its a git repo hoster
 
And mercurururuurical or whatever it's called
 
"hg"
 
12:13 AM
so bitbucket would just be used if I wanted to backup my project on a server
 
@ChristianFrantz well...this comes with source control. If you don't back it up somewhere, you're not using source control really.
It's one of the basic features of any source control solution
 
Makes sense. Better safe than sorry
 
Hey guys
Hi OMG
Hey do u have a TI-Nspire calulator?
 
I prefer git over svn
but either is better than none
 
@TheMuffinCoder whaa?
 
12:17 AM
graphing calculator?
 
if my download speed was faster than 10 kbps I could actually do something lol
 
@ChristianFrantz no seriously, if yo're not backing it up you're NOT using source control. It's like a text editor with no keyboard input.
 
either way i was trying to download linux on it....
i just ran into a small problem
It tells me to compile the kernel on the computer but am not sure if i have to do while using linux or windows
 
Cross compilation?
 
12:19 AM
I'd compile it on linux personally
 
oops wrong one
export ARCH=arm
make nspire_defconfig
make -j
cp arch/arm/boot/zImage /path/to/folder/zImage.tns
am pretty sure thats linux
 
that is cross compilation
that is linux yes
although you can emulate bash in Windows FYI
 
thank you for the FYI
or i could switch to my other computer that has ubuntu
 
it would be better yes
 
so for this startup thing it says clone my first repo and choose destination path. Is that my project folder?
oh wow never mind
wait I lied. still confused
 
12:23 AM
actually i think i just messed up my calculator
 
@TheMuffinCoder easily done
 
it wont boot :(
 
Pip
@OMGtechy mhm
 
Well time to try to reset it
 
@ChristianFrantz it's like checkout
they have an easy to follow tutorial on it
 
12:23 AM
Good thing i have 2 graphing calculators
 
Pip
I use git bash all the time, about the same amount as MS DOS
 
@Pip mm hmmmmm
 
Pip
mmmmmhmmmmmm
:)
 
whoo my weekend starts now :D
 
12:27 AM
What is this weekend you speak of
 
it's the days where I do homework instead of going to school or doing work I get paid for
actually it's the days where I play EVE and LoL more than other days
wonder if the archeage queues have been tamed yet...
 
Night time is the closest I get to a weekend now
So much going on
 
Pip
:(
My weekend starts at the end of the school day tomorrow
 
School is like a continuous weekend anyway
easiest time of your life ever
believe me
 
Pip
I have an AP CS test tomorrow.... I would study but I learned mastered all of the topics about three weeks ago
 
12:30 AM
Want a test?
 
Pip
Not that I knew them before that or anything.... *cough*
@OMGtechy uh, if it is pretty short, sure
got some homework to do still for Honors Biology
 
What're the subjects on this test?
 
Pip
strings, if statements, De Morgan's Law, while/for loop tracing and syntax
 
well i actually think i really bricked my calculator pretty badly\
 
@TheMuffinCoder this is the danger you face
 
12:32 AM
?
 
@Pip what language?
 
Pip
Java
 
@TheMuffinCoder it's like when you jailbreak iphones, you can brick them
Urghh.
 
@OMGtechy so am using the incorrect term?
 
@TheMuffinCoder not at all
 
Pip
12:33 AM
@OMGtechy Urghh!
 
"bricking" a device is when you make it about as useful as a brick
 
@Pip I had a lovely C++ test for you as well
 
Pip
lol
 
fancy paperweight generation
 
I installed linuxloader and it worked, then i tryed to exit but didnt find out how so i turn it off bad choice for me
 
12:34 AM
old devices slowly turn into bricks with age lol
 
Pip
hey Chris :)
 
hey hey
 
@Pip not sure what this law or tracing thing is
As for the rest, I'm gussing it's stuff you already know well
or even hoping
 
Pip
mhm
 
I suppose the test would be to write a program that reverses a string
That would test most of those things
Bonus points, do not copy the string
 
Pip
12:37 AM
lol
there's our idiotic review paper
 
Why the hell do you need to know about this De Morgan law?
From my quick googling it's just common sense
Not know the formal law terminology will never harm you
OH wow
 
dat comic sans
 
You really don't need much help then
 
Pip
yeah :/
 
@Pip have a go at the reverse a string problem though ;)
 
Pip
12:39 AM
Will :)
 
Without copying the string
I've found that the more constraints I have upon me in a given problem, the better the solution I write
 
Pip
Just take a for loop, loop through the character array starting at str.length() and counting down and add them to a new char array, then convert to string :)
 
@Pip ok, now do it without the other char array
 
Pip
can do it with substrings too :)
any other restrictions?
 
Try and do it in place (i.e. you modify the passed in string, and do no assign another string to it later)
you simply modify the characters of the passed in string, without copying it or similar (i.e. the char array thing)
and without using and Java library methods
 
12:42 AM
Yay I figured it out!! So I just have to commit my changes to save locally and then push to save on the server?
 
@ChristianFrantz yes
Learning++
 
woo! goodbye tortoise
 
:D
 
you were actually using tortoise? D:
 
lol
 
12:44 AM
yes. after this past conversation ive learned it wasnt the best choice
 
Pip
@OMGtechy ooh, challenge accepted
 
I FIXED MY CALCULATOR
 
Only because you're doing a lot offline @ChristianFrantz otherwise it would be fine
 
after reading 23 guides
 
@TheMuffinCoder YES!
@Pip real interview question btw
 
Pip
12:45 AM
nice
 
I've got plenty of those ha
Ranging from super easy to ouch
 
Pip
put 'em in a google doc or something :)
 
one time, for class, my prof wanted us to use tortoise. I gave it about 15 minutes, then just gave up. it was some shitty SVN server that I could just log into and browse the folders, so I just copy/pasted everything to the server manually.
 
@Pip I may do sometime...
 
Pip
I have nothing to do during APCS right now, something challenging would be amazing :)
 
12:46 AM
Hmm, alright
@Pip I've got another one ready for you after you're done then
Just logic, not programming specifically
 
Pip
email it to me? ward.programm3r@gmail.com
 
Another real interview question though
 
Pip
gotta go work on homework atm :)
 
@Pip fair enough, just as about 9 ball problem next time I'm around
 
Pip
kk
 
12:47 AM
I need to think of a few interview problems for later this year, might be bringing in a new dev
so it'd be good to start writing some now
 
lol this is the 3rd day since archeage launched and every still server has a >1h queue just to log in
 
launch time problems
 
better than laggy servers. I just won't bother trying to play until I can log in right away.
 
Indeed. It'll even out eventually
 
1:02 AM
Is there any disadvantage to using the keyword "is' rather than comparing a string to another string? so like if(stuff[i] is paper) do... rather than if(stuff[i].name == "paper")
 
In C#?
 
if you want to compare strings, use ==
is doesn't not have the same use
it doesn't do anything similar
AFAIK
the keyword is is for checking types
 
yeah, you can have a statement like "if (stringVar is int)" which will return false.
unless before that you had "int stringVar = 0;" but that would be silly
 
1:16 AM
heres another buggy piece of code for you
what is happenening is that only one texture is being drawn
if I have two slots occupied, one rock and one twig, only the first will be drawn
if that makes sense
 
is Position different? not overlapping?
 
Position is just the position of the inventory texture
just 5 boxes in a rectangle
itemSlots[i].SlotRectangle = new Rectangle((int)Position.X + i * 64, (int)Position.Y, 64, 64);
thats what a slot rectangle looks like. So i just need to take the position of the inventory texture and add the slot position
 
Pip
1:49 AM
@OMGtechy use .equals() or an equivalent, instead, actually
== checks position in registry
.equals() or .Equals() or whatever (depending on the lang) actually checks the values
In other news: whoot! Finished homework!
And now it's time for bed :/
anyhow, night gamedevs!
 
Hi / Bye Pip!
 
Pip
cya man :)
Btw, add me again on LoL please, for some reason all of my friends got wiped
anyhow, night
 
Well now I know that the textures arent being drawn over each other but thats about it :P
 
2:05 AM
@IcyDefiance you there?
 
aye
just discovered the diplomacy skill. factions that hated me now like me more than factions that actually like me. :D
 
:D
so i need best two of next three for silver
 
and you want me to ruin it all for you? :P
ooh new patch. small one though.
 
yeah
better you than some random moron
:)
 
right, morons you chose yourself are harder to be angry at. :D
 
2:09 AM
hahaha
 
 
2 hours later…
3:50 AM
geeez some of these questions people ask :)
Hiya Frantz :)
 
4:32 AM
sigh the answers some people pick to questions... mine was by far and away more correct since the demo code the OP posted was like at least 5 years out of date and once you boiled out all the outdated crap from a programmer that didn't know C#, the entire method boiled down to 2 lines of code
no matter -- just another idiot copying code without any understanding
I'm off to bed :)
 
4:53 AM
DEADPOOL Movie Gets a February 2016 Release Date! hollywoodreporter.com/news/x-men-spinoff-deadpool-gets-734172
fuck yeah :D
 
 
3 hours later…
7:38 AM
Morning
 
8:13 AM
Morning
 
8:26 AM
morning
 
 
2 hours later…
Jon
10:38 AM
morning
 
I haven't seen any drama here this week - did I just miss it?
 
11:09 AM
There wasn't any real drama as far as I know
There were some good conversations about sexism in gaming and religious extremism, but those didn't generate much drama.
 
I've seen those - yes, interesting indeed
 
Jon
11:25 AM
anyone got anything cool to share
 
6
Q: Array-like container for uints shorter than 8 bits (Rev 1)

ChristophThis is a follow-up to Array-like container for uints shorter than 8 bits In short: The PackedBitfieldArray should be a kind of container for packed (unsigned) ints shorter than 8 bits. It provides proxy objects for manipulation and iterators. What I have changed: PackedBitfieldArray::end() n...

so - No.
 
Jon
anyone else hear about the mario bros 3 sequel
 
11:43 AM
@Christoph For me: Too busy dealing with GamerGate and associated fallout outside of SE. Last weeks were busy trying to get 4chan to not explode, now that moot himself seem to be content with open war breaking out, I'm mostly recuperating and making sure to stay away from the more militant 4channers.
 
@MartinSojka huh!?
 
@Christoph Which part exactly is news to you?
.. because #GamerGate is in week 5 or so ...
 
@MartinSojka I wasn't asking for news in the first place, I simply don't know why you addressed that to me
enlighten me please!
 
@Christoph You said you missed drama in here. I explained why there wasn't any from me; I was busy dealing with huge drama someplace else. :)
 
@Christoph You asked about drama =p
Damnit ninja!
 
11:47 AM
oooooh now I get it
I wrote "missed" as in "I didn't notice any", or "I didn't see any"
not as in "gimme drama plx otherwise my whole week here in chat was a waste of time"
 
Jon
2
 
@Christoph FEED ME MOAR DRAMA!
 
YOU IZ TYDRAMASAURS RX!? RLY?
 
Jon
Everyone on reddit is discussing how this is cool
lol... they posted like 5 different videos since 2011
"We dissapeared, but now we are back!"
 
user92578
12:11 PM
Hey!
 
hi there, I have a question about ECS
is it legitimate for a component to contain a system on itself, to follow a command pattern?
 
hey @Tyyppi_77
 
user92578
@MLProgrammer-CiM If your components also include logic, and not just data, I don't see why not.
 
for example, I have my Entity game, which has a phase component, which on itself contains an ordered list of systems to be processed sequentially
Components shouldn't include logic, that's the point
 
@MLProgrammer-CiM so, you'd have a system that loops through each phase components which loops through each system?
 
12:13 PM
yes
 
That's not a good thing in my opinion
I'd really try to avoid that
 
I don't believe so either
an alternative would be components having a Message to pass a bus/handler, that's the one who executes the system
 
user92578
The one time I answer something, I'm wrong :D
 
@MLProgrammer-CiM ECS often have message systems as well to help in decoupling
 
yes, it seems like the best answer
my concern is that at the end of the day I still need a god class that contains all systems etc
where I'm trying to move the gameloop into systems instead
so the gameloop is configurable
 
12:16 PM
Eeh I have the gameloop run the systems
(Where systems is an array of ISystems)
 
while(true) { for each sys:System in systems { sys.run(); } }
 
yes, and that's the expected answer most of the time
but I should have specified that I'm trying to build a framework where to build cardgames on top, rather than an specific one where the phases are known beforehand
specific *ruleset/game
the idea came from that Hearthstore AI talk on gamasutra, where they mentioned this approach that also allowed them to create gamemodes on the fly
 
I'd be interested in reading that article if you have a link somewhere :)
 
I've been rummaging through other opensource card game imps like Forge (MTG) or Androminion (Dominion) but none is ECS and are very coupled
 
But I'll be back in a bit, lunchbreak time
 
12:19 PM
www.gamasutra.com/view/news/224101/Video_Building_the_AI_for_Hearthstone.php
 
user92578
Nothing like friday, a cup of coffee and game dev :)
 
12:43 PM
@MLProgrammer-CiM Aha, another programmer trying to make a card game! (or in your case, a framework for card games)
How's your progress?
 
3 hours in so far, refreshing some repos I've been visiting for yars like the ones mentioned above
some of the code and classes are kind of reusable, but the archi has to be different
 
Cool. Let me tell you, properly programming a card game is a giant pain, assuming it's MtG/HS-style.
 
Already decided to go with Artemis-odb but I'm looking into buses now.
probably
thing is, I've already made a couple of turn-based game prototypes under the same principles
start of turn, end of turn, on action, skillset, etc...
all loaded from scripts
 
Yeah, I've also done some prototypes but the code really becomes a giant mess once I really get going. :(
 
so I expect an equally nice exercise here too, minus the board calculations
 
12:47 PM
Anyway, gtg. Bye! :)
 
probably, it's just for weekend fun anyway
 
Jon
sounds like my kind of weekend
i made a card game once
 
1:04 PM
@Jon I wonder how many card game engines like hearthstone could build such a game easily
It's so completely different
 
Jon
lol yeah this game was made in a few hours
 
That, and a card game with the common deck of cards is a completely different beast from a card game like hearthstone/whatever. I don't think many of them would easily support comparisons like "Is this card one less in value but of the same suit"
 
Jon
1:19 PM
you are the one comparing
 
@KevinvanderVelden As opposed to "Is this card of the required type" or "How do the attack/defence values compare"? :)
 
Joe
still though something like that... OOP and all the bits practically melt like butter
salivating just thinking about coding it
 
I particularly like card like the MtG "Graphic Violence" one, since they remind you as game designer to allow for filters/triggers/comparisons with everything.
(Ok, it's from Unhinged, so that kind of craziness is to be expected ;))
 
1:35 PM
The state of MTGO also reminds tou to be very careful about how you implement things.
(MTGO = Magic the Gatherig Online)
 
elaborate
sounds interesting
 
Basically MTGO is really buggy. I've not used it myself so I'm not sure how bad it is, but they take an extremely long time to fix bugs because changing anything immediately breaks a bunch of other things.
 
... and the MtG crowd being the autistic (in a good sense!) crowd that it is, they obviously spot (and exploit, I guess) most of the bugs within hours.
 
The only reason it can still make money is because of the popularity of MtG, not because the program is good.
 
interesting
thanks for the additional info
:)
 
1:41 PM
:)
 
new apostrophe fuckup. wonder if it will become common "if you wan't to save answers."
 
Duels of the Plainswalkers wasn't too buggy but they massively restricted the card pool and hence the combinations
 
@TimB Yep, it's primarily a way for them to get more players into the other versions (MTGO & paper). I imagine the restricted card pool greatly reduces bug-sensitivity as well.
 
Has any of you guys tried looking into Magarena? they have all this shenanigans already sorted with an AI capable of playing up to 14k cards
 
but are the card interactions as complex? I suspect you will say yes :)
 
1:53 PM
there are different degrees of interaction but yes, more difficult than Hearthstone for sure
most creatures can be defined by their stats: hp, attack, keywords
 
Hearthstone seems to be very careful about what it puts in
 
and spells range from boring draw three cards to split a player's creatures in two stacks and kill one of them
I haven't played but apparently it is. Strictly no inter-turn player interactions
so the whole counterspell playstyle is gone, but that makes it very AI happy and async on hpones/tablets
 
Joe
@Lokkij i imagine they are making a killing, game is bigger than its ever been and growing
 
check the cards magarena can't do, and their reason github.com/magarena/magarena/blob/master/cards/…
 
@Joe Yep. You'd think they could create a more solid program with all that money though.
 
Joe
1:58 PM
your totally right, the software sucks
but i think they sort of threw a littl bit of cash at it 10 years ago
and now they are stuck with a successful product and 10 years of poor planning
 
weeks of programming can save you hours of planning
14
 
Joe
lol
last day on the job... oh man
 
@Almo but you should note that sometimes, minutes of programming too might save you hours of planning.
 
not on average
the amount of time I have spent fixing shit that wasn't planned well is ridiculous
I'm doing a 2 week refactor of an achievement system right now because the original was so bad, it couldn't even be patched.
since I'm doing the refactor, the mandate widened to make it a generic system other projects can use, but it still would have been postponed to another project if we didn't need it working now
 
Joe
2:28 PM
its kind of crazy, but working with alot of smaller clients for web and mobile stuff
and no one has the budget to do things "right"
@Almo just setting myself and them up for this ^
 
I have to passionately agree with almo
 
@Joe heh yeah
 
Yeah, programming without planning is like driving blindfolded
I am starting to come to work early to beat traffic
I had a 50 minute commute for 12 miles of nearly all highway on Wed and I was like "never again"
 
LOL my blindfold is permanently attached... code plans rarely survive contact with the real world :)
 
2:43 PM
err you adjust the plans when the world changes
if there is construction on a street and a new road is added you don't pull down your blindfold when driving that new road, do you?
 
Joe
LOL my coworkers made me a card on my last day
incoming pic
 
Running over the construction workers is much more fun :)
seriously -- I've been doing a lot of planning for this engine we are working on, but at this stage I'm keeping it pretty general except in the few places where I have knowledge of potential implementation strategies from other engines... deep planning doesn't happen until about 5 minutes before I start typing :)
 
Joe
lol
 
hahah :D
 
shall I crack the bullwhip to get you moving ??
 
Joe
2:52 PM
maybe so lol
 
user92578
Which is memory-wise better: std::vector::reserve() with a too big number, or no reserve?
 
let vector deal with it
don't reserve, unless you know how big it needs to be already
 
user92578
Okay
 
but you can get performance issues when it resizes itself
 

« first day (1506 days earlier)      last day (3511 days later) »