« first day (1135 days earlier)      last day (3807 days later) » 

12:00 AM
> Injuries have been reported in mosh pits, and a few deaths have occurred in a “Wall of Death”
cute
 
morning
 
@rightfold okay I made it to "Wapenbroeders". I'm gonna give up now.
 
user1804599
ok
 
@sehe sounds fun
 
user1804599
Is coral edible?
 
12:10 AM
yes
 
user1804599
@StackedCrooked I want to try it.
 
user3010322
<_________>
 
user3010322
@DeadMG I'm trying the cast thing now in MSVC, it doesn't seem to be working. :c
 
user3010322
Why does MSVC have to throw a wrench in everything? ._.
 
Maybe it is a mechanic.
 
user1804599
12:15 AM
I love Spongebob.
 
@ScottW congratulations on the accomplishment of the year.
@ScottW Congrats on that too then.
 
user3010322
In 32-bit, am I allowed to catch exceptions thrown from a DLL (win32) in my own code?
 
user3010322
Or is it just not allowed? :c
 
user3010322
... Buaha
 
user3010322
Buahahahaha
 
12:17 AM
@ThePhD Why wouldn't it be allowed? also what Win32 code throws exceptions?
 
user3010322
T const* const is different from T* const :u
 
user3010322
Fucking hell, const-correctness
 
user3010322
Now I have to overload 2 functions instead of one.
 
user3010322
Mmmm.
 
@ThePhD no shit
constant pointer to a constant T vs constant pointer to a non-constant T.
 
user3010322
12:20 AM
@Rapptz I know that, it's just that catching T* versus T* const versus T const* const is a bit insane, really.
 
user1804599
ThePhD, stop doing weird things.
 
user3010322
I must.
 
user3010322
It is my god-given duty.
 
god-forsaken*
 
user3010322
^ Most likely that.
 
12:22 AM
@ThePhD your god is perverse.
 
user3010322
@CaptainGiraffe Well, Scott does pretty kinky things to me~
 
user1804599
@ScottW next
 
Drunk - must resist the temptation to code stuff.....Drunk - must resist the temptation to code stuff....Drunk - must resist the temptation to code stuff...
 
user1804599
@ScottW I like it.
 
12:27 AM
@MartinJames Give in to it, you love to code stuff.
 
@CaptainGiraffe I know from decades of experience that It's gonna be shit.
..and ai have to undo it all tomorrow.
 
@MartinJames I just completed projecteuler.net problems 46 and 43 while drunk. Maybe I'm just more Jackie Chan than you.
@MartinJames just don't ssh into production code while drunk.
 
I think I've created one of the best questions of all time on SO : http://stackoverflow.com/questions/20169547/how-many-threads-are-okay-to-use-for-tic-tac-toe-using-minimax
Witness it before it becomes extremely popular
 
@good_evening Tic-tac mint or vanilla? I don't understand. I already downvoted it.
 
user3010322
@DeadMG WEll, it's working on Windows VC++, so your technique is all set and good to go, brother.
 
12:32 AM
I knew it was.
 
Ell
Evening all
 
hullo y'all
 
Oh crap...
 
user3010322
@Rapptz Pretty beautiful.
 
12:34 AM
@CaptainGiraffe S'OK-ish. It's only snake hobby-code.
 
@ThePhD I like it.
 
@MartinJames Use a CVS branch it to "drunk code".
 
@ScottW Für die selbe Sache und das alte Leid
Ich will ficken
 
@CaptainGiraffe I can't make it much worse. My snake multiplies and there it total lack of tail control, (like our dog:).
 
user1804599
@TonyTheLion Ik zal neuken
 
user1804599
12:38 AM
Je maintiendrai.
 
@rightfold ik zal wil neuken FTFY
@ScottW <3
Ja
 
user1804599
Fuck German.
 
ich werde ficken -> ik zal neuken
 
user1804599
Ik word geneukt. :v
 
user1804599
Zwijgt.
 
12:41 AM
@ScottW Oh you horny dog you
 
I have this distinct impression that Scott will fuck anything that walks.
 
user3010322
Hm.
 
user3010322
I wonder if @Xeo's lift and chain works in MSVC these days.
 
