« first day (1666 days earlier)      last day (3357 days later) » 

8:02 PM
welp, I've just started and already my ECS architecture is a huge mess
 
Joe
^ when you figure this out let me know :D
 
Jon
Diagrams are for managers
 
I found using diagrams to lay out some of my more complex architecture tasks helped
 
Jon
yah, but I don't make diagrams
the BAs can do that bullcrap :)
Man, what is happening to Canada... frig
 
8:27 PM
what you mean
 
Hey Everyone! :D
I realized what my problem is trying to install python
 
It wasn't Haskell
 
Pip
hey
 
Apparently my MSI database is messed up
Time to edit my registry files again
 
Jon
Harper is trying to pass this anti-terrorism bill, that is super vague
 
8:32 PM
:(
 
Jon
Says shit like "general terrorist activities"
They are saying that, if passed, no one will be able to oppose his Pipeline, since it is a key infrastructure of Canada now
Saying that if you pro-actively are against the pipeline, they can legally investigate your entire life
We are basically getting fucked up the ass by a sonofabitch
Think about the fact that there was 160Billion dollars invested in those tar sands, you can more than likely understand his reasoning behind all this bullshit
He is looking out for his pals, the corporations... while slashign their taxes, essentially taking from the middle class, and giving to the rich
I'm so sick of it -- why the fuck did everyone vote for him . ugh
 
Joe
whos this Canadian John Kerry?
 
Jon
All i see is a big stinking turd
 
Joe
so yes
 
Jon
Read up on it if you are interested...
 
8:47 PM
Anyone here know of a good political/nation simulation game?
 
Jon
Every person who, by communicating statements, knowingly advocates or promotes the commission of terrorism offences in general—other than an offence under this section—while knowing that any of those offences will be committed or being reckless as to whether any of those offences may be committed, as a result of such communication, is guilty of an indictable offence and is liable to imprisonment for a term of not more than five years
 
Think more democracy 3 than simcity
 
Jon
That is verbatim from the bill
How vague is that? like how is that even a legal document?
 
Pip
@OMGtechy Democracy 3
oh lol
 
ahaha
wait, that wasn't on purpose? xD
 
Pip
8:48 PM
no it wasn't :P
I got it! Democracy 2!
 
ahaha
 
Pip
:D
Tropico?
 
@Jon that doesn't look very vague to me, except for the definition of terrorism itself. republicans love to call everything terrorism.
 
Pip
> The Geo Political Simulator Series is is considered the highest standard of the Political Simulator Genre. If you're looking for a Political Simulator and you haven't tried it yet, then it comes highly recommended. Once you've played Geo Political Simulator, it becomes the golden standard to which you hold all other Political Simulators to. Democracy 3 is a childs sandbox compared to great vast and unforgiving desert that is the Geo Political Simulator.
 
Jon
as per the law, just by stating what I wrote here, would make me a criminal
 
Pip
8:49 PM
According to Steam, Geo Political Sim @OMGtechy
 
@Pip just looking at that now, we ended up on the same psot it seems :P thanks
 
Jon
I could incite a riot in the country opposing the bill
 
Pip
@OMGtechy :D
 
@Jon there's some legal precedent for the "reckless" term there, like "reckless endangerment" laws. those laws aren't applied every time someone gets hurt anywhere, though it does give a lot of business to whoever makes the wet floor signs, lol.
or I guess I'm thinking about US laws, not canadian
 
Jon
I don't want my personal information snooped into by some random private company
Just because I have an opinion
 
8:53 PM
agreed there
 
Jon
Not much is stopping them if this bill passes
They can make up any bullshit story to get access to anyone's information
Quite frankly, I think he wants to use it to suppress protesters
He has a really strong stand against anyone who opposes him
 
@Almo that nerf to smite is actually the least bad nerf to junglers since preseason started. and in a vacuum, it probably would have made sense. problem is, very few junglers can actually survive the jungle as it is now, and the best of them didn't really need that smite, so it's just a nerf to junglers like udyr who were already struggling a lot.
in the same patch, they added a cost to switching smite types, which is also a nerf to junglers who were already struggling. sejuani, for example, needed the aoe smite to farm well with, then she switches to chilling smite once she's able to gank more often. can't do that now.
 
Pip
This is one of the big differences between LoL and Dota
Valve does some stupid things, but they try not to piss so many people off
 
so the viable jungle pool puddle is down to vi, j4, rek'sai, and (situationally) shaco. ww can survive the jungle but he's only so much use in team fights. sejuani is still usable, but only because her ult is so strong in team fights. she'll be way behind everyone else because she kills things so slowly, so she won't be able to fight without her team close by.
oh and lee sin, but only after you learn the micro needed to not get executed when playing him
before preseason, there were at least 3x that many viable junglers
riot keeps parroting "jungle diversity" and reducing that diversity with every single patch
 
Pip
lol
 
9:06 PM
@Pip hard to piss off that many people if your userbase is small.
 
ooooohhh
 
how did that have so many downvotes?
 
youtube people are insane. do not attempt to understand them, or you may be drawn into their madness.
except for berta lovejoy. she's hilarious.
 
Pip
@Almo lol
FUCK YES
user image
2
 
Jon
9:14 PM
righton pip
 
Joe
yea boooi
what was it? im saying lol what was the problem to your weird paths
 
Pip
pathfinding with obstacles
@SpartanDonut lookee
@Joe Don't know, I totally redid my all of the pathfinding stuff
it's like 400% faster too
uses a minheap now vs an unsorted list
much better
 
9:30 PM
woa
I'm thinking... is he scratching the paint with that thing?
 
Pip
@Jon I changed your minheap a bit to reflect the non-use of Unity
and some other misc changes :D
I can link it to you if you want to see
 
Binary Heaps are way better when it comes to pathfinding
 
you should say they're "heaps better"
 
hey guys, I was wondering, how do I set a texture2d object without using the inspector?
 
set it to what
 
9:37 PM
e.g in my script I initialize it like public Texture2D cursorTexture = null;
then I want to load the resource and set it to the texture/cursor I have
to the path
without using inspector
 
ok just a sec
Texture2D _atlasTexture;
_atlasTexture = Resources.Load<Texture2D>(name);
 
Pip
@Almo lol
 
where name is just a string name of the texture to set
 
Pip
@Almo yes
@KalaJ in what tools?
 
is string just the name of the file?
 
9:38 PM
that's C# code, BTW
 
Pip
should be
 
that's fine
 
it's the name of the texture
 
I'm using Unity3d and C#
 
like if it's "mytexture.png" then name = "mytexture"
 
9:39 PM
yup that's what I meant
thank you
I'll give it a try
 
it knows from the <Texture2D> what to look for
if you have a problem, then try adding the .png, but I don't think you need it
 
ok but best practice wise, should I put this in start()?
 
Jon
@Pip ah you used my code?
 
Pip
most of it :D
Only for the minheap tho
 
Joe
@Pip you redid your whole pathfinding that quick? and you been debugging this for how long? lol
 
Pip
9:43 PM
I spent like a week doing that
wasn't working because I was an idiot
 
Joe
that stuff happens
 
Jon
you know how there are producers, and then executive producers of television shows?
How come there are no executive programmers?
 
Pip
6 hours ago, by Pip
public IList<Vector2> FindPath(Vector2 start, Vector2 end)
{
    	List<Vector2> path = new List<Vector2> ();
    	return path;
}
 
Jon
i want to be an executive programmer
 
Joe
@Jon because producers get their titles by supplying money and programmers do work
 
Pip
9:45 PM
That was the pathfinding function before :P
6 hours ago, by Pip
private IList<Vector2> FindPath(Vector2 start, Vector2 end)
{
    return this._pathfinder.FindPath (start, end);
}
that's the new one
much better :P
 
Jon
looks like mine
 
Pip
the original was perfect though :P
Return an empty list :D
@Jon read
public IList<Vector2> FindPath (Vector2 start, Vector2 goal)
{
    pathFound = true;
    ResetNodes ();
    var frontier = new MinHeap<T> ();

    T startNode = new T ();
    startNode.Pos = start;

    T goalNode = new T ();
    goalNode.Pos = goal;

    startNode.Goal = goalNode;
    frontier.Insert (startNode);

    cameFrom.Add (startNode, startNode);
    costSoFar.Add (startNode, 0);

    T current = null;

    while (frontier.Count > 0)
    {
        current = frontier.RemoveRoot ();
        Console.WriteLine ("Current Node: " + current.Pos);
sorry for SE code format
that's better
 
@Pip nice!
the proud feels
 
Pip
:D
 
:)
 
Pip
9:58 PM
I've finished pathfinding for now, I think, moving on to actual caravans and towns next :D
hey @Chris
 
hi
 
Pip
@SpartanDonut my todo list for today
DONE:
MAKE PATHFINDING FUCKING WORK
Make sure pathfinding works around obstacles
	- Create new mountain sprite
	- Make new map with mountian ranges
Complete reset of nodes during new path creation

TODO:
Display caravan sprites
Move caravans along routes
Display towns
	- Create new town sprite
	- Create new object
Town interactions?
 
It's a start
I don't know how the game will work so that's about all I can say :)
 
Pip
:D
lol, messed that up
 
10:37 PM
sup
 
hey
 
Pip
sup Jovito
Noice, I've got a new texture
Needs some smoothing, but looks fine for now
 
11:00 PM
Guys!!!
I can see a fire from my window!!!
 
oh no you're gonna die! i.imgur.com/z756abc.gif
 
it's on the news!!!
xD first time I see my town mentioned on the news
 
Ahaha IGN actually put School Days on a list of 'anime worth watching'.
(school days is widely regarded as one of the worst anime ever made)
 
isn't school days the one where a harem goes really, really bad and everyone dies, or something like that?
 
Basically this guy solves his problems by (literally) fucking the girl related to it and gets killed by them at the end.
 
11:07 PM
ah okay
 
watch code geass
 
I started school days, and both the voice acting and animation was horrible, so I dropped it after just one or two episodes
 
it's worth watching
 
Pip
Oh man done so much stuff today :D
 
I think I'll watch Baccano.
 
11:09 PM
@TheMuffinCoder pfft everyone who actually watches anime has seen that and death note.
 
@Pip
https://www.youtube.com/watch?v=XOtgWo30528
 
Hasn't seen CodeGeass
 
D:
well Baccano is great too, so you can watch that first
but eventually, watch code geass, lol
 
(actually, I think I watched the first two episodes)
 
code geass's story develops a little slowly, but eventually it gets incredible. the second half is what really makes the series amazing.
kind of the opposite of death note, lol
stein's gate, attack on titan, and gintama are usually my next recommendations. I know you've seen the second one though.
 
11:26 PM
time for a badly drawn question
 
thats beautiful
 
if I want to figure out what position B is in from A
like, B is north east, or about 0.125f
is there a math function like this, or any suggestions?
 
pythagoras
84
Q: How do I calculate a point on a circle’s circumference?

Justin EthierHow can the following function be implemented in various languages? Calculate the (x,y) point on the circumference of a circle, given input values of: Radius Angle Origin (optional parameter, if supported by the language)

 
reading
 
note that coordinates don't have to be "horizontal" and "vertical"
you could have X be an angle and Y be radius
store it in a Vector2 just like normal
I made Dave do that once. Those were fun times... lol
 
11:39 PM
yeah, A and B are Vector2s really
 
Pip
Whoooo I just did a huge refactor :D
 
ohh so you have A and B as positions, and you want to figure out where it is on the circle?
 
yeah that sounds right
 
just subtract the components
 
not quite
 
11:40 PM
so if A is 0,0
and B is 1,1
I want something that tells me it's north east, or a circular 0..1 notation or even 0..360
 
Distance = Vector(mod(VectorB.x - VectorA.x), mod(VectorB.y - VectorA.y))
 
that won't give an angle, Jovito
 
true
 
Pip
@SpartanDonut Welp, I'm up to 2835 lines :D
 
you want arctan
working on the math now
 
Pip
11:44 PM
@Chris that's surprisingly easy actually. I think you can plot a point at the 0 degree mark (by getting the radius by subtracting the components then getting the Length) then do a little math
or do what Icy said
 
vec2 relB = B - A;
float angle = arctan(relB.Y / relB.X);
float radius = relB.Length;
I think that will do it
 
lemme try
 
and then you can divide the circle on eight parts and assign a cardinal direction to each
 
the angle will be in either degrees or radians, so you'll have to normalize that if you want it in 0-1 format
 
Pip
Icy's solution is better :D
Envio is starting to get pretty big. I broke the 2k barrier, level up!
Up to 2835 lines now
Total current, not total written
that's a lot more ofc
 
11:48 PM
suddenly, you figure out the first 500 lines don't scale like you expected and now you have to overhaul the entire thing ._.
 
Pip
lol
I've been making tweaks like that on and of
 
and here I am just playing league all day
 
Pip
I did a HUGE refactor around 1.6k-1.8k LOC
Like... took weeks
It took maybe 20 hours to do that
Super happy with the work today
I think I broke 1k LOC today
whohoo
 
@Pip confession. I give no shits about LoC :P
but good work
 
@IcyDefiance thanks, my implementation seems to have either side be between -1.5 and 1.5
 
Pip
11:53 PM
idc, achievement for me :D
thanks
 
Anyone uses any software to keep track of the amount of work that gets done on a daily basis?
 
Pip
Nope, just VCS (version control software)
 
if I make any progress by the end of the day, I back it up and say hey, I did something at least
 
Pip
I personally use Git
 
I've been much more productive since I found out about this: codeivate.com
 
11:56 PM
sounds like a tool that doesn't help the end result of what you're trying to make
maybe good on a personal level, but
 
I find if I try to track my progress with anything, I end up focusing on crappy goals like "write 500 loc" instead of actually solving problems.
given, it might prevent me from playing league... XD
 
haha
 

« first day (1666 days earlier)      last day (3357 days later) »