« first day (1644 days earlier)      last day (3322 days later) » 

1:00 PM
@Prismatic sewer, obviously
 
@LightningRacisinObrit That's not a leading question btw. It is borne out of genuine curiousity. IME "race" is a term used with different meanings by different people.
 
new kde looks gud
https://www.youtube.com/watch?v=08oImP7PJLo
 
public boolean isInvalid( Person person ) argh isInvalid
 
whats wrong with that
 
I would normally check for validity by checking if something's valid
isValid
 
1:09 PM
oh yeah
 
if (!isInvalid) is essentially a double neg
if (!isNotInvalid) lol
 
@AlexM. Depends on context, I'd say.
 
0
Q: Simplifing validation

ashurI have the following code which is responsible for the validation in our app (just an example). Based on the particular tab where user can add person to the database we need to perform additional validation (more fields in each tab). Fields that always should be validated are name and surname ...

context
 
@Prismatic nothing really to make me reconsider it. I moved away from KDE when they started to rock the boat. Not even Unity made me go back. Gnome3 is pleasantly simpler.
 
Things like the existence of false positives and false negatives are important to decide between isValid or isInvalid.
 
1:11 PM
but isValid is the opposite of isInvalid unless there's some third undefined state
 
@AlexM. No need for that to have false positives.
 
@AlexM. That depends only on the definition of "valid" or "invalid"
 
shared_ptr::unique is a good example.
Only the true result is useful.
If it returns false, it means nothing.
So you make its name reflect the useful result.
 
hmm
 
Xeo
same with expired for weak pointers
 
1:13 PM
I thought Unity was Gnome ... or at least GTK based? In any case I've had a pretty abysmal experience with Gnome 3 ever since its inception pretty much. There are a couple of concepts I like about it, but there's way too many things I hate about it
 
shared_ptr::multiple would pretty much always be used as !shared_ptr::multiple
 
so when it returns false
 
I've never tried KDE before, I hope it doesn't have any of the crap that pisses me off in gnome
 
it means it could also be the only shared ptr managing the thing
 
@AlexM. It means that when you called it, it wasn't unique, but that gives you no information about the state now, after the call.
 
1:14 PM
but it returns false because (?)
I see
right
I get it
 
 
lol
 
What a way to use business logic constraints :)
 
Xeo
@R.MartinhoFernandes Doesn't really give you any information when it returns true either, though. Another thread could .lock() a weak_ptr :P
 
user1804599
@Prismatic delimit parameters.
 
Xeo
1:15 PM
@sehe wow
 
From tdWTF
 
@Xeo Oh that's horrible. I thought it counted weak_ptrs too :(
 
Xeo
I think it's only the strong count
you have no way to get the weak count atm, IIRC
 
So it's completely useless. Nice.
Oh, well, weak_ptr::expired then.
 
Xeo
> Checks if *this is the only shared_ptr instance managing the current object, i.e. whether use_count() == 1.
So yeah.
 
1:16 PM
expiration on weak ptrs is just a plot to make you buy more weak ptrs more often
9
 
Xeo
lol
 
37 reasons why Denmark will ruin you for life. The correction at the bottom is just perfect, IMO
 
@AlexM. true story
 
Xeo
@R.MartinhoFernandes Yeah, that works. If something is dead, it's dead for real.
 
1:17 PM
@jalf "Here's a bunch of pictures of how awesome Denmark is. Oops, one of them was from Stockholm"
 
@jalf Something something rotten?
Nah. Oh well. That was funny too
42 Reasons Why Clickbait Articles Cause Mediocre Content
 
@sehe yup. Wouldn't have posted it if it wasn't because their correction made me laugh :D
 
my burp tasted of rocket :\
 
Making articles into lists of things seems like such a trivial concept but it makes people want to read your stuff way more.
 
1:22 PM
@jalf Hey! England is the home Lego Land <sub>Winsor</sub>
 
@BartekBanachewicz We should totally play together some time
 
TIL what a retarder is
 
user1804599
A barteker.
 
It's one of those things you put on your penis to delay ejaculation, no?
 
