« first day (178 days earlier)      last day (4788 days later) » 
00:00 - 15:0015:00 - 23:00

sbi
3:03 PM
@DavidRodríguezdribeas Heretic! :)
 
@sbi He's more daring then most of us, making a statement like that
 
3:15 PM
<strike>hmm</strike>
 
@DavidRodríguezdribeas I also have a friend that thinks singletons aren't as evil as they are told to be.
@JohnDibling Third option: both camps maintain the same position as before
 
@Stacked: true
 
@StackedCrooked got anymore rep since we last spoke?
I've gained some :)
 
3:31 PM
@Tony I gained 5 rep. Hm..
 
@StackedCrooked O/
 
when using visual c++ 2010 the error is shown: 'vector' : is not a member of 'std'
 
Als
@Tony: You greedy man..You got plenty already!! :P
 
why??!!!!!!!!!1 0_0
 
#include <vetor>
#include <vector>
 
3:32 PM
@Als plenty isn't enough, hahah :p
@cyberrog huh? what why?
 
@Tony Don't worry, I can always use this excuse: "I have REAL work to do."
 
I did this using std::vector<int>::iterator;

and it says iterator undeclared identifier
 
Als
@Tony: How much is too much?
 
Makes me sound important.
 
'std::vector<_Ty>::iterator': not a valid using-declaration at non-class scope
 
3:34 PM
@StackedCrooked yes I do too :)
@Als donno...
 
#include<iostream>
#include<vector>

using namespace System;

using std::vector;
using std::cout;
using std::endl;
using std::vector<int>::iterator;

int main(array<System::String ^> ^args)
{

	vector<int> container;

	for(int i = 0; i < 4; i++)
		container.push_back(i);

	cout << "container:" << endl;
	iterator p;
	for(p = container.begin(); p != container.end(); p++)
		cout << *p << " ";
	cout << endl;

	system("pause");
    return 0;
}
 
@cyberrog Well, don't do that then. using is for namespaces, not inner classes.
If you want to bring inner class to a global namespace, use typedef.
 
@cyberrog std::vector<int>::iterator p;
 
but in VS 2003 it worked perfectly
very weird, why it changed in vcpp 2010
 
VS2003 is ancient.
Also, it's C++/CLI, they can do whatever they want with it.
 
3:38 PM
what about vs 2005
so I should never use:

using std::cout;
 
@cyber: what about vs 2010?
 
using std::endl;
using std::vector;

etc.
in vs 2010 its no able, right??
 
what is no able?
 
You can, but you shouldn't. Not at the global level, at least.
 
isnt this because im using vcpp, instead of vs? Express edition
 
3:42 PM
Oh, JScrollPane. So that's why this crap doesn't work. You'd think a list widget should be able to render scrollbars on its own. No, really, who needs an unscrollable list. :/
 
and in vcpp2010, there isnt auto completing
it says Intellisense unavailable for C++/CLI
 
Intellisense for C++ is next to useless, anyway.
 
@PiotrLegnica is it unavailable in vs too, or only when using vcpp?
 
(Better delete that...) :)
 
Mine can be optimised out. But really, what's the use-case of a list widget that can never render scrollbars.
It's like a button that can never be clicked.
"Oh, you might want JClickableWidget on top of that."
 
3:56 PM
@PiotrLegnica Why not simply use the JScrollPane then?
 
Well, now that I know that's the way, I do.
 
trying to use sleep(5); but says identifier not foun, what should i include??
@PiotrLegnica do u know?
 
unistd.h on POSIX
On Windows you can use Sleep(..) if you include <windows.h>
 
I guess it's hopeless/
3
A: Singleton initialization

John DiblingThe best way you can use the Singleton pattern is to not use it at all. A brief summary of why Singletons are bad: They are globals with special restrictions. Globals are bad enough for their own reasons; making them singletons just amplifies the badness. If you really need only one instance ...

 
Since it's .NET, then you probably should use .NET's sleep, wherever that might be.
 
4:02 PM
@PiotrLegnica found the solution here, thanks
 
