« first day (1258 days earlier)      last day (3769 days later) » 

6:06 PM
How does OAuth work?
 
@ShotgunNinja asked them to let me give the engine a spin, replied in less than 10 mins
fuck exams, this is more intriguing
 
@Jon awesome.
 
user4704
@Grey Gerbils with top hats.
 
All my questions have been answered.
 
user4704
71
Q: On a high level, how does OAuth 2 work?

William JonesAs I understand it, the following chain of events occurs in OAuth 2 in order for Site A to access User X's information on Site B. Site A registers with Site B, and obtains a Secret and an ID. When User X tells Site A to access Site B, User X is sent to Site B where it tells Site B that he would...

 
6:18 PM
I found a good article that explained it to me.
It's just a bunch of apps talking to each other and the user giving a certain app permission to access its information.
 
random furniture
man we really need extra artists
it took us 3 weeks to get this wtf
 
Jon
lol
 
user4704
Could have just gone to Ikea.
 
lol
with the identicon and all, now I look at my messages here and think @William'MindWorX'Mariager posted them
 
6:35 PM
well, a 12MB .exe with no installation gets you a fully capable engine
I can't say I don't like that
 
Jon
ah, you are trying out the GoDot engine?
What can you publish to?
 
yeah
Windows, Linux, iOS, Android, BlackBerry, X360, Wii and PS3 IIRC
 
Jon
yeah, looking at it now
 
it's sort of better than Unity
because you can run it on Linux
 
Jon
what do you code in C#?
 
6:39 PM
and it's open source
 
I don't code anything in C# since leaving Autodesk.
 
nope, in an own Lua-like language
 
though I was working with javascript when I left...
 
Jon
interesting.
 
haha I just optimized my bezier curve code even further
I made the resolution really high, 80k (where 80 is acceptable quality, so it 1000 times that) and the FPS got from 35 to 49
that's huge improvement
this is so much fun, I should go sleep but I just can't
 
6:45 PM
@AlexM. r it on windows
 
what?
 
It must be.
Looked at the screenshot.
 
yeah
it runs on mac, win and linux
 
k
 
@Grey found one myself
PC Gamer
Steam has launched an experimental VR mode for lucky Oculus owners: http://bit.ly/1akhbT1
Godot has a nice way to do GUIs, that reminds me of Visual Studio's designer
wish Unity had it too
I wish it had a better name
Godot just doesn't scream "mainstream"
Unity on the other hand...
 
7:02 PM
Godot makes it sound like a gag engine. Like, it will never be finished because you're still waiting for it. (reference to "Waiting for Godot")
I expected to find a joke when I clicked the link.
 
@AlexM. GoDotNET
tells me that
they are secretly allied forces with .NET
 
maybe someone who knows how reflection in Java works can explain this one to me: thecodelesscode.com/case/97
 
.NET FOREVER!
<3 .NET
 
that's when William got thrown out
 
@Almo I have no idea about Java's reflection, but that sounds similar to killing a fly with a nuke and missing the target by 100 meters
 
7:08 PM
it seems important somehow that the objects are "nearly the same" and the master misses a candle, the one he blows from.
like using that method would be error prone
 
Overkill. Yup
 
you'd think a programmer's story would be more to the point
 
not at the site, alex.
 
2 legged Oauth
 
so it's overkill. why is reflection overkill in that case, and does the master missing one have significance?
sometimes these things (at that site) are quite subtle in their construction
just trying to learn what I can from the story
I'm hindered in some places by my lack of knowledge of Java
 
user4704
7:12 PM
I believe the point is that reflection was the wrong tool for the job (by virtue of being too heavy-handed) and that even such an approach can have simple pitfalls.
 
ok
makes sense
thanks
 
inb4 a metaphor for why you shouldn't use singletons
 
user4704
Reflection is heavily string-based, for example, so it would be easy to miss a property in the copy code or for new properties to not get picked up by them.
 
user4704
or for misspellings to render the whole thing broken in a fashion that did not fail as soon as it could (at compile time)
 
that part seems to explain the missed candle
 
7:18 PM
.NET is awesome
I think... I think I finally made it!
fasm.AddLine("use32");
fasm.AddLine("pop ebx");
fasm.AddLine("push ecx");
fasm.AddLine("push edx");
fasm.AddLine("call {0}", original);
fasm.AddLine("add esp, 8");
fasm.AddLine("push ebx");
fasm.AddLine("retn");
Translates a __fastcall(a1,a2,a3) into a __cdecl(a1,a2,a3)
Now I just need to confirm that anything I return in the call is in eax.
 
user4704
Then support __vectorcall!
 
Sounds complex. :P
And I just need this to work within Warcraft III. :P
 
