« first day (2104 days earlier)      last day (2923 days later) » 
01:00 - 21:0021:00 - 00:00

Sie
1:14 AM
You guys ever have friends who you found out aren't really your friends?
 
1:33 AM
yeah
not terribly often
but it sucks ass when iot does
 
Sie
Ya it does.
 
Sie
1:48 AM
Anyway...
Here is the latest devlog on The Vertex Whisperer - elysrealm.com/blog/…
2
 
 
6 hours later…
7:54 AM
Mornin all
 
morning!
 
8:44 AM
Morning
 
 
3 hours later…
DH.
11:25 AM
Morning guys
 
user92578
Hi
 
user92578
11:41 AM
driving school starts tomorrow
 
user92578
so nervous that I can't really do anything
 
DH.
Just relax, it's not that hard
You just need to learn how sensible the things are
 
user92578
luckily it's just a theory class
 
user92578
but going to new places and situations makes me really nervous
 
DH.
Oh I thought you meant the practice ones
 
user92578
11:53 AM
naw
 
user92578
those are going to make me really nervous too
 
12:45 PM
@Tyyppi_77 nah the anticipation will stir you up more and more the closer you get
but then the driving will relax you when you see how easy it actually is
I think it only takes like 1 or 2 turns to kick in, where you realize that the 1-ton brick of metal you're piloting actually just glides smoothly towards where you point it
 
I got the job! :D
 
@WilliamMariager I thought you had one?
:D
 
user92578
Nice! Congrats!
 
Now we just need to agree on a salary and I'll be ready to go. :D
 
user92578
I did not know you were applying for one though
 
12:49 PM
@Ali.S Driving a taxi? :P
@Tyyppi_77 I mentioned it a few days ago. I'm disappointed you didn't notice. Aren't you here 24 hours a day?
 
@WilliamMariager You're driving a taxi for work??
 
DH.
Oh the one to work with C#?
 
@MickLH I did. :P But this is a C# developer job.
 
@WilliamMariager man... I always had a plan to travel to you, and have a tour around the city with you :P
 
@Ali.S :P
 
12:50 PM
@WilliamMariager Schweeeet!
 
@WilliamMariager congrats then
 
Thanks.
 
user92578
@WilliamMariager Except at nights. I'm sorry!
 
I actually had no idea you were a taxi driver, now I'm scared what if you saw me one of those drunk nights in Denmark where I needed a taxi :P
 
Going to be a bit stressful the coming weeks though. The deadline for the job is in three weeks. Also in the middle of finishing up the project at my university. And we got exams coming in three weeks as well, so I need to read up a bit.
Oh, and I'm going on the operating table in two days. :P
 
12:52 PM
Read up muthafucka!
jc wtf is going on @WilliamMariager ?
 
Well, one course is just OOP with C#, which I'm good to go with. The others are Computer Architecture and Discreet Math.
 
Jon
they are reducing the size of his head
 
@Jon You got it!
 
Damn I knew C# was a big transition, but you seriously have to have surgery to have your head shrunk to work with it??
 
12:54 PM
lol I'm being 20% difficult sorry
 
Jon
they need to release air buildup otherwise he would float away
 
Anything to get ahead in the C# Hunger Games. :P
 
Jon
the best part about c# is that it works with .net libs
 
Shit... if jon was already being 75% difficult that updates my difficulty to 35%
 
110% difficult sounds about right ... :P
 
12:56 PM
lol I think you have to add them up like stats
75 Difficult / 25 Easy + 35 Difficult / 65 Easy = 110 Difficult / 90 Easy
110 Difficult Instances / (110 + 90) Total Instances = 55/100 = 55% difficult
 
I don't think the rest of Jon is Easy though. And I know the other part of you is sarcasm.
 
fuck you're confounding my variables
 
Make sure to give updates on your new stuff, always good to share experience like that
Employee of similar jobs sharing experiences with each other helps keep the workplace fair for everyone
 
I think the coolest part is that the CEO said he'd be willing to help me sell the solution afterwards for some royalties.
So basically, I develop this process optimizing stuff and he'll put me in contact with other companies with a similar need.
 
