HNHacker News
TopNewBestAskShowJobs

dmmartins

11 karma · joined June 5, 2016

submissionscomments
dmmartins··on Show HN: Gawain – Require type hints on all Python variables
I write python code for more than 20 years and I never hit a bug that was related to a variable type. Really don’t understand all the type hint noise. To me it just makes the code harder to read
dmmartins··on AI Lazyslop and Personal Responsibility
why? the code output is the important thing, not how people get to it. you may need help understanding what the code does, or you may question why they didn't do it some other way you think is better, but if the code does what it's supposed to do, doesn't matter if the person dreamed about the solution, copy the answer from a google search or some AI did it.
dmmartins··on AI Lazyslop and Personal Responsibility
> What was your thought process using AI? > Share your prompts! Share your process! It helps me understand your rationale.

why? does it matter? do you ask the same questions for people that don't use AI? I don't like using AI for code because I don't like the code it generates and having to go over and over until I like it, but I don't care how people write code. I review the code that's on the PR and if there's I don't understand/agree, I comment on the PR

other than the 1600 lines PR that's hard to view, it feels that the author just want to be in the way and control everything other people are doing

dmmartins··on ChatGPT Health
I don't care either. Why should I? I go to the doctor once a year and it's always the same. Not much to do with that data
dmmartins··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
I get distracted by auto complete and they usually stay in front of the code, so I can't read it. I find it annoying when I'm pairing with someone that uses it and the auto complete/type hint/whatever pops up and covers most of the code I was trying to read

Working in a code base every day I end up creating a mental map of the code and the data, so it's not hard to find stuff I'm looking for. When that doesn't work, a global search or find/grep helps.

dmmartins··on Just Say No to JavaScript
I don't get the "type checking is the solution for the problems of the world". A lot of good things were/are written without type checking. Most of the problems I see in production have nothing to do with the wrong type being used or some forgotten required parameter. Also, typescript is just javascript with a mustache. It's the same thing
dmmartins··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Hello, I'm currently in the US with an H-1B and the company is sponsoring my greencard (the PERM application was recently filed). If I need to leave the US for one year, do I need to do anything? The PERM process should be done by then. One option would be terminate my employment and continue as a contractor. Can/should I do that? Thank you!
dmmartins··on Brazil's answer to the Sichuan pepper
The northernmost part of Brazil is closer to Canada than it is to the southernmost part of Brazil. So yes, there are places on the US that are closer to the Amazon than some places in Brazil

https://www.reddit.com/r/MapPorn/comments/ibwul3/the_norther...

dmmartins··on Brazil's answer to the Sichuan pepper
Brazil electricity is 60 hertz, so I guess it'd be a bit different :)
dmmartins··on The psychology of restaurant menu design
"We never regard customers as a source of income but as people we want to have a good time, whatever their budget.”

Yeah, I see.

dmmartins··on Ask HN: Open source local equivalent for Heroku
https://tsuru.io/