« first day (1360 days earlier)      last day (3580 days later) » 

12:00 PM
@LightnessRacesinOrbit The point is that most of them are rules that it would be illegal for a civilian organization to make in the first place.
 
@JerryCoffin I don't understand why that's important. You're not working for a civilian organisation. You worked for a military organisation, and flouted the rules. A civilian organisation would have different rules but I want employees who respect them, not flout them when they choose to.
 
@LightnessRacesinOrbit Then you missed the whole point of the conversation (which was about getting a civilian job after being discharged from the military).
 
No, I think you did, Jerry.
 
Sigh. Never mind.
 
@R.MartinhoFernandes Okay, so if I missed the point, what is the point?
 
12:03 PM
There was a distinction between honorable and non-honorable discharge, and there was a concern about whether employers care about the difference, not if they should care.
 
just saw the spelling "characachure" on FB -.-
 
TF is that.
"Caricature"?
 
@R.MartinhoFernandes There are actually four levels of discharge: "Hororable", "under other than honorable conditions", "bad conduct" and "dishonorable". At least from what I've seen, employers care about the two former (which are "administrative discharges") vs. the latter two (which basically mean you were discharged for committing some crime). "Under other than honorable conditions", however, generally means you broke a rule that a civilian organization couldn't make and won't care about.
 
The specific rule is not important. That a civvie organisation could not mandate it is also not important, by extension. What is important is that you (as the subject of this hypothetical scenario) broke that rule. It makes you a rule-breaker.
I'm not sure how to make this any clearer.
 
12:12 PM
12
Q: Allow room owners to suspend users from a chat room

Jon ClementsI realise that the chat system is somewhat "removed" from the network and almost "subsidiary" to it - but I feel it's a very important part of the network and contributes back to the ethos that SE stands for. Thankfully, it happens rarely, but RO's should be able to ban/suspend users from their ...

 
@LightnessRacesinOrbit You're showing your lack of experience. Part of the reason my employers pay me as much as they do is because I have a history of showing good judgement. Part of that is being able to figure out when a rule is getting in the way instead of contributing to the desired result--and when it is getting in the way, to break it (and yes, probably take some longer term action to get the rule changed to take that situation into account if it's common enough to merit that).
 
@JerryCoffin perhaps, but anything but "Honorable" is not eligible for VA or pension last I checked.
 
who did you puh-lonk?
 
Guys, I have a fundamental question :)
 
12:18 PM
Don't remember ever sending you my CV, you arrogant wankshaft.
 
@Saphire It's b)
 
I dont know if its just me, but I find it hard to calculate modulus in my head
For example 17%7
Can you do that in your head?
 
I can, but I'm a robot.
 
@Mgetz Probably not. And yes, that is significant (e.g., every house I've owned was bought with a VA loan).
 
clearly totally fundamental.
 
12:19 PM
@R.MartinhoFernandes modem config page?
@Saphire 3
 
Yes I know, but did you use a calculator?
 
@Saphire It's not too difficult, find the immediately inferior multiple of 7 and substract
 
@BartekBanachewicz You fail. It was a yes-or-no question. "3" is a wrong answer.
 
Xeo
@R.MartinhoFernandes So not gonna happen
 
@ParkYoung-Bae could you please make an example?
 
12:20 PM
@Saphire Immediate lower multiple of 7 = 14. Substract from 17 => 3
 
Does that always work?
 
What about 24%6
 
@Saphire 0
 
12:21 PM
@Saphire uhm, yes.
 
24*24 = 48. Substract 6 = 42 ??
 
@Saphire 24*24 != 48.
 
@Saphire what? the lowest multiple of 6 <= 24 is 24, 24-24 = 0
 
substract 6 as much as you can
 
12:21 PM
What is happening.
 
and the remainder is the modulo
 
I dont understand the immediate multiple thing :S
May be my English
 
You understand what modulo is?
 
Yes I do
 
@Saphire imagine it's a number ring. If you do modulo 6, it has 6 divisions. Multiplies are full circles
 
12:22 PM
I just use whatever divisibility checking technique I know and work backwards from it.
 
When you have a%b, remove b as much as you can from a. When you can't remove it anymore, there's your modulo.
 
Ah I see
 
that's why turning 768 degress left is actually turning 48 degrees
 
@BartekBanachewicz + dizziness.
 
12:23 PM
Ok, another test: 23%9
 
@Saphire 5. 23 - 18
 
@ParkYoung-Bae nananana
 
So, only one restart.
 
Wait, let me think :)
Aaaah ok
You just helped me a lot man, Thanks @ParkYoung-Bae :)
 