DH.
1:01 PM
That's cool
Getting into the market is the hardest part anyway
 
Yeah, and he's willing to help me out, getting in contact with the right people and such.
 
Listen you better get rich motherfucker, we need more rich people to be you so things don't melt down
 
Oh definitely, I'll be rich soon, I promise.
Now I'm just impatiently await the salary offer ...
 
Planning a bankrobbery? :o
 
Is it called salary? I get paid by the hour.
@KevinvanderVelden Too much effort ...
 
1:07 PM
Drat
 
user92578
Treasure
 
I have a quick question, is there a performance differenz between calling a method out of a class and using a interface to call this content of the method ?
 
@WilliamMariager I always thought of salary as being when you're paid a fixed amount every year, and wages as when you're paid per hour
 
difference*
 
@MickLH So it's a wage offer?
 
1:08 PM
@genaray Do you mean to ask if there's a difference between virtual and non-virtual function calls?
 
@genaray Unlikely.
If there is a difference, it's going to be small. It also depends on the language.
 
@WilliamMariager depends on the language
 
I think C# only does virtual calls.
Well, not only, but mostly.
 
That's java which has virtual by default, C# doesn't
 
1:09 PM
Even in C++, virtual function calls are barely more expensive than non-virtual
 
Hey because im currently trying to add some attack states to my player, first i called them through my class but now im using an interface to handle the states of the player, so there isnt any difference in java right ? :)
 
the performance ranges overlap on modern hardware
 
Without Hey*
 
There's a difference but you're not gonna notice it so don't worry
 
Don't worry about the speed of your program at all ever
 
1:10 PM
Unless you can document an actual issue :P
 
Ok thank you very much :)
 
I am being serious, and not too extreme
 
And don't try to document it unless you have an actual issue.
No issues, no worries.
 
You literally never have to worry about app performance, it will slap you in the face nice and hard when it matters
So, you can just carry on pretending everything is magically perfect until it reaches out and knocks you over by itself
 
The worst part about premature optimization is that your implementation will likely change and now you have to do it over. :P
 
1:12 PM
@MickLH unless thinking about algorithms, those are rather hard to fix =p
 
Lol yeahh I rarely fix an algorithm, I just replace them with other algorithms
 
Yup, which requires a bunch of overhaul and refactoring generally
So it's worth it to think about those before starting
 
Though you can always trust in that loud-and-clear face slap before worrying
 
I mean if you need to deploy something that is extremely fucking critical, of course you should analyse everything before sending people off to have a bad day crashing your program lol
 
1:15 PM
Easily avoidable. Don't use algorithms and never refactor!
 
Like if your software manages check-in at a hospital or something, I'd guess it's worth it to analyse asymptotic behavior of all operations on all data records
 
@MickLH That's my biggest worry 'bout my new job. I'll be the expert, as they don't have a software department. I don't know how I avoid breaking everything or what to do when I do. :P
 
@WilliamMariager Lol well I learned one harsh lesson when I went into the role of being the only expert developer at a company... Be assertive.
Like seriously, they will try to push you to "bend the rules" because they have no idea which rules can be broken and which ones are solid diamond with titanium rebar
 
@MickLH Yeah, they seem very willing to listen to my ideas and input, so it's starting out good.
I figure the first thing I'll do is make sure that there are proper backup services in place before I start to modify anything.
 
And if you get blowback on that, be assertive lol
 
1:19 PM
Absolutely :P But like I said, they seemed willing to listen.
Since they know nothing. :P
 
Lol I'm mentally scarred because I had to learn that those things don't always go hand in hand
Some people are not willing to listen, also because they know nothing :P
So it sounds like you've got a good group
 
welcome to the real world neo
 
Have some reconstituted blob food
 
1:38 PM
Can anyone help? I need some extra hands to properly express the facepalm needed for this: gamedev.net/topic/678515-operating-system-questions-in-assembly
 
Kill it with Death N.O.S.
Seriously anything is fine... fire, poison, natural disaster, fucking magic, as long as it contains a hearty serving of death
Kids this over-confident need to be knocked down a peg early on, or else they grow up into actual full sized ignorant assholes
If he were asking if it's possible, that's a different story completely...
The fact that he assumed it's possible and has built a plan relying on it... that's the problem with society.
That kid is the overall sum of problems with the human race manifest
 