user1804599
@TonyTheLion And swims, and flies.
 
12:41 AM
lol
 
user3010322
The last time I tried it with VS 2014 Preview (while I was at MS), STL and I found a bug related to decltype.
 
@ScottW oh baby, I have a never ending amount of love for you <3
 
user1804599
@ScottW Would you fuck a corpse?
 
ewwww
 
Is VS2013|2014 only available to Win8?
 
12:43 AM
@ScottW my love is decreasing in buck loads
 
@CaptainGiraffe no
 
user3010322
VS 2013 IIRC is avaible to Vista and above. Not sure about XP.
 
user1804599
@TonyTheLion s/cr/c/
 
@ThePhD lol fuck XP
 
user3010322
VS 2014, I have no idea. I got a preview test.
 
12:43 AM
seriously its been a decade
 
@rightfold dat pun
 
Running Win7, might be a service pack issue.
 
user1804599
What happens to oyu if you eat moldy bread?
 
user1804599
Will it get you in hospital?
 
no
it tastes horrible
 
user1804599
12:45 AM
Will it get you to the toilet?
 
@rightfold First you eat raw flesh, now you're asking about moldy bread?
 
quite possibly. That can be some nasty crap.
 
as someone who has personally had the unfortunate experience of eating moldy bread before
 
user1804599
@Borgleader I have eaten raw flesh many times. Nothing ever went wrong.
 
user1804599
I ate rotten flesh once and it was absolutely disgusting.
 
user1804599
12:45 AM
It was only one small piece, though. And cooked.
 
guise, I'm eating
can we change the subject
please
 
user1804599
Raw flesh is yummy.
 
@ScottW tricky
 
user1804599
@TonyTheLion how about C++.
 
user1804599
Or PHP.
 
12:46 AM
@ScottW are you expecting rebound sex or something?
 
I have a female coworker that I always wonder if she's flirting with me or if she just acts like that with all guys
 
user1804599
@ScottW with or without maggots?
 
Ell
@rightfold if you are healthy mouldy bread shouldn't be harmful
 
user1804599
@TonyTheLion probably neither.
 
12:47 AM
@rightfold ugh
 
user1804599
> female
 
@TonyTheLion Assume the least desired.
 
that's what I thought
 
user1804599
Ununderstandable.
 
user1804599
12:48 AM
Overstandable?
 
@rightfold Onenightstandtable
 
Ell
Ask her in
 
user1804599
 
I'm shy
 
user1804599
Racism not intended.
 
12:49 AM
@rightfold dat pun
 
user1804599
Life needs more laughter.
 
user1804599
And less manslaughter.
 
Ell
I think I'm shy occasionally
 
Well, you're contributing one picture at a time, thanks.
 
mans-laughter
 
Ell
12:50 AM
I manage to get more than enough poon
okay thats a lie
 
user1804599
porn?
 
user1804599
@Ell You are a programmer.
 
Ell
poon = poonanny = pussy
 
user1804599
> I am not a pussy.
 
user1804599
Office Space!
 
12:52 AM
@rightfold nice
 
@TonyTheLion "I'm shy"- why on earth did you name yourself "Tony the lion"? I've been hiding from you since before I got my last thoracic vertebrae.
 
@Ell I think on occasion
 
user1804599
% nice man
What manual page do you want?
% i want a nice man
zsh: command not found: i
 
@CaptainGiraffe ahahaha
 
Hehe, nice.
 
user1804599
12:54 AM
No matter how shy you guys are, I’m always a little bit shier.
 
user1804599
0
Q: C++;creating a function that copies the bit pattern of a character

Davson WandjaI want to create a function that copies the bit pattern of a character into an integer, starting from "n"th bit so the firt bit of the character is copied on "n"th bit of the integer and the 8th bit of the character is copied onto "n+8"th bit of the integer....

 
I try to reach for the highest leaves.
 
user1804599
 
Wow that question.
 
@Jexah So much ask, so much uh, wow, so much bit.
 
12:58 AM
such awe, so inspire, much wow
That question will lead me on a never-ending-storyyyyyy, AAAaaaAAAA AAaaaaAA, AaaaaA~~~
 
