Readit News logoReadit News
cjalmeida commented on Windsurf employee #2: I was given a payout of only 1% what my shares where worth   twitter.com/premqnair/sta... · Posted by u/rfurmani
waste_monk · a month ago
How does medical care factor in to your plans? Do those places have equivalent access to care if you stay in or around the main cities?

Even something like living in the countryside domestically would worry me (that is, longer times between calling for help and it arriving, then time to be transported to a medical centre or hospital, and then probably getting transported to the city anyway for access to advanced medical care).

cjalmeida · a month ago
You know life expectancy in Portugal is higher than in California, right?
cjalmeida commented on AI can't even fix a simple bug – but sure, let's fire engineers   nmn.gl/blog/ai-scam... · Posted by u/namanyayg
bee_rider · 3 months ago
The line:

> Become the AI expert on your team. Don't fight the tools, master them. Be the person who knows when AI helps and when it hurts.

Is something I’ve been wondering about. I haven’t played with this AI stuff much at all, despite thinking it is probably going to be a basically interesting tool at some point. It just seems like it is currently a bit bad, and multiple companies have bet millions of dollars on the idea that it will eventually be quite good. I think that’s a self fulfilling prophecy, they’ll probably get around to making it useful. But, I wonder if it is really worthwhile to learn how to work around the limitations of the currently bad version?

Like, I get that we don’t want to become buggywhip manufacturers. But I also don’t want to specialize in hand-cranking cars and making sure the oil is topped off in my headlights…

cjalmeida · 3 months ago
Definitely don’t dismiss it. While there are limitations, it’s already very capable for a number of tasks. Tweaking it to be more effective is skill itself.
cjalmeida commented on A Tragedy of Julia's Type System   medium.com/@393069484/a-t... · Posted by u/ningcongchen
FacelessJim · 8 months ago
This feels a bit disingenious. All the languages brought as an example need some sort of handling of the `not found` case. In C++ and Go you need to check against null pointers (or don't but then encounter segafults), Haskell and Rust you are forced to unwrap the value. C also has to check against the error code or incur in errors down the line or worse subtler logic errors.

Missing this types of checks is also source of errors in dynamic languages, adding `1+None` as well as `1+nothing` will return an error if not handled properly. If you are absolutely sure your element will be in the array you have to encode it, for example

x = something(findindex([1,2,3], val)) # return value is Int now, or an error.

or even

x === nothing && error("oh no")

are enough for the compiler to correctly infer that x will just be an Int, and remove the Union.

Also, the claim that the only way to check for unfavourable Union types is to visually scan each function is just plainly false. There are many tools to do this sort of checks, just to name a few: @code_warntype, Cthulhu, DispatchDoctor

I do agree though that Julia has mainly users from academia, and therefore is less polished on the more pure software engineering aspects and tooling. But the disclaimer at the end feels just like the author is dismissing the whole language on false premises due to frustration with lack of support/ecosystem for his specific use case.

cjalmeida · 8 months ago
100% agree. This is a low quality post both setting unrealistic expectations for a dynamic language and at times straight up making false claims.

Suggesting OOP as a solution is probably the most laughable “solution” though. What does this have to do with error handling and union type inference?

cjalmeida commented on PyPI Blog: Project Quarantine   blog.pypi.org/posts/2024-... · Posted by u/miketheman
spencerchubb · 8 months ago
companies that actually care about security have a more secure solution and don't allow devs to use pypi
cjalmeida · 8 months ago
You’d be surprised by the amount of companies handling critical infrastructure that are OK with using PyPI directly
cjalmeida commented on Why Canada Should Join the EU   economist.com/europe/2025... · Posted by u/gpi
alpha_squared · 8 months ago
> It will only get worse. All the research on “diversity” clearly shows that diversity is cleary associated with increased strife, struggle, conflict and war or abuses and atrocities. It’s a very clear signal in research.

Interested in reading more. Sources?

cjalmeida · 8 months ago
There are no sources, this is completely made up.
cjalmeida commented on A Brazilian CA trusted only by Microsoft has issued a certificate for google.com   follow.agwa.name/notice/A... · Posted by u/sanqui
cjalmeida · 9 months ago
It gets worse. ICP-Brasil, the AC mentioned in the bug reports, the the government run agency responsible for all things related to digital signatures. Digitally signing a contract, a deed, accessing tax returns…
cjalmeida commented on Engineers do not get to make startup mistakes when they build ledgers   news.alvaroduran.com/p/en... · Posted by u/fagnerbrack
alexwasserman · 9 months ago
Typically not a literal pcap. Not just wireshsrk running persistently everywhere.

There are systems you can buy (eg by Pico) that you mirror all traffic to and they store it, index it, and have pre-configured parsers for a lot of protocols to make querying easier.

Think Splunk/ELK for network traffic by packet.

cjalmeida · 9 months ago
Except it is literal “pcap” as they capture all packets at layer 3. I don’t know the exact specifications of Pico appliances, but it would not surprise me they’re running Linux + libpcap + some sort of timeseries DB
cjalmeida commented on Dear friend, you have built a Kubernetes   macchaffee.com/blog/2024/... · Posted by u/todsacerdoti
Spivak · 9 months ago
Infra person here, this is such the wrong take.

> Do I really need a separate solution for deployment, rolling updates, rollbacks, and scaling.

Yes it's called an ASG.

> Inevitably, you find a reason to expand to a second server.

ALB, target group, ASG, done.

> Who will know about those undocumented sysctl edits you made on the VM

You put all your modifications and CIS benchmark tweaks in a repo and build a new AMI off it every night. Patching is switching the AMI and triggering a rolling update.

> The inscrutable iptables rules

These are security groups, lord have mercy on anyone who thinks k8s network policy is simple.

> One of your team members suggests connecting the servers with Tailscale: an overlay network with service discovery

Nobody does this, you're in AWS. If you use separate VPCs you can peer them but generally it's just editing some security groups and target groups. k8s is forced into needing to overlay on an already virtual network because they need to address pods rather than VMs, when VMs are your unit you're just doing basic networking.

You reach for k8s when you need control loops beyond what ASGs can provide. The magic of k8s is "continuous terraform," you will know when you need it and you likely never will. If your infra moves from one static config to another static config on deploy (by far the usual case) then no k8s is fine.

cjalmeida · 9 months ago
You’d be swapping an open-source vendor independent API for a cloud-specific vendor locked one. And paying more for the “privilege”
cjalmeida commented on Sveriges Riksbank Prize in Economic Sciences in Memory of Alfred Nobel 2024   nobelprize.org/prizes/eco... · Posted by u/hdvr
nradov · a year ago
If economists can't predict the future then what good are they?
cjalmeida · a year ago
If developers can’t produce code without bugs, what good are they? /s
cjalmeida commented on Sveriges Riksbank Prize in Economic Sciences in Memory of Alfred Nobel 2024   nobelprize.org/prizes/eco... · Posted by u/hdvr
cjalmeida · a year ago
I strongly recommend Acemoglu, Robinson classic book "Why Nations Fail"

https://www.amazon.com/Why-Nations-Fail-Origins-Prosperity/d...

It's very accessible, no economics background required. Along with Krugman and Kahneman, one of the few economics scholars that take the time to write a book for layman.

u/cjalmeida

KarmaCake day665February 23, 2015
About
Software developer. Find me at cjalmeida(at)gmail.com
View Original