« first day (1011 days earlier)      last day (3940 days later) » 

12:00 AM
@Rapptz With objects I'm referring to an instance of a class
 
Yeah but that isn't the definition of what an object is.
 
... in the C++ standard
 
Or in Wikipedia, which you quoted earlier.
 
I gotta say, Spotify ads are successful in being annoying.
 
Can't even mute them.
 
12:01 AM
@CatPlusPlus try Grooveshark
 
Yeah. Those clever bastards.
 
@CatPlusPlus You can't AdBlock them?
 
It's not a webapp.
 
@Rapptz TIL all primitive types are objects.
 
Not sure what you expected.
 
12:02 AM
They're objects in OOP terminology, too.
It's an abstract concept, and you can see a primitive type as an object with single value field and associated operator members.
tbh they're only not defined in that terms in C++ because ~performance~.
CAN'T INIT INT VARIABLES TO ZERO GUYS IT KILLS MY PERFORMANCE
 
lol
 
@CatPlusPlus Actually it does. :)
 
Zero-initializing memory allocations increased the run-time of one of my apps by 25%.
4
 
I've always though of an object as a thing that had attributes and methods.
 
12:04 AM
This kills the performance.
 
70 seconds -> 90 seconds
 
So in my definition int x; has no methods that you can call with . like x.something().
 
That's an extremely weak definition.
 
I know.
 
And way too concrete.
 
12:05 AM
Your definition is wrong.
 
I never really thought about it very much. In uni they told me objects are instances of classes and ints are primitive types. That's all.
 
Uni is shit.
 
@Mysticial What was the purpose of the app? Measuring the cost of zero-initialization? :)
 
@StackedCrooked lol, no. It was performing a 60GB FFT.
 
Initializing twice is of course going to be more expensive than once.
 
12:07 AM
I've probably learned more in the Lounge than in Uni.
 
The entire algorithm only makes like 4 passes over the entire scratch buffer. The extra pass added by the OS to zero it combined with all the page-faults added more than 25% run-time.
 
@CatPlusPlus The world of knowledge and enlightenment, summarized in such a simple single word. Beautiful.
 
Even worse is zero-initializing files on the disk.
Without admin access, Windows will zero-initialize a file if you write to it non-sequentially.
Linux handles it better with sparse files.
 
@CatPlusPlus How come when I minimise ConEmu it closes? Is there a way to turn that off?
 
Main > Task bar
 
12:12 AM
@Mysticial I remember
 
I love how everyone on Youtube trying to learn how to program is very young and thinks they can skip everything and go straight to making good games.
 
@sehe So do The Roots.
 
@CatPlusPlus Ah thanks
 
