« first day (1763 days earlier)      last day (3184 days later) » 

Ell
11:00 AM
You clang fanboi @Columbo
 
I'm a Clang fanboi
@Columbo ugh, CamelCase
 
Ell
You clang fanboi @ʎǝɹɟɟɟǝſ
In my language everything will be snake_case
Apart from for ex Class or Reserved
 
Nice
I love your language already
Where can I read more about it?
 
Ell
Nowhere yet :(
 
One of my classes now stores a pointer to itself then proceeds to modify itself in a const method through that pointer. That feels horribly wrong.
 
Ell
11:08 AM
It sounds it too
 
Xeo
@Morwenn It is
Get a better design
 
Ell
@Morwenn why do you need the pointer
If you are doing it for access to a non const this then cant you just use const_cast?
 
Xeo
advertising const and modifying yourself is faceslap-worthy
 
@Ell That was that whole "I need to count the number of invokations of a functor, but the functors are passed by copy".
 
Ell
Oh yeah that thing
 
11:10 AM
@Xeo I also think so. I tried to add it to see and was surprised to see the code compiling.
 
user1804599
@Morwenn use mutable
 
Why not use a shared_ptr<int>?
 
@nabijaczleweli It has some overhead to solve problems I don't have. Otherwise I would probably have used that.
 
user1804599
@Morwenn use a shared pointer.
 
14
A: Redirect stdout and stderr from inside a batch file

dbenhamIt is more efficient to redirect once for the entire collection of commands than it is to redirect (with append) each individual command. It takes time to intialize the redirection. It may not be noticable for a few redirected commands, but if done in a loop with many iterations, it can become qu...

I have never seen this kind of IO redirection in batch files before, yet it works. Nice.
I knew that redirection was possible with the call.
 
11:15 AM
Is this solution supposed to be permanent, @Morw?
 
@nabijaczleweli Yeah. Implementation detail of a class that's not exposed to the end user.
Hey, it seems that initializing a reference to *this in the constructor works. I didn't even know it was legal.
 
Of course it is
 
Ell
It sounds very dodgy to me
 
To me too.
 
Ell
the object hasn't been constructed yet, so you are dereferencing a pointer to uninitialised memory, no?
 
11:19 AM
Hike is cancelled by the organizer, seems I would be doing veges, fruits & seafood shopping instead. This is terrible, I wanted to burn fat not accumulate them.
 
@Columbo That is a short one. You are lucky!
 
@Ell No idea. That's what I would think, but I guess that the compiler would prevent you to do such a thing if it was illegal?
 
 
this->nember is perfectly valid, dunno whatchu talkin' aboot
And it's a syntact. sugar for (*this).nember
 
Ell
I'm not sure. The this pointer is initialized correctly though so maybe its legal
It will never cause a segfault or anything
I'm not sure. tell me when you find out if its legal though, I'm interested
 
11:23 AM
« Please store yourself. »
 
27
Q: Is it safe to use the "this" pointer in an initialization list?

bavazaI have two classes with a parent-child relationship (the Parent class "has-a" Child class), and the Child class has a pointer back to the Parent. It would be nice to initialize the parent pointer upon construction of the child, as follows: class Child { public: Child (Parent* parnet_ptr_) : par...

doesn't say anything about legality though
 
Ell
I'm actually going to guess it is legal after thinking about it
 
I mean, at the time that the constructor runs, the memory already has to exist...right?
 
Ell
Yes
But no members are initalised
 
so don't be evil :)
 
Ell
11:26 AM
Which doesn't matter if you're just storing a reference
Ref = *ptr is basically a pointer copy isn't it?
Unless the compiler optimises things ouy
 
References are ptrs, so T& r = p; is T r = p;
Fuckin mdown
 
markup fail
...
 
Ell
The compiler can optimise out some references though can't it?
 
I just learned Markdown is markup except in the different direction
 
The compiler still allows to modify *this through the stored reference in a const method. That's really fishy.
 
11:30 AM
Yeah, constness is only skin deep
 
IIRC the standard does not really define what references are but what you can and cannot do with them.
 
Ell
I don't think its fishy
 
Refs are basically evervalid ptrs
 
Ell
Constness is semantic and not compiler enforceable in the definition of classes is it? Ie you decide what "modifying" means
Not evervalid at all :P
 
I don't know, trying to mutate a member via a const method seems fishy to me.
 
11:31 AM
So the comp. can optimiza more aggresively
 
@Morwenn a compiler even allows you to modify this, as in this++ :p
 
++stored_ref.count is totally fine in my const method. I thought that it would forbid to call non-const functions of stored_ref.
 
Ell
@Morwenn only if the member is const should the compiler prevent you from modifying it
I think I am misunderstanding the question.though maybe
 
user1804599
@nabijaczleweli no
 
user1804599
@nabijaczleweli no
 
Ell
11:33 AM
@melak47 yeah that is fishy :P
I disnt know this could be modified
how long does it last?
 
Only on VC++. And this seems to be passed by value, so it lasts for the body of the member function
 
user1804599
int* p = new int;
int& r = *p;
delete p;
// r is now a dangling reference
 
What I like with these library extensions is that even though it's "library only", some components need compiler support.
 
Well evervalid as in nonnull
 
user1804599
11:38 AM
And what optimisations would that enable?
 
Not sure, not a compiler expert
 
Well yeah, let's remove C/C++.
 
Well C/C++ would be nasal daemons because no sequence point, no?
 
user1804599
Your mother is a nasal daemon.
 
11:45 AM
( ͡~ ͜ʖ ͡°)
 
Ell
I cant decide if I want references in my Language
 
Ccr
Hi guys :)
 
@Ccr Hey :)
 