DH.
@KevinvanderVelden How he got 214 rep and then do this question?... like, really?
 
Yeah, what's the phrase, fractally wrong?
@DH. nope. that's his total reputation, and it's not stackexchange, you get reputation for logging in
 
DH.
Ah OK then nvm
I thought it had to do with anything like getting likes on your posts
 
Ian's Impenetrable Sphere of Wrongness. It's so wrong, there's no way to approach it to address its wrongness... all attemps slide off its shiny surface.
 
1:47 PM
Luckily the sphere is always subject to the same pervasive failure as the underlying thought process, and a flaw can always be found with enough effort
Sadly, in practice most people's bubble of stupid shit is a close enough approximation to make it impractically difficult to address in passing.
 
DH.
Brute forcing it would be a waste of time
 
Of course, but it's a smooth function and you can search it with gradient descent or newton's method
If you want to get fancy you can track the responses until you have an example of two unique directions of evasion when you present evidence, and switch to a binary search style trust region so that you can do newton iterations without the risk of divergence
the metaphor actually fits surprisingly well lol
 
I'd just nuke it from orbit
 
DH.
"Kill it with fire" is always a good method.
 
Unless "it" is a supernova explosion.
 
1:58 PM
I mean, sufficient fire would probably kill a supernova? By turning it into a black hole but still
 
DH.
Well, if you ever are close to a supernova all you can do is say "FML", if you have the time and hope that your religion is right about afterlife.
 
(Assuming fire is plasma and you get enough around it to get that much gravity)
 
Supernovas turn into black holes all by themselves generally. Adding stuff just make them do it quicker, more violently, and leaving a bigger black hole behind.
 
"supernovae" ;)
 
That works too.
I might have watched too much Stellaris footage recently. :)
 
2:21 PM
They called! I'll be getting $20/hour starting. Now I just need to sign an NDA and I can get started. :D
 
DH.
wow nice
To USD conversion(and counting that Sunday I don't work but it counts towards the monthly worked hours) I earn less than half of that
 
@WilliamMariager :)
 
2:47 PM
New Blog Post- Movement Preview, starting to generate the world, movement improvement, wind patterns. kd7uiy.com/2016/05/sea-trading-game-moving-preview-fish.html
3
 
3:10 PM
0
Q: How can we improve the tutorial tag definition?

PikalekI saw a new user asking for paper2d tutorials & getting down voted. There were no comments indicating the reason for down voting, so it being a new user & all, I commented that asking for tutorials was not on-topic. The questioner challenged me on this, citing the tutorial tag. To me, the tag def...

 
@DH. Well, I do pay 38% base tax and then around 10% more in misc taxes. :P
 
Also cost of living is probably a bit different
 
I'd imagine so.
As far as I've understood, in the end, cost comes to about the same as the US for the average class. Where we pay more in taxes, in the US they pay more in insurance. Of course, there are things that very hugely. Our cars are stupidly expensive. :P
 
3:28 PM
Also @DH is from Brazil IIRC
 
Oh right. That probably doesn't compare easily to Denmark. :P
 
DH.
3:58 PM
I still don't pay taxes, for such low salary
I mean, not too much, I pay only a little %
 
We have a tax free low-bound of about $6500/yr. After that we pay the above mentioned. It does vary of course, you can get more tax-free like if you owe a lot of money or work a lot.
 
DH.
Hm... I do receive a bit more than that at the current exchange rate
What makes me not paying tax it's because paying the university for my bachelor degree gets deducted from the limit
 
Ah
Yeah, we don't pay for that, it's all through taxes here.
 
DH.
There's only a few universities that lives from the government, it sucks
 
