Hacker Newsnew | past | comments | ask | show | jobs | submit | andsbf's commentslogin

Oh, so it isn’t about know to solve any leetcode?

Good to hear it


Reading the comments here I feel like… I have found my people. I love toying with the esphome and homeassistant.


> ... they would build at startup by processing their whole history of events (that was ridiculously slow for some of them)

There is a basic technique to solve this, you snapshot every "nth" event


Once you get married you get used to it :p


+1 for this, code should be layout to express business logic, abstractions that difficult the readability of the business logic are not worth it, it is a distractions. Yeah takes a while for juniors to understand when/how to use DRY.

Repetition is not a terrible evil, it has its place


As a Brazilian who migrated to another country, I mostly try to hide my background. It is great to see that some of our values, like compassion, are appreciated in other countries, and folks like Luiz André could show a bit of it


I have a reolink E1 hooked to my Homeassistant, the rstp stream seems to crash from time to time. I had never heard of neolink, would it help on this case?


`...If you call model.update(params) in Ruby, then it returns false if it fails and updates model.errors with what went wrong. Mutable state.`

This is Rails stuff, not Ruby


True, you could implement Ecto exactly in Ruby, except you'd be writing effectively Elixir and every library released that got close to this in the 15 years I've been doing Ruby has been either disliked or disregarded. Each with less contributor activity in their lifespan than a month of ActiveRecord attention.


Yeah, the example is Rails-specific but Ruby is full of methods that mutate existing state. Most of the time they're marked with `!` at the end, but not always.


I give up on job interviews as soon as I receive a ".docx" with instructions, and I'm taking about "tech" companies


I was interviewing for a job earlier this year, things were going well and I made it through various stages. I was scheduled to come in to do a face to face interview with the team, and the interviewer said "be sure to wear a suit".

I noped right out of that. Told them I was not interested.


It seems to be a directional technology, so I'm not sure it would be applicable to RC submarines


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: