« first day (312 days earlier)      last day (4641 days later) » 

5:00 PM
old-school as in, before microcontrollers
 
I thought microcontrollers created the universe.
You just shattered my world.
 
Ell
as in those lighbulbs instead of transistors?
 
no, as in hardcore analog electric engineering
 
Ell
ohhhh
i have an arduino :D
:D:D:D:D:D:D:D:D:D:D:D:D
 
He makes analogies for a living?
 
Ell
5:01 PM
woooh go open source hardware :P
does anyone have a reprap?
 
no, he does logarithms with.. erhm, yeah
 
@Ell I thought we already established that compiled/interpreted is not a property of languages. :P
 
@hexa Do you have to speak into his operational amplifier that so he can hear you, sonny-boy?
 
Als
hmm
 
Ell
@CatPlusPlus where did that come from? I didnt mention languages, and now I am quite confused :P
 
5:03 PM
@Potatoswatter Pretty much. If I can't come up with a capacitor/inductor/frequency analogy he simply refuses to understand
 
6 mins ago, by Ell
how about, what would your perfect language be (static typed? dynamic? interpretted? compiled? etc.)
 
@Ell Follow the white arrow.
 
@hexa Like putting too much air into a balloon.
 
I'm eating yoghurt
 
@RMartinhoFernandes Either that or the electrical engineering he does is analogous to "hardcore" something…
 
5:04 PM
Does it hurt?
Like a yog?
 
Sex again.
 
Ell
oh haha lols ooops :P
 
It's OK, EE is sexy.
 
So yeah the perfect language would be one that I start talking to the computer and it magicacly comes up with the code to do what I just told it
 
Electrical engineering would be hardcore if done underwater.
 
5:05 PM
@CatPlusPlus Electrical engineering does not require electricity :P
 
Als
@hexa: And then you would think of making an robot which starts talking what you think.
 
@CatPlusPlus Ever heard of magnetohydrodynamics?
 
Go away with your science and facts!
 
Ell
does anyone else have an arduino?
 
@als yeah that seems to be the natural order of things :P
 
5:06 PM
@RMartinhoFernandes It does require electrons, even if they're not generating a net magnetic field.
 
Als
@Potatoswatter: I have a trouble reading it actually...erm..magneto...ahh goddam mutants
 
Not the engineering part :)
 
@Als It's hardcore.
@RMartinhoFernandes Everything requires electrons. Without them we'd all explode.
 
Als
@Potatoswatter: I thought only sex was/is hardcore
 
@Potatoswatter Good point.
@Als AFAIK Hardcore sex is hardcore.
 
5:07 PM
What about underwater hardcore sex?
 
Als
@RMartinhoFernandes: Then you don't know :P
haha
 
Ell
im underage, just letting you know that you are melting my innocent brain
 
Welcome to the Internet.
 
Ell
:D
 
Porn's on the left.
 
Als
5:08 PM
@CatPlusPlus: Underwater eh...you kinky man/woman!
 
Ell
is anyone here a woman?
 
Nope, we barely have any humans.
 
being underage only means that you have more fun with less porn than me
 
Als
tsk tsk @hexa, @RMartinhoFernandes, answer him :P
 
I forgot to mention that magnetohydrodynamics is also used to mechanically manipulate seawater using electrical currents and no moving parts.
 
5:09 PM
So, magic.
 
Als
@Potatoswatter: What are you an magneto scientist?
 
If you mean MHD, no, don't know any fluid dynamics.
 
@Ell I've been told I'm a robot.
 
I thought magneto needed metal to manipulate things with his mind
 
I've never been the same since then.
 
5:10 PM
On an unrelated topic, Section 8: Prejudice is quite fun game.
 
Als
@RMartinhoFernandes: Space robot
 
Space robot... from outer spaceeeee.
 
Ell
@RMartinhoFernandes you are, I am your creator. I made you with an aruino and a reprap
 
Als
where's the other cat @TonyTheTiger?
 
I don't know what reprap is, but it sounds funny.
 
5:11 PM
@CatPlusPlus It's a 3D printer.
 
Als
@CatPlusPlus: sounds like someone farted...repraaaap
 
AKA a personal fab.
 
@RMartinhoFernandes Oh, that.
 
A baby cornucopia machine.
 