a true (tm) developer thinks he needs it to work with Warcraft 1 too
while running it in a html5 canvas
in the oldest version of Netscape
on Windows 95
be sure to support __ambulancecall before attempting it though
 
Wooo! EAX holds my return value!
Now I just need to call the original __fastcall function and I have a fully working hook. :D
And calling __fastcall is easy enough. :D
At least... The last time it was. :P
 
still, to this day
I have no idea what it is that you are actually doing
I only know you're doing something to War3
looks cool though
 
uh
tell me what it is that you're doing thou
 
Right now, I'm attempting to hook a __fastcall function. Said function initializes all internal classes, what they inherit from, their size and some more information. This means, with a successful hook, I get a ton of valuable information.
 
yeah but what's the end goal
you mentioned modding
 
Problem is, C# doesn't support the fastcall convention, so I need to handwrite the wrapper.
 
sometime ago
 
7:29 PM
Yeah, people are using it to mod WC3.
A long time ago, I made a Warcraft III map that could have more than the max amount of players.
And a FPS demo
Stuff the game normally can't do very well or at all.
The idea is to provide a much more powerful modding API for Warcraft III, which is still actively being modded. :)
 
I remember some 3rd person shooter map
 
Yeah, but the controls were no where near as smooth as what I made. :P
 
yeah in that one you had to click on the ground to move
 
Now I don't know if the modding API will really get used, but people are interested, and I'm learning a bunch of things. :)
 
and the camera did not turn really well
 
7:32 PM
I also made an in-game IRC client.
 
here's my 10mb gif of my final optimized sausage rendering engine: dl.dropboxusercontent.com/u/27198869/Screenshots/…
 
And someone used the new API to make a chat client for the modding sites webchat.
 
so in short
you raped the shit out of war3
 
Yeah
I made stuff dynamic that was normally static.
You can actively change the internals of abilities/units/objects, which was normally a design-time thing
It's even done in a way so the game understands it. I'm using the games own memory allocator, which means it's cleaned up automatically by the game.
 
I have donuts
glazed donuts with chocolate flakes
I remember we had a discussion here about the difference between our donuts
and the donuts in the US
main thing was ours ain't torus shaped
 
7:40 PM
I want vanilla cake donuts with frosting and sprinkles. but they don't make them here in Canada. >:(
 
#instagram #2food4u
 
I need more caffeine in my life
 
i have some dogecoins now
:)
 
user4704
...why?
 
@Almo dogecoins are useless if you can't buy donuts with them
 
7:41 PM
i plan to use them to make fun of bitcoin supporters somehow.
 
I prefer to use my gpu time for rendering my sausages instead of dogecoins
 
I can't do GPU mining; too old
so I use 4 CPU threads, and only on occasion
well, maybe I had something configured wrong
whatever; I'm not into it in a serious way :)
 
that's what they all say
and before they know it
they become dogecoiners
and kill others for their dogecoins
 
I have an interest in Bitcoin just because I've read most of this discussion about it:forums.randi.org/showthread.php?t=210667
that's at a skeptic forum
some people really believe in bitcoin and fiercely defend it against any implication it may have been created as a clever scam.
 
I've interviewed randi for a radio podcast
 
7:45 PM
:D
he's an interesting guy
 
yes he is
 
saw him in person once... he did a card trick... holy fucking shit.
mysterious as hell man
no fucking clue how he did it.
 
that's how the tricks work
 
when they're good, yeah
 
I'm off to bed
 
8:21 PM
soo
what's up
 
Soo close now!
All that's left is balancing the stack I think.
 
you make me want to asm
 
LDA $DC00
 
ALEX IS GOING TO DO ASM
by spending 6 months learning how to abc
 
8:38 PM
Bah
So close. Stack is balanced and everything.
Perhaps I'm overwriting something I shouldn't.
No clue how I'm going to debug it.
 
Im still oauthing
 
@William'MindWorX'Mariager You're not using IDA?
(note: I know nothing about this, except what I hear from my brother)
 
I have IDA, but it's a bit clunky. Using mostly Cheat Engine atm.
I use IDA a lot. It's a wonderful tool.
 
yeah. I know my brother likes it, but tells me that other tools (I want to say Cheat Engine) are better at some things
Either that, or he uses his own tools
Nerdy website, :p
 
Very nerdy. :P
Perhaps he knows what I'm doing wrong? :D
Though, I hardly know what I'm doing.
Hmm
Why am I even using the EasyHook hooking API for this? I have no idea what it does behind the scenes. I should just install a tailored hook instead.
EasyHook is for generic hooking.
 
8:50 PM
what I think about everytime you mention hooking
 
