« first day (2377 days earlier)      last day (2570 days later) » 

7:02 PM
@Graeme What's your first assumption since I'm a black and white hat?
 
My first assumption is you're a guy - but not because you're a hat, but because we're in a massively male dominated field
brb, restarting. AS is screwing up file permissions for some reason.
 
People always think I am a guy as well
 
lmao
 
@TimCastelijns I don't. Could never tell by the picture.
 
yeah we think you are RealmBot
made to promote Realm
 
7:06 PM
^
 
and have some extra features like sarcasm
to fool humans
 
Not as advanced as Raghavbot tho
 
Graeme, I have to say, I'm also guilty of it and I think most people I know would be. I don't think it should be taken offensively. Some (most) of us are just more used to that being the case. And we the humans naturally make assumptions involantarily
How is that not spelled right? f-it
 
Beep boop. Beep boop
 
SELECT groupname, contractrenewal FROM Groups WHERE DATEDIFF(mm,
MONTH(GETDATE()), MONTH(contractrenewal)) <= 3
ORDER BY contractrenewal DESC
 
7:10 PM
what
 
what
 
It's sql guys
 
I'm trying to ask a question
 
o/
 
But before I ask, I'm trying to format that fucking thing
Tim wins!
 
7:11 PM
No SQL is allowed in this room
 
OutOfScope
closed
 
o/
Wait cM, I know how to fix it
211
Q: What is a NullPointerException, and how do I fix it?

ZiggyWhat are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?

 
lmao
 
You can close that now as a duplicate
 
no, damn it
 
7:12 PM
yes
 
I'm trying to get if a date is within 3 months (forward) of today regardless of year
And it should be simple. but I'm apparently having a rough day
 
It's easy with realm, don't know about sql
 
wait you have normal day sometimes?
 
Maybe I should do something else until tomorrow
Tim, I agree but my realm is currently in the shop so can't use it
CF, yes. Mostly when you are not around
2
 
haha Thanks
 
7:14 PM
27 mins ago, by Mauker
user image
 
That one was good, CM
 
:D
 
Of course it was good, it's cM
 
:/
 
And that, Mauker, is why you're my favorite
for today
 
7:17 PM
<3
 
Lovely ambiance here tonight
Damn it you spoiled the ambiance
 
There you go
 
I have lots of wine
 
Good guy Mauker
:D
 
7:21 PM
!/meow
 
guy hat
 
^now that is the ambience im looking for
 
If you look closely enough you'll notice that there's a purse on this picture
Can you guys access this link?
Dunno if the problem is with my connection
 
yes
 
7:31 PM
damn
4G FTW
Now I can access it
 
quick question guys, what would be the issue for google maps to display that blank screen on prod on the version 1.5 of our app when it's working fine on the version 1.3, and nothing's changed on our code since then?
(happens only on prod build)
 
There's no sql room
Didn't expect there to be but ya never know
 
There's no no sql room
 

SQL

Got a SQL question? Any SQL flavor here, just ask. Indicate yo...
 
there shouldn't be an sql room :D
let's go to meta to complain about its existance
 
7:36 PM
SELECT room FROM Rooms WHERE Rooms.name='SQL';
 
Weird it didn't show up at the top of the search
"The last message was posted 6 hours ago."
 
huh
 
And 3 people. Guess I won't bother. haha
5 now and 3 are from this room :/
 
@codeMagic You need to refine your SQL query for that
 
@codeMagic Wait, you thought I was a girl?
 
7:40 PM
Have you tried to enable indexing?
@Graeme ^
 
Graeme, long time ago I wasn't sure
 
CM - let's try to help you. you want to select records not older than 3 months?
 
>.<
 
I want to know if the field is 1, 2, or 3 months ahead of today's month
 
okay
 
7:43 PM
So, it should be true if the field's date is from May, June, or July, irregardless of year
Sorry, Graeme
 
aaah so it's all based on the month and not today's full date
 
considers changing his picture to a large phallus but believes that may also send the wrong message
 
Lol
 
lol
 
Right, Mehdi
 
7:44 PM
Graeme - you just thought me a word :)
 
Hah, yeah, maybe not one you want to type into google image search
 
XD
 
Schrödinger Graeme
 
And I wouldn't say I necessarily thought that. But it made me wonder if you were because of the whole "husband" thing. In the end, it didn't matter to me so shouldn't matter to you :)
 
It doesn't to me either
 
7:46 PM
xD
me neither
 
It might matter to Eric tho - invoking old joke
 
lmao
 
