« first day (803 days earlier)      last day (4143 days later) » 

12:00 AM
@Zoidberg'-- what expression?
 
user142019
@JohanLarsson t => t.Id
 
@Zoidberg'-- That's a lambda. You should be able to get it automatically converted into an anonymous delegate or a named function. I'm not sure how much of IDE support is R#-specific though
 
lambdas suck when debugging
 
@JohanLarsson They don't. It's deferred execution of IEnumerables that may trip you up big time
That's however always the case with any level of coroutine support
I think ZoidBerg can cope :) (Erlang FTW)
 
user142019
@sehe It is a System.Linq.Expressions.Expression<Func<T, ObjectId>>, actually.
 
12:03 AM
@Zoidberg'-- Not really. In that context, it will have been Compile()-ed in to Func<T, ObjectId>
 
user142019
Or at least, that's what VS shows me when I hover over the function name of the function call that the lambda is passed to as an argument.
 
@sehe they usually look ugly in the debugger, passing a Func<T1,T2> to a method looks like crap in debugger iirc
 
user142019
@sehe ahh I see. Nice.
 
reminds me of this
46
Q: C# lambda expression reverse direction <=

user215675I have seen some code which uses the <= operator. Can you explain what is the use of having lambda in reverse direction?

 
user142019
@Rapptz same question about JavaScript a few days ago (though not involving lambdas).
 
12:05 AM
that one deserved a Skeet answer
 
@JohanLarsson ? Not IME. IME, when the passed entity is a simple method group, the (qualified) name is simply displayed. For random lambda expressions, yeah, tough luck. However, who on earth inspects his functors/actors on the debug watch? Instead, just set a breakpoint, maybe
 
Mathematics is always in the multicollider thing
 
@Zoidberg'-- That's also the only context in which the language allows automatic deduction/conversion into Func<>/Action<>. Kinda sad, because it obviously makes var foo = o => o.ToString(); or similar invalid. But it's all for the good cause: readable code with expectable semantics
 
Xeo
Holy crap, the "endless" mode of this game just got about 200 times harder at the halfway point.
 
@Xeo what game?
 
Xeo
12:10 AM
I liked the character design and game play, so I got it.
 
user142019
How do I use both inheritance and a generic constraint?
 
user142019
Oh comma.
 
Xeo
where T:something, T:other
 
user142019
public abstract class DocumentProvider<T> where T:IDocument, IQueryable<T>
 
Xeo
Oh, or like that. :P
 
12:12 AM
@Xeo ooh... what kind of game is it?
 
Xeo
@Mysticial Kinda like beat 'em up.
 
Such. An. Enticing. Title.
I hardly can resist downloading
 
Xeo
You basically mash down a bunch of mobs.
 
@Xeo ... which I've never played before...
 
if you have a class it must come first where T : SomeClass, Intercafe, Interface
 
12:12 AM
oh cool
I might get it when I get back home.
 
user142019
No wait.
 
Xeo
@JohanLarsson Intercafe?
 
@JohanLarsson True story. Also, I believe new() needs to go at the end (or maybe, also at the front, I don't remember)
 
@Xeo made that up
 
user142019
public abstract class DocumentProvider<T> : IQueryable<T> where T : IDocument
 
Xeo
12:14 AM
@Mysticial It's fun. Having a controller is strongly advised (by me), though.
 
@Zoidberg'-- I predict you'll be craving partial ordering and explicit specializations very soon now
 
user142019
lol
 
@sehe yeah, either first or last don't remember either, Resharper takes care of that so I never have to learn
 
Xeo
 
@JohanLarsson Same here ;) You gotta love VS+(ViEmu|VsVim)+R#
 
Xeo
12:16 AM
Oooh, it seems Fortune Summoners has a similar style... I wondered about getting that, it has been translated by CarpeFulgur, the same company that did Recettear and Chantelise.
 
?! You should be a professional game reviewer. These sound like the most niche and unplayed games ever.
 
Xeo
They're fun.
 
user142019
Hurray it works!
 
Xeo
And originally Japanese indie games. I liked the character style, so I played them. :)
 
@Zoidberg'-- you might want to have a look at FirstOrDefault, Single and SingleOrDefault, the Default ones does not throw if none is found, returns null instead. Usable at times
 
12:24 AM
@Xeo Is it an MMO, or just single-player?
 
Xeo
Oh, just single-player.
 
good, then I won't get addicted
 
