« first day (659 days earlier)      last day (4304 days later) » 

2:01 PM
I installed Google Picasa and the "wireless capability" (whatever that is) disappeared. No network, and using the troubleshooter it just attempted to turn on wireless capability, and failed. I had to do a system restore.
Is that normal?
 
@RadekSlupik Wait, why did you change your avatar to 'PILE_OF_POO'?
 
is it microfucked widows ?
 
yes, windows 7
 
@sehe LOL!!!
 
Then it's normal
 
2:02 PM
@Cheersandhth.-Alf Did you download that from third party website?
 
from google?
 
I donno.
but I believe those 7 widows might know
 
hehe
 
i also got an "audio service not running" message for the volume control icon
weird
 
format
 
2:04 PM
:O
 
@Cheersandhth.-Alf format c:
 
@FredOverflow Don't forget /Q /L "RUBBISH7"
 
@Cheersandhth.-Alf get your computer restarted and check it?
 
@Cheersandhth.-Alf That's typical of server installations. Or safe mode
 
I was planning to use Picasa to record a Lounge Song. Do I dare try to install it again?
 
2:07 PM
lol
 
bye all
 
oh dear, the "wireless capability" disappeared again
troubleshooter fixed it though
 
@Cheersandhth.-Alf Picasa is for pictures, right?
 
oh i need help here
aviraa antivirus reports it's turned off
 
troll lol lol lol lol
 
2:08 PM
@Cheersandhth.-Alf Turned off by the sight of Picasa
 
@Cheersandhth.-Alf How about you turn it on then?
 
@FredOverflow Untrustworthy. System may be compromised.
@Cheersandhth.-Alf Anyways, 90% sais your system is in safe mode. Use msconfig.exe and reboot
 
@Cheersandhth.-Alf seems like you got some trojan etc, good luck :)
 
@Mr.Anubis Nah. Early conclusion
 
2:10 PM
@Cheersandhth.-Alf Meh. That's just the same info in Microsofty infographics
 
cdecl says Base*(*)() is a syntax error, interesting. — FredOverflow 5 secs ago
Doesn't work with int either.
 
int* (*x)() works
 
@FredOverflow same for int main(int a).
 
@Mr.Anubis Ah, I need to name the function pointer. Why?
 
@FredOverflow And it doesn’t understand Base.
 
2:16 PM
@FredOverflow does C allows abstract types? . I'm not sure , sorry
 
No.
You can have opaque types, though.
 
What is an abstract type?
 
Someone like me
 
Rewriting cdecl using libclang shouldn’t be very difficult.
At least if you only want the C-to-English converter.
 
Pure virtuals make it impossible to instantiate a type?
 
2:17 PM
@FredOverflow int* (*)() <- a type with no name I guess
 
English-to-C is more difficult.
 
@RadekSlupik aah then I'm wrong
 
Wait.
 
@RadekSlupik Well, without libclang both would be (a) equally difficult (b) a lot smaller (c) already done
 
I don’t know.
 
2:18 PM
int********************************p
> declare p as pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to int
:)
 
@FredOverflow This is fun:
 
Fun...
 
they are allowed, but you need to declare the variable together with the class
 
int&& bar
> declare bar as reference to reference to int Warning: Unsupported in C -- 'reference' Warning: Unsupported in C -- 'reference'
 
Hey, I am reading "Yet Another Haskell" tutorial. What does this statement mean?
"It is called lazy because
expressions which are not needed to determine the answer to a problem are not
evaluated. The opposize of lazy is strict, which is the evaluation strategry of most
common programming languages""
 
2:19 PM
@LewsTherin whoa!! I thought you became zombie (like me) :)
 
@Papergay Or not. You can use anonymous types in quite a number of occasions which I continuously forget
 
@LewsTherin When you say f(a + b) in C, a is added to b, and the sum is passed to f. That is called strict evaluation. In Haskell, on the other hand, the computation a + b itself is passed to f. That is called lazy evaluation. Only if f peeks at its parameter will the sum of a and b actually be computed.
 
@Mr.Anubis Hey lol. I am always in the C# room.
@FredOverflow Ah, I understand. Thanks.
 
@LewsTherin aah :)
 
@sehe you mean you cant have structs or classes without a name?
 
2:21 PM
@LewsTherin Scala also has this, but I don't know about C#.
@RadekSlupik Why doesn't it complain about functions returning functions?
int f()()
> declare f as function returning function returning int
 
@FredOverflow I am not sure about C# either. I just started learning Haskell. So far seems cool :)
 
@FredOverflow It apparently sucks.
 
@Mr.Anubis I thought you changed your name.
 
@LewsTherin Everybody likes Haskell in the beginning, and by the time you hit the hard topics, you are already sucked in too deep, and you will never leave Haskell again. Har har.
 
@LewsTherin you mean my nick on SO? nah , I hadn't :P
 