@JohnDibling @jalf seems to agree with you, see his rant here
11
Q: Are Singletons really that bad?

Joe ZephyrIt's understandable that many design patterns can in some cases be abused, and like mom always said: "Too much of a good thing isn't always good!" I'm noticing that these days, I'm using Singletons a lot, and I'm worried that I might be abusing the design pattern myself, and running deeper and d...

we should start a anti-singleton campaign
 
sbi
@JohannesSchaublitb Strike that!
@cyberrog This is my opinion on the matter: stackoverflow.com/questions/2879555/…
 
@sbi I just upvoted it :)
 
sbi
@StackedCrooked You mentioned sex in your reply? :)
 
4:33 PM
@Tony Or Anonymous Singleton Users Society
 
Hm, I wonder if RTL override character would wreak havoc on the entire chat, or just one message.
 
wow, I look away for an hour, and when I get back, people are discussing singletons and sex.
 
"My name is <bla> and I am a singleton user. For a long time I thought that I can stop any time, that it doesn't affect my work and personal life. But then I realized that it does."
 
Als
@jalf: You cant just stop saying the 3 letter word can you? :P lol
 
@jalf: My bad. I tried, for the first time, to convince a singleton user that singletons are bad. I failed miserably, of course. But at least I got it out of my system.
 
4:38 PM
@Eugene "it wasn't such a big deal at first. But then I started to lie to my familly to create more singletons"
@Eugene "then I couldn't go to my girls dance competition, I was to busy coding singleton"
 
@JohnDibling I see it as a multi-stage thing. A good start is to just make them aware that some people actually don't like singletons, despite them having been called design pattern
 
Als
The singleton Story
 
It can get really bad, trust me, singleton, never once.
 
Coming up next: Singleton Singleton. There Can Be Only One.
 
then give the subject a month or two to engage his brain, and then next time you might be able to get him another step of the way
 
4:41 PM
Using global variables isn't normal. With Singleton it is. Singleton, never once.
 
but to begin with, you're up against the powerful indoctrination that "patterns are gooooood. If something is a pattern, it must have positive value... And if someone has written a book and called something a pattern, then that something must be a pattern"
 
Singleton Factory Singleton (you actually might need that if you use them at all...)
 
can't cure them completely in a single step ;)
 
@Eugene so I guess this factory would be "the one". One singleton to rule them all?
 
@jalf: I suppose you're right. But I'm impatient. When I say "blah tee dee blah" I want people to just see the light. :)
 
4:42 PM
No no, with Singleton Singleton you can ever write only one singleton.
 
Als
Probably the affinity for singleton comes from most programers being geeky singletons themselves :P
2
 
@JohnDibling in that case, bashing them over the head with a book may help
 
@Drahakar It is more like a Bee Queen of singletons. It pops them out in orderly fashion.
 
Or maybe Metasingleton would be a better name.
 
4:44 PM
@Als hey, @sbi started it! ;)
 
@PiotrLegnica sounds like a transformer
 
@Als I think it just comes from the desire to not have to use your brain. It's so much easier to read a book by a self-proclaimed clever person, and copy-paste the code he said you should copy-paste
 
Hey, I'm a self-proclaimed clever person. Should I write a book?
 
Als
@jalf: Or maybe because people believe if it is a design pattern it must be good...
 
a singleton user is usually someone who treats design patterns as a cargo cult: if I use these patterns often enough, my code will attract lots of "goodness" all by itself, and I don't have to think at any point in the process
@PiotrLegnica if you like. If you put some code in it and claim it's a design pattern, you may be able to score some money on it too ;)
 
4:47 PM
Twoleton! Where it always has exactly two instances.
 
@Als yep, that's pretty much what I meant. ;)
 
@PiotrLegnica His and hers version?
 
Als
@jalf: Probably, should have a Faq entry about evils of singleton
You got a lot of venom to spill ;)
lol
 
the best part about people discussing singletons on SO is that it usually leads to some of my answers getting bumped and upvoted ;)
@Als I already wrote this: jalf.dk/blog/2010/03/… -- that has to be enough
 
