HNHacker News
TopNewBestAskShowJobs

mariopt

742 karma · joined July 3, 2014

submissionscomments
mariopt··on Head in the Zed Cloud
Cool, I'll check it out.
mariopt··on Head in the Zed Cloud
It would be interesting if Supabase allows me to use that runtime without forcing me to use supabase, being a separated product on its own.

Several years ago, I used MeteorJs, it uses mongo and it is somehow comparable to Supabase. The main issue that burned me and several projects was that It was hard/even impossible to bring different libraries, it was a full stack solution that did not evolved well, it was great for prototyping until it became unsustainable and even hard to on board new devs due to “separating of concerns” mostly due to the big learning curve of one big framework.

Having learn for this, I only build apps where I can bring whatever library I want. I need tool/library/frameworks to as agnostic as possible.

The thing I love about CloudFlare workers is that you are not force to use any other CF service, I have full control of the code, I combine it with HonoJs and I can deploy it as a server or serverless.

About the runtimes: Having to choose between node, demo and bun is something that I do not want to do, I’m sticking with node and hopefully the runtimes would be compatible with standard JavaScript.

mariopt··on Head in the Zed Cloud
Been using CF Workers with JavaScript and I absolutely love it.

What is performance overhead when comparing rust against wasm?

Also think the time for a FOSS alternative is coming. Serverless without, virtually, cold starts is here to stay but being tied to only 1 vendor is problematic.

mariopt··on The great software quality collapse or, how we normalized catastrophe
I can clearly tell just by using websites and mobile apps, the amount of silly bugs in the last 3 years or so is ridiculous. QA roles are going down and everyone believes they can vibe code production grade products without meaningful knowledge.

"AI just weaponized existing incompetence." - Love this phrase, it summarises very well what AI is doing to software and it will get worse.

mariopt··on Ask HN: Who is hiring? (June 2025)
Removing job posts older than 3 months would be a great starting point, given the current state of the job market.
mariopt··on Ask HN: Who is hiring? (June 2025)
Can you please stop farming CVs?

Your company has been "hiring" since last year, running the weirdest interview process, with no real intention of hiring.

Plenty of negative feedback online about BetterStack "hiring" practices, you should not be allow to post on HN.

mariopt··on Phind 2: AI search with visual answers and multi-step reasoning
I have been using Phind for building SQL queries and it's actually great to learn more about SQL, and the results are mostly correct. Just try to ask it to build some advanced query then you discover you don't truly know SQL.
mariopt··on TabBoo – add random jumpscares to websites you're trying to avoid
Not really, MeatSpin is missing
mariopt··on Timemap.org – Interactive Map of History
Hi Klokan,

This is a really project and really helpful to understand history. I noticed that several data points about the Portuguese Colonial Empire are wrong, is there any place where I can submit a ticket about it?

When the royal succession crisis took place in 1580, according to the blood line, the King of Spain was indeed the next in line but both Kingdoms remain independent, you can also find evidence of this in the name: King Philip III was called King Philip I in Portugal, the following one (Philip IV) was named the Philip II. In Timemap, when you check 1580, it shows the Portuguese territories with the Spanish royal flag, which is wrong because everyone understood back then that if Spain tried to dictated anything about the Portuguese overseas territories, this would be taken as a declaration of war. This is reason why the Treaty of Tordesillas was signed, Portugal and Spain divide the world and would not step on each other.

Also found things like Malacca, the flag is missing the dates of duration: 1511-1641 Same for Macau, the map states that the Portuguese rule ended in 1845 but in reality it only became independent in 1999. Many other important missing bits that, although technically they don't as territories, do represent groups, example: The city of Nagasaki was built/shaped by Portuguese merchants during 1511-1641 and was indeed under Portuguese administration during 1580-1586.

Among many other bits that would make this reply too long for HN.

mariopt··on Ask HN: Who is hiring? (December 2024)
"Posted 30+ Days Ago" - Do you intend to fill the positions at all?
mariopt··on Good refactoring vs. bad refactoring
Words can not express my hate for this kind of articles.

Imagine working on a legacy codebase where the PM holds the dogma of refactoring being a bad thing and expecting you to do it wrong, even micro managing your PRs.

Most often than not, I do see projects suffering and coders actually resigning due to a lack of internal discussing about best practices, having space/time to test potential solutions, having Lead devs who resemble dictators quite well.

Let me guess, some PM wrote this article and they just want you to push the product asap by applying pressure and not allowing you ever to refactor. This is just a casual day in software development. I'm not surprised anymore when most web apps have silly bugs for years because it's gonna be a Jira ticket and a big discussion about..... one evil thing called refactor.

Several years ago I rewrote a full SaaS in about 3 months, it took another team 12 months with 5 devs. Guess which version made the investors happy, mine.

Bad refactoring is just a product of poor engineering culture.

mariopt··on Tim Cook is 'not 100 percent' sure Apple can stop AI hallucinations
Hallucinations reduce the success rate of AI workflows, which must be taken seriously. Imagine a workflow with 8 steps where each step/agent has a 95% success rate, the success rate of this workflow is only (1-0.05)^8 = 0.66 ~= 66%. Not bad but not enough to replace humans yet (unless 66% makes you profitable).

The hallucinations/errors compound and can misguide decisions if you rely too much on AI.

mariopt··on EU: Users who refuse scanning to be prevented from sharing photos and links
This lasts until every single major app decides to exit the market and they are forced to remove this nonsense.

At the end of the day Europe is not even the place where most apps are created, just a bureaucratic nonsense.

