HNHacker News
TopNewBestAskShowJobs

elboru

1,552 karma · joined November 8, 2010

;
submissionscomments
elboru··on Gold Grows On Eucalyptus Trees (2013)
They are also great against mosquitoes
elboru··on Gold Grows On Eucalyptus Trees (2013)
We used to have tons of eucalyptus trees in my hometown in northern Mexico. Then an unusual winter arrived 10 years ago, temperatures dropped to -24 Celsius. All the eucalyptuses died and with them a big percentage of our vegetation and shade. I don’t know why we are so obsessed with foreign flora in our cities.
elboru··on Two-minute battery changes push India’s delivery riders to switch to e-scooters
Yeah, let’s impose our benevolent superior ideas on the ignorant majority. I’m sure no one has tried that before and it has never lead any country into dictatorship.
elboru··on Crash: China Eastern B738 near Guangzhou on Mar 21st 2022
In that photo the plane looks totally vertical. Is that common on crash accidents?
elboru··on Ask HN: Software That Insults You?
Windows 11 is driving me crazy. Sometimes clicking icons in the taskbar to bring something that is already open doesn’t work! Come on Microsoft! That’s the most basic and common functionality in Windows!! Don’t break it!!!
elboru··on Photo captures space station crossing the moon
A few months ago the ISS passed through my city during sunset, while me and my family were hanging out outside. It was an amazing experience. I saw it first, it was reflecting the sun so it looked like a shooting star but it was too slow for a shooting star and too fast for a plane. It was too bright for it to be satellite? So I googled ISS position and it matched! We were able too see it for a while.
elboru··on Argentine family comes home after 22-year drive around the world
This guy from Uruguay is biking from Uruguay to Alaska. He’s in my city at the moment in northern Mexico.

https://www.instagram.com/tabarealonso/?hl=en

elboru··on Russians are trying to flee – data from Google Trends
“ Another reason we don't like Russians is”

And that’s how wars are maintained. They vs us. Who is we?? How can you dislike millions of people just because they were born inside a border different than yours?

elboru··on How to write untestable code (2008)
I care about testing and that’s why I hate to break my tests every time a refactor comes. If the behavior doesn’t change my tests shouldn’t break. Tests should meant to be there to give me confidence about the main functionality. They should tell me when my main functionality is broken or not after a change.

It’s not very useful to me if I get red tests just because the structure of my code changed. Those red tests don’t tell me if the functionality is the same or not. If my tests break every time even if the functionality is the same, then I start to ignore the warning, I just blindly make them pass. They become “The Boy Who Cried Wolf”.

elboru··on How to write untestable code (2008)
> Depend on Concrete Classes - Tie things down to concrete classes - avoid interfaces wherever possible.

Well, yes, if those classes are implementation details why would you want otherwise?

Just to write “unit” tests with mocks all over the place that later will be broken after the first refactor?

elboru··on Words known better by males than females, and vice versa
Not only anime. As a kid American shows and movies were full on “ninjas” and “karate”. My favorite cartoon was TMNT and one my favorite movies was Karate kid.
elboru··on Forget about teaching kids to code
Same with other subjects, I used to hate my history class in elementary school. It was a chore, as just say, to have to remember dates for things I didn’t really care about. Later in life, I became a history lover after finding really interesting subjects.
elboru··on Poll: Where do you live?
I’m from Chihuahua, I always explain the dog comes after the state, not the other way around XD
elboru··on 101 AWS Lambda tutorial for Go developers
I had the same issue a few weeks back. My solution was a variation of a SO answer. It was frustrating to not find an official answer.
elboru··on Google critiqued the practice of displaying ads above search results
Here in Mexico we had a similar scam that ran for months, if not years. There was this site (or sites) pretending to be an official government’s passports website. It was the first link in the search result for “pasaporte mexicano”. I personally know people who fell for it, the page would ask for bank deposits to get your Mexican passport.