sbi
@Als I think dissing Singletons and mentioning sex and XML at every opportunity will just have to become memes of this room. Or maybe they already are?
 
4:49 PM
I think they are
 
Als
The 3 letter word is already a cult ;)
 
It's a 4-letter word.
 
@Als which one, xml?
 
Als
As for singleton, its the fav bashing boy today...someone needs to be bashed at EOD
 
sbi
@jalf To be fair, while we happen to disagree with him on this, James isn't just some indoctrinated newbie who doesn't know what he's talking about.
 
Als
4:51 PM
@Jalf: SEX
 
@sbi I never said "newbie" or "doesn't know what he's talking about". It's the "indoctrinated" part I think is important.
 
sbi
@jalf Of course, when it comes to talking about sex, I will have to take all the blame. I have more kids than some people have books, after all...
 
liking singletons isn't something you arrive at through logical thought. It's something you're taught
 
Als
@sbi: haha you witty grumpy old man
 
I'd still blame Java.
2
 
4:52 PM
@PiotrLegnica for what? Sex, xml or singletons?
 
XML and singletons for sure.
 
Als
@PiotrLegnica: Why xml??
 
I can't help but think many of the design patterns were invented just because Java is such a crappy and limited language.
 
sbi
@jalf I didn't say you did (and you didn't say I said you did...), but I felt this should be explained here. In a decade, I have learned to respect his opinions. I disagree with him on this, but that doesn't necessarily mean he's just parroting stuff he's heard elsewhere.
 
@PiotrLegnica many of them predate Java though. But Java's popularity probably helped them gain steam
and, in fairness, C-with-classes being such a crappy and limited dialect had about the same effect
@sbi I see. I have no clue who he is though. Should I?
 
sbi
4:56 PM
@PiotrLegnica Actually, that's a very fine idea. Let's blame all discussions about Singletons, sex, and XML on Java! (Wow, I just managed to put four controversial topics into one sentence. Who can do more?)
 
I know, I know... But I just can't be nice to that language. Inability to pass a method to another method in any way but by creating a separate interface and the anonymous class pretty much killed it for me forever.
 
@sbi: religion?
or is that just a superset of singleton?
 
It's like an enormous sponge that takes all the fun from the programming.
 
anyway, I've got to run. See ya later
 
sbi
After a few weeks of these topics keeping to crop up here, we can create a page like this one: meta.stackoverflow.com/questions/19478/the-many-memes-of-meta
 
4:58 PM
@PiotrLegnica that's actually a pretty good explanation of how I feel about Java
 
Als
Hmm...gets a little monotonous all the talk about xml,sex,singleton and sometimes Tina & her ways
 
sbi
@jalf Oh, I thought you would know him. He used to be on comp.lang.c++.moderated (and maybe he still is, I haven't been there in a long time). He seems to have a wealth of knowledge and experience, which he generously shares. There was a time when, if you posted a question on streams on clcm, you'd hope that either Dietmar Kühl or James Kanze would answer, because then you'd know for sure.
@Als We could add Java to the mix of stupid topics. :)
@jalf So? That's one bad topic in a one-word sentence. To top me, you'd need at least five bad topics in a meaningful sentence.
 
Als
@sbi: Guess SO is lucky, you don't be on comp.lang....anymore, makes you help out folks here more and should i add your answers are definitive...
:)
If its you answering, one can be assured it's right
 
sbi
@Als No, I have been wrong quite often, and even more often I haven't answered because I didn't know. And I can't stand reading the standard, and it's very hard to say anything definitive about C++ without reading the standard. There's users here who are C++ gurus, but just because I picked my way carefully along the parts of C++ I know reasonably well, I'm not one of them.
 
Als
@Thats Humble..I have been around here for few months but I find your answers are carefully expressed and to the point of being definitive...You sure are a Guru for some of us:)
 
sbi
5:11 PM
@Als Among blinds, the one-eyed is king. :)
 
Als
@Sbi: I dont mind playing the blind, you do mind playing the king though ;)
 
