« first day (853 days earlier)      last day (4085 days later) » 

Xeo
9:00 PM
@rubenvb The cat.
 
No shit.
 
What does the OS have to do with font choice jesus
 
When I installed DejaVu Sans Mono, every website started using it
 
So I had to uninstall it
 
9:00 PM
lolz
 
@CatPlusPlus What do you know? You were using Courier New for a year.
 
Shut up
 
Xeo
@R.MartinhoFernandes Checkmate.
 
bazinga.
 
lol Courier New
 
9:02 PM
I'm using DejaVu in vim too
 
I think linux fonts look great
 
(AND YES IT'S THE CORRECT ONE)
 
I recently started hating Notepad++
 
DejaVu is good font
 
@rubenvb It sucks. What's there to hate?
 
9:03 PM
if they are bad for you, you might need to tweak the RGB order for the subpixel AA trick
 
@R.MartinhoFernandes I liked it, untill I remembered stuff like Kate or even Kwrite.
 
GitHub: you have unread notifications! Page with notifications: no unread notifications!
 
I should just install KDE for windows for Kate.
 
Woah, that's really extreme.
 
9:05 PM
Unless someone has a nice alternative. And no, Notepad2 sucks even more.
And using Qt Creator for random text files seems odd.
 
Xeo
C++ template metaprogramming gives you all kind of new capabilities like passing types or list of types as arguments etc. Most of these capabilities are present in dynamically typed languages like python, with nicer syntax. — Florian Bösch Sep 23 '08 at 11:04
 
Xeo
What a tool.
 
What do you expect? vim.
 
emacs
 
9:06 PM
ugh
you guys
 
Xeo
@rubenvb Fred would probably say Sublime Text
 
@Xeo it's not really free... I have moral dilemma's every time I open it :p
 
use gdb as your editor. you could set the registers up and force a debugger to call into a mmap, then edit the memory directly and then set RIP to a function to close the file and resume it.
 
You want a good editor, vim or emacs is pretty much the only choice
(vim is better)
 
Xeo
9:08 PM
I thought emacs was a good OS without a decent editor?
 
oh the vim vs emacs discussion
 
I didn't ask for a whole shed full of tools to make my sandwiches.
 
@TonyTheLion Don't worry, there are vew (i.e. very few) emacs lovers here.
 
I want a butter knife. A sharp one.
 
vew few
 
9:08 PM
@rubenvb vim. I have no idea what you want.
 
Xeo
@R.MartinhoFernandes "vew"? "very few"?
 
I'm not worried
yet
 
You can't just invent new words!
 
nords <- "new words"
 
9:10 PM
Thants
 
Xeo
Hm. Looking for a name for my makefile generator... with "hamgen" currently in mind.
 
hamfist
 
hangman
 
Ell
@Xeo porkgen
 
horsegen
 
9:12 PM
fap fap fap
oh no, that's not a new word
 
BaconBuilder
 
sounds a Java thing
 
@MartinJames That would be BaconBuilderFactory
 
'produces DOM object trees from XML documents' - please, NO, not ever, please God..
 
"Produces bad from worse."
 
9:16 PM
The way to make a Document is: DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(). No kidding.
 
LOLWOT
 
I'm serious. I had to use that crap before.
 
man
 
@R.MartinhoFernandes ...and remember folks, this is easier to use than C++!
 
and I thought some of my Wide prototype code sucked
 
Xeo
9:18 PM
Hmm... Question: What email provider do you guys use?
 
Mailinator!
 
gmail
 
@Xeo None. Being a proper Merikan, I only send mail the way God intended, on paper (or, when I'm feeling particularly religious, chiseled onto stone tablets)!
 
stone tablets
dafuq?
 
@TonyTheLion Like the 10 commandments...
 
Xeo
9:21 PM
@JerryCoffin lol
 
Thous shalt not commit transactions
 
@TonyTheLion ...or had you forgotten that it's still Friday afternoon for me, so my sense of humor is even more warped than usual at the moment?
 
Poor thing.
 
gmail as well.
 
@JerryCoffin oh yea, damn, I did forget :)
 
9:24 PM
Beer -35, ready for liftoff..
 
Xeo
@R.MartinhoFernandes How does that one even work?
 
user142019
Ohio.
 
I wasn't very serious. Mailinator is only for getting e-mails.
 
Ell
I don't understand that generic raii proposal
 
user142019
Which one?
 
Xeo
9:27 PM
@R.MartinhoFernandes Guessed as much
 
I really like mailinator, though.
 
user142019
@Ell What part of it don't you understand?
 
Ell
the motivation
can't unique_ptr already do this perfectly fine?
 
We talked about this like two times in the past two days
 
9:29 PM
@Ell Yep.
 
I'll stick with gmail. I had that shite, 'Incredimail', or something like that, install itself on my system and it took a week to get rid of it all.
 
user142019
@DeadMG I don't know how to use std::unique_ptr with say file descriptors.
 
I do.
 
unique_resource or unique_handle or whatever is more generic than unique_ptr
 
had a discussion about it on the isocpp site
 
user142019
9:29 PM
How? A pointer to a file descriptor?
 
@CatPlusPlus It's a more generic name. It's not more generic functionality.
 
Xeo
@Zoidberg Deleter::pointer
 
It sucks. It's a scope guard.
 
@Zoidberg The deleter can override the unique_ptr's idea of what a "pointer" even is.
 
user142019
Oh. :P
 
Xeo
9:30 PM
@DeadMG Although not completely.
 
in this case, Deleter::pointer is int or whatever a file descriptor is.
 
user142019
Cool. xD
 
or something similar, anyways.
 
Xeo
@DeadMG Nope
 
you need a littttle more effort than that.
 
Xeo
9:30 PM
Can't use plain int.
 
Shoehorned and unintuitive effort :v
 
I know, I wrote this code.
that's just the general idea
 
It'd be much better to have unique_resource that doesn't have to pretend to deal with pointers when it doesn't, and define unique_ptr in terms of that
 
@CatPlusPlus Nah, that's a waste.
 
user142019
No. It's good.
 
9:32 PM
the existing unique_ptr can deal with non-pointer resources just fine.
 
user142019
First of all, the name is misleading.
 
Oh no, the 1 kilobyte required for the implementation
WHAT A WASTE
 
dude, it's not a waste in terms of the bytes of the implementation
it's a waste in general in terms of effort in designing and specifying another class which serves absolutely no purpose.
 
Right
 
user142019
I want water.
 
9:33 PM
whereas instead the Committee could spend their time on actual problems.
like Unicode support, say.
or the failure which is uniform initialization
 
It's only a problem because it's C++
And a ~standard~
 
or modules or ranges or any other of a thousand worthy causes.
 
user142019
@DeadMG s/uniform initialization/C++/
 
@CatPlusPlus you're saying that because I'm black
 
that's irrelevant
 
user142019
9:34 PM
>:3
 
you both suck
My tree will be working soon, mwawhawhah
 
Guys, the unique_resource in the proposal is not even this alternative class that does the same or more it does not matter than unique_ptr.
It's a fucking scope guard.
 
I bet you I could implement a scope guard in terms of unique_ptr
 
Yes, it's a unique_wtvr without resources.
 
@CatPlusPlus sometimes I think you hang out there just to bash C++ mindlessly
 
user142019
9:37 PM
@BartekBanachewicz s/CatPlusPlus/Zoidberg/
 
@Zoidberg nobody listens to you anyway
 
user142019
C++ is a bad language. Deal with it.
 
But scope guards are silly and a pointless waste of time for designers, for implementers and for users..
 
I'm not saying it's good.
Just like I'm not saying OpenGL is "good"
 
@BartekBanachewicz What
 
9:38 PM
@Zoidberg That doesn't mean we need to accept proposals that make it even worse.
 
@CatPlusPlus impression. Wrong?
 
@DeadMG you sound like it was you who will accept or decline it :)
 
