« first day (578 days earlier)      last day (4371 days later) » 

9:01 AM
anyone here who familiar with installshield
ny one..??? help me plzzzzzz
 
@thecoshman This is, as far as I know, the most modern method: http.developer.nvidia.com/GPUGems2/gpugems2_chapter02.html
@JijeshKV If you need help with something you should ask on StackOverflow, or in your case whichever forum InstallShield has available.
But in any case, it doesn't really matter if anyone here knows it or not, you can just ask anyway and hope for the best. But please, make the questions you ask here tiny.
 
I have been setting some msi properties during the installation time. can i retrieve it on the time of uninstall.... and if yes HOW?
 
@JijeshKV It is spelled "any", not "ny". You only need one question mark to indicate that something is a question
and "plzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" just make you look like a drooling brain-damaged moron
So I can't speak for anyone else, but I really don't feel like helping with your problem
Of course, as a bonus, you are asking on a C++ chat about crappy installer technologies
Why don't you try a more appropriate forum, like, oh say...
 
9:16 AM
@jalf the custom action i am using is c++ and basically i work with c++ thats y i asked here
 
y u say y not why
 
Maybe he wants to look like a drooling brain-damaged moron?
 
btw what's up guys?
Yesterday I had an exam so I wasn't here.
 
Oh, you missed the awesome circus we had
 
@Pubby wants to look like? is!
About Java and PHP?
 
9:23 AM
Yeah, they were the clowns
 
A hundred years ago, clowns were funny. Today, clowns are the best ones to play in horror movies.
Stupid exams make me miss funny conversations. :(
 
> - clampf or clampi, c o l or amp litude data types in opengl clamp (manga artists), an all-female japanese manga artist group that formed in
 
lol opengl
 
Yellow
 
9:29 AM
Red
 
@RadekdaknokSlupik Do you have Prince Albert in a can? You DO?! You had better let him out!
 
Who the fuck is Prince Albert?
 
Prince Albert is an American brand of tobacco, introduced by the R.J. Reynolds Tobacco Company in 1907. It has been owned since 1987 by John Middleton Inc. History Prince Albert is one of the more popular independent brands of pipe tobacco in the United States; in the 1930s, it was the "second largest money-maker" for Reynolds. More recently, it has also become available in the form of pipe-tobacco cigars. (A 1960s experiment with filtered cigarettes was deemed a failure.) The blend is burley-based and remains one of America's top-selling pipe tobaccos. The tobacco was personally named b...
 
I don't smoke.
 
9:32 AM
That's not cool
Prince albert is recursively defined I guess
 
I don't smoke, I don't drink, and I don't swear. Goddammit, my cigaret fell in my beer!
 
It was one of the jokes Pennywise the clown makes in Stephen King's It.
That was the connection to the clowns. :P
 
I still don't get it. :D
 
Explaining a joke is a bit like dissecting a frog. You may learn a thing or two, but it tends to die in the process.
 
That joke has been around a lot longer than It
 
9:34 AM
Probably a lot longer than me.
 
Smoking is silly.
 
@Pubby Thank you, captain obvious.
 
:)
 
Smoking is for cats.
 
@CatPlusPlus Catnip? I'm selling.
 
9:35 AM
I want to do float g'(float x) { ... }
:<
Stupid C++.
 
Use a compiler that allows ''s in identifiers.
 