@Tony, @JohnDibling, @sbi, @StackedCrooked, and @all others: I did not fly out of the discussion, I have been dragged into a 4hour long design/estimate meeting.
 
meetings blow
 
sbi
@DavidRodríguezdribeas Yeah, I know those.
 
I have read a couple of times things in the lines of: people use singletons when they want global variables... Well, a global variable is never better than a singleton, a singleton at least can provide you with correct initialization
 
sbi
5:16 PM
I love those meetings where half a dozen developers spend two hours trying to figure out how to shave a man day off the schedule.
 
You can pass everything as arguments to all classes, well, yes, but is it more readable to pass a Logger reference and keep it in all objects or just have a singleton (a global would have the potential problem of other globals trying to log on construction...)
I mean... it is like goto, you should avoid it, but there are few circumstances where a goto makes for better code than the alternatives. I have not written a goto in the last 5 years, but I have seen a couple in my code base where trying to refactor to remove it would make the code harder to read
About the meeting... it wasn't that bad, we went over some complex improvements that we have been requested and tried different designs, discussed them... it was mostly engineering in a room, more than a meeting per se
 
sbi
@DavidRodríguezdribeas I have yet to see a piece of code that became more readable by using goto, and would not get even more readable by using one of its safer siblings (especially return) instead.
 
When you write C or are too lazy to write proper RAII wrappers over C stuff, goto is good for cleanup. :P
 
Simple case, breaking/continuing from nested loops, you can add extra boolean flags, set them in the inner loop and break, then have tests for those booleans in the next level and break/continue, but that will actually add complexity rather than reduce it
 
Well, in C, it's the only way to cleanup without tearing your hair out.
 
