« first day (1928 days earlier)      last day (3038 days later) » 

6:12 AM
@TelkittytheWebDeveloper hmm cake
 
@edition I know, right? Butter cream cakes <3
 
6:32 AM
@ThePhD Any other regulars awake? <3
 
I am getting a weird c++ output when I use abs() function.
 
@ElimGarak They'll wake up in about 30 minutes to 2 hours, and then file off to work.
 
@ThePhD And how are ye :P
 
@ElimGarak Bluuuuuuuuuh reading.
 
Hi guys. sorry to interrupt.
cout << "1. itr-second: " << itr->second << "; i: " << i << "; abs: " << abs(i - (itr->second)) << endl;
cout << "2. itr-second: " << itr->second << "; i: " << i << "; abs: " << abs((itr->second) - i) << endl;

1. itr-second: 2; i: 3; abs: 1
2. itr-second: 2; i: 3; abs: 4.29497e+009
 
6:34 AM
oh for goodness sake
 
Why am I getting the weird "4.29497e+009" when I try to find abs(). Any hints plz.
 
@SyncMaster please don't paste code here.
 
@edition My bad. Sorry about that.
 
@AngryLettuce I think that would be a little too heavy for simple matters like this. I don't want to pull in a whole Boost just for this. — Lingxi 3 mins ago
what is it with this permanent fear of pulling in boost
 
@AngryLettuce ime, I've only used components from Boost and I think it's unnecessary to use Boost in it's entirety.
 
6:47 AM
The bridge is comin' along softly. I want to rub it with my hands.
 
@ElimGarak it would be neat to model that in Blender.
but I would probably end up getting frustrated and give up.
 
is that a spaceship
 
Bridge of a starship, yeah. Need to craft an interior scene for testing dat GI :D
 
with descriptive enough type names you don't need argument names anymore
void insert(Side, Order::Id, Price, Quantity)
neat
 
that awkward moment when tyep and identifier clash
 
6:59 AM
isn't that the whole idea behind the haskell thing
with function signatures being enough documentation
 
careful you're going to accidentally summon barskell
@ElimGarak can't because CamelCase
 
it sorta works up to a point e.g. hoogle
 
pls_snake
 
where you think of something and of a possible signature for it and then search by sig
 
@ElimGarak then it clashes but price p would be ok
fuck C++
 
7:04 AM
@AngryLettuce you're camelcasing params?
 
types
Type verbol
 
rite I read it wrong
void insert(myContainer My_Container, myElement My_Element)
do that
 
rite rong
 
uugh I have to go outside in the cold and take a bus to get home :<<<
 
7:17 AM
r e k t
 
.get_rekt()
 
reminds me of
Feb 7 '15 at 18:04, by Alex M.
public void TakeHit(int damage)
{
	die();
}
Feb 7 '15 at 18:04, by Alex M.
this is not a very durable troll
it so happens
that it's also the code for all NPCs in call of duty
 
7:40 AM
@ElimGarak yes try this
 
The band behind the OST :D
 
y
 
Xeo
mornin
 
morning
 
Ell
7:55 AM
@AngryLettuce I wish you didn't have to name arguments
and instead could take the argument with type something
idk how it'd work
 
@Xeo See @ElimGarak? Right on schedule.
 
Xeo
?
 
@Ell it wouldn't as long as you imply that what you take is the combination of both
 
Nothin'.~
 
Ell
return @Price * @Quantity
 
7:58 AM
what if you have two arguments of type Price :P
 
Ell
then you name them :P
 
you can use things like arg1, arg2 to refer to arguments I guess
but names are better in that case
otherwise it's confusing
use a language with type deduction for params and you're golden
alternatively one that separates the signature from the bodies
as seen in haskell
 
Wish argument packs had their own type
ie typeof(argsof(std::max))
or something
 
void RunTests() {
try {
Foo();
} catch (const auto & ex) {
std::cout << "It works!" << std::endl;
}
}

error: 'auto' parameter not permitted in this context
=(
whats the reason behind that?
 
hello everyone
 
8:08 AM
not to allow auto here?
 
Xeo
auto has to statically resolve to a type
It's not dynamic typing, and since you can throw whatever from Foo, it just doesn't make sense.
 
Every day in the Lounge, someone new manages to misunderstand auto.
 
@Xeo ok. thanks for explanation)
'the sh*t happens'
 
