« first day (403 days earlier)      last day (4559 days later) » 

9:00 PM
@RMartinhoFernandes nice
ours used SML
 
@RMartinhoFernandes Make that "for some reason", then it sounds a bit less arbitrary
 
jli
It is arbitrary
 
@jalf I know of a lot of programming languages, but I had to google that one.
 
@RMartinhoFernandes standard ML
 
Oh. I see now.
 
9:01 PM
or just ML
 
ML I know.
 
What version control software do you guys use?
Git?
 
jli
Hg
 
which I believe actually stands/stood for Meta Language
for my own hobby stuff, bzr. At work, currently cvs, and we're probably switching to git within a month or two
 
9:01 PM
Okay, let's start at the beginning. I learned BASIC on the Commodore 8032, a machine with 32 KB RAM and two floppy disk drives! The sky was the limit.
 
@ElectroNerd I finally migrated from CVS to SVN a few years back just as the world had moved on. sigh
 
jli
bitbucket.org is really quite good for a free Hg repo.
 
Does Hg. allow for free private repos?
 
@ElectroNerd Dropbox ;)
 
jli
Hg is a piece of software not a service
 
9:02 PM
Yeah, I know bitbucket.org has up to 5 free private repos and unlimited public repos
 
@jalf OMG that sounds awesome!
 
@jli Yeah, just like Git. Sorry!
@FredOverflow Jeez man, get with it!
 
@ElectroNerd Bitbucket does. But you can just stick a repo on DropBox, like Fred said.
 
@RMartinhoFernandes Yep
Oh, Mercurial right...
 
jli
@RMartinhoFernandes then you don't get the fancy web interface stuff though! (notice complete lack of mentioning other features)
 
9:03 PM
Ffffft...you all need Git
Does Hg. have the local commit/log information stored on your machine?
 
Bitbucket supports git repos too.
 
jli
I come from an SVN background and for some reason never really liked Git
 
It does now, yup
 
jli
And yeah Hg is distributed like Git
 
In fact I'm thinking of moving from Github (even though I like it better) to Bitbucket to take advantage of the 5 free private repos.
 
9:04 PM
@ElectroNerd Hg is pretty much like git, but with a saner interface.
Not sane enough though.
 
@RMartinhoFernandes So pretty much for those who are useless at bash?
 
$ hg update -C to trash all uncommitted changes? WTF?
 
I use Git bash and not the GUI.
 
@ElectroNerd I use hg on the command line as well.
 
jli
I use Hg on the command line
 
9:05 PM
Of course Git is more for Unix than Windows, so I can see why Hg. would be more conducive for Windows.
 
That's the interface I'm talking about.
 
@RMartinhoFernandes Oh ok
 
jli
@ElectroNerd I use Hg on linux..
 
@jli I'm talking about initial development.
 
Oh, hey, more silly-benchmarks.
0
Q: Template code increase size of a binary

VJoIt is often said that the code with lots of templates is going to cause the output to increase in size, but is it really true? #include <iostream> #if 0 void foo( const int &v) { std::cout<<v<<std::endl; } #else template< typename T > void foo( const T &v) { ...

 
9:06 PM
Wasn't Hg. originally designed for Windows?
It might have been linux, idk
 
jli
@ElectroNerd is that relevant?
 
@jli No, but you indicated that you use Hg. on linux. Most version control software supports windows or linux anyways, so THAT is irrelevant.
 
@RMartinhoFernandes made some silly remarks
 
Hg is written in Python.
 
It is? Interesting
 
9:08 PM
That makes it very portable I guess.
 
jli
@ElectroNerd you were saying it would be better on Windows, so what I said is relevant
 
Ok, I see what you mean.
Looking at the Hg. syntax, it does look similar to Git.
I have to study for a science exam...
Later guys
 
jli
See you
 