5:25 PM
@DavidRodríguezdribeas The loops should be refactored into functions.
Yes, this is using return as goto, but that argument is weak anyway (all constructs are just fancy goto's) plus your code becomes more modular.
 
sbi
@PiotrLegnica This isn't the C room, and using goto in place of RAII disregards exceptions, and then why bothering cleaning up anyway?
 
I am trying to create a synthetic toy example, but that is quite hard, as removing the complexity just makes everything simpler and then the goto does not simplify much
 
@sbi When you're wrapping C APIs, then there are no exceptions. And I knooow I'm laaazy, I'll fix it someday. :P
 
sbi
@DavidRodríguezdribeas I'm with @GMan on this. There's almost no code that wouldn't benefit from refactoring it into smaller functions.
 
while (true) {
   gathered_data d;
   block = obtain_next_data_block();
   if ( decode_packet( block, d ) ) {
      message m;
      if ( decode_protocol( block, m, d ) ) {
          fields f;
          if (process_required_fields( m, f, d ) ) {
              obtain_field_hashing( m, f, d );
          }
      }
   }
   write_out(d);
};
 
5:33 PM
I don't see any nested loops there.
 
each one of the functions processes the output of the previous one, and creates input for the next, in the process it gathers data (stats and such) in d if the process fails, then it returns false and none of the next operations makes sense.
At the end the gathered data is written out
 
sbi
(Interesting. You can change your deleted messages, and the changes obviously are committed, but they aren't undeleted. "Interesting" design decision.)
@DavidRodríguezdribeas Fine. Where's the catch?
 
while (true) {
   gathered_data d;
   block = obtain_next_data_block();
   if ( !decode_packet( block, d ) )
      goto write_out;
   message m;
   if ( !decode_protocol( block, m, d ) )
      goto write_out;
   fields f;
   if (!process_required_fields( m, f, d ) )
      goto write_out;
   obtain_field_hashing( m, f, d );
write_out:
   write_out(d);
};
Now consider that there is extra work in setting up the data from each function to the call to the next in the one. The version with gotos is pretty much readable: at any point if you cannot continue processing you jump to writing out the data and continue the next iteration
 
while (true) {
   gathered_data d;
   message m;
   fields f;
   block = obtain_next_data_block();
   if (decode_packet( block, d ) && decode_protocol(block, m, d) && process_required_fields(m, f, d))
       obtain_field_hashing( m, f, d );
   write_out(d);
}
 
sbi
while (true) {
   gathered_data d = gather_data(obtain_next_data_block());
   write_out(d);
};

gathered_data gather_data(block_t block)
{
   gathered_data d;
   if ( !decode_packet( block, d ) )
      return d;
   message m;
   if ( !decode_protocol( block, m, d ) )
      return d;
   fields f;
   if (!process_required_fields( m, f, d ) )
      return d;
   obtain_field_hashing( m, f, d );
      return d;
}
 
5:38 PM
@PiotrLegnica That only works because this is a toy example, where there is no actual work being processed between function calls. Consider that m had to be initialized with some data that comes out of the previous stage, and possibly from other parts of code
@sbi And that is much better than the goto... how?
 
sbi
@DavidRodríguezdribeas Then that work would have been put into functions being called, and @Piotr would still be right.
 
@DavidRodríguezdribeas Because your functions obey the SRP.
This function does X, this function does Y. X needs Y, but X does not implement Y.
 
You have just written out the same goto but hidden it out in a function, which means that you need to pass any extra context that might be required, so you end up adding a bunch of parameters to all of the functions
 
sbi
@DavidRodríguezdribeas Because the code that gathers the data now has a name (gather_data()), which makes the original algorithm easier to read. I can just skim over it, and when I want to see how the data gathering is done, I can look at that separately and don't need to see the algorithm that employs it.
 
sbi
5:42 PM
@DavidRodríguezdribeas So? What's wrong with passing parameters?
 
as I started saying, when you write a toy example, everything is simple and easy
 
I have no reason to believe it's any different for "non-toy" examples.
 
sbi
@DavidRodríguezdribeas And I started out saying that I have yet to see any code, be it a simple sample or complicated real-world code, that does not benefit more from breaking it down into blocks doing exactly one thing more than from adding goto.
 
No, the thing @sbi, is that your code above is not simpler than the one with the goto
 
sbi
@DavidRodríguezdribeas The only objective metric I know for that is what @GMan brought up: How many things does a function do? By that metric, breaking it down is almost always better.
 
5:45 PM
It just tries hiding the goto in a return statement, and that does not make it simpler, it just removes a keyword that you don't want to see in code, and that at the same time moves part of the code away from the rest.
 
sbi
Whether you like short prose or long is subjective, SRP is objective.
 
@DavidRodríguezdribeas Then for-loops just hide goto's, too, right?
 
No, they don't they make them more explicit
 
sbi
@DavidRodríguezdribeas Yes, if you absolutely want to say so, we "hide" goto in return, if, for, while, virtual... For decades, CS has kept inventing better ways to "hide" goto. Why do you think that is so?
 
a for loop, and an if are more explicit than a goto, when you see the construct you know exactly how the flow will be
 
sbi
5:49 PM
@DavidRodríguezdribeas All the other statements are to goto what the C++-style casts are to the C-style cast: Tools that do one thing instead of many, because humans can cope better with code doing one thing instead of many.
@DavidRodríguezdribeas As with return.
 
There are people that consider that all functions should have a single return statement, I guess you cannot agree with that?
(I don't btw)
 
sbi
@DavidRodríguezdribeas I was still considering whether I liked the idea of SESE when exception hit, and made the concept obsolete.
 
I think a perfectly valid use case for Singletons are stateless objects where enforcing the Singleton property is just a performance improvement. It would not hurt semantically to instantiate the class more than once, but it would potentially be slower. Discuss!
 
sbi
There's really only one reason for employing Singe-Entry-Single-Exit: cleaning up resources. Exceptions demand employing RAII for that, so it became meaningless.
 
Never understood why functions need to have one return statement. Sprinkle RAII around and logic can be greatly simplified in many cases with multiple return statements.
 
5:53 PM
@sbi Have you tried exceptions in a very tight loop? :P
 
@Eugene You mean return statement, right?
 
@FredOverflow Right :)
 
I am on a strike! I think I can defend all hatred positions just here just now!
 
There is still one "return type" left there... ;)
 
@FredOverflow typles FTW :)
 
