« first day (1230 days earlier)      last day (3736 days later) » 

2:00 PM
variables
math
 
example?
 
There's this thing called arithmetic
2
 
you're not helping me by not showing me?
help me to improve my sucky graphics.
please.
 
If you have sprites lined up on Y axis, then you want to set Y to animation frame * frame width
 
2:00 PM
It's really not rocket science
 
12 mins ago, by Bartek Banachewicz
4 mins ago, by Bartek Banachewicz
if it's 1x6 you could just have uniform int sprite_num; ... texCoord.y += sprite_size * sprite_num; or someshit like that
 
it is for me.
 
Though rocket science is much more fun
 
because you can't learn
 
Don't doublequote tia
 
2:02 PM
rocket science is simple really, eject shit fast :S
 
user3010322
If you can't break this problem up by using your brain and applying math to solve it, you're going to have a tough time beyond just this.
 
user3010322
@edwoollard Look, I made a template for you to fill in
 
user3010322
If you can figure that out, then you've unlocked the keys to your spritesheet kingdom.
 
user3010322
Good luck.
 
@ThePhD you are using normalized texel coordinates sigh
 
2:05 PM
@ThePhD ಠ_ಠ never not brace
 
user3010322
There's nothing wrong with normalized texel coordinates, because that's how the GPU expects them. vOv
 
user3010322
I've never seen integer texture coordinates.
 
@ThePhD except it doesn't,
@ThePhD you've seen little in general.
@thecoshman meh. Noise.
 
thank you @ThePhD
that looks good. :D
what exactly is this 2 defining though?
<float, 2>
 
@BartekBanachewicz meh. clarity.
 
user3010322
2:06 PM
=l
 
@thecoshman it's perfectly clear when it's indented
 
user3010322
It's an array with 2 floats.
 
¬_¬ oh, learn C++ too.
 
ohhh.
lol.
 
2:07 PM
makes sense. xD
I love the condescending tone in here. I've literally just started C++/OpenGL. ^^
 
@BartekBanachewicz unbelievable :O
 
user3010322
That doesn't preclude you from knowing how to break up a problem into pieces and solve the pieces accordingly.
 
@edwoollard Yeah, we're pretty happy with it too.
 
yayyyyyy.
I'm a noob.
 
But seriously, why are you trying to write OpenGL when you just started learning C++?
 
2:08 PM
I'm noob and I know it! (8)
 
noob has pejorative meaning, are you aware of that?
 
don't ask me, ask my lecturers.
 
Learn the programming language before trying to learn to use third-party libraries
 
no? @BartekBanachewicz
 
user3010322
Should have taken a C++ course or learned it before you started the course.
 
2:09 PM
we weren't required to.
 
@BartekBanachewicz nurb?
 
user3010322
Now you're going to crash-test two very hard things to learn: OpenGL's C API and C++.
 
everyone is in the same boat.
yup.
hooray for me.
 
user3010322
@edwoollard And what a fantastic boat that is?
 
You can learn C++ in only 6 years or so
 
2:09 PM
the very best of boats.
lol.
 
user3010322
"It's not required for me to learn something, so I won't and I'll struggle with everyone else in this here tar pit."
2
 
Well, basics
 
> Contrary to the belief of many, a noob/n00b and a newbie/newb are not the same thing. Newbs are those who are new to some task* and are very beginner at it, possibly a little overconfident about it, but they are willing to learn and fix their errors to move out of that stage. n00bs, on the other hand, know little and have no will to learn any more. They expect people to do the work for them and then expect to get praised about it, and make up a unique species of their own.
 
user3010322
Logical.
 
@CatPlusPlus can
 
2:10 PM
wow.
not at all @ThePhD.
 
@BartekBanachewicz who made up that definition?
 
but I joined the course and now we're learning c++....so I'm learning it?
 
@BartekBanachewicz That's just dumb
 
@jalf urban dictionary.
 
As evidenced by using 0 as o
 
2:10 PM
@BartekBanachewicz Oh, yeah, they're certainly an authoritative source
 
The second most reliable source after Wikipedia
 
LOL!
 
user3010322
Third most reliable is 4chan.
 
I have always known it as two distinct terms so yeah
 
then 9Gag.
 
2:11 PM
Hint: if people typically believe that noob == newb, then they mean the same thing
 
user3010322
4th most is tumblr, but if you say that to their faces you're being blog-ist.
 
@jalf hint: what you believe about what people typically believe is wrong
 
What you found is a source saying "I have declared the two to be distinct, and therefore those who say otherwise are wrong"#
 
what have you to counter that?
this post was upvoted 19k times
 
