« first day (2135 days earlier)      last day (2899 days later) » 

user4704
12:19 AM
I'm usually not a fan of this sort of Boost.Spirit template hackery, but github.com/ColinH/PEGTL is pretty neat.
 
user4704
Much nicer for doing syntax highlighting than the collection of disgusting regex I was using.
 
1:07 AM
They manage to say "Donutz" 13 times in 30 seconds.
(I think it was 13... might have miscounted)
 
mmmmm, donuts
 
@Almo Too late D:
I got this one.. looked too nice to not buy :P
Hopefully it'll be here by June 13
 
Pip
1:49 AM
mmmmmmmmmmmm donuts would be great right now
@Jon This is so true
 
2:17 AM
quick question guys (i'll be offline by time u answer but I'll check the history) how long do u think it takes to learn how to use a engine proficiently?
How many weeks would it take to understand Unreal engine that you don't have to constantly look up everything but isn't a expert yet?
 
user4704
3.
 
user4704
(who cares if you have to look up stuff? it's huge, that's okay)
 
2:34 AM
^
 
Sie
@JoshPetrie Is it bad that I still sometimes get confused with operators?
Mainly Relational Operators.
 
user4704
Defined "confused."
 
Sie
I know how to use them but sometimes I forget their values and have to fix them.
 
user4704
What do you mean, forget their "values?"
 
Sie
A > B and A < B I'm fine with but sometimes I get the ordering of >= or <= wrong.
@JoshPetrie I forget which does what from time to time and need a refresher.
 
user4704
2:40 AM
Um. You mean the precedence?
 
user4704
Do you mean you forget that the = means "or equal to?" I'm not sure what you're meaning here.
 
Sie
@JoshPetrie Precisely. Like I know what == means but sometimes I forget what >= or <= means and have to look at a cheat sheet. I'm getting better but occasionally I need a refresher.
 
user4704
That's pretty straightforward memorization. You'll learn it eventually.
 
>= is greater than or equal to
<= is less than or equal to
 
Sie
I also still occasionally have trouble using arguments and parameters.
A lot of this stuff comes with time I guess though.
 
2:44 AM
yeah it's learning the syntax
 
Sie
Man as much as I love Kendrick Lamar a lot of his songs are really hit and miss with me. I don't know about you guys but I've always liked different songs from different artists rather than albums.
 
 
5 hours later…
7:36 AM
@Almo yo man check this out: assetstore.unity3d.com/en/#!/content/12047 I think it exactly what you need to see Debug.Log() on android.
 
 
1 hour later…
8:39 AM
1 hour later...
 
Jon
9:27 AM
You are the Micheal Scott of gdse
 
@Jon imagine a gamedev company composed only from the people in here :D.
 
It wouldn't be long before I was crucified.
 
Nah, you can make some utilities
You're not allowed to touch the game until you learn a better language though
 
@KevinvanderVelden careful now you might get banned for 30 mins... like me that one time
 
@UriPopov I think someone tried that once. :P Well, at least a group from this place.
 
9:39 AM
@WilliamMariager did it work out ?
 
figured as much :D
ok my AI in the kids game plays the game tool well. What do? Implement another strategy called stupid or wht ?
 
Improve the AI to calculate sub-optimal choices and choose one of them
Making a perfect AI is typically easy, making a good AI is really fricking hard
 
so I'm making a Stupid Strategy. Any suggestion on when the AI should pick it ?
perhaps I'm overthinking it. It's a simple kids game so maybe the AI should just randombly pick the stupid strat from time to time.
 
Not enough information to give that an answer
 
9:50 AM
well I'm off to a investors meeting. wish me luck
 
Good Luck.
 
Jon
It really depends on your game
AI is very specific to what it is you are doing
 
 
1 hour later…
11:07 AM
wazzup
 
How are you?
 
Good!
And you?
 
Me too, thanks
 
From what country are you from?
 
11:15 AM
@AlexandreVaillancourt Israel
Sorry, couldn't resist
 
@AlexandreVaillancourt Ukraine
And you?
 
Is it possible to procedurally generate visual appealing textures for different materials? Just asking braindeadly, as textrues are the main problem for me, I can't even draw a fucking stickman that looks like a stickman
 
@NaCl Sure thing. Lemme find an example :)
 
@WilliamMariager Hokey, thanks mate, so then I'll try to do that 'now'
 
11:27 AM
Tilemancer is another interesting tool.
 
@JesusChrist Canada!
 
@AlexandreVaillancourt Do you work in some of the Canada game studios?
 
@JesusChrist Nope! I've worked for one small studio before, but they burned me, so I no longer work as a game developer.
 