If you though the cookies law were bad just wait.

mariopt··on Show HN: I built a backend so simple that it fits in a YAML file
Even a "direct" mapping between yaml and PocketBase/SupaBase/Firebase would be helpful, LLMs currently hallucinate too much.

Another bit worth adding to the yaml config on a collection basis: seed data

mariopt··on Show HN: I built a backend so simple that it fits in a YAML file
Any plan to plug this into an LLM and generate a backend in virtually any stack/platform?

The idea seems cool, provided it supports more features like authentication type, generic middlewares, rate limiting, etc.

mariopt··on ScrapeGraphAI: Web scraping using LLM and direct graph logic
I get that and LLMs are expected to get better.

Today, would you build a scraper with current LLMs that randomly hallucinate? I wouldn't.

The idea of a LLM powered scraper adapting the selectors every time the website owner updates it, it's pretty cool.

mariopt··on ScrapeGraphAI: Web scraping using LLM and direct graph logic
What is the point of using LLMs for the scrapping itself instead of using them to generate the boring code for mimicking HTTP requests, css/xpath selectors, etc?

I get it may be interesting for small tasks combined with a browser extension but for real scrapping just seems to be overkill and expensive.

mariopt··on Tour of new custom M1 macOS runners racks with Christina Warren [video]
The idea of using thunderbolt to extend a motherboard is pretty smart and can be used for many laptops, I wish they would sell this to people who want to reuse some broken laptop and turn it into a server.

Still wondering if it makes financial sense since you could just build a custom rack to pack as many mac minis as possible, even at cost of buying storage from Apple.

mariopt··on DeskHop – Fast Desktop Switching
I bought 4 USB hubs just to switch the keyboard and mouse, it's just so annoying how most devices are so terrible. Randomly you have to physically detach the hub several times a day. If you plug webcams and/or USB mics, it only gets even worse.

I'm using Synergy software and it works well, but I still want a proper KVM that can allow for webcams, mics, audio, etc. Features like moving only a group of plugged devices via keyboard shortcuts.

KVM users are underserved for sure.

mariopt··on Tohands – Smart calculator for small businesses
It's quite an elegant solution, especially for older people who are not used to smartphones or lack the budget for expensive POS.
mariopt··on Goodbye, clean code (2020)
Code duplication sometimes is a good thing but it doesn't prove that clean code is a bad thing.

I think you overcommitted a bit on the refactor, if you had replaced those "10 repetitive lines of math" with a function it would have been cleaner.

Let's be crystal clear about it, your teammate did a terrible job not creating a function for those 10 repetitive lines. I would be rejecting this PR but never rewriting it.

Rewriting a PR is a quick way to insult someone because you're not open to debate and many times you don't have the full picture of why the code was written this way. PRs have to be reviewed and rejected when there are no coding standards, the last thing I want is people committing code and saying "Clean code is not important", this mindset only leads to a codebase that no one wants to work within a matter of months.

Communicating better and having some tact is the lesson you should be taking from your experience, clean code has nothing to do with it.

mariopt··on Inércia 2023
Glad to see Celso still hacking
mariopt··on Show HN: Bi-directional sync between Postgres and SQLite
This seems really interesting and I do have some questions:

How similar is this to MeteorJs minimongo collections?

Does this provide an architecture where a client subscribes to a collection and the server keeps track of which data the client has and only sends minimal update messages?

Is this ideal for intense real-time applications (ex:Chat)?

Is self-hosted a future option?

mariopt··on Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016)
What are the reasons for grep not being replaced/improved? This topic seems a bit old by now.
mariopt··on Developer account removed by Apple
I have used "free" apps that require you to enable a trial but then I forgot to cancel it and ended up paying 3 weeks or so. Isn't this the way most mobile apps bring their revenue today?
mariopt··on Developer account removed by Apple
You can consider, virtually, all reviews fake in any mobile store. Sometimes I read the reviews and wonder: Who on earth wrote this?

Honestly, it's up to Apple to moderate the reviews and detect review farms. If posting fake reviews is all it takes to take down my competitors out of the store, it's game on.

mariopt··on NilAway: Practical nil panic detection for Go
Rust is a lot better in this aspect, but this is a symptom of not having proper code review and standards. Do not forget that in some scenarios using unwrap is totally fine if a panic is acceptable. The same could be said for javascript: How many time have we not wrapped JSON.parse inside a try catch? More than we would like to admit. Really appreciate Rust “forces” you to handles all execution paths.
mariopt··on OpenAI Just Killed an Entire Market in 45 Minutes
Why is everyone still publishing on Medium? I refuse to pay for it, write for free, and let the big corporation profit, ridiculous.
mariopt··on Apple Announces New MacBook Air with 15.3-Inch Display and M2 Chip
I was hoping to get 10 cores and 32gb of RAM but I have to spend a lot more for that on the MB16.
mariopt··on Ask HN: Resources for older developers?
I suppose Senior developers, my self included, enjoy fast paces straight to the point learning resources. One of my favorite websites is https://egghead.io/ but some people do complain about behind a bit too fast. Overall, there is heaps of great tutorial on youtube.

If you're looking for an online community mostly you'll be facing many people who are learning how to code. I would choose a specific software and look for paid/free courses that have a community on slack/discord. Regardless of your age, sometimes changing the company you work with can help a lot because you'll on the hunt for other companies using modern stacks. You could also try to convince your company to adopt new tech. Do not be afraid to join younger communities, there days people don't really care about your age as long as you have things in common and a beginner spirit.

← PreviousPage 3 of 7Next →