12:24 PM
That's my job
 
So modulo with a and b being even, always equals 0
 
> The stress induced from Bob’s genius prank probably took a few years off the life of both the amp and the guitar player while simultaneously torturing the audience with earsplitting feedback and therefore ranks as one of the most brilliant bits of performance art I’ve ever witnessed.
 
WAIT WAT
I can't browse Google Code without being logged in?
 
@Saphire no. Try 26%24
 
Hmm, depends on the project.
 
12:25 PM
= 2
Right?
 
Why the fuck do I need to login to view the msysgit repo.
 
right. but it's not 0.
 
(y)
Thanks guys
Have a nice day
 
the potato salad kickstarter is already at $8,000 :S
 
nice gravatar
 
12:30 PM
off to the doc now to ask him about my holes
5
 
I have a problem
 
wish me luk in not catching MRSA or something
 
@LightnessRacesinOrbit Hardly necessary. First, even my memory is good enough to recall how recently you were posting about finishing your degree. Second, your pure black and white approach to the question would be a dead giveaway even with no prior knowledge.
 
I have to call my boss in the middle of his vacation :|
and ask him when he's inclined to let me go
that's like the most shitty work phone call I might imagine
 
"Hey, boss? I want to know when you're inclined to let me go"
"You called me in the middle of my vacation for this? YOU'RE FIRED"
"Great success!"
 
12:33 PM
welp.
I don't want to call him :/
 
Ell
Why do you have to?
When does his vacation finish?
You could email or text him?
 
That sounds even better.
 
@BartekBanachewicz it is acceptable to send a 2 weeks notice via email
 
Ell
What are those diagrams which show messages being send to different things? Hmmm
Client              Server
  |     Message A      |
  |------------------->|
  |     Reply          |
  |<-------------------|
 
@BartekBanachewicz FWIW, I notified my previous boss that I was leaving by e-mail, but only because he was out of the city (working, though).
 
Ell
12:43 PM
^Like this?
 
^ Behold my PowerPoint voodoo!
 
Code in a powerpoint? You monster
 
yea, null checks make code so ugly
its like C all over
 
Xeo
@FredOverflow EW
that code snippet is horrible
 
@FredOverflow SESE? Shame on you.
 
12:47 PM
@Xeo That's the whole point of the slide :)
 
Early returns, noob.
 
Xeo
Not just because all the null checks / nesting
the logic itself is fucking horrid
 
Wait, it's not even SESE.
 
It's a toy example to contrast null with Optional<T>.
 
Yes, but the nesting is artificially inflated.
It dilutes the point if someone notices it.
 
12:49 PM
@R.MartinhoFernandes How so?
 
1 min ago, by R. Martinho Fernandes
Early returns, noob.
 
Ah, you mean return 0; after each (positive) null check.
But what would make the code less horrible ;)
 
Xeo
if (Occupation job = dude.occupation())
if (Person boss = job.supervisor())
if (Person dad = boss.father())
if (Occupation work = dad.occupation())
    return work.salary();
return 0;
:D
 
If Java were C++, that would work, yes :)
 
@Xeo oh god! you monster!
 
Xeo
12:51 PM
job <- occupation dude
boss <- supervisor job
dad <- father boss
work <- occupation dad
return $ salary work
looks very similar, right? :D
 
:D
 
@Xeo all those ifs that could be &&s, you monster.
 
Ell
if(!{dude.occupation(), job.supervisor(), boss.father(), dad.occupation()}.contains(null)} {
}
 
occupation >=> supervisor >=> father >=> occupation >=> (return . salary)
 
BTW I need @Borgleader
 
12:53 PM
static int supervisorsFathersSalary(Person dude)
{
    try
    {
        return dude.occupation().supervisor().father().occupation().salary();
    }
    catch (NullPointerException ignore)
    {
        return 0;
    }
}
 
-1 trollface not as ASCII art comment.
3
 
@FredOverflow or in C# 6 you can use the proposed ?. operator
 
@Mgetz Unfortunately, Java 8 isn't C# 6 either.
 
@FredOverflow seems to me you've identified your problem: Java
 
