« first day (633 days earlier)      last day (4305 days later) » 

12:01 AM
@RMartinhoFernandes Dr. Seuss book "Cat in the hat" had two characters named "Thing one" and "thing two"
 
hmm, my program was freaking out and throwing errors left and right and refused to play any audio. Eventually I figured out I had accidentally run a batch file that deleted all the audio files. Oops.
Hooray source control!
 
hello everyone :)
 
user1174868
I have been stuck on this simple problem for four days now and I do not really know what to do, guess I just need to take a break (NOTE NOT A PROGRAMMING QUESTION).
 
@Jordan :D
 
12:22 AM
Hi guys. Sorry for interrupting but I'm getting this really strange error when I try to compile this with g++ :
THE SNIPPLET:
>#include </Path/to/file.h>
>#include <iostream>
>using namespace std;

THE ERROR:
test.cpp:28: error: expected nested-name-specifier before 'namespace'

test.cpp:28: error: expected unqualified-id before 'namespace'

test.cpp:28: error: expected `;' before 'namespace'

test.cpp:28: error: expected unqualified-id before 'namespace'

test.cpp:47: error: expected `}' at end of input
However, if I remove the first line, it compiles fine. It just happened. Was working completely fine up to now even with the file path. Any ideas?
 
Missing semicolon on </Path/to/file>.
 
so </Path/to/file.h>;
 
No, no, I mean inside that file.
 
@NicoBellic I'd guess the last thing in that file is a class, but there's no ; at the end of the class.
 
You mean inside the .h file?
as in class somename {}; ?
 
12:29 AM
@NicoBellic yes, that's why he said inside that file
 
@MooingDuck No there is. The file was working absolutely just fine up to now. However this all started happening after instead of compiling as "g++ file.cpp -o main" I compiled the class file as "g++ classfile.h -c control"
 
@NicoBellic that's shouldn't be related. That error should only show if you have an error in the header itself
 
Oh, don't compile .hs.
Now you have a PCH lying around.
 
@RMartinhoFernandes he used the -c flag, doesn't that... I dunno...
 
Look for a file ending in .h.gch and nuke it.
 
12:33 AM
@RMartinhoFernandes Will do. give me a sec and I'll get back.
 
sure? "-c Compile or assemble the source files, but do not link. The linking
stage simply is not done. The ultimate output is in the form of an
object file for each source file.

By default, the object file name for a source file is made by
replacing the suffix .c, .i, .s, etc., with .o.

Unrecognized input files, not requiring compilation or assembly,
are ignored."
 
@MooingDuck That's simply "compile one TU instead of a whole program". I dunno how it interacts with PCHs though.
@MooingDuck A header results in a PCH.
 
@RMartinhoFernandes ah, there it is, I see now
@RMartinhoFernandes heh, with a switch you can compile .h files to an "Ada spec"
 
Success fellas. Back on track. Thanks a bunch!
the .gch file was killing it all for some reason. What's the reason again?
 
12:38 AM
It's a pre-compiled header. It's complicated :S It's a trick used to speed up compilation when it starts getting very very slow.
And sometimes it messes things up.
 
Oh. Yeah I was noticing that the compile time got much faster than before the file. That's really interesting. I'll keep that in mind.
 
Just avoid passing any .h file to the compiler and you'll be fine :)
@NicoBellic That was probably because of the errors.
Unless you have a really big project, it's unlikely you'll notice a substantial difference.
But if there are errors, compilation can be quite fast, because it doesn't really need to do the whole thing :)
 
@RMartinhoFernandes Nope. The errors were caused because I had forgotten a } in the .h file. I fixed that, but I still had problems with some functions which weren't being called at all from the main() function in the test file. After I deleted the .gch file and recompiled normally all the functions were doing what they were supposed to do.
 
