« first day (1665 days earlier)      last day (3359 days later) » 
00:00 - 18:0018:00 - 00:00

6:14 PM
@Joe Yeah, mainly that leg.
 
I think I added too much peanut butter too my asian noodly dish
really good but really peanut buttery
 
6:30 PM
:D
 
@JoshPetrie Sounds like a weird deal to me.
 
@SpartanDonut !!
Don't you see the sign?!
They need you!
1
Q: Get a SharePoint ListItem ID from a List where the 'Title' field is a specific value in JavaScript

Rick ListerI am trying to extract the ListItem ID of a List which I am currently NOT in based on a field value in that List. I cant find anything that explains how to do this. So, to explain. I have a Custom List called 'Department'. I have another Custom List called 'Article'. I have a field in the 'Artic...

It's SharePoint related! You're an expert!
 
Well it is SharePoint.StackExchange
 
It's your world :O
 
6:45 PM
I've got 1186 rep there and I just looked, spent 600 rep on bounties in hopes my questions get answered
 
@Lokkij that's a great vid
 
84 answers
I kind of don't participate anymore unless I have questions. People tend to not vote / accept answers and I feel I've wasted my time
 
Aye, nothing more annoying that spending time on answers and not getting them marked.
2
 
Just finished reading "Javascript: The weird parts"
Tried this afterward.
These values really should be reversed.
Or at least have min be 0.
 
min should only ever be 0 if it's an unsigned type.
 
6:56 PM
@AidanMueller I actually got to the Javascript: The Weird Parts page that elaborates on the reasoning behind that one... one sec.
 
Yeah, it's in the comments.
 
Ah well then
 
Still is messed up.
 
I feel like both should return NaN or something
considering what the functions are for
 
Yeah, NaN or null.
Or just an exception.
 
6:58 PM
That would be best.
 
Javascript is stupid. I kind of like it but it's still stupid.
 
I don't get how it got to be the defacto for browser scripting. :P
I guess it's just the ease of it.
No need to install anything. Browsers just run it.
 
I think the most logical way would be to have both Math.max and Math.min return 0 when no arguments are given.
 
7:00 PM
And seriously, the websockets really need to be controlled better, similar to the file API.
 
7:11 PM
@AidanMueller what game ?
 
@Almo You weren't kidding when you said Thrall is fun.
 
Damn he's so much fun to play.
 
@Wardy I didn't make that.
 
@Lokkij :D yeah he's awesome
 
7:12 PM
oh ok
I thought it was a screenshot of something you were building
is that kerbal space program ?
looking closer i can see that it looks like it now
I didn't really look before
lol
 
I was just interested in the blue glow
 
@Wardy You should play the game BTW.
 
I have played it before
been a while though
i didn't get far ... i think i played with it when it was in beta
 
Don't you mean alpha? It just barely went into beta.
 
7:15 PM
must have been then
lol
 
It's a lot of fun. You should watch scott manley's videos. They help a lot.
 
My planet gen is coming along nicely now :)
 
That's good.
 
that's my latest
roughly 1/12th the size of earth (1km diameter)
 
Jon
we need to go bigger
 
7:18 PM
im curious to see what a planet the size of earth might look like now ...
 
@Wardy OpenGL?
 
hmmmm time for some testing
@AidanMueller unity ... my voxel / noise toolkit based engine
 
Ah.
You wrote unity? :P
 
No its my engine code running on top of unity obviously
lol
I wish i could claim i wrote unity
 
Haha.
Well I wouldn't find it that cool since it's not FOSS.
But then again it would still be kind of cool.
 
7:20 PM
I wrote my own "clone" of the System.Threading.Tasks stuff, just need to get this planet stuff using it now
then i can scale up to earth sized planets
 
Whatever you do, don't put unrealistic orbits into the game.
 
right now im just doing this to load test the voxel engine code
 
I hate it when planets are like right next to each other and aren't falling into each other.
 
to see how far itll stretch
 
Or when planets on the outside are going faster than planets on the inside.
 
7:22 PM
yeh lol ... my plan is that i wont be making that sort of game
this is really just about having an engine that can handle this if others want it
 
my game plan is based around floating islands
planets make a good base
can gen then deform them in to "asteroid like" shapes
essentially what i need
 
@Wardy yeah, a planet that size doesn't have enough gravity to keep the water and atmosphere.
:)
looks very nice though :D
 
my aim is to have it ready to go with a set of scripts that would support a "real" solar system
so if you want to build a space game you can grab my package in unity and just drop a new game object on the scene then drop a solar system component on that
job done
then off you go building your game in that solar system
because its all voxel based too the plan is to have some sort of storage system and server based saving if need be
i'm thinking if i use minecraft style file formats then the 2 could be compatible
data could be swapped between them
just a thought at the moment though
no final decisions made yet
 