Xeo
@Mysticial I played this game for 6h straight yesterday. My left thumb was swollen after that session. :|
 
And xbox controller works fine right?
 
Xeo
Yep, that's what I'm using.
 
12:25 AM
cool
@Xeo meh... 6 hours is nothing...
I just don't wanna fall into another trap like I did when I first started with TF2 and SO.
3
*TF2 item collections that is.
 
Xeo
The default button mapping works quite well, although I'd strongly advise remapping the "guard" button to one of the lower shoulder buttons... you're going to need it often and even while pressing other buttons.
 
I still need to get Halo 4.
 
I haven't finished that T_T
I suck at parsing files
 
Haha, I got a star for calling SO an MMO?
 
Xeo
@sehe Btw, Recettear was pretty popular.
And got quite a good meta-score, now that I look - 82.
 
12:30 AM
"An Item Shop's Tale" lmao
how exciting
 
Xeo
@Rapptz Doesn't sound very fun, eh?
 
not at all no
 
Xeo
It's very fun, though. Or atleast was for me.
I really love trying out new and seemingly boring indie games, since they just might be awesome and very fun.
Recettear and Fairy Bloom Freesia definitly count there.
I also liked Chantelise very much, the second translated game from CarpeFulgur.
(Btw, the original developers, EasyGameStation, got a naming theme there. Main chars from Recettear - Recette and Tear. Main chars from Chantelise - Chante and Elise. :) )
 
I meant to link a comment.. fucking markdown
 
user1182183
we have some quaternion guru here? (or someone who understands a 3x3 directx matrix?)
 
Xeo
12:37 AM
@Mysticial: Btw, one of the game aspects that I find loads of fun is knocking enemies into other enemies - it knocks them back a bit and does quite some damage. :)
 
@GamErix maybe, I hope but have probably forgotten. Never used directx though
 
sbi
Dietmar Kühl has given a good answer to my std::bind() question. This has allowed me to make some progress on the matter, but it still won't compile all.
Sigh. I am really close to giving up on this one. I need to make some progress now.
 
user1182183
 
user1182183
@JohanLarsson as you can see there are 16 numbers, the 4th colum is somehow always 0
 
user1182183
and the last row is the XYZ position
 
user1182183
12:40 AM
all the other numbers are, well. quaternions?, I want to know if a vehicle is upside down or not, but I don't know how to get that from those numbers
 
user142019
Fuck. I have two members with the same name. T_T
 
@GamErix multily the matrix with a 0,0,1,0 vector and dotproduct?
assuming z is up, guessing a bit here been a while since I did it and getting a lil drunk here too
 
user1182183
@JohanLarsson sec :d
 
Well, I just ran your code on my machine, and it happily read 10 million random numbers written by another program I have. I didn't check that all the input was working. But it suggests that there's something other than your code that is wrong - for example, the input may be bad? — Mats Petersson 6 mins ago
 
user1182183
*need to look at the available functions
 
Xeo
12:44 AM
What's getting frustrating are those magical attacks from the enemies... I can't seem to guard in time and they totally break my flow. :|
Also, they hurt. A lot.
 
sbi
@Zoidberg'-- Just enjoy having two members at all. I think most of us have only one member. (What do you mean, "in a class"?)
 
user1182183
@JohanLarsson ideone.com/CYd5zA , thath's the "matrix" class, so I just do matrix * vector(0,0,1,0) and then what should I compare to if the vehicle is upside down?
 
the resulting vector dotproduct 0,0,1,0 <0 should work
 
user142019
@sbi in a class, yes.
 
user1182183
@JohanLarsson thanks will try :)
 
user142019
12:48 AM
But I already solved it.
 
user142019
CRUD and validation work. Now I can begin.
 
Xeo
Hm, and just to show me that it's really the magic attacks, I make it through that phase 1st try. :|
Well, until I hit the boss... Eh. Fuck.
 
That reminds me..
I never did end up doing that matrix class because initializer_lists suck
:(
 
Xeo
Fuck. That boss is able to 2-shot me.
 
user142019
Man. VS is good at formatting.
 
Xeo
1:05 AM
Man... I hate it when the enemies get into a "magic attack frenzy"... all of them just shooting shit all over the place. Feels like Touhou. -.-
 
@Zoidberg'-- ? PowerShell "Format C:"?
 
sbi
@Zoidberg'-- For C#, it's really good. But parsing C# is a walk in the park, compared to parsing C++, so that's no surprise.
Ha, @rici, did I lure you into here?
Welcome! :)
 
