« first day (1863 days earlier)      last day (3454 days later) » 
01:00 - 18:0018:00 - 00:00

01:27
Hi.
user4704
Hi.
07:08
Going over the ++i and i++ operator is apparently very, very, very hard -.-
user92578
07:35
Hi guys
Hi Tyyp. Feeling better?
user92578
Yeah, a lot better
user92578
I've been kinda isolated from internet and news for a few days
user92578
Didn't dev, didn't open Facebook, didn't open the curtains
user92578
07:37
Now I'm like week behind on school and dev stuff... but I'll just spend the weekend doing as much school stuff as I have the power to do
Yeah.. Good idea
What did u do instead? Just stayed in bed?
user92578
Watched stupid reality tv
Ahaha so basically tortured yourself? :P
user92578
lol
user92578
Am I allowed to use images from Wikipedia in my presentations?
user92578
07:40
I'm not going to do much school stuff today, but I just need to quickly change an image in my presentation
In high school (or at least in mine) you can use any image without citing the source
And wikipedia releases all its images into public domain IIRC
user92578
hmm I think the wikipedia page says "Fair use"
user92578
Okay, that's done now
user92578
So what has happened in here?
Yes. Wiki is public domain
I had a struggle with my school's programming assignment system yesterday
Me, Jon, Pip and Muffin decided to collaborate on UE4
Ali released an app
user92578
07:49
oh right yeah I betatested it for him
I think that's it :P
Ooh yeah, UE4 jam this weekend
Ooh, we'll be taught pointers next week.
Woooh!
Also, hi chat
user92578
07:52
Hi Kev
@Lokkij We will be taught about classes next week(woooh......)
Exciting!
Very >.>
We're going through it quite quickly
I would be a little overwhelmed if I couldn't program already
I wish we did the same. What language are you in?
07:54
C
user92578
Ugh
You?
Java
Wish it was C though
Sadly you're not required to take C or C++
You can though?
Yeah
and I will
But I feel like low-level languages should be required for computer science class
07:56
Right
If you're doing CS it does seem a bit weird to not be taught C/C++
Yeah exactly
08:18
@Jon oh btw i forgot to mention yesterday, thanks for the tips on the screen managing, pointed me in the right direction
user92578
08:59
Ugh I can't decide on a good architecture for placing dynamic entities
user92578
I would eventually need some sort of property editor for them
user92578
Health, damage and other cool stuff
user92578
So I'd need flexibility for that
user92578
then I need to be able to just switch to the test mode and let the entities move and update
user92578
but once I switch back to edit mode, I'd need them to flip back to their original positions
user92578
09:00
Maybe I should nail the property editor first
user92578
programming something like that doesn't seem too pleasant tough...
user92578
hmm
user92578
09:39
I think my headset broke finally
user92578
The plastic part of the wire broke like a month ago
user92578
It's been cutting off my left ear sound randomly since
user92578
I can see broken wires
Jon
Jon
@RhysW np
@Tyyppi_77 solder them back together
user92578
09:54
I don't think I can do that
user92578
A) I can't sold (is that the verb???)
user92578
B) They're really small wires
Jon
Jon
it doesn't take a rocket scientist to solder
heat up wire, drop lead
connect wire to molten lead before it cools
user92578
well true
@Tyyppi_77 to solder is the verb
user92578
09:55
ah
user92578
thanks
user92578
it looks quite broken
user92578
won't soldering connect wrong wires to wrong ones?
Jon
Jon
i fix stuff like that all the time
not if you do it right, lol
user92578
it's broken right at the edge between the wire and the volume control "block"
Jon
Jon
09:58
might have to use some scrap wire
user92578
not a big surprise
Jon
Jon
shave off some of the packaging on that volume control
user92578
one part bends, and the other doesn't
user92578
what do you get?
user92578
a broken part
user92578
09:58
fuck ghost recon phantoms wont start
Jon
Jon
metal gear solid phantom
user92578
im still a bit too sick for effecient programming
user92578
but now the one game id like to play wont start
Jon
Jon
efficient
user92578
oh there are all sorts of broken wires
user92578
10:00
broken red wires
user92578
broken copper-color wiresd
user92578
broken blue wires
user92578
broken green wires
user92578
or maybe that's just one turquoise colored wire
user92578
but yeah, the game says that it's the wrong version
user92578
10:01
I already reinstalled it
user92578
ubisoft at it again
Jon
Jon
Ubisoft, where the games are built around DRM
user92578
fuck this
user92578
I mean
user92578
if re-installing still gives me the wrong version
user92578
10:20
I guess I should get on to the programming...
user92578
But I'm totally in a procrastination mood
I'm always in a procrastination mood
user92578
I just don't want to jump into a big new feature while my thinking might not be at 100%
Man I looove (web)comics with a really cinematic style
user92578
10:37
After the level editor is done I really gotta start de-broforcing the game
user92578
11:00
Thoughts on a new roof?
user92578
Jon
Jon
Microsoft is probably gonna get sued
A lot of people that never reserved windows 10 -- have been getting Windows 10 install files silently without consent
Some people, it made them go over their data caps
Costing them money
Force Updates, they can possibly fight that as their case would be "to secure PCs" -- But this forced windows 10 install file thing is gonna bite them in the ass.
Pip
Pip
11:23
morning
user92578
hi
@Pip Morning!
@Jon Microsoft is getting greedy
There's a fucking cat trying to commit suicide at my college.. It tries to open up the window from the top floor -.- Noisy as fuck
2
12:16
Adds exclamation mark to "Hello World"
Fails the test
user92578
wtf
user92578
Hello World is supposed to be with an exclamation mark
Well.. That is a true story..
our teacher had a surprise test for us today to check how much we where paying attention. Those who did less that 50% have to do a quite long assignment over the weekend.
My friend failed because the system didn't accept "Hello World!"
Jon
Jon
12:45
can't he follow simple instructions, gosh!!!
you can get the witcher 2 for $3 right now
user92578
FUCK
user92578
I just made this really nice test level
user92578
forgot to save
user92578
the nice thing is, that already now the level editor allows for really quick iteration
12:59
@Jon plays awesome too
Jon
Jon
you bought it?
have had parts of it for a while, when it was first being announced
user92578
Added these thin platforms to the editor:
user92578
@Tyyppi_77 Add moss or something hanging from them
13:47
@Jon You around?
Jon
Jon
I'm a little round
Do you know how i can convert a number into a string which takes up 2 chars? So if the number is 5 the string will be 05 but if the number is 12, the the string will be 12 as well
I have found a bug in VC++ :D
I don't know why I'm happy about it
Jon
Jon
ToString("D2") I think
Nailed it! Thx :)
Jon
Jon
13:50
np
hey
:)
Joe
Joe
good morning GDSE
hey joe
Joe
Joe
If anyone deals with VMs or dev ops, I attended a very cool talk / meetup on Puppet "Coding your Infrastructure" and the tool is very cool
I've read good things about it
Joe
Joe
14:02
I use vagrant a lot and have been putting together hackish solutions to try and eliminate disparity
little did I know Vagrant natively supports puppet and its super easy and awesome to get a manifest going
Joe
Joe
well in any case, thats my fancy find of the week
user92578
@Hjorthenify Might work, I'll see, thanks
@Don'tclickonmyprofile too bad it doesn't also illustrate VSync
and you always get a pedant who says "NTSC is 30 frames per sec but 60 fields"
well, a field is full screen half res, and if the engine updates between fields, it doesn't matter if it's 30 "frames" it's still 60 updates
and each NTSC "frame" will be composed of two fields made at different "times" in the engine, so it's effectively 60 FPS anyway
Joe
Joe
14:18
i play at 180fps... because i have 3 monitors... owned
if i surround myself with 6 monitors i could play 360 degress at 360fps? mind blown
wonders if he could rig an xbox 360 to push 6 monitors #justsayin
user92578
@Joe nice
user92578
the monitor count I mean
@Don'tclickonmyprofile I was doing some testing in a little thing i made the other day, 5300 FPS
Joe
Joe
eh its hackish... im constantly struggling trying to standardize
user92578
So how's this? (the thing that the player is standing on)
user92578
14:25
@Tyyppi_77 looks good! A little repetitive though, maybe some plain some mossy?
user92578
Yeah I'll surely add atleast one variation tile
i really like your art style
user92578
thanks
user92578
One day I might have to redo most of it
user92578
14:27
It looks a lot like Broforce as it stands
it seems familiar yet different
user92578
But thanks a lot, hearing that really makes me trust myself more
no problem, i've got used to looking at my own stuff which really pales in comparison, lots of block colours as placeholders for well everything
What are you creating Rhys?
at the moment? A mess
14:34
Hahah
user92578
Yeah already one tile makes a big difference. I'll probably add another one just for the sake of it:
user92578
not got any particular project being worked on right now, picking up some new things, working through some tutorials / guides to get a feel for it, so lots of pong clones etc
Ah cool
Joe
Joe
@Tyyppi_77 much better
user92578
14:35
Maybe I should tone down the moss a bit
user92578
So reveal a bit more of the wooden platform behind
Pong/breakout clones are awesome when learning a new technology
yeah, just getting started now with some of the 3d stuff, having fun
I'm making a breakout clone: 45.55.231.155
I still have to optimize it for mobile, but I'm almost done with it.
'Just let me play' lol love it
user92578
14:38
Nice work Jovito
thanks :)
Joe
Joe
@Jovito looking cool! you should start the game with a random angle on the incoming ball
user92578
C++ masters around?
I like the backing music, repetetive but not annoying
@Joe That's the classic way, right?
Joe
Joe
14:39
classic way i think you start with the ball on the paddle? and press to hit it?
user92578
If A has a virtual destructor, and B inherits from A, but doesn't have destructor declared virtual, and if C then inherits B, does B's destructor get called?
Joe
Joe
we should look into that
@Joe 45 degree angle onto the paddle from the right to the left seems to be the typical manner.
I meant classic as in the original game.
I think the ball came at a random angle.
I'm not sure though.
Joe
Joe
i think to me the method is irrelevant, but the desire is to have more variation in that start
14:41
@RhysW I still have to fix the sfx.
hmm youve made me doubt what i remember now
Joe
Joe
i could start this up and AFK
come back and still be safe on my first life
@Jovito can i make a graphical suggestion?
@Joe Yeah the game pauses when the tab becomes 'inactive'.
@RhysW Sure
user92578
Or you could also make the ball bounce from the corners of stone
14:42
You can also pause it by pressing enter.
Joe
Joe
@Jovito oh what i mean is it starts for me at a perfect 90 degree perpendicular to the paddle
so unless I move i will never die
i feel like the default state needs to be... move or die
@Joe You will if the time runs out.
at the moment all tiles still in the level all go to their 'shiny' animation at the same time, and it's a little weird on the eyes. Maybe offset them from eachother a bit? So all the purple ones are at the same time, blues at the same time ect? not sure if what you have at the moment was intentional
I could delay the tiles to make an 'ola' type of animation.
but other than that nice work! I sucked at it and failed the frist level though :(
14:45
There's a gui that only shows on mobile, but the perfomance is not great.
@RhysW cool, thanks
There's a runtime error in my code and it(the codechecker) wont tell me which or what the inputs are :(
Been running a fuzz test the past 5 min, but no error -.-
@Joe Puppet is super cool.
Joe
Joe
yes it is! I've had a few dev environment setup scripts but... apparently I've been doing it wrong
Jon
Jon
pimp mobile
15:11
hahah jon
@Jon do you play often?
Jon
Jon
depends on what you consider often
play a couple matches a day
user92578
So I had this cool idea of a transition where the screen is first filled with black, and then small grid pieces start to fade off
user92578
Turns out it looks just awfull
user92578
user92578
15:28
So first the screen is faded to black with a simple fade transition
user92578
And then that happens
user92578
Oh now that I look at that I should probably remove the publish button as it doesn't work
I may have found a desktop image I'd like to use
user92578
Kinda cool
I love the donuts that always show up because of Officer Vi's official art:
she's holding a donut in her massive glove, Officer Cait's in back with a box of donuts, and that's jinx lounging in the hole of the donut shop sign
Also like this comic
user92578
15:43
hmm
user92578
I should probably stop executing brushes every frame
user92578
15:58
UNDO WORKS
user92578
hold on, i'll make a gif
user92578
user92578
There's no redo
MUST HAVE REDO
;)
lookin good dude
user92578
thanks
user92578
16:00
and
user92578
i guess...
user92578
:D
I read all that and then switch to twitter and I see this: twitter.com/VisualStudio/status/642367008735150080
how fitting is that
everyone are buzzing about redos
user92578
LOL
user92578
So how would one implement the redo thing?
user92578
16:03
Currently I use the command pattern and a stack for the undo
how did you implement undo?
user4704
The opposite of that. ^
user92578
So each brush has an Execute() and an Undo() method
user4704
Whenever you put something on your undo stack, put the inverse on your redo stack.
put stuff in the redo stack and everytime you do something else than undo clear the stack
user92578
16:03
Ah
user92578
fuck I'm starting to run out of F<something> keys
user92578
I'm actually really proud of myself that I planned ahead and included the command pattern
well you have alt and shift still, right?
user92578
true
user92578
but F1-4 are for my editor button hotkey
16:06
hi @Lasse
user92578
F5 toggles debug data
hi
user92578
then F9 is for console
user92578
F10 reloads the content
user92578
well I guess not that many
user92578
16:08
Wait
user92578
I need to push the things I redo back to the other stack, right?
back in the undo stack, of course
user92578
Oookay
user4704
Once you have undo, redo should be pretty trivial.
user4704
There are one or two little behavioral edge cases related to when you clear what stack... but the fundamental tech is the same.
user92578
16:12
So the current approach is: When the mouse is moved to a new tile, a brush is executed and pushed to the undo stack
user92578
When undo keys are pressed, the brush is undoed and moved to the redo stack
user92578
And when redo keys are pressed, the brush is executed and moved to the undo stack
user92578
Oh and every time I execute a new brush (the first part), I clear the redo stack
user92578
Uses two std::stacks
user92578
and a little bit of code duplication
user92578
16:14
Seems to work great
user92578
Now it's just a matter of programming the Undo methods
user92578
Which might be just inverting the Erase-value
user92578
But I'm not sure
user92578
When would one clear the undo stack?
user4704
The way we did this at ArenaNet was not to explicitly have an Undo method, but a an Undo command
user4704
16:18
Every command had a property called Undo, which was a command that would invert the command.
user4704
So if you constructed a CreateObjectCommand() and didn't explicitly set the Undo property, it would create a RemoveObjectCommand and assign that to its Undo property.
user4704
And so on.
user92578
Ah
user92578
My brushes (or commands) get a boolean to their constructor telling whether they should erase or place tiles
user4704
I guess actually that happened had a higher level (transactions rather than commands) but still
user92578
16:20
So my (currently) only Undo method in the Terrain brush looks like this:
user92578
void CLevelEditorBrushTerrain::ExecuteBrush()
{
	if (!m_Erase) PlaceTile();
	else EraseTile();
}