@NicoBellic if you have a gch file, it will ignore the header from then on :( (or something, I've never actually used them)
 
@MooingDuck well, today I learned.
 
12:43 AM
Yeah, that's the problem: any time you change a .h that is in a PCH, you need to recompile the PCH.
 
What does PCH mean?
 
Pre-compiled header
 
Ah ok.
 
So people only put things that never change in it, like system libraries, or boost.
 
Why does visual studio take 3-4 minutes to attach to a running process?
and burns a CPU
oh! It attached!
 
12:51 AM
does anyone know if the raspberry pi can support muiltiple monitors?
(im doubting it but im just curious)
 
1:07 AM
@ITNinja doubt it. But you could use synergy with two raspberries.
 
@NicoBellic That would be sick xD
 
Or 3, or more. Sky's the limit haha.
 
im planning on clustering it with my other devices to take the weight off of it a bit when doing heavier tasks when i get it though.
 
1:36 AM
its awful quiet in here tonight haha
 
Hah eh it's monday night.
 
even still haha
 
Yeah kinda. I'm personally finishing up work and listening to Dre's 2001. Solid monday night seems like it.
 
ahh, im just continuing my studies in c++ :) i love learning new languages ^.^ gives you a reason to go to the very basics again making things like tic tac toe haha
 
1:58 AM
daaaannngggg it >.> something in my game is broken x.x its not detecting matches >.>
 
Fellas I have a question about classes. There is this example I encountered just now and it's of this sort:

>class somename {
>public:
>somename function(somename x);
>};
What does somename function(somename x); mean?
I'm assuming that it's using a class as an argument?
 
it means, you can define your function like this: void hello_world_function(string) for example
and that function will be callable outside of the class
 
I'm confused though. notice that the somename function(somename x) has "somename" the same as the class name. They are called the same intentionally. I'm pretty confused.
Let me write a case
 
here, let me write you an example :)
 
Better formatted pastebin.com/MQDgUW15
oh forgot semicolon there.
 
2:09 AM
ideone.com/pexjB there you go :)
 
No i understand that. Those are two different function with two different names. They are not being called inside each other.
I'm talking about when they are named the same?
 
It's nothing special.
It's just a function that takes another somename object.
 
Ok so say initialized this constructor as this (sorry if I may be using the wrong terminology):

>myClass(int var1, int var2) : xx1(var1), xx2(var2)
I create an object with those values.
then I create a second object with different values.
How can I access the constructor values for each
in the myClass functioname(myClass c)?
 
xx1/xx2 and c.xx1/c.xx2
 
Sorry @RMartinhoFernandes I'm just getting a bit confused. Can you take a look at this pastebin.com/VR4C9py0
 
2:20 AM
What's the "something" you want to do?
 
Is that valid?
Ok say the most basic thing
I want to add the first value of the first class to the first value of the second class
and so on
And then return an object of two variables with the new values.
 
There doesn't seem to be any output?
NMV
Stupid comment.
 
Well, there's nothing to output anything in the code :)
 
Yeah, realized a few seconds too late.
Hah lol thanks though. I had no idea that was the syntax.
 
2:25 AM
One minor note: when you're passing the object in by value (as you are here) you'll often return that same object as well:
 
Yeah, that's often a good idea.
I'm going to sleep now.
Good night.
 
@RMartinhoFernandes G'night.
 
@RMartinhoFernandes goodnight sir. And thank you!
@JerryCoffin thanks. That looks nice.
 
sigh im done with the tic tac toe game lol. I cant find the bug in it, but i learned what i wanted to out of it :P
 
@NicoBellic No problem.
 
2:31 AM
@RMartinhoFernandes night
 
@Mysticial Hello. I'd say "look what the cat dragged in", but The Cat doesn't seem to be around to drag anything in.
 
user1174868
recursion is like the american school system
 
@Jordan It's obviously been too long since I was in school -- I'm not seeing the resemblance
 
@Mysticial Hey mystical, what was that one analogy you used when describing pointers and such? it had something to do with houses or something like that? (currently trying to understand them haha)
 
user1174868
@JerryCoffin I really had no larger point to make, I just wanted to bitch how neither made any sense
 
2:35 AM
@ITNinja Yeah, that's pretty much it. Maybe if the opportunity arises, I might put that as an answer on some question. But it'll probably suffer the same fate as Eric Lippert's book in a hotel room - closed and locked.
Since the basics of pointers are already covered and duped a billion times on SO.
 
@Jordan Hmmm...I think recursion makes quite a bit of sense. Good recursive code is often pretty much an inductive proof in executable form.
 
I've taught a few of my (layman) friends of a lot of random C++ and hardware things. So analogies aren't new for me. It just happened to occur to me that I could throw one into the branch predictor question.
 