ic
It's actually a technically accurate term
In computer programming, the term hooking covers a range of techniques used to alter or augment the behavior of an operating system, of applications, or of other software components by intercepting function calls or messages or events passed between software components. Code that handles such intercepted function calls, events or messages is called a "hook". Hooking is used for many purposes, including debugging and extending functionality. Examples might include intercepting keyboard or mouse event messages before they reach an application, or intercepting operating system calls in order...
 
is the detection of hooks called peter panning?
 
I use Hook for something that intercepts a call and Callback for something that reacts to a call without the ability to manipulate the flow.
So a hook is much more powerful than a callback.
Anyways, it's late. Custom detour is what I'm going to try tomorrow. Nightie good sirs!
 
'night
 
8:53 PM
nite
 
Waaiit a minute...
I just realized I've wasted a couple of days on idiocy.
 
awesome
 
IDAPro supports special breakpoints which can read out registers. This means I could just read out the information in a special breakpoint in IDA which I've done before.
God I suck...
Now I know the goal tomorrow. :P
 
not suck. just overlooked something
happens :)
 
happens to me too
difference is
 
8:57 PM
see you folks; drive home time
 
I'm not able to go to sleep afterwards
 
@AlexM. Agreed
 
Hehe, I'm usually the same, but I'm going to be completely useless in school if I don't get my sleep. :P
And I really want to do well in school.
Anyways, yeah, nightie. :P
 
9:09 PM
Okay to the oauth experts in le chat, how do I get a verification code, without human intervention(for confirmation)
I'm using RestSharp but I'm not sure if it has some sort of capability that will allow me to do that.
 
I would use a OAuth library
 
RestSharp has OAuth stuff
This is the example I'm going off of.
 
Looks like that code is doing it manually
Here's my OAuth for LikeClockwork: bitbucket.org/jcpmcdonald/like-clockwork/src/…
Note that it's like 4 lines:
$openid = new LightOpenID($serverName);
$openid->identity = 'https://www.google.com/accounts/o8/id';
$openid->required = array('contact/email');
header('Location: ' . $openid->authUrl());
After that, I do: if(isValidated){ getEmail, createAccont, goBack }
In other words, look for a RestSharp OAuth library, :)
 
Pip
@AlexM. I may or may not have played through act 1....
@nathan Python FTW!!!!
 
@Pip that was unexpected
 
9:17 PM
@JohnMcDonald RestSharp already handles it ; _ ;
 
well, Katawa was made with Ren'Py
which is Python
 
They just don't have a way to get stuff from le call back ;_ ;
 
Pip
@AndrewSerff I got the beta invite too, going to go get it at some point
 
so I guess it sort of makes sense
 
at least I don't think so.
 
Pip
9:17 PM
@AlexM. I know :D I read the game specs before I played
 
I finished it once, got a neutral ending, didn't bother again
 
@Grey Well, what I'm seeing is RestRequests, which is just REST, not OAuth-specific.
 
Pip
@AlexM. mhmm
 
"The Wolf Among Us" episode 2 releases first week of February! More info here http://bit.ly/1m1ixXK
 
Pip
I just played through act one
 
9:18 PM
@JohnMcDonald OAuthAuthenticator
 
@Pip play it some more
just be sure to disable adult content in the menu
even though it's kinda... lite
I mean kids should be taught about that stuff
or at least games with that stuff be made 12+
actually, why are games with teenage sex 18+
and games with murders and guns 12+
SOMETHING AIN'T RIGHT
 
Pip
lol
I know :D
 
tbh, there is some content in modern games that I really can't think are appropriate to... human beings in general
I mean
lara's death scenes in the new tomb raider
 
I would say something but I'm going to hold my tongue.
 
@Grey I don't think that's doing what you think it's doing
 
9:23 PM
the torture mission in gta v
 
@AlexM. gruesome.
 
the torture scenes in cod black ops
WHO FINDS THIS TO BE ENTERTAINMENT?
 
I loved the new Tomb Raider.
 
Pip
bbl, going to program Tarbeyon <3
 
@Pip hum. Why do you say it to me? : D
 
Pip
9:24 PM
because you said that you favored Python over PHP there
 
pip eest crazy like this
 
Pip
:D
@Grey I is
 
!!!
 
Pip
bbl
 
@JohnMcDonald Maybe v _ v I'm totally knew to this REST and OAUTH stuff.
 
9:25 PM
hmm, I'm trying to find some doc or library
 
Pip
I need more art... the fountain I made looks so out of place without any other art
 
BitBucket API recommends the solutions listed here.
 
@Pip yeah definitively.
 
@AlexM. new music
 
9:27 PM
?
 
@Grey This looks reasonable, and it takes a very similar approach: violato.net/blog/net/…
 
@AlexM. The Heat - Jungle
Synth,Chill-Wave, New Age, Indie.
 
I'll take a look once I'm done playing AoE2
starring it anyway because I'm sure it's cool
 
AOE2?
If it was 3
 