g`(float x) { }
 
Ladies and gentlemen, please welcome: Miss "Funny Conversations"!
(cheering and clapping)
 
You're a miss now?
 
@sehe What, we on a sitcom now? *light audience laugh*
 
9:37 AM
@CatPlusPlus You can't handle chat now? You know, replies, the whole business?
12 mins ago, by Radek 'daknok' Slupik
Stupid exams make me miss funny conversations. :(
The miss announced herself 12 minutes ago :)
 
@sehe Izajoke.
 
If you interpret it that way, it doesn't even make any sense.
 
Yes, it does.
 
@sehe (╯°□°)╯︵ ┻━┻
 
@CatPlusPlus Well... Nicely cloaked :)
 
9:39 AM
Nice job breaking it.
 
> Stupid exams make me (miss funny conversations). :(
 
All work and no play makes Jack a dull boy.
Stupid exams make Radek miss funny conversations.
 
> Stupid exams (make me miss) funny conversations. :(
Due to stupid exams, I miss funny conversations. :(
 
@CatPlusPlus It deserved to be broken
@RadekdaknokSlupik Redekundig ontleden. Yay
 
To quote Zach Galifianakis: Growing up my dad was like, 'Zach, it's not what you say, it's how you say it.' And he's so right. Take this, for instance: She had a crack-baby vs. She had a crack, baby.
 
9:41 AM
These pretzels are making me thirsty.
 
@sehe if you see the Dutch exams, you have to ontleed the questions if you want to understand them. :P
 
(Stupid exams) [make] /me/ [miss] _funny conversations_
@RadekdaknokSlupik Well, i think I know :)
 
The assholes who made the exam didn't use any commas.
 
@RadekdaknokSlupik The exam was prepared by Cicero. Do you carry latin?
 
By C¿to, afaik.
 
9:42 AM
 
Why is "Grandpa" written with a capital letter?
 
@RadekdaknokSlupik Out of piety
 
Proper noun I think
sehe is not very proper
 
@RadekdaknokSlupik It's short for "Grandpa John", or Grandpa whatever
 
It was just written by a German.
 
9:44 AM
@RadekdaknokSlupik dodges the question nicely. Anyways, how many exams to go?
@Pubby Shit. Did I forget to switch off my webcam again?
 
@sehe I had 2 already, now 4 to go. English, chemistry, physics and mathematics.
aka piece of cake.
 
@RadekdaknokSlupik it's a name
 
So, I bet just chemistry a bit of a challenge, then?
 
@RadekdaknokSlupik Not even. Good job
@Pubby I posted it, yes
 
"I call my granddad 'Granddad'"
 
I call my grandpa not at all; I don't speak Polish so I cannot speak to him. D:
 
@thecoshman How can you tell if you're calling him "granddad" or "Granddad"?
 
@RMartinhoFernandes That must be the most random (not dull) gif of the day
 
9:47 AM
@CatPlusPlus > meow, naming conventions. - FTFY
 
@CatPlusPlus Should be g_over_dx and so on obviously.
 
@Neil what do you mean?
 
@LucDanton It just said 'Yay, naming conventions'. It didn't say 'Yay, good naming conventions' or anything similar in vein
 
Prime symbol has been stolen from me by stupid C++.
I'm protesting by doing silly names.
 
@CatPlusPlus Go use APL already
 
9:49 AM
@sehe I just love that site, and it happened to have a gif with that exact quote. So yeah, random.
 
And g_over_dx isn't silly?
 
Too long.
 
@thecoshman I mean I figure he's not deaf and for whatever reason, your lips are always covered by a burka. If you're not passing written notes, how do you know you're calling him "granddad" or "Granddad"?
 
@CatPlusPlus write a proposal to standardize it.
Or don't complain.
 
What?
 
9:50 AM
@Neil ಠ_ಠ really?
 
APL (named after the book A Programming Language) is an interactive array-oriented language and integrated development environment, which is available from a number of commercial and noncommercial vendors and for most computer platforms. It is based on a mathematical notation developed by Kenneth E. Iverson and associates that features special attributes for the design and specifications of digital computing systems, both computer hardware and software. APL has a combination of unique and relatively uncommon features that appeal to programmers and make it a productive programming langua...
 
I know what APL is, thanks.
 
@RadekdaknokSlupik What do you want me to propose?
 
A library proposal for valid identifiers?
 
9:52 AM
@CatPlusPlus '
 
Wait, let me make that more obvious: a library proposal for valid identifiers????????
 
@LucDanton > You only need one question mark to indicate that something is a question
 
The supernumerary question marks indicate that I'm rolling my eyes??????
 
@Pubby he's compensating all the questions on SO that don't contain any question marks at all.
 
9:55 AM
But that makes my eyes hurt!
 
@RMartinhoFernandes I'm sorry???
 
You mean "I'm sorry!!!"
 
I'm sorry¿¿¿
 
I'm sorry‽‽‽
 
I'm not sorry.
 
9:57 AM
result[n++] = t * b.res->flow_rate * b.res->cost * g_dx(res_distance.norm() - b.res->radius) * (res_distance / res_distance.norm()) + (numerator / denominator);
Wonderful, isn't it.
 
"I think funky[town]{1} should be a valid identifier." - And that ladies and gentlemen, is how I would make a compiler programmer commit suicide.
 
Inline TeX?
 
6
Q: Why cast a pointer to an int before checking if it is null?

SteveTaylorI have come across this piece of code in our program: TheClass *p MyClass = new TheClass; // lots of amazingly clever logic that would impress you all if ((int)p) { // more amazing logic, even more impressive than the first } Can anyone tell me why one would cast this pointer to an int ...

lol, "lots of amazingly clever logic that would impress you all"
 
lol c style cast
 
Yeey, I didn't screw up vector operations anywhere.
It builds.
 
10:01 AM
Is NULL really 0 per definition? Wasn't that implementation-defined?
 
Don't think so
 
In C, maybe.
It's always 0 in C++.
 
(integral_type)(void*)0 is not guaranteed to be 0.
 
Hence why we have nullptr now.
 
10:03 AM
The same way that using memcpy to zero-out an object doesn't guarantee that data members of pointer types are equal to nullptr.
 
What's the destruction order of static objects in functions? Reverse of construction?
 
@RadekdaknokSlupik Does it matter? You're using NULL not 0 in the end.
 
@RadekdaknokSlupik It's a null pointer constant. Id est, an nullptr_t prvalue or an integral prvalue that evaluates to zero.
 
Cat mentioned it in a comment, @Neil.
But I think I get it.
 
I did not see said comment, @RadekdaknokSlupik
 
10:08 AM
Even if on a machine, a null pointer isn't 0, using the 0 constant as a pointer doesn't require the pointer to be 0, right?
 
@RadekdaknokSlupik right, if you're talking about the bitpattern level. 0 is just a very special notation in C++. it stands for a logical nullpointer in a pointer context
 
I think even if you implemented NULL to be a non-zero value, you'd be putting a bullet in your brain to allow 0 to be a valid pointer value for how many programs are written assuming NULL means 0 anyway
 
NULL has to evaluate to zero.
@Neil How many programs do that?
 
@RMartinhoFernandes Compiler has to show that NULL == 0 is true, but NULL doesn't have to be zero.
 
@RMartinhoFernandes more than you can imagine.
 
10:11 AM
@RMartinhoFernandes How many swallows migrate in the spring?
 
@RMartinhoFernandes C-style code that misuse memcpy and friends.
 
@Neil I must evaluate to zero. Otherwise it's not a null pointer constant (i.e., the implementation is broken).
 
@Neil in C++ it must. As Alf said, 0 is a special token in C++ in pointer context.
 
> A null pointer constant is an integral constant expression (5.19) prvalue of integer type that evaluates to zero or a prvalue of type std::nullptr_t.
@RMartinhoFernandes Could be nullptr then, no?
 
Yeah, I don't think nullptr is forbidden.
> The macro NULL is an implementation-defined C++null pointer constant in this International Standard (4.10).
Yeah, doesn't have to be integral.
 
10:14 AM
I feel like hitting my head against a wall. This is the exact issue I was arguing with another who frequents this chat room
 
So #define NULL (nullptr) is allowed?
 
Yeah.
#define NULL (1-1) too.
 
No need for parenthesis.
 
I feel all the worse because I was arguing the opposite point of view and I let him convince me.
 
10:15 AM
Also std::nullptr_t {} and so on.
 
NULL and 0 suck and must be deprecated.
 
Yes, let's not use 0.
 
@CatPlusPlus Lets boycott 0.
 
Irrlicht casts pointers to ints and hence I cannot use it on a 64-bits platform.
So fucking stupid.
 
Failcode.
 
10:17 AM
Irrlicht is really that buggy?
 
Irrlicht can't be run on a x64 bit system?
 
Irrlicht returns pointers to objects and isn't exception-safe.
 
::std::remove_reference< ::std::add_lvalue_reference< ::std::remove_cv< ::std::nullptr_t>::type>::type>::type {}
 
Well, duh, it's a C++ game engine.
And open-source at that.
 
@Neil you need to compile it as 32-bits and link dynamically if your video game is 64-bits.
 
10:18 AM
You can't load 32-bit DLL into 64-bit application.
Or .so. Whatever.
 
FUD is afoot.
 
Just use UDK.
 
@CatPlusPlus so basically, when you are using Irrlicht you are screwed.
 
At least you won't have to write C++.
 
I use Blender ATM, but I don't like game development.
 
10:19 AM
@CatPlusPlus That's always a silver lining, unless you are actually writing C++ code, in which case I feel sorry for you.
 
$ file libIrrlicht.so.1.7a.2
libIrrlicht.so.1.7a.2: ELF 64-bit [...]
 
@LucDanton on my machine it won't compile.
 
Maybe because you use a silly Mac.
 
Maybe because I tried to compile it as C++11. xD
 
That reminds me that I'm still mad at Boost for breaking ABI when compiled in C++11 mode.
 
10:24 AM
I might have to compile it as C++11B.C. instead. At least that's how the Irrlicht codebase looks.
 
Silly Boost.
 
But I don't want to use a framework written by someone who didn't understand RAII, exceptions and references.
 
I have a solution to that problem: don't.
 
I don't. As I said, I use Blender. :P
 
@GManNickG from what I can see, that is still using heightmaps. I might look into something more advanced, such that you can still use over hangs and caves
 
10:32 AM
Fuck 3D graphics.
I'm hungry and I'm going to eat so I see you later guys.
 
10:47 AM
-2
Q: Links an assembly file with a C/C++ file

Simon CaiHere is the code in C++: #include <iostream> using namespace std; double CombineC(int a, int b, int c, int d, int e, double f) { return (a+b+c+d+e)/(f+1.5); } // NOTE: extern “C” needed to prevent C++ name mangling extern "C" double CombineA(int a, int b, in...

 
sbi
@RMartinhoFernandes "May I ask you, or do you wanna dance first?"
That was a short meal, @Radek.
 
@sbi My breakfasts aren't very extensive.
 
@sbi That doesn't pack the same punch.
 
sbi
@thecoshman I think I remember that. Anyway, I caught the train and was home before 1am. Found my daughter sleeping on the sitting room couch, where she meant to wait for me. Put her to bed, had a beer, and was asleep before my cheek hit the pillow.
@RMartinhoFernandes For me it does. Might be a cultural thing that gets lost in translation. It's one of the jokes around the same theme that seems common here.
 
10:57 AM
> Rofl, go away hipster with ur lousy books and shit
YouTube at its best again.
 
sbi
@sehe I am confused. I just linked to @James' tweet, and that didn't have any links to a PDF.
@MooingDuck Oh! Might I have that friend's twitter name?
@sehe You are now "following the utility company on twitter" is the correct gobbledygook, I think.
 
@sbi oh, I had a cracking beer last night called 'Moon raker' a really kick as dark ale. Got to get me some more of them
 
who brews it?
 
@awoodland not too sure, I'll give you details tonight if you remind me
lunch time
 
sbi
@Pubby Actually, putting a witty thought into 160 chars is a lot harder for me than putting it into a lengthy blog posting. Apparently, I am not the only one feeling thus.
 
11:11 AM
That's a shame. No wonder 90% of twitter is useless babble - it's impossible to fit anything interesting there.
 
Does Stack Overflow offer away to only show questions tagged which have a score ≥ 0?
Oh I got it. [c++] votes:0 is:question.
good afternoon
request.method = cupcake::net::http::Request::Method::GET; I love namespaces!
 
11:37 AM
@Pubby Did you know that 86% of all statistics are made up on the spot?
3
 
:)
 
11:51 AM
@sbi not to mention that I borked the grammar on the genitive of 'company' anyhow :) Thx
@sbi I found the PDF linked about 6 messages down from your twitter onebox. I.e. in this chat
@RadekdaknokSlupik not bad at all
 
sbi
@sehe Oh, I completely missed that.
 
@sehe ~3.29% of all C++ questions have a score smaller than 0.
 
@RadekdaknokSlupik You made that up on the spot :))
 
@sehe wait my SQL query was wrong.
wait it wasn't.
 
@RadekdaknokSlupik That's not SQL. Unless you imported a SE dump locally
 
12:06 PM
Then just divide it by the number of C++ questions, which can be found here: .
 
I always assumed it was gonna be SQL - like, sure as hell SO isn't using vanilla SQLServer, no?
 
@sehe they're using MS SQL
 
It's not hip
 
Of course, the SE Data Explorer uses a read-only mirror of the database with some fields and deleted posts removed.
 
12:08 PM
That's boring indeed
> SELECT COUNT(Id), Score FROM Posts WHERE PostTypeId=1 AND Tags LIKE '%c++%' GROUP BY Score ORDER BY Score Desc
 
@sehe Mountain Lion is a piece of shit.
 
@RadekdaknokSlupik They all suck. They are mamals, after all
@RadekdaknokSlupik Nice way of breaking it, friend
It appears to be clear that upvotes are much more nuanced. People tend to upvote, not downvote, but once downvotes happen, they happen fast :)
 
I'd rotate that graph; the dependent variable is the number of questions.
 
@RadekdaknokSlupik First off, there is no difference, obviously. Convention sucks. Second, tell data.SE that
 
The Data Explorer can generate graphs? That's cool.
 
12:18 PM
<raises bodypart="brow"/>
Yeah. You kinda click the 'Graph' tab in the results
 
sbi
@sehe I am shocked that Randal put down "Panther" as a synonym for "Puma". Is that a Merkin thing?
 
@sbi No, it is true. There is a context difference which makes the one more applicable than the other, but I don't recall just what that was.
I was told such at the zoo in Antwerp once, a few years back
 
sbi
@sehe Wrong. It's indeed a Merkin thing.
 
@sbi At least it's only wikipedia. I can always assert it may be a Belgian thing too. Or just Antwerp. Or, indeed the Antwerp Zoo on a saturday :)
 
sbi
@sehe Well, mebbe "wrong" was too strong a word. After all, there's a contextual difference: The meaning depends on whether you're in Old-World context or New-World context.
Anyway, I propose "OS X Kzin" as the name for the next OS X version. :)
 
12:28 PM
@sbi Ah. Thanks for giving me the reprieve :)
 
sbi
Those aren't felines, though.
 
sbi
(The irony of this is that the kzinti come from a star in the Ursa Major constellations.)
 
lhs = new(ctx.alloc) ast::bin_expr(op, lhs, rhs); woohoo! I'm Java coder!
 
12:38 PM
woohoo? You should be ashamed.
The room should be called The Java Room, because we talk about Java a lot.
 
@ScottW for all intensive porpoises, that's good enough
 
How can I see my bookmarks in chat?
Oh I got it.
Hey @ScarletAmaranth what's up?
 
@RadekdaknokSlupik Uuuh, you're the guy with a chicken in the picture ? What did you do to dat chicken?! :P
 
@ScarletAmaranth I was hungry.
 
sbi
@ScottW No, we didn't have this room name forever. This room had other names in earlier times. I distinctively remember it being called "The Neal Butterworth Memorial Lounge", or was it "Room"? — anyway, it took a while to settle on the current name, and I think it fits the room's goal perfect: a lounge for C++ programmers to hang out, relax, and talk about almost anything — including sex, drugs, rock'n'roll, Java, and even — gasp! — C++.
If you want to change anything, suggest a new room motto. While I like the current one (I came up with it, after all), I have to admit that it's been up there for an unusually long time.
 
12:51 PM
@RadekdaknokSlupik I have much longer hair so you basically lose ;)
 
My memory is like a sieve.
@ScarletAmaranth it's an old picture. I win.
 
@RadekdaknokSlupik Nope, you don't. My hair touches my ass when wet (and straight therefore :P) ;)
 
sbi
@RadekdaknokSlupik So you store only prime numbers?
 
@ScarletAmaranth Okay, you win. In a few years, I win.
@sbi How do prime numbers relate to sieves?
 
sbi
@ScottW You should be careful when using hyperbole. It is known to backfire.
@RadekdaknokSlupik Eratosthenes.
 
12:53 PM
I'm confused.
 
@RadekdaknokSlupik It's like saying that in 1 year you'll be as old as I am ...
 
@ScarletAmaranth I suppose that when your hair gets to the ground, you shorten it. And if I become longer than you, I win.
 
Also, just on the margo of the matter and actually, in FACT, taking the apolia about achyles and a turtle into consideration, even if your hair grew faster, you could never catch up since i had a headstart.
 
sbi
@ScarletAmaranth How long your hair grows is mainly a function of wear and your health after a certain point, and less of the numbers of years it had time to grow.
 
@sbi now I get it. I looked it up in Oxford Dictionary but it only told me this.
> Eratosthenes |ˌerəˈtäsTHəˌnēz| (c. 275–194 bc), Greek scholar, geographer, and astronomer. The first systematic geographer of antiquity, he accurately calculated the circumference of the earth.
 
12:56 PM
@sbi Yeah but I need not care about that fact since I've included the achyles apolia (apoly, whatever rly) in my considerations.
 
@ScottW Did you eat? Yes? No. No? Yes.
Then yes.
So I have a tab open in my browser and I don't remember how the fuck I got there.
And it doesn't have any history.
@ScottW Go eat or stop complaining. :)
 
sbi
@RadekdaknokSlupik You either middle clicked on some link or it's a popup.
 
I know, but I don't know where I *right-click-open-in-new-tab*bed it.
 
@RadekdaknokSlupik Within 1%. 1% difference in the circumference of the earth is 249 miles. That's not exactly walking distance
 

« first day (578 days earlier)      last day (4371 days later) »