Ccr
@Morwenn how long u have been programming ?
 
@Ccr Er, I don't know... depends on what you call programming.
4 to 7 years depending on the definition of « programming ».
 
11:55 AM
@Morwenn remove C
@Ell what do you mean?
@Morwenn do you have those double chevrons on your keyboard, or you just another unicode freak?
 
@thecoshman Alt+0171 and Alt+0187.
Note that there is a good old Alt+255 for unbreakable space too.
 
@Morwenn holly crap dude! I just looked at your github profile, that picture is like it's burning into my soul (Well trying to). It's creepy as foook
 
@thecoshman You looked at my profile picture on my GitHub profile? Seriously, you're the creep :o
 
Ccr
@Morwenn wat is programming in ur defination morwenn?
 
@Morwenn It's staring back at me like a demon! I just wanted to see if you had any interesting projects but instead I get assaulted by that image!
 
12:01 PM
@Ccr Let's say that I began with TI-BASIC a long time ago and that I did some games with Game Maker. They I had classes, but I really started enjoying programming like 3 years ago when I became serious about C++.
@thecoshman I can change it.
 
lol Game Maker
 
@thecoshman Here you go (ok, not really, wait for the next cache update). The new image quality is shitty and I'm hiding my face. Better?
 
user1804599
Game Maker is nice.
 
I made a basic Zelda engine with it, but it quickly became obsolated by the Solarus engine anyway.
 
POLDER looks really cool
 
12:11 PM
POLDER is a bunch of random stuff thrown together.
Mostly reinventing the wheel.
 
Ell
There is a baby with tourettes in the quiet coach. Why
 
snack overflow downvotes are funny
 
What is the return type of iterator - iterator (random-access)?
ptrdiff_t?
 
Probably ptrdiff_t
 
std::iterator_traits<T>::difference_type
 
12:17 PM
Ah, thanks :)
 
What's a good nickname for Morwenn?
Morwy?
 
user1804599
Morwenn
 
Morry maybe
 
Some people use « Mor » but « Morwenn » is short enough. I've had « Momo » from time to time.
 
Momo is the one I prefer
 
Xeo
12:23 PM
newfold
 
user1804599
Memo
 
Hey, rightfold, what's a new paradigm or programming language that will blow my mind almost like the functional paradigm did, coming from the imperative world?
 
