« first day (1438 days earlier)      last day (3504 days later) » 

12:00 AM
Fuck I, getting old :-(
 
A thought I've had for a while now: A few antiviruses will now read your e-mail and have their servers check that the links are safe by visiting them. If you made a server and sent transaction URLs through e-mail, the antivirus servers would initiate that transaction on the behalf of the user. Who would be responsible for that transaction?
 
best object name ever: RequestReportRequestReportRequest
 
InternalFrameInternalFrameTitlePaneInternalFrameTitlePane
MaximizeButtonWindowNotFocusedState <3
 
@Pheonixblade9 is it real?
 
@gurun yes
 
12:11 AM
Auto-generated?
 
On the topic of open source. I started a new project yesterday. My son (6) needs a server for his MineCraft PE. Something that I can control.
I'm his hero right now .. he hasn't realized yet that these things .. take time :-)
 
it is generated from a Fakes assembly, yes
 
But for that stuff.. getting people is not a problem .. more problem keeping them away.
 
@gurun you could always do a VPN to your server
 
?
@Pheonixblade9 you mean for the "i can control" part?
 
12:15 AM
more for keeping people out
 
hehe. No, we had a discussion about where to find coders for another open source project i have..
 
Ugh back from math lab
 
s/at/et/
 
12:31 AM
wut
is that math!?
 
It's geek-speak for find and replace
 
Oh.
Well still working on that tic tac toe AI.
 
It comes from the [s]earch command in vi/vim, or something
 
it's the kind of thing you need when chatting from iPad
@KendallFrey isn't that substitute?
@gurun now connected his MC PE to his own hack.
 
@gurun that might be it
 
12:40 AM
@Tokencodingnewbie hello hello
 
Hey hey Josh2
 
haha
 
Since I'm older I'm the OG
 
2 > 1
Josh 2 > Josh 1
Mwhaha
I feel like making tic tac toe now
just to join you
 
Ugh
You'll finish it before I do.
 
12:41 AM
How far you got with the AI?
 
I was thinking about it at work today.
No further than last night, played some Dead Rising 3, went to bed.
 
This is a good sign :P
 
Then work, math lab, just got home.
 
math lab?
 
Yeah I have to do 2 hours of it a week.
Basically sit in a room and do math on the computer.
 
12:42 AM
how come and what is it?
 
Part of the course.
 
course?
 
Essential Math 2.
 
Why you taking it?
 
Then pre-algebra, college algebra, pre-calc, calc 1&2, physics...
Computer science major.
 
12:43 AM
Ahhhh
 