Xeo
@R.MartinhoFernandes yay fishy operators
 
12:56 PM
@Mgetz Actually, Java 8 has a nice solution:
static int supervisorsFathersSalary(Person dude)
{
    return dude.occupation()
               .flatMap(Occupation::supervisor)
               .flatMap(Person::father)
               .flatMap(Person::occupation)
               .map(Occupation::salary)
               .orElse(0);
}
 
Xeo
@SamDeHaan you can't declare variables in conjunctions
 
@FredOverflow Oh god.
 
> preg_match() returns 1 if the pattern matches given subject, 0 if it does not, or FALSE if an error occurred.
5
 
The antipatterns!
 
@Jefffrey lolwut
 
12:57 PM
@Griwes What are you talking about? This is how you deal with optional values.
 
@TonyTheLion exactly
 
later, doctor time
 
@FredOverflow Look at the code.
 
@Jefffrey lol php
 
@Griwes Looks like normal monadic code to me.
 
12:57 PM
Then compare it with the same code written using sane syntaxes (<- and >=>).
 
@Ell I could, I guess
 
Okay, the syntax is horrible.
 
Java's syntax is an antipattern.
 
What are you gonna do? Abandon Java?
 
@FredOverflow Yay!
 
12:58 PM
@Mgetz I think he should get some stuff around H/R and whatnot
 
@Griwes What
 
> var_dump((bool) array()); // bool(false)
huh?
an array with zero element evaluates to bool?
 
$ pointfree "\f g -> f >=> (return . g)"
(. (return .)) . (>=>)
$
2
Nope nope nope nope nope.
 
Yessss
@TonyTheLion Yes? That's not really that uncommon
 
@R.MartinhoFernandes lol yeah
 
1:00 PM
I don't know what pointfree is
 
With no named parameters
 
@TonyTheLion "with ."
 
@CatPlusPlus I've not heard it before
 
You can do if (vector) in C++ too
 
Xeo
@TonyTheLion It's very point-ful
 
1:01 PM
@CatPlusPlus TIL
 
@TonyTheLion It's a program that rewrites Haskell expressions in pointfree style, i.e., without points, i.e., without binding any variables. The resulting expressions tend to have no points, but lots of dots for function composition.
 
Xeo
@CatPlusPlus wut, no
vector has no explicit operator bool
 
@TonyTheLion you "take parameters" by returning a non-applied function
 
No? Hm
Anyway you can do that in many other languages
 
$ pointfree "f >=> (return . g)"
f >=> (return . g)
$
I don't understand this thing.
 
1:02 PM
@CatPlusPlus Python allows it perhaps?
 
Xeo
@R.MartinhoFernandes There were no points in the first place!
 
Yeah, makes sense.
$ pointfree "\f -> f >=> (return . g)"
(>=> (return . g))
$
Ah, this is what I wanted.
 
eh I took the blame again because some asshat did the results comparisons wrongly
 
1:03 PM
I was looking for a way to get rid of the return there.
 
> PHP's handling of strings as booleans is almost correct
 
pointfree doesn't know it. Or doesn't care. She's scary. The cold stare of those dots.
 
At least they admit that its not entirely correct
 
ironically we run so many tests that we can't even handle the sheer amounts of data of results
anyway I need someone who speaks opengl
to verify an idea
I can't ask on SO because "hey what'cha think about this" is not a valid so question format, unfortunately
 
Ah, it's flip fmap, aka <**>. There. More scary dots staring at you impassively.
occupation >=> supervisor >=> father >=> occupation <**> salary
 
1:07 PM
oh fujitsu has a new tablet
 
-1
Q: Bubble sorting in C

user3812281This is the question: Exercise 3 Malloc and sorting strings In this exercise we are going to implement an algorithm to alphabedically sort character strings. The algorithm we are using is called bubble sort, which is an easy, but inffcient sorting algorithm. The algorithm works as follows: 1 We...

 
0.98kg looks impressive
otherwise regular specs, i7/HD4400/8GB/256GB/12.5"@FHD
 
what OS?
 
fujitsu
 
@TonyTheLion whatever you want?
and there's the convertible 13.3"
this one is pretty heavy though, 1.6kg
interesting parts are 2560x1440 screen and 4G modem
 
1:11 PM
Wimp.
 
the competition is getting tough in this segment
 
