@ijrussell TBH it's the non-coding interviews that I hate. "Tell me about a time when..." ... ugh. If I was good at improvising bullshit that makes me sound good I'd be applying for a sales role. At least in a coding interview I know how to code.
Did you know that the backend of #MetaThreads is built with #Python 3.10?
It's running on Instagram's #Cinder fork that includes a JIT, lazy-loaded modules, pre-compiled static modules, and a bunch of other interesting tweaks against vanilla Python 3.10.
https://t.co/RiiGfQSLMJ
"we asked ChatGPT to provide a joke a thousand times. We applied a predefined list of ten differently worded prompts..."
... with this methodology I think they were lucky to even get 25 distinct jokes, each prompt is going to have one most likely response. Doesn't tell us much
https://t.co/BNgO3CQMTA A fun read. Over 90% of ChatGPT generated jokes were the same 25 Jokes. ChatGPT is also overfitted to a particular joke structure.
#Python tip: It is easy to forget that zip() has a useful corner case with only one input iterable:
>>> list(zip('abc'))
[('a',), ('b',), ('c',)]
This is nicer than a list comprehension that builds 1-tuples:
>>> [(x,) for x in 'abc']
[('a',), ('b',), ('c',)]
"Speakers positioned close to your ears deliver rich Spatial Audio while keeping you aware of your surroundings." ...and annoying anyone else in the room
but there is no one else in the room, it's clearly a device only usable when alone
@andrewingram wow, and I thought I was getting some bad questions in interviews lately...
I think there must be a glut of good candidates around at the moment, that companies are relying more on these kind of, objectively-worthless, subjective tie-breakers - they don't know how else to decide
Interesting, I'd missed that Python gets a whole new generic syntax in 3.12 via the `type` statement. Looks very TypeScript-y.
I think Ruff should be able to do automatic upgrades to this new syntax.
All of the innovative edge compute services using SQLite... how do you cope with db migrations in absence of transactional DDL? seems like a big mess waiting to happen (happening to me RN in low-stakes side-project)
llm, ttok and strip-tags—CLI tools for working with ChatGPT and other LLMs
I've been putting together a fun suite of CLI tools for working with the OpenAI APIs - here's what I've got so far:
https://t.co/p4RQBb4AOz