« first day (1754 days earlier)      last day (3186 days later) » 

12:00 AM
@ʞɔᴉN Koalas are quite agreeable and Nooble is their king
 
When will there be a koala queen?
 
@ʞɔᴉN Good question.
 
I heard female koalas are attracted to font consistency
 
@ʞɔᴉN facepalm
 
12:32 AM
@Nooble It's not letting me connect.
 
@DonLarynx Tragedy!
 
@Xeo It can be nothing just as much as it can be very serious. I had a friend who had very strong headaches, every afternoon, for over a week (like you it seems?). He went to see the doctor who sent him to emergency to get an IRM to get checked for possible anevrisms. I'm not making fun of you. But it's your life so do as you please :)
 
@DonLarynx you got the address right? loungecpp.sehe.nl
 
7 hours ago, by Xeo
@DonLarynx Guess I'll go Thursday. Tomorrow's gamescom
 
#priorities
 
12:41 AM
lol
rip xeo
 
1:01 AM
bye!
bring back eucalyptus plz
 
@ScottW :(
 
nobble wobble
 
@ScottW noooooooooooo
 
sigh more popele being bad at cuda
 
@MaiLongdong my condolences for your sanity
 
1:08 AM
I'm wondering why you implement this in C++. Usually, performance would be the decree. I'd note that the use of multi-index containers as edge properties as well as XML serialization would run counter to such goals. I'm pretty sure the average Python solution would be faster than this contrived datastructure. — sehe 11 secs ago
@MaiLongdong lol. popele. nice find
 
@ScottW night bb
 
@DonLarynx read the sign again
 
@MaiLongdong lol
@sehe I'm connected now
 
wow. That's a breach. I'll get right to it, when I feel like it
And with that, good night from the alps
 
1:12 AM
Is restrict on a pointer-to-const useful?
 
Sure
It means that from compiler perspective there's no other pointer that points to the same object
 
But what optimization does that enable that would otherwise not be possible?
 
note But there are pointers to that pointer
 
@MaiLongdong The usual example of restrict are the functions that do summation over arguments taken to as an pointer to the first element
 
Those are usually not marked const
 
1:16 AM
The input arguments are though
 
Hmm you sure?
 
void sum(const int* a, const int* b, int* output)
Now the main issue is what does it mean when only output is marked restrict
 
Well here for example, what does restrict add? Since a and b are const, then compiler is allowed assume they won't change, no?
 
No, not really.
int a[20];
// fill the a
sum(a, a+10, a);
If you declare all the argument pointers as restrict this code is UB :P
 
oh yes right
 
1:22 AM
So compiler can assume they don't alias and can eliminate loads after every store
Now, I'm not sure what does it mean when only one of these is marked restrict.
 
I think restrict goes pair-wise, aka, "this pointer doesn't alias with any other pointer marked restrict".
 
That's what I thought, but I need to look up in the standard
 
Good morning.
Oh, we have a new guy.
Hello @MaiLongdong.
 
Yes nice to meet you @MarkGarcia
 
@MarkGarcia A who guy?
 
1:27 AM
@jaggedSpire Newb.
 
Holy shit, "formal definition of restrict" is 2 and a half pages of standard text
 
I never cared to understand restrict.
 
IIRC restrict means that it doesn’t alias, period.
 
Ah yes. From the lazy compiler chaps.
 
Oh good, someone edited my nick into their question. included change from MaiLongdong. My plan is coming to fruition.
 
1:34 AM
lmao
 
@MaiLongdong oh hey I notificated the notification. Well done, you.
 
courbette
 
1:52 AM
@LucDanton that was a good one /cc @MaiLongdong
 
2:38 AM
@MaiLongdong Hi.
Would you like to go on the Mumble server.
Of course you would.
 
no
I already cordially invited him and he cordially ignored me
that being said
@MaiLongdong JOIN MUMBLE
 
I'm at work guis
 
@MaiLongdong :(
 
I am so going to die from bird flu - I had meat between my fingers & the damn butcherbird accidentally peaked me when getting the meat from my hand & I am bleeding
 
Google uses the Google Java style guide. — Mysticial 15 secs ago
 
2:52 AM
Do you have evidence to back this audacious claim
> Edit 2, included second change from Mai Longdong, and provided complete example.
yesssss yesssssssssssss
 
Your biography will be titled "Advice from Mai Longdong: a lifetime of helping people".
2
 
My stated goal being to disseminate "Mai Longdong" everywhere
 
Thinking of a badge fit for "Mai Longdong"...
Populist
 
3:09 AM
@chmod711telkitty telkitty for #1 ridiculous claimist of the lounge
telkitty is this u
 
@MaiLongdong Is that a pun?
 
3:36 AM
@Nooble It's his name. Don't go beyond that.
 
@Nooble What pun?
 
> disseminate
 
3:53 AM
has anyone worked on pc app that uses bluetooth dongle which connects to other bt devices?
 
anyone here
 
@user14042 Nope.
@iamtery Nope.
 
@caps are you familiar with regex
 
@user14042 I think @MaiLongdong has
 
2 mins ago, by caps
@iamtery Nope.
 
> dongle
yes
 
I was wondering if it's possible to have a pc app to connect to bluetooth?
 
@user14042 Pretty sure Windows has BT APIs.
 
4:16 AM
cool man thank you
 
4:36 AM
 
4:54 AM
@MarkGarcia hahahahaha
 
@jaggedSpire night, sorry I didn't hear ya
was too busy getting destroyed in CS
@MaiLongdong it's just you and me now
now it's just you
good night
 
lol
Everyone abandoning me omg
I can feel the shadow of Luc circling around me
help
HELP
 
5:14 AM
@MaiLongdong I am in fact right here.
 
Xeo
Hi!
 
hi
this room is officially haunted by @LucDanton
 
Xeo
Suddenly a spider crawls out from under my keyboard.
I wonder how my cats missed it.
 
That's happened to me before several times.
Scares the shit out of me every time.
Especially when the fully grown daddy longlegs drop down from the the ceiling in from of my face.
 
Xeo
Yeah, it's a bit of a wtf moment. I'm not particularly scared of spiders, but it's kinda instinctive.
@Mysticial aww, daddy longlegs are cool.
 
5:20 AM
There was one time, I almost got into a traffic accident because of spider.
 
Daddy Longdongs
 
Xeo
lol
 
Apparently my dad wanted me to leave the window open in the garage to get some circulation into the car.
That was almost the biggest mistake of my life.
 
That's completely wrong, you get the car into circulation.
 
And when I was driving a fully grown daddy longleg dropped down in front of me.
 
Xeo
5:21 AM
Are you afraid of spiders, or was that more of a general freaked-the-fuck-out-because-you-weren't-expecting-this?
 
Mostly spiders, but often times, any insect that pops into view unexpectedly because my subconsciousness assumes it's a spider until I can see that it isn't.
 
Xeo
Hm. I never understood people being afraid of spiders.
Friend of mine killed a spider in her basement yesterday, because it was watching her while she was doing laundry. :<
 
It was Luc
 
@Xeo I unconditionally kill spiders in my house.
 
Xeo
5:25 AM
D:
monster
 
I don't care about the ones outside though.
 
but then what eats the mosquitoes
 
But they breed in the house. And that's a huge problem.
 
Xeo
Get a cat.
Then the spiders are toys.
 
Once I started aggressively hunting them down, and killing every single one I saw no matter where it was or now inaccessible it is, they started to appearing less frequently.
 
Xeo
5:26 AM
Free playtime without you needing to do anything!
 
@Xeo Not that easy when my dad is allergic and there's expensive equipment everywhere. (my computers, and my dad's fiber optics)
Of course, now I don't live at home anymore. So no spider problem here except for the ones on the outside window which are totally inaccessible on the 42'nd floor. But they can't get in either. So I care less.
But I bet the next time I go home, it will be crawling with spiders again since I haven't been there to kill all of them for a while.
 
Xeo
btw, how caught up on anime are you this season?
 
This season's show seems to be sucking a bit. I'm only watching like 5 things. One of them is stalled because FFF seems to have dropped it. And half the remaining ones only have horriblesubs - which I'm basically forced to watch at this point.
It's like 3/4 of the fansubbers died this season. Probably because the season simply sucks.
I'm watching Charlotte, Kuusen, Symphogear, Rokka, and Idolmaster.
And I'm also 4 episodes behind on Durarara.
I'm trying to finish Nanoha Vivid from last season, but I can't find any subbers for ep11.
Hmm... FFF seems to be doing only Blurays now.
 
Xeo
Go watch GATE and Overlord. Also Gangsta if you (watched and) liked Black Lagoon, has a similar vibe.
Gakkou Gurashi is also really good, even if it just seems like your average generic moe blob anime.
 
I've lost interest in moe blob shows without a plot. Unfortunately, despite all my efforts, I'm losing my type B trait.
 
Xeo
5:38 AM
@Mysticial Oooh, it has a plot. A good one.
Lemme just tell you that the end of the first episode reveals an important twist to the series.
 
Oh it does?
 
Xeo
ye
It's not just your average generic moe blob animu.
 
Based on the recommendations by other uses, it might actually work for me.
Okay, on my to-do list.
Oh, and it has real fansubs. That's a good sign.
 
Xeo
I'm just watching HS at this point. They're good enough as subs.
especially since the really good subbers just don't seem to be active anymore, or lag behind massively
@Mysticial Well, HS has the official subs :P
 
fansubbing is dead
 
Xeo
5:42 AM
Also
 
but funi subs are good
 
Xeo
6 mins ago, by Xeo
Gakkou Gurashi is also really good, even if it just seems like your average generic moe blob anime.
I hope you give those a try too, if you haven't already
 
@Xeo I'm already downloading it, but I won't have time to watch it until tomorrow.
Probably won't be able to much this weekend either since I'm going shopping.
 
Xeo
@Rapptz Yeah, and according to UTW, Crunchy is also not all that bad.
 
I hate that they don't do OPs and EDs.
 
5:44 AM
Aren't there websites for collaborative sub editing?
 
Actually, I shouldn't be too confident that Skylake will be out by the weekend.
 
Xeo
@Mysticial I don't care about the karaoke lyrics, tbh.
 
But I can definitely start browsing for memory and cases.
I plan on building a 64GB mATX lanbox. No more mid or full towers for anymore for me. At least not for non-high-end.
 
Crunchy subs are shit
 
Lanbox that will probably go without a real video card for a while. lol
 
5:46 AM
only funi subs are decent
 
I care less about the quality of the subs than the styling.
 
go watch commie
 
I do.
 
if you want shit tier subs with decent typesetting
lol
 
Doki had some of the better styling.
 
Xeo
5:47 AM
wasn't commie also one of those subs with gigantic file sizes?
 
you know they don't even translate properly?
like not even a little
they barely try
 
That's fine. I don't even read the subs half the time.
 
@Xeo no that's Coal
 
Xeo
Ah, I thought commie had 'em too
 
m8 I don't know how you watch anime
but there are better forms of background noise than anime
 
5:49 AM
No I don't understand Japanese, but I've seen enough Anime where I often know what the hell they're saying even without subs.
And when I do read the subs, I don't read it literally. I only use it to fill in the gaps in my understanding of what they're saying.
 
I see.
 
Xeo
alright, time to head out for GC
 
Get Leopard Raws if you don't care about the subs
they're p. decent
 
I'm not good enough to watch raws.
And btw, subbing is actually a lot harder than it seems.
 
I did sub work before SO was a thing
 
5:55 AM
There's one anime movie I have that has tracks in 5 different languages including my native Cantonese. And I tried to "sub" a minute of it to English. Miserable failure.
 
lol what did you use
 
Oh, I just tried to write English subtitles in notepad. Not in real-time, but even then. It's difficult.
 
oh that's a very casual way of doing it
 
So many expressions and phrases don't translate well. And it's hard to match the timings.
 
no one does it this way
It's just time consuming
Translating from phrase A to phrase B isn't too difficult unless you go overboard to the point it makes no sense.
But then again I know a lot of japanese phrases just from listening to them constantly. Not exactly super foreign to me.
Aegisub has gotten a lot better
 
5:58 AM
I tried to make English slubs for a minute of Arrietty from the Cantonese dub. I found that I lost so much information that it really didn't work.
Part of the reason is that my Cantonese isn't fluent. But still...
 
you might be focusing too much on literal translation
 
@Mysticial Can you read what is on my profile?
 
but I understand that it's hard to reword idioms in a way that makes sense
 
@MaiLongdong Your profile is in English. So yes.
 
@MaiLongdong "These are random symbols, actually."
nice google translate m8
must be broken chinese
 
6:00 AM
No I had my colleagues write it.
 
lol
google translate perfectly translating something is too rare for me to believe you :v
this is like catching a shiny pokemon
 
@MaiLongdong I'm probably looking at something else. I'm illiterate in Chinese.
 
Click the avatar noob
 
Oh
 
@Rapptz Well try other translators then (bing, whatever...)
 
6:02 AM
> These symbols are random, in fact.
 
I can't read it. I know like 2 of the characters and they're both sentence articles.
 
imba
 
There you go
 
is google translate actually good in Chinese
 
Lots of Chinese probably using it, so maybe.
 
6:04 AM
I miss when feeds could translate messages.
That was fun.
 
I've heard it's also accurate in Japanese
It's completely broken in Korean however
 
in PHP, Aug 21 '14 at 22:45, by Feeds
PHP sucks.
^^ I remember abusing the feed translator to do that.
 
@Rapptz Wait what?
RSS message -> English? Like that?
 
@MaiLongdong no it isn't
 
I have heard wrong
 
6:06 AM
@MaiLongdong it's ok
better than Japanese by miles
but bing translate is better for Korean
 
@MaiLongdong I can understand half that sentence once I converted it to Mandarin pingying.
If I can only find a Cantonese pingying translator...
 
google translate already BTFO'd you
step it up m8
 
It's also known to fuck up in ways that you wouldn't even know unless you had some knowledge of the language.
 
I remember it translating "I would like chicken please" into "GIVE ME A JUICY BONER" back when I was in Korea
No, just kidding.
But it wasn't very good.
It probably insulted people once or twice along the way
 
iunno man
2 translators with the same exact gist of the message.
Maybe @MaiLongdong can confirm what it actually says.
Usually when Google Translate sucks it doesn't even make sense
 
6:12 AM
It actually says that, yes.
Why would I lie anyway
Maybe ask @telsquintty
 
Hi, Lounge
How does feeds work?
 
they doesn't
 
6:28 AM
Feeds is unemployed
 
Better to be unemployed than to be JavaScript developer :'(
FUCK this web development
I hate this already
 
So, what contentious theme is on for today? :)
Morning.
 
