« first day (2776 days earlier)      last day (2176 days later) » 
00:00 - 14:0014:00 - 00:00

2:01 PM
It's a me, Mauker
Hello
 
Hello Mauker
 
lmao
Adam, plz
Don't show pictures from when I only had a mustache
 
but you looked so cool.
 
shaves
 
2:13 PM
 
We have Florida Woman now too? Is that Florida Man's partner?
 
lol
 
23rd May 2018
Duck of the day, ladies and gentlebros.
 
Quack
Now my code works!
 
quack!
tomorrow is the last day the rapper valtonyc has to enter prison before a detention order is issued
 
2:18 PM
@CptEric so we are doing ducks now instead of cats?
 
followed
omg
 
@Code-Apprentice perhalps.
i've been following this site for weeks
:D
 
lol
 
2:34 PM
@CptEric Aren't you a duckling
 
i'm a duckman
i'm the duckman
le quack
lil quacky
pícola anatra
 
le quack
I loved it
 
:D
 
first catman now duckman
nice zoe
 
Cat duck, Cat duck
 
2:38 PM
living in the seaside
being super freestyle
all 'cause it's a cat duck
 
:D
 
> "national police stops military police truck for vehicle inspection, police dog finds hidden stash, 120kg compressed hashish".
 
@DaveS Thanks, I will give it a go.
Won't be able to do it today either, another day full of meetings, but I'll try it out soon. I'm on vacation next week, might do it on a pet project just to make it work lol
 
@CptEric hashishins!
 
that's what the name comes from
they drugged themselves before attacking to avoid pain
 
2:50 PM
TIL
 
I know
 
wait that's a specific group, but is that where the word assassin comes from?
 
yes
@AdamMc331 I'll give you a go too
 
wtf is that
 
3:11 PM
you know what it is because you know what it isn't
 
is it a realm?
 
@TimCastelijns XD
nice one :D
 
3:56 PM
@ColdFire It's a gopher, the mascot of GoLang
 
4:06 PM
i see
 
user443346
o/
 
o/
 
user443346
@MarkO'Sullivan First of all, change your avatar back. My autism alarm will ring for days now. Second, what do I need to test? There is no excuse for your code not working on Samsung's. It's on you Mark - you.
 
user443346
Samsung can only understand logical code.
 
user443346
and now we grab some popcorn, light a joint, sit back, relax and wait for someone to nibble my bait
 
5:02 PM
Confirmed, Valtonyc fleed this afternon to europe
his family doesn't want to disclose yet wether he exiled himself to belgium or switzerland
 
5:19 PM
@Jordy if you miss my display pic you can just stalk my Facebook? Na it wasn't a Samsung issue, was down to accessibility settings
 
user443346
Oh
 
user443346
Noice
 
v
JUST IN: Federal judge rules President Trump cannot block Twitter users from viewing his feed, says it violates the First Amendment
 
he was blocking it?
 
 
1 hour later…
$ java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
wtf?
 
java -version
1 dash
 
still, a bad option should cause it to crash
and even with -v, it crashes
weird, -version works, but -v causes a crash, not help output
 
7:01 PM
man, that is a serious bug. The java command just crashes when you give it a bad argument
it should print out a help message instead
 
does the notification always show requirement for background task in not valid for apps targeting lower api level?
 
o/
 
o/
 
Yes
 
7:12 PM
No
 
Timterest
 
skipped through. no code. boring
 
lol
There's a cheese sheet there
 
7:18 PM
But he said he already bread it, didn't like it
 
what do we need cheat sheet for? The entire lib is like 5 keywords
 
Ugh, rude
 
The length of the material has never stopped those who seek to avoid it
 
lmao
 
7:31 PM
fuck!
I don't get it...
 
Did you kill your computer again?
 
no, I haven't fully recovered from the last time, though
 
and I'm following the instructions I wrote a couple of weeks ago for setting up a project and it doesn't work.
 
@Mauker Lol, that's actually quite similar to a talk I'm giving tomorrow
 
7:34 PM
lol really?
 
Yeah, talking about the technical difficulties in real world blockchain systems
Will be covering some of those points
 
nice :D
Will it be broadcasted?
 
Hmm
Not sure
First time I'm speaking at uni here, no idea what their usual process is
 
7:50 PM
nice
 
8:00 PM
Does anyone have a good way a dealing with expire time for tokens, like oauth?
I mean, I have expiresIn say 3600 (1 hour)
But I don't really want to use the System.currentTimeMillis()
since the user could change the clock
 
Why?
That's fine
The server should also be checking anyways
So if the user changes the clock to trick the local calculations, when a request is made, it should return unauthorized
When the app receives unauthorized, you delete the token and ask the user to auth again
Checking locally is just for convenience to prevent network calls when you know that the token is already expired
 
But if the token isn't expired,
 
The server should still check the token for every request
 
