HNHacker News
TopNewBestAskShowJobs

guhcampos

1,674 karma · joined July 12, 2014

submissionscomments
guhcampos··on Performance hacks for faster Python code
Or fab your own chip.
guhcampos··on Asus Announces October Availability of ProArt Display 8K PA32KCX
This is more widespread than we like to admit.

Developers writing software on 64GB M4 Macs often don't realize the performance bottlenecks of the software they write.

Developers working over 1gbps Internet connections often don't realize the data gluttony of the software they write.

Developers writing services over unlimited cloud budgets often don't realize the resource wastes into which their software incurrs.

And to extend this to society in general.

Rich people with nice things often alienate themselves from the reality of the majority of people in the World.

guhcampos··on Kafka is Fast – I'll use Postgres
How did you handle re-partitioning and rebalancing every time you scaled your cluster in or out?
guhcampos··on Kafka is Fast – I'll use Postgres
It is a *very bad* replacement for an MQ system, for the simple reason you can't quickly and effortlessly scale int/out consumers.
guhcampos··on Designing software for things that rot
Hahaha my exact thought.
guhcampos··on Designing software for things that rot
Yes. I thought of Gleba too.
guhcampos··on Bots are getting good at mimicking engagement
I'm not sure how many of these there are, but they're very significant.

These are bot networks run by big firms just building reputation overtime, to be switched on during some huge - usually political - campaign.

Suddenly, in some point in the future, all these "legitimate" looking "people" start inflating discourse against some political figure in some country and completely flip the democratic game.

It happened way too many times in the past decade.

guhcampos··on Claude Code 2.0
Exactly. I'll need to dig deeper into its allowlist and try a few things.

Problem is: I also force it to run `kubectl --context somecontext`, as to avoid it using `kubectl config use-context` and pull a hug on me (if it switches the context and I miss it, I might then run commands against the wrong cluster by mistake). I have 60+ clusters so that's a major problem.

Then I'd need a way to allowlist `kubectl get --context`, `kubectl logs --context` and so on. A bit more painful, but hopefully a lot safer.

guhcampos··on Claude Code 2.0
I was diagnosing an issue in production. The idea was to have the LLM would need to collect the logs of a bunch of pods, compare the YAML code in the cluster with the templates we were feeding ArgoCD, then check why the original YAML we were feeding the cluster wasn't giving the results we expected (after several layers of templating between ArgoCD Appsets, ArgoCD Applications, Helm Charts and Prometheus Operator).

I have a cursor rule stating it should never make changes to clusters, and I have explicitly told it not to do anything behind my back.

I don't know what happened in the meantime, maybe it blew up its own context and "forgot" the basic rules, but when I got back it was running `kubectl patch` to try some changes and see if it works. Basically what a human - with the proper knowledge - would do.

Thing is: it worked. The MF found the templating issue that was breaking my Alertmanager by patching and comparing the logs. All by itself, however by going over an explicit rule I had given it a couple times.

So to summarize: it's useful as hell, but it's also dangerous as hell.

guhcampos··on Claude Code 2.0
It is dangerous.

Just yesterday my cursor agent made some changes to a live kubernetes cluster even over my specific instruction not to. I gave it kubectl to analyze and find the issues with a large Prometheud + AlertManager configuration, then switched windows to work on something else.

When I was back the MF was patching live resources to try and diagnose the issue.

guhcampos··on The Poison Pill to End the MMR Is Tylenol
Not really.

Blaming Tylenol is actually a surprisingly harmless and almost a relief. Remember it used to be vaccines until a few days ago. Antivax sentiment is not inconsequential to the average person. Gun rights are not inconsequential to the average person. Women rights are not inconsequential to the average person.

I get that some progressive arguments seem to be only relevant to particular audiences - "why should I care about trans rights if I'm not trans?" - but reality is these are a small portion of the actual discussions which take a disproportionate amount of atention from issues that do affect everyone.

guhcampos··on The Poison Pill to End the MMR Is Tylenol
I'm not an American, I don't live in the US and I generally keep away from politically charged topics on Hackernews, but I feel I must add to your comment a bit.

I would aggree with you that this "is just theatre" and as long as whoever is in charge is looking into the important stuff on economics and public policy, we could ignore the theatrics. I don't think this guy is doing a good job on the "important" stuff, but that's beyond me and I don't really have a say on tariffs, immigration or whatever else on someone else's country.

However, the "theatre" he does hurts real people in the real world. Trans people get killed or refused care, kids get shot in schools and even his own allies get hurt in the heat of the political theatre he creates. I must say I'm actually kind of glad he switched aim from vaccines to Tylenol: the whole antivax thing was extremely dangerous to the population as a whole, while blaming Tylenol will maybe hurt some pharma sales that's all. I wish he went with this discourse from the start, instead of spreading fear over vaccination during the times the World needed vaccines the most.

With that said, my whole point is that, unfortunatelly, political discourse has power, even if it's just theatrics. I wish you folks had more than two options in the US so you wouldn't need to choose his hateful and harmful discourse over the opposition, but sometimes you have to make do with what you have and it's not going to be good.

guhcampos··on The Poison Pill to End the MMR Is Tylenol
AKA Acetaminophen, depending on the country.
guhcampos··on How to motivate yourself to do a thing you don't want to do
Let's all be honest here.

I use Vyvanse.