void CLevelEditorBrushTerrain::UndoBrush()
{
	if (m_Erase) PlaceTile();
	else EraseTile();
}
user92578
But back to the one question I had, does one ever clear the undo stack?
user4704
Yes.
When one runs out of memory
user92578
Haha right
user4704
16:24
There are invariably some operations that you won't be able to undo across (for us, that was "revert all my changes" mainly). So you'll want to clear it then.
user4704
Ideally you have as few of those as possible, but sometimes you run into technical walls.
user92578
Ah, I see
user92578
But eventually this will mean (at a high level) maintaining two things for each command: the "do" part, and the "undo" part?
user4704
You also may want to limit the stack size to avoid running out of memory; it's better, I think, to predicticably limit the stack size than to randomly (as far as the user is concerned) clear the stack due to memory pressure.
user4704
yes
user92578
16:25
Oh I just remembered that you're the expert (also) when it comes to tools development.
user92578
Anyhow, I gotta go now. Thanks a lot guys!
Jon
Jon
17:07
I just ate subway
no one tell my gf
user4704
We don't have to.
user4704
You'll be dead before you see her again now.
user4704
The autopsy will tell her everything.
Jon
Jon
lol
PSPad does trim trailing whitespace, but is overzealous.
user4704
17:10
By trimming leading whitespace too?
user4704
and maybe all that in-between stuff
user4704
just for good measure
if you cursor is tabbed forward to enter an indented line, you leave the editor window, use another app and come back, it puts the cursor back at the start because it trims trailing whitespace where the cursor is on regain focus
Jon
Jon
17:24
oh man, the subway is kicking in
you smoke it or what?
Jon
Jon
i got it toasted
with bacon?
Jon
Jon
no
how dare you
subway always needs bacon
Jon
Jon
17:27
It was extra and I'm broke
@Lasse everything always needs bacon
Even bacon
Jon
Jon
bacon up that bacon
bacon up that baconed up bacon
Recursive bacon :D
It's turtle bacon all the way down
they used to sell this seafood subway, I once got bacon on that too
17:58
oh, and git is horrible (so far)
@Almo seriously? what are the better alternatives?
Perforce
never used it
it works, and I never lose my work
it's easy to understand
01:00 - 18:0018:00 - 00:00

« first day (1863 days earlier)      last day (3454 days later) »