@thecoshman that's what happens when you shove rockets into your gosh gob
 
1:28 PM
@Jefffrey er. nah.
I was talking about thing such as (sic) Aquatarder
 
repcap woohoo
Aquatarder: n. Braket taking a bath
> Judges need to show respect to women who choose to cover their faces in court for religious reasons according to the UK's most senior judge. Lord Neuberger, president of the Supreme Court, said judges must be fair to those involved in trials. They should have an "understanding as to how people from different cultural, social, religious or other backgrounds think and behave", he added. (bbc.co.uk/news/uk-32347761)
Nobody seems willing to bother explaining why.
And they also conflate "understanding" with a few other things.
 
The tizen website is so stupid... everything is open source but you need to register and do all this annoying git setup just to clone repos. There's all this neat stuff in their repos, but I bet part of the reason they are all so unheard of is because of this stupid registration wall
 
@BartekBanachewicz as in, a retardation agent?
@Prismatic fork it to github :P
 
@thecoshman I had half a mind of doing that but then I'd have to constantly update the github repos to pull new changes
Y'all ever feel like completely and utterly defeated by a bug / issue you run across
its so depressing
 
user1804599
What'd you call a function that turns [1, 2, 3, 4] into [(1, 2), (3, 4)]?
 
Xeo
1:37 PM
pair_neighbours?
 
@jalf the castles look nice. the wild beach too.
 
user1804599
@Xeo great
 
user1804599
Well, pair_neighbors.
 
user1804599
Code should be in American English.
 
I agree.
 
1:39 PM
@Prismatic script it
 
LMAO.
 
@rightfold lies!
@rightfold presuming that [1,2,3,4,5,6,7,8] would return [[1,2],[3,4],[5,6],[7,8]]
 
I just found out on Czech Statistics Bureau that all women in the Czech Republic work in total only 76 % of men's hours. This nicely coincides with statistics about average earnings where women are said to earn on average only 77 % of men's.
9
Statistics is awesome.
 
@wilx :lol:
 
1:43 PM
@wilx women also get less prison time for the same crimes as men
 
inb4 jalf
 
@AlexM. I heard that about the USA. I have yet to find similar statistics for this country.
 
/cc jalf
 
just kidding I'm not that silly
 
1:43 PM
@AlexM. Nah, let him try to spin this.
 
@LightningRacisinObrit what got flagged lol
 
in Stack Overflow 2015 Moderator Election Chat, 5 mins ago, by Tim Post
YOU CRAPPED ON A FREAKING SLIDE, HOW MUCH CONTEXT COULD THERE BE?
 
@LightningRacisinObrit phew I thought it was my prison comment
 
Just in case, here is the statistics of total hours (in Czech): czso.cz/documents/10180/20552571/25012814q434.pdf/…
 
@wilx That's an interesting statistic but just shifts the issue really.
 
1:47 PM
@Puppy Or makes the issue a non-issue?
 
the issue would be gone if people were more, say
benchmark and individual oriented
I think
like, reward for individual ability
 
I could imagine that women could be angry at getting less CZK/hour than men. But given the statistics, it seems to me that they get the same but work less.
 
not for category
I really don't understand how these less $$$ than X stats work, don't people ask for specific salaries when negotiating?
I mean I can imagine you don't just get an offer and take it on the spot
right?
 
@wilx Maybe they get less full-time jobs.
 
@AlexM. Some people say that women ask for less or are offered less and do not demand more. Given that salaries are not public, I guess it could be true.
@R.MartinhoFernandes Sure.
 
1:51 PM
Statistics is awesome.
 
@R.MartinhoFernandes That is AFAIK being said about USA as well.
 
@LightningRacisinObrit almost starred
 
class inequality is by far the greatest inequality
 
@wilx Nope.
 
@rightfold a perlism
 
1:54 PM
@rightfold make_pairings?
@sehe :)
 
all you've done is shift the question from "Why do women get paid less than men?" to "Why do women not work as much as men?", which is just as problematic.
 
