
Jason M
677 posts



16,582 OpenAI keys - all active as of this post, with credit deposited on the account for this project.
Y'all have my authorization to go crazy in this environment. Good luck, and please be kind to my wallet 🙏
gist.github.com/radkawar/3e3cf…

English

@haymigulersen @joshmanders @alwayslaunch Second this! FB is barely PHP these days (I’ve seen the source code).
English

@joshmanders @alwayslaunch Uhm, I like PHP but, you are giving out tons of misinformation, with extreme confidence. Hack has been and is the primary language for web at FB. And instagram runs on Django. And you’re also saying PHP caught up. Ok 😂
English

PHP powers three of the top 20 websites on the internet that I know of off the top of my head. Two of them are owned by a company who created and maintains the front end library that has become so ubiquitous that you only use it because you fear not being hirable without it, and powers every single porn site on this whole internet.
I assure you PHP is not low ceiling. It has a market cap larger than your whole country’s GDP.
WarrenBuffering@WarrenInTheBuff
@doertedev the only money in php is: 1) indie hacking for low ceilings (valid strat, not a criticism) 2) helping indie devs who underestimated their ceiling migrate off of it
English

So I started using SQLite as a database for my side project, and I want to share my experience so far:
1. It is fast. Like really fast. My architecture is a monolith written in Go (this is intentional, I sacrificed scalability to improve my shipping speed), and this is where SQLite shines. With a DB located on the local NVMe disk, a 5$ VPS can deliver a whopping 60K reads and 20K writes per second. No other database is even close.
2. Backups are simple. There is project called litestream, and it provides real-time replication to an S3 bucket. With this I get point-in-time recovery with 1 second replication lag for pennies/month.
3. Pairs well with monolithic architecture. Because SQLite is embedded in your backend, N+1 queries are not a problem, e.g. you can fetch a user, and then based on the user_id fetch more data from the database. The latency is so small so you can join directly in your application and speed up your shipping speed.
Overall I'm quite satisfied. SQLite seems amazing for all use cases that can fit on a single server.
The only tricky part is setting up the SQLite configuration right. The correct values for journal_mode, busy_timeout, and synchronous pragmas are essential to get good performance. Shall I write a post about configuring SQLite to run on a server?
English
Jason M retweetledi

I see a lot of platforms that want to charge you to generate text embeddings (vectors) for use in AI. But did you know there is a simple and free solution?
@weaviate_io provides Docker images to obtain vectors locally from text using any transformers-based model.
#vectors #ai

English

I just released a chat room example built on @pusher for real-time messaging. Uses presence channels to allow multiple users to chat at the same time and client events to communicate directly without a middle-man server running (except for auth).
github.com/fire015/pusher…
English

@MrPunyapal Yes all sites are open I have not found any site using this.
English

Hey Backend Engineers 👩💻,
Seeking your opinions on this🤔
Is it useful to encrypt requests and responses in APIs using preshared keys to prevent easy visibility in the network tab of browsers?
One of my clients has this requirement, but I kind of disagree with it for the following reasons:
1. Any key on the client side can be easily found by someone using simple reverse engineering.
2. It will impact performance on both the client and the server as encryption and decryption will occur for each request.
What are your thoughts?
#API #backend
English

Added to my list of Chrome extensions "Ad Blocker Notice Removal" from @jas_m
fred.dev/chrome-extensi…
It removes the popups telling you about your ads blocking.
English

@rejectedjokes @KmanWorldwide @EventimApollo Great show but totally the wrong venue for it, please do it somewhere like the comedy store next time it needs to be more intimate so that everyone can see!
English

LONDON.
TONIGHT.
HAMMERSMITH APOLLO.
DOORS AT 7PM.
SHOW AT 8PM.
NO OPENER JUST US DOING IMPROV.
THESE LIMITED EDITION SIGNED LONDON POSTERS AVAILABLE AT THE VENUE.
CANT.
WAIT.
LAST SECOND TICKETS AVAILABLE HERE- tegeurope.com/events/ben-sch…

English

“So why is Next.js so pushy about [React Server Components]? I can't avoid feeling that the new direction taken by Next.js is not designed to help developers, but to help Vercel sell React.” marmelab.com/blog/2023/06/0…
English

@fireship_dev I build and maintain an adblocker notice remover… github.com/fire015/adbloc…
English
Jason M retweetledi

Code reviews are a necessity. But they don’t have to be slow and unproductive. We’re sharing several 🔧 tools & steps we’ve taken at @Meta to make code reviews as fast as possible, without sacrificing quality. 1/3
ow.ly/ahAL50LGgyX
English

Shane Hawkins played like it’s his throne. Not a dry eye over here. Cheers Shane. #taylorhawkinstribute #foofighters #shanehawkins
English

Really nice experiment with @pyodide to encrypt a message client-side and decrypt it server-side using the same Python package... github.com/fire015/crypto… #python #cryptography
English

@ALRubinger I think putting Kubernetes on the homepage is mis-leading. You created Swift & WebKit so by putting Kubernetes in the middle of those it looks like you are claiming credit for creating that as well.
English

Allow myself to reintroduce...myself.
opensource.apple.com is the home of open source at Apple.

English

@davidkcowie @tweetthetube Nice idea but I think there are rules against having multiple accounts!
English








