Redowan Delowar(@rednafi) 's Twitter Profileg
Redowan Delowar

@rednafi

swe @woltapp

ID:4004708474

linkhttps://rednafi.com calendar_today24-10-2015 17:55:06

6,4K Tweets

1,0K Followers

405 Following

Redowan Delowar(@rednafi) 's Twitter Profile Photo

It’s been 7 months since I’m living in Berlin. I still can’t get over the smell of cigarettes & piss in the air.

There are definitely nicer places & the weather is brilliant now. However, the constant smell becomes even more evident when I go to another city & then come back.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

Playing the dumb tourist /immigrant is the biggest uno reverse card you could play when facing hostile locals in a foreign land.

For me, 'Entschuldigung, ich spreche kein Deutsch' has been as effective in Germany as 'Sorry, no English,' with a fake Asian accent in the US.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

While it's unfortunate to have two constructs—TypeGuard and TypeIs—with slightly different behaviors, I'm glad that the latter is less surprising.

rednafi.com/python/typegua…

account_circle
Adam Johnson(@AdamChainz) 's Twitter Profile Photo

✍️ New post covering a “diffing” unit test in Python, which checks copy-paste-tweaked code is in sync with the upstream library.

I used this technique recently on a Django upgrade and I’m curious if anyone else has done similar.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

Cutesy names for different proprietary services are the worst.

They're not even public-facing and only add to the confusion.

Not to mention how ridiculous it sounds when you have to say that Narwahl couldn't connect to Pluribus because PeepingTom crashed.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

People are sharing screenshots in the main tweet while linking the URL in a thread to avoid Twitter's penalty against external resources.

Well played, folks. Well played.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

Bruno Bruno is an absolute delight to use. Zero bloat and somewhat Postman compatible.

Importing the environment variables was a big PITAS, but well worth it.

Postman & Insomnia App are two canonical examples of gradual enshittification of software.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

Apart from 'delve,' another word ChatGPT abuses is 'therefore.'

Even when you explictily ask it not to use editorial lingua, there's just no escape from 'therefore'.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

This is one of those talks by Brandon Rhodes that I rewatch & share again & again, especially when dealing w/ enterprise .

The whole reason I like writing Go & Python is b/c the culture is anti-enterprise. Yet, DI, OO, & pals sometimes catch up.

youtube.com/watch?v=DJtef4…

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

I've always found the behavior of TypeGuard in a bit odd.

If I've already narrowed the type in the 'if' branch, the 'else' should exclude it from the union.

Now there's a newly accepted PEP that introduces TypeIs to fix it. Weird but okay!

peps.python.org/pep-0742/?v=1

I've always found the behavior of TypeGuard in #Python a bit odd. If I've already narrowed the type in the 'if' branch, the 'else' should exclude it from the union. Now there's a newly accepted PEP that introduces TypeIs to fix it. Weird but okay! peps.python.org/pep-0742/?v=1
account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

I want to inject myself with cyanide when I see an injector injecting some magic into my stateless classes.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

I feel like the abundance of GPTs has made people worse writers in general.

Many don't even read the stuff that comes out of the chat sessions before hitting send.

The result is boilerplate-filled, cringy prose that no one in their right mind would have written themselves.

account_circle
Redowan Delowar(@rednafi) 's Twitter Profile Photo

Neat! Now you can now deploy Python to Cloudflare Workers.

This is a great overview of how Pyodide & Wasm tie things together under the hood. 2 downsides:

- ~1s cold start time
- Having to write `from js import Response`. I wish to fully ditch JS.

blog.cloudflare.com/python-workers

account_circle
Aaron Francis(@aarondfrancis) 's Twitter Profile Photo

Your personal website is a big part of your luck surface area and I think it's ok to spend a lot of time working on it

(Just don't spend all your time redesigning it every two weeks)

account_circle