HN user

vermon

49 karma

[ my public key: https://keybase.io/maido; my proof: https://keybase.io/maido/sigs/6QYHDyEaHWaTSLB37JMCDjVDRf7zJh4INAA3CVHgAPA ]

Posts2
Comments27
View on HN
Having Kids (2019) 4 months ago

I'm 6 months in and it has definitely ended my life as it was and nothing is the same. I'm pretty lucky that my wife gives me almost 16 hours of free time daily, from which 8 I work and 8 is for sleep. If I want to work out or do something else I need to steal it from the sleep time. It's pretty early though so I might be looking back in a few years and think that it was not that bad actually :)

I've been following this before it was made public and I'm a big Zig fan so I would definitely switch to this, but I've tried and failed many times. Currently it just keeps crashing multiple times (on three different machines) each day on my mac and the quick terminal doesn't support full screen mode (it still shows the menu bar). I could live with the menu bar showing, but because of the constant crashing I'll wait for a bit and check back in a few months.

Read your code 12 months ago

Part of the definition of vibe coding is not looking at the code. If you read code you are not "vibing" anymore, you are just using AI tools to write code.

Very cool! I thought maybe I'll take a crack at building a better iOS application for these things, but then I remembered that for the Lightning connector you needed to get the permission of the manufacturer if you wanted to interface with a device (tried that once with a Lightning Yubikey and luckily they didn't have any objections). Is this not an issue anymore with USBC iPhones?

SSH Remoting 2 years ago

I would switch over to Zed for all my non-JVM needs if only it would have a debugger support. Currently it's filling a role of a text editor pretty well though.

Make sense. I guess it could also be a flag for the audit module where you can toggle if SELECT permission for auditing includes the SELECT clauses that need RowShareLock as well or not.

What does a write in this context mean? I still need to execute the actual update clause to change the relevant data.

EDIT: Since you control object auditing by granting/revoking permissions to the relevant relations I don't think it's possible to have another category there since Postgres itself doesn't differentiate between UPDATE and SELECT FOR UPDATE on permission level

pgAudit is pretty cool, but it's a bit of a hassle for us currently because it keeps logging SELECT FOR UPDATE's even though SELECT is not allowed for the auditor, so if you implement stuff like simple queues with continuous polling it fills up the audit log with junk pretty fast. I opened a PR though so hopefully it gets fixed at some point.

Seems like it's out of capacity:

    An error occurred (VcpuLimitExceeded) when calling the RunInstances operation: You have requested more vCPU capacity than your current vCPU limit of 64 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit.
Maybe something like https://leaningtech.com/webvm-server-less-x86-virtual-machin... would be cheaper and more reliable for this kind of thing?

I've had issues running it over wireless so instead I connect the computers with an ethernet cable directly and configure static IP's. Haven't had any issues. Luckily my PC has two NICs and the laptop uses wifi anyway so the ethernet port is unused.