HNHacker News
TopNewBestAskShowJobs

gnagatomo

94 karma · joined October 8, 2013

submissionscomments
gnagatomo··on Google will allow only apps from verified developers to be installed on Android
That's mostly prevalent in third-world countries like Brazil. I work for a fintech-turned-bank here and the biggest problem we have to deal with is fraudulent actions made by scammers who got access to users' accounts via social engineering. Outsiders don't know how prevalent scamming is in Brazil and how much is spent/lost trying to fight them and how that shapes the security vs convenience landscape. For example:

- I can't transfer a single cent if I didn't had my face and documents scanned after installing the bank app.

- I can't have the same bank account logged in two of my devices at the same time, all banks require you to use an account on a "verified" device (previous point).

- If I want to use a desktop to access my bank account, I have to either install a desktop client provided by the bank or be limited to just checking my balance. Some banks doesn't even allow you to log in if you don't have a "verified" device for doing 2FA.

I am very sure my higher ups are cheering with these news, even though it solves none of the problems.

gnagatomo··on Why Tailwind CSS Won
>But, it turns out that isn't cascading either

The order in which stylesheets are loaded and it's origin is just part of the cascading algorithm. See the "Cascading order" section https://developer.mozilla.org/en-US/docs/Web/CSS/Cascade#cas...

gnagatomo··on Farmers Say Because There Are No Teats on Almonds, Can't Be Called “Almond Milk”
Taking just the naming into account or listing other things with milk in their name is missing the point. Those are not sold as direct competition to dairy milk. Looking up how those nut milks are made, we might as well call it almond juice ou pecan juice. If almond milk is to be sold as an alternative to cow milk, and most importantly marketed as such, then butter can be sold as an alternative jelly for people with diabetes.
gnagatomo··on ConcernedApe's Haunted Chocolatier
For me it's a big win. SV art style is unique and feels like it came from Eric's heart. For me the improvements are clear if compared to SV, but the style is the same. And being able to enjoy the same art style in a somewhat different context is exciting.
gnagatomo··on ConcernedApe's Haunted Chocolatier
>I'm not sure if he has moved on to Monogame

>Is it the same engine as Stardew Valley?

>No, it’s a new engine written in C#/Monogame… however there are some areas where I can reuse code from Stardew Valley, so that is nice.

https://www.hauntedchocolatier.net/faq/

gnagatomo··on The truth about lab-grown meat [video]
This already happened. The Federal Police uncovered that Brazilian company JBS, the largest meat processing company in the world[0], was selling rotten beef and minced meat mixed with minced cardboard[1][2]. People didn't noticed until news came in.

[0]: https://en.wikipedia.org/wiki/JBS_S.A.

[1]: https://www.bbc.com/news/world-latin-america-39311336

[2]: https://www.nytimes.com/2017/03/17/world/americas/brazil-foo...

gnagatomo··on Chrome testing RSS-powered ‘Follow’ button
I've been use FeedBro for Firefox for the last couple years and it's great.

https://nodetics.com/feedbro/

gnagatomo··on New evidence that British workplaces are losing viewpoint diversity
https://en.wikipedia.org/wiki/Amygdala_hijack
gnagatomo··on The Art of Warez Documents the Lost ANSI Art Scene (2019)
MBR's website[0], album covers[1] and whole branding are such a throwback and amazing works of art. I personally recommend his retro music covers[2], genially bundled under the name WAREZ.

[0]: http://mbrserver.com

[1]: https://masterbootrecord.bandcamp.com/

[2]: https://www.youtube.com/watch?v=3HSpWQH4iRs&list=PL7doxo2n1V...

gnagatomo··on I am a heroin user. I do not have a drug problem
>The only bit I will agree with is that addiction is not caused by the drug itself, and is typically the result of childhood trauma.

Traumatic experiences plays a big role on addiction, but purely chemical addiction should still be factored in. Heroine is extremely addictive not just because of traumatic experiences, but because it induces very high dopamine releases.

gnagatomo··on China delists all remaining poverty-stricken counties
'CGTN (China Global Television Network), formerly known as CCTV-9 and CCTV News, is an international English-language news channel based in Beijing owned by China Central Television, a state-owned broadcaster.'

https://en.wikipedia.org/wiki/CGTN_(TV_channel)