DH.
4:06 PM
What helps me is that the company I work pay 50% of the university for me
(They don't do that only because of free will and kindness, they get reduced taxes for that :P)
 
4:21 PM
That's a great incentive though. :)
 
4:53 PM
My master's degree was paid for by my company almost completely.
I paid for books for the first few classes, and 1 class that I didn't get a good enough grade for the company to reimburse, but other than that...
 
5:18 PM
c-hash question. is this safe:
		for (int i = 0, count = _pendingPurchases.Count; i < count; ++i)
		{
			if (!CheckIfEquipped(_pendingPurchases[i].ItemStatsRowKey, _pendingPurchases[i].ItemTableKey))
			{
				_pendingPurchases.RemoveAt(i);

				i--;
				count = _pendingPurchases.Count;
			}
		}
 
lol josh drops in within seconds of the phrase "c-hash question"
 
Jon
that is quite some gross code there
 
It's not mine, and I wonder about List and if that's a safe operation
 
user4704
@Almo No.
 
I didn't think so. But I found it recommended here:
 
user4704
5:20 PM
You're fine to call RemoveAt() like that in a loop; the "don't modify while iterating" rule applies to enumerators (so, foreach)
 
29
Q: C# List - Removing items while looping / iterating

Ashraf Sayied-AhmadSuppose that I have the following code snippet: var data=new List<string>(){"One","Two","Three"}; for(int i=0 ; i<data.Count ; i++){ if(data[i]=="One"){ data.RemoveAt(i); } } The following code throws exception. My question is what is the best way to avoid this exception and to remove...

 
user4704
The reason it's unsafe is that it doesn't handle the case where i is 0 and CheckIfEquipped is false for that i.
 
ah ok thanks
 
user4704
So unless that can't happen because of some other guard, --i will result in hilarity
 
user4704
(or crashes, more likely)
 
5:21 PM
heheh ok
 
Jon
that being said, the code as it is written now wouldn't do anything but exit the loop if it removed at index 0
 
user4704
But the basic theory is fine.
 
ok thanks
 
They used the worst micro optimization ever there
for (int i = 0, count = _pendingPurchases.Count; i < count; ++i)
 
in Unity's version of .net, .Count is "slow"
if you do a benchmark and compare it to array.length, it's noticably slower
 
5:24 PM
But that's basically the most possible bug prone idiom for updating a list while iterating it
 
Personally, I'd never do that optimization, unless maybe it was a huge bunch of iterations every frame.
like millions
 
It's almost guaranteed that as the loop gets more complex, someone will eventually forget to update count somewhere
 
But it's something they want us to do to "get in the habit" so that if the loop ever does matter, it will be taken care of
ordinarily "count" doesn't change
it's just weird in this case because we're iterating over a list and changing the length of the list
 
Right so the rare time when it does change, is also the time when it would matter if anyone forgot to update count anywhere
 
yeah
 
5:26 PM
I consider .Count being slow a huge problem with Unity / Mono / wherever the source of that error is
I can't call working around it with something dangerous a "good" habit lol
 
I think my benchmark did an empty for loop with 100 million calls, and it took an extra half second over array.length
array.length was 0.5 s or 0.75 sec
so it's like twice as slow, or something
but still we're usually talking about picoseconds except for really long loops
personally, I'd ignore it
but it's not my call
 
lol that would make sense because .Length should just be returning an int
 
shouldn't .Count just return an int as well?
it's not .Count()
 
and so .Count returning .Length through 1 layer of indirection could take roughly twice as long, right? :P
 
Well, a List doesn't have .Length because it's not an array
 
5:29 PM
I figure list is implemented on top of something
 
IEnumerable
 
Ahhhh virtual function call overhead?
 
user4704
Not necessarily, some interface method calls can be dispatched without it.
 
user4704
(That doesn't always result in them being faster though)
 
I can't accept not ignoring the performance penalty :'(
 
user4704
5:32 PM
Count just returns _size, though.
 
user4704
If your benchmarks are misconfigured, however, you'll get the Contract.Ensures overhead.
 
Exactly, it's too small an operation to optimize
Twice the time of calling a function that just returns an int... is so trivial I seriously can't believe it's a coding standard
 
I agree.
I even tried asserting that we should only do it for stuff that gets called every frame, and I got the "habit" argument.
I gave them the benchmark results too
 
I need to yell at whoever is insisting on this
 
oh well, things can't always be perfect.
I'm just waiting for it to cause a maintainability bug and I'll bring it up again
 
5:36 PM
Or a bug at all, ever, even once lol
 
:)
 
Since the combined total time saved will NEVER add up to the few minutes spent debugging that
 
heheh
 
Not to mention the total employee time wasted typing the word "count" 3 extra times everywhere
I would bet money that combined in total, the 5 seconds spent on keystrokes each time, overwhelms the actual amount of CPU time saved. Not even considering that an hour of CPU time costs about 10 cents, versus what does a man hour cost?
 
the CPU time is lost by the users, not us
but I get your meaning
 
5:40 PM
So it's even more worthless to you guys
Because the CPU time is literally free, but the man hours still cost just as much
On paper, whoever is pushing this "habit" argument is throwing away time and money. I seriously can't get over how bad of a decision they have made there lol...
 
in mobile development, losing CPU to something silly is bad since there isn't much to go around compared to in PC development
but still this particular instance is the wrong time to worry about it
 
It's equivalent to hiring a mechanic but telling them that there's not much space under the hood, so they are going to have to leave their ratchet unlocked even when they use it.
And when they say that normally the ratchet is just faster and better, and they can just switch to a wrench if space is really so tight, they are met with blowback: "No wrench! You have to use the ratchet always, just leave it unlocked and awkwardly use it like a wrench. Do it if you want to get paid."
but.... "No! Get in the habit of awkwardly abusing the unlocked ratchet, so that it's easier to use it that way later."
 
the analogy doesn't really hold since in your case it's not possible to accidentally use the wrong thing in the wrong place
 
no?
 
maybe I don't understand your ratchet/wrench thing then
 
5:50 PM
That's just how insane the situation is -_-
You can't imagine how much I hate this guy lol... I mean seriously you're too nice to understand how deeply I despise this "human" trash you've mentioned as being the overall problem here
Managers and clients need to realize that they don't know what the fuck to do even slightly or else they would be the one coding it.
The main point I'm on is that when you hire skilled labor, you simply don't tell them how to be good at their job. That is the point of "SKILLED" labor.
 
hehe
 
Also that loop above, can't you just run it backwards?
 
I would think so
 
int i = _pendingPurchases.Count;
while (i--) {
	if (!CheckIfEquipped(_pendingPurchases[i].ItemStatsRowKey, _pendingPurchases[i].ItemTableKey)) {
		_pendingPurchases.RemoveAt(i);
	}
}
Boom, now if .Count were the expensive operation... (it's not -_-) it would be down to O(1) from O(n) worst case :P
 
the other is O(N)?
I thought it just looped forward, and didn't increment on iterations where it removed one.
Ok, so worst case is N items to delete
right?
if so, isn't yours also O(N)? I never learned O stuff well since I haven't studied CS
 
6:32 PM
Yes, it is
 
Yes it's O(n) which implies that saving the n .Count operations doesn't (asymptotically) mean anything
 
ok I think I get that thanks
 
I actually do like to do mixed iterate-delete in backwards order like that though :P
It's easier to reason about for me, because I'm only looking at values in front of the cursor, and only changing values behind the cursor
Also the left over i is almost like a function return value telling you what it got to before it hit break; or -1 if the loop never ran
 
@Almo this is extremely awesome
 
6:45 PM
thought you might like that ;)
 
Sie
@Almo The song was pretty good until they started sampling the girls voice in there. Why do these people have to ruin a perfectly good instrumental?
Cool video though.
 
:)
One of my favorite ambient artists happens to be bad at picking vocal samples
so he'll have a totally awesome track, and drop a bad vocal sample in there
he doesn't always fuck it up, but when he does, it's pretty bad.
 
Sie
Seems like that is the case with a lot of indie artists. Like that song had a great little track but then they had to have that dumb girl come in and say literally 2 words and put it all throughout the track.
Honestly I was thinking about reaching out to the artist and see what they might charge to let me use it in my game. I still might if they can get rid of the vocal portion.
 
heheh :)
 