@AlexandreVaillancourt do you work as developer at all?
 
11:34 AM
@JesusChrist I do!
 
@AlexandreVaillancourt what are you working on? Databases?
 
I build simulators used to train new operators
 
What do they simulate?
 
Mining trucks, forklift trucks, etc...
 
Jon
Boooring
 
11:39 AM
Well, I had to drive forklift trucks back in time while playing Shenmue
 
Jon
I write governmental program management software that deals with billions of dollars in grants
 
You wrote you mean?
 
Jon
We use floats for currency
 
I got NaN€
 
Jesus Christ...
 
11:40 AM
NaCl...
 
@Jon Tell me it isn't used now
 
Jon
I was kidding
 
Thanks God
 
Jon
Numerics
God?
 
Hope that team would never write a software for nuclear reactor...
 
11:52 AM
Nothing wrong with using floats for currency.
Especially in Java where you can be sure the data is not lost :)
 
@ShaunWild explain
 
@ShaunWild uhm
 
@ShaunWild what do you mean by that?
 
That's a decimal which is not a float
A decimal is a fixed point format
 
`float am = 5.4f;
System.out.println(am); //outputs 5.4, not data lost`
 
11:54 AM
You have no idea what you're talking about
 
pfff
@KevinvanderVelden +1
 
No, sorry.
 
@UriPopov you can do what I did for Fanarona on ACIII... invert the value function. So he prefers bad moves.
 
@ShaunWild float t = 0; for ( int i = 0; i < 1000; i++ ) { t += 0.001f; } System.out.println( t );
Try that
 
No.
 
11:56 AM
Why?
 
Because you just spend the last 2 minutes typing it and I'm sure you'd be very frustrated if I didn't.
 
Okay well it wasn't nice knowing you, bye o/
 
LOL
 
Jon
If you use floats for currency in any language you are doing it wrong and should be fired
 
I know. I was just winding Kevin up.
Currency is discrete so an integer is fine
 
12:00 PM
Who is using float for currency?!
Ohhh...
Whoever is using it should ask the US military if floats are a good idea for any precision task.
 
@UriPopov but the other answer shows Unity gave us the option finally.
1
A: Can I Debug.Log() on Android without all the callstack spam?

Eirik WYes, you can now. If you accept that stack traces also disappear from Debug.LogWarning() and Debug.LogError(). Just do this at startup: // We do not want stack traces for all log statements. (Exceptions logged // with Debug.LogException will still have stack traces though.): Application.stackTr...

 
would the military use floats for any kind of missile guidance system?
 
Jon
Read the article
 
@WilliamMariager aah right, they "fixed" that by just restarting the system every day or so
 
@KevinvanderVelden Yup
 
12:04 PM
that's quite cool
I had a missile in a game once that couldn't hit targets due to float rounding
 
DH.
~Bullshit Detector Alarm~
 
@DH. well it's shaun...
The tiny icon keeps moving
 
Guess it was BigDecimal anyways
 
I lied sorry.
 
DH.
You don't say Mr. Java
 
12:11 PM
Hey.
 
Although late, still on-topic
 
DH.
Better late than later, that's the spirit NaCl
 
Jon
Man its hard to dumb myself down for some people
 
What if its easier to smart-er up people for you?
 
Jon
I explain how to manipulate noise data like it is super easy
 
12:16 PM
oh is this for your article?
 
Jon
I guess it might be more difficult to grasp for newcomers
Naw gdse question
 
@Jon Hey Jon, can I take a look at it?
 
Jon
6th newest one
 
I'm still a noob so I can tell if it easy or not to understand :P
 
Jon
On phone hard to link
 
12:17 PM
0
Q: Texture Mapping to procedurally generated geometry

Cherkesgiller TuralI developed a soft that procedurally generate some surface from given points in 2d. Number of points and order keep same in all generated geometries. But I cant calculate texture coordinates automatically. How can I calculate texture coordinates for all type of generated geometries or can I gener...

 
0
A: How can I apply Perlin noise to generating an asteroid from cubic voxels?