@sbi: I find it totally ironic that I started with lisp about 40 years ago, and i just got to start using lambas in c++ a couple of months ago.
now that i've left the corporate style guide and get to use c++11
progress is, shall we say, non-linear :)
 
sbi
Yeah, using C++11 at work would be nice. It's not gonna happen anytime soon, though.
 
user142019
A Ticket belongs to a Milestone. How would I name a function that returns the milestone belonging to a given ticket?
 
sbi
1:14 AM
I wish all those embedded vendors would just write backends for llvm. Then we could be using whatever language we like. (That includes the puppy's Wide, should he ever come around finishing that project.)
 
@sbi, understood and sympathy expressed.
@sbi, it's not just embedded vendors. it's also corporate inertia, even justifiable inertia on the basis of grotesquely large fragile codebases.
 
sbi
@rici I was once part of a team that worked with not even a dozen people at a code base of 4 million lines. That code has millions of desktop installations, is integrated in lots of other applications, and there's servers out there it runs on. At any time it was compiled for at least half a dozen platforms with as many compiler/std lib. Yet we updated ASAP when a compiler update promised improvements. (Which rarely ever is when the update is released, but still...) So this is doable.
Of course, it takes a lot of effort to always be on your toes. (I remember a new VC version dumping 15,000 useless warnings on us. It took weeks to sort those out.) But the returns are definitely worth it.
 
@sbi: sure, but when you've got thousands of engineers, things get trickier. Also, there is an understandable reluctance to use too many different languages which might not be understood by the next maintenance programmer who comes along.
this is why startups are more flexible, i guess.
 
sbi
That codebase was a decade old. The company was older. Not exactly a startup. But, yes, I do see what you mean.
 
anyway, i'm not saying i liked it, although there were other parts of the job which i miss a lot.
but i understood the motives.
 
1:22 AM
i need to train myself on properly misrepresenting what others say
 
you want to be a lawyer?
 
sbi
I don't think you'd need more training for that. :)
 
@sbi, right, gotta go.... good luck with the bindery. maybe i'll pop back in another time.
 
sbi
Later, @rici.
 
user142019
1:39 AM
If you have to interface with a database, how do you organize the mappings between objects and records, especially relationships? Do you have plain objects and functions like save and find?
 
user142019
As for relationships, I cannot just use custom getters unless I store a reference to the database connection in the objects themselves.
 
user142019
I could use globals but that's really fugly.
 
Ell
It's not that fugly
 
user142019
I need a DAL.
 
@Zoidberg'-- have you checked out extension methods? Dunno but might be what you want
 
Xeo
1:50 AM
Amahgahd, that stupid boss is finally dead... I can save again!
 
sbi
2:02 AM
I think I should go to bed. It's 3am here, and I won't solve my problem tonight. See you!
 
user142019
Bye!
 
Xeo
2:24 AM
My hand huuuuurts~
But I want to clear the "endless" mode... this strong force is pulling me...
 
user142019
My head huuuuurts~
 
user142019
But I want to write the "data access" layer... this strong force is pulling me...
 
user142019
I don't know how the fuck I should solve relationships.
 
eh?
 
2:43 AM
fuck, I'm sick
I think I'm regular stomach-sick and I have a cold or something on top
 
> I am debating whether to learn C++ or Objective C as a second language. It isn't really that big of a question right now, since I recently started learning C, but it does pop up every once in a while. I want to know if one can simply use C in their Objective C project to reach lower levels and interact with hardware. If this is true, does it make C++'s benefit of low level hardware interaction irrelevant? If that is true, then C++ has a bit less going for it.
 
Xeo
Tha fuck.
Also, losing progress of 30mins of work sucks. :|
 
Hi guys
 
Xeo
Oh hey, another puppy.
That's the third one now, right?
 
It's hard to type from a phome...
 
user142019
2:49 AM
fuuuuuuuck
 
I believe the original puppy is now a dog
 
user142019
Stupid DAL.
 
@Rapptz No. Puppy forever.
 
user142019
Hmm. I could do relationships through proxies.
 
Xeo
@Zoidberg'-- So you want to love someone through someone else?
That sounds kinda twisted.
 
user142019
2:56 AM
Object relationships.
 
user142019
A milestone has many tickets.
 
user142019
I want to be able to do myTicket.Milestone to get the milestone associated with a ticket, but I don't want to query the database from Ticket directly. Instead, I can use a proxy.
 