guhcampos··on I ditched Spotify and set up my own music stack
The genius of streaming was being more convenient than piracy. With streaming prices hiking up, recommendations getting worse and their libraries becoming plagued by one-song-releases and AI Slop, piracy is becoming a thing again. The same is happening for video, apparently, as people get tired of having to pay for half a dozen streaming services more than they used to pay for 300 cable channels.

Apple actually used to have a platform that was decent at providing legitimate music at reasonable pricing and convenient means to play it with iTunes. I wonder if Apple Music can become that again.

guhcampos··on Show HN: Strix - Open-source AI hackers for your apps
"XBOW is an AI-powered penetration testing platform that delivers human-level security testing at machine speed."

At least they're not lying right? It's just people using computers.

guhcampos··on Multimodal WFH setup: flight SIM, EE lab, and music studio in 60sqft/5.5M²
This looks absolutely amazing, but since this is the Internet and people need to complain about stuff, I can't see the knit cloth mat working well with a wheeled chair!
guhcampos··on Mexico to US livestock trade halted due to screwworm spread
I think mr Trump will have to seriously rethink the 50% tariff he put on our (Brazilian) meat imports then. Interesting.
guhcampos··on We shouldn't have needed lockfiles
The author hints very briefly that Semantic Version is a hint, not a guarantee, to which I agree - but then I think we should be insisting on library maintainers that semantic versioning *should* be a guarantee, and in the worst case scenario, boycott libraries that claim to be semantically versioned but don't do it in reality.
guhcampos··on Live coding interviews measure stress, not coding skills
Maybe they didn't give you the same sets of problems most companies use.

Last time I went through any of these one of the problems was implementing a priority queue, for which I would have to write a min-heap on the spot. There's no chance I'd be able to do it on 45 minutes with an interviewer breathing down my neck.

In other situations I had easier ones. I don't remember the problems especifically but I recall one I googled after the interview and the answer was using two-pointers fast/slow to iterate through a list. I spent maybe 20 minutes tryng a couple different approaches and that one never occurred to me. Last time I had to use a two-pointer solution for a problem was at uni, which I left 15 years ago.

guhcampos··on Live coding interviews measure stress, not coding skills
Exactly. Leetcode only measures how much leetcode the candidate has been practicing. Nothing else.
guhcampos··on Live coding interviews measure stress, not coding skills
Anyone that has been working on corporate jobs for a good lot of years won't have a portfolio or a busy github.

I've been coding for 20 years. Almost all this work is in some private repository behind multiple levels of locks protected by a stack of NDAs and Trade Secret agreements.

Not everyone is a hobbyist.

guhcampos··on Live coding interviews measure stress, not coding skills
I can't really explain why, but to me they don't feel the same at all.

I've always finished exams absurdly quickly. I used to finish 60 min exams in like 20 min and sleep the rest of the time when the professor didn't allow us to leave, because I had likely spent the previous night drinking and partying my way through college. I'd usually ace most of them.

Thing is, at those times we were working with freshly acquired knowledge that you've been practicing a lot. That's not the case with most leetcode interviews. As a senior/staff engineer, I'm not using double pointers to perform little math tricks on a daily basis, I'm troubleshooting cascading timeouts on distributed systems. I'm not worried about how fast I'm going to iterate over a batch of a couple thousand records on a list I'm worried about how much latency I'll accrue if I rely on a primary source of truth instead of hitting a cached answer.

Code interviews don't measure experience or competence. I don't even think they measure stress as the article mentions. To me, they just measure how much leetcode you practiced for that interview. Nothing more.

guhcampos··on Brazil central bank to launch Pix installment feature in September
Generally, yes. You need an account in some Brazilian bank to use PIX, so these are likely Brazilian nationals living abroad and accepting payments directly to their Brazilian accounts.
guhcampos··on Brazil central bank to launch Pix installment feature in September
This. Mercado Pago is also available in Brazil, and it requires you deposit funds in their own account to use.

The thing about PIX most people don't get, including Europeans in this thread, is it integrates into whatever is your bank, so you can use your bank's cashing account to pay, no external app or account necessary.

guhcampos··on Brazil central bank to launch Pix installment feature in September
We also have the same problem: technically, PIX is only inside our borders. The thing is our borders are huge!

In practice, people have started to accept it in Portugal, Argentina, Uruguai and some other places where people tend to have accounts both in their countries of residence and Brazil.

guhcampos··on Programming Vehicles in Games
Amazing article. I've always been curious how hard it would be to simulate accurate tires in particular, and I'm also interested in how the sound of engines is generated.

A quick typo though: s/Imperically/empirically (I guess)

guhcampos··on N8n vs. node-red
I understand nothing of this article.

What does it mean by "n8n" lacks a UI? All it has is a UI, what use cases does the UI not handle? The writing is very poor and does not make sense at all.

guhcampos··on I'm switching to Python and actually liking it
Some-other-language-user complaining about python ugliness:_____new_____ and _____init_____

Same-other-language-user:

((()))()()()({}{}{{(((())){}}}}{}{}{};;;;();)(;}}}

*not supposed to be correct syntax, it's just a joke

guhcampos··on I'm switching to Python and actually liking it
Apparently the author used to be a Java person. I have this feeling - or prejudice - that people still in the Java World are a bit out of tune with the tech industry, working on huge legacy projects on big retail or US banking. These people tend to be conservative and resistant to change, so maybe that's where these types of articles are coming from.
← PreviousPage 2 of 11Next →