Teri Beckham
3.9K posts


Deadline is tight, therefore, ORMs or row-by-row inserts are not an option.
We can use COPY (Postgres bulk load command) because it is way faster than INSERT. The only (and big) caveat is that it fails on first malformed row. Thus, we have to pre-validate the CSV (column count, data types, escape characters, etc.)
Split the file into 10-20 chunks and load each chunk in parallel using COPY inside a transaction. If a chunk fails, log the error, fix the malformed rows manually and retry only that chunk.
We should use a staging table and load everything into staging_table, then run a single INSERT INTO final_table SELECT ... with deduplication. This way we never corrupt the final table.
Monitor progress with pg_stat_progress_copy. And most importantly – test the pipeline on a 1M row sample first.
English

@seraleev This is probably because of that guy who made the I'm rich app, and a ton of idiots paid $1,000 for it.
English

Apple can remove your app from sale for “irrationally high” pricing
I personally know a founder who spent 2 months trying to get back into the App Store. Subscriptions kept running, but there was no new revenue. He never recovered to the same level.
Will@athcanft
it's insane that apple can just reject your app for "irrationally high" pricing
English

@TeriDBeckham Yes, it's a great analogy, just like Unity runs its performance critical core in C++ while devs script in productive C#, AI frameworks run heavy tensor math and CUDA kernels in optimized C++/CUDA while letting you build, experiment, and iterate fast in Python.
English
Teri Beckham أُعيد تغريده

I was in class last week. One of my students raised their hand mid-lecture and asked something that stopped me for a second.
"Why is every AI tool built on Python? C++ is faster. Rust is faster. Even Java is faster. So why Python?"
Honestly it’s a fair question. And the answer reveals something really interesting about how the AI industry actually works.
Let me explain this properly. 🧵
English
Teri Beckham أُعيد تغريده

AI is amazing. I am extremely pro-AI
1. It has lowered the barrier of entry for programmers, resulting in hundreds upon hundreds of slop applications vulnerable to everything. This is job security.
2. AI influencers keep saying AI is going to destroy cybersecurity. This is good. AI influencers don't understand the size and scope of cybersecurity, they think it's just smashing a keyboard and making cat noises. This makes people less likely to enter our field, making us more valuable, making us more money. It's job security. Keep telling people cybersecurity is dead.
3. It's given us a new area of research: AI security
4. It's made task automation easier with slop Python scripts.
In summary, cybersecurity is dead. DO NOT try to work in this field. It's all over. Cybersecurity has been solved!
English

@pati_marins64 The goal was/is mutual destruction of the regional powers, who could potentially pose a threat (economically) and/or Militarily, to Israel. Iran & the Gulf states were positioned to engage us mutually destructive conflict, allowing Israel to be the sole power in the region.
English

@gorgeousb82 @pati_marins64 This is the whole affair. It's crazy how so many think it's more complicated than this.
English

My fact-based reading is that the KSA, together with Bahrain, the Emirates, and Kuwait, have chosen a side in this war by allowing the use of their territory and airspace for attacks on Iran.
The Saudis went even further by deploying their own tanker aircraft to refuel American and Israeli jets en route to Iran.
Ansar Abbasi@AnsarAAbbasi
Credit also goes to Saudi Crown Prince Mohammed bin Salman for showing extraordinary restraint in helping avert a conflict between Iran and the Gulf countries
English

@_hxmmed Instead of trying to remember, you immediately look up things.
The act of attempting to remember things strengthens them in your mind.
A simple solution. Attempt to use your memory, even if you fail, each time you do this is will strengthen the pathways in your mind.
English
Teri Beckham أُعيد تغريده

They say money can't buy happiness.
Then how do you explain this?
NO CONTEXT HUMANS@HumansNoContext
I’ll take 8 please, thank you.
English

@charliermarsh @kolemannix What happens when the next generation of people who can actually review code disappears because all of the juniors who would become seniors only know how to vibe code?
English

@kolemannix Hahah that's true! But the burden of review grows and grows as the volume of code (output) increases...
English

@ibn_wittig Crazy thing is I've read almost this same post from 30 other people.
English

The most dangerous part of Artemis II mission isn’t going to the Moon but coming back
After the flyby, astronauts in the Orion spacecraft will be heading toward Earth at about 25,000 mph.
Now imagine this:
You’re trying to enter a tiny door but you can't see it clearly, If your angle is just a little off and too steep then you burn up, too shallow and you bounce back into space.
No brakes. No turning back.
And all that stands between them and disaster? A heat shield taking temperatures hotter than lava.
Crazy thing. The math and physics needs to be 100.
English









