News for hackers. Stuff that matters.

andsbf

Re:Good CTE, Bad CTE on Tuesday March 31, 2026 @12:43PM (#47590070)
An issue that has arise for me in some situations is that for more expensive/reporting queries we point to a db replica, where temporary tables are not an option.
Re:What Makes You Senior on Friday December 19, 2025 @04:56PM (#46331411)
Oh, so it isn’t about know to solve any leetcode?

Good to hear it

Re:My fan worked fine, so I gave it WiFi on Wednesday November 12, 2025 @03:36AM (#45897759)
Reading the comments here I feel like… I have found my people. I love toying with the esphome and homeassistant.
Re:Moving from relational data to events on Saturday December 16, 2023 @03:37PM (#38667451)
> ... 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

Re:Landlords Are 'Handing Back the Keys' with Offices 23% Empty on Tuesday December 12, 2023 @02:20PM (#38616962)
Once you get married you get used to it :p
Re:Goodbye, Clean Code on Friday December 08, 2023 @06:28AM (#38567741)
+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

Re:Luiz André Barroso has died on Thursday November 23, 2023 @09:12PM (#38400034)
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?
Re:Switching to Elixir on Thursday November 09, 2023 @11:00PM (#38214890)
`...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

I give up on job interviews as soon as I receive a ".docx" with instructions, and I'm taking about "tech" companies
Re:Device offers long-distance, low-power underwater communication on Thursday September 07, 2023 @07:02AM (#37417184)
It seems to be a directional technology, so I'm not sure it would be applicable to RC submarines
Cats took over the internet a few years ago, now they are going after the phones
Re:List one task, do it, cross it out on Saturday June 10, 2023 @11:07PM (#36277599)
Geeks gonna geek it
Re:Events: Fat or Thin? on Sunday October 30, 2022 @11:12AM (#33395124)
When will people settle on the fact that there is no silver bullet? It's always a matter of trade offs according to the system needs.
Re:Uncle Bob and Silver Bullets (2017) on Tuesday July 05, 2022 @04:27PM (#31993276)
I'm pretty on the same page as you.
Re:Show HN: Warp, a Rust-based terminal on Tuesday April 05, 2022 @06:58PM (#30926220)
I still to see something that is not "slammed" here on HN.

I read this article the other day that people with "technical background"[1] have this "instinct" to quickly look for "wrongs/fails" to avoid failures, issue here is, we express our selves terribly and most of the time it will go blunt on comments. This lead a whole discussion on the topic, some people it was the right thing to do, and others thought that we should be more human/kind to each others.

The article above was actually about Pull-Request/Code-reviews, and how some people will mostly scrutinise others people work to feel like a hero.

[1] I believe most of us here have a "technical background", who else uses a "ugly forum"

Re:Ask HN: What has been your single best investment? on Tuesday March 29, 2022 @04:09AM (#30840046)
Good ape
Thanks, that was my point but I didn't have the energy to write it as well as you did. Appreciate it
Maybe Typescript?
Here:

'...some people in the twitter comments talking about this as a security issue...'

But it is Tesla, so people has to make a drama about it
Re:Hooks Considered Harmful on Monday March 21, 2022 @03:49PM (#30758855)
Take a look at useReducer(no 3rd package, part of the React api)
Indeed great reading
- Other peeps careless code

- Stubborn juniors

I would say that the "Brazil cost" referred by the economists most probably means bribe.
Re:The unbearable fussiness of the smart home on Wednesday November 24, 2021 @08:21PM (#29337251)
Interesting, as English is my second language I always thought that the clunk behaviour was due to my accent. But reading this thread seems like it is not, google assistant is clunk