« first day (1490 days earlier)      last day (3441 days later) » 

user1804599
7:00 PM
 
user1804599
ahahahahah
 
user1804599
41 million views are all justified.
 
@TonyTheLion I should bring my chilli vodka.
 
user1804599
dat spoon
 
Rightfold is banned at unconferences.
 
7:02 PM
@MartinJames yes!
@R.MartinhoFernandes he can come to them one at a time though?
 
Seriously guys. Flying to Poland is cheaper than well spend on drinks in London
 
@rightføld top kek
 
Just sayin
 
@BartekBanachewicz Yes, it certainly is for me.
 
user1804599
what do we do at unconference
 
user1804599
7:04 PM
hey @thecoshman add me to the "definitely goes" list on the wiki.
 
@rightføld socialize
 
user1804599
what's that
 
user1804599
Is it when you become socialist?
 
lol
its when you talk to real people and stop being a neckbeard
 
@rightføld lounge IRL
 
user1804599
7:05 PM
So you say things are shit except with speech instead of keyboard?
 
user1804599
Is it OK if I disguise myself as Batman?
 
nice video
 
@rightføld sure
@BartekBanachewicz yes, and we said there was a reason for that
 
Wroclaw and back €76. That's about 10 beers in London:(
 
you can't make vacuum cleaner noises if you come to Unconference @rightføld
 
user1804599
7:07 PM
@thecoshman Nice.
 
@MartinJames More than enough for me
 
user1804599
Actually I should go in a Zoidberg costume.
 
@rightføld That would get you mugged in London.
 
@MartinJames shhh
 
Prolly get you mugged in Poland, too.
 
7:11 PM
to be honest though, what with my foolish desire to own a house, Poland is looking more like my budget :S
 
Hmm.
Prague-Wroclaw ~200km.
 
o_0 but you're not in Prague
 
I'm planning my next bike trip that way.
 
any free web hosting service?
 
Fuck trains with heating.
 
7:19 PM
@Mr_Green github if static site is ok withyou.
 
FFS, I'm cooking here.
 
@R.MartinhoFernandes sleepy time :P
 
warm train...
 
@thecoshman I have php and mysql. so I think I can't use github
 
7:20 PM
I'm from Southern Europe and everyone around me is complaining about cold while I'm sweating a river.
The fuck is wrong with these people.
Wunch of busses.
 
@R.MartinhoFernandes you have your map sidewise, your from Western Europe you silly goose.
 
Oh hey, @TonyTheLion, check it out
 
Nice :)
 
huh?
 
4 hours ago, by Tony The Lion
@caps Shitty Gravatar Exception: please pick nicer gravatar
 
7:23 PM
Don't ask me - I don't even know where Portugal is anymore.
 
user1804599
I still love this scene.
 
user1804599
It's one of the best.
 
Next to spain
 
@TonyTheLion what was wrong with it?
 
@thecoshman it was one of those default shitty ones
 
7:24 PM
ooh
fairings (dog)
 
user1804599
@thecoshman fartings (dog)
 
@thecoshman lol Russian
 
special delivery for the kitty
 
7:37 PM
There's quite a lot of loungatar potential there: petapixel.com/2014/11/11/…
 
user1804599
Where is the polar lion?
 
user1804599
I want an Eiffel–Perl–PHP hybrid.
 
and this is why UK plugs have switches.
@rightføld you want PEP?
 
user1804599
New Kids in German is hilarious.
 
I don't see the switch
@rightføld auf den Block?
 
7:44 PM
@sehe I dig those.
Sometimes completely separating interface from implementation is just more work than it is worth.
 
@sehe o_0 that's my point... US plugs are always on
 
user1804599
@sehe ja!
 
user1804599
@caps Thank you for these totally not obvious words.
 
@caps it's never worth it. Something else could be worth separating interface from implementation
 
7:52 PM
@rightføld Was going to share a story/example but got distracted by work.
@sehe Hm?
 
user1804599
@sehe do you have much experience with Perl?
 
Compiling now so I can share.
 
user1804599
inb4 wall of code
 
@rightføld I do have much experience with daknøk incarnations asking me whether I have much experience with it
 
I was trying to come up with a way for a search module to return iterators to the beginning and end of the container used to store the results of the search without having any dependencies in the user code.
 
user1804599
7:54 PM
OIC.
 
@caps append for at the end for extra obviousness
 
user1804599
Well then, here it goes.
 
user1804599
How annoying is it when daknøk reincarnations keep asking you the same question?
 
Not at all
 
But that meant that the iterator returned had to be a pimpl.
 
user1804599
7:55 PM
@sehe do you have much experience with Perl?
 
And the search module also had to have a pimpl container.
 
@caps erasure? boost::any_iterator
 