@BartekBanachewicz ... which is why you're the only one in this room to "know" the difference between the two terms
 
2:12 PM
@jalf no, we had this discussion before and I wasn't the only one by a long shot
 
@edwoollard Course at the college/university ? I find the courses here too basic. They only teach you the basics. Which is understandable in a period of 8 weeks.
 
Also note the very first words. If it is "contrary to the beliefs of many", then it's hardly the universally true and commonly known fact that you want it to be
@BartekBanachewicz Oh? who else feels that way?
 
> 19946 up, 3173 down
 
@BartekBanachewicz gosh, yes, that certainly settles it. :p
 
Are you serious with this UD citing
Really
 
2:13 PM
I don't remember exactly, find the discussion if you want to find that
 
Computer Science. @HamZa
 
Seriously
 
Shirley 19k people on urban dictionary can't be wrong
 
user3010322
@edwoollard It's a common thing in university, but let me tell you a big hint: when they say "Knowledge of C++ is helpful, but not required" it means "We're going to grade you on things using C++. We may or may not be total asses and consider the fact you're newly learning C++. It should be required but we don't want to scare away the java/python/C# pussies we've developed with our curriculum."
 
lol
very true. xD
 
2:13 PM
when I say noob or newb, I mean exactly what I mean. And until you can show me that definition in an actual dictionary, I'm going to say fuckit
 
@jalf Most "correct" uses of the words in a language are defined by majority of its users
 
@BartekBanachewicz Please show me where the "majority" sees a difference between newb and noob
 
and so the definitions appear in "actual" dictionaries
 
Urban Dictionary is not a proof of anything
Or a dictionary
 
@jalf I've shown you a sample, which I believe is unbiased.
 
2:14 PM
Or anything
Jesus
 
What you have shown is that 19k UD users liked that definition. That doesn't mean that 19k users agreed with it. And given that there are more than 38k people in the world, it also does not show anything about a majority
@BartekBanachewicz ... lol ...
 
@edwoollard I do technical computing and we've done some C (not C++). We stopped at loops and bit juggling. Well most of it we had to figure it out on our own
 
@jalf if you have any other publicly available poll results on that topic I'd be glad to see it
 
UD, the unbiasedest of data sources
 
Why is this even a discussion :cripes:
 
2:15 PM
@BartekBanachewicz I do not. But we can do a straw poll in this room
 
3 mins ago, by Bartek Banachewicz
@jalf no, we had this discussion before and I wasn't the only one by a long shot
 
Star this if you are aware of the indisputable fact that a newb is something entirely different from a noob?
 
not me.
 
@jalf me
 
Star this if you don't see a difference between noob and newb
 
2:16 PM
This is why I prefer "neophyte".
Well, that, and the fact that it makes me look cool.
 
@R.MartinhoFernandes :)
 
user3010322
This reminds me of conversations like "What's the difference between nigger and nigga?"
 
lol
 
@ThePhD so what is the difference?
 
2:17 PM
@ThePhD I prefer "neoblac—wait, what?
 
I have a better poll
Who the fuck cares
6
 
user3010322
Star if you don't care.
 
Nerds
2
 
derps
 
2:18 PM
n00bs.
 
user3010322
Plebeians.
 
@BartekBanachewicz flumphs
 
Let's discuss other fine points of internet slang
 
like "nigga"?
 
2:18 PM
Don't forget to quote Jargon File at least once
 
and use the word "netiquette"
 
@CatPlusPlus Is that more or less authoritative than UD?
 
@jalf Yes
 
user3010322
@R.MartinhoFernandes It's a real conversation that even PhDs have had to had. On what versions or what contexts the use of the word "nigger" can be seen as good, and if "nigga" with an A is the same thing, since you've replaced the ending.
 
user3010322
2:19 PM
~* Humanities *~
 
YOU DIED
 
@CatPlusPlus Try jumping
 
user3010322
I didn't roll enough.
 
@Abyx because I need to generate many such loops and they need to be executed in a particular order on different containers
 
Amazing Chest Ahead
 
2:20 PM
many loops. such wow
 
I know right?
 
moarning
 
mawning
 
@R.MartinhoFernandes Why not? =/
 
nevermind
it's a bad idea anyway
 
2:26 PM
@Borgleader lemme guess, you were pulling rd constantly instead of just seeding from it
 
@Borgleader You're stealing all the entropy.
Entropy is a limited resource shared by everyone in your box.
 
It's rude to take it all for yourself.
 
seems I was right
 
Seed a PRNG once and use the PRNG.
 
2:28 PM
being serious though, it might be weaker to use rd
 