JonHere is how you can blend data of noise and gradient together, in 3D. This should provide you with asteroid style shapes. First, our container to store the Data: public class MapData { public float[,,] Data; public float Min { get; set; } public float Max { get; set; } public...

^ presumably
 
Jon
Yep Kevin got it
 
lol I was about to link that
@Jon wait how is this not clear?
I don't even use Unity and I understand what to do because of how clean the code is
lol I just noticed how GDSE is basically UnitySE
 
Jon
It is clear for me
Not so much for the op
 
rip op
 
12:20 PM
@Jon Try Vagisil, as shown in southpark, it makes you stupid
 
@NaCl But then u have to race in nascar
 
Jon
Lol
 
What if Jon wins and leaves us to become a professional racer?
 
No, @Jon is not poor enough to race in nascar
 
ooo u right
 
12:21 PM
He'd have to give me all his money
 
Dont worry, the steam summer sale is almost here
 
@TheMuffinCoder Why did he add tags for DirectX, Vulkan and OpenGl?
 
I think OP might not understand 3D very well at the core
 
Jon
Or noise generation
Gotta start somewhere
 
I like noise
Can someone explain Veronoi to me and how to use it
And what it's used for
 
Jon
12:29 PM
It is used for various things. It can be used for map generation
It is just a style of noise data
 
Lots of info on there!
 
@AlexandreVaillancourt Go away
 
Jon
It's actually not really noise
More like.... Random interconnected shapes
 
user92578
12:30 PM
 
I'm not clicking on that
 
user92578
Hey @Jon just a reminder about that lighting stuff you wanted to show me
 
"A Voronoi diagram is a diagram that contains a set of points and a set of edges. The edges partition these points in such a way that, if you were to pick a random location in the diagram, and look at which set of edges you're inside, the location you chose is closest to the point inside those edges than any other point in the diagram. The edges in a voronoi diagram lie in the places where a location is equidistant to two or more points."
- http://www.upvector.com/?section=Tutorials&subsection=Intro%20to%20Procedural%20Textures
 
user92578
@ShaunWild I'm still waiting for your Java software renderer
 
Jon
Ah yeah. Well basically you set a Color value for each tile
Then you plot these colours onto a render target
Then you draw and blend this render target over top you scene stretched out
Each tile is 1 pixel in you shadow map
You need to clamp it at the right spot. And you need to be smart on how you set the colors
If you want gradients for example
 
user92578
12:35 PM
That sounds kinda smart, however I'm not sure how well SDL blends textures, but it might be interesting to try that. Sounds like a cool Friday project on a separate branch :)
 
Jon
Shit pic but whatev
Shows you
 
user92578
Oh that's smoother than I thought
 
Jon
It's the way it is drawn I'll give you the blending information later
 
user92578
^ Sounds like I can't do that
 
Jon
SDL should be able to
 
user92578
12:39 PM
This is what I have: wiki.libsdl.org/SDL_BlendMode
 
Jon
Yeah additive I think
 
user92578
Oh, okay
 
Jon
Code is at home
 
user92578
I'm not allowed to dev today but I'll give this a shot first thing tomorrow
 
@Jon well if it's not an on accessible server wtf is your problem
fuckin stone age bs
code is at home grumble grumble
 
Jon
12:41 PM
Hahaha
Can connect to anything from here
 
"can't"?
 
Jon
Proxys are fucken insane
Can't
 
right thought so
:(
 
Jon
Yeah that is why I do gdse on phone
Kills productivity
 
ooooh
 
Jon
12:42 PM
Gotta switch all the time lol
 
user92578
But how the shadows so smooth?
 
Jon
Work. They don't get it.
Magic
The Color values are calculated based on the tile
 
user92578
Looks like I forgot my verb there. Oh well
 
Jon
If a tile is surrounded by tiles it will be darker. Gets lighter as you approach an edge
Then if you stretch it out it gets smoother
Make that 1 pixel fit a tile
 
user92578
Oh, stretching, hmm
 
Jon
12:45 PM
Efficient as you only plot 1 pixel per tile on your render target
 
fucking outlook
some emails are breaking it (like open the email, outlook freezes) so I right click to hit delete, and it opens it while I'm navigating the menu
 
user92578
Yeah it's a cool technique
 
user92578
Stretching might be hacky, but should work
 
these are emails from the jenkins build process
 
user92578
Currently I've set SDL to nearest neighbour (or none)
 
user92578
12:47 PM
So I'll need to swap that
 
Jon
Worth a shot I can give you code later to help
 
user92578
That would be great, thanks a lot. Definitely worth a shot
 
1:00 PM
@Tyyppi_77 Works nice with RGB as well. :)
 
user92578
Oh man, stop teasing me!
 
Jon
Oh yeah
 
user92578
I can't wait for tomorrow...
 
Jon
Will was the original inspiration
 
I'm the most fair muse. <3
 
Jon
1:03 PM
You do it via shader though right?
What happened to you anyways will. Where are all your updates and shit?
 
The spreading effect yeah. The application is just like you said, with an additive layer.
 
Jon
Yeah I precalc the Color values at CPU
Then update when block removed/added
Update only the tiles that get "dirty"
 
Exactly.
@Jon Heh, I'm not very productive when in school apparently. I'm hoping to get something done during the summer, although I'm in the process of starting a project with a company, so that might take all my time anyway.
 
Jon
So life
 
I've come pretty damn far with my rogue-lite. I was planning on finishing it up during the summer. But it depends on the other project. Starting a career has to take priority.
 
Jon
1:08 PM
All this wasted time at school you know enough already just quit
Life advice by Jon
 
Hehe. You can always learn more. :P
Life advice by Billy
 
I vote for finishing school
 
Jon
CRITICAL ENHANCEMENT REQUEST
Not sure how a ER can be critical
Considering it is an enhancement and not a problem
 
I tried creating a sort of collision detection that would make it possible to slide along walls (if you only hit on one axis) but at higher speeds it ends up stopping the player to early.. any suggestions? I couldnt find any simple collision detection for this lol.
https://dl.dropboxusercontent.com/u/53738503/buggy_collision_detection/index.html
for ( var i = 0, il = SOLIDS.length; i < il; i++ ) {
	if ( PLAYER.y + PLAYER.h > SOLIDS[ i ].y && PLAYER.y < SOLIDS[ i ].y + SOLIDS[ i ].h ) {
		if ( PLAYER.x + vx < SOLIDS[ i ].x + SOLIDS[ i ].w && PLAYER.x + vx + PLAYER.w > SOLIDS[ i ].x ) {
			vx = 0;
		}
	}
	if ( PLAYER.x < SOLIDS[ i ].x + SOLIDS[ i ].w && PLAYER.x + PLAYER.w > SOLIDS[ i ].x ) {
		if (  PLAYER.y + vy + PLAYER.h > SOLIDS[ i ].y && PLAYER.y + vy < SOLIDS[ i ].y + SOLIDS[ i ].h ) {
			vy = 0;
		}
	}
}

PLAYER.x += vx;
PLAYER.y += vy;
 
when you post code, click "fixed font"
 
1:17 PM
grr sec, fixing
The link is html/js so can just see what I mean right away
 
:D
 
Hacked that one together today lol.
 
1:32 PM
well that investor was a piece of ****
 
I mean, yes, investor
 
why even call me for a meeting, If he is going to say at the end that they currently have no money, they were supposed to have money, but they will have money around september.
 
-24
A: Add a red tooltip signaling that the "offensive" flag is a nuke

K3NIn my opinion, "offensive" flagging should be removed altogether. It should be hard to label something offensive1). If a problem occur that requires immediately attention the "in need of moderator intervention" should be used (or spam when appropriate). If actually offended1) the person would do...