That reminds me I need a replacement for my Galaxy S3.
 
@R.MartinhoFernandes N5
 
I kinda agreed to sell it to a friend and forgot I will have no phone after the transaction.
 
lol. sounds like you.
 
1:12 PM
What you laughing at.
 
Buy an old Nokia for 10€
 
sorry, "pmsl"
 
no but seriously N5 is pretty cool.
Or are you moving away from Android?
BTW @Cat my friend decided to buy this LG thing (the more expensive version) so if you're still waiting I might have some usage reports soon
 
I blew away my phone money
I'm not buying anything that expensive for at least another 3 months
 
1:14 PM
Did you at least avoid looking at the explosion?
 
you did what with it?
Music Suite: a system for creating, processing or analyzing music in Haskell http://bit.ly/1j8rNLd
 
The latest cyanogen mod update broke my camera
 
I kinda wish I could buy a smart phone with no camera.
 
@sehe ^ (twit)
@R.MartinhoFernandes why?
 
You need:
1 smartphone
1 screwdriver
 
1:15 PM
cameras are quite useful
if only for taking photos of shit written somewhere
 
@BartekBanachewicz They're crap.
And I already have a camera, so it feels wasteful.
 
@R.MartinhoFernandes you don't have to take artistic photos with them, but they serve well enough as digital scanners
Also I frequently use both cameras when Skyping
when showing something over videoconf, it's much easier with back camera usually
@R.MartinhoFernandes different purposes vOv
 
The most common use I make of my phone's camera is scanning QR codes from the desktop screen to transfer small amounts of data.
Any piece of shit from the 90s can do that.
 
Buy a BT dongle
Transferring data via QR codes seems like that old "take photo, print photo, put a photo on the desk, take a photo of the photo, put the photo of the photo on the website" thing
 
Yeah, it's rather silly.
Sometimes I type SMSes on the desktop and QR code them into the phone for sending.
 
1:20 PM
:lol:
 
hm
I will get my holiday days back
that could be a nice sum
 
@BartekBanachewicz eh?
 
@Borgleader I have a rendering idea
imagine you supply vertex data via a texture to vertex shader
then you fill an UBO with an iota of offsets
and generate a command buffer for multi_draw_indirect to keep one drawcall
benefit: using texture filtering for vertex data :)
what do you think about it?
 
I haven't used multi_draw_indirect, but the main problem i can see is texture fetches are relatively expensive no?
also youre adding a sampler to your shader, which afaik counts as a resource and therefore has a cost
 
@Borgleader well, they are more expensive for normal reads, but what about filtering?
 
Ell
moto g is good phone
 
@BartekBanachewicz Eh no clue, I haven't paid much attention to texture filters yet (though I should, eventually)
 
so this donotlink thing is pretty cool
 
@BartekBanachewicz Dunno.
 
woah, apparently airport security is getting more anal. If your devices are too flat to turn on, they don't get to fly (in the cabbin)
 
he's not very good with that
 
@BartekBanachewicz yes... some people like to rant...
 
Someone tell him about twitlonger
 
1:46 PM
@thecoshman Yeah, we had a discussion about it yesterday.
@CatPlusPlus Is that like the Finglonger? cause I don't see how that would help in this regard
 
@Puppy tl;dr planes suck just that little bit more
@CatPlusPlus fuck that, fucking write a blog post and link to that.
 
user3010322
@Puppy What does it mean to be "too flat to turn on?"
 
@thecoshman Same difference
 
user3010322
Also OH MY GOD MY THING COMPILED FOR RELEASE MODE
 
it means out of battery.
 
user3010322
1:47 PM
PRAISE THE LAWD
 
g_truc is one of those retarded geniuses
 
you push the button and nothing happens.
 
I bet he also wears two different socks
 
@Puppy That's what she said.
 
1:48 PM
@BartekBanachewicz WHAT DO YOU MEAN
 
user3010322
...
 
user3010322
.... What...
 
I wear different socks.
 
user3010322
.... What the bloody fuck....
 
@R.MartinhoFernandes high 5
 
user3010322
1:48 PM
This is... this is fucking unreal...
 
user3010322
Does release really make that much of a difference...?
 
user3010322
 
@BartekBanachewicz ... I tend to ware two socks when I wear socks o_0 doesn't every one?
 
@ThePhD your client pays you
 
