« first day (874 days earlier)      last day (4083 days later) » 

Xeo
2:00 PM
@Tony is really on a FGITW spree lately, huh?
 
@ChosenTorture Where you work I don't know
 
@ChosenTorture here. or code-review.se
 
But probably not here.
It's mostly "Your code sucks and you suck."
 
@CatPlusPlus I'm a student :D I don't work anywhere
 
Albeit it helps sometimes: you get a feel for what's horrible.
And then you go figure out how to make it not horrible.
 
Xeo
2:00 PM
@ThePhD (Hint: You and your code.)
2
 
Here you can only get reviews if you're regular and I like you
 
@ChosenTorture so older students. and code-review.se
@ChosenTorture Also, start working
 
When you post code and nobody says anything, then you know you've done a good job.
or that they're all ignoring you and there's UB waiting to happen.
And it's only a matter of time before it all goes to shit. D:
 
yeah. but the satisfaction when it finally gets approval
maaan.
 
q_q Release mode debugging q_______________q
 
2:02 PM
istreambuf_range <3
@ThePhD why are you debugging in release?
 
An error was present only during release mode.
It was my job to track it down, so I did.
 
why are you running release I mean
 
Turns out it wasn't my fault.
 
@BartekBanachewicz Yeah, I'm trying to
 
have you finished everything already?
 
2:04 PM
You should test with optimisations early
 
I work on a team with this. Not everyone on my team has Visual Studio.
They expect a working executable on a regular basis.
I can't ship my exec plus the entire VC++2012 debugging libraries.
 
You only need to ship the libraries once, no?
 
@BartekBanachewicz finished what?
 
@R.MartinhoFernandes Unfortunately there's no "VC++ 2012 Redistributable (Debug)".
Only the release is included in the redists, AFAICT.
 
So, today we've gone from "I hate kerberos" to "I hate kerberos and my boss thinks their code quality is horrific"
 
2:05 PM
Debug libs are not redistributable
 
I guess that's... good?
 
Huh
 
@R.MartinhoFernandes I might just try that later on.
 
@ThePhD you should ship code -.-
 
2:07 PM
Wow. Shader Model 3_0 isn't even on teh DIrectX charts.
 
@Xeo lol somewhat, I'm also trying to learn new things in the process.
 
@BartekBanachewicz "Hey, hey you artists? Yeah, install G++ and build my code if you want to play it."
"Welcome to OSS, baby."
 
....
@ThePhD Continuous Integration then... Do I really have to teach you this? :)
 
@ThePhD huh?
 
My Build system is my fingers.
 
2:08 PM
@ChosenTorture oh, it wasn't to you. But you should focus on getting a job
@ThePhD cough suck cough
 
I.E. I don't have CI or other such stuff set up.
 
13 secs ago, by Bartek Banachewicz
@ThePhD cough suck cough
Dev C++ is a) not a compiler b) hardly compatible with ISO C++ at all, if it's an old version. — Bartek Banachewicz 7 secs ago
-.-
 
Xeo
Isn't Dev-C++ by definition old?
 
Some dude resurrected it. There was a release last month.
 
Xeo
2:11 PM
Oh, I see
I was thinking of Bloodshed Dev-C++
 
it still sucks, of course
 
Noboy gets the debug window right.
Nobody. =[
 
@ThePhD ekhm. Why can't you set up CI?
 
Because I can't be assed to?
 
@R.MartinhoFernandes Instant beautification of all your source code?
syntax match Banana "std::" conceal cchar=$
set conceallevel=2 concealcursor=nvc
 
2:14 PM
I guess I should make a build server.
Sometime.
Eventually.
 
@ThePhD ah, I forgot who I am talking with. Sorry.
 
Of course, somehow replace $ with UNICODE Banana to taste
 
hehe, to taste.
user image
9
 
2
Q: 1D array decays to pointer, but 2D array doesn't do so, why?

Tony The LionCan someone explain to me why technically a 2D array does not actually decay to int** whereas when you have a single dimensional array, you do get pointer decay to int* (if you had array of int). I understand what pointer decay is, but I don't get why the 2D array doesn't exhibit this decay? It...

@TonyTheLion?
 
2:17 PM
1
A: 1D array decays to pointer, but 2D array doesn't do so, why?

CaesarIt is because a 2D array is actually a 1D array internally.

 
Xeo
@CatPlusPlus lol
 
@BartekBanachewicz I always get confused.
@CatPlusPlus the answers honestly are somewhat confusing
 
@R.MartinhoFernandes that is a terrible thought... Resurrecting such a terrible, broken and outdated tool is just wrong on so many levels
 
2:18 PM
@TonyTheLion Oh, I'm not even going near that thing.
 
@TonyTheLion See Fred's array FAQ:
 
@sehe it reminds me too much of PHP to like it
 
@nightcracker $ is configurable to taste.
 
user1357851
@R.MartinhoFernandes probably lure you to lick those cookies then they would be all yours :x
 
@R.MartinhoFernandes like bananas?
 
2:19 PM
Right.
 
hmm
 
@sehe urgghh
 
if I post a question and don't get an answer on SO, can I crosspost it?
 
Cooking.SE
 
2:20 PM
probably Programmers (desperation, I know)
 
@sehe I am star-struck.
 
@Adriano to the best of my knoledge it's possible to force Linux (not real-time, regular) to use core for just one thread, however it's probably not trivial to configure, i can't tell how to do that exactly right now. — javapowered 1 min ago
this guy has no idea what he's talking about
 
46
A: Is cross-posting a question on multiple Stack Exchange sites permitted if the question is on-topic for each site?

DiagoNO Ask the question on the site you think is most applicable. If, like in this case, it does not get any answer, ask a moderator to migrate the question, or alternatively, delete it and re-ask it. Each site is focused on a specific topic area. If you have a question you feel is too ambiguous, e...

 
@nightcracker There's a crystal meth site?
 
@R.MartinhoFernandes I couldn't figure out how to do it, though. How do you enter a banana? Even the supposed Alt+sgdfjkfkdlh blurb fails to work in my Winword.exe on Win7
 
2:23 PM
wow.... What the fuck, Microsoft
 
@MartinJames no, but there is a chat room
 
@sehe Alt-codes for Unicode needs this: dl.dropbox.com/u/13779444/reg/unicode_numpad.reg
Interacts very poorly with menu shortcuts.
 
@nightcracker Aarrghh! A malware link!
 
(i.e. Alt+ +1F34C is likely to open the _F_ile menu)
IOW, sucks.
 
2:25 PM
I'd have more said, "Simcity has more launch problems than North Korea"
 
@R.MartinhoFernandes Had that already. The menu shortcuts seem to prevent this from working, or should I just press on if the menu opens?
 
Nah, it just sucks.
 
Amazing.
 
I dunno why that was starred. It's worthless.
 
Damnit you guys make me open so many tabs. :c
 
2:33 PM
Typical vim user ^ :)
 