And that is so much code wrapping.
 
@caps just make everything templates and header only. Boom. No duplicate effor and performance to boot
 
user1804599
You pop pimpls, not iterate them.
 
7:55 PM
:)
 
@sehe I was trying to avoid using boost. Co-workers don't like it.
 
@caps I remember having the same conundrum when I was doing my first C++ design in a few years. I'd do the header only show today
 
user1804599
user image
4
 
user1804599
lol
 
Then, erasure or static polymorphism.
Or bust
 
user1804599
7:57 PM
I do erasure in C++ using rm *.cpp.
 
std::remove != std::erase
 
user1804599
(erased)
 
@rightføld But yeah, that works and performs quite well
 
@sehe That is probably what I'll do. But I wanted to let the implementation not even be dependent on an STL container if I ended up implementing the results in some other fashion (e.g., iterating directly over the SQLdataset object, for instance)
 
@rightføld needs italics
 
7:58 PM
I might look into erasure and static polymorhism.
 
user1804599
It needs grays.
 
But I really need to start coding something soonish.
 
@caps Then don't let it. How can it depend on it if you accept iterators? Iterators are, by definition, a concept. You can't be tied to an implementation then
 
@sehe There is at least a compilation dependency if I return an iterator that is just a wrapper around an STL iterator.
 
user1804599
People in #perl are surprisingly friendly. I more or less expected them to be condescending since they're Perl programmers.
 
7:59 PM
I would be able to change the wrapper to wrap something else without changing user code, but I would have to recompile user code.
Wouldn't I?
I was trying this, but it is giving me a segfault. coliru.stacked-crooked.com
hahahahaha... I didn't share that right at all.
 
lightness coming at you live from a bus!
 
user1804599
Yello is great.
 
user1804599
Ohhh yeah.
 
disappointingly, this bus is not on an orbital
 
And the right font...
 
user1804599
8:07 PM
And smaller.
 
@LightnessRacesinOrbit Have a gravity assist
 
user1804599
I should put on the horse mask while listening to this music.
 
user1804599
And dance.
 
@rightføld lol
 
@caps There's always, in a way. Anyways, welcome to the flipside of static everything and performance programming. You can't optimize if the details of the implementation are invisible to the compiler
 
8:09 PM
u gay bro
neigh*
 
user1804599
 
user1804599
Me a few days ago!
 
oh rightfold
 
my what a big nose you have
 
8:10 PM
@sehe I've basically concluded that I'm okay with compilation dependency. We recompile everything all the time anyway, and though we are doing some things to speed up compile-time most of us are more concerned with readability, which a convoluted pimpl idiom does not contribute towards yet.
 
@caps what on earth is a TSearchModule
 
@sehe An object for searching the database.
 
user1804599
A TS earch module. Duh.
 
Also, what exactly does Itr hide? It's still statically tied to the underlying T, as well as ItrImpl<T>
 
user1804599
It hides the facts, like Bush did.
 
8:12 PM
@caps It's just ginormously slower
 
@sehe What do you mean?
@sehe Looking again. I had closed the page.
 
Exactly what I said. Use templates directly
 
@sehe In actual implementation Itr and ItrImpl would be in different headers. ItrImpl would just be forward declared in the Itr.h
 
How different is a template compared to C#'s generics?
 
Urgh. Even auto_ptr in there. The 90s called. They want their broken features back
 
8:14 PM
So Itr doesn't actually know any implementation details of ItrImpl--it just has a pointer.
 
@caps Impossible. You depend on Itr because it's the template argument
 
@sehe Ah, so in that way a shared_ptr is different from a raw pointer?
 
Ah. So it's just compilation firewall then. Well, that doesn't require any of this.
 
user1804599
@JohanLarsson Template is basically copy, search and replace, paste.
 
user1804599
With some tricks to do pattern matching.
 
8:16 PM
@caps In the fact that it facilitates shared ownership (and as such incurs double refcounts and thread-ware synchronized updates of that)
 
user1804599
Generics compile to one implementation that is polymorphic (and therefore cannot be specialised).
 
@sehe Well that was the idea. I think I'm going to go with something that is simpler and not worry about compile-time dependency--just a consistent external syntax.
 
@caps The compilation dependency is still there at instantiation time, IYAM
 
@sehe Yes yes, I meant, you can have a pointer to an undefined class (one that is only forward-declared) but not a shared_ptr to an undefined class?
@sehe In the coliru example I linked above?
 
user1804599
@sehe If only that were "iff you ask me." Then it'd have been easy.
 