@wilx The theme is, horror of web development.
 
pleonasm
 
@khajvah No contention there. :)
 
6:40 AM
I just hope I won't rage-quit programming after I am done with this project.
 
Whatup all
 
6:59 AM
With nested_exception you can finally get neat traces in log
 
I have this interface that takes a shared_ptr to an object. The point is to keep the object alive until the interface is done with it. But I came across a particular case where the thing calling that interface only has a unique_ptr to the object.
I don't want to change the unique_ptr to a shared_ptr because 95% of its lifetime is not shared, its just a brief amount of time when the object is passed to this interface. In this specific situation, I can guarantee that the shared_ptr is not necessary and the object will be alive when the interface needs it.
Do you think its reasonable to pass a flag to the interface that instructs it to release the pointer (effectively making the shared_ptr just a raw_ptr) or does that sound like a really dirty hack
 
I have this JavaScript objects that I have no idea where they come from.
because, JS has amazing type system
amazing, _ template generated a syntax error.
how cool is that
 
I think I'll allow the hack
I'll document it
I feel gross but... man idunno
 
Hacks are what do all the time as a JS developer
I stopped giving fuck
 
Yeah but you can always blame the language, I cant :p
 
user1804599
7:14 AM
@unordered_meow top cock kek
 
user1804599
@MarkGarcia yes.
 