2:23 PM
Oh, John Carmack just mentioned Haskell in his keynote.
 
@FredOverflow monads are biggest teaser in haskell?
 
@Mr.Anubis I wouldn't know.
 
Monads are easy.
 
@FredOverflow I hated Haskell when I learned it in school. But using functional programming style in C# made me curious as to why Haskell was so hard. My lecturer was just horribly bad at teaching.
 
It’s the stupid blogs that teach them in a way that assumes you are already either an expert in Haskell or mathematics.
 
2:25 PM
@LewsTherin Aren't most lectures horrible at teaching?
 
@FredOverflow hah, i managed to quit the "learn me a haskell" tutorial before the end
 
93
Q: A monad is just a monoid in the category of endofunctors, what's the problem?

Roman A. TaycherWho first said A monad is just a monoid in the category of endofunctors, what's the problem? and on a less important note is this true and if so could you give an explanation (hopefully one that can be understood by someone who doesn't have much haskell experience).

 
@FredOverflow Very true xD. My programming teacher was excellent though
 
@Cheersandhth.-Alf s/me/you/
@LewsTherin Was it me? Just kidding ;)
 
@FredOverflow xD I would be a savant (probably) if you were :P
I'm thinking of a final year project to work on. Any ideas?
 
2:29 PM
@FredOverflow Do you teach?
 
monad are a mind boggle
 
btw, does anyone know whether there are any real atomic operations in c++?
 
@NikiC I have been teaching for a couple of years now, yes.
@Papergay Depends on the underlying hardware. Have you looked into std::atomic?
 
but the standard does not require it?
nope i didnt, thanks for the reference
 
Brief, Incomplete and Mostly Wrong History of Programming Languages <- It's been some time since it was lasted linked to here :)
> 1842 - Ada Lovelace writes the first program. She is hampered in her efforts by the minor inconvenience that she doesn't have any actual computers to run her code. Enterprise architects will later relearn her techniques in order to program in UML.
lol so funny
 
2:33 PM
lol
 
hmm is write() atomic?
 
@Papergay What is write()?
 
a function to write into streams taking a descriptors, a buffer and its size as arguments?
 
@Papergay And by atomic you mean no two threads can write to the same stream at the same time?
 
2:36 PM
yeah that one
 
A write is atomic if the whole amount written in one operation is not interleaved with data from any other process.
 
i mean that there wont be any interruption until the function is done, not even from any scheduler who distributes the cpu-time
 
If a signal is sent to your process, you’re fucked.
 
D:
 
I guess. :P
 
2:38 PM
im handling the relevant signals xD
 
The number of bytes written may be less than count if, for example, there is insufficient space on the underlying physical medium, or the RLIMIT_FSIZE resource limit is encountered, or the call was interrupted by a signal handler after having written less than count bytes.
@Papergay Doesn’t matter whether you do that or not.
 
yeah i already read that
 
System calls interrupted by signals always fail.
 
> 1970 - Guy Steele and Gerald Sussman create Scheme. [...] Lambdas are relegated to relative obscurity until Java makes them popular by not having them.
 
but i wanted to know if write() is atomic - the way it is specified at that page
 
2:39 PM
write is a system call.
 
> 1972 - Dennis Ritchie invents a powerful gun that shoots both forward and backward simultaneously.
> 1983 - Bjarne Stroustrup bolts everything he's ever heard of onto C to create C++.
> 1986 - Brad Cox and Tom Love create Objective-C, announcing "this language has all the memory safety of C combined with all the blazing speed of Smalltalk."
 
so what exactly are the requirements for an atomic operation?
 
@FredOverflow In university?
 
> 2003 - A drunken Martin Odersky sees a Reese's Peanut Butter Cup ad featuring somebody's peanut butter getting on somebody else's chocolate and has an idea. He creates Scala, a language that unifies constructs from both object oriented and functional languages. This pisses off both groups and each promptly declares jihad.
 
lol?
 
2:42 PM
@Papergay Go buy "C++ Concurrency in Action", read it, and come back in case you have any questions left.
 
okay sry i didnt mean to be annoying xD
 
@NikiC yes
WTF, I have been listing to Carmack's keynote for an hour now, and he just keeps on talking and talking without any supporting slides or notes or whatever. Or am I just not seeing his notes? How can one person come up with so many interesting topics off the top of his head?
 
where are you listening to that?
 
cough
 
2:50 PM
Gesundheit
 
I was wondering about this earlier too. Can you speak german?
 
Yes, I am German.
 
;o
 
@FredOverflow Which one?
 
@nikic are you from germany?
 
2:53 PM
@Papergay Yes
 
:o And I thought I would be one of a few here
 
@NikiC Why do you ask? Are you a student? :)
 
@FredOverflow I will be :)
 
where?
 
In Berlin ;)
 
