« first day (1475 days earlier)      last day (3475 days later) » 

1:00 PM
Thanks, perhaps my issue (sort of void/0 returning to the try block at the next line, not entering catch block at all) is because I'm doing something else wrong.

I assumed at the simplest form I could `throw e`, where e is a member of an enumerated type. Was that ill-founded, and I do need to do something more proper and class-based?
 
@OllieFord well even throw 42; is well-formed, but it's not advised.
 
@Abyx Hmm, so if that happened within a function called from try{ ... }, the following catch(42){} should catch it? That's not what's happening :p
Can try/catch blocks be nested? Perhaps the problem came there. Nope, SO says yes..
 
Xeo
SSCCE or bust
 
@Xeo what size bust?
 
Yeah I will, it's not even close to short at the moment, I'll finish what I'm doing and then have a crack it - but hopefully I'll learn what went wrong in the process and it won't be necessary. Seems weird though - basically it pops right back from however deep to the try block, but execution continues at the following line.
 
1:11 PM
note that this is purely for academical purposes
please don't throw ints
@R.MartinhoFernandes Do you ever wish they made noexcept automatic?
 
right, if you throw something, at least give it a descriptive name
e.g. throw "shit";
 
@nightcracker I know, I planned to expand on it after getting it working. Starting from the enum because that's what I have from the (C-compatible) API.
 
throw 'shit'; also works btw
 
it's @rightføld!
 
1:17 PM
it's @BartekBanachewicz!
 
yeah, it's me
I was driving a car and hadn't killed anyone yet
 
Xeo
> hadn't
uh-oh
 
fuck english grammar
I think past simple + past perfect is what I wanted to say, but heck I never know for sure
 
@BartekBanachewicz the joys of a language that confuses its own speakers
 
you know
it's a pity that Blancpain Series are ceased during the winter
 
1:26 PM
> yet
 
1:38 PM
@OllieFord catch(42) shouldn't even compile. You need something like catch (int x) { whatever(x); }, and inside that catch block, x would be set to 42 if it was entered because of a throw 42; or something similar.
 
@JerryCoffin I already showed this coliru.stacked-crooked.com/a/215bdf6cb1790c6a
@Rapptz in the format spec, why do you call the flags "verb"s? Why not "flag"?
 
@nightcracker Oops--yup. Sorry--I just got up and am reading forward through the transcript.
 
@JerryCoffin don't you mean catch(22)?
 
doormat spec
 
catch(const T& the_meaning_of_life_the_universe_and_everything)
 
1:41 PM
@thecoshman nope. As noted, I'm still waking up, so I'm not that cynical yet. Give me 15 minutes or so though...
 
The ultimate exception.
 
@nightcracker :<
 
@JerryCoffin just lol and move on.
 
It's not the meaning.
 
@R.MartinhoFernandes :{ very dapper.
 
1:42 PM
err
I suck
botching references left and right
 
uh, when I told the store to add new headphones to the order they said the supplier will send some on Friday and I'll get the order on Monday
however 3 hours after that message my order was ready to be delivered
I hope they didn't just find some headphones someone returned or something
or worse, resealed them
 
Xeo
I wish I could actually use my headphones properly today
I can't hear anything on my right ear right now :<
well, I can, but it's extremely quiet
 
what happened
 
Xeo
iunno
 
earwax?
 
Xeo
1:47 PM
prolly
 
you can see your general practitioner to blow it out of your ears with water
 
cotton buds
 
no
don't use cotton buds
 
I use them daily
 
it only makes it worse
 
Xeo
1:47 PM
cotton buds are not-good in this case
 
been using them since... dunno, I was born I guess
 
Xeo
they actually push that shit in further
 
you can use cotton buds and you think you're making progress because you get some earwax out
in reality you pushed the problem further in
 
and yet, I never had Xeo's problem
 
Xeo
guess I'll go see my doc tomorrow.
 
1:48 PM
@Xeo I've had this problem multiple times - put olive oil (I'm serious) in your ear and take long showers
if you've put olive oil in your ear for ~2-3 days and it's still not out you can see the doc
(and yes, your doc will tell you to use olive oil to soften up the wax if you didn't do it already)
 
Xeo
Hm, I don't have olive oil at home atm
damn, this is annoying
usually this lets up after an hour or two
 
I don't know if other oil is replaceable for it
 
Xeo
but it's been this way for over 6 now
 
I wouldn't take chances with it
I know olive oil is safe, but I wouldn't put other random liquids in my ear
 
Xeo
water? :P
 
1:51 PM
what if the water is gasp impure
 
Xeo
though I have to say, it's increadible just how much worse your hearing gets if even one ear is blocked
 
@Xeo the oil softens the wax, I think it repels water, but I'm just talking conjectures here
 
@Xeo it's the reason people throw away headphones for which only the left speaker works
like I did yesterday
 
superuser.com/q/833589/124004
I think the person who first answered misunderstood my question. I need to be able to reserve a Windows 7 machine automatically (allow access to a single domain user while disabling access for other domain users, say from 3 pm to 4 pm). What would be a better forum to ask this?
 
Xeo
1:52 PM
eh, I usually hear music with just my left ear
 
@Xeo: Stop waxing your ears man! :D
 
@ShashankSawant k
 
Xeo
@ShashankSawant Not-here.
 
@ShashankSawant The Javascript chat, probably
 
:) kk...
 