« new »
 
user1804599
Logic programming.
 
I've read about that already :c
 
Xeo
12:26 PM
Use it
 
Did that too
 
Good luck with PROLOG.
 
Xeo
> Good fuck - with Pro-LOG
 
@ʎǝɹɟɟɟǝſ Entropic programming.
 
12:30 PM
You won't have many more mature paradigms. Most are just additional features to known paradigms but I don't think that you will find many new things to blow your mind.
 
@Morwenn needs more paper bag :P
 
@thecoshman That's a scarf.
 
@Morwenn over your face I mean :P
 
but yes, better, I feel like I can trust my computer to not kill me now.
 
12:33 PM
Ok, back to the previous one then.
@ʎǝɹɟɟɟǝſ You can try Rebol. The language is pretty fun.
 
Ell
Man this frickin baby
I wish it would just be quiet
It's not even a baby
 
Ell
Its like a 7 year old child
 
wait... is that image you put on github slightly different form the one on SO? I just presumed it was the same at first glance... but something seems off...
 
Ell
@ʎǝɹɟɟɟǝſ on the train
 
12:40 PM
god damn kids
 
@thecoshman Can you stop?
 
what?
 
Ell
I suppose he means looking at voluntarily published images
 
I'm facepalming so hard that they'll soon have to put stitches in my face
 
@ʎǝɹɟɟɟǝſ what did you do?
 
Ell
12:41 PM
Or does he mean spelling? :P
 
I feel dizzy actually
Is this blood?
 
Ell
drink some water
 
(I'm joking)
 
... did @ʎǝɹɟɟɟǝſ come to one of the uncons? I have a feel he did...
 
Ell
Ans get some fraîche air
 
12:42 PM
I'm always there
 
@ʎǝɹɟɟɟǝſ see! this is why we can't care about each other.
 
Ell
I forgot how you spell that :V
 
"fresh"?
 
@Ell sour cream is better than "fresh" cream
 
@thecoshman I care about you :3
 
12:43 PM
( ͡~ ͜ʖ ͡°) fresh cream
 
@ʎǝɹɟɟɟǝſ no you don't. nobody cares about anybody.
@Morwenn oh you did and all lol
 
Ell
I mean the French spelling :3
Oh hey I was right.
@thecoshman its good with different stuff
 
#if !defined DISCOVERY_RADIO && !defined PORTABLE
if this proper? ^
 
Ell
no idea
Oh hey coroutine2 is out
 
1:04 PM
As well as Convert.
 
Xeo
@gtozzi defined(name)
Or just #if !name1 && !name2 - undefined names evaluate to 0.
IIRC?
 
I don't know. It produces compiler warnings so I avoid this form.
 
@Xeo that doesn't distinguish undefined from defined to zero
 
@Xeo yeah. which is kinda crappy when someone doesn't take that into account with their ifdefs :p
i.e. #if _MSC_VER < 1234 >_>
 
Xeo
heh
 
1:16 PM
@MaiLongdong "use after free is bad!" -> "use garbage collection, then you can't use it after it's deleted because it never gets deleted while you're using it!" ....eh
 
> Wake up, sheeple!
 
you mean the whole article was an elaborate ruse? who would do that?
 
1:37 PM
@TonyTheLion WELCOME BACK!
 
@EtiennedeMartel :)
 
Ell
We should write everything in coq so that we can prove nothing will error
 
user1804599
whoo my new pc works
 
In ~2 hours, I'll have to leave you for a few days, people.
Haha, I had time to read that :D
 
user1804599
:P
 
1:47 PM
Last time, « a few days » was « two years » so you can relax for a while.
 
Xeo
I can still read it. #White #OwnerPrivilege
 
Ell
@Morwenn where are you off to?
 
user1804599
cis scum
 
user1804599
die
 
@Ell A party at a friend's house that will soon be leaving for Bali and probably not coming back before a few years.
@elyse Trans scum, die too.
 
Ell
1:49 PM
Years? You just promised us otherwise :P
 