@Xeo I think that is standard, internet prn anyone?
@Zoidberg'-- you could use an extension method
 
user142019
@JohanLarsson How? xD
 
user142019
I have no idea how I would do that through an extension method, honestly.
 
2:58 AM
public static GetMileStone(this Ticket ticket)
{
//query
}
 
user142019
Then I can just say myTicket.Milestone?
 
user142019
As if it were a property? I also want to be able to assign it.
 
user142019
hmm cool
 
not a property myTicket.GetMilestone(); ( method)
 
user142019
2:59 AM
Meh. :P
 
user142019
Another problem is
 
user142019
I would need to store a reference to the database in the ticket.
 
user142019
Or is that OK?
 
If you made it an extension method you would not need to have db stuff in Ticket
 
user142019
I would.
 
3:01 AM
extension methods are defined in another static class
 
user142019
The extension method needs to get the database reference from somewhere.
 
user142019
The only information it can access is the ticket.
 
ok, fair enough but using extension methods you can have all db stuff in one place at least
but maybe extension method just scatters the code idk
 
guys
has anyone tried sqlite?
 
user142019
fuck persistence
 
user142019
3:09 AM
There is no nice way to do this when you want to lazily load the objects.
 
user142019
I'll just store the IDs.
 
user142019
3:26 AM
I know. I'll use polymorphism.
 
user142019
I can have an interface ITicket and IMilestone and private concrete classes implementing those. These concrete classes are only visible to themselves and to the DAL, and they can see and use the DAL.
 
3:54 AM
right
time to attempt sleep again
 
If you have trouble sleeping I recommend this, worst case scenario is learning something
 
4:11 AM
Damn I never thought it'd be such a pain in the ass to extract game assets (for a 10yr old game) T_T
 
tsk tsk Borgleader.
I didn't know you liked doing illegal things.
 
I wanna take a peek at the models so I can try to remake them and use them in Unity
But I have so many things to do
First there's .key file which I pretty much covered. Then there are the .bif(f) files and then there's the .mdl files which come in two flavors: binary and ascii.
The easiest to import in blender is ascii
Or I could just eyeball the proportions ;)
 
user142019
4:47 AM
Fuck it. I asked on Programmers.
 
user142019
I can't design software.
 
5:07 AM
> I'm graduating in a year and if i've learned anything from my internship it's that COBOL has been around forever and isn't going away. They were trying a new online class to teach new hires but it wasn't very good. Where's a good place to start?
 
@Rapptz I weep for what this man had to go through.
 
Man... KotOR would look sexy in a modern engine (with new assets of course)
Too bad I'm not an artist :(
 
whoa
this guy's solution is so weird
 
nvm... false alarm
 
5:26 AM
posted on December 26, 2012

Last week, I described how I almost traced a bug to the wrong program. Having come this far, I would like to describe the actual source of the bug — such a strange source that I would never have suspected it when I began looking.

 
 
1 hour later…
6:53 AM
woah, how is 51 suggested edits possible? stackoverflow.com/review/suggested-edits/stats
-4
Q: Real time GPS system using google map api but not programmed Arduino

AligatorReal time GPS system using google map api but not programmed Arduino In that all working process is shown but in java any api is available to connect with GPS Tracker ? How do I sort this problem out? Kindly help me to resolve this issue.

Oh. That's how.
 
cpx
> Thank you for reviewing 20 Suggested Edits today; come back in 16 hours to continue reviewing.
:/
 
user1182183
7:32 AM
hm
 
user1182183
#define NUMENTRIES(hdr,field,nextfield) \
(unsigned)(((hdr)->nextfield - (hdr)->field) / ((hdr)->defsize == 0) ? 1 : (hdr)->defsize )
 
user1182183
why am I getting a division by 0 error here?
 
user1182183
I mean, I have a conditionary operator..
 
cpx
Probably because If member defsize compares unequals to zero then you have a division by zero.
 
user1182183
7:46 AM
huh? Can you explain? :P <little brainfuck over here now>
I thought it was like (statement) ? (if_true) : (if_false) so if defsize == 0 is false I should be able to safely use defsize.. right?
 
Wrap the denominator in parentheses? (((hdr)->nextfield - (hdr)->field) / (((hdr)->defsize == 0) ? 1 : (hdr)->defsize ))
 
user1182183
well it just happens when I load more than one script, I think i should go find the root of the problem ;>
 
