HNHacker News
TopNewBestAskShowJobs

sergioisidoro

1,483 karma · joined March 2, 2016

[ my public key: https://keybase.io/sergioisidoro; my proof: https://keybase.io/sergioisidoro/sigs/rzcajPfW372x9poJalOA1yA0aFSVXvPrEDnYkvV1v-o ]
submissionscomments
sergioisidoro··on Incompetent but Nice
Teams over individuals. Stop evaluating individuals in a vacuum, and evaluate them in team dynamics.

Sometimes the incompetent nice person multiplies the productivity of a team through morale, creativity and by offloading simpler tasks from more competent people.

The same goes for the competent jerk, who can be a 10x in output but also 1/100 overall by creating a completely toxic environment.

sergioisidoro··on What we still don’t know about how A.I. is trained
«When Dean Buonomano, a neuroscientist at U.C.L.A., asked GPT-4 “What is the third word of this sentence?,” the answer was “third.” These examples may seem trivial, but the cognitive scientist Gary Marcus wrote on Twitter that “I cannot imagine how we are supposed to achieve ethical and safety ‘alignment’ with a system that cannot understand the word ‘third’ even [with] billions of training examples.”»

The word "third" in the sentence was indeed "third", in a self referencing way. If anything, this tells us that our natural language is super ambiguous.

We're so readily available to criticize an AI that we are unable to question our own reasoning?

sergioisidoro··on Thoughts on Svelte
I have used MobX state tree (MST) with react, and a lot of the concepts are the same with Pinia. Pinia still looks better, I totally agree here.
sergioisidoro··on Ask HN: Can any Hetzner user please explain your workflow on Hetzner?
I've been using docker swarm + traefik + portainer and I'm quite happy. I orchestrate everything with Ansible [1]. The only manual process I have is provisioning the servers / load balancers.

It provides a super nice balance between going all manual VPS and going all on the kubernetes cool aid

[1] https://github.com/sergioisidoro/honey-swarm

sergioisidoro··on GPT-4
The silver lining might be us finally realising how bad standardised tests are at measuring intellect, creativity and the characteristics that make us thrive.

Most of the time they are about loading/unloading data. Maybe this will also revolutionise education, turning it more towards discovery and critical thinking, rather than repeating what we read in a book/heard in class?

sergioisidoro··on The Big Vitamin D Mistake (2017)
> A statistical error in the estimation of the recommended dietary allowance (RDA) for vitamin D was recently discovered; in a correct analysis of the data used by the Institute of Medicine, it was found that 8895 IU/d was needed for 97.5% of individuals to achieve values ≥50 nmol/L
sergioisidoro··on B2B startups stop innovating the day you give power to product managers
> If you are a startup B2B founder, I want to give you one piece of advice, don’t ever give a lot of power to product managers as long as you want to innovate. Take your most competent sales person and put him in charge of the product

This is much worse. You'll end up doing what individual customers ask, lose product strategy and run the risk of having a guy in sales deciding the next features on the fly during sales meetings, promising stuff just to get that deal signed.

Some good points here, but it feels more of a symptom of other problems, like the lack of a tech lead who manages the team (so the PM ends up doing it)

sergioisidoro··on Local-First Web Development
I am learning MobX State tree, and using the references to objects in a tree, with normalisation (ensuring you don't have duplicates in the tree, etc). It's impossible not to think that state management is getting closer and closer to client databases for more complex apps.

I'm really hoping WebAssembly will finally bridge the backend and the frontend data structures seamlessly, because right now we are getting to the point of keeping 2 separate data schemas, which is a huge waste of effort.

sergioisidoro··on Portugal proposes to end Golden Visas, curtail Airbnb rentals
Finally! The situation is getting to ridiculous levels. Yes, influx of foreign talent and investment is good, but it's an extreme situation that is out of control.

Expats were able to evade all taxes due to crypto exemption, and rules for income from foreign country companies. Locals fund social infrastructure while expats use it, dry out the housing market, and raise prices through gentrification.

Golden visas are a loophole for sanctions against Russia's aggression (at least one well known oligarch has a Portuguese golden visa), and it's ironic that you can buy a visa with 200k while refugees die in the Mediterranean trying to seek asylum and safety.

sergioisidoro··on Detect breaches with Canary credit cards
The responsibilities don't end when the breach happens. And while the cat is out of the bag, knowing it has happened is also important to contact customers, fulfil legal disclosure with regulators (eg. GDPR), and for triggering investigations and forensics.
sergioisidoro··on MacBook Pro featuring M2 Pro and M2 Max
There was just one thing I needed to know - Did they ditch the touch bar? Finally, they did!

I have an M1 macbook air because it was the only one without the bar. I've been waiting for this for a long time!

sergioisidoro··on Ruby 3.2.0 is from another dimension
As someone who loves both Python and Ruby, and uses them both daily, I really though they were referring to JavaScript (with node/deno et all).
sergioisidoro··on Ask HN: So you moved off Heroku, where did you go?
I had a very bad experience with billing and Hetzner. My card failed on a personal project without me realising it. When I noticed it was already too late and they had wiped out all my servers and all my data.

Yes Hetzner is cheap, but I'm scarred from that event.

sergioisidoro··on Ask HN: So you moved off Heroku, where did you go?
I moved to CapRover, and shortly after ended up moving to Portainer, mostly because CapRover does not have very good collaborative environment (eg. A single password for access)

With 20Eur a month and a VPS on Digital Ocean you can get quite far.

I also made a small project to spin up a PaaS like environment with docker swarm, Portainer and Traefik if you're interested: https://github.com/sergioisidoro/honey-swarm

sergioisidoro··on Ask HN: Good open source alternatives to Google Analytics?
There is a minimal setup of Posthog with postgres and redis, if I'm not mistaken. The default setup is geared towards large scale deployments.

Edit: The base docker compose is: https://github.com/PostHog/posthog/blob/master/docker-compos...

sergioisidoro··on web0 manifesto
Blockchain is a nice technology for having distributed consensus databases. NFTs are a good tool for protocols, identity and uniqueness in a decentralised system.

So they want decentralisation and reject some key technologies and tools to enable it?

I think it's time we dissociate the the technologies from its use. Blockchain is more than a ledger of monetary transactions. NFT is more than NFT art.

sergioisidoro··on All Bitcoin private keys are on this website
Who made the website probably should have made an interception script. Or probably did...

If any of the website users ever finds a viable wallet, just import the wallet right away server side and move all the funds :)

sergioisidoro··on From Node to Ruby on Rails
Especially if you couple it with HTMX / Alpine.js you get a really good stack that covers all the dynamic page updates people are getting used to, without adopting massive frameworks.

I just started with HTMX and so far I think it's really promising. Similar things happening with Rails and Hotwire.

It took a while for these frameworks to accept that JS and the frontend are also important aspects of the stacks, and hard to avoid if you want to build modern applications. But now that they're picking up, heavy JS frameworks start making less sense.

sergioisidoro··on Marketing is scary for a solo developer
Hey, if you're interested in connecting, so we can help each-other let me know. Peer support could be a way out of this mental block?
sergioisidoro··on Marketing is scary for a solo developer
I'm going through the same thing right now. I have an MVP ready for use, sitting in the drawer because I'm too afraid to take the next step. It's encouraging to see stories of others going through the same.
sergioisidoro··on I am in favour of the term “Web4” to describe small, local, personal, private...
But everyone knows you should always be backwards compatible and never go over main version 0.

So we should be using Web0.1, Web0.2, etc. /s

sergioisidoro··on Cocaine Paraphernalia Ads in the 70s
The only thing I disagree is "Body modification and tattoos". If any they will pick up a lot from here, with implantable technology. We will want to break free from our meat hardware, and body modifications is a step towards that.
sergioisidoro··on Cocaine Paraphernalia Ads in the 70s
Many times I think "what today will sound absurd in the future?".

Our widespread and normalised alcohol abuse is one of the things crossing my mind, and I wonder if many ads related to vaping, smoking and alcohol will look like this for us in a few years.

Edit: To clarify, what I mean with normalising alcohol abuse is not getting a bit of a buzz with a few glasses of wine or beer in a social setting. It's how we've normalised getting completely hammered every weekend, and even celebrate people who can drink a lot.

sergioisidoro··on MacBook Pro 14-inch and MacBook Pro 16-inch
Yes, that is true. And I hope that would be the default (at least in Europe).

But the timing of this launch (when all new machines were already using USB-C), with the decision of the European commission is quite a coincidence. Which makes the feature feel a bit out of place, or just a good upselling opportunity for Apple.

sergioisidoro··on MacBook Pro 14-inch and MacBook Pro 16-inch
A fair warning to developers: You're getting into an adventure with M1.

From docker images not built for M1 with segmentation faults on qemu (eg. Liquibase for spring developers), to _significant_ troubles trying to make React native apps build with the M1 and XCode.

Don't get me wrong, I have a Macbook air M1 and I love it, but it hasn't been a love without pain.

Also, the magsafe feels like it comes too late. Almost like a political feature in response to the EU measure of enforcing a single charging cable.

sergioisidoro··on Kairos
Same thing for Portuguese "tempo"
sergioisidoro··on PostgreSQL 14 on Kubernetes
I tried both while testing things for a personal project. In my very not exhaustive user perspective, I like Crunchy better.

Zalando seems to fit the Zalando use case (not surprisingly), which is having multiple teams self-service their postgres clusters. They have a nice Web ui that is good for people who are not familiar with k8 to provision databases. However a lot of those features are a bit intrusive when you want to start a small project. The "teams" attributes are required in the clusters, for example, although you're not using them.

I ended up using Cruncy for my personal project because its a bit simpler, looked like having a bit more activity on Github, and slightly better documentation from my perspective.

sergioisidoro··on If I could bring one thing back to the internet it would be blogs (2020)
Medium, in an attempt to monetise blogging and give financial incentives to writing with paywalling, has absolutely damaged my perception of blogging. It was the perfect platform, and so nice to find interesting blogs and articles that only wanted to share information and stories.

But then it started eating away the blog platform space, and then took all that hostage with paywalls. There's not that many companies I really dislike, but Medium is starting to be up there in the list.

sergioisidoro··on Building apps in minutes, not months
I've been noticing that a lot of work in web development is boilerplate. For me Django has made that almost magic, with Generic views, automatic form and view generation and almost self generating APIs. Add to that a lot of community resources and templates (like cookiecutter), and you get an almost fully ready app in a matter of hours. I'm sure that is also the case for Spring, Rails, or other "older" frameworks.

I still haven't found tools that match those for SPA or PWA (React or other), and it seems that this is almost what the author is trying to go for.

sergioisidoro··on What they don’t tell you when you translate your app
I went through a lot of these pains. The biggest one was undoing the misuse of localisation tools to display content differently on each geographic region, and misuse of plurals.

I would also add collaboration efforts, how to make localisation work with continuous integration and not go waterfall, where you make a release, and you have to wait 4-6 days to localise half a dozen strings

← PreviousPage 5 of 8Next →