@StackedCrooked I really need >60s compile time on Coliru :{. Or decent performance. It is really amazingly slow to compile. Does the time to rsync the chroot count as compilation time?
 
@Mysticial We need to kil /dev/zero
 
12:19 AM
Welp.
Time to build Clang 3.3
And see if I can build it against VS 2013 Preview
This is gonna be a bucket of fun.
 
@sehe rsync yes it always does.
 
@CaptainGiraffe hhmm? Did you look at the source too?
 
@sehe You can measure the overhead by executing sleep 1.
 
@sehe No never I would not understand that arcane stuff
 
@CaptainGiraffe TFHYP
 
12:22 AM
TFHYP?
 
Then Forever Hold...
 
the fuck hel you want to be helping for?
 
The problem is lack of RAM.
 
@CaptainGiraffe Help. Something's gone into Cpt. Giraffe
 
My position?
 
12:23 AM
@StackedCrooked How much has it got
 
Ahahaha. Splainz a lot
 
I did not go into the sphere
 
Mathias Frits Rørvik 11 months ago
& is know as the reference operator
* is know as the deference operator
Reply · 22 Vote Up Vote Down
 
@chris Unfortunately I was pretty much like that myself.
 
12:25 AM
22 thumbs up, that's Youtube for you.
 
Ell
& is address of operator I thought
 
@Ell also binary and, depending on context
 
int & myFavInt = hehe
 
@Ell I don't wanna say another bullshit today but & can also be the reference operator.
 
Does anyone happen to know if it is possible to someone's followers on Twitter without having to sign in?
 
12:26 AM
@TheGuyWhoCouldn'tTalkToTheGirl you a word I think
 
Today has been slow.
 
@Ell MSVC has different pages for the reference operator and the address of operator
 
@Pawnguy7 lol, the whole week has been slow for me.
 
12:27 AM
@TheGuyWhoCouldn'tTalkToTheGirl exactly
 
@MooingDuck That's terrible tbh.
 
@CaptainGiraffe clearly not, he's talking to me
 
@Jeffrey I don't like it :\
 
12:28 AM
@Pawnguy7 Yeah, well, once in a year is good to be slow
 
@TheGuyWhoCouldn'tTalkToTheGirl hint: reread the message I was replying to
 
"The sizeof operator yields the size of its operand with respect to the size of type char." Isn't char guaranteed to be a byte (though not 8 bits)?
@Jeffrey How so?
 
@Pawnguy7 sortof. C++ doesn't really talk about "bytes" to my knowledge
 
@Pawnguy7 To take a break.
 
@MooingDuck Oh haha. I missed a word. Does anyone happen to know if it is possible to view someone's followers on Twitter without having to sign in?
 
12:31 AM
Is there anything that doesn't represents a char as a byte?
 
My bank wanted to implement secure banking.
 
@Pawnguy7 nevermind, it uses the word byte all over the place. But doesn't seem to correlate char==byte.
 
@Jeffrey I didn't. I just get getting frustrated at myself for not focusing, though it occurs to me it would have been much wiser to have done that. I don't know why I don't, to be honest.
 
@Jeffrey I can't imagine why anyone would do that
further reading clarifies that char always takes one byte
 
Get a pssword, but please dont use underscore or any ohter suspicious character
 
12:32 AM
@MooingDuck I haven't read any of the standard, but I... I know it somehow. Perhaps people here told me.
 
@MooingDuck char == byte for most practical purposesw
 
@Pawnguy7 Just focus on girls (or boys for that matter) and beer and you are all set.
 
@CaptainGiraffe My wife's school silently drops suspicious characters from passwords. Took me forever to figure out why I could never log in
 
@MooingDuck Not your bank =)
@MooingDuck Also your wifes school. What does she do?
 
Why did they cancel Lie to me? :(
 
12:34 AM
Suspicious character?
 
@CaptainGiraffe goes to school
 
lol
 
@MooingDuck Hole in one at the put put course.
 
@Pawnguy7 "<"
 
@MooingDuck So SO wont be impressed with her subject?
 
12:36 AM
Ok. Although, what of underscores? Off the top of my head, I am not sure.
P key came loose today.
 
I put a lot of underscores in my passswords thats how I get to 40 chars
 
Haven't gotten around to fixing it.
 
Ell
Meh. I want a Java decompiler that will let decompiole stuff which is compile able again
 
@CaptainGiraffe why do you have to get to 40chars in the first place?
 
@Jeffrey I usually bang my head to my keyboard
 
12:38 AM
That's ok, but why 40 chars and not 41 or 39?
 
Its actually 42 but please dont tell
 
I think I see what you did there
 
Is it bad that I often prefer writing than programming?
 
Thanks Jef =)
@Pawnguy7 I ponder that quite often too.
 
@Pawnguy7 I heard that programmers love to code but hate to write documentation
 
Ell
12:42 AM
I actually enjoy writing documentation
But that might be a procrastination thing
 
I'd like it more if doxygen didn't suck
 
@Jeffrey hemingway never wanted to write the narrative
 
Ell
What's up with oxygen?
 
Well.
 
Doesn't doxygen write the documentation for you?
3
 
12:43 AM
@CaptainGiraffe "International Care and Community Development"
 
@CaptainGiraffe that's the exception that confirm the rule
 
I would prefer programming when I feel excited about something, but I cannot seem to get in that mindset much recently.
 