user1174868
It is just really hard to wrap my head around how it works
 
user1174868
I am working through a lot of the SO questions but there is about 45 minutes worth of reading there
 
references are where a variable is in memory, and pointers are the values stored in that area of memory, so:
lol=25
noob=&lol
*noob==25
right?
 
2:41 AM
@Jordan That's not surprising -- nearly everybody has a bit of trouble with it at first. It's one of those that you (or most people, anyway) have to spend some time with before it makes sense. It's also one of those that in a typical case you rather suddenly just "get" it, and it seems almost obvious.
 
user1174868
It makes sense to me in C++ a lot more than it does in scheme
 
user1174868
scheme really makes you appreciate c++
 
I never realised how much i took for granted in python until i started learning c++ haha
 
@ITNinja A pointer is a variable that holds the address of some other variable. A reference is pretty much the same -- an alias for some other variable. Pointers are a bit more flexible though. A reference has to be initialized to refer to some object, and always refers to that object, but a pointer can be assigned the addresses of different objects at different times. You also have to explicitly dereference a pointer, but not a reference.
 
user1174868
SO really is lacking in scheme content
 
2:45 AM
@JerryCoffin ok ty much :) (ive never had to deal with them before, so this is really new to me :P )
 
"closed as not a real language"
 
@Mysticial do what? o.o
 
@ITNinja Scheme
 
oh haha
 
@Jordan That is true. At the risk of sounding conceited, there are a few clever bits of it though.
 
2:50 AM
@JerryCoffin I have one more question for you sir.
 
user1174868
This learning curve is worse than eve
 
@NicoBellic Okay...
 
In the code you gave me here pastebin.com/gs18gVcB , say I wanted to save the additions to a third object.
 
@Jordan Can't be -- women (in general) have the hardest learning curve of anything on earth.
 
How would I go about doing that?
 
user1174868
2:52 AM
women are easy, all you need to do is look good or have money
 
@JerryCoffin would RMartinhoFernandes' code here do that? ideone.com/tBsYn
 
@NicoBellic Typically something like this:
@NicoBellic Yes, his is creating new object as well.
@Jordan I'm going to guess you're not married...
 
@JerryCoffin would using your method be safer? Is there any difference. I'm curious.
 
user1174868
@JerryCoffin Nope, my computer is too cool for women to be around
 
@Jordan I have neither :(
 
user1174868
2:57 AM
That is a rough life
 
@NicoBellic Well, as it was mine was just plain wrong. As a member function, operator+ takes only a single argument. I meant it to be a global overload (and have edited it to be). Other than that, it takes its arguments by reference instead of value, which can be marginally safer. The big difference this makes is that it makes operations that might involve conversions symmetrical.
 
@JerryCoffin makes sense
 
For example, consider an Integer class that you can create an Integer from an int implicitly. With + as a member function, the left operand must already be an Integer, but with it as a global overload, either the left or right operand (but not both) can be an int, and it'll get converted to Integer automatically to do the addition.
@Jordan My computer (unfortunately) runs all too hot -- the heat (temporarily) stops my sound card from working every few days or so.
Well, gotta go for a bit. Probably back later though...
 
@JerryCoffin take care and thanks again
 
Thanks and you're welcome.
 
3:07 AM
Im so glad that lulsec didnt attack SO >.>
lulzsec*
 
@ITNinja SO is not in any way controversial. Nobody will bother you if you don't piss anyone off.
 
@Mysticial I know haha, im just saying, it would have been a really jerkish move on their part haha
 
calling max(2,2) would return either one of them?
Or would it return error?
 
user1174868
I need to do something I am good at, guess I can play some diablo 3 and pretend like I get good loot
 
3:17 AM
ugh i cant wait until my finger is done healing >.> im dying to go skating again x.x
 
user1174868
Why do you need a finger to skate?
 
grab tricks :P kinda hurts when your hand has been sliced xD
*finger
 
user1174868
oh
 
thats alright though, i need to go shopping for a new board anyways haha
whats worse though is that i didnt even get to finish my run today >.> my knee locked up on me at 3.5 miles x.x i wasnt even half way through my run >.>
whoah thats crazy, i was reading about extending python with c/c++ and it just clicked haha. Kinda like when i was learning about list comprehension in python haha
i love moments like that ^.^
 
user1174868
3:35 AM
I hate running
 
user1174868
so I haven't done it in like a year, I just lift weights
 
@Jordan ahh, i love running ^.^ i usually go about 4-5 miles on my shorter days and 6-7 on my longer days :) im building back up though, i used to do 5-6 on my shorter days and 7-8 on my longer days :)
 
