HNHacker News
TopNewBestAskShowJobs

miguelmota

1,510 karma · joined January 29, 2017

submissionscomments
miguelmota··on Google tracking a bike ride past a burglarized home made the rider a suspect
American justice system is broken; if you’re arrested you get put in jail until your court date unless you can pay the bail. If you can’t pay the bail then you can be in jail for months or years for something you didn’t do. The prosecutor will tell you to take plea deal for a shorter sentence or risk losing fighting in court and get a more severe punishment. A lot of innocent people end up taking plea deals because the odds are against them. Court cases can drag on for years and cost a fortune in lawyer fees. The biggest lie is that you’re 'innocent until proven guilty'. If you get accused of a felony and end being proven innocent, there’s still no way to get that off your permanent record and will show up in background checks and follow you for life.
miguelmota··on Not being an asshole will make you more money
Being apathetic and selfish are some attributes that both assholes and top billionaires exhibit. I'd say it’s not so black and white and people will perceive what being nice means to them differently depending on their social economic status since people of lower economic status tend to be more susceptible to emotions than a business person.
miguelmota··on Not being an asshole will make you more money
The term asshole is very subjective; some people will perceive being candid and telling it how it is as being mean while others love the straightforwardness. Bosses have to put emotions aside to think more logically and that comes off as unsympathetic when talking to employees or partners. Steve Jobs was known to not have been the nicest guy yet he’s praised all the time.
miguelmota··on Google Kubernetes Engine is introducing a cluster management fee on June 6
The good ol' bait and switch tactic; lure new customers in with zero fees and switch out the fee structure once they're locked in.
miguelmota··on Stylus: Broken links to install Chrome extension
It'd be awesome if there was a decentralized marketplace of browser extensions that Google/Mozilla have censored or messed with. Developers can sign the git revision/build with their keybase gpg key for authenticity. Users would have to install them manually though.
miguelmota··on FreeBSD has removed GCC from its base system
FreeBSD has removed GCC from base system but GCC is still available as a port
miguelmota··on Firefox 75 on Wayland now to have full WebGL, working VA-API acceleration
As a regular linux user should I switch to wayland from xorg? will I notice performance improvements?
miguelmota··on Firefox is showing the way back to a world that’s private by default
A thing that annoys me is that any browser in iOS except Safari doesn’t support getUserMedia to allow camera access to do things like scan qrcodes from the site. I'm wondering if it's an artificial limitation Apple imposed to encourage people to use Safari.
miguelmota··on Google employee diagnosed with coronavirus
A large portion of jobs in US are service jobs which are easily replaceable by other people, and service jobs are low paying so losing a days work can be financially catastrophic for the person.
miguelmota··on Google employee diagnosed with coronavirus
Unfortunately US culture is to keep working if you don't want to lose your job.
miguelmota··on I Want Off Mr. Golang's Wild Ride
Go is my favorite language but I do agree that Windows support has always felt like an afterthought.
miguelmota··on The war on food waste is a waste of time
Food waste happens because food is cheap and abundant. Food is cheap because it’s cheap to produce. It’s cheap to produce because a large portion of field and dairy workers are undocumented immigrants that get exploited for cheap labor. People don’t care how the food got put in front of their plate. People don’t care about the process of food production or the environmental impacts. People simply care that it’s cheap and tastes good. People won’t change their habits unless they really have to. Food waste is a by-product of a system that takes advantage of people with limited choices. Food waste is just a symptom of a larger problem.
miguelmota··on New improvements to IPFS Bitswap for faster container image distribution
It's awesome to see these kind of improvements on IPFS. A while back as a side project I created an IPFS-backed docker registry which allows you to push and pull docker images from IPFS [0]

[0] https://github.com/miguelmota/ipdr