I need pre-reqs before I can do any computer classes though :(
 
Well, if it makes you feel better, you'll know way more than me
 
Well hopefully I can help you out one day.
 
In the UK (when I was at school), you leave at 16 and I have done no maths since.
In terms of study anyway.
 
I was simplifying radicals and doing some formulas today.
The distance forumula uses xy co-ordinates, like tic tac toe :P
 
12:45 AM
I do not know what a radical is.
 
@Tokencodingnewbie Convince me to write code.
 
@KendallFrey do it now
 
@OMGtechy I do! I do!
@OMGtechy But I'm laaaazyyyy
 
@KendallFrey we should have a tic tac toe race
up for it?
 
a race to what?
 
12:46 AM
To make tic tac toe
in C#
 
well, you'd be screwed
I'm already done
 
Why? :P
 
I already know what to work on, but motivation...
 
@KendallFrey Code a game to help teach coding :P
 
Ha
I just do it for fun @Tokencodingnewbie
 
12:48 AM
Everyone has tried to, but it always fails.
 
Have you seen Alice?
 
As in Java?
 
I used that a bit a while ago
afk
 
I would avoid it because Java
 
So do I. Basically my goal is to just make awesome RPGs. I don't care if they get big or not. I want there to be a people who are so intrigued by it they try and work out the formulas and stuff.
 
12:49 AM
@Tokencodingnewbie that's a good goal
 
I had an idea for a cooking RPG, but someone said I was biting off more than I can chew trying to make it.
 
Making games is taxing yet rewarding.
Cooking Mama? :P
But yeah, realistic goals man
 
I know :(
It made me stop coding for 2 months.
plus girl problems at the time.
 
Nothing should stop you programming ever :P
Even when my laptop broke, I went to the library and borrowed peoples
You will never stop me!
 
I was super discouraged.
I think I was lamenting in here one night and KFrey gave me a pep talk.
and started giving me these coding assignments
 
12:54 AM
Programming is like a journey; so long as you keep walking in the right direction, no matter how slow, you will reach your destination or die trying.
 
How I feel about weight loss.
 
It's hard to know if you're walking in the right direction with that though.
 
Been dieting, lost 131lbs, been kind of yoyoing
 
Well, you know you can do it at least.
 
In the past I've tried insane coding projects as someone who didn't even know how to pass a parameter into a function.
and I would get upset and quit "IM 2 DUM"
 
12:56 AM
Mmhm, hence why setting realistic goals is important.
You want me to write the AI for COD? No fucking clue. I could bash something together, but it wouldn't be good.
 
I was trying to run my own MUD lol...
 
MUD?
 
I had the source code (in C)
Multi user dungeon, online text based games.
I also had 2 other ppl working with me
both lazy af
 
haha
Well, now is your chance to make the best tic tac toe ever
and I shall join you
 
I think I'm going to read more about the minimax and try and base it on there.
and not use the example source code.
 
1:00 AM
I think you should get something that works first
and then worry about idiomatic solutions after
Then you understand why things are the way they are
Rather than just being told
For example, people rarely understand why C# doesn't allow multiple inheritance until they try it in another language like C++
the perils soon become clear
Of course C++ says "if you want to, go for it"
C# is a little more "nudge nudge not a good idea"
 
The only thing I can think of is having a check to see how full a row is or a column if it has one X = 5 2 X's = 10 so the higher the risk the more the AI needs to place its self in the row/column
 
Well last time we established that if the AI can win, it should make that move always
so get that done first
 
I remember my early days - coding flash (AS2), the IDE was a mashup between MSPaint and an IDE. I remember making an object, then copying and pasting each instance along with the code. Changing things was a nightmare. When I learned about classes, I facepalmed so hard :D
 
I'm trying to get it done, i just don't know how to do it in code haha.
 
@user1112560 but you learnt
For me, interfaces (well, the equivalent in C++) were a revalation
now, template metaprogramming
 
1:06 AM
You know how to do it in real life, break it into steps, and work out how to do each individually.
 
Yep
 
Well I was trying to do this.
public void test(int element)
        {
            if(DeterminePosition(element) == 0,0 && DeterminePosition(element) == 0,1)
            {

            }
        }
 
@OMGtechy I was under the impression that learned was valid. Am I mistaken?
 
@user1112560 I wasn't pointing out grammar problems, I was saying that you gained something from the experience
I treat both as valid personally
 
Oh, definitely :), just saw the bolding and got curious.
 
1:07 AM
hrm, lemme rethink this.
 
@Tokencodingnewbie I can see what you're trying to do
keep going
Imagine all possible winning positions in your head
you'll notice a pattern
 
The logic's there, keep pushing.
 
just like with the / 3 and the % 3 thing
there was a pattern
finding it was the problem
The way I'm thinking is essentially 3 checks
of course you can chain them together in a giant return statement haha
but readability over anything else
@user1112560 why don't you have a go at making tic tac toe too?
I am
 
Sure
 
I've never done it before amazingly
 
1:16 AM
ok so the pattern? To win you have to completely fill a column or row
I was thinking my last idea over and it's dumb :(
 
FWIW, I didn't write code to check rows and columns
I just made an array containing the possible ways to win
 
@KendallFrey HAXX
xD
 
a multi dimensional array?
 
With some very minor tweaking, I could make it so you can win with a triangle
 
@Tokencodingnewbie the row column thing is a good place to start yes
@KendallFrey just...no :P
 
1:19 AM
@Tokencodingnewbie I think that's what it was, even though the concept was more an array of tuples
 
an array of tuples x_x
 
Oh, BTW, if you want another "next step" for tic-tac-toe, try Quantum tic-tac-toe
 
@KendallFrey I will do this mwhaha
 
@Tokencodingnewbie You remember what a tuple is, right?
 
I know of it, but I don't like grasp all of it.
 
1:21 AM
@Tokencodingnewbie just stick with what you've got for now, then you can look at it and reflect seeing how far you've come
 
public void test(int element)
        {
            Tuple<int, int> pos = DeterminePosition(element);

            if(pos.Item1 == 0 && pos.Item2 == 0)
            {
                risk += 5;
            }
        }
Well I did this, but then I thought
how the hell is it going to take risk and have it equal where to go?
 
Simpler solution
how can you tell there's 2 in a row with a space left?
 
if checks? D:
 
and for column etc
What would the check be?
you'll need two operators here, && and ==
what you've got it almost there
 
if(pos.Item1 == 0 && pos.Item2 == 0)
 
1:24 AM
fuck the risk thing though
 
oh so that isn't it
It made sense in my head.
 
Haha
That happens a lot
 
and didn't when I started writing it out
 
-1
Q: Relationship advice

CoolbanazThere is this guy that likes me or (loves me , thats what my best friend say) and he is friends with my bestfriend's boyfriend He thought I was cute so he started talking to me (I'm in high school I'm a sophomore and he's a junior My bestfriend would take off guard snapchats (short videos) of m...

 
 public Tuple<int, int> DeterminePosition(int element)
        {
            return new Tuple<int, int>(DetermineRow(element), DetermineColumn(element));
        }
Could I take this
and have it be like
again not making sense.
nvm
 
1:27 AM
You've got 3 methods there
 
I was thinking something like DeterminePositon == true :/
 
You're getting there
Not DeterminePosition though
If you want to check all columns...
use...
pause
(this is where you come in)
 
Some kind of loop?
haha
IS IT RECURSION
 
You're thinking too complex
Think simple
 
Is thinking too complex some kind of newbie thing?
 
1:29 AM
Can be yeah
== English == === Phrase === KISS Acronym of Keep it simple, stupid. ==== Derived terms ==== KISS principle === Anagrams === skis...
 
It plagues me D:
KISS is used in culinary school too.
 
So, as a human, how would you check if points are in the same row?
or column, take your pick
0 1 2
3 4 5
6 7 8
there's a lovely grid for you
0 0 0
1 1 1
2 2 2
that's rows
0 1 2
0 1 2
0 1 2
that's columns
I cannot help any more than that without giving you the answer
If you think anything even remotely complex, you're doing it wrong
Ask yourself how you do it as a human.
 
I look at 0 , 1 , 2
 
why?
This is just a question to prompt thought
 
I'm not sure why, it's just how the game works
 
1:34 AM
Well you need to understand how you think if you're going to work this out
I've given you three grids there, all of which you can access in your code quite easily
How would you get the row or column grid, given your "normal" one?
 
This is suppose to be difficult right?
haha
I feel like I might now make it sometimes.
 
Nope, if you're thinking difficult you're thinking too hard.
The way of thinking is learnt through practice.
The actual thinking isn't difficult though.
 
so it's not a loop.
 
Ok I'll break the problem down more for you
 
if(isSpotTaken(DeterminePosition(element))
I tried doing this.
but it's not allowed ;_;
 
1:42 AM
yes it is
Anyway
given 3 positions (Tuple<int, int>'s in your case), work out if they're in the same column
Or even given 3 indices, but I was trying to make it easier to work out first
 
@OMGtechy Check out this youtube channel: youtube.com/channel/UCOGeU-1Fig3rrDjhm9Zs_wg
 
ok so Determine Position returns what column and row they are in.
0,0 etc
 
It does yes
Tuple<int, int> is that position
Item1 is x
Item2 is y
@KendallFrey already have ;) I really like the 12 tone video
 
I know you have
hehehehehe
 
Well, now I'm confused, but ok
thanks for telling me about something you knew I already knew about xD
 
1:47 AM
@KendallFrey hmm?
 
I was bored, so I decided to do some research
I know what email address you logged into Stack Overflow with.
 
@KendallFrey you do?
 
I do
 
What is it then?
And how did you find out? I don't know if it's public or not.
 
If it wasn't public, it will be soon.
 
1:49 AM
Creeeeeepy
 
Doesn't bother me
 
tech.....no@......com
 
Correct
Now how?
Internet stalker.
 
Anywho
Am I getting close.
public void test(int element)
        {
            pos = DeterminePosition(element);
            if(pos.Item1 == isSpotTaken(element) && pos.Item2 == isSpotTaken(element))
        }
 
@OMGtechy Your email is public, I merely checked it against your SO profile
 
1:49 AM
@KendallFrey where is it public?
I don't care btw, but I like to know
 
@Tokencodingnewbie you're mixing two problems into one
 
Dammit.
Plus it says invalid arguments D:
 
indeed
that function makes no sense
Do what I suggested
make a method that works out if all provided points are in the same row
 
oooh, nice, I just found your address
and mine :(
phone as well
 
1:52 AM
Cool
A lot of info about me is public
 
You do better than a lot of people
I've talked to people about their families
 
@KendallFrey Quit scaring him away, he is helping me!
 
@Tokencodingnewbie You're next muahahahaha
 
You'd shit a brick if you saw where I lived.
 
I try and keep relatively anonymous, got anything on me?
 
1:55 AM
@user1112560 not much
 
What about me Kfrey
also am I going in the right direction?
        public bool isRow1(int element)
        {
            return DetermineRow(element) == 0;
        }
 
You don't have links to anything on your SO profile, that makes it hard
I'm guessing you don't have a website either
 
I don't have much.
 
@Tokencodingnewbie closer, but you still haven't done what I've asked
 
1:58 AM
7 mins ago, by OMGtechy
make a method that works out if all provided points are in the same row
 
so you'll be given 3 points
 
ok, I had a snack, wish I could have a smoke. Let's try this again.
 

« first day (1438 days earlier)      last day (3504 days later) »