Why does the c++ keep returning value "1" everytime I set a bool var1 = max(bool a, bool b) and then cout var1?
sorry
not bool
double.
EDIT: Sorry, my bad. Fixed it.
 
4:38 AM
hi all
 
hello :)
 
the weird thing is, removing two std::endls from my game loop actually tripled (no seriously, TRIPLED) my FPS.
guess std::endls are very expensive
 
wow o.o
 
@IntermediateHacker yes -- in addition to writing a new-line, std::endl flushes the buffer, and that's pretty slow.
 
so you shoul use \n?
 
4:49 AM
@ITNinja Yes, unless you actually need/want the buffer flushed.
 
kk :)
 
:4452041w what else would it display? A bool is an unsigned integer between 0 and 1. (ish)
 
This might also be a good read:
253
Q: Why is reading lines from stdin much slower in C++ than Python?

JJCI wanted to compare reading lines of string input from stdin using Python and C++ and was shocked to see my C++ code run an order of magnitude slower than the equivalent Python code. Since my C++ is rusty and I'm not yet an expert Pythonista, please tell me if I'm doing something wrong or if I'm...

Or not, that applies to stdin. Not stdout...
 
5:10 AM
@Mysticial ..and much of the advice almost exclusively to gcc.
 
It was a good read anyway.
That question should've been tagged .
 
@Mysticial At a guess, probably at least 90% tagged [benchmarking] should really be [performance].
 
A lot of questions about performance are missing the tag.
And for some reason, I feel uneasy editing old posts with a shit-ton of votes.
 
@Mysticial I'm not sure it's ever really happened, but some worry about the possibility of people cheating on badges by adding tags to anything they've given a highly-voted answer.
 
@JerryCoffin I did that once, to something that I answered. But it wasn't for a badge though.
Most of the things that I answer and retag are done early - when I first see it.
Oh lol... that parseInt question is now on HN.
 
5:20 AM
@Mysticial HN?
 
Hacker News
 
@Mysticial Ah. Got a link?
 
The branch predictor question was submitted to HN at least 3 times within the first few days. None of them got enough votes to make front page. Granted they all had shitty titles.
I might try to submit it myself later on when the dust settles.
@JerryCoffin It's 15th on the front page: news.ycombinator.com
The title for the reddit submission for the branch predictor question was good.
 
@Mysticial Yeah, just found it.
 
Morning gents
 
5:22 AM
evening
 
@ManofOneWay I guess I must not be a gent, since it's fairly late night here...
 
@JerryCoffin You are most definitely a gent :)
 
@ManofOneWay Why thank you!
 
Wow... that Javascript parseInt question is going through another close/reopen cycle. I guess a lot of people don't like it.
 
@Mysticial I suspect the Javascript faithful hate having their faces rubbed in what a clunky mess it really is.
 
5:27 AM
Speaking of Javascript, did you watch the movie @FredOverflow posted?
 
heloo all.. can someone help me in the logic
 
for handling the stop event in c++/cli
 
@JerryCoffin Or possibly... people who are upset that yet another "simple" question is getting so many upvotes. Though, I know zero Javascript, so I'm not qualified to judge whether it's simple or not.
At least that's what I can make out from the comments.
 
@Mysticial Well, it's true that it's fairly simple (or at least a result of a fairly simple fact -- that Javascript will convert almost anything to a string for no particular reason).
On the other hand, I think it is a legitimate question, so no matter how upset they might be about its getting somebody more rep than really deserved, I can't see how closing it really makes sense.
 
5:38 AM
What I like the most is that object + object is NaN
 
@JerryCoffin Hmm... going through some of the notoriously upvoted "simple" C/C++ questions. None of them went through close/reopen cycles.
But they were all protected though.
 
@Mysticial ...which is part of what makes me thing that's not the real issue.
 