Alternatively, go outside, get a taxi, get in, and ask the driver
Makes as much sense as asking here
 
Cutting 100 pages from Google Docs document kills the browser
 
2:13 PM
google docs always felt clunky to me
 
they're ok
at least you can work on the same document with different people at the same time
without having to go full SCM route
 
I'm not saying it's terrible
it has its use
but it just doesn't feel right to me =/
 
google docs is great
 
Xeo
> @param blurX The amount of horizontal blur. Valid values are 0 to 255 (floating point). Values
* that are a power of 2 (such as 2, 4, 8, 16 and 32) are optimized
 
I was able to do my assignment on my phone while on the way to college
10/10 would use again
 
Xeo
2:21 PM
guess the default value
 
255?
 
Xeo
6.
 
I like 6, it's a nice number
I agree with their choice
255 is not that nice
 
Xeo
hm, TIL of with in AS3
 
fucking piece of shit nurse
 
2:32 PM
wat
 
Xeo
aw damn, of course with is not compile-time type-checked... sigh
 
my doctor wrote to make tests for HAV, HBV, HCV. The HAV was badly written and it almost seemed like HBV and the nurse told me: "oh look he wrote HBV twice" and I said "nah nah, he wrote HAV and HBV, they are liver's analisys for 3 different viruses", and she denied that. After a while she told me "ok, I'll fix it".
Today I got the results back and no HAV test was performed on the blood sample.
 
Xeo
lol
 
how dumb can a person be?
 
a lot
 
2:35 PM
HAV is the most infectious of all
 
although dumb people handling your health is really bad
 
If you have HAV you should be put in quarantine for ~40 days and this piece of shit nurse just delayed my diagnosis because she read a B for an A.
 
is HAV like HIV?
 
no, it's the only one of the three "easily" curable
but it's highly infectious
 
2:38 PM
oh ok, but I guess it's in the same "family"
 
if by family you mean virus, then yes
but it's something different
 
> Hepatitis A virus
 
in fact if you haven't already you should do a test too
 
ok, I did not know it's hepatitis
 
I did HIV tests yesterday. I don't know the results yet. It's not a nice feeling.
 
2:39 PM
an advantage of being me is that you can't be put in a situation to get HIV
 
How does one become you?
 