@ElectroNerd oh god, please grow up. I am so, so, so sick and tired of fanboys recommending the tool they happened to learn first, without even knowing what the alternatives are
Git is a DVCS. So is Hg, Bzr and several others. That means they all share all the important features
the only two things that make Git stand out are (1) its horrible unintuitive upside down command line syntax, and (2) it's popularity
 
9:11 PM
hmm
i hear only good things of git otherwise
people praise it all the way
 
but for fucks sake, don't go around telling people that "they need to use Git" when you don't even know the tool they do use, or know whether it has the same features
 
jli
The only reason I've used Git at all is for Github :P
 
it's fast i hear
sometimes SVN makes me wanna cry
 
@JohannesSchaublitb a big part of that is because of the fanboy factor. It's a DVCS, and DVCS'es are awesome. if the first DVCS you encounter is Git, then you're going to think that it's awesome because it's Git, and not because it's a DVCS
 
9:12 PM
SVN is built around the idea of making you cry.
That was one of the design goals, I'm sure.
 
hmm
SVN is a CVCS ?
 
jli
I like SVN
@JohannesSchaublitb yeah
 
but it's a fine tool. It works, and yes, it's fast (but tbh, Hg and Bzr are pretty snappy too), so hey, nothing wrong with it
 
Other than the crazy interface.
 
9:13 PM
isn't Bzr using what LInus called "nice abstractions"
like boost xD
 
it's just that the others are designed to be usable in general. Git was only designed to be used by Linus
 
Yeah, Linus is a git.
 
@JohannesSchaublitb dunno, tbh. I haven't really looked into the implementation or architecture. In terms of features, there's no really significant difference either way, as far as I know
but given that it wasn't written by Linus, I'm sure he'd hate the code
 
AFAIK, all three of hg, git, and bzr do branches in a slightly different way.
 
yeah, they do, but they all work. There's no one of them that's clearly, objectively, the "right" way to do branches
 
9:15 PM
@jalf Is bzr even written in C?
 
@RMartinhoFernandes nope, Python
 
jli
@jalf Obviously yes, they're all right since they all work
 
@jalf Then Linus will probably hate it for that too.
 
probably
 
WOW the summary page layout changed!
 
jli
9:27 PM
Yeah I just noticed that too
It's like the meta one now
 
It's been deployed on meta for a while now.
 
profile page looks good now :)
 
ohh someone is asking about my blog!
 
I was talking about profiles page on SO:)
 
jli
9:31 PM
I think I prefer the old font
 
5
Q: Why is this template code allowed to violate C++'s private access specifier?

TimmahIn the following code, which I found here: http://bloglitb.blogspot.com/2010/07/access-to-private-members-thats-easy.html it appears to step right across C++'s private access specifier. It allows me to call private functions and read/write private data members. Searching SO found this related ...

litb's nerd ground gets famous
 
@JohannesSchaublitb go ahead , he'll be happy to get answer from author :)
 
For me, this news is quite shocking. I don't mind if it isn't for you.. :)
 
Figure this one out: void (*(*x)(void (*[10])(int *)))(int *)
 
I'd rather not.
 
9:40 PM
@TonyTheLion WT... delete it right now
 
comics
I don't understand that comic
can someone explain
what's so "porn" about a hardlinked directory loop
 
its got a folder named "porn"
 
i think it's a pointer to a function taking an array of function pointers pointing to functions taking int pointers and returning void and returning a function pointer taking int pointers and returning void
and, in fact, the "taking an array of function pointers" is adjusted to mean "taking a pointer to a pointer to a function taing int pointers and returning void"
because the "10" is silently ignored
 
oh wow
so what was your trick in figuring that out?
 
there's no trick
 
9:45 PM
I have a folder with me naked, and a simple steganografy image with a folder with my actual porn
 
0_o
 
