« first day (779 days earlier)      last day (4187 days later) » 

8:00 PM
SSE3 rsqrt is so fucking awesome!
 
8:12 PM
All the code at my job carefully goes out of it's way to detect invalid inputs, and return helpful error codes in those cases. Or if 3rd party APIs return an error. But not for internal calls. Which means the error codes are immediately ignored in 100% of cases. No logging.
I altered some code to throw exceptions and/or otherwise crash in these conditions, and management got mad at me for making the product "unstable".
 
-1
Q: how to operate two dimensional array using functions in c++?

ratzipI have a question about two dimensional array in c++: typedef struct Hello { int a; int b; int c; } hello; while the hello is a private member of Class A, it is defined like this: Class A { public: getArray(); private: hello helloArray[3][3]; } hello* getArray() { return &he...

0
Q: About private member of Class in C++

ratzipI have a question about private member of Class in C++: I have a class defined like this: class Hello { private: int a[2][2] = {{1,1},{2,2}}; public: int* getA(); } hello; a is a array, which is private member of class hello, which is protected from accessing from outside of...

Duplicate of his own question?
 
@Borgleader common, if they get downvotes or "not answered fast enough"
 
Oh, not this guy
just ignore him.
 
@Borgleader actually, they look very different questions... still reading
 
Possible I read through them quickly. It's just I saw two questions about private member 2D arrays by the same guy so I got suspicious.
 
Ell
8:17 PM
oh gawd, turns out my homework auto-doer wasn't as good as I though it was: i.imgur.com/vsuIh.png
 
@Ell I can still read everything there
 
Ell
@MooingDuck it was only meant to highlight the > 100% results, not hide stuff
 
Freehand circles, dude.
 
@Ell how did your homework auto-doer get 1700% on a task?
 
Xeo
8:19 PM
@GamErix Well, self-reference.
 
@Xeo Static member, actually.
 
user1182183
@Xeo vs should be able to detect that, right? :P
 
Xeo
Should vs. Why bother?
 
Ell
@MooingDuck Really not sure, I think I maybe was supposed to send a percentage result, but I didn't so it tried to do math and failed itsself :L
 
user1182183
@Xeo meh just came across when I try to understand DataRow from .net
 
8:20 PM
@Ell oh, is that the turned in answer and not the score then?
 
@GamErix EventArgs.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empt‌​y.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.Empty.E‌​mpty.Empty.Empty.Empty is a valid expression. You were the one that asked it to evaluate it.
 
Xeo
 
user1182183
@R.MartinhoFernandes :P
 
@Borgleader they're both two different attempts to return a pointer to a member array. I don't think that's quite a duplicate.
 
user1182183
8:21 PM
anyway nothing from the databse, just some items blabla and a X at the 'items' location ;F
 
Ell
@MooingDuck actually, I think this was from my old attempts - I have used it on my friends accounts and they only have 100%. Damnit, it's only on me! Now I'm gonna get caught :O
 
@Borgleader OP clarified: the second question is about constness.
 
nooooooobs
 
expresses my sentiment ^ with the obnoxious xmas decorations
 
8:36 PM
Gosh, I fell asleep.
 
you must have been lying down, or did you fall off your chair?
 
Hey, puppy, let me know if you think building ogonek on with MSVC is feasible/worth it when you're done.
@TonyTheLion Neither?
Good night.
 
oh good night then
 
hmm, I can't find the function CursorProcGrammarURIByPrimaryWithCultureKeyRead
you'd think that'd be easy to find.
 
Ctrl + F
 
8:40 PM
@R.MartinhoFernandes Well, honestly, it's completely fine. The stuff I've done so far is just a bit of removing aliases here, removing constexpr there- there's nothing which fundamentally impairs the functionality and I never had to change any of the logic
just some plumbing
haven't fixed all of it yet, though
 
@DeadMG removing constexpr or merely using macros to disable it for MSVC?
 
right now, I'm just making a version that compiles on MSVC
robot can use macros for it if he really wants
by "Right now", I mean "I'm slacking my ass off because it's nearly done and I'm out of ideas to cleanly fix the next section".
 
Xeo
@DeadMG Which section?
 
@EtiennedeMartel Maybe they should use Monads to decontaminate Fukushima?
@R.MartinhoFernandes Who would want 22 discs with James Bond on it, anyway?
 
8:56 PM
@Xeo Decomposition attributes.
they're full of Unicode literals, specifically
 
Xeo
Ah.
 
@FredOverflow me
 
9:12 PM
"overflow me"? - what I saw at first glance
 
^^
 
>>
 
@sehe ^^
 
9:27 PM
man slow day today
 
-9
Q: Application for camera filter in iphone

Shriram KadamHello Friends, I have one problem in my application for the camera filter in iPhone? Please anyone solve this problem. Thanks in Advance.

^^ bad question of the day
"I have a problem. What's wrong?" - no code, nothing... haha
 
Ell
somebody just make this game for me then I can take the credit.
 
cough
 
Xeo
Thanks! I was try to find any source code on google.com but I am not find the any tutorial or sample code. — Shriram Kadam 32 mins ago
This hurts... so much...
 
somebody set it as favorite :P
 
9:35 PM
Some people. Are weird.
 
I regularly favorite hilariously bad questions. I didn't for this one though.
 
Ahahahahahahahahahahahahahahahahahaha that question
 
Don't vote to delete though. Since it's being linked to from meta.
 
Too late
 
awwww :(
 
9:38 PM
Most meta users are 10k+ on main site anyway
 
Where is meta post?
 
@Mysticial Vote to undelete!
 
2
Q: Should the site provide cautionary feedback if a user's question contains excessively long code sample(s)? (TL;DR)

JYeltonWhen perusing questions to answer, I frequently see questions that don't appear to be too complicated, but am greeted by a venerable wall of code after clicking the question. Immediately I think, "wow this is too much effort." Some questions can be trimmed considerably if the OP gives it some ad...

 
hi
 
@bobbybee Hola.
 
9:39 PM
what are we talking about (besides C++)
 
^^
 
But we're no longer serious about it
 
...
 
@bobbybee Fucking anything.
 
9:41 PM
^^
 
@EtiennedeMartel Where are your standards man
 
Does mystical say anything besides ^^?
 
That he doesn't know C
 
^^
 
@bobbybee It's Mysticial. With a i between that c and a.
 
9:43 PM
IMO, but if you don't know C or some derriative of it (C++, C#, Objective-C etc.), you can't consider your self a real programmer
 
Oh fuck.
Here we go again.
 
Xeo
@Mysticial Stuck in a loop? Did the optimizer do something wrong on your brain circuit?
 
^^
 
Ahahahah C# derivative of C
 
@CatPlusPlus Wanna get the trolling bat out?
 
9:44 PM
Just like sinx is derivative of x^2
 
I'm ignoring the last 3 messages..
 
If you don't know C, you don't know C.
 
Ell
Maybe I'll just start making content for my game :3
 
You don't need to know C
 
@bobbybee That's because they're ridiculous.
 
9:44 PM
@bobbybee Seriously, though, real programmers solve real problems. A language is a tool, nothing more.
What you do with it is what's important.
 
C# has jack shit to do with C except the name and some syntax
 
Ell
@EtiennedeMartel but wouldn't you much rather use a kewl power tool than a pair of tweezers?
 
COBOL is C derivative too
 
@Ell Depends on what I'm doing and what I have at hand right now.
 
Ell
@EtiennedeMartel or a pneumatic drill
or a 3d printer
 
9:45 PM
@Ell Not if I'm looking to remove a splinter.
 
There is no such thing as a silver mullet bullet.
 
and secondly, real programmers solve problems with tools, and if a C-name language isn't the right tool, then it's not
 
Ok, if you don't know how to use a language other than JavaScript you can't consider that. And no, real problems require real languages (JavaScript, for instance, doesn't properly support bitwise)
(replace JavaScript with other high-level language)
 
@bobbybee So what? It's been ages since I used bitwise operations.
 
You're embarrasing yourself kiddo
 
9:46 PM
@bobbybee There are many, many problems that do not require bitwise operations to be solved effectively.
 
Big time
 
And I use C# at work and C++ at home.
 
Ell
Well I'm eating a cherry pie so screw you all
5
 
motherfucker
 
Yet I still recognize the power that JS can have.
 
9:46 PM
I want cherry pie
 
im gonna leave now before I say something i'll regret..
 
You already did
Might as well stay
 
@bobbybee Say it. Come on.
 
Well... fine
 
Xeo
@bobbybee Best idea you had since you came in here.
 
9:47 PM
I want to hear unpopular opinions
 
@bobbybee Too late, you may as well stay
 
What is up with you guys? Someone comes in with a weird opinion and first thing you do is troll him.
 
Unpopular is not the issue
 
Sure, I think it's wrong, but that doesn't mean we can't discuss it.
 
@Pubby Ok, Lounge<C++> is the worst chat room. That'd be an unpopular opinion around here...
 
9:48 PM
to the pitchforks
 
I wouldn't say worst.
 
We're the worst
 
PHP is definitely the worst.
 
posted on December 03, 2012 by Herb Sutter

John Sonmez wrote a nice article on the weekend – both the article and the comments are worth reading. “Why C++ Is Not ‘Back’” by John Sonmez I love C++. […] There are plenty of excellent developers I know today that still use C++ and teach others how to use it and there is nothing [...]

 
Visual C++ 6, are you serious? Burn it. Burn it with fire! — FredOverflow 4 mins ago
 
9:48 PM
wurst
The worst is probably sandbox and bin
 
room topic changed to Lounge<C++>: Probably the worst chatroom. [c++] [c++11] [c++-faq]
 
Xeo
@EtiennedeMartel What about the JS room?
 
Although. Meh.
Sure, let's go with it.
 
Ask me how software being proprietary automatically makes it better than opensource
 
We're the worst chatroom according to some undefined set of criterias.
 
9:49 PM
@CatPlusPlus erm... Open Source FTW!
 
Open source projects typically have crappy documentation.
 
I'm referencing another funny bit of wisdom (hi @BartekBanachewicz)
 
that's true
 
@EtiennedeMartel And proprietary software have good documentation? :-P
 
@Insilico When I look something up on MSDN, I find it.
 
9:51 PM
But if we're seriously discussing languages and ~real programmers~
 
@EtiennedeMartel True, although good documentation seems to be rare in both open-source and closed-source programs.
 
You don't need low-level languages
 
Can a friend of a derived class access a protected member of a base class?
 
@CatPlusPlus You trying to pick a fight with me? :P
 
@user1678621 No, that's harrasment
 
9:51 PM
The problem with "Only those that do Y are real X" things is that they're as bad as any one of @CatPlusPlus' absolute statements.
 
@user1678621 No.
 
Well, the best programmer can write an x86 emu in JS... but he probably already's mastered lower ones
 
Thank you
 
Just because I'm your friend doesn't mean I can access your parent's members.
 
@bobbybee The problem with that is that what makes a programmer "good" isn't just writing code.
 
9:52 PM
Writing x86 emulator actually requires much more knowledge about the platform than C ever exposes
 
I've met plenty of highly skilled gurus that I wouldn't want on my team because they're arrogant idiots.
 
@EtiennedeMartel What statements, you're bad at everything
 
@CatPlusPlus I DON'T KNOW EH
As I said before, a programmer is first and foremost a problem solver. If you use the wrong tool for the job only because it makes your e-penis bigger, then that makes you a bad programmer.
 
@Mysticial What you write is a horror from the deep, not code.
 
Xeo
@user1678621 Yes. /cc @Insilico
 
9:54 PM
Are emulators even very hard to write? Writing a JS compiler in asm sounds harder.
 
@CatPlusPlus Sure you don't want to change the topic to programming poetry room?
 
@Xeo Opps, I read "private member". -__-
 
The topic matters not
 
@CatPlusPlus Well, he's actually masturbating with a keyboard.
 
@Pubby other way around, he wrote an ASM emulator in JS. (Yes, it has been done)
 
9:55 PM
TMI
 
Oh that makes sense
 
Writing any compiler in assembly is pain in the ass
 
@MooingDuck There's also emscripten.
 
Xeo
Everything that's protected in the base is protected in the derived (if you have public or protected inheritence), and if the derived gives friendship to something, that something can access its protected members.
 
@Pubby Good emulator are...bad ones can by a novice. It just wouldn't do anything/much/useful stuff/intended use
 
9:56 PM
@CatPlusPlus Someone wrote an entire operating system completely in assembly. Don't know what's it's called, but it came complete with a network stack.
 
Why are we even talking about emulators jesus
 
@bobbybee What do you do in life?
 
Someone wrote an OS in every existing language.
 
@Insilico Isn't that every OS before C was invented?
 
Menuet is written in assembly
But that's just waste of time and effort
 
9:57 PM
@Pubby I think what made it "special" (and therefore stand out in my mind) was that it was made in assembly when C was around. Either that or because of the fact that it all fits on a floppy or something.
 
Ell
@CatPlusPlus tbf it is uber small (it fits on one floppy?)
 
You can make complete Linux distribution that fits on a floppy
Even with X
Amount of assembly glue needed in an OS is negligible
 
@CatPlusPlus Really?
 
Really what? Link to specific messages
 
The first message of the three
 
9:58 PM
Yes, it's been done
 
cool :D
 
@Pubby No, not it's not. In fact C and Unix get started as a side-effect of AT&T pulling out of working on MULTICS (which was mostly written in PL/I).
 
Don't mind the nihilist Cat
 
From bad to worse
Evolution
 
Again, why are we talking about OS dev?
 

« first day (779 days earlier)      last day (4187 days later) »