@wilx because, of course, they don't compare rates, but net income? Sounds likely
@AlexM. and they're forced into anal sex less of the time, during their stay in prison, I guess
 
@sehe Yes.
 
@wilx No thanks. We can wait for that special someone
 
@sehe lol. You are not having fun with that?
 
1:56 PM
@wilx desperate, I say
 
@sehe I'd think so
 
Have any of you used a file system back up util called fsarchiver
 
Just did
 
Its so fly... one of the coolest tools I've ever used
 
> If the archive is corrupt, you just loose the current file, not the whole archive
That sloppy wording doesn't bode well
@Prismatic nstfsclone, dump/restore, zfs send/recv etc.
 
1:59 PM
> loose
 
That too
> A dump utility first appeared in Version 6 AT&T UNIX. awesome dump.c
 
I wish DE packages had help, documentation and translation separated out... I hate how much space all those extra files, esp in 20 different languages takes up
 
> These results are in most cases stunningly appalling. dump comes out ahead, which is no great surprise
@Prismatic you have your work cut out for you
 
What work would that be? Its not like any distro package managers are going to bother with that kind of suggestion
 
So. Who said something about them downloads.sourceforge.net/project/fsarchiver/fsarchiver-bin/… 885kb. Seems reasonable
 
2:07 PM
@AlexM. lol
 
@sehe Horrible. Just as I expected.
 
Ven
@sehe these comments are priceless
 
> I also learned to delete the test directories promptly, to avoid the complaints of my co-administrators about the mail generated by dying cron jobs, and the censure I got for having a directory that du found an extra 300 megabytes in.
 
@sehe even I cringe at that
 
> char *dfile "/etc/dtab";
wat
 
2:09 PM
@Ven And
> printf("change tapes\n");
@milleniumbug It's old, that was the whole point
 
> * s specify tape size in feet (feet = blocks/9)
 
@Prismatic Looks interesting. I raise you pcompress in reward
 
@wilx fairly sure that would be showing that women earn on avg 75% of what a man would for the same work. They also work less hours then men on avg, by a coincidentally similar factor.
oh, more salad burps, even though I just ate some biscuits
 
Ven
is it bad if I admit I somewhat like the variables declarations before the function's opening brace :|?
 
@Ven huh?
 
Ven
2:13 PM
@thecoshman void x(void) int a; {}
 
