« first day (1474 days earlier)      last day (3489 days later) » 

7:02 PM
wish today was Friday
but not even tomorrow will be Friday
noo.
 
Past Me is an irresponsible ass.
Fuck you, Past Me.
 
@R.MartinhoFernandes What happened?
 
I wish I could slap you silly and drag your sorry ass to the doctor, you stupid fuck.
 
@R.MartinhoFernandes I wanted to make a joke about Futures and Promises but I don't know how they work
 
@bamboon Don't mind me. It's just pain-induced anger.
 
7:06 PM
did the doctor have any clue about your problem's cause?
 
We'll have the blood test results tomorrow, I think.
 
it sort of reminds me of Puppy's
 
@R.MartinhoFernandes You reallly got me confused, now.
 
I'm sick and right now going through a particularly strong episode of stomach pain.
There's no one left in the office for me to punch.
That came out wrong.
 
@R.MartinhoFernandes Doesn't sound good. Get well soon!
 
7:08 PM
dumb question maybe, but you know for sure it's not appendicitis, right?
 
@AlexM. std::future can only done one thing: waiting for the result. std::promise can do two things: getting a std::future and setting the result..
 
IIRC appendicitis causes pain and vomiting
 
Not for months.
Does it?
 
I don't know, depends on how fast the inflammation happens?
 
> Appendicitis (also called epityphlitis) is inflammation of the appendix and is a surgical emergency.
 
7:09 PM
@AlexM. no need to worry about that. if it's appendicitis he won't be able to not call a doctor.
 
Yeah, surgical emergency doesn't really strike me as lasting, scratch that, years.
 
@R.MartinhoFernandes wait till you see future you!
 
He's just an angry old man blaming Past Me all the time. Whiny bitch.
 
Xeo
lolz. I just got a message on Xing from these guys
 
@R.MartinhoFernandes oh god! puppy is contagious!
 
7:11 PM
so you ARE future you already
 
@R.MartinhoFernandes We told you!
 
@R.MartinhoFernandes It can do. It can sorta grumble on for ages. If it gets acute, then yes, you're in big trouble without immediate surgery.
 
@thecoshman yeah that's the thing I thought of too
I think it's puppy's syndrome
 
18
Q: Is it safe to move a file that's being appended to?

FluffyI have a node.js process that uses fs.appendFile to add lines to file.log. Only complete lines of about 40 chars per lines are appended, e.g. calls are like fs.appendFile("start-end"), not 2 calls like fs.appendFile("start-") and fs.appendFile("end"). If I move this file to file2.log can I be sur...

Now this is an interesting question.
I often wondered about that.
 
@AlexM. Dunno, puppy's symptoms seemed to have a strong correlation with ingesting food. Except for the past two weeks mine were mostly correlated with waking up.
 
7:13 PM
@StackedCrooked depends on OS, and file API
 
But I suppose a basic understanding of inodes would eliminate questions like this.
@thecoshman It's from the Unix & Linux Se. So that limits the choices.
 
@StackedCrooked does indeed
 