we really didn't need to know that
:(
 
Oh, That was just me naked doing the mkdir
 
lulz
weird
 
Whats wierd is that the police knocked on my door just an hour ago
I didnät even have time to hide my pot!
 
9:48 PM
my porn is in ~/unterlagen
 
here we go...
 
right
 
so is the time where everyone reveals their porn dir
?
 
9:49 PM
@JohannesSchaublitb The word 'porn' is lately often used to indicate obsessiveness for something. In this particular situation it seems to be an obsession for filesystems.
 
oh
i thought perhaps it has something to do with "hard" in "hardlink"
 
A fair guess would be: most of us does not hide the porn dir
Yes, Johannes is on the right track
 
Perhaps that terminology was not accidental :)
 
Perhaps we are missing a mount
 
in fact my android luncher background is a hot chick
 
9:50 PM
There used to be a "Troper Tales" section here where lots of tropers revealed their "ingenious" ways of hiding "the porn folder".
Sadly, it's gone now.
 
Hold up, why save porn on the computer these days anyway?
 
oh noes, TVTropes links... RUN
 
@Brent thats the way I'm going
 
Dammit make that a link!
 
was that a hardlink?
it even looped once
 
9:53 PM
I found it hard to mount to a hardlink
 
that'S why only root may do hardlinks
 
So this semester I had to take a C++ class that's only 2 credit hours. It is for engineering transfers and pretty much is just doing simple algorithm building while teaching us the least amount of code as possible. I've got like a 97% in the class because it has sparked my interest in changing my major from Chemical Engineering to Computer Science.
 
crap lemme sudo a sammich over here
 
Anyway, how have you guys learned most of your C++ knowledge?
 
98 specs
 
jli
9:54 PM
@Brent By writing stuff in C++
 
@Brent Reading a good book on C++ and writing code in C++
 
Just building stuff, breaking it, and fixing it through various resources?
 
i read this book and it had a hardcover
 
When looking for books about specific programming languages how important is it to get books that are new?
 
9:56 PM
And staying away from wx
In c++ not so much.
 
jli
@Brent It can be for languages that change a lot
 
what is wx?
 
wx teh shit
Qt is nice
 
I adore qt. qt > wx.
wxWindows/wxWidgets
 
744
Q: The Definitive C++ Book Guide and List

grepsedawkUnlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a good C++ book. It is way too big and complex for doing this. In fact, it is so big and complex, that there are many bad C++ boo...

 
9:59 PM
Thank you
I was watching some videos that MIT has put out for free of some of their courses. They teach their Computer Science 101 class using python. Right now i'm learning django for a job opportunity, so C++ and python are the only languages i have experience with
I'm just getting my foot in the door regarding the whole of computer science
 
Curiosity is your best friend.
 
I agree :)
 
(I'm a teacher) I just had a student commenting a lab I like to do, that it was very similar to a flash game they just discovered. "Throw something at an angle and speed to hit something", and he accused me of stealing. I commented I created that at the age of 13 with a MAC65 on a Atari 800 (32k)
 
That reminds me of "Gorilla", a QBasic game shipped with MS-DOS 5.
 
OMG, I remember that!
Silly explosive bananas.
 
10:07 PM
 
We meed to look at past issues of BYTE magazine
 
STARRING Player 1 and Player 2
LOL
 
Awesome.
Ok, for the oldies here: At what age did you start to enjoy coding?
 
> Division by Zero, lol
@CaptainGiraffe around 10
 
yep
@FredOverflow same for me
 
10:12 PM
language?
 
I had De RE atari
so 6502 asm was my only choice
It was very tricky =)
 
You can edit messages for two minutes.
Just push "up arrow" a few times till you reach the message.
I did 6502 on the C64, but only after several years of BASIC.
 
But about 10 I got my assembler program to follow the keys i pressed.
 
BASIC and asm were the only two major languages on the C64.
 
Yes dad showed me a crosshair in basic, then he burned the manual =)
How id like to check for a byte on the input again.
 
10:23 PM
I believe the only control structures available where FOR, GOTO and GOSUB. Take that, Dijkstra ;)
 
> A programmer never dies. It simply GOSUB without RETURN.
 
GOSUB paired up with a RETURN instruction.
 
What is the "it" you refer to?
 
The programmer.
 