user1804599
translate: donder op, idioot
 
user1804599
oh it doesn't work anymore
 
11 hours ago, by Scott W
some people find C++ a reasonable language
 
It just feels so wrong doing this:

unique_ptr<> w(...);
shared_ptr<> x(w.get()); // make sure to release this bad boy!
 
user1804599
7:22 AM
> In abstract algebra, an abelian group, also called a commutative group,
 
user1804599
> More compactly, an abelian group is a commutative group.
 
user1804599
:V
 
user1804599
THAT'S NOT MORE COMPACT IT'S MORE LETTERS
 
@Prismatic IMHO, you should use shared_ptr. IMHO this is like "a little bit pregnant."
 
@Prismatic Will this not result in a double delete? Why not w.release instead of w.get in the first place?
 
7:26 AM
@fredoverflow w is the true 'owner'. I want an interface to have a shared_ptr though because I think its better in most cases for what I'm doing
 
@Prismatic Alternatively, what about moving stuff around? Like std::shared_ptr<Thing> x(std::move(w)); pInf->call(x); w.reset(std::move(x));...if that is even viable.
 
Except I have this specific case where 'w' is guaranteed to stay alive during the time the interface uses it as 'x'
@wilx Thats a good idea but the interface will destroy the shared_ptr 'w' in a way thats not easily visible to the stuff that controls 'x'.
 
