« first day (1381 days earlier)      last day (3569 days later) » 

11:00 AM
8
Q: When are hugs acceptable in the workplace?

djechlinAs someone who has had a job before, particularly one in the office, it is my understand that physical touch is high risk. However per the votes on this answer it seems to be enthusiastically received from the workplace.SE community, so I was wondering what the more nuanced guidelines are for whe...

if everyone hugged me, I wouldn't mind
 
Just don't be the first to try it.
@AlexM. with "everyone" you mean everyone in the world?
:)
 
(everyone in the world - people I don't like) is more accurate
 
do you like me?
 
Xeo
finally 32
 
I'm not big into hugging :D
 
Xeo
11:05 AM
dang 31 took some time
 
@Xeo what game is this?
 
@StackedCrooked prolly not :v
 
@StackedCrooked hmmm
sure :D
 
Xeo
2 hours ago, by Mark Garcia
Yet another productivity killer: http://gameaboutsquares.com/
 
yay :D
 
11:07 AM
don't let @rightfold know though
 
@Xeo Damn, there goes my day.
 
@Jefffrey stop trolling him just because he's not the owner of codepad.org
 
user1804599
@AlexM. know what?
 
threesome?
 
@AlexM. This doesn't work very well if you replace "employer" with anything with importance.
 
user1804599
11:14 AM
Threesome is meh.
 
user1804599
I prefer twosome.
 
twosome sounds awesome
but atm I'm ok with handsome too
@Rapptz maybe
 
replace "employer" with "wife" or "girlfriend"
 
yeah, it doesn't work in that context
 
user1804599
@rightfold no, why u think so? I am from Germany. — Michael Boiman 1 min ago
 
user1804599
11:16 AM
lol, this guy is so clueless and confused.
 
for a company, as an employee, you're a resource, and resources are replaceable
 
Except you're wrong. You can do all those things without singletons. Did you mean you "need" global variables? Because, you know, baaaaad. — sehe 15 secs ago
Indulged
@AlexM. Partners, OTOH, are implacable
 
user1804599
Unit is my favourite singleton.
 
user1804599
Immutable singletons are great.
 
@StackedCrooked indeed :(
I'll give you the solutions to the first 16 levels for US$10
2
 
11:21 AM
I'm starting to get used to tortoisesvn's context menu
it's actually handier than anything git
(that I've used at least)
 
TIL about this
Weird thing is that it looks nicer than regular Swing.
 
dammit, just solved 17 and already can't remember how
 
user1804599
@Rapptz nah, not really.
 
it does
 
user1804599
I disagree.
 
11:27 AM
RBBBGBRBBGBBBBBBBRRGGGGBGBGBGRBGRRRRR
that can't be optimal, surely
 
user1804599
DEBUGERBBBGBRBBGBBBBBBBRRGGGGBGBGBGRBGRRRRR
 
RGBARGBARGBARGBARGBA
 
user1804599
HSV > RGB
 
user1804599
I don't think opacity should be a property of colour.
 
hue hue hue hue
 
user1804599
11:30 AM
dat pun
 
TGA sure is a simple format
RLE for compression
 
user1804599
BMP is simpler.
 
Do u mean it is better to make global variables and not to use singleton? i thought this would be the best way. — Michael Boiman 9 mins ago
 
let me check bmp
 
oh god
 
user1804599
11:31 AM
@AlexM. it's literally just width height pixel format raw pixel data.
 
so is uncompressed TGA, 18 byte header, some random shit that usually doesn't exist anyway, then raw pixel data
which may or may not be inverted
I have no idea why one would invert it
I praised tortoisesvn, 5 mins later it crashed on me
 
user1804599
 
windows 8+ is the only windows which doesn't open the task manager instantly when I require it to do so
why the hell
I want to end tortoise's process
like, NOW
 
user1804599
Windows 8 is rebellious.
 
user1804599
killall tortoise
 
11:37 AM
oh I managed to do it by clicking on X
 
@AlexM. <kbd>cntl+shift+esc</kbd> works instantly for me...
 
but the taskmanager is still nowhere to be found
@Mgetz I can't bring up task manager it seems
wtf
 
@AlexM. might be off screen for some odd reason Use win+left arrow, to see if you can't bring it back into some place viewable
 
inb4 5 task managers show up in a few minutes
 
user1804599
@AlexM. dat pun
 
11:38 AM
or just use Sysinternals Process Explorer
 
user1804599
htop
 
@Mgetz dat html
 
a task manager has appeared
 
@Jefffrey didn't know if it would work in chat, apparently not
 
now I can bring it up instantly
 
user1804599
11:41 AM
@Jefffrey dat dat
 
.dat
 
user1804599
@Mgetz Nothing works in chat. Including its users.
 
@rightfold ba dum-tish
 
* stops plate *
 
user1804599
11:43 AM
> the ballsy test framework
 
"Okay team, we need a new testing framework for our big Ruby project. What should we use?"
"We could use testicles."
 
@LightnessRacesinOrbit what about it?
 
@Jefffrey it's shit writing
 
@MichaelBoiman No, I mean that Singletons combine the badness of global variables (Action At A Distance, tight coupling) with the annoyance of unnecessary restrictions (e.g. hindering testability, hindering composition for threaded systems, solliciting initialization order fiascos or uncontrollable application shutdown etc) — sehe 1 min ago
and indulged again
 
11:47 AM
@LightnessRacesinOrbit it has already had seems ok, grammatically speaking, no?
inb4 no
 
@Jefffrey it's grammatically fine but it's like a 3 year old wrote it
 
@Jefffrey no opinon, just hearsay
 
that's just a paragraph on its own in the middle of the article
 
@sehe they're addicts, they need treatment in a proper DI clinic to help them break their addiction to global state
 
you can inject global state
 
11:49 AM
and someone missed the joke...
 
@sehe I still don't get why people love singletons
 
@LightnessRacesinOrbit did you really expect better from Marvel?
 
@ParkYoung-Bae What is there not to love about them? They absolve you from the grief of actually designing an architecture.
 
@JohanLarsson sounds like meth
Boost, we gotta talk ^
Seriously, 150MiB for just boost_log_setup ...
Also, windows, how the hell does my simple command line
> sehe@Z220-SEHE /c/WORK/pocpp/3rdparty/boost_1_55_0/stage64 $ (cd stage/lib/ && md5sum.exe *) | (cd lib/ && md5sum.exe -c) |& tee checksum.log
 
11:56 AM
@Mgetz BBC*
 
just sit there with ~2% CPU usage, when all this is sitting on my precious SSD?
 
oh hey I remember WinDirStat!
 
Xeo
nishishi /cc @LightnessRacesinOrbit
 
Xeo
The last level was fun
 
12:03 PM
I've had to put it down for a bit
still back on 18
 
@LightnessRacesinOrbit do you use something else now?
 
@sehe I don't really use anything now
 
outside alcohol
 
12:15 PM
no wonder you sound like a brainless person ... because you don't use one ...
 
user1804599
Define "best" and define "safe." Also specify which HTML library you are using. — rightfold 6 mins ago
 
user1804599
What a terrible question.
 
@Xeo good job
@LightnessRacesinOrbit lol you're still behindme
MY LAPTOP HAS SHIPPED HAVE YOU HEARD
GONNA PICK IT UP TODAAAAAAY
SOOOO HAAAPPYYYY
 
user1804599
ok
 
12:19 PM
I like how you return constant things in your functions, you should be buddies with cat
 
@chmod711telkitty what
a function that takes no parameters is a constant :v
 
@BartekBanachewicz see the useless Trivia code posted above
 
time_t GetTime();.
 
random();
 
@chmod711telkitty that's because all C# methods are implicitly virtual
 
user1804599
12:21 PM
Functions are always constants.
 
user1804599
You cannot reassign functions.
 
@BartekBanachewicz That's Java.
 
user1804599
@BartekBanachewicz That is not true.
 
user1804599
C# has explicit virtual keyword.
 
so basically the keyword 'final' does nothing?
 
12:22 PM
it does
 
user1804599
@Puppy Nope. Static methods are not implicitly virtual.
 
@rightfold oh
 
methods are implicitly non-static.
 
12:36 PM
hmm can I use set_difference to compare maps, I wonder
don't see why not
 
refactoring code is my favorite activity
it doesn't beat writing a brand new program using everything you learned that is better than what you used before
but it gets pretty close
 
user1804599
Prefactoring.
 
huh, didn't know a term existed for it
 
he just created it
 
user1804599
Me neither.
 
user1804599
12:38 PM
> Prefactoring is the application of experience to the creation of new software systems
 
user1804599
lol
 
Prefactoring is pretty similar to pattern use then
 
> "When you're abstract, be abstract all the way"
 
depends on how you define "patterns".
 
I'm only slightly abstract
slightly related:
Jul 15 at 11:07, by Cat Plus Plus
Derive, but only slightly
 
user1804599
12:41 PM
> Use the client’s language
 
I'm messaging more people looking for long-term offers
 
how long did it take them to get back to you?
 
user1804599
We had a client who used "doos," "karton," and "colli" interchangeably.
 
@Puppy Maybe write code in ways that have turned out nice in the past. My English sucks though.
 
@Puppy well so far it was just one guy :F
 
12:42 PM
no, I meant, the website operators.
 
oh. 2 days?
 
huh
wonder why they're taking so long to get back to me.
 
resend email/message
 
yeah, going to.
 
@rightfold what is that supposed to mean anyway
 
user1804599
12:45 PM
That if the client calls something X, you call it X as well.
 
oooh
 
user1804599
To minimise communication fails.
 
if I were to choose two laws I actively follow all the time while coding that never caused any damage... I'd choose the law of demeter for functions and composition > inheritance
 
where appropriate, obv
@rightfold but what do you do when for any term X, X = "tech" holds?
"We need a new tech for our tech to use to communicate with another tech."
translation: "We need a new API for our program to communicate with another program."
 
user1804599
12:47 PM
Make an agreement with the client.
 
user1804599
Do suggestions and have them accept them.
 
u so srs
 
user1804599
May 31 at 15:21, by rightfold
Understanding the customer’s workflow and giving them advice is part of the job.
 
@AlexM. Nobody follows law of demeter, and for good reason.
 
why so?
 
12:52 PM
because it's batshit insane.
not invoking methods on the return values of other methods is insanely over-restrictive and prevents code re-use.
 
shrug
I never really found a situation for me in which a.get().something() to be an improvement
but if I actually find one, I'll probably do something like
 
user1804599
a.map(...).filter(...)!
 
auto b = a.get();
b.something();
to at least make the trip into a's insides more pleasant
 
user1804599
need moar type inference
 
there, moar type inference
 
user1804599
12:56 PM
@AlexM. I only do that when it becomes unreadable otherwise.
 
user1804599
And it often doesn't.
 
hmm
it suddenly occurs to me that I was probably over-harsh on Scott.
 
@JohanLarsson that's nice. You forgot to implement the traditionally throwing Reset() method :)
 
oh, it is not needed it seems
 
wait, what happened with Scott?
 
12:59 PM
I know
 
Not sure it is nice, it is what it is
 
@Puppy I follow the law. Because laws are guidelines. And yes, it is generally iffy to traverse more than 1 level of indirection
 

« first day (1381 days earlier)      last day (3569 days later) »