And you could also argue that the branch predictor question counts as notoriously upvoted. If you knew what a branch predictor was and it came to mind. That question would've been easy.
@JerryCoffin All but one of them got a ton of downvotes. So yeah, I suppose the downvotes are a better indicator than close/reopen cycles.
 
@Mysticial So, what do you think? Should I exercise that massive power and click the "protect" for this one?
 
@JerryCoffin I was tempted to when it made reddit. But it hasn't attracted any spam answers yet. So I didn't.
 
5:46 AM
@Mysticial Good point -- in fact, for all the up-voting, it has an almost amazingly small number of answers. Usually at least a few people try to tack on answers, even if they have nothing new to add.
 
@JerryCoffin Yeah... we'll leave it as is.
I was on vacation when this one was asked... and it had a LOT of tack-on answers:
222
Q: Which is better option to use for dividing an integer number by 2?

AbhineetWhich of the following techniques is the best option for dividing an integer by 2 and why? Technique 1: x = x >> 1; Technique 2: x = x / 2; Here x is an integer.

 
@Mysticial Didn't notice that one, but yeah, it sure does. Worse, it's not like they were all just answering at once -- some of them got tacked on hours later.
That does remind me of one thing: am I the only one who sometimes gets a little annoyed when practically every question about optimization prompts 20 answers of "don't worry about it, the compiler always knows better than you do."? I'm not sure I can find it now, but one a year ago (or so) the OP included the assembly output from the compiler, and asked specifically about a different assembly sequence. I got downvoted for noting that his optimization would work, and more was possible.
 
@JerryCoffin Oh god... yes those are indeed very annoying. I used to answer those and get downvoted all the time. The only optimization questions that I answer now are the ones with comparisons.
SSE questions also don't invite any of that "optimization is evil" crap.
 
6:02 AM
@Mysticial I guess I never paid close enough attention to notice that. I'll have to keep it in mind.
 
Probably because the only people who touch SSE are the ones who actually have done low-level optimizations before. So they're less likely to pull the "optimization is evil" trigger.
 
@Mysticial That would/does probably help. On the other hand, after a little more thought, I probably won't worry about it. If I post an answer that's useful to the OP, the minor detail that it gets down-voted isn't all that big a deal. It's not like losing a few points of rep is really going to hurt me.
 
@JerryCoffin Yeah, I tend to be overly conservative with answering questions to the point that I don't get (legitimately) downvoted much. (maybe one a month)
The downvotes I get now are probably jealously downvotes or perhaps revenge downvotes from closures.
 
@Mysticial I probably get downvotes a couple times a week. But of course none of them is legitimate! :-)
 
@JerryCoffin no comment = not legitimate. :)
 
6:19 AM
@Mysticial Well, I had one recently that I asked for (and received) a comment -- that explicitly stated that he thought the answer was useful! Worse, he pretty openly admitted that what he thought should have been done was to assume the OP intended to ask something other than what they really did, and answer that instead.
 
@JerryCoffin lol...
I've had a few cases where someone left a negative comment but didn't dovnwote. Then someone else downvoted and upvoted the comment. Those I consider legitimate.
 
@Mysticial If the negative comment was legitimate itself, I'd agree. I've gotten some comments that just made me wonder how you could be that far out of touch with reality, but still find a keyboard and type.
 
@JerryCoffin I've definitely seen those before. Though I don't think it's even happened to me yet.
 
I guess, being fair, I've written a few answers for which I can see a viewpoint from which the downvotes were probably legitimate. e.g.:
9
A: C++ MFC vs .NET?

Jerry CoffinMFC and .NET are at nearly opposite extremes, each thoroughly crappy in its own way. Using MFC is roughly on the order of living in the decaying wreck of a WW II surplus building. There aren't any signs to warn about dangerous areas, and it's probably not immediately apparent where to find runni...

 
0
Q: C program to predict the winner of 2015 Cricket-WC

Bharathwould you please help me to write a program in C to predict the winner of CWC 2015. I was succesful in implementing the code using java in which i got Bangladesh as wining team.

wtf?!?!
 
6:33 AM
@Mysticial Not sure about cricket, but:
For whatever it's worth, the guy behind this (Dan Johnson) is a pretty nice guy. I'm pretty sure he's not releasing his source code though.
 