2:54 PM
I've never been to Berlin :(
 
where do you live?
 
What are you teaching exactly?
 
Java and C++ mostly.
 
Hmm.
 
2:55 PM
@FredOverflow Nice
 
:)
 
does any one of you know about ted.com?
 
sure
 
sure
 
@FredOverflow Carmack never used slides :)
It is basically just a braindump.
 
2:59 PM
and do any of you have a talk that you would recommend?
 
ouh there are a lot
some sounded quite interesting others not so much
 
@Papergay You mean from QuakeCon or in general?
 
in general
any special talk that left a lasting impression?
 
is carmack someone one should know?
 
3:02 PM
Quake
 
Did anybody install Montain Lion on your Mac?
@NikiC If you are into programming, probably yes.
 
hmm thx @FredOverflow
 
@FredOverflow Carmacks contributions are missing there
 
3:06 PM
Barbara Liskov! We looked at the Liskov substitution principle in context with Java, but I think it also applies to the C++ type sys.
 
sure
 
@FredOverflow thx again :D
 
Hm, never knew that Liskov was a she
 
Really? Barbara Liskov.
 
yeah, I didn't know about the barbara part before just now ;)
 
3:08 PM
Barbara is an obvious girl name.
So I try the new cat now, hoping that everything including new clang++ will work immediately..
 
You know. I tried numerous todo apps, but GitHub issues is still the best one.
 
@RadekSlupik for some purposes
 
Keeping track of features I want to add to my applications.
And of course bugs, but you would use a bug tracker for that anyway.
But now when an idea pops up, I just add an issue.
 
Is I do throw 123;, is it then correct to say that "the exception is an int value"?
Does the term "exception" refer to the value being thrown?
 
Well, you throw an instance of int.
The exception is an instance of int.
 
3:15 PM
So the exception is the thrown value?
The exception is not the event that occurs, but the value being thrown?
 
Yes.
Well, if you throw an exception, you say an exception occurs.
It has multiple meanings.
 
Ah, it's ambiguous..
 
But nobody (except pedantic morons) cares as long as it’s clear what you mean.
 
Ambiguity can lead to confusion, and should therefore be avoided.
I'm thinking about using the terms "thrown value" or "exception value" to make it more robust to confusion...
 
Then I guess finding the relevant part in the Standard would give you the answer you want.
 
3:30 PM
@ŠimeVidas I think it's an exception object rather than exception value.
 
You guys know of any profound advantages/disadvantages to using an initialisation list?
 
3:45 PM
@Finlaybob which one is that? i mix up "initialization list" and "initializer list" :P
 
@cHao HA! now I'm mixed up!
 
i think its the list of member variables in a constructor
isnt it?
 
Constructor(int i,float f): i(i), f(f)
that one
 
not in, but after the prototype
yeah that one
 
ahh...k
 
3:48 PM
I don't know in depth reason why to use or avoid, just in case anyone had any reasonings.
it looks a bit tidier using it I suppose.
 
well...one advantage is, you can initialize references that way...can you do consts too? i forget
 
my book says that it has some kind of runtime advantage
especially if there are many instances or large objects
 
possible...i mean, if you use an initialization list, the runtime can call the constructors you specify for each member rather than calling the default and then initializing again
 
i think its the same as when you do this
int i = 5; // same as with initialisation list
int i;
i = 5; // without
 
lemme see if i can whip up an example of that double construction thing
 
3:54 PM
Ah yeah.
 
int i = 5;
this is faster since it does not need to dissolve the address again when it assigns 5 to i?
 
cool
ive added it already :)
 
class member {
    member(int i = 0) { std::cout << "Construct\n"; }
	~member() { std::cout << "Destruct\n"; }
};

class owner {
	member a;

	owner() { a = member(3); }
	owner(int x) : a(x) { }
};
haven't tried compiling this...lol
 
`Renderer(RenderList* inRL = nullptr,Camera * inCam = nullptr):list(inRL), cam(inCam){}`

There's nothing in my constructor now though, looks weird.
 
just use whitespaces and it doesn't xD
 
4:00 PM
that's fine. just means that once you've initialized the members, there's nothing else to do :)
 
hang on...
code
why did that not work before?
 
@Finlaybob Get used to it. In well written code constructors' bodies are empty at least as often as not.
 
what did not?
 
the code backtick thing.
at least not on my screen :P
 
sry you lost me xD i dont know what backtick you are talking about
 