Hm.
I am bad at this recursion thing.
 
user1804599
If you’re bad at recursion, you’re bad in general.
 
user1804599
You’re bad in general.
 
Probably.
 
TIL Google is a funny bastard.
Try Googling that shit.
 
1:10 AM
recursion?
 
Correct.
 
user1804599
You didn’t learn that today.
 
user1804599
You already knew that.
 
That looks sick
 
1:11 AM
I did not ):
 
I had researched into such easter eggs previously.
 
@Jexah google do a barrel roll
 
Can't say I ever searched recursion though.
 
I literally just Google'd recusion, because I'm not sure of the ComSci definition.
 
user1804599
@Borgleader Awesome.
 
1:12 AM
Haha @Borgleader
 
user1804599
@Borgleader Does the chair also vibrate?
 
Haha
@rightfold Have you used the OR?
 
user1804599
Nope.
 
@rightfold No clue
 
user1804599
I’d love to if would Minecraft support it.
 
1:15 AM
I would love if they made useful things, but no.
 
@rightfold Minecraft with Oculus? Yeah could be nice
 
user1804599
Oh look, Google also doesn’t know how scrolling works.
 
That looks awesome.
 
user1804599
First Apple, then Mozilla and now everybody is bad at user interfaces.
 
user3010322
1:18 AM
:D
 
I used it at a demo at PAX Aus. The quality is bad, the peripherals are blurred, but with that being said I'll still buy one in a heartbeat. Even though the shit looks super low quality, you still FEEL like you can reach out and grab things. I almost tried to once, instinctively, but quickly remembered I was in a room with people around me that I'd probably hit.
 
@Jexah That must cost so much money T_T
 
user3010322
@Borgleader 25K.
 
Yeah, but imagine that in a flight sim with Oculus Rift
 
@ThePhD I wonder if it's cheaper if you make your own
 
1:18 AM
Certainly.
25k seems absurd.
@rightfold Yeah shit designed for tablets and phones. You'd think that the leaders in the industry could write a different website for each device, let alone change the scrolling mechanic.
 
user1804599
Change default behaviour = death.
 
Haha
@Borgleader If you used an Oculus Rift I'm sure that'd reduce the price significantly in itself. You wouldn't need the screen, you wouldn't need to add the extra support (the things physically holding the screen, plus the upgraded internal mechanics to deal with the centrifuge caused by the screen).
I'm sure the 25k pricetag for that is mostly due to the lack of interest in actually purchasing.
 
Makes sense
 
Anybody want to help me figure out recursion? :D
 
@Pawnguy7 If you can figure out how recursion works, then you have figured how it works.
3
 
1:27 AM
The chair couldn't be more than a few hundred, the base might be upwards of five thousand, and I don't know how much hydraulics are, or what kind of supports they're using. Then you'd have to program it, but I guess that'd be the fun part.
A simple microcontroller with USB interface should be plenty, unless you don't want the overhead of using USB, then just go serial -- that should be fast enough as well. It's not like you'd be transferring a lot of data.
That is, if you're using it as an interface with your computer, I'm not sure if the simulator shown above is stand-alone or not.
Hell, that'd be an amazing holiday project.
Design it with hot-swappable input devices in mind.
 
This feels so wrong.
 