I would make it format agnostic.
 
7:28 PM
well you have to choose a format at some point to drop the data to storage
but there's no reason why i couldn't offer up an API for saving the data
that way others can plug in their own storage providers
 
7:46 PM
hahaha
if that's blocked due to url profanity:
I need to remember that site, if I ever come across needing to use blocks, I'm sure I'll not know how to format those declarations
 
@Wardy is it generated in real time?
 
yup
 
I mean only the surface texture (the only thing that can be seen)
then you are on the right track ;)
 
takes about 3 seconds to render a planet with a diameter of roughly 0.5km
 
Not every frame though, right?
 
7:54 PM
no that's just the initial data gen process
and building the base mesh
 
OK :)
 
the plan is to thread the process to gain more speed
so i can get that sort of time on say a planet roughly 5km in diameter
might not be possible but worst case you spend the 5 seconds up front to gen the side your are looking at then gen the rest whilst the game is running
 
@AidanMueller So using pygame.Mask didn't work.
 
hmmm making big planets may be a problem ... there are limits to the texture size i can give to unity shaders
 
Use multiple textures?
 
8:06 PM
yeh i wondered how i might do that, im thinking the problem will go away when i sort out the meshing problem
right now the planet is just a texture splatted on a unity sphere object
I need to gen the sphere myself
tht way i can chunk it
 
Jon
you just need to render the surface
no need to render the core
 
that's all im rendering jon
but a planet the size of say ... the moon
has a diamter of 4km
 
@AidanMueller I moved on to another idea now. I need to be able to set the color of all pixels on the circumference every time the radius increases.
 
so assuming 4km = 4k x 4k in texture size to generate the heightmap data ... bang!
 
Couldn't understand how the Midpoint algorithm works yet tho.
 
8:10 PM
so it would prob be best to split in to max 2k x 2k sections
I currently have a bug in my cartesian to spherical coord converter method
its spitting out normalised values that basic always sit in the top right quad from what i can tell
If i fix that i should be able to get my own mesh gen building the planet mesh
 
In computer graphics, the midpoint circle algorithm is an algorithm used to determine the points needed for drawing a circle. Bresenham's circle algorithm is derived from the midpoint circle algorithm. The algorithm can be generalized to conic sections. The algorithm is related to work by Pitteway and Van Aken. == Algorithm == The objective of the algorithm is to find a path through the pixel grid using pixels which are as close as possible to solutions of . At each step, the path is extended by choosing the adjacent pixel which satisfies but maximizes . Since the candidate pixels are adjacent...
So would anyone care to try and explain this to me? I really want to get this done.
 
@Jovito lol im doing the same thing in 3d
pi r2 is your friend :)
you might find it easier to do it the way I'm doing it @Jovito
 
Another problem is that the radius could increase by more than 1 on the next frame, and I don't know if pygame would be able to do it fast enough.
 
given a point and a distance you can fill an array with values that determine if they are inside or out of the circle
its a voxel algo in 2d
 
8:44 PM
@Jovito that algorithm is pretty fast
way faster than what you can imagine :P
well I'm not so sure about modern architecture but it was so in the old one
the idea is simple
you start from one of circle points
lets say the top one
and move to the left
you know as long as you reach the 45deg, 'y' will always be greater than 'x'
 
Is there a simple way to find out how many cores my pixelshader/fragmentshader has available? I'm trying to explain how a GPU is more efficient at the same operation over lots of data.
I figure comparing 2-8 cores of my CPU with the number of cores on my GPU would show this nicely.
 
also you know, changes of x is more rapid compared to changes of 'y'
 
I have 1152 CUDA cores, but I'm not sure that's the same.
 
so you keep increasing x,
 
@Ali.S isn't it the opposite? y changes faster than x?
 
8:46 PM
depends
on the start point
I've started from top of the circle towards right
so you just keep increasing x
and whenever you ran out of circle (by checking 'x^2+y^2 > r^2') you have to decrease y by one
 
@William'MindWorX'Mariager it's basically the same. very basically. CUDA cores have different abilities than the AMD equivalent, and both have different abilities than CPU cores. but the basic concept of "it does the calculations, and 10 of them do 10x the calculations," that much is accurate.
 
@Jovito not now
 
@Ali.S k :/
 
i'm mid game right now
 
8:54 PM
@Ali.S after then?
 
some of you might find this interesting
 
kk
 
some theory on random number generators
 