8:17 PM
@caps You can, until you require the destructor (which is pretty much anywhere where the shared pointer isn't passed by ref)
@caps From my quick glance, yes
 
@sehe Ah. So anywhere it is used in a C++03 STD container. :p
 
I sense much Java in you
 
@sehe No! Don't say that!
Well, again, I decided not to worry about compilation dependency. I think it would take the code in a direction where my co-workers would complain about debugging and readability.
I hate Java.
 
You can even destruct it, since the destructor is type erased
 
@caps That too. Also, passing shared ptrs by reference exclusively is tantamount to passing references directly
 
8:19 PM
I wish I could work in C++11 with a standards-compliant compiler.
 
user1804599
I'm not sure how to generate JS code.
 
user1804599
Because JS has no proper coroutines.
 
@sehe As in "why bother with a shared_ptr"?
 
user1804599
Horrible shit.
 
ye, std::shared_ptr erases deletion/destruction.
 
8:20 PM
@Puppy But at the time the destructor's type is erased, the type itself must be complete.
@caps yup
 
@sehe because pimpl
 
Yes, but that's at allocation time, not deallocation.
 
@sehe Not when you pass the pointer though, when you construct it (which can happen in the TU of your choice).
 
@caps Well. pimpl != shared_ptr. If anything, pimp = scoped_ptr or unique_ptr
@LucDanton Ah. Good point. Typer erasure of the destructor happens at initialization. This makes sense
 
@sehe But we're talking about C++03 containers here. No move semantics.
 
8:21 PM
@caps so? scoped_ptr is like auto_ptr but far less broken
 
user1804599
Wait, I know.
 
user1804599
I will just not generate JS.
 
user1804599
I'll write a bytecode interpreter in JS.
 
@sehe I thought you couldn't do a C++03 STD container of scoped_ptrs
 
scoped_ptrs are a boost thing. I thought you couldn't boost
 
8:22 PM
because they don't have a release()
just a reset
@sehe yes.
 
huh... I need to spend more time getting to grips with how exactly Rust modules are working...
 
@rightføld ty sir but too advanced for me :)
 
@sehe Oh, missed your edit there.
Co-workers don't like boost but they will tolerate it here and there, especially if it is in the (smaller) boost library that ships with our compiler.
 
8:27 PM
@caps how come you ranged-for then?
 
lal
 
error: 'boost::scoped_ptr<T>::scoped_ptr(const boost::scoped_ptr<T>&) [with T = int]' is private - scoped_ptr(scoped_ptr const &);
@sehe std::for_each was in C++03
 
Yes, the deal with scoped_ptr is that it’s not copyable.
 
@caps I know. You didn't use it (in operator<<)
 
@sehe Where?
 
8:29 PM
It’s the minimal smart pointer, so to speak.
 
@caps in operator<<
 
user1804599
 
@sehe Nothing in the code I linked you used that operator except the test code in the spObj
What am I missing?
are you talking about this part? std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec)
coliru includes that every time you get a fresh instance.
 
user1804599
Most used word on Worldbuilding: "would"
 
@caps and you don't know where the delete button is. Capiche
 
user1804599
8:38 PM
> <perlbot> no strict no warnings no help. That's the #perl motto!
 
user1804599
lolnice
 
@caps ? you're the one sharing code with random unrelated bullshit in it. Don't blame me for being confused
 
@sehe No worries. Sorry I confused you by leaving it in.
 
user1804599
@sehe Now you know how it feels when people are being cryptic.
 
8:41 PM
ouch
 
user1804599
Holy shit.
 
user1804599
TIL the reason JavaScript implementations don't do TCO is because the JavaScript spec makes it impossible due to some feature nobody ever uses (reading the arguments passed to the caller, or the caller of the caller, etc).
 
A quick jump into the debugger would go a long way into sorting this stuff out.
 
@rightføld there are other words better describing the state of this poster
@LucDanton yeah. It wouldn't hurt initializing that auto_ptr either
I'm drinking filtrated coffee from grinded coffee over 2 years old and open. What could possibly go wrong
 
Why do my flags get declined?
 
8:52 PM
@sehe The coffee could taste not very good.
 
@sehe I told you about spoonfeeding dawg!
 
@sehe facepalm
of course
 
user1804599
TIL keys works on arrays. Shiny.
 
9:26 PM
keys work on arrays?
 
user1804599
> test => { TESTS => join(' ', map { 't' . ('/*' x $_) . '.t' } 1 .. 20) },
 
user1804599
Because Perl you piece of shit y u no recursive glob.
 
9:46 PM
@StackedCrooked it did. however, it is coffee and it's going to help me contain the migraine
@Columbo yes
 
I once saw a medication that contained a paracetamol and caffeine combo.
 
Many around. I don't have them handy though
 
@sehe I have to confess my love to you.
 
And my coffee machine broke earlier this week
 
Holy shit
just in general
 
9:49 PM
Permission granted
just in general
 

« first day (1490 days earlier)      last day (3441 days later) »