user1804599
Bah, Lounge<C++> > friends.
 
@Ell Only the future will tell us.
 
Ell
:'(
You can't party forever
 
Anyway, I stole enough code from @orlp for the time being. I need to rest a little bit.
 
#if defined X || (defined Y && defined Z)
wow, this isn't working for me
 
1:53 PM
Try parenthesis.
 
@Morwenn woah, he must like that house to move it all the way to Bali
 
parenthesis where?
 
@thecoshman He likes someone, yeah.
 
@Morwenn ¬_¬
 
@gtozzi I'm sure it won't change anything, but put parenthesis after defined anyway. It will make things clearer.
 
1:54 PM
whatup all
 
@Xeo stupid drunk me spoiling my fun
 
@Morwenn bali is dope :D
 
Xeo
51 mins ago, by Xeo
@gtozzi defined(name)
 
@Xeo #if defined (X) || (defined (Y) && defined (Z)) ?
 
user1804599
> Smoking 5 to 7 cigarettes per day can lead to greater environmental awareness and environment-friendly behavior.
 
user1804599
2:00 PM
> 52.3 percent of smokers had purchases at least one CFL in the past 5 years. Among non-smokers this percentage was 41.6.
 
vOv Hart attacks are scary things
 
Ell
Lol wow
 
Xeo
Many smokers I've seen are piece-of-shit-type people that don't care about their surroundings at all - whether that be people or the environment. Smoking in a restricted area, or littering the butts everywhere.
 
Correlation, causation, etc
 
Ell
I hate it when people smoke on the train platform
 
Xeo
2:02 PM
I generally just hate smokers.
 
@Xeo I see you also didn't get the memo about how butts don't count as littering.
@Ell it's totes outside clearly
 
I hate it when several people smoke in a small room, all windows closed, and I want to burn my clothes and scrub my skin with an iron brush to make the smell go away when I come back home.
 
@Xeo Cigarette butts on the ground are probably the most common litter I see. Disgusting.
 
Ell
Butts totes are litterig
 
People even throw them in fountains and shit... just completely unreasonable behaviour
 
Ell
2:05 PM
also platforms are enclosed often
 
Xeo
@thecoshman It's forbidden where I live.
Like, there's signs all over that say "no smoking" and special designated smoking areas and the ends of the platform
 
@Morwenn I sometimes feel like that without the smoking, but yeah
 
Ell
@thecoshman outside isn't enough, you need to be in the open air
By smoking anywhere else you are damaging other people's health
 
seriously, lack of decent method to portray sarcasm online is a serious problem
 
Xeo
/s
 
2:09 PM
Just assume everything is
 
@thecoshman pff, no it isn't
 
#if defined (X) || (defined (Y) && defined (Z))
 
Xeo* that didn't work
 
Also git gud scrub
 
2:09 PM
Pisses me of when you get a hordes of smokers stood right by doors to places
@Morwenn ... that show has run it's course <canned lols>
 
@thecoshman I do agree.
 
Ell
Or better still, don't be sarcastic
Sarcasm is boring and annoying imho
 
@Ell I've tried that
 
Ell
See, not funny.
 
Xeo
@gtozzi try Stack Overflow then.
 
Ell
2:11 PM
;)
 
<shudders>There's a guy with the most annoying laugh... that sort of bassy nazal chuckle
 
Xeo
people tell me I've got a really nasty laughter
 
Haha, I didn't read « laughter » at first sight.
 
@Xeo you have a laugh, not laughter
but I don't think so... or were you just a miserable sod at uncon?
@Morwenn speaking of uncon, you think you'll stick around for uncon in Pooland (summer 2016)?
 
Ell
Steady on matey thats a year away
 
2:18 PM
@thecoshman Seems quite far and I've only been here for a few days. I might give an answer in a few months.
 
"Ah... Ivan ist mein Mitbewohner"
Woot, worked.
Skirted the need to produce a fake ID.
 
@thecoshman I mean, I'm not even a regular.
 
Xeo
lol
gg
 