user142019
It's FUBAR.
 
@CatPlusPlus where's the mistake then?
 
9:38 PM
@Zoidberg From what I gathered, that's what they are doing. You are the one that doesn't seem to get over that fact.
 
@BartekBanachewicz No, but I will have the advantage of arguing against it in Bristol.
 
user142019
@R.MartinhoFernandes xD
 
I happen to be very interested in language design, so of course I'm going to be critical of things that are bad
 
@Zoidberg he's got the point, actually.
@CatPlusPlus okay. Sorry then.
QUADTREE Y U NO STILL WORK <keyboard mashing>
 
Ell
@CatPlusPlus actually I see the point of that now :3
 
user142019
9:40 PM
Hmm I have MSVC installed. :3
 
user142019
So when I'm feeling emo... XD
 
@BartekBanachewicz Karma.
 
here's a random piece of code for this hour
auto r = [&x, &y, &dx, &dy](float px) -> float { return dy/dx*(px-x)+y; };
 
user142019
Y u explicit return type
 
user142019
And y u no [&].
 
9:42 PM
@Zoidberg you suck. I don't need everything
 
Explicit captures <3
 
user142019
Also dafuq.
 
user142019
What are the types of x and y etc?
 
@Zoidberg Y not?
@Zoidberg all floats
 
user142019
@BartekBanachewicz Because it can be inferred?
 
9:42 PM
Explicit captures <3
 