I forgot about that.
It's a Skynet-powered self-replicating... stuff.
I wonder how much pain in the ass must 3D printers be, because 2D printers are imported straight from hell.
 
Ell
5:13 PM
arrrgghh why can i call XGetScreenSaver but not XGetScreen? :'(
yeah :/
does anyone do any xlib programming?
 
First, you download the reprap. Then, you download a car.
 
That's piracy!
 
That's awesome!
 
I hope you catch scurvy!
 
@Ell Nobody sane does xlib programming.
 
Ell
5:14 PM
then im insane :D
 
XCB is bit more modern replacement, AFAIR.
 
Ell
i have never actually tried XCB
im just using it to
open/close/fullscreen windows
 
I try to use as high-level wrappers as possible, and not touch X11 proper in any way.
 
Ell
and get/set resolution of screens
thats all
 
@CatPlusPlus What's your poison of choice?
 
Ell
5:16 PM
but the erm... higher level (more abstact?) you get, the bulkier libraries get :O
hmm i wonder what wayland API is like?
 
@LucDanton Lately all my Linux windowing has been done through SDL. Otherwise, Qt.
 
Als
@LucDanton: Cynide
Kills before you know how it tastes
painless i think
 
@CatPlusPlus Ah, SDL for full control, Qt for 'vanilla'? Or was the otherwise in reference to Linux?
 
@LucDanton The former. I try to not write different code for different platforms. :P
As much as possible, anyway.
 
I've used DirectFB in Linux for a couple apps
I don't recommend to anyone tho'.
 
5:19 PM
@Als I'm here
 
I've been thinking about writing some SDL replacement on my own, but it'll probably never happen anyway.
 
Als
@TonyTheTiger: You were missed, since we were talking of S_X
 
Ell
i still am completely confused about how what fits into what (graphics wise) on linux
 
Als
:P
 
trying to figure out how to create a canvas to paint to as a subrect of a window in Qt and then paint some sprites to it
using OpenGL
@Als lulz
 
Als
5:20 PM
@TonyTheTiger: I am kidding, hope you are fine
 
Ell
what is an x server? window manager? display manager? wayland? directfb? DRI? TTM? GEM?
i will never find out!
 
@Als I'm good, have a job interview tomorrow
 
Ell
and where does opengl live
whats his phone number
and his email address
 
@Ell are you trolling?
 
You can buy that from Facebook.
 
5:21 PM
cause if you are, then GTFO
 
@TonyTheTiger I think he's making a joke.
 
Als
@TonyTheTiger: Hey nice! get your arse out of here and read some meaningful stuff!
 
Or trying.
 
Ell
@TonyTheTiger I'm only joking. I'l stop :'(
 
@RMartinhoFernandes he's failing at it if he is
 
Als
5:22 PM
@Ell: <----------------- Seems like a kid lost in a topless bar.
 
@Als yea but what? there's so many things I could be reading for this job
 
Ell
@Als iv never been to a topless bar
 
I've check out there company, and I know what profile's they're looking for
 
Why would you take the top of a bar off?
 
5:23 PM
a topless bar has come to me
 
Als
@TonyTheTiger: Yeah, that should give you a clue what to get yourself prep on.
 
@TonyTheTiger She came to you?
 
@RMartinhoFernandes yea
 
Als
@RMartinhoFernandes: SHE?
 
Mistranslation ;) Bar is feminine in Portuguese.
 
5:24 PM
@Als yea but it's a big topic, embedded programming or game dev, two different depts are gonna interview me, meh I'm overwhelmed
 
Als
@TonyTheTiger: Pick up the one you like and read some meaningful stuff about it, I guess anything you read would be helpful, atleast they know you want to & have interest in working on those domains.
 
@Als I've been reading up on OpenGL, cause I'm also trying to write tetris using that
 
Hmm, how much better does STLFilt make error messages?
 
Als
@TonyTheTiger: Cool. I am sure it helps
 
@RMartinhoFernandes I'm too much accustomed to GCC's messages for me to feel a difference.
i.e. it feels like relearning error messages.
 
5:30 PM
Yeah, I managed to find some examples now, and the GCC dumps seem to take less effort, because I'm already wired for them.
 