Mehdi, I thought this would get me close
SELECT groupname, contractrenewal FROM Groups WHERE DATEDIFF(mm, GETDATE(), contractrenewal) <= 3
ORDER BY contractrenewal DESC
But nope
 
why not make the date the last of the month
and put in query
 
I don't understand
 
7:48 PM
does the day matters?
like 21st july will be considered?
in it or not
 
No, doesn't have to be exact
If it's july 20th, for example, that's close enough.
 
so the day and year doesnt matter
only month matters
 
yes
 
Humm.. I guess it shouldn't matter to me..
Don't know why it does :/
 
Above query gives hits from november and october which I don't understand
 
7:51 PM
oh yeah that is weird
 
Graeme, for me (and probably most folks) it's just like I said a subconscious thing because of our surroundings
 
DATEDIFF is inbuilt function?
 
I mean, I'm making an assumption (though not actively) because the odds (in my experience) are greater one way than the other
 
In my experience there are more gay developers than female developers
 
yes, sir
good point. But I'm talking about humans in general and not thinking about their profession
 
7:53 PM
And is GETDATE() returning the date you think it is? Try using it in a select and see if you get what you think
 
I hope so because I use it a lot. Lol. But let me see
2017-04-19 15:53:48.917
yep
 
It's hard for me to think about what straight humans in general think, being as I've never been one :)
 
haha
 
There isn't anything weird going on with your month select?
 
7:54 PM
LOL
 
So, MM-DD / DD-MM ?
 
lol
check the format of contractrenewal
 
SELECT MONTH(GETDATE()) returns 4 as expected
 
Not of the GETDATE
 
I'll look at the DATEDIFF function closer to make sure I understand it but I think I do
 
7:56 PM
SELECT id
FROM Table
WHERE MONTH(column_date)
BETWEEN MONTH(getdate())
AND (MONTH(getdate()) - 2)
 
Of the table you're querying
 
can we do substraction on SQL server WHERE ?
 
I'd do what MEHDI says - more clear
 
yeah true
 
MONTH(date) will return the number of the month of the date arg
GETDATE() will return the current date
according to TFM
 
8:01 PM
I'm home
(going|o)
Cya
 
Cya
 
cya
 
see ya
and thanks
 
@codeMagic, if the above query works, you'll have to test the case where the substraction is negative, to check if SQL server is smart enough to calcule it on a cyclic way
 
8:04 PM
I'm confused on how that query is helpful to the problem
 
!/meow
 
I mean, if there are no records from March then I don't think it will return anything
 
there is the BETWEEN clause
 
8:07 PM
select records, with months between today's month and 2 months ago (today's month - 2)
 
8:33 PM
@TimCastelijns My answer that spreads the Realm supremacy got accepted
1
A: Have several apps managing one content provider - INSTALL_FAILED_CONFLICTING_PROVIDER

MaukerThat's probably not the best way of doing it. Provider IDs are unique system wide and you really can't have more than one at a given time. But if you want to stick with it, you can read more about it here and here. You'll need that to access data from an app? It's best to do that using Intents o...

 
lol
 
another one to the dark side
:/
 
Someone, please, end it all for me. Trying to jam TLS 1.2 into android 4.1 webview. Kill me. Anyone have any experience with Crosswalk?
 
no sorry
 
8:50 PM
@MehdiB. I'll look at that. I didn't think that worked for just months but maybe I'm wrong
 
how come you're working this late cM?
 
It's only a few minutes before 5
And I'll be leaving soon because I have stuff to do. Otherwise, I'd probably be here a little while longer today
 
this late?
 
I just replicated a OOM error that a customer is having. Hoping that can wait until tomorrow
How late?
 
i was referring to tim
 
8:58 PM
wait
you are from indiana
why did I think you were german
 
lol
a german magic guy sounds funny
 
:)
Maybe because I yell and complain a lot?
hides from Warren
 
we did this german conversation thing once
 
oh yeah that matches
 
cM do you know Lil' Sebastian? Might have asked this before
my bad
Nov 29 '16 at 16:21, by Tim Castelijns
cM, do you know Lil' Sebastian?
 
9:06 PM
I imagine the answer then was the same as now. The answer is currently "No"
Gotta go for a bit
 
9:21 PM
cya
I will make sure everybody here behaves while you are gone
(read: myself)
 
XD
 
9:36 PM
XD
 
CF - shouldn't you be sleeping?
 
soon
 
night
 
now
 
 
2 hours later…
11:21 PM
Allo
 
Google Allo?
 
o/
 
hallo
 

« first day (2377 days earlier)      last day (2570 days later) »