@ElimGarak c++ should've just been dynamically typed
 
8:17 AM
May I ask a completely newbie question here?
What is the difference between: "char filename" and "char filename"?
 
I have a function in an anonymous namespace that clashes with a C function, wat do
aghhhhhh
 
oh it doesn't write stars
 
@Käsebrot use backticks to format code `
 
morning
hello @nick :)
 
What is the difference between: "^char *filename^" and "char filename"?
 
8:20 AM
^_^
 
What is the difference between: "^char filename^" and "^char filename^"?
 
I said backticks
````````````````
 
:DD
 
jesus fucking christ
 
What is the difference between: "char* filename" and "char *filename"?
 
8:21 AM
none
 
no difference
 
all that for that
 
kk
 
moving on swiftly
 
ty
 
8:22 AM
get out
:cat:
 
who me?
 
@Käsebrot char* is a loving pointer, char * pointer suffers from domestic abuse.
2
 
user1804599
Käsebrot sounds delicious.
 
char * filename
third option
 
8:24 AM
std::string filename <---- best option
 
Xeo
std::string_view filename <---- besterer option
 
oh thats a thing already?
 
char* filename is what the tutorial said
 
wasn't it renamed to string_span or sth
the tutorial is fake and gay
do not listen to the tutorial
 
8:27 AM
Isn't string_view still experimental?
 
>2016
>opengl 3
 
> 2016
OpenGL
 
might as well write the tutorial in hieroglyphs
 
Ell
> 2016
> Not using vulkan
 
@AngryLettuce what a great idea
 
8:28 AM
you guys suck at meme arrows
 
Ell
> mfw vulkan isn't released yet
 
>2016
>not knowing how to meme arrow
 
Ell
what codepoint is meme arrow?
in lounge<chat> one will be able to greentext
 
U+1337 MEME ARROW
 
Ell
lol
 
8:29 AM
kek
 
kek
 
dysentery: infection of the intestines resulting in severe diarrhoea with the presence of blood and mucus in the faeces.
TIL
 
Dysentery By Chanel
 
so is it also blizzard in HK?
 
8:35 AM
Apparently
 
ur fake and gay
 
user1804599
TFW a person with the intellect of a brick asks you a question on the market.
 
jesus fucking christ VS being retarded
int i = {}; // initializes i to garbage
 
@ElimGarak and you're also a cow it seems
 
@AngryLettuce what version of VS is that?
@nick niiiiiiiiiiiickkkkkk
how you been?
 
8:37 AM
2013
 
@AngryLettuce oh thats oooooooooold
 
@MadameElyse Your fault for being "on the market" :)
 
op de markt?
 
Yup
 
8:38 AM
how much for 1 elyse (used)
 
amazingly there's a push at my place to use more modern technologies
 
@Ell which would you like i.imgur.com/s4FD2U9.png
@AngryLettuce light wear only
 
thats a lot of arrows
 
Also I need to struct { int i = 0; } nested = {};
jesus fucking christ
what the fuck
 
@TonyTheLion So, they switched to fax (from teletype)?
 
8:40 AM
I hate this retarded PoS
 
@sehe pretty much :P
 
Point of Sales
 
@TonyTheLion o_0 how did you only just learn that? What 1st world rock have you been living under?
 
I'll just add a helpful comment // VS is a retarded piece of shit
 
@thecoshman I'm sorry that I don't know every word in the English language. I'll do my best to correct this problem.
 
8:42 AM
So the animator requested a pair of police handcuffs to create non-retarded animations involving them in the game. Not only you can get them without being a LEA, they're also as low as 13 GBP. Looking forward to justifying that to accounting.
 
@TonyTheLion it's hardly an esoteric word
 
@thecoshman give me a break. I've heard the word, I just didn't really know what it meant.
 
@thecoshman One with a relatively low population of Shigella
 
@ElimGarak a LEA? You have to be a princess to get handcuffs? Takes a new meaning to queening I guess...
 
@thecoshman Law Enforcement Agent, bby
 
8:43 AM
@AngryLettuce #disgusted
 
@TonyTheLion I'm angry that the pun went over your head
 
Ell
@sehe any of those will do :D
 
@ElimGarak I just wanted to make the bad pun :(
I also had to walk in the rain this morning, so I'm cranky
 
@thecoshman I still love you <3
 
@TonyTheLion I still am confused by the knowledge your poo is some of the best for dorodango :\
 
8:46 AM
wat
 
Dorodango is a Japanese art form in which earth and water are molded to create a delicate shiny sphere, resembling a billiard ball. == EtymologyEdit == The phrase 泥だんご, reading dorodango, is derived from 泥 (doro どろ) literally "mud" in Japanese だんご (dango) a type of round dumpling created from pressed rice flour. == TechniqueEdit == Making the basic dorodango is a traditional pastime for school children, like the English game of conkers. More recently the process has been refined into the art of the hikaru ("shining") dorodango (光る泥だんご), which has a glossy surface. Several different techniques can...
 
TIL mud balls are considered art in Japan
what about cone-shaped pieces of poo
 
Its Japan, I guess
 
is that also art
 
Japan vOv
 
8:48 AM
because I can do those
 
cone shaped?
 
In the West we call it "pottery"
 
I think I actually want to see that :\
 
Are we really talking about shit at this hour of the day?
 
As long as it's not vagina-shaped Japan is probably cool with it
 
8:50 AM
> They used the dorodango technique to create dung spheres in order to bust the myth that one "can't polish a turd".
 
@TonyTheLion yes
but we always talk shit
 
@slaphappy lol
 
#Lounge<shit>
 
Man.
 
No manual entry for man
 
8:52 AM
Google+ web and also its photos management is getting progressively worse.
 
god lord, would it be too much to ask for this internal site to keep me logged in?
 
I dread the time when they stop supporting picasaweb.
 
@sehe all right, thanks
 
@wilx flickr was, was, the only decent thing
 
8:53 AM
@thecoshman Google+ was OK, two versions back. IMHO.
The last rewrite of both G+ stream and photos sucks.
 
Ven
yo lounge
 
@wilx I liked the model of G+, circles seemed like a nice way to manage things. You just makes these add hock groups of people you want to be able to share things with
It was just tedious to manage
 
@AndyProwl What I really should have stressed is that supernatural is not just nice for sound: it's the key (heh) enabler for "realistic" touch. The most important thing is that it grades nicely with (very) soft touch. Over the years I've become convinced that this has been the most hindering problem of any digital piano - so I find it important
 
@AngryLettuce The CLIC labs here apparently only have OpenGL 3.0, or at least that's what my Computer Graphics professor is limiting us to.
 
and no one used G+
 
8:54 AM
> ad hock
 
@thecoshman I like the circles too. I am just ranting about the web UI.
 
@sehe lol
 
Never understood the circles.
 
@sehe How could you have graduated from a kindergarten then? :)
 
@sehe Basically my main concern atm is that the keys have to be as heavy as those of a normal piano - I know they vary, but say, on average. The ones I currently have are a bit too light, and when I go play on a normal piano I realize I'm spoiled by the digital one.
 
8:57 AM
-1
Q: The most common things that confuse C++ beginners

JuniorI encountered a few things that are not so clear to me, and I want to ask you for more of them. For instance: Difference between int* p and int *p ? Most important advantages of references according to pointers? Difference in the statements Car *mycar = new Car(); and Car *mycar = new Car;

deja vu
 
Depends a bit on which instruments you play on I guess. I find myself going to lighter and lighter keys in digital as well as acoustic instruments. And strangely (?) I don't feel hampered all that much when I meet an instrument with more friction.
 
user1804599
If you're a beginner and you use new then you're already confused enough and should get a book. — Madame Elyse just now
 
I used to be bothered a bit more about those.
 
@SashaMN lol .. How to avoid being a duplicate question, mix duplicate questions!
 
Perhaps because you also practice on regular pianos from time to time, so you don't lose strength?
 
8:59 AM
@SashaMN bless god I did not write a question ^^
 

« first day (1928 days earlier)      last day (3038 days later) »