@Ali.S k, let me know
 
Is this offtopic?
0
Q: Is XNA still relevant?

user62081I am currently devlopping a game with XNA. But the community seems to not be active anymore. That's why I am asking if I should still go on... What's the advantage of using Unity3D ? Will I be able to use skinned models and custom shaders with it ?

 
user4704
9:00 PM
Yes.
 
Yeah, I thought so.
 
user4704
BANG. Dead.
 
9:22 PM
if random numbers are important to you, checking out this page may help you:
 
now I want to write my own
 
I have just started using sin() and cos() for some vector movement..
I'm not getting it right yet.. This sorta works:
var radians = this.angle/Math.PI*180;

    this.x += this.velX * Math.sin( radians );
    this.y += this.velY * Math.cos( radians );
But the angle just seems random o_o
I guess coz its "+=" and not "=".
 
doubt that, setting the x and y wouldn't make sense. you need to mutate it
as you are
 
ups
I want to find out how to make some simple consistent movement at the angles. 0, 90, 75 whatever should stay the same direction :D
 
@OliverSchöning you need to divide by 180, not multiply
var radians =  -((this.angle - 180) * (Math.PI / 180));
 
9:37 PM
@Jovito so we won
 
that works for me @OliverSchöning
 
@OMGtechy it works! Thank you! I wish I wasnt so stupid :D But I'll learn it eventually.
 
@OliverSchöning No probs, I didn't have a clue, I can just harness Google like a boss
 
haha niice
 
Knowing how to use Google gives people the impression you know a lot. People at work are astounded that I seem to know everything about every language, but I just look it up...
One day they'll twig.
 
9:40 PM
Hehe :p Well it helped me a lot. I get a grip on this stuff soon enough
 
The only languages I actually know anything notable about are C++, C# and Python
Oh and Sacul, but I wrote it so that doesn't count.
 
U wrote a language :p ?
Is it on github?
 
Great news everyone. Finally got miracast working. Can stream audio / video from my PC to the TV.
There is some latency for gaming. I wouldn't want to play Street Fighter on it but playing Sonic Generations was very playable.
 
@OliverSchöning I'm still writing it, it's gone through a lot of stages...at the moment I'm documenting the latest version, then compiler writing fun time
@SpartanDonut I've never managed it aha, you legend
(miracast)
 
@SpartanDonut AWESOME now I can watch tv over your shoulder from that webcam I installed outside your house.
 
9:44 PM
Seems the drivers are there now for modern GPUs (for NVIDIA its Maxwell based ones - I'm using GTX 970). It took me a little bit to realize I had to reenable the 2.4ghz WiFi band though xD
 
shhhhh
 
:P
 
I have decided I like Python's type annotations. They are completely optional, don't enforce anything, help the IDE and can replace some of those ugly docstrings.
 
Interseting, even thought the message has been remove, when I hover over it it still highlights the message I responded to.
@Lokkij is you life better now? :P
 
A little bit. ;)
 
9:47 PM
cool
 
@Ali.S lol?
 
@Jovito nope dota
 
@OliverSchöning you should try designing a language, it's fun
 
@SpartanDonut LoL game tonight maybe for your new role?
 
9:49 PM
I sometimes wonder if I'm the only person here who enjoys it though
nobody else is that bothered, although I get a lot of helpful comments on things I've done
 
Maybe
 
I think I might like it, but I'm pretty sure I wouldn't finish one unless I had a task that really needed it.
 
@Ali.S so Wardy and I thought of a solution that might work and I'm gonna try that now
 
@Almo making your life easier :D
 
it would make my life harder
 
9:50 PM
kk
 
@Ali.S I'll let you know if it doesn't and we can talk about Midpoint
 
there wouldn't be any UI/game dev tools I could use with it
 
ok
 
@Almo not true
unless you designed it that way
 
Like I want to use Interface Builder in Xcode
that's going to be Obj-C or Swift
I want to use Cocos2D
that's Obj-C or Swift
 
9:51 PM
And? You can compile to another language
 
yeah I really want to fuck with that
 
The first compiler I wrote for this compiled to Python 3
 
@almo I don't like ObjC
 
@Ali.S I like ObjC
 
well, there is something wrong with you :P
 
9:52 PM
Aside from that though, many languages allow you to call C code
so you might be able to do something similar
 
it's just easier for me to use what I have
 
How boring
:P
 
How productive and pleasant*
 
I don't find Obj-C keeps me from doing what I want to do, so I don't see that writing my own language will make anything easier for me
 
4 mins ago, by OMGtechy
I sometimes wonder if I'm the only person here who enjoys it though
^ xD
 