oh god! I have shitty mode on the ` key again :\
stupid windows!
 
@Ven kill it with fire
 
@Ven it's not that. Read closely
 
Ven
@sehe huh? doesn't it declare the function's locals?
 
this is a cool batman vs superman thingy
 
2:20 PM
@Ven yes, it doesn't. well maybe it does. More importantly, it declares the type of arguments
 
user1804599
@Ven No it gives types to parameters.
 
In a strange spell of perl fore-warning, I guess
 
user1804599
If you want separate local declarations, use Eiffel or Fortran.
 
user1804599
Or PL/pgSQL.
 
Or COBOL
 
user1804599
2:21 PM
TIL COBOL has locals.
 
user1804599
> Coming Soon... Local Variables in Managed COBOL
 
user1804599
I want a COBOL dialect with ECMAScript interop.
 
Ven
no you don't.
 
user1804599
2:24 PM
perform show-factorial varying n from 1 to 10.
 
user1804599
looks like Perl!
 
Ven
looks like cl's loop macro
 
user1804599
> perform createServer in http using doget giving server.
 
user1804599
this is so awesome
 
@Prismatic I like money too
 
Ven
2:28 PM
@rightfold DogeScript was better
 
> When you go to the Environment Variables configuration dialog, you'll still see both variables there, TMP and TEMP, still duking it out for your attention. It's like Adidas versus Puma, geek version.
 
Xeo
@rightfold What, is there a COBOL on Crutches web framework?
 
@Prismatic lol
 
@Xeo different name, but yes coboloncogs.org/INDEX.HTM
 
Ven
@sehe do you know COBOL?
 
user1804599
2:29 PM
@Xeo You can use Express from COBOL. :P
 
@Ven No!? <frownie-face/>
 
> "Why don't we get people to sign the honor code?" So, we got people to sign, "I understand that this short survey falls under the MIT Honor Code." Then they shredded it. No cheating whatsoever. And this is particularly interesting, because MIT doesn't have an honor code.
 
@rightfold Cobol On Cogs, FTW
 
user1804599
But COBOL on Punch Cards would be nice, yes.
 
@R.MartinhoFernandes From "Predictably Irrational"? (Or the other book... What was it again)
> (c) <DATE OVERFLOW>
Funny
 
2:32 PM
(c) January 15 -65524 might have been funnier
as if those old systems actually detected date overflow
 
I'd quote Jerry C. but oh well
Oct 4 '12 at 21:32, by Jerry Coffin
@R.MartinhoFernandes I've told you my policy on letting facts get in the way of a good joke, haven't I?
Did it anyway
 
did any of you get an apple watch
 
real watches ftw.
 
@Prismatic no
and if I'd get a smart watch I'd get an android smart watch
 
the only real watches i want are too expensive for me to ever own
 
2:37 PM
I use my phone to check the time :\
 
@AlexM. I use sundials
 
the round faces on android watches seem kinda dumb imo
 
I always wanted a kinetic watch, so I got just that for myself on my first paycheck
 
@Prismatic you mean they look like watches?
anyway, I think smartwatches will just die slowly
 
@Prismatic round faces. I wonder where they got that idiocy
 
2:38 PM
like tablets, which are already losing so much momentum
 
user1804599
haha
 
user1804599
> COBOL on Wheelchair
 
I meant functionally. you lose out on surface area and I'm sure it's be weird to develop for
Aesthetically I like the round faces better
 
depends on what you want to develop
 
I never understood the need for it - that can't be met ny a smartphone
 
2:40 PM
IIRC the common use of smartwatches is to see notifications and all that
 
by*
 
user1804599
I'll do the next game jam in COBOL.
 
user1804599
Maybe APL.
 
really? p much everyone I know has an iPad
 
@Prismatic yup
and the iPad's problem is that people don't upgrade
the sales lag behind iPhones a lot
 
2:41 PM
that's because when you buy something so overpriced you at least expect it to last a while
 
> For the full year 2014, tablet shipments totaled about 233 million — growing about 8% from 2013 — but the biggest tablet makers saw significant declines in year-over-year shipments, including Apple (down 18%), Samsung (down 22%), and Amazon (down 70%).
 
I think it could be cool if you could just have iPads just be a larger screen for iPhones
 
> The tablet's decline has been associated with many possible factors, including bigger phones, the growth of low-priced "generic" tablets, and the fact that people don't replace them as often as phones.
also because tablet/netbook hybrids are more useful
 
I think it would be cool to just have better phones and then invest in AR?VR
 
2:43 PM
I can definitely find uses for a tablet running Windows 8 with a keyboard attached
I could not find a use for my iPad mini
gave it to my mum, she can't find a use for it either
 
(That's V5 Unix' shell goto.)
 
I wonder how MS holo will turn out
 
@Prismatic it seems like "the thing"
but we wont know till consumers get their hands on it
 
It's friday. That just baffles my head in
 
personally I'd be happier getting a 4k AMOLED monitor
 
2:45 PM
@Nisk right. That tells me quite a lot
 
@sehe ?
 
"It seems like the thing but we can't tell". Smells like hot air alright. If it weren't, we wouldn't need to be so shy
 
@sehe True that....I would have expected that if it were real holography they'd give decent tech disclosure
best option is they are waiting till it's available
so they can use the hype to sell then
 
@wilx lolol don't tell jalf
inb4 "maybe those women aren't being offered more hours"
some people just need the world to be sexist
maybe it makes them feel superior
 
now THAT's being late to the party
 
2:52 PM
pfft
sehe replies three years later sometimes
 
with a well polished coliru example too
ba dum tschh
 
can't rush perfection
 
@LightningRacisinObrit hehe
 

« first day (1644 days earlier)      last day (3322 days later) »