AoE 2 > all < Total War
 
9:28 PM
I would pawn you in 30 min
Always played as Ivan the Terrible, always won.
2nd choice was to play at the ottomans, but mergh
 
Pip
lol
 
I had GROUND SUPREMACY and
NAVAL SUPREMACY.
I was the best in the best.
; - ; Too bad it's outdated now. It really was the best strat game in the history of 5 ever
 
that's why it was forgotten by everyone months after release lol
 
:-(
IT WAS THE BEST.
SC2 IS FOR NOOBS
that don't know what a real strat game is. I was playing strat games since i was in diaper
In Post-Apocalyptic Los Angeles, You learn how to play games early.
That's the only game my dad will ever play.
Age of Mythology or AOE games(He doesn't know what SC is)
@JohnMcDonald all hope is lost
 
Pip
lol
i cannot believe this..... I made a method called "pick_color()"
so..... selfexplainitory
 
I can't believe it either. what kind of insanity would drive someone to use an underscore instead of camelcase?!
 
Johnathan Blow.
 
what kind of insanity would drive someone to spell it Johnathan instead of Jonathan?!
YOU'RE ALL CRAZY!!
 
Code readability improvement of the day: In A* code, rename g_score, f_score to g_score, g_score_plus_estimate.
Shots Fired, Icy Defiance, January 14th.
 
Pip
9:48 PM
lol
hey Icy
 
ha, even he knows it's not spelled Johnathan
 
Why is this man notable?
 
because he spells Jonathan correctly?
 
Yes.
That is all.
 
makes sense. he couldn't be any more notable than that, because he uses underscores instead of camelcase. so bad.
 
user4704
9:54 PM
C++ style yo.
 
bah, humbug
 
Pip
lol
 
10:34 PM
I use this_kind_of_notation whenever I do C under UNIX
it goes hand in hand with the standard stuff
 
underscore notation, especially leading underscores is commonly used in libraries, and even then mostly the low level system libraries. I dont see it many other places
 
that's because my_object_factory looks lame
 
it certainly does make things more inconvenient to read when everything is named via that notation
even then, consistency is whats important
 
don't find it exactly difficult to read
might depend on how long you've stared at code like it
after all, lispers parse parentheses like we parse braces
 
oh leading underscores for private variables don't bother me. that or the m_ prefix is common with pretty much any language that I've seen so far.
personally I just have the first character lowercase for private, or uppercase for public
but like you said, consistency is the important thing
when adding onto a library, just do whatever is already being done there
 
10:45 PM
int m_int_MyArrayElementCount;
/sarcasm
 
no, putting the variable type in the name isn't necessary for anyone with an ide better than notepad and a file smaller than 2000 lines
 
MyLongNameClassHere m_MyLongNameClassHere_MyLongNameMyLongNameClassHereInstance;
 
ARE YOU TRYING TO KILL ME, ALEX?!
m_MyLongName is about as long as my variable names ever get
 
@IcyDefiance yes
kill -9 26122
 
user4704
I used to have a lot of m_implementation-> floating around in C++ code, but I switched the relevant compilation firewall to something more like a handle/body idiom and now I can reasonably call it m_body->
 
10:53 PM
are you referring to the pimpl idiom?
 
Alright, folks. If your work was moving down the road, you're a student, and it took 1:40 minutes by bus to get there would you seek other employment, ride the bus both ways every day, or buy a car?
Car is 20 minutes.
I have to make this decission in roughly 3 months ._.
 
I walk to work and back
takes me ~40 min
or more
 
I bus. It takes me an hour right now.
Would you be willing to walk 1:40 to work every single day and back?
(Time-wise)
 
I wouldn't want to sit in a bus for that long
I'd look for a cheap car
 
@Pip You haven't commited in while!
 
10:55 PM
nothing brand new. that's not smart.
 
@VaughanHilts yup
I do it anyway
if I'm somehow late I take a cab
 
You're crazy.
 
but when I leave work I go on a walk to the mall
eat a burger
 
I've got better things to do than waste 4 hours a day ._.
 
then go on another walk home
tbh, after work, walking around is the most refreshing thing to do for me :(
I know if I get home I won't code anything for a few hours anyway
 
10:56 PM
Part of my trip is already a 30 minute walk
 
I'd probably be willing to walk for 30 minutes or so. I used to run that long for exercise. No way I'd do it for a couple hours though.
 
That's enough for me.
 
@VaughanHilts I would move closer to work
 
yeah
looks like that's the best thing for you to do
 
Or bike, :)
At my old place, the bus was ~20 mins to work, ~30-40 from, and cycling was 15mins each way.
And the bus went right by my house & work.
Buses are slow
 
10:59 PM
lol ikr
 

« first day (1258 days earlier)      last day (3769 days later) »