Dan
is the ` character mean anything in bash?
 
@Pawnguy7 what for?
 
@Jefffrey theoretically a tree
But I am kind of lost.
 
Why?
 
1:38 AM
Snake AI.
 
zch
@Pawnguy7 Stack overflow doesn't sound like a name of a place to ask about recursion.
10
 
@zch lol
 
That was my non-recursive attempt.
As can be seen, it isn't going to work.
I once heard Bartek say, you can have a function calculate a value, and.. basically recursively use it, and select the best value.
But I have no idea what I am doing.
 
zch
AI for a game with more than 2 players, might be tricky
 
First make a working single player version of the game.
 
1:40 AM
@Pawnguy7 lol, wtf are you doing purple?
 
Erm
Might I suggest for a simple, quick game like this, using genetic programming?
 
@Jefffrey was yellow before
 
@Jexah wat
 
@StackedCrooked I got that
 
You could run games very quickly and generate strong AI.
 
1:41 AM
Database?
 
I think slow jogging no longer has any effect on me, I can almost jog as easily as I walk as long as it is not too fast
 
For me, jogging for a long period of time turns into jogging slower than I'd normally walk.
 
@Jexah what are you talking about?
 
I was talking about the AI for the Snakes game.
 
@Jefffrey so, have an idea how to do this?
 
1:44 AM
@Jexah Yeah, specifically?
@Pawnguy7 not a clue. I'm not even thinking about AI for my snake game :/
 
I need to jog longer, I can feel the waist fat accumulating :'(
 
Um, genetically programming the AI in the Snakes game... not sure if it gets any more specific than that without actually programming it.
 
Path finding algorithms maybe?
 
zch
1. calculate distance with BFS
 
@Jefffrey Do you have an edumacation or whatever they call it? :D
 
1:45 AM
> genetically
 
@Jefffrey something like that
 
you mean DNA?
 
Here was my plan.
Make a function calculate a score via inputs, high is better.
 
More to do with evolution than DNA.
 
1:45 AM
@Jexah It's 3 f's
 
Branch out using depth, and select the option that leads to the highest score.
 
I'm sorry don't hit me.
 
I just... don't know how.
 
zch
2. I don't know, but you can use minimax with alpha-beta pruning treating all others as one player
 
How would you explain minimax?
 
1:46 AM
@Pawnguy7 Eh, I don't know either, but on google I think you can find a lot of material for that
 
zch
but using BFS for distance is a no-brainer
 
I would only use Minimax for complicated games that cannot be fun millions of times in quick succession.
 
@Jexah Sounds like an overkill
 
run*, not fun*
 
Well.
I was looking into minimax.
 
1:47 AM
@Jefffrey Once you understand how it works it's pretty quick to make.
 
But it appears I have no idea how to make a tree either.
 
zch
Minimax is algorithm for searching game tree for strategy.
You don't need explicit tree for it
 
@Pawnguy7 Look into Graph Theory if you don't know much about it.
 
zch
In fact it's better to avoid building it
 
@zch I don't know any use of the word node that isn't a tree
 
1:48 AM
@Pawnguy7 Make the AI use the borders to cross the map and get food when needed
 
@MohammadAliBaydoun that was another thing my old one didn't do.
I am not quite certain the best way to do it, but it would be good.
 
Dead or aliiiiiive
 
zch
What are you using for distance now?
 
You can pull it off easily
 
@zch just inbounds, I guess
 
1:49 AM
A dirty and fast way is to make 9 copies of the map
 
Only times they went out of bounds is if they would die otherwise.
 
zch
inbounds?
 
Yes.
It wraps on the edges.
 
each having identical snake units, food and obstacles
 
The distance calculation doesn't take this into account though.
@MohammadAliBaydoun a 2-deep search?
 
1:50 AM
and place them in a 3x3 matrix. You would be displaying the middle one and operating on it
 
zch
BFS is simple algorithm.
 
:13121420
:13121429
 
zch
Use map fields as nodes
and neighbourhood as edges
 
Err, okay so I'm not so great at quoting, but my point was:

>>What are you using for distance now?
>>The distance calculation doesn't take this into account though.
 
@Jefffrey anyway, besides the AI, multiplayer is done. Probably.
 
1:51 AM
@Pawnguy7 Nice :)
 
Which leaves.
The AI.
Possibly some instructions.
And da polish.
 
Polish?
 
I am not positive how to do this distance thing.
@Jefffrey more sounds, better graphics, transitions...
Probably a pause menu too.
 
@Pawnguy7, where d'you live?
 
What are you gonna do with the Polish?
 
zch
1:58 AM
distance[target] = 0;
queue.add(target);
while(!queue.empty()) {
    elem = queue.pop();
    for(neighbor: elem.neighbors()) {
        if(distance[neighbor] != INF) {
            distance[neighbor] = distance[elem] + 1;
            queue.add(neighbor);
        }
    }
}
This is BFS, simplest path-finding ever.
 
@Jefffrey why? :D
 

« first day (1135 days earlier)      last day (3807 days later) »