well, I don't think it is, since the user changed their clock back
 
Make the server check the token
 
8:03 PM
I send the request... I guess you're right
 
If it's invalid, return a 401 or 403
 
401
 
then the token would come back as expired
 
Thanks mehdi, I wasn't sure lol
Yeah, and make your app act accordingly
logout the user, or something of that fashion
 
In general, with security:
Checking locally is good for UI, checking server side is a must for security
Anything not in your control should be assumed to be compromised
For instance, I work on the assumption that everyone in this room works for the NSA
 
8:06 PM
LOL
 
Shit, my cover is blown
Raghav, you're under arrest!
 
And here we thought raghav is the one working for NSA
 
For being a sexy shadow
4
 
Lol
 
Lmao
 
8:10 PM
CF, why are you still using the shutterstock version of your image?
 
He's a prince, not a king
He'll pay for stock photos when he's in charge
Shit's expensive
 
mauker : why not?
 
Because someone gave a watermark free verstion to you... free of charge?
 
Oh wow
There are 18 year olds in uni with me
Who were born in 2000
I feel like how Carl felt when he saw dinosaurs
4
 
8:49 PM
o/
 
9:01 PM
o/
 
o/
 
9:58 PM
\o
 
LIES
 
TRUTH
so how's studying going? Can your aging mind keep up with all the young whipper snappers?
 
I'm typing up a stats assignment
I have numbers, but I don't know if I have the right numbers
 
Just make sure you don't have the left numbers, or CF will have something to say about it
2
 
10:32 PM
boo
 
Isn't it past your bedtime
 
what kinds of stats are you doing? Basic mean, median, mode, stddev, variance? Or something more advanced?
 
@Code-Apprentice stddev? That doesn't sound healthy
 
All of it
 
@RaghavSood Hush old man
 
10:33 PM
@RaghavSood ANOVA?
 
We've covered all you listed, now we're doing hypothesis tests and interpretation
That's next
Or maybe this is part of that
Who knows
Certainly not me
 
feel free to ping me with questions if you have any...even though stats != math, I still know a little about it.
especially undergrad stats
 
Perhaps next time, don't think I have enough time to have your help right now
This is due soon
Although I'm reasonably sure I have a handle on it
Thank you, however!
 
and I still need to pretend I'm working for 25 more mins
 
10:36 PM
I keep checking my credit card application status even though they say they'll email me
gahhh
 
if I ever need to do any difficult statistics, I just call my statistician friend
 
Just tail -f /var/log/syslog and nod and hmm introspectively
 
good idea!
 
@TristanWiley Which card?
 
10:37 PM
Meh
Worthless
Not even worth the hit on your credit
 
Meh, it'll be aight
 
@RaghavSood what do you usually use for Batch jobs?
 
Depends on what I'm batching
And what else is going on in the system
 
The Earn $100 after spending $500 on purchases in the first 90 days will be nice
 
Got any more specifics? :P
 
10:40 PM
yeah, bulk files processing + s3 integration
ideally something Java since my whole stack is in Java
 
@TristanWiley Should have gone for Chase Freedom Unlimited, kept it for 6 months, then got a Chase Freedom, kept it for 3 months, then get the Chase Sapphire Reserve, keep it for 2 months, then get United Mileagueplus, then go nuts and get British Airways, IHG, Citi AA, Barclays AA, Hyatt, Hilton, Amex Plat
@MehdiB. When in doubt, cron + bash
 
I plan to get the Chase Freedom Unlimited eventually
 
Depending on what kind of processing you are doing, this is almost always a good first solution
Especially since AWS has excellent cli tools
 
Er well, I original planned to. I don't really know what I'd be getting it for now tho
 
UR points are about as flexible as it gets
 
10:42 PM
I mean, it's only 1.5% cashback. I have that now
 
MR isn't bad, but it's a lot harder to stack up MR points
No. It's 1.5 UR points
That's effectively worth 3% if you use it right
 
hmm, and how do you debug a cron job? like if it misses a cycle or stops?
 
If you also get the chase sapphire reserve, it's more like 4.5%
You can log the output to a file and check it
Or have some alerts in the script
We usually pipe errors to slack
Note that Cron will run anything
So you could easily write a python or Java program and have cron just call it on an interval
It doesn't have to be bash
 
I'm talking about Chase Freedom Unlimited 1.5% cashback
 
and how's your retry strategy?
 
10:44 PM
What kind of processing are you doing?
@TristanWiley Yes, you get the cashback as UR points
Which are technically 1 cent if you use them to settle your card bill
But you can transfer those points to airlines and hotels
 
mostly files conversions / deletions / compressions / uploads
 
And if you do that, you can often get flights and hotel nights at excellent rates
I probably save around 10k a year just from credit card hacking
@MehdiB. I would probably have a python script to look through the to be processed files and bucket them into which one needs what action
Then use bash to convert, compress, rename, delete the files based on those buckets
And then pass it off to the aws cli to upload to s3
And wrap all three of these into a bash script that logs to a file, and alerts to slack
 
