« first day (1360 days earlier)      last day (3664 days later) » 

10:05 AM
@Lasse how do i revert the origin in git?
 
huh?
you mean master?
or do you want to revert what's on the remote repo?
 
I wanna revert the remote master to an previous commit id
 
20
Q: reseting remote to a certain commit

nacho4dI want to discard all changes done after commit <commit-hash> . So I did: git reset --hard <commit-hash> Now I want to do the same with my remote. How can I do this? I have done some commits (and pushes) after <commit-hash> and I just want to discard them all. Is just something went terribly w...

 
Jon
@VaughanHilts you owe me 5$ in consultation fees
 
@Lasse thank you lasse
that even deleted my previous commits
:D
 
10:12 AM
isn't that what you wanted?
 
yes it is
I'm glad my previous commits is deleted
now i got that out of the system
 
WTF
Vector3 currmin = new Vector3 (x * blockSize, y * blockSize, z * blockSize);
x, y and z goes from 0 to 1
blocksize is 16
 
Jon
0 x 16 = 1
 
I get 12, 22 and 0 with 0,0,0 x,y,z
eh?
 
Jon
I would suggest you are missing something :)
 
10:18 AM
what can I possibly be missing? I'm checking those values in debug mode and the x,y,z are what I said, and blocksize is 16, and the currmin is 12,22,0
 
Jon
which is impossible...
 
exactly
I have also this:
Vector3 currmax = new Vector3 (blockSize * (x + 1), blockSize * (y + 1), blockSize * (z + 1));
that's 17.25, 22, 16
 
Jon
what is x, y, z, data types?
 
Hello @Grey
 
integers
 
10:20 AM
hey
 
Jon
is blocksize a byte or something?
 
Its a long time since you last visited the chat
 
it's integer
 
Jon
reboot :)
your computer is drunk
 
LD29
Still up and jamming
 
10:21 AM
x,y and z are integers too
 
bad picture
 
...
 
and the debugger tells me that x * blocksize is currently 0
but the currmin still gets 12 as x
 
Jon
what is that @Grey kermit's balls?
 
wtfismycomputerdoing
 
Jon
10:22 AM
@Lasse that is really odd.
 
@Jon this one is better
I THINK
 
Jon
I don't know what I'm looking at :)
two blobs and two ghosts?
 
haha
 
I agree with Jon
 
They are skeletons but I just capped a screen at the wrong moment. Coding AI right now
 
10:26 AM
What about learning pygame
 
Jon
You guys see this wip?
 
:OOO
 
Jon
its called 21 bytes
love the art style
how much time you got left @Grey
 
i think they're French
"beat them all" for "beat 'em up", and "feedbacks"
I see these errors a lot in the industry here in quebec
 
10:37 AM
lol
 
21 bytes?
 
Jon
they are french
also, this is made in unity
21 Bytes is a reference to Duncan MacDougall and his attempt to measure the mass of the soul. He measured that when a person die, they lose 21 grams, that would be for him the mass of a soul.
 
Ah from the looks of it i thought that was thr maximum allowed data for the level to take :P
 
I restarted monodevelop and now it's making sense again
 
Jon
Ohhhh
You should of said Monodevelop.
 
10:46 AM
WARNING [2014-04-26 02:37:39Z]: Debugger could not find file '/build/mono/src/mono-3.2.8/mcs/class/corlib/System/Math.cs'
 
Jon
MonoDevelop likes to do crazy things randomly
 
I wonder if that's the problem
also why is it trying to look for 3.2.8
I've got 3.4.0 installed
huh, apparantly not
 
Did u fix that nulref?
 
no
 
10:49 AM
huh
well, I guess 3.4.0 isn't stable enough then
 
well, they have been flagged out of date
I wonder if they are there just for the looks or if they actually can code
 
