135 karma · joined Nov 22, 2018 (8y ago) · 75 submissions
1.
ChatGPT and Work are merging soon, while ChatGPT Classic retires in January(9to5mac.com ↗)
2 points · by tmarice · 2w ago · discuss
comment 1mo ago · link · parent
comment 1mo ago · link · parent
I'm still on the fence for tests: I don't really like to write them, but the LLM-generated tests are pretty bad, even the frontier models on xhigh thinking. I usually generate them, but I don't really have the confidence they test anything except 1==1. Unfortunately it's hard to justify the time spent on writing them manually.
comment 1mo ago · link · parent
You pointed your clanker of choice to a dataset (or more realistically, asked it to find an appropriate dataset), and told it to build a interactive 3d model. You learned nothing from this project because no mental effort was spent beyond listing out features for your clanker, and some manual testing.
comment 1mo ago · link · parent
If you were a professional software developer, you a) learned to touch type, b) started using vim/emacs keybindings to navigate around the project, and c) used a framework which already abstracted away a large part of the menial work.
And going all-in on the loop and no-code-review nonsense in a project someone is actually paying you for, I can only assume means you're hoping not to be around when the slop tower collapses.
8.
AI-written speeches are taking over politics(economist.com ↗)
3 points · by tmarice · 1mo ago · 3 comments
9.
Interpreting Pangram(lucumr.pocoo.org ↗)
2 points · by tmarice · 2mo ago · discuss
comment 7mo ago · link · parent
I'm using Aerospace at the moment, and it gets pretty close, but still isn't as nice as i3.
comment 7mo ago · link · parent
I haven't seen any proof that the big ones (Google, CF) can be easily and automatically bypassed, and would love to learn more if someone has evidence to the contrary.
comment 7mo ago · link · parent
comment 8mo ago · link · parent
On a mid-size codebase, I fzf- and rg-ed through the code almost instantly, while watching my coworker's computer slow down to a crawl when Pycharm started reindexing the project.
16.
Asyncio is neither fast nor slow(blog.changs.co.uk ↗)
1 points · by tmarice · 8mo ago · discuss
17.
Reinventing Python's AsyncIO(blog.baro.dev ↗)
3 points · by tmarice · 8mo ago · discuss
comment 8mo ago · link · parent
Remote: Yes, Remote Only (EU/US overlap)
Willing to relocate: No
Technologies: Python, Django, Celery, PostgreSQL, SQL, Linux, Docker, React, FastAPI
Résumé/CV: https://tmarice.dev/tomislav_maricevic_cv.pdf
LinkedIn: https://linkedin.com/in/tomislav-maricevic
Github: https://github.com/tmarice
Email: hn@tmarice.dev
Product engineer with 10 years of experience. I love Python and Django (8 years and counting), have worked extensively with Celery and Postgres, have some React/Typescript experience, as well as some exposure to Docker, GitHub Actions and MLOps workflows.
I am comfortable owning products end to end: backend architecture, data models, async workflows, monitoring, and collaborating with business, product, and ops teams. Interested in roles that value ownership and strong engineering fundamentals.
comment 10mo ago · link · parent
* https://github.com/tbicr/django-pg-zero-downtime-migrations
* https://docs.gitlab.com/development/migration_style_guide/
* https://pankrat.github.io/2015/django-migrations-without-dow...
* https://www.caktusgroup.com/blog/2021/05/25/django-migration...
* https://openedx.atlassian.net/wiki/spaces/AC/pages/23003228/...
Generally it's also advisable to set a statement timeout for migrations otherwise you can end up with unintended downtime -- ALTER TABLE operations very often require ACCESS EXCLUSIVE lock, and if you're migrating a table that already has an e.g. very long SELECT operation from a background task on it, all other SELECTs will queue up behind the migration and cause request timeouts.
There are some cases you can work around this limitation by manually composing operations that require less strict locks, but in our case, it was much simpler to just make sure all Celery workers were stopped during migrations.
comment 10mo ago · link · parent
Re: Django is OK for simple CRUD, but falls apart on anything complex - this is just untrue. I have worked in a company with a $500M valuation that is backed by a Django monolith. Reporting, recommender systems, file ingestion pipelines, automatic file tagging with LLM agents -- everything lives inside Django apps and interconnects beautifully. Just because it's a Django app doesn't mean you cannot use other libraries and do other stuff besides basic HTTP request processing.
Recently I had the misfortune of doing a contract on a classic SPA project with Flask and sqlalchemy on the backend and React on the frontend, and the amount of code necessary to add a couple of fields to a form is boggling.
comment 10mo ago · link · parent
What can a career EM, or even an engineer-to-EM convert who has been out of the coding game for more than a few years, teach a non-junior engineer on their team?
I understand we can talk and exchange our concrete life experiences, same as I would talk to and listen to any other person, but the word "coaching" implies one party is superior to the other in one very concrete area.
comment 10mo ago · link · parent
> Companies have no way of linking different Masked Email addresses together to track you.
I have received the Fastmail support response, and since they do not consider this a vulnerability, I'll post it here:
- You have a Masked Email
- You have set up forwarding from your Fastmail account to another email service
- The other email service rejects the mail for some reason
- The bounce message goes back to the original sender, and may include the email addresses along the chain after the Masked Email address.
I'm assuming the bounce message contains the X-Resolved-To header mentioned in the other HN thread linked above.
comment 10mo ago · link · parent
I have created a ticket with the Fastmail support asking them more details about the vulnerability you mention in your thread, I’m curious to see their response.
comment 11mo ago · link · parent
There are bugs and issues, but because so many people are using it, you’re rarely the first to stumble upon a problem. We processed double-digit millions of messages daily with Celery + RabbitMQ without major obstacles. Regardless of what people say, it should be your first go-to.
comment 1y ago · link · parent
I never worked at a FAANG-ish company, and in the course of my 10-year career I spent most of my efforts on stopping the organizations from building the wrong thing in the first place, not on "making things scaleable" from the get-go. My view is that if you have product-market fit, you can throw money on the problem for a very, very long time and do just fine, so everyone in the org should focus on achieving PMF as soon as possible.
The question of "How would you scale a Django service to 10M requests per day" came up, and my answer to just scale components vertically and purchase stronger servers obviously was not satisfactory.