10:25 PM
Wouldn't that be "he"?
 
Just because you're sexist!
 
Name three significant female programmers.
 
Dammit, you know two, so you picked three to screw me.
 
I only know Ada Lovelace and Grace Hopper.
 
10:27 PM
Does Barbara Liskov count?
 
of course!
 
Still talking about girls, are we now?
 
R. called me sexist because I believe the majority of programmers are male.
 
Btw, I only knew Ada and Barbara.
 
10:28 PM
Oh wait, we're still being sexist. What about hermaphrodite programmers?
 
Is there a specific pronoun for hermaphrodites?
 
Programmers with long girl hair?
 
There we go.
 
Dammit, will you make up your mind?
 
I did, 10 seconds before the edit time window closed :)
 
10:31 PM
It's not much about C++ here :)?
 
Exactly @Anthea
 
Sometimes.
 
Unfortunately...
I'll fix that
So guys, I have some good & bad news.
 
We're talking about female C++ programmers and struggle to come up with hermaphrodite C++ programmers. How is that not talking about C++?
 
The good news is that I am going to use C++ to contrive my GUI.
 
10:32 PM
Okay, so what's the bad news?
 
Too late @Fred.
 
The bad news is I don't know of a reputable GUI toolkit that will allow me to interface Python and C++?
 
Are you asking whether you don't know?
 
I'm implying that I don't know of one.
I'm not asking myself if I don't know or not...lol
 
10:34 PM
Idk...doesn't it look crummy?
 
@ElectroNerd I have no idea, never did any Python.
 
Why is ABI/API such a pain.
 
Ask the tower builders of Babel ;)
 
That's my next project; to work on a universal ABI/API editor that can interface common languages adequately.
You select your languages, it has a nice form generator (like Visual Studio) and boom, you can get an instant application program.
 
sounds like a huge undertaking
 
10:36 PM
Yeah well, one can dream?
It sounds like something to do in the future anyways.
ABI/API is a pain and that needs to change.
All of these different toolkits that can't do squat is unnerving.
 
You could try to exterminate all but one programming language.
 
One for the ABI as well as the task-handler?
 
No, I mean just use a single programming language and pretend the others don't exist. No more ABI pain ;)
 
Instant application program? As in, you just add water?
 
@RMartinhoFernandes a bit like instantiating a template
 
10:38 PM
Instant gratification too.
@FredOverflow I'm not sure exactly what you mean.
I want the GUI to have a professional ambiance.
Similar to what Mozilla, Chrome, or any other software programs you can download onto your PC.
It accomplishes what you need but also looks professional.
 
@FredOverflow Interesting
It seems absurd though, unless the world ended.
The last language at that point might be coincidentally named "SkyNET"
 
SkyNET is a system, not a language.
...or would that be Sky.NET? :)
 
There you go
 
Damn, you stole my joke.
 
10:42 PM
Microsoft is gonna doom us all with Sky.NET!
 
lol
So have you guys heard of "Chromebook"
$300 isn't bad
 
A notebook with a Chrome browser? How revolutionary.
 
Tempting, isn't it?
 
You can pay $300 for an EeePC, and it has more than a browser.
 
I'm not sure what makes a "Chromebook" more advantageous than a Notebook or EeePC...
 
10:47 PM
Was this an April Fool's joke?
> The new Commodore 64 is a modern functional PC as close to the original in design as humanly possible. It houses a modern mini-ITX PC motherboard which comes in two configurations. The C64x Ultimate (C64x-UL) has a Dual Core 525 Atom processor and the an nVidia ION2 graphics chipset, and our flagship model, the C64x Extreme (C64x-EX) which comes with a second generation Intel Sandybridge Core i7 capable of reaching speeds of 3.3Ghz.
retro alarm :)
 
@FredOverflow he he i remember that
i'm hungry
 
hey guys
 
Hey @cool
Anybody remember this? youtube.com/watch?v=wDAHl54V0CU
 

« first day (403 days earlier)      last day (4559 days later) »