user1804599
return :: forall m a. (Applicative m) => a -> m a
 
user1804599
excellent
 
user1804599
fuck monad
 
user1804599
7:28 AM
PureScript is great.
 
The easiest thing as you mentioned would be to make 'x' a shared_ptr... but it bothers me that its for one brief 'moment' that its shared. Otherwise its unique... I kinda don't want to rewrite everything :p
 
@Prismatic How can it destroy the pointer if you still hold it in the caller?
 
It'll call release before destroying the shared_ptr
 
@Prismatic Why do you even hand out a shared_ptr and not a raw pointer or a reference?
Smart pointers are about ownership. It does not make sense to have a shared_ptr and a unique_ptr owning the same object.
 
7:31 AM
Because in most use cases, it makes sense to pass the data in as a shared_ptr to the interface. That is, usually you won't know when the interface will be done using the object and its not convenient for the caller to keep it indefinitely
 
6
Q: Dynamic Programming - Counting paths in a subway system

CSMonarchsI have a network of stations in a subway system. The number of stations, the number of tickets I can travel between stations with, and which stations are connected to each other are given in a text file as input to the program. Which stations are connected to each other are kept in a 2D boolean m...

...
 
Something about my design does seem pretty wrong though
Im going to maybe refactor it
 
RIP
 