Sie
Oh sweet. It has no copyright actually: youtube.com/watch?v=SKI1P2gEK54
I could probably edit the bits out. Maybe.
 
user4704
7:04 PM
@Sie I'd be careful with that.
 
Sie
Ya. Not sure how no copyright music will interact with my planned to be commercial product. Need to look into it more.
 
user4704
"No copyright" is not a thing.
 
user4704
Except in countries or jurisdictions where copyright itself is not a thing, I suppose.
 
Sie
So what is it then? A scam or just wrong terminology?
 
user4704
Wrong terminology.
 
7:06 PM
^
 
user4704
For any Berne convention country, any work is basically automatically held under copyright by the author.
 
user4704
The work may be explicitly placed in the public domain (which this is not).
 
Sie
It could be cc-zero and they didn't realize the term perhaps. I guess I should shoot them a message to find out.
 
user4704
Yea, you want to get clarification on the actual license terms.
 
user4704
In reality it's probably not public domain, but some CC-like license
 
Sie
7:09 PM
Well if does turn out to be cc zero or anything as lax as that I'll be good.
 
DH.
Public domain is a bit too much of "I don't care what you do with my work" and most people expect at least credits
 
Sie
Credits I don't mind.
 
Their standard license, basically: Free for use in youtube or twitch, monetized or not
 