The page looked legit, it even had https and the url name looked fine, the only thing giving it away was that it missed the official .gob.mx domain at the end, but regular people don’t Pay attention to that. It was the first result link! And they didn’t remove it for months, amazing.

Edit: I thought that scam was removed already, but no! It’s still there, the first three links (the only visible ones on mobile) are scam websites.

https://ibb.co/PMHCQ31

elboru··on The impact of sexual abuse on female development: a longitudinal study
He is OP
elboru··on Google no longer producing high quality search results in significant categories
I’ve been using HN search a lot more lately. In the past I just used it to find old posts. But now I use it to research topics, the same way I used to use Google.
elboru··on Ask HN: What is your spiritual practice?
Complex times to be a Catholic. It’s sad to see our church divided with so many shades of gray, even in the traditional side. God bless you and Merry Christmas
elboru··on Wish HN: Happy Holidays
Feliz navidad!
elboru··on Wish HN: Happy Holidays
Feliz navidad al mundo hispano!
elboru··on Omicron infections appear no less severe than Delta; Covid-19 lowers sperm count
There is, some countries are reaching dangerous low fertility rates. But, then again, a lot of people in reproductive ages would consciously try to avoid getting pregnant in the middle of a pandemic. I guess we’ll only really know decades later.
elboru··on English has been my pain for 15 years (2013)
I once met someone from the North of England. I went to a college in the US as an exchange student, the first international student I met was this girl from a northern town in England. We started chatting, but I couldn’t understand a thing. I felt terrible! I didn’t understand a thing of English! How I was supposed to take college classes in English if I couldn’t understand a simple conversation!

Then other students came from other countries and then I figured I just didn’t understand that particular accent.

She pronounced where as “wa” or something like that I was really confused.

elboru··on Sleep technique used by Salvador Dalí works
I had a really similar experience during college. I was trying to display a binary tree in the command line. I was not able to solve it while awake. I went to bed with that problem in my mind. Then I dreamt the solution. I woke up and the dream made sense. I couldn’t believe it so I tried in the code and it worked! That was a surreal experience.
elboru··on Weird English
You made me remember that one time I tried to pronounce the word “facade” during a call. I knew the word and the meaning, since I had read it before several times in different situations. But, I had never heard the pronunciation before and that was the first time I had to use it in conversation. Hopefully people understood by context. Coming from Spanish spelling has been a headache while learning English.
elboru··on New MacBook Pro has first ‘DIY-friendly’ battery replacement design since 2012
Touch feedback is important for a lot of us. Specially when I’m concentrated while debugging something, I don’t want to have to look at my keyboard. But I see value for other use cases, maybe having both the touchbar plus the F keys would have worked fine?
elboru··on Hooks are the best thing to happen to React
I’m not a beginner using React any more. But useEffect is not straightforward at all when compared to the old methods (disclaimer: I also have a OO background).

Another thing that is not straightforward at all is to know when it will re-render children components and when it will not. I had to go through several blog posts to begin to understand it.

Then all that extra complexity starts sucking more when you figure out that an old server-rendering framework would work just fine for the app you are developing, it didn’t have to be a SPA in the first place. But React was chosen just because it’s the cool modern framework.

elboru··on MacBook Pro 14-inch and MacBook Pro 16-inch
Same here, for the first time in 8 years I’m considering to upgrade.
elboru··on Facebook-owned sites were down
That explains why it works fine in my computer, where I haven’t logged in. Thanks for the tip.
elboru··on Facebook-owned sites were down
Is it just me or HN also feels kinda laggy?
elboru··on Are software engineering “best practices” just developer preferences?
Right, but have you ever worked in a place where no practices at all are being followed? Where there are hacks after hacks, giant classes with giant methods, no interfaces, static methods, bad names everywhere, you need to find a bug? good look, you want to write a test to avoid regression? Ok that would take you 5 times more time.

I agree, following a “best practice” without understanding the “bad practice” that it’s trying to prevent is silly. But just discarding best practices because no one understands the reasons behind is also silly.

← PreviousPage 5 of 16Next →