« first day (1573 days earlier)      last day (3392 days later) » 

user1804599
11:00 PM
Convention is .at.
 
@milleniumbug I tried using <stdexcept> except now it still allows for a number like 43.345.3453 to be passed through. phreck
 
user1804599
Also operator() is nice because it's nice to make dictionaries callable.
 
@DonLarynx Irrelevant to your parsing. Throw an object of exception class instead of char array. It shouldn't change the logic.
 
except to increase it
 
@Pris Lightness In Races Orbit
 
11:08 PM
thats a pretty strange name. is it an obscure reference to something
 
dat top comment
also dat song
@Pris no
@Pris :/
I guess I was going through a phase that year
 
what does it mean
 
That, you know, lightness races in orbit.
She also happens to work at NASA by the way.
Actor/Programmer/Astronaut
 
Sometimes I'd like to be able to override a function at the linker level.
 
yo really? you work at nasa?
 
11:18 PM
Nasal industries.
 
Ell
what do you think about a syntax which changes .something into .member("something")?
 
@Pris KSP, NASA, same thing :P
 
Ell
like you could declare your class with some property
 
@Ell Weird.
@Ell Why can't you do this in a normal constructor?
 
Ell
@Nooble well, it affects the syntax of the language
 
11:24 PM
Oh you meant like that.
 
There are languages that don't have public fields at all
 
I mean, it's definitely different.
 
Nothing novel really, Smalltalk treated everything as a message to the object
 
whew I'm finally home
 
Welcome home.
 
11:26 PM
@Ell You mean, auto-complete and generally tool-breaking for a trivial convenience for the programmer?
great shot.
 
hey its gits
always wanted to watch that
 
you mean tits
 
have you ever had a class thats been a complete pain to write
 
This year, AMD plans on releasing new CPU's. New x86 CPU's. :C
 
11:29 PM
im like on my fifth try i think... god damn i suck
 
At writing classes?
 
well at writing this one class. really hard to pin down what kind of api i want to provide and all that. I started off with it handling a lot of stuff for you, but every time I test the class it has a fatal flaw... so I pair down what it does. And I've been doing that over and over again
 
// Would you ever consider this kind flat API for a C++ library?
Item Create(std::string name); // returns opaque handle
void Destroy(Item);
std::string GetName(Item);
etc...
 
no.
 
depends why you cant use raii
 
11:30 PM
@Pris Single responsibility
@StackedCrooked No point
If you want to provide an interop-friendly API, then it has to be C compatible
But with C++ types there's just no point
 
this shit is the best i.imgur.com/D7VaFZa.png hahaha
I love that "fak" at the end
the cruder a comic looks the funnier it is
 
That's not a comic
 
a collage of pictures
better?
 
Just say a collection of pixels.
 
Miserable little pile of pixels
 
Ell
11:34 PM
@StackedCrooked No
free functions which should be member functions
imho
 
Plus with that API approach you want normal C++ API and C-compatible wrapper around it
 
Ell
yah that sucks for raii
 
Nothing happened here.
 
you think in the future when everyone learns to program there'll be reality shows like "America's Worst Programmer!"
 
I'll be there every time they air.
Not as a contestant, of course.
 
11:43 PM
Lords of C++, please help me with this: Write -69 decimal using 8-bit sign-magnitude, two's complement, and IEEE floating point 32bit format.
 
do your own homework
 
"Nooble is a 47 year old Koala who can't fizzbuzz his way out of a box! Put down that eucalyptus and pick up the keyboard! (applause lights flash)"
 
I farted in your general direction
 
@ScottW during the day I'm in my library studying with friends, and on the night I'm tutoring, so free time asymptotically closes to 0
 
11:43 PM
@Pris Lol.
 
@Nooble CPU's what?
 
repeatedly.
 
@LightnessRacesinOrbit What?
Oh.
 
@Nooble You a word
 
APU's, my bad.
 
11:45 PM
lol
 
Giving the user a handle rather than a pointer gives the implementation more freedom on how to organize things. It could allocate items in arrays and put the index in the handle. This would allow for fast mapping to other objects. Kinda like relational databases. And you can rearrange things without affecting user code.
 
@ScottW yes, I'm doing great :)
how are you?
 
@LightnessRacesinOrbit I'm a word?
 
still love this
@Nooble oh dear
 
Ell
@StackedCrooked you don't need the funky interface for that though, right?
 
11:46 PM
@LightnessRacesinOrbit Yes dear?
(And yes, I know)
 
@Ell It could be made to emulate normal syntax.
 
CPUs, APUs*
Have I now made you eternally happy?
 
@ScottW how are doing overall this week as far as revenues go?
just to see what I should be aiming at :)
 
@Nooble YES :D
 
I doubt that
I'm at approximately $250
I had one student that kept me there for $99 straight.
That was lucky.
 
11:52 PM
ITT Jefff and Scott compare their experiences as hookers
2
 
Ell
Do you guys use codementor.io for this or what?
 
lol
 
Ell
I wish I could tutor for cash
 
I remember tutoring.
There becomes a point where it feels wrong.
 
@Rapptz it does?
 
11:54 PM
Two things.
 
Ell
@Rapptz taking advantage?
 
There are some students who you know will never pass but they try anyway.
They don't get the material at all and they request your help but nothing you do will help them.
The second thing is that it morally feels wrong after a while to charge someone else for their education when they already pay for tuition.
 
> NASA's New Horizons has returned its first images of Pluto and its largest moon, Charon, since the mission entered into the countdown phase of its historic mission.
And they're fantastic images!
Check out this one
WOWOW
 
Oh hey pixels
 
You charge for time and expertise, i.e. like in any other job
 
11:56 PM
The second point didn't bug me until like way later.
I only tutored for 2 years.
 
user image
8
kek
 
I paid a math tutor once. We made few exercises and, at the end of the 2 hours, he said I already knew everything. I'm taking my money back with the interest of 8-9 years.
 
I don't know how long you guys have been at it.
 
Kek
 
1 week
 
Ell
11:57 PM
Idk why the second thing bothers you. They aren't being forced to be tutored, they're paying voluntarily because they find your time worth it
 
ic.
@Ell After a while I felt like I was taking advantage of them. I don't really know how to explain it.
 
Harnessing my sexual energies has been quite the challenge.
 
I think seeing all those people who are impossible to help got to me eventually.
 
Idk why the first thing bothers you. Yes, they are probably not going to pass the next test, but what you are explaining to them is worth a lifetime.
 
That's also all business in the world
 
11:58 PM
jk
 
Ell
The first thing sounds like a hard issue
 
It's just worth until the next test.
 
Ell
You don't want to straight up tell them they aren't capable
 
It sounds like someone else's problem
 
@Ell Oh come on. Nobody is incapable.
They just need few more hours, that's all.
 
Ell
11:59 PM
I think its dishonest to not tell them they aren't capable, but nobody wants to do that
 
Or days
Or years
 
And I would consider that a failure by my side.
 
@Jefffrey You obviously haven't met someone like that yet.
 
Ell
I'm incapable of becoming a GP in a year
 
Or centuries
 

« first day (1573 days earlier)      last day (3392 days later) »