« first day (1448 days earlier)      last day (3486 days later) » 

10:00 AM
@LightnessRacesinOrbit I need popcorn?
 
@MartinJames Probably
 
@LightnessRacesinOrbit non-monadic appreciation intended
 
in Room for X'Factor and Lightness Races in Orbit, 30 secs ago, by mouse
lighting orbit, you don't look classy
awesome
 
The vocal folds, also known commonly as vocal cords or voice reeds, are composed of twin infoldings of mucous membrane stretched horizontally, from back to front, across the larynx. They vibrate, modulating the flow of air being expelled from the lungs during phonation. Open during inhalation, closed when holding one's breath, and vibrating for speech or singing (oscillating 440 times per second when singing A above middle C), the folds are controlled via the vagus nerve. They are white because of scant blood circulation. Birds do not produce vocal sounds by means of vocal folds but by oscillations...
good onebox, dat
 
10:06 AM
^ ^_ ^
 
very smooth mouse, very smooth
 
Ballsy thing to say.
 
I have small tits :c
 
...
 
user1804599
10:10 AM
I have small tits :(
 
quick question guys has anyone encountered this warning? "warning: unable to read the filters file .. the project file could not be loaded. Name cannot begin with "<" charachter ...
?
 
Nope
 
user1804599
Make sure your name does not start with a smaller than sign.
 
how useful is const after method declaration
 
well it doesnt..
 
10:11 AM
I don't use silly IDEs.
 
ahhh it in vs2013
 
@mouse What's a "method"?
 
@Sofffia I'm sorry a 'method' is a 'class member function' right? Or r u trolin? You've been trolin all mornin'.
 
The latter. Sorry.
Do you know what const after a member function declaration means?
Also technically const is part of the function declaration, but w/e.
 
It means you do not change the object in that method. Do people use that word? Method? Or is that Java jargon?
 
10:14 AM
yeah why not?
 
Then, it's useful if you want to give that guarantee.
 
you cannot call non-const methods on a const object IIRC
that's enough in the way of useful for me
 
Which is useful if you want to call such "method" on a const object.
Which is useful if you want const correctness.
 
since I pass things as const Foo& as often as possible, I need to take into consideration const methods for any type I come up with
 
And you do care about const correctness.
 
10:18 AM
Such a fabled word, 'const correctness'. My holy patron, Alex Allain, has written of it, but I'm not sure if I recall it at all.

http://www.cprogramming.com/tutorial/const_correctness.html
pls jog my memory
 
user1804599
Decorators are nice.
 
> posts link to const correctness article
> asks us to jog his memory wrt const correctness
wat
 
Alex* Allain describes things like you're a 9 year old, I feel condescended by him. Naw not true.
 
user1646075
@mouse that may just be how you expect everyone to talk to you... from experience ...
 
^ apparently there is red cross in Ukraine
 
10:23 AM
@Abyx Is it some kind of targeting system?
 
yeah, a reticle
but no, Ukrainian army is definitely not shelling the cities. it's bloody terrorists who shoot at themselves
 
can noexcept make the code slower? For example the program's inner loop calls a noexcept function repeatedly?
 
@StackedCrooked uhm... noexcept also injects a runtime check as throw() does?
 
I think it does.
 
Xeo
it should replace normal exception machinery with just std::terminate
so I don't think there's any difference
 
10:32 AM
@StackedCrooked I think with table-based EH there is no code injections
15.4/9 [except.spec]:
Whenever an exception is thrown and the search for a handler (15.3) encounters the outermost block of a function with an exception-specification that does not allow the exception, then,
— if the exception-specification is a dynamic-exception-specification, the function std::unexpected() is called (15.5.2),
— otherwise, the function std::terminate() is called
however I wonder how it works with inlining
 
In either case the compiler must insert checking code.
 
@StackedCrooked it sorta inserts try-catch, but it doesn't make code slower (in case of table-based EH, not sjlj or windows x32 SEH)
 
10:49 AM
this guy is like scott meyers but for hardware youtube.com/watch?v=DklUlve_C4Y
he talks cleanly and with a pleasant voice + puts the right amount of enthusiasm in it
he's also sorta cute
not the same hair though
 
TIL Alex is gay
don't tell Abyx
he'll accuse you of being a paedophile
 
@rightfold everyone has small tits
 
I'm not gay, I just appreciate both sexes if given the chance :D
totally different things
 
are you saying Scott Meyers is sorta cute?
 
scott meyers is sorta cute
2
 
10:53 AM
oh god
 
huh
 
well, fair enough I guess :)
 