4:02 PM
````` these things
 
not much point anyway :) if the message is all code, just indent each line 4 spaces
 
code code
ah didn't know that
 
code
hmmm
anyway, add some whitespaces D:
 
@JerryCoffin thats good :) , a lot of my constructors are either empty or only do one or two things.
 
or, click the "fixed font" button, which does the indenting for you :)
 
4:05 PM
Buttons!? I only have send!?
 
that button appears when you use more than one line
did you NOT read the newbie faq :o
xD
 
:|
I.. er... skimmed over it...
 
Well, well.
First time I see a non regular linking the newbie hints.
 
Hmm, are normal ppl not allowed to link it?
 
4:15 PM
@Papergay Perfectly fine -- just unusual.
 
Hmm? Alright :s
 
@Papergay You're quick on the up-take, it is a compliment :)
 
-1
A: Copy unsigned char * to unsigned char*

BorealidIf you're using C++, not C, the normal way to save a set of binary data would be to craft it into an std::string. The string would then be reference-counted, so you wouldn't have to worry about deallocating it - just release the reference. new std::string(data, datalen) would perform a copy.

 
Haha, in that case, I'm glad xD
 
According to this guy, just new an std::string and then forget about it
 
4:20 PM
1
A: Copy unsigned char * to unsigned char*

janiszchar* and char[] is the same type - just pointer to char or if you prefer table definition pointer to first element in array. To copy between two arrays use strcpy

they are not the same type, afaik?
 
they are just handled the same way - or mapped on each other idk
i mean, char[] and char* are different types
 
ITT nobody knows C++.
 
ITT = i think that?
anyway, i read an article about that and it proved that char* and char[] were different types
 
In that thread.
 
4:22 PM
@CatPlusPlus I know "C++" -- and 7 other words in programmer-ese.
 
there are so many downvotes in that thread
xD
 
I can only downvote each answer once. :<
4
 
hahaha
if i would be able to comment there, i would also downvote and show why xD
 
4:42 PM
ok i ran full virus scan no such :-(
i'm going to try installing picasa once more
then maybe record a simplest possible very very shortish lounge song
 
@RadekSlupik and then email a pull-request to him.

Sandbox

Where you can play with regular chat features (except flagging...
 
im sorry ... D:
 
Hm, I'm hungry. What should I eat?
 
Chicken bones with human flesh around them.
 
Way too complicated.
 
5:10 PM
@EtiennedeMartel Whatever happens to be in the fridge.
 
@FredOverflow Excellent point.
 
Dude, I happened to fall asleep during Carmack's keynote, now I wake up two hours later, and he's still talking :)
 
Now you just need to fill the fridge with something xD
 
@FredOverflow Yeah, and it goes in all directions at once.
It's been a while since I've seen a keynote that wasn't carefully and perfectly scripted.
 
5:16 PM
Hi.
 
Jul 21 at 16:55, by FredOverflow
my favorite robot!
 
Hi.
 
Your only robot.
 
What about Flexo?
 
He’s not yours.
 
5:20 PM
R. isn't mine, either.
 
Then neither is “your favourite robot”.
 
So C++ cannot be my favorite language, because I don't own it?
> You cannot own C++; C++ owns you.
 
C++ cannot be your favourite language anyway.
Also, what's up with @Pubby? Didn't see him here since long ago.
 
5:24 PM
Who is Pubby? :)
 
RIP Pubby.
 
Pubby, United States
12.7k 2 22 49
Judging from his questions, he has probably moved to Haskell and doesn't care about the C++ lounge anymore ;)
 
Everybody should do that.
 
I just upvoted one of his questions from 49 to 50, maybe that'll wake him up.
 
The boobs room > the Lounge.
 
5:27 PM
If you like Haskell so much, why do you have a Javatar? :)
in Haskell, Aug 1 at 17:09, by Radek Slupik
user image
 
lol
 
@FredOverflow Because I hate Java. See my bio on Stack Overflow.
 
do the badges serve any further purpose?
 
Aug 30 '11 at 18:44, by FredOverflow
@TonyTheTiger Have you seen the video Beckman on Monads? Also known as "Beckman on Steroids" ;-)
 
I wrote a wiki today. It’s the best wiki in the world.
 
5:31 PM
@Papergay You can print your badges out, go to a military bar and have people point your finger and laugh at you.
 
Yay.
 
@RadekSlupik I don't think so.
 
@Papergay You should really watch the Beckman video, I watch it regularly from time to time.
 
I will when i find the time xD I bookmarked most of your links so far xD
 
5:52 PM
Does anyone know what this is?
Maybe I should ask on superuser.
 
where did you find that?
 
@RadekSlupik link?
 
In my wall.
 
Nevermind, it sucks. :P
 
ah cool
 
5:55 PM
@StackedCrooked Looks like a relay
 
the component behind the central aperture is marked in microfarads
 
@StackedCrooked Is it a flux capacitor?
 
I don't know I found in my house.
 
You don't know what a flux capacitor is, do you? :)
It allows you to travel in time.
 
it would make sense for it to be a circuit breaker of some sort
 
5:57 PM
I was hoping it would be a phone connection.
 
@FredOverflow lol
 

« first day (659 days earlier)      last day (4304 days later) »