evaluating ((hdr)->nextfield - (hdr)->field) / ((hdr)->defsize == 0) may be division by 0
 
user1182183
@irrelephant ((hdr)->defsize == 0) ? 1 : (hdr)->defsize
 
user1182183
7:50 AM
(expr) ? if_true : if_false :P
 
user1182183
@irrelephant if that code does a runtime error, then mine shouldn't ; o
 
user1182183
just some extra parenthetis and I think it fixes
 
user1182183
but nyway going to investigate WHY it happens
 
@GamErix It means (hdr)->defsize != 0
 
user1182183
@irrelephant nah i'm going to check why defsize is 0, it shouldn't be 0 anyways no matter what happens
 
7:55 AM
@GamErix if defsize != 0 then the boolean value is 0, leading to a division by 0
 
user1182183
@irrelephant yeah k thanks :$
 
8:30 AM
um wut
Did everyone take holidays for today and tomorrow?
 
8:46 AM
Anyone know Code::Blocks enough to tell me how to add paths for .h and .cpp files so I can use angle brackets to #include them?
 
@RolandSams It shouldn't be hard to find either in google or the IDE itself.
Besides, it's just you and me right now here :P
 
@BartekBanachewicz will keep looking. Any advice on what 'm looking for?
 
@RolandSams "include paths" || "include directories"
Anyway, these are only for .h files. Don't try to include .cpp
 
@BartekBanachewicz actually the files have no extensions at all
Most of them don't
 
@RolandSams What are you trying to add there, exactly? o.O
It's common only for library headers not to have an extension.
 
8:53 AM
PQXX for Postgresql
 
well, anyway
you should be interested only with includes at this point usually
If it's an opensource distribution, compile it as static library and link.
 
thanks for the examples. Works now
 
9:25 AM
Why would anyone name a file the same as a folder in the same directory?
 
10:03 AM
@RolandSams it's because your FS supports such thing
 
@Abyx penis:/penis/penis
 
obscentity
in the lounge?
 
"penis" is an obscenity? no way
 
@Abyx what FS supports this? I understood 2 files, e.g. a/path/file.txt and a/path/file.txt/other.txt
 
@sehe dunno, it's what @RolandSams says
 
10:14 AM
okey, it would maybe be more funny with long long penis; but I guess someone invented it before
 
@GamErix Hideous macro alert!
man, gotta see WGP today
 
@DeadMG oh god why you linked to it I had to look at it for a full second
 
man
why did I have to get up so early?
stupid WGP
 
10:29 AM
that's a crock of shit
 
Atleast the points about 'Easier Commutes' and 'A Quiet Hour' are true
for me
 
well, not really
the problem of a difficult commute is, well, the problem of a difficult commute, and leaving early to beat the commute is just a strategy for dealing with it
it has jack shit to do with when you normally wake up
 
@vivek If I get up too early I'm sleepy for the whole day.
 
I mean, you're not talking about waking up early, you're talking about going to work early.
 
On the contrary, if I wake up late I am usually most productive around 10p.m. to midnight
 
10:32 AM
that's not just about waking up, it's also about going to work
 
@BartekBanachewicz Define 'early' as suitable to you :)
 
when you don't need to
 
cpx
I sleep in the morning and stay up all night.
 
@cpx since when ?
 
@vivek For me early = I would sleep, but I have to get up. If I'm comfortable getting up, it's not early
 
10:34 AM
the principle reason that waking up early is useful is because our society is completely geared towards that rhythm and offers no flexibility for those of us who have a different one
 
cpx
For years.
Maybe that's why I'm lazy :P
 
@cpx dude... it'll get to you one day
 