sbi
5:54 PM
@FredOverflow Shhh! We're discussing another highly explosive topic now, Singletons have already been dismissed hours ago! :)
@DavidRodríguezdribeas Just get yourself converted to The One True Way, and be happy. :)
 
@sbi Has anyone ever come up with a template <size_t n> class n_elton base class where n_elton<1> is a Singleton, n_elton<2> is a Doubleton etc.? ;)
 
wow, what a discussion and I missed it :(
 
Seriously, though, all those are tools, and while most of the time they are not appropriate, and are utterly dangerous, there are a few situations where a chainsaw IS the tool. Not for a steak, not for spreading butter on bread, but there is this one case, where a knife won't cut it
 
sbi
@DavidRodríguezdribeas Why would I do that?
 
I read somewhere that if/else "is not OOP", so now I do my entire control flow with exceptions, and the occasional use of goto where performance is critical.
3
 
5:57 PM
 
@FredOverflow no you control it with patterns such as the strategy pattern
 
sbi
@DavidRodríguezdribeas A chainsaw is good for exactly one thing: cutting logs. While you can use it to do other things, other tools will be better for doing them.
 
I don't think I could be happy in The one true way... too few choices
 
@Eugene I'm going to have to get one of those. I bet that would help keep people from assigning bugs to me.
 
@Eugene I could think of some uses for that.
 
5:58 PM
@JamesMcNellis Might have to add heat seeking then.
 
@Tony Actually, I think the best idea is to get rid of control flow entirely. It's such a low-level concept.
 
@FredOverflow I actually think I did for an answer once.
 
sbi
@DavidRodríguezdribeas It's not like C++ wouldn't leave you lot's of stuff to fuzz about just because you abandoned goto and X-letons. :)
 
@FredOverflow how would you control anything then?
 
@Tony Instead of doing things sequentially, you evaluate expressions lazily. Did I mention I have a thing for Haskell? ;)
 
6:00 PM
@FredOverflow Nah... you are late again... all good ideas have been thought before. They are called multitons, and I could tell you about the greatness of those little things... well, no, not even I can defend that position
 
@Tony declarative programming.
 
@sbi yea but I need my twentyleton tomorrow, and now you're saying I have to abandon it? LOL
@FredOverflow Oh gosh, Haskell scares me :P
 
sbi
@JamesMcNellis Nothing will ever stop others from assigning bugs to you. That's a sad, but true, and I had to learn it the hard way.
 
Well, you could remove 'assigned to' field. :P
 
@sbi I've found a way, just do a project that none of your coworkers can work on, now you can't be assigned bugs
 
6:01 PM
Well, going home now, it's been a long day...
 
@sbi Expression "pass the bug" was invented for a reason. Even civilians use it.
 
sbi
@Tony Huh? I think you got this backwards. If none of the others can work on it, you'll be assigned all bugs.
 
Wasn't there a hilarious SO question on "pass by XYZ" where XYZ was complete nonsense?
Does anyone have the link?
 
@Eugene that confuses me
 
@Tony You just define properties of things and then stuff happens.
 
6:02 PM
@sbi maybe I did, ah well, I blame sex, java and singletons :)
@Eugene so all happens in the properties or what?
 
sbi
@Tony What? Saying what your problem is confuses you more than writing your own algorithm to solve it? That seems wrong in so many way, I wouldn't know where to start explaining.
 
Oh come one, drop it already.
 
@Tony How can you blame sex and singletons? Singletons can't have sex by definition! Unless you count masturbation.
 
sbi
@GMan We don't have garbage collection here, so please don't drop anything.
6
 
@Tony Well, an "engine" takes your declarations and does with them whatever it was designed to do.
 
sbi
6:04 PM
@Tony And what about XML?
 
@sbi now I'm totally confuzzled! What are you referring to?
 
I blame regular expressions (mostly for not being able to parse HTML).
 
@Tony So you get programming without any explicit control flow :)
 
sbi
@FredOverflow You know there's that question on meta... um, would you mind explaining the concept to them?
 
@sbi I have a hatred for XML that cannot be described in words... I won't even try therefore
 