Ell
Btw robot my dates have shifted forward by one day
and also I think I'm staying in Hamburg for a day too
So ill update you of when I'm acrualyl there
 
2:21 PM
@Morwenn ... I thought you were... well, was?
@R.MartinhoFernandes I can sort of read that...
 
@thecoshman I've been there for... what? Three months a few years ago? I « know » many people in this room but it probably doesn't work the other way.
 
Ell
I kinda remember you but don't know you really
 
Xeo
@R.MartinhoFernandes Since you got that notification card...there's usually a thing saying that the original recipient can write a name on it and sign it, and then that person can get it (with their own ID). Could've just faked that in the worst case.
 
@Morwenn vOV well, it's like a year away so, no rush :P
 
Ell
I need to fix my posture
 
2:26 PM
@Ell lies
 
dear loungemen,
 
I don't like where this is going
 
If anyone cares, I just found a list of Skylake instruction latency/throughputs.
I can say that they redesigned their FPU.
 
Xeo
Why our vikings got horned helmets.
 
@Mysticial I'm interested in the iGPU ones
 
2:28 PM
I only have the CPU ones.
 
@Xeo Unless those horns are very flexible... artist did not think very hard about that one.
 
Xeo
shush, it's a joke anyways :P
dat typo
 
@Xeo Nice dodge.
 
@SamDeHaan they probably realised the kinky implications of making them soft and malleable
 
@Xeo youd never be able to get that helmet on
 
Xeo
2:31 PM
1 min ago, by Xeo
shush, it's a joke anyways :P
People, remember - facts and jokes.
 
but xeo
lol
Is your game almost done
 
> Because pointers are slow
dis gon b gud
 
@MaiLongdong ah, someone else from the Mike Acton school of Data Oriented Design (tm)
 
shakes hand
 
@MaiLongdong The integrated GPUs are pretty interesting...
 
2:38 PM
The 5th generation ones are very good
 
Ell
I wonder if Intel Integrated will overtake AMD soon
 
Xeo
@Prismatic early access in 10 days, planned release sometime in Q4
 
@Ell Haven't they already?
 
Ell
No
The APUs outperform Intel at graphics and.compute
 
Hmph.
 
Ell
2:41 PM
I'm pretty sure
 
Are there universal GPU feature access libraries?
 
Graphics libraries?
 
Open[GC]L
 
oh, right.
 
rude
 
2:43 PM
I didn't see it :(
 
Turning yourself into dumb image macros (redundant) is not recommended
 
I know ^_^
 
Yes, "dumb image macros" is a pleonasm.
 
Especially when the image quality is that shitty.
 
but dank memes
 
2:44 PM
Wooo 7+TT with Win10 support
 
Figuring out OpenCL at 2:45AM will be a challenge.
 
Get Cacadi to help you.
 
YESSS I CAN REORDER FIREFOX WINDOWS NOW
 
'The open standard for parallel programming of heterogeneous systems'.
so heterogeneous systems means different systems...
 
Behold future fab.rmf.io :D
 
Xeo
2:49 PM
I wanna remote-print on that
 
looks so sleek
 
@R.MartinhoFernandes What's that?
You let us print stuff for free :D?
 
user1804599
@R.MartinhoFernandes Raspberry Pi container has cutting hazard at bottom center.
 
user1804599
Watch out.
 
@Nooble Just a joke.
 
2:55 PM
@R.MartinhoFernandes What is that thing
 
@Prismatic Picked a black case to match.
@MaiLongdong 3D printer connected to a RPi that will soon be running a remote print server.
I need a name for this box.
 
user1804599
hipster
 
"Bob"
 
Nah. I have a list.
Vairë the Weaver seems appropriate.
 
American alphabet only
 
2:58 PM
The diaresis is not needed.
 
It's really only a reminder for poor English speakers.
Tolkien's own words. More or less.
 
Diarreaesis
 
"Vaire" is just as valid.
 
Time to find a collision-free name for my repo I will never publish anyway
 

« first day (1763 days earlier)      last day (3184 days later) »