Also not even sure my credit score is good enough to get it yet. So we'll see.
 
> I would probably have a python script to look through the to be processed files and bucket them into which one needs what action
Right, that's the correct approach, That's what I do in Java by listening to the file system
 
10:47 PM
That's why you get the basic cards and wait for a few months to build it up
 
I'll try with cron
 
That's what I'm doing lol
 
Cron is helpful because it handles scheduling for you
 
I've been building it up for like 5 months
 
If you try to schedule in your program, you might get killed and not restarted
So either use something like cron to trigger it
 
10:48 PM
@TristanWiley Chase Freedom is a nice card, I've had mine for 6 yrs
 
Or have a long running program managed by supervisorctl or systemd so that you know it'll be restarted
If you choose a process manager, you can do everything in your java program
 
Yeah, the original reason I was going to get it was for the cashback. But I get 1.5% cashback with the card from my bank, so idk.
 
Might be easier if you already have that written
 
I'm changing careers. I'm gonna move to the Andalusian Mountains and herd sheep
 
Good plan
 
10:49 PM
Very nice tip! I didn't think of systemctl at all!
 
@CptEric Want to join me?
 
Sheep are delicious
 
exactly!
and they make warm clothes
 
@Code-Apprentice when you're there ping me, I'm just a small sea below
 
We also have our program managers hooked up to slack, so that we know if something fails to start
Regardless of what you use, reporting is a must
 
10:51 PM
yeah, it's a very nice way to be integrated with Slack
right now file systems all the way
I tend to stay away from anything JavaEE related except servlets and jax-rs :D
 
@TristanWiley a lot of times, if you are lacking a credit history but don't necessarily have bad credit, and a good job, a lot of places will give you a card just with a low limit. I got chase freedom with a $500 limit and upped it to $2500 in the first year
 
Gist to setup quick slack notifications for supervisorctl: gist.github.com/RaghavSood/e95fcf9eec1c37b15a664f1abcb1fda0
 
You're the man, Raghav!
 
We run that as part of host provisioning, so all hosts get alerts from the get-go
 
I'm hoping to increase my limit with the card I have now at my bank. But I have to wait until it's been 180 days (6 months) and it's only been 5 months. Gah.
I want to buy my Boosted Board on it lol
 
10:54 PM
You can optionally pass it a hostname, but it will default to the server hostname if you can't
Never put something on a card that you cannot pay off immediately
Definitely use 0% interest if you can, but make sure you can always pay it off
 
I can pay it off. I just want the cashback
 
That's the way!
 
Thanks, Raghav! I'm gonna try that (y)
 
Yeah, the right way to use credit cards is to get paid for using them
1.5% discounts on all the things
 
10:57 PM
2% should be your minimum
Citi Doublecash isn't hard to get
For travel/dining, 3%
 
Hmm, but that card looks uglyyyy
 
software dev is sweet
 
Don't worry, the extra money you save is very pretty, Tristan
 
didn't know about that citi double cash
I wish I could pay my mortgage with a credit card
 
You might be able to via plastiq or a similar service
They usually take a small fee
 
11:02 PM
the company only accepts bank transfer or mailed check
 
But if your cashback exceeds the fee (which is possible), you still come out on top
 
and the point would be to get the 1% without any fees
 
Yes, plastiq will mail them a check after charging your card
 
I see
hmm
 
But there's a 2.5% fee
 
11:03 PM
That's actually really cool
 
Usually, the way people do it is to sign up for a new card
 
yeah that's the problem
 
With a bonus like $500 back if you spend $3000 in the first three months
 
@MehdiB. are you in morocco?
 
I see
 
11:04 PM
And then pay the mortgage with it, since that is money they will be spending in any case
So since you aren't spending any money you wouldn't normally spend, your expenses stay the same
 
@Code-Apprentice Yes! :D
 
You meet the spending limit, get $500
Even after the 2.5% fee you'll come out with $400 something green
 
yeah, better investment than crypto
 
This works even better with the mile cards
Very frequently you get Citi giving cards for a 100000 AA mile sign up bonus
If you put money you're already spending on that card, you effectively get 100000 miles for free
Which easily worth 800-1000 in flights at a minimum
Much more if you use it for business class
 
@MehdiB. I remember someone in this chat was there but couldn't remember who.
 
11:06 PM
Similarly, the chase sapphire had an initial sign up of 100000 UR points
Which is $1000 at a minimum
$1500 if you redeem it for travel directly
I managed to get about $7000 out of it
I used to just pay my uni tuition on the credit cards, similar to mortgage payments
Then rack up the points and miles
 
00:00 - 14:0014:00 - 00:00

« first day (2776 days earlier)      last day (2176 days later) »