@R.MartinhoFernandes I used this example to try and mimick OPs benchmark code as close as possible.
 
once you use all of your entropy the quality of data starts to drop
 
@Abyx (oh, and there's a catch, I can't call anything, it's GPU side code, I need to "manually unroll and de-virtualize" and inline and all that nonsense)
 
@R.MartinhoFernandes PRNG? probably random number generator?
 
"pseudo"
 
2:31 PM
@thecoshman pseudo-random...
 
pseudo random
probably random lol
 
@DeadMG radiologist got back to you yet?
 
@Borgleader Fixed.
 
polyalgorithmically ridiculous newb/noob generator
 
they called me up complaining that I didn't attend their followup appointment
 
2:32 PM
uhh, did they at least tell you what's up with you?
 
¬_¬ yes yes I know what PRNG means, well I can make a good assumption. Can a man not make a joke?
 
Lounge<Pedantry> had to strike again
 
Depends on the man
 
@thecoshman Humor is no longer in accordance with SO policy.
 
@JerryCoffin Oh hello mr. Atwood
 
2:37 PM
@JerryCoffin well blow my bilge pump!
 
@thecoshman me*
 
@ScarletAmaranth I am merely the messenger, not the arbiter of what is good for programmers.
 
@R.MartinhoFernandes Except it doesn't compile.
 
JBL
This is disturbing I think I found an alternative Bartek I didn't know of.
 
we knew about him
 
2:40 PM
everybody knows about him
 
JBL
Aw :(
 
he might be me from the future for all I know
 
except for more handsome
 
JBL
@ScarletAmaranth The mustache is everything.
 
2:41 PM
should I grow a moustache?
 
JBL
Depends if there's a threat of the universe collapsing if you two get too identical.
 
@ScarletAmaranth have you ever looked at a buckler up close ಠ_ಠ
@BartekBanachewicz can you?
 
probably not
 
I have removed 'C' from my 'Favourite Tags', even though it provides free rep. I just cannot stand any more linked-list questions from n00bs who cannot program, cannot debug and cannot even draw some little diagrams with boxes and arrows to work out why their pathetic pointers segfault.

I've had enough of free rep.
 
2:46 PM
Are pointers allocated automatically on the heap or is it in the stack like the variables?
 
so @R.M are we allowing closed source libraries on the next jam?
@Daniel pointers are variables -.-
 
@Daniel Yeah, exactly. No more C :)
 
so it's not on the heap?
 
@MartinJames Its finally got to you eh?
 
2:47 PM
It is very good practice for newbies to write their own linked lists though...
 
fuck no.
 
@TonyTheLion I only looked at them for the free rep and the lolz. I don't need any more rep, so I won't be taking the tablets any more.
 
@MartinJames he was being serious :)
 
not in C, certainly
 
@ScarletAmaranth Oh... fuck. I wanna die.
 
2:51 PM
std::list<node> my_list; // Look mom, I made a linked list without seg faults! I'm such a great programmer!
:)
 
..and so I go to C++ tag, and...
http://stackoverflow.com/questions/22072008/reverse-doubly-linked-list
 
@MartinJames ahahahahaha
 
@MartinJames theres been quite a few of these lately
 
new semester started ofc
 
@ScarletAmaranth spot on
 
2:54 PM
Hehe... only thing in that code that's C++ specific is the console printing :)
 
struct node{
    int info;
    node *prev;
    node *next;
};
node *head=NULL,*tail;
 
@ScarletAmaranth if(User.reputation == 1 && Title.Contains("linked list")) return "Do your damn homework.";
;)
 
so the fuckers can create a struct for the node but they can't for the list
FFS
 
@Borgleader yup, that's about right
yeah because many a "programmer" can't grasp the simplest of concepts - pointers
 
@BartekBanachewicz Who says they did, maybe the teacher made that for them? :P
it might have been part of the assignment or lecture notes
 
2:56 PM
@Borgleader that's what I said.
so, C# or Qt
for a GUI app
 
C#
with WPF
if windows only is ok
 
@ScarletAmaranth in my noob days I found pointers very confusing
 
@ScarletAmaranth windows only
uni assignment
 
@BartekBanachewicz WPF all the way
 
I couldn't understand why you'd need indirection if you could just have a normal variable
 
2:59 PM
and I will need 3des implementation
does C# has ready 3des?
 
I have never found pointers confusing, vOv
 
(because apparently we are supposed to use ready implementations)
 
what is 3des?
 
Triple-DES
 
the encryption thing?
 

« first day (1230 days earlier)      last day (3736 days later) »