6:05 PM
@sbi What concept? The Singleton pattern?
 
@Tony But maybe it can be described in XML Schema?
 
What do I have to type here again to have russian hackers pwn my website?
 
sbi
@Tony In declarative programming, you describe what you want, and the interpreter is responsible to generate the code to achieve that.
 
@FredOverflow Yea well unless you wanna go explain masturbation on meta... I don't think you'll be very popular
 
sbi
@FredOverflow Masturbation.
 
6:06 PM
@sbi Anyone familiar with advanced template metaprogramming techniques knows what masturbation is.
4
 
Doc
lol
 
@sbi sounds easy enough...
 
sbi
@Tony A classic example of a declarative approach is yacc: you write down your grammar, and it will generate a parser for you. And while that is not as easy as it sounds here, it's easier than writing your own parser.
 
@PiotrLegnica if it's got the acronym XML in it, I don't wanna describe it, subscribe it or even contemplate it hahah
@sbi hmmm, I guess that is what they use to create compiler parsers?
 
@Tony You either mean grammar parsers or compiler compilers.
 
6:09 PM
@FredOverflow I read something in the intro of a compiler book about parsing and that's what I'm referring to
 
BTW, xml is often a language of choice for declarative programming...
 
Compilers are cool.
 
wow I've really become a rep whore in the last few days :)
 
@Tony The first rule of Rep Whores: you don't talk about Rep Whores!
 
@Tony Sometimes. Hand written parsers are still popular and have some advantages.
 
6:14 PM
I have 8k, so I guess I'll get fancy new toys in a year or so.
 
Doc
@AProgrammer "Johnson! What are you doing?! We've got to ship this product by Tuesday!" "Well, boss, I wasn't pleased with GCC's parser so I thought I'd write a new one."
 
@Doc GCC C and C++ parsers started as yacc one and were rewritten manually... Ada one has always be a manually written one.
 
If you write C++ parsers, then you're a masochist.
6
 
Doc
@AProgrammer I haven't used C++ since college :P
 
6:22 PM
@PiotrLegnica LOL
 
What, it's true. :P
 
sbi
6:53 PM
@FredOverflow A compiler parser is the parser part of a compiler. Sounds almost reasonably to me. :)
 
@FredOverflow hah :) interesting rule
 
sbi
@Eugene That's just a recent development, because people are trying to use XML for just about everything.
@FredOverflow We seem to come back to the same set of topics again and again...
 
Oh, what-EVER! </sigh>
I just read someone's comments int eh singleton thread.
And that was my reaction.
 
7:18 PM
@sbi Are you becoming bored with me? ;)
 
@sbi It's a sign of something else I say
@JohnDibling prob the best reaction you can give!
 
7:38 PM
silence ensues...
 
What.
Updated my blog theme. Waaayyy easier to read.
 
sbi
@GMan ...than the filthy stuff we write about here? :)
 
@sbi Haha, sure. :)
 
8:05 PM
 
I have a coupled simulation which one part of it is double and the other one float
 
@FredOverflow Haha, a classic. :)
 
@GMan Just recently re-discovered it, still funny as hell :)
 
The approach I'm trying out now is to convert the data at every timestep.. I just have no idea how much precision I loose.. any ideas?
 
@GMan I love how his password is "just the letter a" :)
"Sex with vegetables", LOL :)
 
8:17 PM
@FredOverflow Haha, yeah. :)
live.visitmix.com StackOverflow Team live!
 
8:49 PM
so what's new y'all?
@sbi whoever said we write filthy?
 
 
1 hour later…
sbi
9:54 PM
@Tony I did. Wasn't that obvious?
 
10:19 PM
Out of the top of your collective heads, anybody know where I should look if I'm missing __ostream_insert symbol when linking to a library on OSX with gcc 4.2? (using sdk 10.5u). I feel like I have some standard library mismatch somewhere between libs I'm linking...
nvm, one of the libs was built with 10.6 SDK, with the rest in 10.5... :/
 
00:00 - 15:0015:00 - 23:00

« first day (178 days earlier)      last day (4788 days later) »