But I suppose a basic understanding of inodes (which I don't have) would eliminate questions like this.
 
@AlexM. Also, this is clearly in the stomach.
 
I've never had that concern. Since all my logging is threaded off, any kind of file move, or copy, operation is merely an extra request in the log queue that will be executed safely.
 
7:14 PM
Or whereabouts.
Definitely not the intestines.
 
no clue then :( I usually get really bad episodes of stomach ache but that happens after I eat certain stuffs
having it for years seems weird
 
@AlexM. I get that with Marstons Pedigree.
 
ooh, now you got me curious
I drank Marston's Oyster Stout two days ago
I wonder if they have the other one at Auchan
 
> Early in the morning stomach aches often are form gastritis or reflux, whose symptoms are typically worse on an empty stomach when you haven't eaten all night.
 
> Common causes of gastritis are excessive alcohol consumption
 
7:21 PM
This is getting interesting.
 
user1804599
@StackedCrooked eat while asleep!
 
Distributed systems, don't read the literature. Most of it is outdated and unimaginiive. Invent and reinvent. The field is fertile. Really.
lol
 
user1804599
@TonyTheLion Bender.
 
@MartinJames if you wrap everything behind some abstraction, nothing is a problem.
@TonyTheLion oh lack of it...
 
> or prolonged use of nonsteroidal anti-inflammatory drugs (also known as NSAIDs) such as aspirin or ibuprofen
 
user1804599
7:22 PM
NS is inderdaad AIDS
 
@rightføld Yeah that's what I do and I never have belly aches in the morning.
but maybe that's because of the morphine
 
user1804599
I want to make a program with Clojure server-side and ClojureScript client-side.
 
node.clj
 
@rightføld I just don't want to do client-side code
 
I think real programmers should never have to write client-side code.
Let the bad programmers do that.
 
user1804599
7:26 PM
The interns.
 
user1804599
Let them do the CRUD too.
 
They can take care of the CSS.
 
¬_¬ I think my ISP is only letting speedtest.net get through at my proper speeds.
 
And I will wow at their code so they feel encouraged.
 
user1804599
7:27 PM
@thecoshman lol @ that being legal
 
user1804599
@StackedCrooked what if they fuck up?
 
@rightføld lol @ proving it.
 
@rightføld File a bug and forget about it.
Not my problem.
 
what's some other speedtesting site?
 
speedtest picks an optimal server
Real scenarios are usually way different
 
7:28 PM
@CatPlusPlus youtube can't be that shit.
 
user1804599
lol
 
normally 1080 streams just fine, some times I struggle to play 320
 
user1804599
we pay for 40Mb/s and speedtest.net says I have 50Mb/s.
 
YT is a combination of crappy network and crappy player that can't handle network issues very well
 
user1804599
50Mb/s download, 6Mb/s upload top kek
 
7:29 PM
@rightføld you are not getting what you are paying for. you should file a complaint.
 
user1804599
I get what I paid for.
 
50 != 40
Dammit.
 
user1804599
50Mb/s is a superset of 40Mb/s.
 
user1804599
If you buy two apples and you get three, you still got what you paid for.
 
@CatPlusPlus that is true :P
 
user1804599
7:30 PM
Not merely, but that doesn't matter.
 
meh, more TF2 me thinks
ergh... steam, Y U OOPDATE!
 
Oh yeah, also annoying: losing my phone kinda makes it really really hard to login to most services I use.
 
When did you lose your phone
 
Yesterday.
 
7:33 PM
@R.MartinhoFernandes ffs, fool of a took
 
fooltok
@R.MartinhoFernandes Time to bust out recovery codes
 
I don't believe in recovery codes whistles
Q_Q
 
rip
What'd you do anyway, forgot it somewhere?
 
Gotta survive on cookies.
@CatPlusPlus Why does everyone ask that? I lost it; it's gone.
 
user1804599
It lost you; you're gone.
 
7:37 PM
I check for my stuff like every 5 seconds when I'm out
 
@rightføld You suggesting that his phone deliberately tried to escape?
 
user1804599
Phone controls your life.
 
Fuck.. Where's my phone?
OK, it's was on charge on bedroom table.
 
Xeo
Aw yis, 12 bottle mead delivery get
nevermind the shitty quality
 
lol viking blood
 
Xeo
7:51 PM
It's a cherry mead with a higher percentage of alcohol than his normal one
 
I think I'll check out sake the next time I go to the ramen shop
it's a bit expensive for the quantity but hey
 
user1804599
I think it should be "whiteset" instead of "whitelist."
 
user1804599
Because duplicates and order are insignificant.
 
Mead is awesome
 
Xeo
yesh
 
7:58 PM
Haven't tried mead, but I get a feeling it's awfully sweet
 
Evening
 
fucking alcoholics in here
 
nah, doctor says I have loungitis
 
Loung<*It> =
 
it's infectious only anally
 
8:01 PM
@rightføld Today, we moved from Karel to Java. The lectures are going to be less spectacular from now on. I probably won't even bother linking them here.
 
user1804599
:c
 
On the plus side, I don't have to do slides anymore, that's someone else's job. All I do from now on is live programming.
 
Linking to messages only makes sense if you actually link to related message
fyi
 
@CatPlusPlus howdy
 
user1804599
 
user1804599
8:03 PM
Nice challenge.
 
What is JCA? What is Bouncy Castle?
 
user1804599
Cryptography libraries.
 
user1804599
Talker says those are the only libraries out there but nobody can use them.
 
:P
 
8:04 PM
And there I was hoping for a Turing-complete bouncy castle :(
 
user1804599
Where he defines "only out there" as "appear on Google page 1."
 
Google has multiple pages?
4
 
lol
 
yes
google paginates for more ads
scumbags
 
Well... they are doing the best to get rich. Can you blame them?
 
8:13 PM
kind of nope
 
@CatPlusPlus Tastes like watery honey.
 
Xeo
8:29 PM
@CatPlusPlus Not necessarily
 
user1804599
I should try Incanter.
 
@Jefffrey yes, since my life ideology doesn't include getting rich
lol
 
Hmm.. I think I'll stick to e-fags.
..though I'm sure that users would notice that the fag is front-heavy before lighting up.
 
hi
 
8:46 PM
@MartinJames I think I've seen it all, a person was drawing alternatively from a cigarette and a vape
 
@Mgetz I guess it's like tequlia chasers after Bud:)
 
9:05 PM
I wonder how far into development my classmates will realize that their planning and diagrams went to hell and can't be followed anymore
at this point I'm just sitting and waiting
 
Xeo
@nightcracker nice
 
@AlexM. They did the design documentation BEFORE the coding, testing, debugging and rewriting? :)
 
I didn't go to college yet so I can only put the pieces they show me on Facebook together
but I think the professor is forcing waterfall here
I mean it must be, it's been a month and a half since the project started and no line of code has been written
we have lots of documentation and diagrams though
oh god they're asking me to draw a diagram
I don't even
 
hmm
I made a runtime std::get for tuples - anyone got feedback? coliru.stacked-crooked.com/a/6d4230c15e961556
@Rapptz you might be interested in this as well ^
 
eh
 
9:20 PM
@AlexM. No design documentation survives contact with alpha testing.
 
what the fuck is a sequence diagram wtf
 
jesus sometimes I really think about dropping this masquerade called college
 
@AlexM. It describes the order in which the critical bugs appear.
 
lol
 
9:22 PM
@sbi so I guess your invitation to work in Berlin expired? :F
 
Xeo
@nightcracker Sucks!
 
are github avatars not showing for you guys too?
 
@Xeo how constructive :)
@Rapptz works fine
 
I'm not saying it doesn't work. I just think it's very eh.
 
@BartekBanachewicz Kinda like a statute of limitations?
 
9:23 PM
I mean the avatars
 
I prefer visitation based on index because that's usually why you need a runtime index.
Ah.
 
what do you mean visitation based on index?
 
Call a function f with a tuple element fetched at runtime as the parameter to the function.
 
it supports that?
did you read it?
 
@Cunobaros Another: I got fired today, but was prepared. After 3 weeks of pure luck, the Priests of Balance were bound to notice eventually.
 
9:24 PM
I did.
But it's complicated to do just that.
 
most of the complication comes from error checking
 
It does more than just that, and truthfully out of every case I've needed a runtime index it was just calling a function or could be done with a function and I'm not aware of any other case.
 
Xeo
@BartekBanachewicz Read context.
@nightcracker k, lemme try again - sucks!
^
 
@Xeo where's the fucking context
 
even worse
 
9:26 PM
I see one tweet that tells me nothing
 
Xeo
@BartekBanachewicz See next tweet in chain
 
@BartekBanachewicz Click the timestamp and read the thread?
 
Stupid avatars.
Why aren't they working?!
 
Xeo
@Rapptz Eh. Can easily do what you want with variant visitation afterwards in my case.
 
fucking shit
you're all fucking losers
wait that's twitter's fault
but still I got mocked and that sucks
also I'm drunk so let's learn on cosh mistakes
see you on the morrow
 
Xeo
9:28 PM
Should've paid more attention
 
@Xeo rainbows.
 
Xeo
@Rapptz eh
that sucks too - no return, and exception on OOB?
 
@Rapptz that fails when used on a tuple that contains elements that can not be passed into std::cout even if you're not visiting that element
 
Xeo
oh wait, I also throw an exception there
I swear I have a version where I return an optional
 
9:30 PM
@nightcracker Yes.
That's on purpose
Why would you pass a type that you can't stream into a streaming function?
It's like complaining std::cout << my_udt doesn't compile because you didn't overload it.
 
because you're streaming/visiting a different element of the tuple?
 
What?
So?
The context in this case is a streaming function.
If I wanted it to compile it's an easy fix.
 
let's say the first element of the tuple is of type A which can not be streamed into an ostream
but you are visiting elements 2-5
it will fail to compile even though it's well-formed and does what you want it to
 
Xeo
Ah, here's the code with optional return: coliru.stacked-crooked.com/a/91459b7c66def876
 
Why would you pass it in?
 
user1804599
9:33 PM
If you have any shape and you scale it by factor N do both the area and the circumference scale with it by factor N?
 
Also this has nothing to do with the apply implementation.
 
Xeo
@nightcracker That's a bad way to do it
 
@Rapptz because it's part of the tuple that you're visiting elements on?
 
Xeo
A visitor should properly handle all cases
 
^
 
Xeo
9:34 PM
just make a no-op case for A on the visitor vOv
(i.e., overload for it)
 
It's an easy fix but I didn't do it on purpose.
 
is that the responsibility of the visitor or the applier?
 
@nightcracker You can't pass tuples in my case.
@nightcracker The visitor.
 
Xeo
@nightcracker visitor.
 
I built it into the applier, hence the complexity
 
9:35 PM
evening nubberies and robot.
 
Xeo
That's the wrong place, though.
 
I guess I can jack it out
 
Xeo
2 mins ago, by Xeo
Ah, here's the code with optional return: http://coliru.stacked-crooked.com/a/91459b7c66def876
 
but keep it for the default getter
 
Xeo
\o/
 
9:35 PM
0
A: delete[] triggers breakpoint on return from function

Taylor BrandstetterIn transpose, you should change: matrix(k, n) = operator()(n, k); To: matrix(j, i) = operator()(i, j); You're accessing data off the end of the array M, causing heap corruption. It may be a good idea to do a bounds check in operator(), just to catch these kinds of things in the future. And...

kill it with fire please.
 
I'll pass.
I need 8 more answers for my gold badge.
 
user1804599
Hmm, I guess it goes for circles.
 
@Puppy sup nub
How's work pups?
 
I'm the nub here!
 
9:43 PM
Nothing much, on a train.
 
how boring
 
I don't like the name apply though
 
apply is indeed a shitty name
 
visit_tuple?
or tuple_visit I don't know
 
9:44 PM
Better than <*>.
 
or other suggestions?
 
@LucDanton lol
 
Im
about
 
@TonyTheLion It's OK.
 
to
lose signal
 
9:45 PM
spent three days working on something other than what I was supposed to be working on.
 
so what does this template<template<class...> class T, class... As> using invoke_t = typename T<As...>::type; actually do?
@Puppy that's the story of my life
 
unnecessary wankery
 
@TonyTheLion it's if you don't like to write typename x<bla>::type
and invoke_t<x, bla> instead
 
oh lets work on this, and maybe finish it, 5 mins later, something dies somewhere, oh fuck getting something finished, lets put out some fires
 
Why does @Xeo use template template parameters there?
 
9:46 PM
err
 
@nightcracker oh I see. Just the Xeo liking added wankery
 
I used template template parameters once, to accept a predicate template
ended up re-engineering it anyway
 
I used templates once. ONCE
 
it's totally unnecessary
better to bind at call site.
 
all we need now is template using
 
9:50 PM
I find templates at that level of wankery just confusing
 
Xeo
template<class T>
using get_variant_t = invoke_t<get_variant, gen_seq_for<T>, T>;
@Rapptz ^
 
had to use a macro
 
Xeo
Oh wait, why template template, not why the template template part is variadic...
 
@TonyTheLion Really? Cause that's ... really hardly any wankery at all.
 
9:51 PM
sorry, template using template
 
Xeo
Because I dislike the cascade of invoke_t<... stuff ... >>>>
and that contains it somewhat
 
@Puppy I'm actually referring to this whole thing
 
it's pretty low in terms of wankery
 
not a huge amount of wankery there
 
I find it hard to read and understand
 
9:52 PM
I don't know what counts as high wankery anymore.
 
user1804599
 
parsing and executing Haskell at compilation time.
 
but you guys have done waaaaaaayyyyyyyyy more templates than me
 
Xeo
@TonyTheLion You just don't do enough C++.
 
So many people making Ebola jokes in my High School that it's annoying now.
 
Xeo
9:53 PM
It's not much - some helper aliases, index sequence, a trait, and then the straigt-forward implementation + a test example
 
what's funny about ebola?
I don't mean a judgemental way
but
I honestly don't understand what's funny talking about some infection?
 
@Xeo I'm a noob when it comes to templates
 
it's about the level of "poop", "haha he said poop" humor
 
In all the C++ I've written, I've used them maybe a handful of times
and they were really simple every time
 
if you write a lot of application code then you won't see many templates
 
9:54 PM
they're most useful when you need to be maximally generic.
 
if you write a lot of library code you can potentially see a lot
 
otherwise in straight application code it's not that great.
 
I don't know, people get creative with theor wordplay...
 
user1804599
 
If I wrote that in code at work, my coworker would not be very happy
 
Xeo
9:55 PM
I'll probably write a bogged-down variant at work tomorrow :/
 
your co-worker is insufficient
 
Xeo
a degenerate, 2-case one
 
"Don't make Ebola jokes, they're sickening"
 
just use a union m8
I know I'll get flak for it
but it's the easiest way to do it if you only have 2 elements
 
@Puppy my coworker is good for the job he does, he doesn't write libraries, so doesn't really need templates to that extent
 
9:56 PM
deservedly
 
"Confucius say: Man with ebola, in deep shit"
 
@Xeo Will you have the luxury of unrestricted unions? If so, it’s not that painful.
 
unions have some of the highest UB-to-use ratios.
 
Xeo
9 hours ago, by Xeo
> error C2621: member 'a' of union 'stuff' has copy constructor
error C2621: member 'b' of union 'stuff' has copy constructor
@LucDanton No :<
 
yer fuckd
 
Xeo
9:56 PM
Yes :<
 
@TonyTheLion There's a difference between not using them and not being able to use them.
 
rip
@Puppy not in this case
i.e. irrelevant and not deservedly
 
Xeo
stupid vs2012
narf
and GCC doesn't have aligned_union
 
"Ebola jokes are so funny, they can't be contained"
 
Xeo
naaaarf
so much narf!
 
9:57 PM
@Nooble It's high-school. You were expecting?
 
@Xeo aligned_storage_t though.
 
I'm enjoying adult life far more than any part of my childhood.
 
Xeo
@LucDanton Ye, which basically means I'll craft my own aligned_union :<
 
not too hard
 
user1804599
that's what nvm
 
9:59 PM
@Puppy Sad part is, I started it. I've made my own enemy.
 
@Xeo It takes constexpr min/max functions lol.
 
@Puppy Freedom is great.
 
I’ve never felt the need to use aligned_union.
 

« first day (1474 days earlier)      last day (3489 days later) »