News for hackers. Stuff that matters.

qatanah

Re:OpenAI releases image generation in the API on Thursday April 24, 2025 @07:31PM (#43788653)
All I can think of is image generation of potential targets like ships, airplane, airfield and feed them to their satellite or drones for image detection and tweak their weapons for enhance precision.
Re:Ask HN: Who is hiring? (April 2024) on Tuesday April 02, 2024 @08:55AM (#39905190)
Your hiring page is so cool! Love it!
Re:Ask HN: Did you encounter any leap year bugs today? on Thursday February 29, 2024 @10:22PM (#39558203)
oh no wonder they had a billing outage.

https://www.cloudflarestatus.com/

Re:Just use Postgres for everything on Saturday December 10, 2022 @12:59PM (#33934874)
You offload some load like pg connections from postgres to redis. Your pg shared buffers would also be available for other stuff.
Ars longa, vita brevis

"skilfulness takes time and life is short"

https://en.wikipedia.org/wiki/Ars_longa,_vita_brevis

Re:Redis vs. KeyDB vs. Dragonfly vs. Skytable on Sunday June 19, 2022 @12:08PM (#31800617)
Also if you can add amazon memory db to yor list of benchmarks, would also be interested to know more.

https://aws.amazon.com/memorydb/

no wonder my builds are all failing..
Re:Building a fullstack app with Flask and HTMx on Tuesday March 29, 2022 @08:02PM (#30849934)
Something I've wanted to comment on this as well. It's best to use render_template() when rendering the views so it doesn't tangle w/ a lot of python controller logic.
Re:Postgres Auditing in 150 lines of SQL on Wednesday March 09, 2022 @11:28PM (#30623221)
I've been using my own audit trigger for 3 years now.

https://github.com/cmabastar/audit-trigger

It uses the old and tested http://wiki.postgresql.org/wiki/Audit_trigger_91plus

but with JSONB instead of HSTORE, and automatically creates partitioned tables by month (Requires PG11+).

Re:We saved millions in SSD costs by upgrading our filesystem on Tuesday November 09, 2021 @07:42PM (#29169623)
curious to know what instance type are you using for AWS? Are they i3 instances?
Re:How Laravel Livewire works on Wednesday October 13, 2021 @08:41AM (#28851370)
I'm loving htmx! as backend developer this just eliminates all the js monstrosity of packaging, dependencies and deployments..
Re:MeiliSearch: A Minimalist Full-Text Search Engine on Sunday August 15, 2021 @11:44AM (#28189678)
We are using it on our PoC products. It's really great and fast! it removes all the traction of doing an autocomplete search.

https://correlate.meetglimpse.com/

If you're doing some test products and just want to have a search that is easier to setup than ES. Meilisearch is a great alternative.

Re:Windows 96 on Tuesday July 27, 2021 @09:33PM (#27979492)
Looks cool!

Where is my minesweeper and freecell?

For simple task queues, yes pg is ok. For high loads, redis is still better as PG generates a lot of WAL & connection overhead.
Using a different setup for deploying client side static html.

- React/ Js framework

- Deploy Static Files to S3

- Cloudfront for cdn

- Cloudflare pointing to cloudfront cdn

- Cloudfare Page rules for protected sites / no need create login/auth

- Flask

- Postgres

Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @11:01PM (#26189529)
Thanks for the hardwork zzzeek! I've been using sqlalchemy for 5+yrs now and it's great to work with!

I like SQL and I like the ORM. When things go tough like doing complicated JOINs or OLAP. I just go raw sql. If it's OLTP, updates and simple lookups, ORM makes the code readable.

The alembic migration is also great! I can craft the models to design with postgres features (index, multi key index, pk uuid) and etc..

I'd would love sqlalchemy to invest more on scaling. Although scaling is an entire book of discussion. Not much resources are there for handling multiple db, sharding (maybe too much to ask).

My opinion is, love SQL and Love the ORM. You'll need both to appreciate it's power. It's like learning VIM, a long term investment tool and hard to :wq

Not the world, but the universe!
Re:An Introduction to ZFS on Friday November 20, 2020 @06:58AM (#25159611)
Loving how zfs is so easy once you get a hang of it.

I'm trying to test it out on an i3a.large instance with 1.2TB NVME ssd and benchmarking postgres on it. Trying to move out of RDS since time to time I have an heavy iops scripts.

Only thing left is doing zfs snapshots next for my backups. zfs snapshots or pg_dump snapshots? I wonder what's better.

By any chance did you get inspired from this thread?

https://news.ycombinator.com/item?id=24157180

Re:PostgreSQL 13 on Thursday September 24, 2020 @09:29AM (#24578407)
Great work postgres team!
Can confirm the experience, I had to work on a company before with similar tech using Django.

https://github.com/bernardopires/django-tenant-schemas

All I can say, that it was a nightmare to do deployment and migration and some backward incompatibility features restrained us in some ways.

The company valued data isolation as a priority rather than ease of developing it. Hard to work with but great for data isolation.

Re:Ask HN: Do you still use MongoDB? on Saturday May 23, 2020 @10:56PM (#23288714)
Exactly it's a bit more of work does make you prone to mistakes. This is what happens when you rewrite transaction on your application. See what happens with to a btc exchange using mongo who got hacked.

https://dzone.com/articles/mongodb-bitcoin-how-nosql (article is 2014)

I'm a bit outdated with mongo since 2.4-2.6 . It's a bit traumatic and i'm never coming back to it.

If in case I'll need a high atomicity and consistency for financial transaction i'll just use postgres with SERIALIZABLE transaction isolation. This solves everything.

Checkout the redbook.io it's a bit outdated but you can see from stonebreaker's discussion that nosql + sql will merge, which is what happening or happened right now. Mongo having transaction, and SQL having json datatypes.

Re:Ask HN: Do you still use MongoDB? on Friday May 22, 2020 @07:17AM (#23270840)
back when mongo was around 2.6x, they had a global write lock.

Also, you'll encounter more problems with mongodb if in case you need transaction. You should check out more discussion here on db systems.

http://www.redbook.io/

How does Thinkpad compare to the trackpad of mac nowadays?

The only thing that makes me use mac is the trackpad and retina. I have 15" late 2015 mbp, so far the best mbp out there w/o the butterfly keyboard.

Im still considering to go back to thinkpad for my next laptop since i had t42p, t60 before.

Re:Ask HN: What projects are you working on now? on Sunday March 22, 2020 @04:38AM (#22653589)
working on a graph tool similar to google trends but for reddit. It's still in alpha stage.

https://reddit-trends.now.sh/remote%20jobs

Re:Memcached 1.6 on Monday March 09, 2020 @07:35AM (#22524574)
Redis tests are written in tcl! both perl and tcl are awesome!
Angular - Still lost track w/ their versioning. React - More popular JS Postgres - Getting better and better Svelte - Might make it. K8s - Too much stuff going on. Jump w/ care.
Re:If this project is dead, just tell us on Friday December 13, 2019 @09:00AM (#21781529)
I think it applies to all open source projects.

Older ยป