@Jeffrey HAHAHAHA
 
@MooingDuck *should FTFM
I mean that it takes the comments from your source code and generate a documentation or something.
 
Doxygen default template is hard to navigate, and its template system is painfully bad.
 
12:46 AM
:10771755 Its how to raise communities out of poverty
@Jeffrey sure. but then you have to write the correctly formatted and worded comments in the source code. What do you gain?
 
@MooingDuck so me and you.
 
@MooingDuck Possibly IDE tooltips.
The comment commands are really not an issue.
 
@MooingDuck That you just use some conventions so you have to write good comments (which is not a bad idea) and suddenly a wild documentation appear. But seriously I don't know. Never used it. Never had to write documentation yet.
I'm just a baby in programming.
 
Doxygen's default template is the definition of ass for me.
It's gotten "better" the past few releases but that's not saying much tbh
 
Ell
I would rather write docs outside of source
But I don't want to have to write HTML and structure
 
12:49 AM
> // This code has been difficult to write, should be painful to read.
 
@CaptainGiraffe I'm hardly in poverty
 
The only comment you'll even need.
 
Hahah, Doxygen.
 
I don't know how people find scripting languages easier to use :\
 
Ell
Dynamic typing can make it quicker to type
 
12:52 AM
There's no such thing... oh fuck it.
 
Ell
APIs are written for speed of development as opposed to performance
Idk realy
Really*
Take off your blouse, and your underrpaaaants!
 
You don't really need dynamic typing for language to be expressive.
 
Ell
I know, but it helps
 
I'm not sure how to define language expressiveness
 
Type-inferred static typing is just as good, if not better, in terms of development speed.
 
Ell
12:53 AM
Its subjective I guess
But err.... LOC
 
@Pawnguy7 srsly
 
@CatPlusPlus Example?
 
Ell
runs away
 
Haskell.
 
@Ell So wrong... look at Scala.
 
12:54 AM
I saw that Haskell coming
 
I prefer readability. Lots of LOC and long names anyday
 
Ell
But who wants to write in Haskel trolololol
 
@Jeffrey everyone who knows the cat did
 
You wanted an example of extremely expressive statically typed language, Haskell is it.
 
Ell
Its also very difficult
 
12:55 AM
It's really not.
 
@MooingDuck Zoidberg (rightfold) used to be like that too
 
Zoidberg got it from me.
You must be new here.
 
Ell
He is
Relatively
 
@Jeffrey rightfold is still like this...
 
Would it be more beneficial to build the LLVM/Clang libraries as DLLs instead of as Static Libraries?
 
Ell
12:56 AM
Haskell is difficult for me cos I can't get into it
 
Yes, no, maybe.
 
Ell
But I want to like ot
I just cant.
 
If I do DLLs, I can use them across compiler versions and I don't have to keep eating 4-hour compiles.
 
@Borgleader It has been a while since he has talked about Haskell
 
Forget anything you know about imperative programming, and you'll find Haskell easier.
 
12:57 AM
@ThePhD not if those compilers are MSVC
 
It's only preconceptions and getting through the paradigm shift that's difficult.
 
@MooingDuck MSVC behaves with DLLs compiled in older versions. o.0
 
Anyway, if you want something closer to home, C#.
 
They also don't have to have the same CLR model (MD/MT/etc.)
 
It doesn't have full inference but still.
 
12:57 AM
@ThePhD only sometimes
 
Someone mentioned Scala already. Also Boo.
 
@ThePhD and link to the same windows libraries
 
Boo has full inference I think.
 
@Ell Almost 5K messages old (lol)
 
@Jeffrey Yesterday is not a long time :P
 
12:58 AM
@MooingDuck As long as you have the older CLR's present (VC++ redistributables 2008 and onward) you should be fine in those cases.
 
I've missed that :3
 
@MooingDuck So I guess I should just do a static lib compilation and leave it at that?
Or should I go with the DLL and hope it might save me some trouble maybe?
 
@ThePhD yeah
 

« first day (1011 days earlier)      last day (3940 days later) »