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

5:00 PM
welcome to fridays
 
user784668
@BartekBanachewicz Hey, it's my first Friday this week.
 
@EtiennedeMartel so I can safely assume that when I name one thing "sprite sheet" and offer integer-based indexing, no one will be confused
And the other thing will be called sprite atlas and will be indexed by strings
 
user784668
Yes.
 
Please?
1
Q: How can a C++ template be specialized for all 32-bit POD types?

MickLHI've developed a simple template function for swapping the byte order of a single field: template <typename T> inline void SwapEndian(T& ptr) { char *bytes = reinterpret_cast<char*>(&ptr); int a = sizeof(T) / 2; while (a--) { char tmp = bytes[a]; int b = sizeof(T) - 1...

 
DOWNVOTES
 
user784668
5:02 PM
@MickLH premature optimization~
 
@BartekBanachewicz Depends on how you want to design your animation system.
 
Ha! My measly 359 rep is already at the lowest order of magnitude, I am immune to downvotes!
 
@EtiennedeMartel I haven't thought about it yet
@MickLH are you willing to try?
 
@MickLH I am lower! Ha, I win.
 
whose avatar can I use to test animations
 
user784668
5:03 PM
@BartekBanachewicz Yours.
 
man I'm not that narcistic
 
user784668
@Ell's.
 
@BartekBanachewicz Can you not stick to the sehe standard?
 
@MartinJames well I could
hmpfh I broke it
 
@BartekBanachewicz Puppy is quite cute.
 
5:05 PM
@Fanael Maybe. but I think this might be an arguable edge case
 
A breakfast poutine.
 
1-based or 0-based indexing?
 
Ell
@BartekBanachewicz 0
 
Also WTF sehe's avatar blue is a bit transparent
 
@BartekBanachewicz Mine.
Do mine, please.
 
5:06 PM
@Nooble k
 
user784668
@MickLH That's the knee-jerk SO reaction whenever somebody mentions anything even remotely performance related. Myself, I don't give a shit about what you're doing, your code is terrible anyway.
 
user784668
And to fix it, delete it.
 
@Nooble bah yours a jpg
have to convert
 
I've written a program structured in the same way, and found that users were most angry while waiting for that function to run several billion times. So I think shaving a little time off it will help things.
 
@BartekBanachewicz :P
 
5:07 PM
Almost 1 week of happiness. What the fuck is going on.
 
Hi bby
 
user784668
@MickLH As I said, I don't really care.
 
@Fanael Why do you assume that I care about your lack of care?
 
Ell
@BartekBanachewicz I have an svg of mine ;)
 
user784668
5:08 PM
@MickLH Because I'm omniscient.
 
Ell
You can have any size you want from me
4
 
And provided that the optimal implementation is shorter and simpler than the generic one, it's not really a pain
Actually, it's pretty fun, and led me to a genuine question about C++
 
@Fanael How long will this happiness last?
 
user784668
@Jefffrey Seven.
 
Seven decades? Holy shit! Thanks.
 
user784668
5:10 PM
That statement was a lie; and so is this one.
 
If I make an ssh connection with agent forwarding, but I have an agent also running on the remote, I won't be able to use keys from both the remote's agent and the forwarded agent, will I?
I should ask this somewhere. Server Fault?
 
user784668
prolly
 
Ell
I love r/unixporn
 
lol my import runs out of memory because something keeps holding the fucking query strings
Partition of a set of 5648 objects. Total size = 5299792 bytes.
 Index  Count   %     Size   % Cumulative  % Type
     0   3349  59  4723848  89   4723848  89 unicode

Set of 5648 <mixed> objects. Total size = 5299792 bytes.
 Index     Size   %   Cumulative  %   Brief
     0     9504   0.2      9504   0.2 unicode: u'SELECT...LIMIT 21'
     1     9504   0.2     19008   0.4 unicode: u'SELECT...LIMIT 21'
     2     9504   0.2     28512   0.5 unicode: u'SELECT...LIMIT 21'
 
user784668
How did you manage to do that?
 
5:18 PM
It's Django
It does ~helpful things~
 
user784668
Such as leaking space?
 
It's tracking queries for debugging but of course there's no easy way to disable that just for one command
 
Now I sleep, sleep the hours that I can't weep.
 
I'm just gonna write all over its internals
 
@Nooble there
a bunch of crazy koalas
 