DH.
If you plan to get some stuff for non commercial license you could check NewGrounds
 
And a for business inquiries
 
Sie
7:12 PM
@DH. I will check but I kind of want whatever music I get to be part of a set. As I think multiple tracks from different artists will not flow well at all.
 
DH.
Yeah it's hard to fit multiple artists for the same game, but it kinda works
 
Osmos did
 
7:45 PM
Which is the best book for learning Unity? Or the best way to start?
 
By making things
 
But which is the best book?
 
DH.
Start with watching and doing their tutorials
 
8:04 PM
There is no "best book"
different books would have different styles, and which is "best" will depend on the person reading it
 
user4704
There's no substitute for hands-on practice either.
 
DH.
Yeah, that's why I said to him to watch and do the tutorials. It shows a lot of the IDE and you get your hands dirty, so it's a good start
 
Sie
@PichiWuana Look into Brackeys and Pushy Pixels both have a host of great Unity centric tutorials.
 
8:29 PM
thanks
 
@Almo thanks. the donation system is cool hehe, give a little, take a little
 
:D
 
I've been tinkering with inventory/item management design past couple days
mulled over this one, didn't touch it yesterday cuz I think I like it
would possibly need pagination if you had a tonne of stuff
but it has nice categories, can display lots of stuff on the screen at once in a small screen real estate
pop-up info box just stays to the right of the row you're on
allows for mouse hovering as well as keyboard/controller navigation with ease
uses a grid system but isn't just a giant ugly box of squares, allows for some visual elegance I think
 
DH.
Hope to see it later, blocked here at work your image as I already told you lol
 
damn lol
 
DH.
8:42 PM
Damn Chris you could be less popular, then I could see your stuff at work
 
upper management hates me
 
8:53 PM
lookin cool chris
though... that brown color on the buttons is pretty ugly :D
 
yea
Might devise some icon backgrounds depending on item type and/or rarity
 
I think you have too many axes too
 
^
 
possibly
 
I tried using an axe as a potion once, it didn't go well
 
8:55 PM
they make great pets
 
but really bad helmets
 
eat, sleep, and breathe axes
tbh I've been staring at this axe for like 5 months now
very keen to make some new items soon lol
 
portable sacrificial kittens
 
I hope to create a Kitten Launcher
 
I hope you do too
I've spent far too much time learning about blood types; all I can think of is the kittens blood
 
8:57 PM
lots to do :)
but yeah, donned on me a few days ago, hey I've got my networking in, gibbing and blood is in roughly for now... time to make some items
hahahaha.
I dunno what blood types cats have
 
I've also discovered that the scene in Bruce Almighty where the lady talks about donating AB+ blood is a pile of crap
that is like the worst possible blood type to donate
aside from the plasma
Bitch needs to get her O- friends to go
hmm that's a point, I wonder what blood types cats have
 
I also need to decide if I want enemies to use items just like you can, or if I'll make enemies use their own magic spells. though any enemy ability could be turned into a physical weapon that you could use too
hahaha
 
01:00 - 21:0021:00 - 00:00

« first day (2104 days earlier)      last day (2923 days later) »