5:55 PM
I hate PROLOG :(
 
and what is the difference in the size of *p1 and **p1 ?
 
uh, without knowing the type of p1, how the hell should we know? that code might not even compile
 
if i have a double pointer int **p1;
 
then *p1 is sizeof(int*) and **p1 is sizeof(int)
 
Thus the difference is sizeof *pi - sizeof **pi
(Don't blame me if this rolls over or 'underflows'.)
 
6:00 PM
@DeadMG What else is new today?
 
What Luc is trying to say is that the difference of sizeof *p1 and sizeof **p1 probably, but not definitely, in the ballpark of 18 quintillion.
 
printf("%d", sizeof(int));
printf("%d", sizeof(int *)); both are giving me same answer
 
@teacher oh noes?
 
Then the difference is 0.
 
and both are pointers so size is fixed
 
6:01 PM
@teacher probably not when compiling for 64-bit
 
Both 4? You are on a 32-bit machine, then.
 
yes
 
so... what exactly is the problem again?
 
i put a question over here and i m still confused with these pointers
0
Q: 2d array using a double pointer and malloc function

teacheri am trying to create a 2d array using double pointer... my code is... int **p1; p1=(int **) malloc(2*sizeof(int *)); for(int i=0;i<2;i++) { p1[i]=(int *) malloc(3*sizeof(int)); for(int j=0;j<3;j++) { scanf("%d",(p1+i)+j); } } for(int i=0;i<2;i++) { for(int...

 
that's C, and this is the C++ room
 
6:03 PM
@teacher Note that double is a completely different basic type.
 
> An unhandled exception of type 'System.NullReferenceException' occurred in myapp.exe Additional information: Object reference not set to an instance of an object.
What language is that, really?
You would get System.NullReferenceException on C#, not on C or C++.
Plus C has no exceptions.
 
C++/CLI, it would be
 
@DeadMG i was not able to find c room so i jumped here... is there any problem?
 
@DeadMG Oh, yeah that.
@teacher Is it C++/CLI?
 
well, you can't just pick a room that you might hope would be tangentally related
 
6:05 PM
We have tags now :)
 
especially when your question has already been competently answered
 
@hexa IUnknown? void*?
 
WUT
 
6:07 PM
WHAT?!?!?
 
Als
@hexa: You got flagged on the faq thingy
lol
 
ahahaha
You need 10k to see flags?
 
Yes.
Imaginary points are awesome.
 
Als
@hexa: Yes
 
Als
I think someone from you must just go and upvote me twice on any of my c answers, I am 2 upvotes away from sliver :P
 
Maybe that's why there are anonynous downvotes: to keep below 10k.
 
@Als Rep-whore!
 
Als
Oh and then pretend that I didn't tell you so
 
room topic changed to Lounge<C++>: We needed a new room description, so I changed it. [c++] [c++11] [c++-faq]
 
Als
6:10 PM
@RMartinhoFernandes: I asked for 2 silly votes and i became a repwhore ehh
 
I'll upvote this one just to piss you off :P
 
Als
@RMartinhoFernandes: You mean space robot, don't do it , I will get my badge anyways!
:P
@RMartinhoFernandes: Lol hell no, don't do that
you could downvote rather
haha
 
Speaking of badges, those who can should go and vote for this tag synonym.
I want my badge.
 
yo muvva
 
Als
@RMartinhoFernandes: Yeah yeah badge-whore
 
6:16 PM
I'm only missing 17 unique badges (not counting tag-badges). I think I can obtain three or four more, and the rest will be very hard/impossible.
 
Als
Oh and i Just noticed I am like a whisker away from 20k
 
My fanatic badge seems impossible. I forgot to turn on the computer this sunday so for the second time the consecutive days reseted.
 
Als
@hexa: You could have won the I-am-always-trolling-in-c++-Lounge easily if there was one
 
NO WAI
 
Are you confusing him with Johannes?
 
Als
6:18 PM
@RMartinhoFernandes: Naah, hexa!= litb
but @hexa, also trolls, plus he is always here
:P
 
I am always here, except when I'm not
 
Als
@hexa: I bestow upon you the Witty tag
 
better than Tony
who is rarely here, except when sex is mentioned
:P
 
@hexa Sounds like something Henry Ford would have said.
 
Als
@DeadMG: Oh you mean @hugh hefner...err @TonyTheTiger :P
 
6:20 PM
lol
 
Als
@DeadMG: He can't help it, he is a tiger in heat :D
haha
 
I thought only females went through heat.
 
he's a tiger in heat and the sun is always shining on him
 
Als
So he is trying to make hay while the sun shines!
 
What's hay for?
 
Als
6:23 PM
@RMartinhoFernandes: huh, Only females went through heat
@RMartinhoFernandes: for rolling over on, while performing the act.
Don't make me say, what act.
 
what act?
 
Als
lol
 
@Als Isn't that uncomfortable?
(I'm talking about the rolling over the hay, not the act)
 
Als
@DeadMG: the answer is the word, that when quoted makes the tiger appear
 
you know
we're all mature animals of various species here
you can just say it
 
6:24 PM
@DeadMG You're a puppy!
 
Als
@RMartinhoFernandes: It is not that bad....some adventure
 
shut up
 
Als
we might even say just pup :P
 
sex
 
Als
ahh he said it!
ahem
 
6:27 PM
I'm noticing a distinct lack of apparitions of the tiger in heat
 
Als
@DeadMG: He has an interview tommorow
I drove him off to read something meaningful than be here
 
sure, but he's still got to come when we say sex
 
Als
@DeadMG: Maybe he is actually having it
haha
 
unlikely
 
Als
That would keep him away for sure
 
6:30 PM
why would anyone want to have sex instead of being here?
7
 
Als
@DeadMG: I am going to star that :P
 
> My variables aren't producing data like they should be.
Hilarious.
 
Als
looks like the variables are following the universal rule. Life finds a way
They have found a way to be free and be what they like to be.
 
have I mentioned how incredibly much I despise PROLOG?
 
I don't remember that.
I want to mention that you remind me of myself about three years ago.
When I despised PROLOG.
Or six years ago, when I despised Haskell.
 
6:50 PM
oh, I don't mind Haskell
I don't think that functional is particularly helpful for structuring a whole program, and I'd rather have different syntax, but I don't object to functional programming
but even stepping through my PROLOG program with a debugger, I can't understand why it's failing
 
7:14 PM
"You cannot talk while your account is suspended"
:O
 
Ah, you got that for the thingy?
 
Probably
 
Oh my, now people get suspended for typos ;)
 
Oh wait, it said fag. Now I understand why it was flagged.
That's silly.
 
:P
@sbi How do you explain pointers to students? One of my interns approached me asking for help and I tried explaining it to him but I don't think I did a good job
 
7:18 PM
@hexa I had some success with Binky in the past.
 
Is that video in portuguese? I doubt he knows english
 
Damn.
I love Binky.
You need to know English if you want to program.
 
If you want to be a good programmer, not to program
 
The *y = 13 part is awesome.
It shows that UB can get you beheaded.
 
The most concise explanations IME are the 'pointer as an arrow to a box', or if you like formalism you can introduce the CS concept of references and then map that to pointers (more roundabout).
 
7:21 PM
There is a pt-br subtitled one
 
@LucDanton That's basically what Binky uses.
 
Als
hola
 
@RMartinhoFernandes I watched it a bit (up until decapitation in fact). I don't like the uses of 'allocate a variable' and the needless malloc(sizeof(int)) (how scary is that?).
 
Oh, yeah, it's C.
 
What was really confusing this guy, was that the code was looping through a null terminated string and he was like... w t f incrementing the letters?
 
Als
7:23 PM
@RMartinhoFernandes: You upvoted my c++ answers not c :(
 
There are no letters.
 
Als
@RMartinhoFernandes: Was it you? referring to our conversation before...oh it was not u et all.
 
@Als Hah, next time, be more specific. :P
 
then there is the pass by value part of C I had to explain too
 
Als
7:25 PM
@RMartinhoFernandes: Grrr
 
and I think I lost him there
 
@hexa Whoah whoah too soon for pointers if you have to explain that IMO.
 
Pass by value?
Come on, I was taught that on 10th grade!
 
Well, he has to do some exercises and stuff for this college so
 
Als
hmm, okay folks...gotta go catch ZzZz
 
7:26 PM
You really should not start with C
 
Als
have a good day all of you
 
later man
 
sbi
7:41 PM
@hexa Starting from the thesis that pointers are a concept inherited from C which, basically, models addresses into memory, I usually paint one of those diagrams that show the RAM as a box with slots in it as data, and arrows as pointers. Using these I explain what things like &i, *ptr, ptr = &i, and *ptr = 42 mean.
 
you're missing an &
 
sbi
@DeadMG Indeed. So what, you all know what I mean anyway.
 
material's not aimed at people who already know pointers :P
 
@sbi I see, they get it good with that type of diagrams?
 
sbi
@DeadMG Yes, it is. It's aimed at @hexa, and he does know.
@hexa Using those diagrams on a black/whiteboard, you can erase the arrows and redraw them pointing to another slot in the memory to explain pointer assignment, or do all kinds of other really weird things.
 
7:44 PM
lol
 
sbi
If you want to be fancy, you can throw in a few CPU registers to explain temporary values (like the result of &i) if you want, but I rarely ever did that.
 
Cool, I will try that with him tomorrow, there is one whiteboard here I can use.
 
1 hour ago, by DeadMG
why would anyone want to have sex instead of being here?
lulz
 
Pointers are hard, no matter what you guys say.
 
The abstraction still works without using RAM.
 
7:46 PM
1 hour ago, by DeadMG
he's a tiger in heat and the sun is always shining on him
am I really?
 
sbi
@hexa Pen and paper will do just fine, if you can erase or are quick at drawing, so that you can just draw a new diagram at him for every change you make.
 
I don't recall having any trouble with pointers atall
 
you are a genius, what can we say. right?
most people aren't.
 
maybe I just had a good teacher
 
pointers point! 'nuff said
 
7:47 PM
naaah
 
sbi
@hexa I dunno. I started out with BASIC and went to x86 machine code from there. I can't remember really having any problems grasping pointers. I could have forgotten, though, I must have learned that sometimes in the early 90ies.
 
it's much more likely that I just found it easy cause I'm a genius
 
I want a pointer to a female so I can dereference it :)
 
lol
 
it's not kind to refer to her as it
 
sbi
7:48 PM
@TonyTheTiger female* fptr = @anne;
Nobody saw nuffink.
 
@DeadMG You stealin' my lines!
 
female slave = *angelina_jolie;
compile that pls
 
sbi
@hexa Is she a pointer?? You're dereferencing her!
 
Why would you want a slave.
 
yeah
 
sbi
7:51 PM
@CatPlusPlus Doing the dishes?
 
I mean, I know that I can't cook. Or clean. Or pretty much anything except be a Genius™. But slavery? That's just low.
 
@sbi Yes, she is a pointer to a Goddess type, but they are type compatible
 
@sbi We have technology for that. :P
 
oh holy fuck, I am so going to fail my university course
 
I felt like that about every course in the past two semesters.
 
7:52 PM
very very technically, I could fail my PROLOG coursework if, and only if, I passed everything else, and stay on my course
 
sbi
@hexa Actually her botox look never appealed to me, but I once had a woman to whom she appealed, so I'm used to others admiring her looks. :)
 
Especially math-related.
 
sbi
@CatPlusPlus You have technology for putting dishes into your dishwasher and put them back into the cupboard when it's done? I should move to Poland.
 
Yeah. We developed that instead of roads.
 
sbi
@DeadMG How many times have you said that? You know, say this a couple more times and I might start screaming. Or I might just plonk you instead. That wouldn't wake the kids.
Hell, just stop procrastinating and do what you ought to do. Do you think just because I'm done with studying I never have to do annoying stuff anymore?
@CatPlusPlus So you could employ slaves to build roads!?
Stack Overflow is now the official place for Facebook Platform developer support! http://t.co/yt7wA3g
Whoops!
 
7:57 PM
I don't think you can cloud compute slaves.
 
sbi
@CatPlusPlus See, I could use a slave to touch.type for me.
 
ew, SO and FB
3
 
And no, we just don't have roads, only poorly laid out asphalt layers that break apart after a week.
 
@hexa It's just filter view for Facebook tags that already existed.
 
7:59 PM
no it's not
 
And with default login being Facebook stuff.
 
it is "official place"
there is a big difference
 
They didn't even bother to make a new theme.
 

« first day (312 days earlier)      last day (4641 days later) »