I'm actually getting withdrawal symptoms after spending half an hour not writing code.
 
@IntermediateHacker In that case, you really need to stop and relax for a while. Seriously.
 
7:06 AM
@Mysticial "wining team"? lol
-12
Q: Turn on browsers javascript

itsmeIs there a possibility to turn on users javascript with JS, if the users browsers javascript is turned off? if yes how do I do that?

3
^ found in the C# room, lol
 
7:24 AM
I tried to write such a program, but I was only successful in predicting the next day's lottery numbers. — Crashworks 39 mins ago
 
@FredOverflow Favorited, gonna be useful to pull out later - since it's sure to get deleted.
 
@Mysticial only a single page though... Nothing like the famous 'Hidden Features of X' questions of old :)
 
Reminds me of an old joke about "why don't we save the trouble of going to the store to get fax paper, and instead just get somebody to fax us some blank sheets of paper?"
@sehe Yes, but most of those at least included a variety of answers -- this one is pretty much the same answer repeated over and over again.
 
No need to read it :) Also, no need to vote them
 
My compiler is bitching about std::vector<QWidget *&> m_widgetsFromUiFile;
any ideas why?
 
7:28 AM
And then there's this one:
195
Q: How many levels of pointers can we have?

ParagHow many pointers (*) are allowed in a single variable? Let's consider the following example. int a = 10; int *p = &a; Similarly we can have int **q = &p; int ***r = &q; and so on. For example, int ****************zz;

which has a quite a variety of answers...
 
@Nils You can't store a reference (directly) in a standard container.
 
But I need something I can iterate through to hold my references to my pointers. Yes it makes sense that containers don't store references.
 
morning alls
 
morning
 
@Nils Perhaps you could use std::reference_wrapper?
@thecoshman Good morning.
 
7:35 AM
thx but I don't have 11 at work
 
@Mysticial are you there?
 
user1174868
So I can't sleep and I have been browsing too much reddit....reddit.com/r/AskReddit/comments/waww8/…
 
@bamboon For now, but I'll be heading to bed within the hour.
 
user1174868
Some pretty weird stuff
 
@Mysticial ok, I got some quick questions. Is it true that cacheline sizes are getting smaller with time?
 
7:37 AM
@bamboon They've been 64 bytes for as long as I started programming.
 
@bamboon you mean, a CPU designed in 2012 will have smaller cachelines than one designed in 1998? Or that the cacheline of the same CPU will shrink over time?
 
> In part 2, STL will teach us all about template argument deduction.
 
*for x86
 
@jalf the former
 
7:37 AM
I've played with a PowerPC machine with 128-byte cachelines.
 
@FredOverflow watched the first part yesterday
 
@jalf you got any more info on that?
 
IIRC Fermi GPUs also have a 128 bytes cache line size
 
@bamboon I'd have to check some manuals to be sure, but my impression is rather the opposite. Newer CPUs tend to have at least as large of cache line sizes as the ones they replace, and sometimes larger -- but growth has been extremely slow.
 
@JerryCoffin ok, interesting
 
7:42 AM
I wouldn't expect them to get smaller - that's for sure.
 
but do bigger cachelines not also have disadvantages, like the higher risk of false sharing ?
 
@bamboon In my experience, false sharing is pretty rare unless the code is really badly written.
Though, I admit that I'm biased since my definition of "really bad" might be a pretty high bar.
 
@bamboon They do have some disadvantages, but it comes down to this: caches are growing, and if you have too many ways, searching them can get slower. Faster response outweighs the benefits of smaller cache lines (especially since you have to search them not only for fetches, but for all snoops).
 
@Mysticial:please help I have spent 3-4 days on this problem.I tried out the characterstic equation generation,the matrix method,recursive method,the iterative method .Each and every thing.Now please gods like you need to help.I have tried hard enough — Ajax Aristodemos 38 secs ago
err... maybe I should just go to sleep... lol
And I've spent the last 3-4 days trying to understand a paper on wormhole routing...
 
Wut
 
7:50 AM
@Mysticial ^^
@JerryCoffin ok, makes sense
 
@sehe It's a supercomputer networking thing. Nothing to do with blackholes.
 
@Mysticial That's a relief
 
