aanari | 2 years ago | on: Show HN: I built a multiplayer voxel browser game engine
aanari's comments
aanari | 6 years ago | on: Show HN: Instantly make any Netlify form PCI DSS compliant
aanari | 7 years ago | on: Ask HN: Interest in biotech investing course?
aanari | 7 years ago | on: Ask HN: Has anyone managed to regain their attention span/ability to focus?
www.getmindsync.com
DM me if you would like to try some for free.
aanari | 8 years ago | on: Cowboy 2.0 released
aanari | 10 years ago | on: ShaderFrog: Create complex, beautiful shaders with no code
aanari | 11 years ago | on: PostgreSQL Data Migration Tips
aanari | 11 years ago | on: PostgreSQL Data Migration Tips
https://gist.github.com/aanari/349c7d97ed50c6f69930#file-bat...
By creating a separate function for the locking and updating of rows, we ensure that the `BEGIN/END` transaction is handled per iteration rather than at the very end, so we only lock rows while they are being processed. Since Postgres does not support nested transaction blocks, calling a defined function from within an anonymous function block seemed to be the easiest and clearest path to achieve this.
aanari | 11 years ago | on: PostgreSQL Data Migration Tips
aanari | 11 years ago | on: PostgreSQL Data Migration Tips
aanari | 11 years ago | on: PostgreSQL Data Migration Tips
aanari | 12 years ago | on: Lessons learned publishing my first CPAN module
aanari | 12 years ago | on: Lessons learned publishing my first CPAN module
I recommend App::pmuninstall for this task:
pm-uninstall [options] Module