miguelmota··on Fiber – Express inspired web framework written in Go
Looks like a good learning exercise project but goes against the Go best practice principle of using standard libraries wherever possible since I don’t see any real benefit of this library over using the `net/http` package.
miguelmota··on Twitter Thread: Experience at Lambda School for UX
She's just giving a little bit of context of where she’s coming from.
miguelmota··on Why SQLite succeeded as a database (2016)
I know some people with a certain generation of Macbook or macOS version have had bad luck running docker which causes their fan to go nuts and resources get drained so they prefer to avoid docker if possible.
miguelmota··on Why SQLite succeeded as a database (2016)
Something I see some developers do which I don't recommend is using SQLite for testing environments when they're using PostgreSQL in production. SQLite3 doesn't support a lot of types that PostgreSQL does and it doesn't support things like full outer joins. Save the headaches of debugging in production and spin up a docker PostgreSQL instance since testing environments should emulate production environments as much as possible.
miguelmota··on Almost everything on computers is perceptually slower than it was in 1983 (2017)
A problem with a lot of web apps today is that they are designed by visual designers that put a lot of emphasis into aesthetics and animations to make it 'stand out' rather focusing on user experience and keeping it dead plain and simple. This is why I love TUIs because they make use of all the screen real estate and all the possible actions are laid out on the screen to easily navigate.
miguelmota··on JWT is Awesome
I didn't say that they should "always" be used for authentication but that session IDs fulfills most web app user authentication needs. Most devs that implement JWT treat them as stateful which defeats the purpose of them. JWT has it's use cases when done correctly.
miguelmota··on JWT is Awesome
More power to you. I prefer to use the best tool for the job which in this case are session IDs since they are simpler, have been battle tested, and proven to work for over the last two decades.
miguelmota··on JWT is Awesome
Reasons why JWTs are not awesome:

- to revoke a JWT you have to blacklist it in the database so it still requires a database call to check if it's valid.

- JWT are to prevent database calls but a regular request will still hit the database anyway.

- JWT are very large payloads passed around in every request taking up more bandwidth.

- If user is banned or becomes restricted then it still requires database calls to check the state of user.

- JWT spends CPU cycles verifying signature on every request.

- JWTs just aren't good as session tokens which is how a lot of web developers try to use them as. Use a session ID instead.

Where JWT works best:

- when a client can interact with multiple services and each service doesn't need to do a network request to verify (ie federated protocols like OpenID). The client verifies the user's identity via the 3rd party.

- as a 1 time use token that's short lived, such as for downloading files where user gets a token requested from auth server and then sends it to the download server.

miguelmota··on Building a static serverless website using S3 and CloudFront
This is what I see

https://isitblockedinrussia.com/?host=https%3A%2F%2Fwww.netl...

> Yes! It appears that https://www.netlify.com/ is currently blocked in Russia.

> Details:

> URL

> https://www.netlify.com/

> Domain

> www.netlify.com

> IP

> 167.99.137.12

> Decision 27-31-2018/Ид2971-18 made on 2018-04-16 by Генпрокуратура.

> This block affects IP 167.99.0.0/16.

My understanding is that the blocks are accidental side effects from the Great Telegram Blockage of 2018 [0] but I'm not entirely sure.

[0] https://en.wikipedia.org/wiki/Blocking_Telegram_in_Russia

miguelmota··on Building a static serverless website using S3 and CloudFront
I love Netlify as well; it's dead simple and works out of the box. Occasionally I do run into issues where the builds get 'stuck' and never processed, so I have to manually cancel the build and re-run it.

I've also had Russian users tell me that Netlify is sometimes blocked in Russia and can't access the sites but it may sporadic.

miguelmota··on Building a static serverless website using S3 and CloudFront
I've been running my personal blog and many other micro-sites on a $5 DigitalOcean droplet for years. It's seriously the best bang for the buck.
miguelmota··on SEC proposes changes to “accredited investor” definition
Official document describing the amendments: https://www.sec.gov/rules/proposed/2019/33-10734.pdf
miguelmota··on Rules to run a software startup with minimum hassle
I generally agree with most of the points but just because it worked for the author, it doesn't necessary mean that it'll work for your particular business. Take it with a grain of salt since not all software startups are the same.
miguelmota··on HQ Trivia shuts down after acquisition falls through
HQ Trivia was great at first but it got boring fast, especially when they replaced host Scott Rogowsky and did the show multiple times a day instead of every few days which created more hype. The sudden death of cofounder Colin Kroll was also a bizarre event to add to the mix.
miguelmota··on Amazon can’t end fake reviews, but its new system might drown them out
What kind of stuff were you buying?
miguelmota··on I Add 3-25 Seconds of Latency to Every Site I Visit
> Reddit with 150ms latency feels like cocaine: Reddit with 8000ms latency feels like coffee.

Reddit with Spectrum internet latency feels like water.

miguelmota··on Terminal V2 – Build, deploy, and host websites and apps on IPFS
> Where is the content hosted once the build has been finished?

There's services like INFURA [0] and Pinata [1] that will pin content for free. It's as simple as using ipfs-deploy [2] to publish the build directory to one of those IPFS pinning services.

[0] https://infura.io/docs/ipfs/get/pin_add

[1] https://pinata.cloud/

[2] https://github.com/ipfs-shipyard/ipfs-deploy

← PreviousPage 9 of 22Next →