« first day (3046 days earlier)      last day (2126 days later) » 

06:23
Mornight!
Frogs says ribbit, bots says No.
2
 
8 hours later…
14:52
o/
15:21
@Raghunandan came across this one today, reiterating that it's a good read :D
o/
\o
How do you guys handle note taking?
I'm trying to establish a clean workflow before classes start in seven and a half hours
Evernote?
Working proposal is vim+vimwiki+git+scripts to convert to PDFs
I suspect I can script most of the organisational efforts
15:30
I used to use Notepad++
it's so simple I didn't have to deal with formatting
I'm pretty set on the vim aspect, mainly looking for suggestions around organisation
Thinking about splitting top level between uni, personal, company X|Y|Z
Then split by project/year/class
Then split by topic
Shove it all in a git repo, have a few grep backed scripts and remaps in vim to search
Convert to PDFs to share with noobs if I have to
Or to view images
I might have some java code somewhere generating pdfs from files
Why would I use Java when I have bash
Get with the times Mehdi
thought we were civilized people, Raghav :(
Yes, we don't waste memory and spin up VMs for stuff you can invoke via bash
15:33
I don't really dislike shell scripting, but I saw so many bash scripts in the past 3 months, probably enough for a lifetime
My main reason for bash/python is near instant portability
Especially with bash
Even python needs to be installed on some set ups these days
I feel like I should learn Perl at some point, but I don't see a significant payoff for it
I don't think there is, tbh :D
what I don't understand is massive projects entirely built on bash, it's a nightmare to debug and jump from file to file
Yeah, I switch to python once I exceed 100 lines
Or more recently, go
that's the right thing to do
Go interopts with bash really well, so I can shift complex stuff to go, then update my bash script to just wrap it
Lets me pick my battles well
15:38
I go with python because it's easy but I'm starting to get bored of it XD
need that nice heavy JVM to feel like I'm programming
One of my favourite bash+go set ups is my prettylogger for JSON based logs
@MehdiB. I used to use sublime for that, actually I still do for small stuff.
A lot of my go programs output json based logs because it's easier to deal with for logging systems like graylog
So I have a bash function
function prettylog {
    tail -F $1 | while read line; do echo $line | humanlog; done;
}
I can just add that to my .bashrc after running go get github.com/RaghavSood/humanlog/cmd/humanlog
ah! I wanted to ask, what do you use for centralizing your syslogs on a distributed environment?
And then get nice and pretty, columned, coloured logs out of the JSON
Graylog, currently
exit
5
Well, that's not my terminal
15:41
XD
Wonder why chrome stole focus
Maybe? I'm actually not sure, we hired an actual devops guy, so I don't handle that stuff much anymore
Definitely this
Not sure about the 2 part
just checked, they are at version 3 now
@RaghavSood It grew tired of only stealing RAM
15:43
> You are running an outdated Graylog version. (triggered 8 months ago)
Brb, need to, uh, "talk" to the devops guy
😂😂😂
He's really cool, tho. Having someone doing this stuff full time is super helpful
does it also contains your applications logs?
We have all sorts of fancy alerts and stuff now
It's great
Yes, we stream more or less every log we can to it
or just syslogs?
15:44
Except for the k8s on GCP, that goes to the google stackdriver thing
But outside of k8s, syslog + app logs go to graylog
Hmm, looks like we only have 132 GB of logs
I expected more
so you'd have something like "logs/applications/app1/xxx.log ..." and "logs/sys/timestamp.log"?
Most of the applications have direct hooks to graylog
So they write to a local file as regular, but also asynchronously send it to graylog (not via the file, just directly)
Seems to work okay
We occasionally miss some logs on graylog if the app dies, since the udp connection dies with it, but those always make ti to file, so it's fine
nice!
Who needs the last few milliseconds of a crashlog anyways
EMR is annoying in this regard, pushes everything in S3 by default, so unless you wanna install a bootstrap script in each node that will setup logging, you stick to s3
15:48
We used to do that historically
Logrotate would zip up the logs, then we'd stuff it on s3 daily
Mostly for our loadbalancer, web request logging for tens of millions of requests a day needs frequent rotation
But graylog is much nicer
So much easier to search for stuff
I can imagine, I still have a lot to learn in DevOps, not that I enjoy it very much though
I enjoy it, but not as much as actually building stuff
And trying to do it as a secondary task was not going well
Having a devops guy is nice, I can still pitch in on cool stuff, but if I'm busy, stuff still keeps going
An unfortunate side effect was that I never got familiar with the k8s stuff, since we started that after the devops guy joined
So I only have a rough understanding of it
you can always have a coffee break with the guy and ask him to explain you how it works and give you a head start to exploring on your own
I know it to that extent
I can probably fix stuff if everything is on fire and he's somehow missing, but I would prefer not to touch it in my current knowledge state
None of the stuff I write runs on our k8s cluster, so I suppose I'll get there eventually
so ECS is the equivalent of a K8s cluster?
15:55
Hmmmm
Maybe, I've never used ECS
But we use the managed GCP k8s cluster
So I imagine there are similarities
ecs only works in case your cluster is a bunch of docker containers
I guess what we are using is more similar to EKS
It was one of the main reasons we went to GCP, EKS didn't exist when we wanted to start using k8s
glad to have you back on the chat, finally getting to understand some of the stuff you've been talking about XD
Hah, I just got back to NZ last week, so should be online more often now
I finally managed to set a goal for myself regarding where to stop on this "devops journey", I have a clear idea of the processes and what they do etc...
now what I wanna learn is physical architecture including networking
16:03
Networking is interesting
I have my second networking course this semester, should be fun
I saw a sub-part of a datacenter architecture 2 weeks ago, I've never felt so ignorant XD
Datacenters are crazy
If I didn't get into crypto properly in last 2016 (when I was searching for internships), my next choice was to intern at a datacenter
I even emailed Digital Ocean about it :D
Asking it I could intern in their SG datacenter
But apparently they only lease it, and don't operate it directly
Or maybe they just told me that to get rid of me
the thing is, that was a sub-part of the architecture, can't even imagine how's the whole thing
16:08
When I occasionally have a few days of free time I try to simulate DC stuff with my assortment of RPis
Always fun
Rarely productive
But you can't put a price on learning
(or, you can, if you are my uni)
lots of fine words :D
Hmmm
Apparently vimwiki lets me create multiple wikis
So I could technically split up personal, uni, work into separate units entirely
TIL Raghav is a hipster
But I'm leaning towards not doing that - there's a lot of overlap between work and personal
Having it in one unit and split up under that would make searching easier
I drink copious amounts of coffee, occasionally have a beard, wear dark, plain clothes, use linux as a daily OS
Checks out
do you go to starbucks?
does your laptop have stickers?
16:13
No starbucks (anymore)
No stickers either
^ you got the approval of the non hipsters developers
I mean... starbucks would be a bit hard even if I wanted some
There's only one starbucks in this entire city
I just go to starbucks because of their large working tables
for when I'm bored / lack motivation to work at home, yet still need to get stuff done
16:28
I find it pretty hard to work without the extra monitors, so I usually don't leave home
Although I'm hoping to work outside more this year
Bought a 4G enabled laptop and everything
with a 15" screen?
they're the best, shame they no longer produce 17" mbps
I have a Thinkpad tho :D
I could have got a larger one, but at that point I didn't think it mattered
2" more won't be the same as having two extra 22" displays
So I'd best save on weight and increase portability
valid tradeoff
I tried many times programming in a 13" screen, i just can't :D
16:38
Yeah, that's just too small
I think 15" is a good spot for carry + functionality
do I open intellij and close the logs tab? or do I split vertically the screen to show both and hide the projects explorer tab or...
16:50
13 is a no go
17:06
posted on February 17, 2019

Android Weekly #349 📱💡 #outlook a{ padding:0; } body{ width:100% !important; margin:0; padding:0; } body *{ -ms-text-size-adjust:none!important; -webkit-text-size-adjust:none!important; } body,.wrapper{ background:#ffffff; color:#505050; font-family:Arial, sans-serif; font-size:12px; } table,table td{ border-colla

17:38
o/
Mehdi :D
How are you?
Mehdi is fine
He can't talk now
 
1 hour later…
19:05
@RaymondArteaga Are you keeping him hostage?
o/
maukerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrryyyyyyyyyy
CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
we have a hostage situation here today
The frog kidnapped the bot apprentice
19:30
Hey :p
Just opened a bounty on my question if anyone wants to take a look stackoverflow.com/questions/54715709/…
19:41
seems inefficient to do this every time new ThemeDatabaseManager(LynxBase.getApplicationContext()).open()
True
Database stuff usually are very expensive
literally 3 minutes after I find a solution, some dude answers my question on SO...
19:58
@TimCastelijns lol, why, it's a nice addictive one :-)
@MuratKaragöz I'd love to, do you have a lead on how to find out ?
20:27
@Mauker lol
gn

« first day (3046 days earlier)      last day (2126 days later) »