« first day (1718 days earlier)      last day (3230 days later) » 

Ell
6:00 PM
Fucking fuck
I paid for an extra month of parking :(
 
I'll take it
 
Ell
That's £100 down the drain
 
:c
 
@Ell walk it off
pun horribly intended
 
user1804599
6:01 PM
@MoH. they hold them in their hands.
 
@MarcoA. why is there a vacuum in the first picture?
 
@ScottW hi
 
@WorldSEnder to clean the code
 
Ell
Jesus what a stupid thing to do
 
Ask for a refund?
 
6:03 PM
@WorldSEnder You can't "return a type" from the regular function either.
 
@ScottW long time no see, what you been doing?
 
@milleniumbug yes, because types don't exist at runtime, but they exist at compile-time
 
user1804599
@MarcoA. clearly the second option works better.
 
user1804599
There is much less spilling of juice.
 
@ScottW row row fight the power
 
6:04 PM
@ScottW what happened?
got bored running your own business?
or did you got out of business?
 
@milleniumbug You kinda can work around it by using templates and typedefs but that isn't suitable for everything ;)
 
@ScottW hi
 
oh fun, and what kind of programming are you doing?
ohhh nice
I was considering that
 
user1804599
@TonyTheLion let's get laid.
2
 
user1804599
6:06 PM
s'il vous laid
 
sorry @rightfold, I prefer girls in bed
 
user1804599
then why sorry :(
 
@rightfold I thought your "lets get laid" implied you wanted to go to bed with me
@ScottW oh yea
I'm dumb
the girl I have a crush on is taken :(
 
Ell
@CatPlusPlus I will but I'm taking my car away now, I'm pretty sure the chance of refund is 0%
 
user1804599
@TonyTheLion yes!
 
6:08 PM
lol
 
Ell
@TonyTheLion same here
Wrt taken
 
sucks doesn't it?
 
@TonyTheLion Crush him
 
user1804599
> him
 
Not a typo you butt
 
6:10 PM
> a pulverise
lol lol lol
 
smh
 
@CatPlusPlus I don't do stealing girlfiriends
 
Is he your friend?
 
user1804599
Learn Plankalkül before learning C++.
 
Ell
@TonyTheLion depends :P
 
6:11 PM
@ScottW No...Let us get laid
 
(This is where the flowchart ends)
 
Ell
You can make it not suck
 
u f'n w0t m8
 
@rightfold I'd let myself get laid by you
 
Let's get laid = let us get laid
 
6:12 PM
@CatPlusPlus an acquaintance
 
Tony you're time travelling
 
Thanks, I try :p
 
@CatPlusPlus yea it was dumb
 
Clam down
 
the lounge is in heat today
2
 
6:13 PM
Oh god they have incremental clickers on Steam now
 
@CatPlusPlus wtf is that?
 
And then smash his glass with a broken face
 
I am starting work on upgrading the #stackoverflow #stackexchange edge routers. Once again no disruption expected
 
rip entire network
 
class empty {};
It's useful for testing stuff
 
6:14 PM
if(!routers.restart()) panic();
 
#crashoverflow
 
C# software developer 85,000 GBP per year
wut
 
That's like 85,000 USD
 
Isn't that like 130k?
 
user1804599
per decade?
 
6:18 PM
USD?
 
yeah
sorry
 
@MoH. yep
 
So, apparently A<C>& someFunc(){} and A& someFunc(){} have the same behavior... why prefer one over the other?
 
@TonyTheLion I'm joking. 130k is a reasonable mid- to sr- level salary for that in the US
AOTBE
 
@TonyTheLion is 85k GBP a reasonable salary?
 
user1804599
6:20 PM
too low
 
user1804599
should be at least 100000000000000000GBP per month
 
@MoH. for London that's a salary you can live off, if you want to live more central
 
but nothing too extravagant?
 
user1804599
I should get drugs.
 
I think average for devs its around the 50k
 
6:21 PM
oh alright
 
user1804599
for boob purposes
 
user1804599
and ass purposes
 
its higher than usual
 
user1804599
 
user1804599
looks like a sombrero
 
6:24 PM
what's the box in the middle called again?
 
Lounge<CulturalSensitivity>
 
Al-Kaba
 
user1804599
house of imaginary friend
 
the black box
 
yea that
the yearly hajj
 
6:25 PM
eh, could be ummra
 
> The Kaaba is built around a sacred black stone, a meteorite that Muslims believe was placed by Abraham and Ishmael in a corner of the Kaaba, a symbol of God's covenant with Abraham and Ishmael and, by extension, with the Muslim community itself. It is embedded in the eastern corner of the Kaaba.
 
Ell
I'm not going to get over this faux pas for a long time :(
 
fun fact, the building isn't actually black, thats just a covering they put over it
they change the style every now and again
 
@Ell which faux pas?
 
your mum in bed
 
6:29 PM
really?
 
@Jeremy ahahahahahahhahaha
 
Ell
@TonyTheLion paying £100 for parking which I don't need
 
@Ell haha
could be worse
 
Ell
I read July as June it seems :(
 
I've paid hundreds of pounds for a flight that I didn't end up using, non-refundable
@Ell they won't let you change it?
 
Ell
6:31 PM
I'm glad it was "only" £100
 
user1804599
and now you are poor
 
Ell
That is a lot for me though
 
user1804599
and the guy who owns the flight company is rich
 
user1804599
nanananana
 
Ell
6:31 PM
@TonyTheLion its too late, I only found out today because when I collected the keys they said "aren't you supposed to be here for another month? You've paid for another month."
I wish they'd just not told me :L
 
sucks
 
user1804599
lol
 
user1804599
politician says other politician is telling lies
 
they're both lying
^^ safe assumption
 
user1804599
 
6:35 PM
@rightfold wow that loads really slow
 
user1804599
so does your brain
 
#GetRekt
 
hi all. i'm trying to sort a multidimensional map based on a value inside a child map. is this possible? I'd like to use a comparator function when declaring the map initially
 
multidimensional map?
what's a multidimensional map
 
A map with multiple dimensions
 
6:45 PM
how does a dictionary have multiple dimensions :O
multiple levels of key/values?
 
am i speaking like a novice? :/
 
showing me the declaration of your multidimensional map would help
 
user1804599
Show type in C++ instead of in English.
 
I'm struggling to imagine a multidimensional dictionary
 
user1804599
English isn't well-suited for code.
 
6:46 PM
and its use cases
 
std::map<std::string, std::map<std::string, std::string>> groupList;
a map of maps
 
user1804599
You can't sort maps after the fact.
 
so why is there even a comparator argument
oh.
 
I'd call that a map that maps strings to a map that maps strings to strings
 
user1804599
You can't change the comparator after the map's been created for as far as I am aware.
 
6:47 PM
To pass a custom comparator... something like std::map<K,V,decltype(&My::Comparator)>
nvm should have read what you said
 
can you come up with an example of what you mean by sorting?
 
maybe a map isn't what I should be using then?
 
std::map keeps its element sorted at all times
 
by the key values?
 
user1804599
yes by the keys
 
6:50 PM
sorting by the value of the things contained in it
that's what you want, right?
 
even if the keys are strings?
 
What does it matter
Strings are perfectly orderable
 
I think he wants to do something like...
 
@AlexM. Yes, essentially. However, the value of the child map.
 
if (groupList["myvalue"]...) inside the comparator itself
 
Ell
6:51 PM
@rightfold you could with some hackery I think
 
keys should be constant
 
sounds about right @AlexM.
the keys aren't changing value
 
I think I'm bored
 
if that's what you mean by constant
 
user1804599
@Ell no.
 
user1804599
6:52 PM
mutating the comparator won't change the order
 
user1804599
it'll break everything horribly
 
Comparator is part of the type
 
user1804599
If you need to sort after the fact, use std::vector<std::pair<std::string, std::map<std::string, std::string>>>.
 
Someone reject the edit plz i cant fix the errors messages' formatting because of it. (Previous editor removed them... >.<)
 
6:53 PM
it's really unintuitive tbh
I wouldn't even try it
 
it just seems like this would be something that would be brought up more often
 
not really
 
Using a map for sorting based on anything that isn't the key is unintuitive. You're using the wrong data structure
 
a std::map takes a comparator that compares instances of the type of its KEYS
 
I'm also newer to C++ so it must not help my lack of terminology
 
6:53 PM
since it keeps the keys ordered regardless of anything else
inspecting the contents of the map itself in the comparator is
just use an unordered_map and store your keys externally
and sort them in a vector or whatever based on the contents of the unordered map
 
user1804599
This is one of those cases where I'd want to just use an RDBMS.
 
user1804599
Except no RDBMSes have the same type system as the language and don't allow storing pointers to values, which is annoying.
 
user1804599
Maybe you have luck with Boost.MultiIndex, but since you appear to be a noob you'll have to spend ages to wrap your head around its API.
 
@KevinMurphy it'd look like this: std::map<TKey, TValue, TComparer>
 
user1804599
It will also take ages to compile your code but that's what you choose for when using C++ anyway.
 
6:57 PM
so two maps. a regular std::map and an unordered map?
 
std::unordered_map<std::string, std::map<std::string, std::string>> groupList;
if you do need the std::map inside to be ordered by keys
order the keys in the first unordered map in another structure based on whatever criteria you have
by inspecting the contents of groupList
if you don't want to waste memory I guess you can use reference wrappers for keys or whatever I don't know about that stuff because I don't performance
 

« first day (1718 days earlier)      last day (3230 days later) »