Categories For later read

7 days 30 days All time Recent Popular
I'm in therapy, which I've already overshared, and it's great. I recommend it highly. Today I want to share an insight that has helped me so much, and maybe it can help you too?


I used to feel apart from things, alienated. I couldn't enjoy beauty or family. I live in a staggeringly beautiful place, but I couldn't enjoy the view or lake or mountains, because I know climate change is destroying glaciers & ecosystems. 2/
https://t.co/rvq2eRiXgC


Every day I had a hard time with my kid, putting on a brave face to get him to school and back, knowing every moment that I am somehow not doing enough to preserve his future. That he & his friends are being harmed, every day more, by our industrial and economic systems. 3/

What my therapist helped me understand is that I am right to have those feelings - it would be insane not to, given what I know about the state & direction of the world. But she also helped me understand that I was harming myself by putting myself apart from & above my world. 4/

In my previous worldview, I was apart from, in opposition to, my environment and my society. I saw myself as a lonely witness of devastation, howling helplessly and with little effect to try to change a disastrous trajectory, resentful of the ignorance & inaction of others. 5/
From the Middle of the Night File, up again after a few hours decent sleep, I was doing some organizing for tomorrow's thread. And what do I find? Once again Twitter has broken one of my threads. Yesterday morning's. It was a 4-tweet thread. I can only see 27 tweets.


2) I don't know what I'm going to do about it. That's a bridge too far. If I didn't have the thread reader app unroll above, I'd be checking my memory of my work. Thank goodness at least that's there!

45 - 27 = 18

Twitter disappeared 18 of my tweets. And they're not random.

3) At the same time, look what I find in my feed. Two announcements composed in identical format. I'll point out what's wrong with these "clarifications" below. This is from


4) And this from


5) Isn't it interesting that both clarifications follow the exact same series of questions and answers? Obviously this is from the legal department, as if it were information to be shared. It is not. It is very, very carefully NOT information. Focus on that.
@Pady_oFurniture @TadeuszBorowski @AnnaPembroke @pritipatel @UKLabour Talk about hypocrisy!

THAT is some turning of the truth!!!

So he didn't have a visa for the *#USA*

And used someone else's real passport

Yet *#WE* prosecuted him

The point you are "rebutting" is how many illegal immigrants to *#THIS* country do "#WE" prosecute FOR THE SAME?!

@TadeuszBorowski @AnnaPembroke @pritipatel @UKLabour We don't prosecute people entering THIS country using a relatives passport "accidentally"

We don't prosecute people for ADMITTEDLY DELIBERATELY entering THIS country without the right passport to "test" the system

In fact #Channel4akeNews had a whole programme (series?) of it!

@TadeuszBorowski @AnnaPembroke @pritipatel @UKLabour Was anyone at or on the #Channel4 programme prosecuted for illegally entering the country

Attempting it

Or aiding & abetting it

And that's ON TOP of the THOUSANDS of illegal immigrants who illegally enter the country without the correct or even ANY legal travel documents

@TadeuszBorowski @AnnaPembroke @pritipatel @UKLabour Or through correct legal entry points

Illegal immigrants don't just enter country without correct or any travel documents

Many (most?) don't go through customs or passport control

And not only do they not get prosecuted for it

The "liberal" left insist it's not a crime either

@TadeuszBorowski @AnnaPembroke @pritipatel @UKLabour Similarly the "liberal" left in US insist if you enter US illegally it's not a crime

But also dispute authorities claim any illegal immigrant trying to get through immigration hasn't "entered" the USA yet & so not entitled to US constitutional rights

AIUI #TommyRobinson hadn't
1/8
Remember KP Yohanan?
Man behind #Sabrimala & whose NGO ws exposed in recent IT crackdown?
KP cld be connected to "killing" of Malayali journo, SV Pradeep--a man who hd crossed swords with Kerala CM & every Political party.
I hope central agency @NIA_India is aware of it. https://t.co/DyplfAU0Zj


2/8
SV Pradeep hd exposed a huge racket-- which he called the COFFIN racket (shava petti racket in malayalam). He apparently hd proof that KP's organisations wr running 20-25 crematories, and that the bodies turned into ashes in these places, wr UNACCOUNTED for.
But y?


3/8
SV pradeep ws killed in a hit & run case, on 15th Dec 2020.
This journo hd locked horns with almost every POLITICAL party in Kerala. He ws known for being one of the most brusque journalists in Kerala.
Bt he hd hurt commies & KP the most, with his reports.


4/8
In this youtube report👇 of Pradeep he hd exposed KP Yohanan, bt this ws not the 1st time he hd reported on KP.
He hd been doing it since sometime.

So why wld one suspect KP when Pradeep hd myriads of enemies?

5/8 It ws the TIMING of his killing which makes one suspicious. He ws killed during the LOCAL body elections in Kerala. No POLITICAL party wld want to commit suicide by getting rid of a nemesis during elections or immediately after that-- not even the commies!!!
So a few people have asked why I have this snarky response. What is my problem with this service? Well, to be clear, it’s not an issue with GraphQL, it’s an issue with direct coupling with underlying datasources #thread


The service as advertised makes it simple to map a GraphQL definition against a database. Now, what’s the problem with this? Well, the devil here is in the detail. But fundamentally it comes down to how important information hiding is to you.

Information hiding is the concept whereby you expose as little information as possible to external parties. Anything you expose over a boundary becomes part of the contract between provider and consumer.

Anything I hide inside a boundary can be changed freely. Anything I expose must be maintained if I want to maintain backwards compatibility.

Why is backwards compatibility important? If I break compatibility with external consumers of an interface, then such a change can lead to the need to lock step releases of consumer and producer, or even worse accidental breakages in prod.
Have you ever worked with pipelines in Laravel?!

Probably you have heard it while having an interview?

It has lots of use cases and one of its usage is middleware implementation in its kernel.

I'm going to write about pipelines and its design pattern.

thread 🧵

1/8

First of all Pipelines in Laravel are implemented based on chain of responsibility design pattern.

In chain of responsibility which is a behavioral design pattern we pass data to receivers and this receivers implement a specific interface that has a handler method.

2/8

Handler methods may deal with the passed argument and pass it to the next handler.

read more about the design pattern here :

https://t.co/XrJKXecyTv

Let's go for the main part :

3/8

Imagine we want to implement a twitter bot that gets some tweets around the trends and filter the words that we don't wanna show finally send as a new tweet from our bot.

About the filtering part, if it was me, I would implement it with pipelines.

Why?!

4/8

Currently I know exactly what words should be filtered but what about the future?! What if I want to add more filters, I will have to modify the source code and add more switch, if else statements, etc.

I want my code to be robust and maintainable keeping SOLID principles.