Anyone know what "fu000001.o:(.idata$2+0xc)||undefined reference to `libpqxx_a_iname'" means? I thought I had it working before this :(. I'm using Mingw btw
And PQXX
 
@vivek expertise?
 
@RolandSams yeah. You didn't link properly or at all
 
10:37 AM
@RolandSams see the (search for 'unresolved', pronto)
 
@sehe can you be more specific ?
 
@vivek "do you have expertise there?"
 
@vivek Being lazy is usually way to hack the system. Most of the society is lazy
 
@BartekBanachewicz Most of society sucks has lots of properties. Are you saying, we should all strive for some average?
 
@sehe if by 'expertise' you mean a professional degree or something, then 'no', I don't
 
10:39 AM
...
@Abyx sure. clearly it isn't. How could I have been so confused
 
@sehe my ancestors told me that waking up early is the right thing to do. That's when our body tries to clean itself.
 
what a lag...
 
I just believe them :P
 
So my .a file is garbage? I need to rebuild again
 
@Abyx blame my work PC. It sucks
@RolandSams Nobody says that
 
10:42 AM
@BartekBanachewicz That's the good type of lazy. Some people are lazy to clean their house or take medicines, that's the bad type.
 
@sehe No. I'm just saying that living by the system is easier, so negative effects are subjective
 
@sehe can you fill me in?
 
@vivek If you're too lazy to take meds you aren't lazy, but plain stupid.
@RolandSams Did you read FAQ and the rules?
 
I've a simple std::copy(std::istream_iterator<char>(stream), std::istream_iterator<char>(), std::ostream_iterator<char>(cluster_stream)); that copies multiple streams to cluster_stream. But it skips white spaces though its open in binary mode
 
uh, std, y u no ranges :P
 
10:45 AM
@RolandSams No, I can't. There's waaaaaaaaay to little information. (For one thing, you didn't even tell me there was an archive file involved, nor the commands used or the platform.). Really, just take it to Stack Overflow
 
std::ofstream cluster_stream(path.string().c_str(), std::ios_base::out | std::ios_base::binary | std::ios_base::trunc);
std::ifstream stream(absolute_path.string().c_str(), std::ios_base::in | std::ios_base::binary);
 
@BartekBanachewicz because boost
 
@sehe I find boost::range doc hardly readable.
 
@BartekBanachewicz Who needs docs?
 
Anyway, is it corporate-safe to use boost::range, if you know what I mean?
 
10:47 AM
@NeelBasu stream.unsetf(std::ios::skipws) or something? Agreed, I'd expect binary to imply this. Anyways, no need to specify out or in on the ctors of [io]*fstream
@BartekBanachewicz I have no clue what you mean. Were you the one moaning about "can't use Boost license"? Fire your employer :)
 
@sehe What I am afraid, can it be something wrong somewhere else ?
 
Boost License is the (one of the) most permissive I've seen. It basically says "Do whatever you like".
 
as i\the streams are binary ?
 
@sehe No, not licence, of course. I meant, does it integrate with other code that you would have to integrate with?
 
@NeelBasu It can, obviously. But you're not showing anything else, so it would hardly be fair if I told you you're wrong
 
10:48 AM
@sehe what is the possibility ?
 
@NeelBasu 67.523%
 
@NeelBasu The possibility is that I'm psychic. It's also possible that I'm not. What does your crystal ball read?
 
Ell
Nop
Yeah boost integrates and is dynamic and productive and modern and buzzwords
 
@NeelBasu Please. Stack Overflow or ideone at least
 
10:49 AM
@Ell is it Web 2.0 and cloud?
 
1 message moved to bin
 
@Ell Oh it is! "Boost is the de-facto community project that delivers future standard library feature of the highest quality through peer review, continuous integration, frequent shipping and open source development. The process guarantees the continuity, homegenity and quality of the constituent libraries". Blablabla
 
:6886512 if something is redundant, it doesn't mean it's wrong
 
Xeo
Wut? Since when does const imply internal linkage? Did I miss something?
 
uhm... I heard something like that
 
10:53 AM
@NeelBasu I'm going to guess 'observer error'. The code seems... okay (but messy)
 
What is observer error ?
Is it some new jargon ? that I don't know ?
 
@NeelBasu A.k.a. "Mooing Duck debugging"
IOW: you're looking at the wrong thing, getting confused?
 
@Xeo
13
Q: Why does const imply internal linkage in C++, when it doesn't in C?

kotlinskiSee subject. What were they thinking? UPDATE: Changed from "static" to "internal linkage" to save confusion. To give an example... Putting the following in a file: const int var_a = 1; int var_b = 1; ...and compiling with g++ -c test.cpp only exports var_b.

 
I don't see a duck even
 
btw i asked a Q, since my Q here got bin-ed
 
10:57 AM
@NeelBasu @MooingDuck has reported above-average incidents of this type.
 
btw, @DeadMG, what's wrong with that question?
 
@NoSenseEtAl No need to drive-by-link then. See the newbie hints
 
@Abyx should be on SO
 
@sehe what link?
there was no fucking link, nor wall-of-code %)
 

« first day (803 days earlier)      last day (4143 days later) »