I have to turn on a mac and build something on it
and I swear to god, I don't wanna do it
I don't know why
it's just the last thing I'd want to do today
 
you'd rather do Scott Meyers
 
10:55 AM
lol
 
I'd squeeze his hair alright
he looks like a plushie
not sure if I'd take it any farther though
 
Ell
I don't think abyx ever equated being gay to being a pedophile
 
> cprogramming.com
Holy Patron! indeed
 
@Ell I think you have an inflated idea of what constitutes logic in this room.
 
10:57 AM
there's no choice though plugs mouse into mac
I have to do this
 
Ell
Meh. I don't think instantaneous thoughts can be immoral anyhow
 
@AlexM. you pedophile
 
@Ell So non-premeditated murder is not immoral?
(if you're telekinetic with poor self-control)
 
@Nimrodshn it means: don't use invalid filename characters in your filter names (~= project folders)
 
argggh when microwave meals are delightfully presented inside the container, but you're made to stir the whole thing halfway through cooking. -.-
 
11:00 AM
you usually make a mess of your plates anyway, gauging from the few pictures I've seen
 
Ell
You don't control them after all
@lightness murder isn't a thought :P
 
Ell
Oh I just read the telekinetic bit haha
 
@sehe yep
 
11:02 AM
whoosh
 
Ell
I don't think that'd be immoral
In the same way accidentally killing someone isn't immoral
 
user1804599
what to do if logging fails :|
 
c programming is deeply immoral.
@rightfold apply for another job
 
user1804599
I could make a separate logger that logs logging failures.
 
@Ell depends. if it happens accidentally, because you chose to be in a position where this could happen by accident, ...
 
11:04 AM
@Ell well, it is
@Ell if it's literally not your fault at all then fine, but getting yourself in a position where someone is inherently at risk of death is obviously not grand
I suppose .... I'm not really sure whether I'd call it immoral exactly....
 
For example /cc LRIO
Beautiful case where "reckless disregard" would probably not be ascribed by most, but it's still not completely innocent.
 
user1646075
reckless disregard is immoral: accidental murder == manslaughter.
 
Ell
Yeah. In my opinion supposed immorality can be excused by ignorance
 
Wow. That makes slavery fine. And witch burning. (stretching it only a little)
 
user1646075
@sehe I bet the investigation will look closely at whether reasonable precautions were taken, given the danger of motor sports etc
 
user1646075
11:08 AM
My kids love to say "it was an accident!" and I tell them - an accident is when a tree falls on your head. Everything else is negligence or stupidity.
 
Ell
@sehe the slave keepers knew they were causing suffering though?
Meh its difficult. I don't know. Nobody knows.
 
@aclarke it's not about the precautions. They will be deemed reasonable by the token that similar events are allowed with similar precautions. It's just that it's very hard to prove that the driver didn't actually cause the accident by misjudging his control of the vehicle for a second. And that, in my view, constitutes guilt, even if it happens by accident
 
user1646075
@sehe i'm not saying it will be easy - that is a hairy one. Deaths at airshows are another one
 
user1646075
the standards for next year will be much tighter - if it's allowed to run again
 
user1646075
and probably insurance will pay out the price of a few human lives
 
11:13 AM
X-Drupal-Cache: MISS
Set-Cookie: language=pl; expires=Sat, 03-Oct-2015 11:08:06 GMT; path=/
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 03 Oct 2014 11:08:06 +0000
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Thanks drupal
Cache problems????? WELL I NEVER
 
user1646075
@Ell you've probably heard the phrase "ignorance of the law is no excuse". The expectation is that a reasonable person will be capable and care to make the right decisions. For all it's manifest certainty, the law is based on some fairly nebulous axioms.
 
LRiO and myself have just about had it with fucking morons today:
http://stackoverflow.com/questions/26177687/when-i-send-messages-it-wont-appear-on-other-client
 
HAHA CAPTCHA MODULE IS REQuirED BY STATIC PAGE
 
Next one gets a 'Fuck off, twat' and I get a ban.
 
Xeo
Yeah, I've also had it with "fucking morons"...
 
user1646075
11:20 AM
@Xeo the neighbours story?
 
Xeo
yes
 
user1646075
have you considered knocking on the door and asking if you can join in? maybe they'll be horrified, or maybe you'll get some fun
 
user1646075
"i thought it was a public event from all the noise"
 
@Xeo :(( I'm isolated from the morons by a blog server, so not quite so bad.
 
+1 for post-optimizer optimizer that optimizes the optimized code generated by the optimizer.Cicada 11 hours ago
lol
 
11:26 AM
@MartinJames well then. Time to stop fucking morons!
 
5
Q: When writing object-oriented code, should I always be following a design pattern?

user2030677Is there a conceivable design pattern for any object-oriented program? I ask this because recently I saw an implementation of a Door class with a Lock. It was part of a test and the answer said that the code is following the Null Object pattern: class Lock { public: virtual void close() = ...

 
while working on C++ project, an error results in www13.0zz0.com/2014/10/03/14/803747748.png
 
Drugs and guns don't go well together.
 
user1646075
your problem is using the wrong sort of metal. it will expand too much upon repeated firing
 
user1646075
also the rifling looks a bit too steep
 
11:31 AM
lol
 
So many apt responses in seconds
 
user1646075
who says the zimmer won't answer when there's piss to be taken
 
bool SomeManagerFactory::ServiceIsNullWhileTesting() const { return true; } - I wonder why people write such code =\
searchcode.com/?q=ServiceIsNullWhileTesting - oh shit it's a popular "idiom"
 
In Chromium apparently @Abyx
 
yeah
 
11:43 AM
@FredOverflow how else you shoot up heroin?
 
I wish the ternary operator would have optional parts, like (x ? x->y)and (x ?: y)
 
@Abyx like a "do nothing" option?
You can just add a semicolon IIRC
 
i.e. x ? x->y instead of x ? x->y : nullptr
 
ahh
 
and x ?: y instead of x ? nullptr : y
 
11:45 AM
Na, I wouldn't like that at all
 
there was a proposal for ?: btw
 
Ah cool, might look it up, thanks
 
@Abyx #define ?: ? nullptr : // I'm not that good with macros :P
 
Ell
@aclarke the law and morals are different things. Ignorance of the law is not am excuse but is for morals IMHO
I think it has to be for a consistent moral code
 
Oh - it's Saturday now:)
 
11:48 AM
no it isn't
 
user1646075
@MartinJames in Fiji maybe
 
@LightnessRacesinOrbit It was Friday yesterday, according to the German Loungers..
 
@MartinJames then they were wrong yesterday
 
@LightnessRacesinOrbit the hyphen translates to 'i'm going to just act like'
 
Ell
Its Friday today
 
11:49 AM
apparently "Ask later" (wrt updates) for Firefox means "ask in 2 minutes"
 
You're just jealous because you're working.
 
user1646075
@Ell nearly 10pm here - so here's the weather report for you all : warm but overcast. Cold winds.
 
FU robor...
 
@R.MartinhoFernandes well... just because you say it
 
11:51 AM
So here I am spending time and effort to write what I think is a decent answer (stackoverflow.com/a/26153404/765294) and get rewarded with a score of -1, while at least one inferior answer gets upvoted. Yes, this is pointless whining... but I'm feeling cranky... and wanted to vent somewhere :/
 
@Abyx suppose is makes sense within the context of "nullable types" if you know what I mean
 
@OMGtechy yeah, that sort of things.
 
surprisingly amusing
 
not much fun without sound
 
turn on the sound then
 
Ell
11:53 AM
Is the ternary operator overloadable?
 
@sehe pretty shit with sound
@Ell I wouldn't think so...
 
it's like how we can write tryA() || tryB() || tryC() for booleans, that ?: would allow to write auto x = tryA() ?: tryB() ?: tryC() for stuff convertible to bool
 
it just takes a boolean
 
@Ell nope
 
TIL Teyla actually looks half Kenyan IRL
did they CGI her to be white, or something??
 
11:55 AM
@LightnessRacesinOrbit maybe we all look half Kenyan :O
 
She was white?
Did you watch the whole of SGA on drugs?
 
she looked remarkably "non-ethnic" as Teyla
 
I never got into the SG tv shows, they were ok for the odd watch
 
> contributing to delinquency of a juvenile
I best get a dictionary out...
> delinquency => minor crime, especially that committed by young people.
huh?
 
12:00 PM
Yeah
 
user1804599
> Individual ØMQ sockets are not thread safe except in the case where full memory barriers are issued when migrating a socket from one thread to another.
 
lol, that artical is just a long list of other cases :P
 
user1804599
Does that include mutexes?
 
cout<<"I am an animal and I am not a terrorist. Here is my ID: "<<ID<<endl;
 
... why?
 
12:02 PM
 
user1804599
Hmm, I can just make multiple sockets per thread.
 
¬_¬ personally I'd argue it's not a question.
 
@thecoshman I think it's meant to mean "fucking up a youngster and turning him into a bad 'un"
 
user1804599
@Sofffia Tony the Liger
 
@LightnessRacesinOrbit oh right...
 
12:02 PM
@thecoshman Why not?
 
> class liger : public lion, public tiger
good to know
 
@LightnessRacesinOrbit IIRC, fully Athosian.
 
user1804599
@Sofffia title
 
Xeo
@Sofffia what the
 
@LightnessRacesinOrbit now now, I was first :P
 
Xeo
12:05 PM
> The deceleration of a class
lol
 
@Xeo ..is directly proportional to the time left before the end of the period.
 
user1804599
> /questions/26178622/can-many-threads-send-over-a-single-Ømq-socket-when-mutexes-‌​are-used
 
user1804599
Stack Exchange is very good at lowercasing text.
 
@Abyx I don't think I have ever used nullptrs.
 
@rightfold what was that supposed to be?
 
12:10 PM
@MartinJames Actually, that's not true! \o/
 
@Sofffia class zion : public zebra, public lion
 
@LightnessRacesinOrbit Oh - I forgot about the Wraith DNA:(
 
@MartinJames gutted
@FredOverflow -.-
 
@FredOverflow Zion?
 
user1804599
 
user1804599
12:11 PM
 
This Ebola thing man
It's terrible
 
I could not find documentation! — mans 5 mins ago
 
there was funny old tweet I saw earlier
Ebola in US for one day, and everyone is in face masks; Aids has been there for 50 odd years, and still people don't use condoms.
 
my dad just asked whether he would be able to register www.pe@r.com
to be fair he had enough suspicions to ask about it
you definitely get credit for that
 
Xeo
12:28 PM
@LightnessRacesinOrbit register as what?
 
@Xeo a domain name
 
Xeo
Well, it might've been a mail :P
 
only just even realised that
 
What did you discover when you read the documentation for each function? — Lightness Races in Orbit 14 mins ago
This guy has ongoing problems with that:
@mans I've linked to the documentation page for cmd.exe options. Start with the simpler things if you don't feel like reading the documentation yet. (Hint: try cmd.exe /k dir once) — sehe 3 hours ago
 
@sehe I tried to block him out of my mind :(
 
12:30 PM
I mean, look at what I told him 3 hours ago
 
I'm not going to reply to him any more
Feel a bit mean, but sometimes you have to be cruel to be kind
also I must work
 
@LightnessRacesinOrbit I don't get why you say this. Does anyone give you the impression that you should?
 
@sehe I haven't even bothered looking. OP has not read the docs,.
 
user1804599
foreach on Option[T] is nice.
 
@LightnessRacesinOrbit r.com is surely taken.
 
12:32 PM
..smells like a Google-slave command to me.
..or possibly a 'write me a unique homework answer for copy/paste'.
 
@mans Seriously. It's less than 3 hours ago that I said the exact smae thing... "I've linked to the documentation page for cmd.exe options. [...] if you don't feel like reading the documentation yet.". You can't be a programmer when you ask others to do all the reading. — sehe 11 secs ago
'kay. That should cover it
 
Weird. 2190 rep and asks that..
 
@MartinJames Asks what?
 
@LokiAstari @sehe's OP.
 
@MartinJames rep comes in different flavours
 
12:36 PM
Can I get vanilla upvotes?
 
Fresh out of stock
 
We only have rum & raisin here.
 
chum & chagrin
 
@LokiAstari huh... not seen your beedly eye for a while.
@MartinJames what a shame (╯°□°)╯︵ ┻━┻
 
Been playing on codereview.stackexchange.com
 
12:40 PM
@LokiAstari lol
 
It just graduated out of beta. Took a while. meta.codereview.stackexchange.com/questions/2545/…
 
Close votes please:
0
Q: Best cross-platform development tool

Laurent CrivelloI am looking to develop a background app for MacOS and Windows (desktop, not mobile) that is mainly doing socket communication with a php server, and some basic gfx display. What cross-platform development tool could I use ?

 
I thought something like ./foo/include/**/*.hpp would catch e.g. ./foo/include/bar/baz/qux.hpp but no luck. Am I missing something?
I shouldn’t try this on an empty stomach :s
 
Xeo
@AlexM. Btw, watchin' Hyouka now
 
cool, it has the best main characters in any anime ever if you leave chitanda out imo
 
Xeo
12:45 PM
lol
"If you leave out the main girl"
 
well out of everything I've watched
chitanda is kinda plain imo
satoshi is the best main character
 
@LokiAstari surprise, you do that often, IIRC
 
even if he's... more of a secondary main character
 
@LucDanton shopt -s globstar
Vim has is builtin
 
Who wants to claim bullshit first?
 
12:48 PM
@sehe I thought I put that in one of my rc’s… but you’re right, it’s not enabled. As I recall I’ve taken the habit of only setting it on a case basis.
Better fill up.
 
@Xeo actually, I'd go as far as to say that without satoshi's complex, oreki would also be just a smart dude and nothing more
 
christ, a 1YB disc, I find it hard to believe.
 
I think I’d rather stock up on NASes than put up with optical media ever again.
I kinda broke my system this week and I thought I could use one of my disc to do emergency stuff. That meant using my laptop optical drive, which I hadn’t used in years—and it’s one of those stupid trayless slit drive.
tl;dr dust and horrible noises
 
@thecoshman Some people would still manage to fill it with anime.
 
Xeo
s/people/Mysticials/
 
12:54 PM
@MartinJames lol
@LucDanton vOv if the write speed is good enough, I'd use one. just leave a re-writeable disc in the drive all the time.
 
@sehe SO makes me feel like I should
I think the default desired behaviour is to respond to comments on your answers, no?
 
@LucDanton tray-less drives are were so sexy
 
Thus, if I decide to ignore someone, that's a big decision for me.
 
Yeah, and I guess they made sense when we used discs on a regular basis. It always stressed me out when the thing wouldn’t puke out my disc on time though.
@thecoshman Eh, why not. We do manage to spin platters quite fast don’t we.
Having said that… that’s not the bottleneck when writing optical media is it? :Þ
 
Bytes spread like water
across my plain of domains
oh, its full again.
 
12:59 PM
@LucDanton huh... what? I said I would use it. If I wanted to back up large amounts of data, I'd be willing to wait to get in on such a small format.
 
Oh -can't count:(
 
@thecoshman Right, and I’m revising my earlier judgement.
 

« first day (1448 days earlier)      last day (3486 days later) »