HNHacker News
TopNewBestAskShowJobs

izietto

1,628 karma · joined October 22, 2012

[ my public key: https://keybase.io/mdesantis; my proof: https://keybase.io/mdesantis/sigs/bEBGDNIBWtugajFp05yGWnGLrntIFh_u7BK_o2zeJqM ]
submissionscomments
izietto··on Fish 4.0: The Fish of Theseus
I can relate with your comment a few years ago, but later the situation drastically got better, while not perfect yet (i.e. I still need a custom autocomplete function for aws). You might want to give it a try now anyway.
izietto··on The intricacies of implementing memoization in Ruby
Fibonacci never stops surprising!
izietto··on Optimizing Ruby's JSON, Part 1
This is my concern: https://github.com/vigetlabs/olive_branch/blob/8bd792610945f...

No guarantee it's going to work with Ruby > 2.7 || Rails > 6.1.

When I upgrade components I want to know other components are not going to break anything.

izietto··on Optimizing Ruby's JSON, Part 1
This one? https://github.com/vigetlabs/olive_branch Looks interesting, unfortunately its latest update is from 3 years ago
izietto··on Optimizing Ruby's JSON, Part 1
First, if the author is going to read this, let me thank you for your work. As a Rails developer, I find the premises very relatable.

Again, as a Rails developer, a pain point is different naming conventions regarding Ruby hash keys versus JS/JSON object keys. JavaScript/JSON typically uses camelCase, while Ruby uses snake_case. This forces me to perform tedious and often disliked transformations between these conventions in my Rails projects, requiring remapping for every JSON object. This process is both annoying and potentially performance-intensive. What alternative approaches exist, and are there ways to improve the performance of these transformations?

izietto··on Ruby Video – On a mission to index all Ruby conferences
Very much addressed by tools like bullet, prosopite, strict_loading and others
izietto··on Htmx 2.0.4 Released
I'm not fine with breaking changes in a patch bump, otherwise it means versioning is useless
izietto··on Advent of Code 2024
What I hate about AoC is the tons of bullshit about Christmas elves I have to tolerate before getting to the damn point. I mean, I understand they want to make the context entertaining, but sometimes it's like reading a Jira card written by a junior product owner!

BTW I love AoC for all else

izietto··on Focaccia: A Neolithic culinary tradition dating back 9k years ago
I share the same doubt. Also, I wonder how the scientists came up with the exact temperature :D
izietto··on MailCatcher runs a super simple SMTP server
I see mailcatcher repo has fairly recent commits, what do you mean by "isn't being maintained anymore"?
izietto··on Why GitHub won
I think GitHub won because its UI/UX it's the best among competitors-and I don't mean it's perfect, just that it's the best among competitors.
izietto··on Inertia.js – Build React, Vue, or Svelte apps with server-side routing
Yes, It works with any backend
izietto··on Full text search over Postgres: Elasticsearch vs. alternatives
Is this distributed as a PostgreSQL extension as well?
izietto··on Google fires employee who protested Israel tech event, shuts forum
> propaganda news outlets

Is ONU considered a propaganda news outlet nowadays? https://www.ochaopt.org/content/hostilities-gaza-strip-and-i...

izietto··on The hater's guide to Kubernetes
Would you believe that there is a company that is using cdk8s to handle its K8S configuration, and that such "infrastructure as code" repo ("infrastructure as code", this is the current hype) counts 76k YAML LoCs and 24k TypeScript LoCs to manage a bunch of Rails apps together with their related services? Like, some of such apps have less LoC.
izietto··on The hater's guide to Kubernetes
> Hand-writing YAML. YAML has enough foot-guns that I avoid it as much as possible. Instead, our Kubernetes resource definitions are created from TypeScript with Pulumi.

LOL so, rather than linting YAML, bring in a whole programming language runtime plus third party library, adding yet another vendor lock, having to maintain versions, project compiling, moving away from K8S, adding mental overhead...

izietto··on Write code for the web
> Google has a bug. I have dynamic light/dark mode, and if I search on Google at night, the first page shows up in light mode. [...] In the morning, my laptop automatically switches back to light mode. [...] The people like me who use alternate search engines like DDG have already moved on years ago. The rest of the (overwhelming) majority is stuck with Google.

You don't move from Google for this bug because there's an easy workaround: F5 (aka refresh the page)

izietto··on Ruby's exceptional creatures
When I was young, and I had zero experience with programming, I was more comfortable with Ruby rather Python because:

1. significant whitespace was so hard to grasp. I was a beginner so I just needed to write awful code

2. Ruby was so "pure" from the OOP perspective that I had one thing less to think about: method calls start from object instances, period. Python has "exceptions" to this rule that made me confused (f.e. `len` in Python is a global function, while in Ruby is `array.length`)

3. I found Ruby matching more to English language

Later I found that Ruby has deeply obscure islands (metaprogramming mainly, but also exotic syntax coming from Perl), but I was already sold to the language

izietto··on How to Install Your Python Version on Ubuntu
(asdf)[https://asdf-vm.com/] fully supports Python and almost any other language. I've been using it for Ruby, Python, Elixir, and other languages for years and never looked back.
izietto··on The invention of a new pasta shape (2021)
That's actually so cool. As Italian, I've just realized I take pasta shapes for granted. They're actually something that can be invented and that involves plenty of creativity and passion.
izietto··on Italy Suspends Funding to Unrwa
Italian politics is getting worse and worse. We're such a clown country.
izietto··on GitHub having issues today
you mean that most of the other popular huge Rails companies (GitLab, Shopify) use PostgreSQL? Basecamp uses MySQL tho
izietto··on GitHub having issues today
Why people think it can be related to Rails when there are tons of companies out there using Rails not affected by this degradation?
izietto··on PostgreSQL internals: Things to know about update statements
ActiveRecord supports it: https://api.rubyonrails.org/classes/ActiveRecord/Locking/Pes...
izietto··on Hn.js
This. I'm fine with everything else, but I see no reason for making a 150 LoC file obscure just because of lazy naming.
izietto··on Tailwind vs. Semantic CSS
What about a mix of them? Which is actually something Tailwind expects you to do at some point, AFAICT: https://tailwindcss.com/docs/reusing-styles
izietto··on Show HN: "Interactive" Italian Poetry for English Speakers
I'd love to have it in languages that I don't speak with a deep poetry history, like Japanese, Indian, Persian, languages from Africa... but I guess the biggest problem there is not the infrastructure, is knowing the language.

But also Latin would be interesting, Latin has tons of great poems, even funny ones (I still remember Marziale :D )

izietto··on Show HN: "Interactive" Italian Poetry for English Speakers
Your voice is not terrible, I enjoyed it quit a lot. By the way kudos to you, I'm Italian and that was interesting for me too! I'd love to have it in other languages too. Oh, and also I love the website vibes! The right mix between 2000 websites and contemporary elegance!
izietto··on Lodash just declared issue bankruptcy and closed every issue and open PR
It depends. It isn't the case for Ruby, for example.
izietto··on TikTok fined €345M for breaking EU data law on children’s accounts
SAP isn't a social platform, it isn't even B2C, so they don't really relate to GDPR
← PreviousPage 2 of 17Next →