lol, this guy
 
DH.
This doesn't sound as an investor, more like a scammer
 
They are actually a legit fund.
 
Jon
1:57 PM
Hmm why am I still getting points off a closed question? (that I answered)
On SO not GDSE
 
What actions can be performed on a closed question?
 
Votes certainly
 
That would probably be it, then.
 
Jon
I thought voting on a closed question didn't award points
 
It does, if it's deleted they get reverted
 
Jon
2:02 PM
Ah. It's from 2009
Lol
 
@ShaunWild Actually?
 
2:27 PM
Bye chat history
 
thanks for taking the time to investigate @ArtOfCode
 
65 messages moved to Trash
no worries
 
Jon
Mah man
 
Huh not sure why that send me an invite to the trash room
 
lol I got one too
 
Jon
2:28 PM
Same
CRITICAL ENHANCEMENT COMPLETE
 
Yeah, that's a weird function. I'd really like a checkbox to stop it doing that
 
So guys, am I being cray-cray for generating a 32768-bit RSA key as my new key?
 
possibly a teensy little bit
 
Jon
Lmao
 
@MickLH naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah
 
Jon
2:31 PM
Now type it out by hand
 
Modulus: 2271296850[ 9845 digits ]2950357023
Public Exponent: 3892912334[ 4922 digits ]7887189871
That's as close as I'm gonna get to typing it out
Is it enough to serve as a fingerprint?
It took about 30 minutes to generate :P
I'm gonna embed it in my game client and hope it lasts long enough that by the time it's broken, I can replace the entire cryptosystem with something that will last for the rest of my life. Or that we will know that asymmetric crypto is technically impossible by then.
 
nice, I got just a 65536 one
 
fuck that just made me realize... I could have a 31337-bit key for approximately equal security
 
but why would you use a number that isn't 2^x?
 
wake up CPU... time to get hot
@ArtOfCode because 31337
it's a very elite number
perhaps the "eleet" number even
well, odd, technically
 
Debug.Log("Stop! Hammer time!");
 
return;
 

« first day (2135 days earlier)      last day (2899 days later) »