9:54 PM
when I'm in pure C, I get grumpy about its horrible strings, but that's not a problem I've had for a very long time
5 mins ago, by Almo
I think I might like it, but I'm pretty sure I wouldn't finish one unless I had a task that really needed it.
I'd like designing the language, but not the hassle of doing the edgework to make it useful.
 
Two strings walk into a bar, one says ""$"£@$"£FDSAFK"K£$", the other says "sorry, he's not null terminated"
@Almo just do that bit then, that's fun too
 
hahahah
 
We do that through you
 
ahaha
 
and Mick when he asks about his
 
9:57 PM
I've not seen him ask about his in a long while.
 
i really want to answer that but im not sure I'm prepared to take the rep hit for my sarcasm
0
Q: what is the basic concept behind online games?

Abdalltif BasherI want to make a 2D car race game which the camera on top perspective like this: And i want to let users play against each other online, Is it about sending sprite position data from the user1 device to server then from server to user2 and vice versa ? Or any suggested tutorials or books desc...

 
@Wardy I left a comment
 
hahaha
answer it, then delete your answer and you get your points back
 
na cmon folks, don't be nasty
 
My answer would be something like "try using a game engine, those things are used for making games"
i mean his question is sooooo vague it really needs vague answer
 
9:59 PM
na it needs to be clarified, bullying gets you nowhere :P
well you do feel better about yourself I suppose
mocking "lesser" folk
not saying I've never done it, but I am trying not to
 
lol ... it just bugs me when people clearly havent bothered to think about what they are asking
 
MLM
@Almo Awesome video! Thank you for sharing
 
sure, any time :)
my math bud sent that to me
 
@OMGtechy I think that was polite but hopefully informative for the OP
 
@Wardy indeed, although I think it should have been the usual "it depends" comment. Still, no harm done
 
10:08 PM
Well either its worthy of an answer or the question should be closed altogether
I was trying to avoid the closure
I hate it when i'm stuck and a community says "your question isn't any good"
well duh that's why im asking ... im stuck
 
but some questions are better off being asked somewhere else
like that one
we have a standard to maintain here, as it's not just a free-form forum.
2
 
ayone know how to make a unity transparency shaders work
 
I like most of Bard's design, apart from the uninspired ultimate and strange name.
 
im trying to render my perlin based cloud texture over a planet and its all or nothing
 
@Wardy Unlit/Transparent
try that one
 
10:16 PM
either i make the lot transparent (no clouds) or i dont (cloud + black)
 
@Lokkij R = Zeratul's void prison. I like the one-way portal thing. Need to get into the enemy base through the wall? no problem!
 
Every other game has the 'void prison' ultimate; not especially interesting. I really like the portal and passive which both encourage roaming.
 
yeah
 
10:44 PM
Woa... Greg Johnson created Starflight... and Toe Jam and Earl!!!
(also worked on Star Control II)
 
Hey Everyone!
I been learning python
I come up with these cool mini games ideas I could make with Pygame
But everytime I realize I could do it better and easily with JavaScript and Canvas instead
Such a sad life >.>
 
@Almo those were zany games back in the day, I remember them being very weird but fun, funky music and stuff
 
@TheMuffinCoder write it anyway :D
 
@OMGtechy But the problem is
 
Nothing wrong with Python
 
10:54 PM
yeah the first game was great because it was so not like anything else
the second was asked to be more a standard platformer, so I lost interest in it
 
If I wanted my friends to play it they would need to download it
 
didn't play III
(Xbox exclusive)
 
@TheMuffinCoder umm, yes, and?
 
But if I made it in JavaScript I could just make a jsfiddle
 
they're going back to the first game's design for this one
 
10:54 PM
@TheMuffinCoder you can make standalone executables from Python code
 
xD I wish that was good enough
 
^^
 
But I think they wouldnt do it
 
@TheMuffinCoder they would not need to download Python or anything, just an executable file and that's it
 
But I will do it still!
 
10:55 PM
in other words, your game, that's it
 
I'll just rewrite it in JavaScript afterwards
 
write it in Haxe? :P
 
:P I dont want to learn Haxe
It was to improve my Python skillz
 
do it then :P
 
I see a lot of job opportunities with Python :D
Hey I could even post my mini game to the pygame website
 
10:59 PM
@TheMuffinCoder doesn't matter too much, company I work for hired me to work in Python mostly even though I knew almost none at the time
 
@AttackingHobo Oh yeah.
 
11:38 PM
So sad
I cant install python
I get "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
>.>
 
00:00 - 18:0018:00 - 00:00

« first day (1665 days earlier)      last day (3359 days later) »