don't interact with anything that has any chance of being a human, unless you're at work and need to answer or ask questions
easy to get into, hard to master
(disclaimer: I'm a guru)
 
but that means I could rape a cow. What if it's infected?
 
ew, why would you rape cows
 
just to demonstrate your definition is imprecise
(it's the Lounge isn't it?)
 
2:44 PM
thank you
 
lol
 
s/anything that has any chance of being human/anything that carries the virus/
 
much better
 
a colleague started telling me about random stuff he found some days ago
do people not realize how exhausting they can be :<
I wanted to get code done, but I had to divide my attention and also process his chatter
which was uninteresting to say the least
 
annoying people tend to not realize that they are being annoying
otherwise they wouldn't be annoying in the first place unless there's a real need
 
2:48 PM
I kinda try to give signals that I can't listen anymore; like, I really can't listen anymore, trying to listen more becomes an effort similar to... climbing a lot of stairs
but no chance
they have to tell me the stuff
 
@AlexM. Does he have pointy hair?
 
it's worse when they also expect an answer :(
@MartinJames uh, no I don't think so
 
@AlexM. the only way out is to be really unpleasant, but I understand one cannot always afford that
At work on the other hand it's easy
You can say that you have important matters to take care of
In normal life it's much harder, because you have to invent excuses
 
Work from home - problem solved
 
You can't work all the time
 
2:51 PM
@AndyProwl it's a bit hard since we're on the same team and technically he's seated next to me
and he's also the lead programmer
 
@AlexM. What I did was to make my own office on the factory roof, underneath the aircon ducting. Nobody bothered me up there. It was OK except when very windy, whereupon my paper specs would end up on the car park.
 
@AlexM. I totally understand you
 
@MartinJames lol
 
IMO people who regularly don't even think about whether they are bothering you, or just decide they aren't and you should listen to them for your own good, just deserve an unpleasant reaction.
Being able to give one is harder than saying it, though
 
@AlexM. It was great while it lasted. There were power points on the roof and I had lights, a desk, (OK, fold-up picnic table), two phone lines and net connection. I was eventually rumbled by security and had to dismantle my open-plan office:((
 
2:56 PM
A boss of mine once asked me how things were getting along, in the office, and I just said "Its going shit" really loud so the entire office heard. His facial expression was priceless.
 
I just drop the generic "things are going well" all the time
and then adjust estimates
@MartinJames I wonder if I could pull off something like that
"yeah, we have 500 people taking 3 stories of this building... and a guy in the attic"
 
If it's going shit, I say it's going shit
What's important is to be objective
 
"we don't talk to the guy in the attic"
 
I wasn't lying, it was going shit at the time
 
sure
 
2:58 PM
I don't think he expected that answer
because its very unBritish to say that
 
@AlexM. I had some amount of freedom because I had to do RF surveys from the roof, so I got the key to the access ladder:)
 
meh for me "how are things going?" really means "when will this be done?"
 
that's the meaning yes
I really hate that question though
 
@StackedCrooked I saw a video presenting them in boost and now it's clearer
it's genius, I need to use this shit
although I'll probably replace it with something else later
that usually happens, I learn of something new, use it everywhere
and once I get better at it I go back and see that it was probably not the right choice where I put it
so yeah
neat, next on the list is Ubisoft's cppcon video
my body is ready for the singletons
 
I prefer quantumtons: you can not simultaneously know the address of an instance as well as its value
this is due to the Heisenbug unaddressability principle
 
The Tsar Tank (Russian: Царь-танк), also known as the Netopyr' (Нетопырь) which stands for pipistrellus (a genus of bat) or Lebedenko Tank (танк Лебеденко), was an unusual Russian armoured vehicle developed by Nikolai Lebedenko (Николай Лебеденко), Nikolai Zhukovsky (Николай Жуковский), Boris Stechkin (Борис Стечкин), and Alexander Mikulin (Александр Микулин) from 1914 onwards. The project was scrapped after initial tests deemed the vehicle to be underpowered and vulnerable to artillery fire. It differed from modern tanks in that it did not use caterpillar tracks—rather, it used a tricycle design...
 
@AlexM. they are very nice, but also very blocking (until we have .then)
 
3:45 PM
Here's a good question for a change:
http://stackoverflow.com/questions/26656930/array-in-c-language-using-binary-and-linear-search
6
 
3:55 PM
the lounge died
is everybody actually working?
 
(╯°□°)╯︵ uoıʇsǝnb sıɥʇ — Alex M. 1 min ago
the font is messed up for me though :(
 
uuuuuugh can't specify port in resolv.conf
 
@TonyTheLion Yeah, but they suck.
 
4:20 PM
I'm not working. I changed my main Windows a/c password and forgot it. I'm now an ordinary user on a test a/c :((( Mwwahhhhh!
 
I'll get a big burger once I leave work
one of those sold in random shawarma stores
 
@TonyTheLion I taught C for 6 hours today. Does that count as work?
 
yea
but counts more as torture to me
 
huge bun, cheese, beef, sweetcorn, salad, cucumbers, peppers, garlic mayo, ketchup
so goood jesus I want it NOW
 
4:22 PM
I've got nothing. No permissions, no source, no compiler, no work, no nuthinn... .. .
 
o_0 so erm... this is something I've never seen before. Base class has a doThing(T type) the derived class overrides this, but in it's context 'longType' would make more sense... now, rather than changing the name of parameter, it leaves it as the default 'type' and assigns it to a new variable 'longType'
 
> Java
enough said
 
@TonyTheLion Who said that?
 
He works in Java
so I did, I quoted myself
 
4:39 PM
@MartinJames I hate when that happens
 
@Mgetz Yeah. I've got a backup of everything except that:(
 
This question gets props... if only for the title alone
7
Q: How should I make curry?

YakkIn C++14, what is a good way to curry functions or function objects? In particular, I have an overloaded function foo with some random number of overloads: some overloads may be found via ADL, others may be defined in a myriad of places. I have a helper object: static struct { template<class...

 
5:02 PM
god, how I hate comments like
//Hides the view.
void HideView();
it's like you take perfectly fine code
and piss over it
comments are so ugly, but they're twice as ugly if used that way
 
5:26 PM
I feel dumb for not knowing that ebola doesn't kill everyone it infects skeptics.stackexchange.com/questions/23619/…
 
5:37 PM
lounge is so ded
 
/lounge
 
we are very low at messages today
1.1K as opposed to an average of 1.9K
tabs vs spaces GO
 
I could have sworn the number was lower
 
@Jefffrey I no longer work at the place where 3 spaces was the standard. That makes me happy.
 
are you serious? 3 spaces was the standard?
 
5:41 PM
@AlexM. it could be worse, I have a friend that works for a company that makes voting systems. They are legally required to comment EVERY line
 
I like where I work
everyone listened to me when I gave suggestions for the improvement of everyone's work, and they're asking for more
at the previous workplace I was silenced every time
> legally required to comment
lol
 
@Mgetz that can't be right
 
"Freeze, this is the code police. You are under arrest for not commenting a line of code."
2
 
@aclarke unlikely
 
@AlexM. their belgrade office wrote a script to do it for them
@Jefffrey the rules are written by people that have no understanding of code or computers
 
5:42 PM
how can you comment every line and have a working program?
if literally every line is commented then there's 100% comments - 0% code
at that point you can just have
// fuck da police
or something
 
@Jefffrey is it not 50% 50% actually?
 
@AlexM. that would be "every line of code must be commented (with 1 line of comment)"
> They are legally required to comment EVERY line
 
you mean to comment out?
//int a; <--- commented out
 
I mean that every line is a comment
 
int a; //a is an int <---- commented line
 
5:45 PM
oh right
I was being intentionally pedantic, but apparently I fail at that too
 
I kinda got what you wanted to say towards the end but I wanted to be sure
anyway, almost 20
time to go home
and get that burger
 
When do you start?
 
start wut?
 
Work
 
somewhere in the interval (11:30, 12:30)
 
5:48 PM
At what time I mean.
 
today I arrived at 12:05 I think
 
@Mgetz that's bad. Because commenting every lines is about the poorest method one can think of. Unless you're writing hex assembly instruction. Even then, actually
 
8 hours straight?
 
yeah, I don't take lunch breaks
 
So you eat before 12?
 
5:49 PM
I eat stuff from the vending machine and take a walk around the office
 
That's quite early.
ow
 
sometimes I order food with the guys
 
@sehe apparently in most cases you can get it minorly relaxed, but it still stands. The election authorities want to basically be able to read the code via comments. (No AFAIK they don't actually really verify that the comments and code match up)
 
12-20 is like my dream work interval
 
last time there was a 1+1 offer for pizza so I paired with a colleague
 
5:50 PM
even 11-12/13-20 would be good
as long as I don't have to wake up before 10
 
Congratulations!!! You've just won stack-overflow championship title for the longest copy-paste of the year. Your extreme effort is well appreciated. Please stand by while our secret neural-network-machine-learning algorithm is generating an automatic answer to your question... Ooops, it is generating automatic down-votes instead, something must be wrong with it! — barak manos 2 hours ago
hehe
@Mgetz if they match up, then by definition that's useless
 
@Jefffrey well the general idea here is to be around when you're needed; the library I maintain isn't that critical so support requests can wait at least a day no problems
which means I can take them on at any time
 
If you're gonna comment each line, at least make it add value :)
 
@AlexM. I like your job.
 
also people seem to like holding conferences later in the day, so there was never an issue with me not being able to attend
 
5:52 PM
well payed?
 
probably because of the timezones of the participants, one critical participant is from Canada and I believe right now it's 14:00 there
 
user1804599
Do cucumbers work well as dildos?
 
@Jefffrey I guess it's like any other dev position at a game company, I dunno
I'm happy with it
 
I'm happy for you
 
doesn't Gameloft have any studios in Italy? I think it's the same situation anywhere around the world
no clue
you don't have to work on the games themselves if you value stuff like code quality
 
5:56 PM
I'm searching
C++?
 
yep
there's the libraries & tools side where I work, and people here are very open to stuff like code quality, unit testing and so on (also the only people open to switching to C++11)
(the programmers working on the games themselves don't want C++11)
back in some half an hour, cya :D
 
bye :)
> online programming
sounds cool
nope, no italy
 

« first day (1475 days earlier)      last day (3475 days later) »