HNHacker News
TopNewBestAskShowJobs

throwaway44444d

9 karma · joined October 16, 2023

submissionscomments
throwaway44444d··on Making PostgreSQL tick: New features in pg_cron
At the risk of sounding like a Golang/inteface{} "you're using it wrong" defender, most of the objection to PL/pgSQL is because people don't know what they are doing. They look at assignment, looping and manipulation and think this would be much easier in javascript or python. However they've usually embarked on the wrong route at this point, and if they knew how to do join on UPDATE, or use CTEs, or windowing they wouldn't need a big ugly block of imperative code, 90% you see a FOR ... the whole block can be collapsed to a single more performant update/upsert statement. That said I still have 1000+ line pl/pgsql functions and the language constructs could definitely be improved, just a little sugar please...
throwaway44444d··on Visualizing American inflation across eight categories
That's still a good price. I found a similar thing in Spain for the staple drink of coffee was e1-e1.50 everywhere you went in the Valencia region, didn't matter if high-so or not, arty farty restaurant or workmans cafe, if you wanted a black coffee with a little biscuit on the side it would be under $2 anywhere you went.
throwaway44444d··on Visualizing American inflation across eight categories
Really, that's a real shame if it is. I havent been back the US since late 2014. I remember walking around Manhattan near Times Square I think, just exploring and seen so many signs for $1 slice of Pizza, I think it tad more with some sales tax thing applied when I had one, another breakfast time I got bagel with cream cheese from one of the vans I think near one of the big banks near wall street I think $1.50-$2.00. I was staying in a top-end hotel courtesy of a company I was interviewing with but unsure of expense policy I just got the food around and about myself and found it extremely cheap if you were a little careful. How much has this changed? My memory of facts could be a little off, but I always had US down for cheap plates of mountains of food, and takeaways that were next to nothing price wise.