Jon
if they can actually code... give me a break
their posture is too good
No strip for you! You got something wrong :(
lol
Ok, so basicaly if you pass the tests, they take off their clothes
the further you get in the lessons, the less clothing they wear
 
lol
 
What is the correct opening tag for PHP?

<PHP YOLO!
giggles
 
Jon
10:56 AM
What is a valid integer? one, 69, 3.14
We should make one for the ladies... if they pass the tests, we put our clothes back on
 
yeah
wtf I can't get past the first page of php questions
 
Jon
yeah, it says you have to sign up
 
oh
but it says I answered something wrong
 
Jon
where i stopped
nice novelty
Oh... Yeah... the first test for programming said I was wrong but I wasn't
I think you may have to be logged in for it to work properly
 
doesn't work :(
 
Jon
11:01 AM
dear lord.
site crashed on me a few times... probably not funcitoning 100% yet
 
I'm sure I'm right when I answerred "mark zuckerberg is bad ass" as false
 
Jon
plot twist... the site is sponsored by him
 
lol
 
Jon
Oh my god
LOLOLOLOLOLOL
Learn to code / Check out dicks
 
O.o
 
Jon
Makes sense to me...
 
bwahahah
 
@Lasse btw I got the transaction yesterday. It was loaded with 0.0001009 BTC
which is equal to 0.05 $
 
user92578
11:31 AM
Hey!
 
something satisfying about setting Time.timeScale = 2, everything's twice as fast, gravity is twice as heavy lol
hello~
 
Hello Typpi
 
user92578
Typpi means nitrogen in finnish
 
user92578
Tyyppi means "guy"
 
Jon
you should make a game called TimerFuckers
where you alter the timescale randomly while people play
 
11:32 AM
haha
 
Jon
 
@Jon I made that in a jam
it just didn't work out well
 
Jon
heh
 
fffff everything's so slow in normal time now ;_;
I'll hafta make double time as a fun feature (though it's a fun console command for now)
 
some of the best features are accidents
 
11:36 AM
definitely
bugs or just trying something silly
@Jon Hmm you know, I could make a special event room in my game that alters the timescale up and down. that sounds awesome. thank you <3
 