user784668
5:22 PM
@BartekBanachewicz you can display rectangles, congratulations!
 
@Ell oh you
 
@BartekBanachewicz That's scary.
 
@Fanael I could do that before, now it's loaded from one big png
 
@BartekBanachewicz Grapes come in bunches. A group of Koalas is "a cling" (no, I'm not making this up).
 
Now the same run is "Total size = 41464 bytes."
 
user784668
5:23 PM
@JerryCoffin A group of Koalas is a C++ interpreter?
 
@JerryCoffin Thought it was bananas.
 
@R.MartinhoFernandes Bananas come in bunches as well. Koalas still don't.
 
Feb 17 at 11:54, by Jefffrey
Why am I so angry, damnit.
 
Love; it will not betray you, dismay or enslave you, it will set you free.
@LightnessRacesinOrbit Yeah, lol, forgot about that day.
 
@Fanael No. It's really an incremental compiler, not an interpreter.
 
5:25 PM
Woo constant space
 
user784668
@CatPlusPlus Now make it subconstant space
 
There is a design, an alignment to cry, of my heart to see, the beauty of love as it was made to be.
 
user784668
@JerryCoffin Like, I dunno, SBCL vs CLISP (a true interpreter)?
 
user1804599
hi
 
user784668
5:27 PM
lo
 
user784668
oh @LightnessRacesinOrbit ffs
 
@Fanael CLISP is Gnu (aka false).
 
Tu
 
@райтфолд lo
 
user784668
@JerryCoffin wait what?
 
5:29 PM
@Fanael GNU--the false agents of the false prophet RMS.
 
@Fanael what?
you suck ;p
 
wait what?
 
oh now that star is just not fair
 
you starred that
 
Ell
DirectFB api is so weird, you pass explicit this to member functions: fb->SetCooperativeLevel(fb, DFSCL_FULLSCREEN);
 
user1804599
5:30 PM
@Ell lol
 
Ell
surface->Flip(surface, nullptr, DFBSurfaceFlipFlags(0));
 
Server Fault sucks.
 
user1804599
Is fb a value of a struct type with function pointers as fields?
 
I asked a question 6 minutes ago and it has no answers.
 
Ell
@райтфолд Hmm Yeah I think so actually
 
5:30 PM
oh noes, 6 whole minutes?
 
> asked 1 min ago
 
user784668
7 minutes now
 
@Ell lol wtf
 
> asked 7 mins ago
two questions in quick succession. bad.
 
Ell
5:31 PM
fb is an IDirectFB
 
@R.MartinhoFernandes Such a revelation. Next you're going to tell us the sun is likely to rise tomorrow.
 
@LightnessRacesinOrbit Why bad?
 
user1804599
ok so
 
They're separate questions.
 
because I said so
 
user1804599
5:31 PM
Array(T) will be Array(T, 0).
 
user1804599
Very nice.
 
they're very similarly worded btw. someone's going to think they're dupes
entire sentences match up and are found in the same place in the similar-length questions
 
user784668
@райтфолд Why?
 
oh holy fuck
 
@райтфолд Why?
 
5:32 PM
i made the koalas blink their eyes\
@EtiennedeMartel now that's fucking scary
 
user784668
@LightnessRacesinOrbit They both include the word "the", sure dupes.
 
@Fanael Hey! I already said most of that. Copycat.
 
Half life 3 confirmed.
 
user1804599
@Fanael because then I don't need separate sizeless array types.
 
Ell
What is the closest thing to cheese curds?
 
user784668
5:33 PM
@райтфолд You do anyway, dependent typing or GTFO
 
user1804599
No.
 
user1804599
If Array(T, 1) is a subtype of Array(T, 0) then you don't need a separate sizeless array type.
 
@LightnessRacesinOrbit I know, but they are fundamentally different: one asks for the --extra-socket functionality in ssh-agent, and another asks for gpg-agent compatibility with ssh-agent. Maybe I should preemptively mention that in a comment.
 
Ell
HL3 is a tough thing
if it's a flop it will suck extra much
 
5:34 PM
@R.MartinhoFernandes Yes, I think you should
 
Damnit, I want Portal 3, not HL3.
 
so yeah sprite sheets are kinda working @Mr.kbok. I don't have anyone to review the code so I suppose I'll just merge
 
user1804599
@Ell This message follows three other messages => Half Life 3 confirmed.
 
unless @Jefffrey wants to give me a code review
:P
 
With or without you, I can't live
 
user1804599
5:35 PM
Because you can use Array(T, 0) instead of it.
 
Solid reasoning
 
also using a scheduler explicitely stored is a fucking pita
 
@LightnessRacesinOrbit lol, they even have sequential numbers.
 
i have to do something about it
I just want to write "every 1 second flip the koalas"
 
@R.MartinhoFernandes roflmaopmsl
 
5:36 PM
What's wrong with sequential ids for questions?
 
They're unusual.
 
@Jefffrey I asked them five minutes apart.
 
You should answer both of them and get a fuckton amount of reputation.
 
@Jefffrey And better: the ids are shared with answers, so this means that no one posted anything on SF while I wrote the second question.
I'M ALONE ON THE SITE
 
5:38 PM
Or maybe there was a server fault
 
@R.MartinhoFernandes for the whole 5 minutes
SF is an empty desert basically
 
user1804599
I'm so wet.
 
user1804599
It rained.
 
user784668
5:40 PM
@райтфолд sue the rain
 
@Jefffrey Why S.T.A.Y. and not Stay? :(
 
user1804599
I'll sue God.
 
@R.MartinhoFernandes Dunno
 
Stay is much better.
 
There's no 1 hours version though :(
 
5:43 PM
I wonder if anyone's sued the church over an act of god
Lawsuits against God have occurred in real life and in fiction. Issues debated in the actions include the problem of evil and harmful "acts of God". == Actual suits == === Ernie Chambers === In the U.S. state of Nebraska, State Senator Ernie Chambers filed a suit in 2008 against God, seeking a permanent injunction against God's harmful activities, as an effort to publicize the issue of public access to the court system. The suit was dismissed because God could not be properly notified, not having an address. The Judge stated, "Given that this court finds that there can never be service ...
 
no but people have sued god himself
 
@R.MartinhoFernandes Also nah. S.T.A.Y is better.
 
Ell
Damn I can't find the dimensions of my monitor :S
 
user784668
@Pris be the first
 
5:44 PM
Try a ruler
 
Wouldn't jumping also help?
 
I do wanna sue stuff
 
user784668
@Pris Hi, Sue.
 
Ell
@CatPlusPlus I don't have one big enough
6
I'll get a tape measure
 
There's this thing we call addition
 
It's not used that much.
 
PhD level stuff
 
Xeo
@BartekBanachewicz Define new and shiny?
I still see the old one
 
Oh boy, are they changing profiles again?
 
Redesigned Stack Exchange user profiles coming Real Soon Now. Here's what mine will look like http://meta.stackexchange.com/users/4/joel-spolsky?tab=profile http://t.co/Ku3NDgKTUL
welp "real soon"
@Xeo I actually noticed it like a week ago but forgot to ask
 
user1804599
5:47 PM
Does not work on my machine.
 
It is pretty though.
 
@Ell oh too bad then
 
Oh, no, bigass tablet new profile look. Do not want!
 
@Xeo new and shi·ny /njuː.n̩.ˈʃaɪni/ adjectives horrible-looking
 
@milleniumbug uh there's nothing "tablet" about it
@R.MartinhoFernandes but fancy "people reached" counter!
 
Xeo
5:48 PM
lolz
click edit on my profile -> 404 Page Not Found
 
@Xeo same for me
 
user784668
There's no Xeo
 
but my profile is displayed the old way
 
They make the fonts so big for people that can't click things with precision.
 
lel Fanael's one is also new for me
 
5:49 PM
wow new thing on snack exchange im so excited
 
Yeah, can confirm 404 on old profile too.
 
I see everyone with new profiles but myself
 
Xeo
@BartekBanachewicz Also, your unicodes are broken. There should be a banana in the fourth post link
 
I like the new badge view though
 
@Xeo Cue Chrome
 
5:52 PM
FUCK this "every website is optimised for tablets". FUCK it.
 
user784668
Optimize the tablets for websites.
 
@BartekBanachewicz I've got the same old shit too.
 
From 2:30 is just pure orgasm
 
user1804599
@Jefffrey can't flim flam the zim zam
 
user1804599
5:56 PM
oh wait other zimmer
 
can i ask a question?
 
@pixelr Asking to ask questions is generally a very bad start.
 

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