« first day (3399 days earlier)      last day (1774 days later) » 

03:12
@Hypersapien generate first, the generator do its job perfectly, for some restricted sites, filter later
 
4 hours later…
07:30
Buenoos diaaaaas CeeeeeShaaaarp!
Carmen Diaz
Wtf it's 830 where is everyone
I'm here ._.
3 ppl in here and Nobody is responding
07:35
Nobody ever loves me! *runs away sobbing*
mr5
mr5
20 more reps for 2600!
and I'm not even doing anything
Usually I'm way late when I get in around this time
Noice @mr5, guess you did enough things back in the day!
mr5
mr5
o/
Most are just questions lol
Who's Carmen Diaz again?
mr5
mr5
I don't even have a decent answer.
07:36
cousins to the famous Cameron Diaz
never heard of her?
Ah Cameron! lol
She was in the film "The Masked" and "Something about Maria"
mr5
mr5
Damn. I need to leave Xamarin and study React Native
that took a lot of edits lol
And also in Charlie's Angels iirc
was she also in Charlie's Angels?
I know her from the film "Carlo's Angels"
Nah that's Cameron
07:41
@Neil iwuvu u.u
@mr5 Why?
mr5
mr5
@RoelvanUden there's more jobs in Reactive Native in SO
And I haven't seen a single Xamarin job post in the ads panel
@RoelvanUden (づ ̄ ³ ̄)づ
Well, SO jobs isn't representative for the market in your country/area.
Besides, the latest tech will always have the most jobs. It's not necessarily the best stack for your use case. But if you want one of those jobs, sure, go for it.
mr5
mr5
u.u == (づ ̄ ³ ̄)づ
??
Error: operation '==' can never be null
07:47
morning
mr5
mr5
oh look, avnir look alike
o/
There are so many things wrong in a single sentence...
@HéctorÁlvarez that it is. we're all very observant it would seem
Also Avner should be back soon, Google should be around the corner
Like a Pedobear of sorts.
mr5
mr5
Does Google really restricts their employees from communicating outside?
07:58
Avner's trying to say yes, but his messages aren't getting through
08:09
Meh, just send when private time
the reality is probably that he can't enter chat while at work, and at home he just doesn't want to sign in
or maybe he does, and it's never when I'm on
He starts in Google on February
In January he's been enjoy some well-deserved vacation
is it not February?
Yes, but I doubt the first thing he wants to do at his new job is set C# chat as his default browser page
sounds silly, but I think one of the coolest perks is being able to literally go to the cafeteria and be able to select from several food chains, free of charge
when you think about it, it's a rather inexpensive perk. Nobody is overloading their tray with chicken nuggets and taking them home to eat
08:12
I'd be so fat
are they not?
I'm guessing the total cost of a lunch wouldn't exceed 10 dollars on average
so 10 dollars per day just to be able to say they offer that perk is value over cost
@HéctorÁlvarez would you? if you knew you could have whatever you wanted in excess..
I've seen articles about a Big King costing about 40 cents to make, compared to the 4,50 euro price tag
@Neil not really, no.
Probably would try once
for the LOLs
but momma's food is bestest
BRB 5 minutes
My idea is that the 4,50 is mostly from the relative cost of things and having to import the rest
but still.. Big Mac and fries and a large coke.. pay nothing.. every single day at lunch
or whatever
you probably would get fat
08:17
All those facility perks, like lunch and a gym and other stuff, sounds like an excuse for your employer to essentially make you live at work. Why go home? EVERYTHING IS HERE. STAAAAYYY HEEERREEE.
meh, I don't see it like that. They just want you to be very happy working there
I doubt it is because they want you to work overtime a lot
I wonder what perks you get working for Amazon
Mmm, I don't know. I guess I'm cynical. Like the office that has a game console that people can play, but nobody ever does because you'd be looked at weirdly because your colleagues are trying to make the deadline and you're just wasting time. It's just there so the employer can say 'look at these awesome facilities'
the warehouse workers are overworked, that much I know
but I'd like to think the programmers are treated a little better
I feel the exact same of all the Google perks, etc. Sure, you can use that shit, but you sure as hell should be working AT LEAST that 8 hours. What's the point of the facilities then?
I agree. I think if I had such perks at my workplace, I wouldn't use them just the same, because there's also pressure to produce and be productive
mr5
mr5
08:22
What should I do if I'm so lazy to write specs?
which sucks, but nobody would ever tell you to play games on a console rather than work, because that goes against the work ethic
@mr5 Do what my boss does and just say, "Come on, you know what I mean.. "
"Make it work, you know what to do"
mr5
mr5
lol
At least my PM is not like that.
fortunately most times it isn't this way
mr5
mr5
I'm running out of words to type and this task is so boring.
but it always surprises me the number of people who presume that what I do is black magic to some extent
mr5
mr5
08:24
Do you also write specs in your work Neil?
Because they don't understand what I do, they assume I pull the specifications from my ass
@mr5 I don't write specs, but I'm often the one making intelligent decisions where specifications are lacking
So, the way I see it, those companies have additional facilities that you can use when you're done with work. At that point I just want to go home. There's very little reason to use a company game console, or company darts, or whatever. You can do that better at home, where you probably have a life too. Only a company gym makes sense to cut costs (because gyms are expensive). The rest... not so much. Rather, make my work place better, reduce the work pressure, pay me well, and avoid overtime.
@RoelvanUden the gym is really the only legit thing I would use
If I'd pay to a subscription to a gym, then I'd just as well not pay and use the company gym instead
mr5
mr5
Yeah I wish we have tread mill here also
Yes, exactly.
08:27
I agree with you for the most part
I don't want to end my shift and then play a console in the workplace anymore than I'd like to watch youtube videos at work after my shift ends
mr5
mr5
@Neil in your workplace, who oftens write the specification?
@Neil Yep, and spend time with your wife/kids/existentialcrisis/pets/friends
For me a true perk (aside from the food chain perk at Google) would be to have flexible hours and work 6 hours a day rather than 8
@RoelvanUden agree
@Neil Flexible hours, remote-allowed, and less hours are actually great perks.
Tho, working 6 instead of 8 hours means I'll be paid for 30h instead of 40h so eh...
08:29
@mr5 Depends on the person giving me the assignment. When certain people give me an assignment, I groan inside, because I know most of the analysis is nonexistent
@RoelvanUden well it's always relative. I assume you get such a great perk because they really want you to work there
30 hours at 33% more pay is the same as a 40 hour at the normal rate
@Neil yeaaaah.
mr5
mr5
30hrs/week?
and 4days/week
dream job
yeah, it'd be 4 days at 8 hours each or 5 days at 6 hours
would be nice indeed
mr5
mr5
I'd like the 4days please
4*8 means overtime on a 30h/week basis :p
08:34
also working from home would be nice
mr5
mr5
should be 7.5 though
ok well then 32 hour week I suppose
@mr5 Go work 36h/week and do 9 per day.
here in Spain, one company is trying to pioneer that schedule
3 day weekend
mr5
mr5
Roel have made a conclusion to myself that I have a discipline of a potato when working from home. It still holds true til this day.
08:35
honestly I don't know if I'd prefer to work longer for less days or work less for more days
I definitely wouldn't want to lose my weekend, so it would have to be across the span of 5 days, no more
I would totally lay down on my couch with my laptop in front of me and a glass of soda next to me and chill
mr5
mr5
@Neil in the 4th picture, you could have play DOTA2 instead of just sitting duh...
08:51
if only it were so simple ;)
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
mr5
mr5
o/
\o
\o/
M
C
A
~o~
•_•)
( •_•)>⌐■-■
(⌐■_■)
@mr5 xD I don't know why people have so much trouble working from home
mr5
mr5
Species like me we're instinctively made to follow orders
08:57
picture it as "The sooner I end this, the sooner I get to do whatever I want, so I gotta go fast!" but also "If the result is shit I have to work twice, so better make sure it's A-OK"
mr5
mr5
I wish that's easy for me
@Neil I am stuck on step 3, so I guess I am safe from existential dread
@Wietlol you know what's next though
oh, I do
next adjective
\ ˈnekst \
Definition of next (Entry 1 of 4)
1: immediately adjacent (as in place, rank, or time)
2: any other considered hypothetically
knew it as well as the next man
If my boss asks me to do something, I have no problems pushing through to the end with that task, but if it's just myself driving myself to do something, then I can't keep that up. I'm not sure why
08:59
because your boss doesnt know how slow you are
It's like I remind myself that I'm doing work, and I don't want to work, and nobody can stop me. Then that particular project is done forever
and when you do stuff that you invented, you want them to be ready yesterday
nah, I work as hard as I can
most times it's a waiting game for the information I require or for someone to do something
@mr5 ITS FUN TO STAY AT THEE
mr5
mr5
\o/
M
C
A
09:01
@mr5 THEY HAVE EVERYTHING FOR YOUNG MEN TO ENJOY
not sure if that are the correct lyrics or not
I don't think it is
mr5
mr5
@Squirrelintraining WHY DO YOU BUILD ME UP (BUILD ME UP)
BUTTERCUP
mr5
mr5
@CaptainObvious IT'S FUN TO STAY AT THE
\o/
M
C
A
I mean if we're gonna sing cann we sing the same song at least
mr5
mr5
09:03
7 mins ago, by mr5
Species like me we're instinctively made to follow orders
maybe we share the same instincts? lol
well I mean, in rare cases, "pushing a task" also means telling the boss it can't be done
I just mean I don't have any procrastination issues
what bothers me, and unfortunately it's something that has been happening a lot lately.. is they'll give me a task to do, and I'll do it and ask them to test it or verify or whatever, and then nothing.. it's like they didn't want me to do it in the first place
then 6 months later, some higher up is like "where the fuck is that thing I wanted?" and it comes crashing down on me with priority one thousand
then I have to remember what I did and that I wrote that I was waiting for verification
then someone verifies, and something is wrong, and then they're like, "Why the fuck doesn't it work?! We're 6 months in!"
I mean, what the hell can I do about this? Nothing.
the way the system is designed, some things I can't verify
so it's just a bad system overall
mr5
mr5
FUUUUCCCCK
5
I made another stupid mistake.
mr5
mr5
For about 2 months, I'm suffering from back pain. Now I realize it's because of my chair level. gdi!!
It's so so low. I thought I'm not sitting right
@Neil i like the ending
mr5
mr5
@HéctorÁlvarez lol. it's definitely the Windows GDI
Incidentally, I found out that this was allowed on tv, because a commercial break started halfway through..
and the ending of this was shown when the commercial break ended
mr5
mr5
@Neil mine is like a Fuck + Eureka-esque feeling though
09:13
oh I know that one too
those are always both a relief but also impending doom as you realize the damage done
mr5
mr5
@Neil I'm guessing you also don't have QA departments there?
Our QAs are constantly asking us for app to test!
@Wietlol ha! another trap!
@mr5 hah
mr5
mr5
Everytime I see an Asian girl, I just automatically assume it's a trap. I was brainwashed by 9gag
and also UX Engineers, app directors, designers?
@mr5 it was quite an adventure to search for that gif
mr5
mr5
09:16
don't tell me you also create the images you put in your apps?
I was like "oh, I know a nice gif for this"
"let me quickly... wait... let me google this in a window no one here can see"
@mr5 we don't really deal with that side of things. I mostly handle backend payment batches
I assume "fuck girl gif" would result in quite a few nsfw images
@Wietlol welp she kinda cute.
yeah, "fuuuuuuck me" got a few nsfw hits
09:18
at least putting "meme" in it as well avoided the nsfw stuff
yo yo yo
mr5
mr5
lol
o/
wtf did I just walk into?
mr5
mr5
you walk into a bar, Wietlol says,
7 mins ago, by Wietlol
I was like "oh, I know a nice gif for this"
and then hand this picture to you:
10 mins ago, by Wietlol
> https://i.imgur.com/4WGYTLR.gif
who's the second man to discover America?
Columbus
mr5
mr5
09:26
wait wut
Who's the first then?
Amerigo Vespucci
mr5
mr5
Noooo
@mr5 Leif Erikson
mr5
mr5
> Leif Erikson, Leiv Eiriksson or Leif Ericson ( c. 970 – c. 1020) was a Norse explorer from Iceland. He was the first known European to have set foot on continental North America (excluding Greenland), before Christopher Columbus.
@mr5 Mr Despacito
09:27
and before that there were all the native americans
depends on your definition of "discover"
mr5
mr5
It's only Buttler who's telling the truth
Discover by civilized people?
> a Norse explorer from Iceland.
a WHAT?!
mr5
mr5
It's a typo
Should be, nose explorer
isnt he then an Icelandic explorer for Iceland?
I don't think there was such a concept as "icelander" back then
mr5
mr5
09:29
most people in iceland were Norse
@mr5 is the top of his head poking a hole through his own hat?
or is it hovering there?
mr5
mr5
lol. there's a curve on his nose I guess
I think there's a bigger problem here
> He was the first known European to have set foot on continental North America (excluding Greenland), before Christopher Columbus.
Since when is greenland part of north america
mr5
mr5
09:32
that's where the hat sits
Greenland is part of the Philippines
@CaptainObvious greenland is considered to be part of the north american continent
Maybe physically
Except it's owned by Denmark
at least when I went to high school, there were 7 continents
And " has been politically and culturally associated with Europe (specifically Norway and Denmark, the colonial powers, as well as the nearby island of Iceland) for more than a millennium"
@CaptainObvious ownership doesn't mean it's magically part of europe though
mr5
mr5
09:34
@CaptainObvious maybe that is why Denmark is considered to have a larger land mass compared to Germany huh?
Yeah denmark is tiny lol
Is it? (Said the Dutchy)
mr5
mr5
I've posted a link here before where it claimed Denmark land mass is larger than Germany
Denmark proper makes up just 1.9% of the land area of the kingdom of denmark
good on Denmark I guess
09:37
Greenland makes up 97.5% of (Ko) Denmark's land area
Anyone else think that greenland and iceland should swap names?
Another way of thinking about is is Greenland takes up just over 50x the land area of proepr denmark
@Neil wasn't that done to trick people into dying?
so... in sql, how can I select all records from a record set table?
+--+------------------------------------+-------------------+----+
|id|groupId                             |insertionMoment    |data|
+--+------------------------------------+-------------------+----+
|1 |942b4f33-d342-4677-a471-882ab4a3570a|2020-01-01 00:00:00|... |
|2 |012108bc-37bf-4867-a299-6898dfae1a19|2020-01-02 00:00:00|... |
|3 |942b4f33-d342-4677-a471-882ab4a3570a|2020-01-05 00:00:00|... |
|4 |af263113-6023-4384-94b6-0c8692904550|2020-01-07 00:00:00|... |
|5 |012108bc-37bf-4867-a299-6898dfae1a19|2020-01-08 00:00:00|... |
@CupOfJava perhaps
I want to select only the latest records per group id
Damnit the onebox doesn't respect the start time
mr5
mr5
@Wietlol SELECT * FROM [record set]
@mr5 ye... the wording in that question wasnt really nice
I have no clue how to make it one nice question tho
mr5
mr5
09:41
@Wietlol SELECT * FROM [record set] WHERE insertionMoment IN_BETWEEN(date1, date2)
but I want to select the latest record from each group
mr5
mr5
there's no group in your dumped data though
@mr5 that wont do
> groupId
some records have the same group id
How are you defining "last"
The one with the latest insertionmoment or largest id
from those records, only the last inserted (based on insertionMoment) should be returned
09:42
Okay hold on
I got chu
mr5
mr5
buttler gotchu fam
insertionMoment and id should be in sync tho
Wait what database system?
Because the approach is completely different in Mysql vs mssql
except if someone inserts a record without utc now as insertion moment
it is mysql
Oh that's ezpz
09:43
but... I use EF Core
I have a question regarding CSRF protection in web API for public POST method. Does anyone have a good article how to enable CSRF for Web API
I have googled around a bit and most info I can get, that web api doesn't really support it (as it works for MVC)
mr5
mr5
SELECT * FROM `record set` WHERE insertionMoment BETWEEN date1 AND date2 GROUP BY groupId
Well if you're using ef core then why fo you need raw sql
not necessarily raw sql
but just the approach should be sufficient I guess
So the question would be, is it possible to generate CSRF token.
I have GET and POST method
09:45
If you're using ef I would just do it using proper EF methods
be careful using "between date and date"
but if you say that mysql and mssql have different approaches...
timestamps behave differently than dates
learned that the hard way
But EF is designed to deal with that
@Neil it is just a datetime
I just used 00:00:00 just for the testing data
09:46
I understand the behavior of timestamps (dates are converted to timestamps with time set to midnight), but I'd have expected the end date for a date column would be exclusive
rather it is inclusive
@CaptainObvious how does EF deal with this situation?
@CaptainObvious i thoguht i saw it already bt o was wronq
Magic. That's kinda the whoel thing thogh
If you're using EF proeprly, you can take off whatever database driver you're using and swap it for another one and it will all work perfectly
With ef, it doesn't matter what backign database you ahve
mr5
mr5
09:48
@CaptainObvious hey, Wiet is still waiting for this
Yeah I'm working on it
mr5
mr5
okay. buttler gotchu wiet. don't worry
this is the first time wiet actually touch the company's code base
sure
SELECT a.* FROM <insert table> a
RIGHT JOIN (
SELECT MAX(<sorting column>) AS id FROM <insert table> GROUP BY <grouping column>) b
ON a.<sortingcolumn> = b.id
why is it that when one department doesn't know who to speak to regarding a certain thing, they literally put the entire other department in an e-mail?
09:50
That should also work in MSSQL tbh so whatever
I ended up having to respond to everyone that I work with (40+ people) about something most of them wouldn't care about
Because then the intended recipient gets the message. Who cares about collateral
mr5
mr5
@CaptainObvious close enough with my solution lol
I mean, not really a big deal, but that's just lazy
when in doubt, write everyone..
@CaptainObvious hmm...
09:52
With mysql there's a shortcut but I went for the more general soluition
But the shortcut only gets the first, not the last
+----+-------+---------------+----+
|id  |groupId|insertionMoment|data|
+----+-------+---------------+----+
|NULL|NULL   |NULL           |NULL|
|NULL|NULL   |NULL           |NULL|
|NULL|NULL   |NULL           |NULL|
|NULL|NULL   |NULL           |NULL|
+----+-------+---------------+----+
not sure that went well
Well done
is there a difference between table A right joining table B vs table B left joining table A?
ye, in joins, you can use group by
not on your initial select
It's hard to say, but wiet is sorta right
09:54
could you give me an example?
I have a hard time understanding right joins
right join (
    select MAX(insertionMoment) as id
    from Test
    group by groupId) b
group by is not possible on the normal select
only after you have done the joins
ah, I messed up the column on the query
> ON a.<sortingcolumn> = b.id
I put the groupId there
could you not have a group by in the initial query and have a "where id in (inner select)"?
group by filters differently tho
it does a partioning, on which you can apply filters or aggregates
a where couldnt do that

« first day (3399 days earlier)      last day (1774 days later) »