An interesting read from a doctor of philosophy with a consulting firm who went through a huge pile of management theory books to see what he missed by not having a formal “management education.”
Author: riyad
Comparing Signal-protocol-using messengers
There’re still privacy differences when you compare messenger apps all using the Signal protocol:
In this article, I’m going to compare WhatsApp, Signal, and Allo from a privacy perspective.
While all three apps use the same secure-messaging protocol, they differ on exactly what information is encrypted, what metadata is collected, and what, precisely, is stored in the cloud — and therefore available, in theory at least, to government snoops and wily hackers.
In the end, I’m going to advocate you use Signal whenever you can — which actually may not end up being as often as you would like.
AMP and Ads
Of course AMP was introduced to optimize the delivery of ads. ?
Math is Terrorism
What Mafia Teaches Us About Trust & Security
David Eaves has some interesting thoughts on what Mafia can tell us about trust and security. He also has a few ideas on how the physical game setup gives advantage to different parties.
Leave Math to The Machines
Drifting News
What if “trending news” would be made to drift in into a certain direction? Well, it seems that Facebook used their ability to manipulate curate trending topics to block out certain topics and set some of their own. ? Some should have warned us.
Telepathetisch
telepathetisch, adj.
Etwas für seine Frau tun, ohne dass sie es sagen muss, um einer theatralischen Auseinandersetzung zu entgehen
AR create_with
find_or_create_by
method but I didn’t know it had a very useful companion
create_with
.
@something ||= SomeModel.create_with(some: "stuff").find_or_create_by(foo: "bar")
This will either find a record
SomeModel.where(foo: "bar")
or create it with
SomeModel.create(foo: "bar", some: "stuff")
. Very useful.
AR Find Trickery
found = ModelA.find_by(id: id) || ModelB.find(id)
I stumbled over this during a code review. It was supposed to look for a record in two distinct tables.
find_by
will return
nil
if nothing was found while
find
will
raise
. Hence either you get something (from any model) or you
raise
.