1:49 PM
@LightnessRacesinOrbit s/k/c/
 
user3010322
Look at the bottom. Look at the time it took to trace that scene.
 
@ThePhD Er, of course it does.
 
@ThePhD did you profile debug builds?
 
Optimisations make things go fast. Impressive.
 
I mean I so wish to be able to laugh in your face
 
user3010322
1:49 PM
It was traced before the window even opened. o_o
 
... but I did that too once :/
 
In other news, cars go faster than bicycles.
 
holy shit!
 
user3010322
Okay. I know optimizations make things go fast.
 
you obviously don't
 
1:50 PM
clearly you didn't
 
@R.MartinhoFernandes Well done on realizing
 
out of context Tony is out of context
 
user3010322
But, like. I haven't even done any of the known optimizations that I should have done. All of my code is exceptionally lazy.
 
It's not you. It's the machine.
She said that.
 
user3010322
It can only get faster.... \o/
 
user3010322
1:51 PM
FAASTEEERR
 
user3010322
I want sub 16 ms tracing times.
 
@ThePhD lazy code is good
 
user3010322
I want breakneck speeds.
 
user3010322
I WANT IT ALLL.
 
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaand... still ICEs.
 
1:51 PM
@ThePhD ... you realise debug mode slaps in a metric but tonne of debug info, and that release mode will not, and turn on optimizations...
 
Hope was good while it lasted.
 
Hello I'm tracing 1024² rays in under a millisecond
 
@BartekBanachewicz no, good code is good :P
 
user3010322
@ParkYoung-Bae You're cheating with the GPU. D:
 
@ThePhD it's hardly possible to match GPU anyway
 
1:52 PM
@ParkYoung-Bae yeah, but you're not an idiot :P
 
@ThePhD he's not cheating, he's being, unlike you ever, reasonable
 
TheDerPhD
 
user3010322
;~;
 
Basically for some people picking right tools for the job is "cheating"
 
Oh. Wait. Wrong VS.
THERE'S STILL HOPE.
 
1:52 PM
@R.MartinhoFernandes ha ha. ha.
 
user3010322
@R.MartinhoFernandes How the hell do you install VS side-by-side with VS "14"?
 
user3010322
The last time I tried that, it kicked me out.
 
user3010322
Has a new version come out?
 
it doesn't like you.
 
@ThePhD Super Sayan Secret.
 
user3010322
1:53 PM
;~;
 
user3010322
Telll meee
 
VS has bitten me once when installing too don't worry
 
user3010322
Omg tell me!
 
Pro tip: Adding "OMG" in front of your request makes it LESS probable to be answered.
 
Ell
Meh I need help interpreting a sentence
 
user3010322
1:54 PM
@BartekBanachewicz But... but but.
 
user3010322
@Ell She wants your D.
 
@Ell okey give an AST
@ThePhD butt butt
 
Ell
> Sub: REQUIRED. Subject Identifier. A locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client, e.g., 24400320 or AItOawmwtWwcT0k51BayewNvutrJUqsvl6qs7A4. It MUST NOT exceed 255 ASCII characters in length. The sub value is a case sensitive string.
In particular the "A locally unique and never reassigned identifier within the Issuer for the End-User" bit
 
it doesn't leave the issuer software
 
Ell
Does this mean Sub will always be the same when using Google as the Authentication Server but could be different with facebook? That kind of makes sense.
Have any of you logged into stack exchange with a facebook account?
 
user3010322
1:55 PM
Hey...
 
user3010322
Wait a second. Wait a fucking second.
 
user3010322
Where's the goddamn shadow on the floor? D:
 
user3010322
This smells like an error with my box collision algorithms.
 
ITT ThePhD turned off the lights
 
user3010322
I'm really glad it builds in release, though.
 
user3010322
1:57 PM
It was ICEing before.
 
user3010322
My efforts are paying off. \o/
 
user3010322
It was also good to time things in debug mode. Exaggerated all the places where speed was an issue and allowed me to focus on the biggest problems.
 
user3010322
Now my next test is to trace something like the Stanford Bunny.
 
> declaration of 'color' hides class member
 
user3010322
Hahahaha.
 
1:59 PM
FFS they added this warning to the set we're using.
 
user3010322
Doesn't g++ error on that?
 
MSVC: still aggressively fucking up /WX
 

« first day (1360 days earlier)      last day (3580 days later) »