gnagatomo··on Show HN: Switch Git Users CLI
Can you show us your take on the bash solution?
gnagatomo··on Confusing Grep Mistakes I've Made
Most of the mistakes are not exclusive/related to grep, they are actually shell mistakes.
gnagatomo··on WhatWG: Proposal – Update XPath to at least v2.0
If I remember correctly, Mozilla didn't want to support video DRM but ended up adding it to Firefox[0] in fear of losing marketshare because Netflix required DRM video playback[1].

Today's browsers are just trying to keep up with whatever Chrome decides to adopt.

[0]: https://blog.mozilla.org/blog/2015/05/12/update-on-digital-r... [1]: https://www.engadget.com/2014-05-14-mozilla-bends-on-drm.htm...

gnagatomo··on Using Python and Selenium for automated visual regression testing
>the most common result (by a large margin) of a test failing was someone would update the expected file/image so it would pass with the new visuals Previous solutions that my team developed ended up like this. We found the problem can be split in two:

1. Figuring out if some change is actually wanted/expected

We found that doing a d-hash + hamming distance (levenshtein) is a very good way to handle tolerance, as it will ignore most text and subtle layout changes, but unlike most examples the screenshot is scaled down to 200px wide (this number is arbitrary, we're still figuring out how much tolerance it does provides).

2. How to handle this changes

This is the hard part. For now we are only selecting the images that failed in the previous step and by using some jenkins plugins they are presented during the pipeline side by side (old, diff, new) and are reviewed manually, but the versioning process is automatized and the results are stored in the changelog.

gnagatomo··on Stepping Feet Illusion
Had to do a basic CSS implementation to see how it looks in 60fps https://jsbin.com/ledomilaso/edit?output
gnagatomo··on Algorithm Removes Water from Underwater Images
Common users don't care or don't even know about javascript.
gnagatomo··on UI redesigns are mostly a waste of time
>you can see how a business is being impacted by things that you can see

Strongly agree. The biggest barrier between devs and refactors with zero interface impact is AGILE mentality of always aiming to deliver value to the end user with every deploy. Business people just don't understand how much of an impact crappy implementations and error handling does have on the end user. We see 5~6% error rate, which represents hundreds of thousand of people daily, but shipping a new "feature" (that within months will be used by a few hundred people with a very high bounce rate) is always the top priority.

From time to time there is a meeting with the following subject: "why are users not using the basic features", and the business people's answer is always "the ui is outdated" or "the menu is confusing the user". Those answers are gathered by talking to some random users on the streets close to the company building (I'm not making this up).

gnagatomo··on UI redesigns are mostly a waste of time
>Sometimes that _is_ a business need, but the rest of the business doesn't recognize it (or won't until it's too late).

This. I work for a big payment system company. They had to buy another Exadata, reaching the maximum plan offered by Oracle. The refactor was delayed so much that now we have little more than one year to rewrite everything. If we don't make it in due time no more transactions will be processed. Some devs who pointed the need for a refactor left the company in the last two years and said it feels like a time bomb ticking with every git commit.

Meanwhile the UI/UX guys are trying to create a design system whilst redesigning the internet banking system and app, backed by the CPO and CTO (!?). I mean, I'm not the one calling the shots, but neither a deisgn system nor redesign should be a priority for a least two years.

gnagatomo··on Epistle 3
>and being patched into CS:GO this year

Do you have source for this?

gnagatomo··on WhatsApp, Used by 100M Brazilians, Shut Down Nationwide Today by a Single Judge
Yep we're stuck to voting machines since 1996, so there's no way to know about that
gnagatomo··on React v15.0
I remember quite the opposite, by 2013 people were quite concerned about react size (can't exactly remember it's size, but I think it was somewhere close to how it is nowadays or larger)
gnagatomo··on World Cup 2014 Predictions and Results
Brazilian here. The brazilian politics already bought the World Cup. It's 100% chance for Brazil to win. Mark my words and make some bets.
gnagatomo··on A day in the life of a stackoverflow moderator...
He tries again at #19. What a shame...
gnagatomo··on iOS 7 colors
http://zenimot.nl/ What?
gnagatomo··on Font Awesome 4 released
No more '[class^="icon-"], [class*=" icon-"]'! Yay!
gnagatomo··on Web Application Development on a Chromebook 11?
Enabling Dev Tools Experiments makes chrome a good front-end editor http://www.html5rocks.com/en/tutorials/developertools/revolu...