user142019
@BartekBanachewicz THEN Y U CAPTURE BY REFERENCE IF LAMBDA IS PURE FUNCTION.
 
@R.MartinhoFernandes is it irony or not?
 
@BartekBanachewicz Serious.
 
user142019
Unless you change the values between calls. :v
 
@Zoidberg Calm down.
@BartekBanachewicz When is that called?
 
9:43 PM
@EtiennedeMartel everytime i go from one voxel to another
 
@BartekBanachewicz I mean, does r live longer than x, y, dx or dy?
 
Alright. Carry on then.
 
exactly the same. x, y, dx, dy are parameters to a function inside which the lambda is created
 
Ell
dy/dx? integration? xD
 
9:45 PM
@Ell it's linear equation, m8
should be nx and ny, but whatever
 
@Zoidberg For any of the same reasons you would do so in Haskell.
 
user142019
@Ell no, not xD integration.
 
Ell
and oops I meant differenciation
 
@R.MartinhoFernandes After reviewing my code where I tried to use scope-guards, I determined I'd really really like finally in the langauge
 
Ell
shows how badly I sucked in today's maths exam :L
 
9:47 PM
@MooingDuck I'd like suddenly then. For random calls.
 
In the middle of the night
 
suddenly (exception("lol"));
 
Ell
a wild exception appeared!
 
@BartekBanachewicz by value would probably be faster
 
Isn't finally the thing that's guaranteed to run at the end... except it's not?
 
9:48 PM
That makes no sense. Scope guards are just manual RAII.
 
@R.MartinhoFernandes without finally, I still see use for scope-guards
 
@doug65536 for floats, maybe. doubles?
 
@R.MartinhoFernandes but if they're not releasing resources, but actually executing functions, then you have to put them in reverse order in the wrong place in your functions.
 
@BartekBanachewicz it would be close, but if that's in an inner loop, trying both would be worthwhile
 
Entering competition for fastest binning: DeadMG!
 
9:49 PM
:7748880 why would you like to recover PHP file at all?
 
void add_node()
    raii_scope_guard_do_balance t0; //this executes last
    raii_scope_guard_correct_count t1; //this executes second to last
    insert_actual_node(); //this executes first
}
 
@doug65536 I'll mind that
 
user142019
:7700000 plink.
 
user142019
Message y u no exist.
 
Xeo
@DeadMG I wanted to bin that to hide the evidence, but you can't bin move messages, even if edited. :(
So if you want an unbinnable message, move something and edit.
 
9:51 PM
@Xeo I know. I also used to bin binning messages, but you can't.
 
@BartekBanachewicz Needs politeness and grammar correction: Please do exception("lol") suddenly
 
@Xeo it will leave evidence of hiding evidence
 
@MooingDuck I still think the problem stems from bad design, not from something missing in the language. Because it's not like finally gives you a much better result. Try it.
 
void add_node()
    try {
        insert_actual_node(); //this executes first
    }finally {
        correct_count();//this executes second to last
        do_balance();//this executes last
    }
}
 
Xeo
@JerryCoffin suddenly exception("lol"), please?
 
9:52 PM
@JerryCoffin that would require Please keyword introduced
 
finally doesn't scale.
@JerryCoffin Oh noes, INTERCAL.
 
agreed
 
@R.MartinhoFernandes Finally (!) somebody got it.
 
@MooingDuck Put correct_count and do_balance together and do it with RAII.
 
@R.MartinhoFernandes other functions only need to do the balance
 
9:53 PM
They belong together.
 
the important thing is
I am the victory.
 
@MooingDuck So what? You can only build one level on top of building blocks?
 
At this point I've got more of these little RAII structs than actual functions, it's absurd.
 
Also, finally fucks up your scopes.
 
9:54 PM
@R.MartinhoFernandes Even if there's only one, they go in the wrong place in my functions
 
@R.MartinhoFernandes doesnt' seem like it ought to, how so? MSVC pulled it off.
 
Is std::stack::size O(1)?
 
@R.MartinhoFernandes oh, you mean the needed try {} bit?
 
@MooingDuck No, they did not. try-whatever introduces two new scopes or more.
 
9:55 PM
@BartekBanachewicz yes, in C++11 size() is O(1) in all containers
 
@BartekBanachewicz AFAIK all size() are guaranteed to be O(1)
 
@MooingDuck +1 accept
@doug65536 +1
 
Xeo
@MooingDuck std::stack is a container adapter, though. :)
 
@R.MartinhoFernandes better than my code being in the wrong order
 
Ell
oh god I am sick of fish and chips now >.<
 
9:58 PM
@Ell stop eating them then
 
Ell
@BartekBanachewicz I have no choice! :O
 
oh goddamn it fuck
 

« first day (853 days earlier)      last day (4085 days later) »