user92578
My collision stops working when the window is maximized (the resolution doesn't change)
 
:(
 
Jon
5$ consultation fee @Chris
downloading it now @Lasse
 
lol
 
@Jon I'll gift you a copy of my game
 
11:44 AM
don't be disappointed :D
 
Jon
sounds fair
crashed
 
what's the output in console, if you don't mind checking that?
 
Jon
worked on my other pc
how much time was spent on it?
the glitch only lasts a second?
 
I don't remember, I built the engine from scratch, so I guess 10 hours or 15 maybe
 
Jon
"Attempted to read or write protected memory"
Winblows 8
works on 7
 
11:47 AM
lol
 
huh wierd
 
winblows 8
:P
 
Win8 doesn't like my 5-year-old PC, so I don't like Win8 either
 
the windblows 8 os
 
just another Vista
next version will be better for sure -_-
 
Jon
11:47 AM
At least its not a ME
 
looool
ah man
 
windows CEMENT
 
lol
 
Jon
Windows - tinted edition
now that is a product i'd buy
 
Afternoon peeps
 
11:50 AM
Afternoon
 
Hello Blue
 
Jon
Mah man Blue!
 
How are we doing today?
 
Goood
 
Jon
 
11:50 AM
Hey @Jon
That picture confuses and intrigues me all at once.
 
Jon
reference.
 
ah, haha.
I was disappointed it wasn't a reference to the picture tbh
 
user92578
WHY THE IN THE WORLD DOES THE COLLISION SYSTEM BREAK
 
Jon
the clip for the pic is nsfw
 
BECAUSE PHYSICS
 
Jon
11:53 AM
Poor @Tyyppi_77
 
user92578
There's no reason for it to break
 
@Jon reversed image searched it, found a clip with more insight into it, hahaha
 
Jon
;)
If interested... its the jelly wrestling scene from old school
 
hehe
 
11:57 AM
 
Jon
I have invented Suicide Linux. Any time - any time - you type any remotely incorrect command, the interpreter creatively resolves it into rm -rf / and wipes your hard drive.
 
lol
 
user92578
IT DOESN'T MAKE SENSE
 
:(
 
I think justin bieber linux is better
 
user92578
11:58 AM
"I'm your collisionsystem. I'll break randomly when you maximize your window. Oh, you can't see anything if you don't maximize? Too bad."
 
Jon
Here's another good one
user image
2
 
@Tyyppi_77 debug it and make it work, it doesn't help to yell about it here if you are not going to reveal any code
 
@Jon lol
 
user92578
Acutally it does
 
user92578
makes me feel less alone
 
11:59 AM
Create a blog post
 
user92578
lol
 
helps me when things aren't working, seriously
 
Jon
sounds like you got a maximize bug
 
Or like @Lasse said, post some code.
 
user92578
    def checkCollision(self, deltaX, deltaY):
        """
        Checks for collision.
        """
        newPosition = self.transform.getPosition() + (deltaX, deltaY)
        # Sets the new position to the X-axis
        self.transform.setPosition(newPosition)
        # Checks for collision
        for entity in self.level.getEntities():
            if not entity == self:
                # First checks if the rectangles collide. This means that there is
                # a possible collision.
 
user92578
12:02 PM
That's probably it
 
user92578
Then I call that twice, once with (dx, 0) and once with (0, dy)
 
Jon
self.transform.setPosition(Vec2.Vec2(rect.topleft))
wut?
set position / set rectangle based on position / set positino based on rectangle
why u do this?
 
user92578
the rect is the "hitbox" of the entity. the attributes of the rectangle are set according to where the entity hit's the wall it collides with.
 
Jon
yah, so you are losing all your flaoting point precision
 
user92578
so if the entity collides with a wall from coming from top, the bottom coordinate of the entity is set to the top attribute of the wall
 
12:05 PM
@Tyyppi_77 are you handling the resize correctly? You need to at least specify the viewport again, if your library isn't doing that for you
 
user92578
PyGame does that for me
 
user92578
atleast I think it does
 
does it?
If the display is set with the pygame.RESIZABLE flag, pygame.VIDEORESIZE events will be sent when the user adjusts the window dimensions.
 
user92578
I'll implement the resizing and see if it fixes it
 
user92578
To be honest, I do not believe it has to do with the size, since even just moving the window breaks it
 
user92578
12:12 PM
the player entity just stops showing
 
user92578
IT's BECAUSE THE DELTA TIME
 
user92578
maybe
 
user92578
but suddenly the player's y position changes to over 2000
 
user92578
abd it just keeps going
 
user92578
yeah, definetely deltatime
 
12:15 PM
is the entity moving when you move the window?
 
user92578
no, but the gravity is applied always
 
okay
 
user92578
so if I hold the window for 3 seconds, the delta time will be 3000/1000 = 3
 
makes sense
 
user92578
so every value will be moved by GRAVITY * 3
 
user92578
12:16 PM
= 300
 
user92578
and if the deltaY is so big that it doesn't hit any objects in the new locaiton, the collisision is not found
 
user92578
it basicaly jumps over it
 
user92578
now, how do I fix it?
 
ignore time changes when moving window
set the delta to zero when that happens
 
Jon
what about random lag.
 
12:24 PM
What's with Amplitude Studios (the guys who made Endless Space) that they manage to create such a satisfying UI?
I haven't encountered a UI yet that was more enjoyable to use
 
Jon
some people got it...
 
user92578
I'll set the window to fullscreen mode, since I can't detect when the window is moved
 
user92578
nor I can know when the resizing stops
 
user92578
windowFlag = WindowFlags.WindowFullscreen
 
user92578
fixed
 
user92578
12:26 PM
but, the collision needs to be fixed still
 
user92578
I wonder how I should do that
 
user92578
raytracing or something
 
user92578
cast ray from start position to the wanted position -> if it hits anything, stop where it hits
 
is pygame really that bad that it doesn't tell you when window is moved/resized/deactivated/activated/minimized/maximized?
I'm thinking scrapping my current ray-octree test code and start over
 
user92578
Yeah, it does that for me and doesn't allow me to acces those... there's also not really any documentation about it
 
1:10 PM
hi
 
hi
 
I have a problem
I'm using libgdx
I got a code that work with android but doesn't on desktop
:
HttpGet httpGet = new HttpGet(url);
HttpClient httpclient = HttpClientBuilder.create().build();
HttpResponse response = httpclient.execute(httpGet);
jsonString = EntityUtils.toString(response.getEntity());
 
what does it do on desktop
 
I get nothing
there is no error, but it does nothing
it's exactly the same code
 
have you checked what the response object contains by debugging
or whatever the getEntity returns
are you sure the server is not responding with empty string
or something
 
user92578
1:20 PM
 
colorful
 
user92578
yeah
 
user92578
just placeholder surfaces
 
user92578
somehow I managed to breal the collision again... I think I need a DotA2 break
 
1:38 PM
music, music for everyyyboooddyyyy
 
/
 
1:51 PM
They tell ME I'm wrong when I am norwegian
LOL. Crowdflower tasks is so inaccurate
the mean that a man in norwegian = én mann
that is just hilarious since the letter "é" DON'T EXIST in the norwegian alphabet
 
thanks lasse was feeling quite here
 
@Lasse no big fan of that type of music
 
its nice to listen to while i code
 
@joapet99 I am
also I don't expect everyone to be
 
I know
 
2:02 PM
should i release android and ios version of my game at the same time. or should i release whichever is finished first?
 
I was greatly disappointed when blizzard didn't release the ios and android versions at the same time, and I need to wait
of hearthstone
 
i'm no blizzard :P
 
I know
you probably want to get as much audience as early as possible, so just release the one which is finished first
 
yeah, that is what I was thinking
 
damn my typos
I need to pay attention to typing more
 
2:25 PM
i typoed to proceed to hit enter while typing youtube, ending up just typing y in the serach
this, what I get, O_o
 
 
1 hour later…
3:27 PM
:O
 
Jon
3:53 PM
 
@Lasse I would agree.
unless you're used to doing a dual release, go for which is done first, be it android or ios
that "y" video is... odd
"Pretty Lights" pretty interesting
 
Jon
4:08 PM
anyone wanna collab on an xna game?
Unfortunately, those users who smashed their phone would not get a new Oneplus one phone in $1. Because Oneplus set the rule of the promotion as, firstly Oneplus choose 100 customers randomly, and those customers can pay $1 to get a new phone by uploading their phone-smashing video. As a result, those unfortunate guys who smashed their phone before the promotion and not lucky enough to be chosen by the promotion have to buy new one in their own expense
 
Starting a new game Jon?
 
@Almo All of his music is free too! prettylightsmusic.com
 
Jon
not really hehe
 
4:24 PM
hey is anyone here a webdeveloper
I would ask this in the webmaster one but I dont have enough rep and it seems like a small question
Does anyone know if Aptana Studios is still be updated or is it dead?
 
@androidmaster You can access any network chat if you have the rep to access one of them.
 
I looked at their site it seems like it hasnt been updated since 2011
@GnomeSlice I dont have enough rep therre
Wait
what
 
I don't even have an account there, but I can use their chat.
Chat.se is a separate thing.
 
Okay thanks
 
You only need enough network rep to access one.
No problem!
 
4:27 PM
@William'MindWorX'Mariager @SpartanDonut I guess I'm going to create a game with unity in the next week :P
 
Interesting :P
 
as much as I hate it, it seems to be the only option
I mean if I accept the project
 
Jon
unity is fine.
 
@William'MindWorX'Mariager so did you like unity?
 
@Ali.S Only used it a little. Still having school projects and exams, so busy with other stuff. :)
 
4:28 PM
@Jon it's way too much designer oriented
 
:( all of the other chatrooms are empty or inactive
 
Jon
yeah, it is what it is, and it does what it does :)
I prefer lower level myself.
 
@androidmaster You shouldn't assume people are around all the time. Ask your question, and then wait a while :)
 
@androidmaster this is our sprite, that's keeping this room alive!
@William'MindWorX'Mariager sounds like my everyday life
 
I've been pondering if I could get myself to do some real programming this summer.
I have almost 8 weeks of vacation.
And only need to work in the weekends.
 
Jon
4:31 PM
awww yeeee baby
 
@William'MindWorX'Mariager how old were you?
 
That's some bad ass extrapolation :P
@Ali.S 26 :)
 
Jon
AWWW YEEEE
 
3 years older than me...
I'll be most likely studying post grad by the time I reach your age
 
Hehe
Yeah, I didn't really feel like school. I only started two years ago.
 
4:33 PM
I do remember that :P
BBL going for dinner
 
Morning
 
4:50 PM
"Morning"
 
@hasherr for me it's night.. I mean I almost can stay awake any more :(
 
Look at my awesome sword
 
Jon
slash the gay right into you
 

« first day (1360 days earlier)      last day (3664 days later) »