Viewing profile — diegojromero
diegojromero
HN member- Joined
- Sun, Mar 26, 2017, 12:58 AM UTC
- HN karma
- 20
- Public activity
- 20 items
- HN profile
- View on Hacker News ↗
About diegojromero
Take a look at my GitHub profile: https://github.com/diegojromerolopez
Recent public activity
-
comment
Comment #46286733
Sure, in my workflow I make use of mypy and ruff extensively (but ruff does not allow plugins). So I decided to create several plugins with the intention of improving the developer…
-
story
Ask HN: What's stopping us from having full static validation of Python code?
I have developed two mypy plugins[1][2] for Python to help with static checks. I was wondering, how far are we with providing such a high level of static checks for interpreted lan…
-
comment
Comment #45159631
Well, I was so worried about boilerplate that I created a Python decorator for avoiding polluting the code with so much of that ( https://github.com/diegojromerolopez/otelize ). Ab…
-
story
Ask HN: When it's too much observability?
I have been adding observability (via OpenTelemetry) to some web applications for almost a year. I tend to add a span for each function with its input arguments (if possible), besi…
-
comment
Comment #45084719
Thanks for your comment! It has given me an idea for a project: a simple library that provides a Python decorator that can be used to include basic telemetry for functions in Pytho…
-
comment
Comment #27513129
Interesting, maybe adding a decorator @freeze_final could be a good idea? I'll take a look at it later. Thank you for your input!
-
comment
Comment #27512876
I knew about dataclasses when I started writting gelidum, but I wanted to make the immutable objects be from any classes, those under my control or not. Having said that, I think d…
-
comment
Comment #27512628
I'd really love if that could checked statically. Performance is bad, I mean, all params are deep-copied because I assume frozen then "inplace" is not intended as they could be obj…
-
comment
Comment #27512615
Yes, you're right with your concerns. I added this feature yesterday. Note the default value is "exception". With "nothin" I was thinking in passing some frozen object through a pi…
-
comment
Comment #27512587
Exactly my main issue. I see this code as something that asserts that an object is not modified by that "bad" code, but I fail to see more use-cases. I've been thinking about doing…
-
comment
Comment #27512562
Interesting idea, instead of a deep clone, would it be something similar to the copy-on-modify pattern?
-
comment
Comment #27507799
Per advice from Daniel from HN (thank you!), I have reposted this Ask HN I made earlier about immutability. [1] I was thinking the other day about my days working with Ruby On Rail…
- story
-
comment
Comment #27504168
Thank you, going to take a look to that talk!
-
story
Ask HN: Thoughts on immutability in programming languages?
I have developed a proof-of-concept Python package to freeze objects [1] I've developed it for the fun of doing it, without any useful use-case in mind, and to tell you all the tru…
-
comment
Comment #20922825
Could you expand on why do you prefer ActiveRecord over Django ORM? When I started with Rails I was so frustrated with ActiveRecord that I develop some of the Django QuerySet API a…
-
comment
Comment #17709135
'The future of Programming' by Bret Victor ( https://www.youtube.com/watch?v=8pTEmbeENF4 ). Seems a pun about OP title but it really is related with his/her question. Take a look a…
-
comment
Comment #17635203
I'm working in a Django's Queryset port to Ruby on Rails: https://github.com/diegojromerolopez/babik I really miss Django and its way of making queries and I think it could be a go…
- story
-
comment
Comment #13961870
Besides what others have commented, I'd like to point some more metrics that help you model your board: - Task classes. - Lead time. - Cycle time. - Number of backward movements fo…