@sehe Though it'd be awesome if I could route a blackhole or wormhole to wherever I want it.
 
@Mysticial Though in this case "network" might be (often will be) the fabric connecting the CPUs inside of a single box/rack (e.g., infiniband).
 
@JerryCoffin Correct
 
7:59 AM
Haha. Just found this:
> But afaik, Spirit was added because it was such a big and impressive thing, that it's "unboostness" was forgiven. ;) -- jalf Dec 18 '08 at 22:21
The unboostness has indeed been reduced a lot since then.
 
Well, it's getting late enough that I should probably go get some rest.
 
same, 3am here
night all
 
@Mysticial ...or "night owl", as the case may be.
 
Haha. Nice thinking:
0
Q: C++ program sees an included .txt file as code

Benjamin GoodberryI am just learning the very basic aspects of input/output streams, and can't seem to have my program read a text file. It gives me errors that indicate it is trying to read the .txt file as C++ code, while I am just using values in there to test my stream. These are the contents of my included ....

 
8:16 AM
I have an Android app to modify, and I'm changing a view that's supposedly used as a menu, and the change is not visible, no matter what.
 
hmm... quick bash question. if I want to redirect output, and use the '&' do I do command > /dev/null & or command & > /dev/null
 
& sucks.
Try both?
 
@CatPlusPlus is there an alternative way of running a command and not having it lock up my shell with that process?
 
screen.
 
well, the former seems to work
tis a gui I am launching
I just don't want to have to sit there looking at all the shitty output from it on command line, nor do I need want a terminal locked up for it
AFAIK '&' is the best tool for the job
 
8:30 AM
&>/dev/null is the same as >/dev/null 2>&1.
 
8:47 AM
yay, overwrote a file which apparently contained some important changes that didn't exist anywhere else...
oh, or not. Looks like I broke something bigger than that file.
Yay
 
@jalf sound like you just levelled down
 
pretty much, yeah
 
Java project that takes 20 seconds to compile. Woe is me.
 
@ecatmur in recent enough shells
 
9:02 AM
@CatPlusPlus are you complaining about that taking too long?
 
@CatPlusPlus try 20 minutes, then you can complain
 
dammit =\ why do I need complete definition of Foo if I want to declare vector<F> member variable
 
Because.
 
9:09 AM
another reason to make my::own::vector :(
 
oh lord! I thought clearcase was bad before, now we are using it with in linux!
 
lol
 
sbi
Mornin'.
 
Gah. Modifying one list item is modifying like 5 files, because of course everything has to be in separate places. Who cares it's hardcoded anyway, and that doesn't buy anyone anything.
 
Cat's on a roll again :P
 
9:31 AM
It's a rollcat.
 
I have acquired a digital caliper and now I can't even stand using an ordinary ruler.
It's like getting a dual monitor setup. All of the sudden a single monitor setup is unacceptable.
 
@sbi ICH LIEBE DICH HEUTE! HEUT' LIEB' ICH DICH (golfed because life is short)
 
ES! ES! ES!
 
@Abyx Strange, innit. You can use Boost Container to get Containers of Incomplete Types
 
9:45 AM
@thecoshman So, now it rocks?
 
@sehe You need 4 words to say you love someone in german?!
 
@sehe thanks, I didn't know about them
 
@Neil No. You need 4 words to say you love them today
 
@sehe Oh, I interpreted "today" as in, do it now, not actually say "I love you today"
 
You only need one really long word.
 
9:47 AM
@sehe but you only need 1 word to shout "it" at them.
 
@ecatmur Preferably while they're concentrating intensely at something
 
@Neil I'll keep being a pedant :)
@ecatmur True. Now I get your joke too :)
 
Let the scorning begin
0
Q: Python fails after deleting site.py

Konrad Rudolphtl;dr I accidentally deleted my Python installation’s site.py file. Now, when trying to start Python, it complains, ImportError: Couldn't find the real 'site' module I tried downloading a site.py from setuptools but this results in an infinite recursion in the __boot method around the stat...

 
lol
You fool. "Please delete file X to continue" == $ mv X X.you-wont-find-it-here.
 
@sehe lol!
 
9:59 AM
seriously, why does one have to register on dr dobbs
 

« first day (633 days earlier)      last day (4305 days later) »