Violent Insertion Machine
 
No serious, this file contains pretty much everything you should not ever do to code.
 
Vim uses it's own scripting engine.
Now imagine it used Lua *.*
 
2:37 PM
Best part: it was actually posted as an EXAMPLE on the Pygame documentation.
 
# Here is an example program in wich
# balls hit walls and other balls:
 
@BartekBanachewicz :help lua
 
@R.MartinhoFernandes no way
 
Do as I say.
 
@BartekBanachewicz I think this is closer:
 
2:38 PM
def freaky_rect_switcharoo_2D(pw, pz, pwol, pzol, buffy_the_fat):
most descriptive function and variable names ever
 
@R.MartinhoFernandes it's just highlighting...?
 
@BartekBanachewicz Nope? :lua print("Hello world")
inb4 doesn't work because the default windows binary isn't compiled with it/dynamic library missing
 
@sehe my iPad version doesn't have it
But can you operate editor with scripts?
I mean, is it really integrated?
 
Well. Who uses vim on hygienic pads
 
@sehe it has unix on it you scrub
 
2:42 PM
@BartekBanachewicz Yes. Language bindings differ for ruby, python, perl and lua, but yes
 
Still a pad
 
There's no such thing as a 2D array in C (or C++), there are only arrays of arrays. Once you've discarded this misconception, your question is much simpler to answer. — Charles Bailey 5 mins ago
heh
 
I think it's time to ditch visual studio and start scripting vim o.O
 
never stop learning
 
2:43 PM
@TonyTheLion He's spot on.
 
I didn't know this
 
@BartekBanachewicz "and I'm all out of vim"?
 
@sehe where's that from? If it's indeed a quote?
 
@BartekBanachewicz Duke Nukem 3D
 
@sehe I have to confess that my old PC didn't have speakers :(
Anyway, yeah. Lua support is the game.
 
2:44 PM
It's not from DN they stole it
 
user1357851
03-09 01:39:26.979: E/AndroidRuntime(2479): FATAL EXCEPTION: main
Just received this, how lovely
 
ah. That was half the fun. In network mode (IPX/TokenRing - yay) you could make your own samples and bind them to hotkeys. So you could troll your opponents some more
 
@sehe I've played Warcraft II using IPX <3
 
IPX what a relic.
 
2:46 PM
> It's time to kick ass and chew bubble gum... and I'm all outta gum. reference to They Live
 
it's like a gameboy
 
@BartekBanachewicz It's a networking protocol
 
-1
Q: 2 D transformation of line triangle rectangle

taha027code for 2 D transformation with graphics.h in c++ and of triangle rectangle and line... three functions rotation,translation,scaling

ahahahahahha
 
@sehe I was referring to "relic" part. Vintage stuff, y'know.
Welcome to SO! Would you like to ask a question? — jazzbassrob 41 secs ago
also, graphics.h
ZOMG
I can't believe this displays as an ad for me
5
Q: OpenGL: why do I have to set a normal with glNormal?

xblaxI'm learning some basics of OpenGL but I'm wondering why there is a call glNormal to set the normal of vertices. If I create a simple triangle like this: glBegin(GL_TRIANGLES); glVertex3f(0,0,0); glVertex3f(1,0,0); glVertex3f(0,1,0); glEnd(); Shouldn't the normals be defined impli...

srsly?
 
user142019
2:49 PM
hahaha
 
user142019
Immediate mode.
 
Xeo
@Luchian: Nuked. Sorry, but that was nothing more than watching a trampled animal die at the roadside.
 
Bleh.
 
@Xeo No, 'twas not. I feel pity for those.
 
user142019
@LuchianGrigore ban forever.
 
user142019
2:53 PM
The world is crawling with morons.
 
A website like that would be cool though
Just write "code that does X"
and presto - code's right there
 
Some SO template questions are actually like that.
 
user142019
Oh hey I scored 9/10 for R test.
 
R test?
 
user142019
One mistake because I forgot that in R, vectors are 1-based. T_____T
 
2:58 PM
Heh, I did not know definition 1b of vector.
 
user142019
@ThePhD Maybe it is
 
user142019
a test about R?
 
Oh.
 

« first day (874 days earlier)      last day (4083 days later) »