"I like your answer and so do the others, but guess what? I'm accepting the lowest voted one LOLOLOLO"
 
refactor it prismatic
 
7:33 AM
OP sometimes is a moron
 
You can't spell dope without OP.
 
user1804599
Ugh.
 
user1804599
Number is an instance of Semiring but addition of numbers isn't associative.
 
I still do not understand why moving the pointer from one type of smart pointer to another is not an option.
 
oh god, this html generation is completely undebugable
 
user1804599
7:35 AM
0.1 + (0.2 + 0.3) == (0.1 + 0.2) + 0.3 is false.
 
user1804599
PureScript sucks.
 
6 mins ago, by elyse
PureScript is great.
 
@elyse That is FPU for you. I do not think this is exclusive to *Script.
 
Lion!!!
 
user1804599
?
 
user1804599
semiringNumber violates the law of associativity. I should call the cops.
2
 
user1804599
@fredoverflow You can't spell bukkake without u.
 
@MarcoA. Why doesn't that work
 
> cin & scanf doesn't work ? in C/C++
 
7:56 AM
I don't think coliru is interactive.
 
Ell
@prismatic I think it is the callers responsibility to keep the object alive
In the general case
 
should I call my flag "Reupload" or "ReUpload"
 

« first day (1754 days earlier)      last day (3186 days later) »