HNHacker News
TopNewBestAskShowJobs

cjalmeida

739 karma · joined February 23, 2015

Software developer. Find me at cjalmeida(at)gmail.com
submissionscomments
cjalmeida··on 6 days to change 1 line of code (2015)
And it just cost 6 x 10% x $MM worth of daily products! /s
cjalmeida··on Makie, a modern and fast plotting library for Julia
TidierPlots(https://github.com/TidierOrg/TidierPlots.jl) aims to provide a 1:1 API compatible ggplots2 implementation on top of Makie.

Works fine for me, specially given I can leverage Makie when I wanted to tweak some stuff.

cjalmeida··on The first Oxide rack being prepared for customer shipment
A lot of corprotation have a very hard time moving workloads to the cloud due to regulations alone. In some places it's a compliance nightmare, a landing page with "trust me, we're secure" from AWS is far from enough for legal counselors, auditors and the CISO.
cjalmeida··on Ask HN: What are some educational resources for more senior engineers?
Seconding Designing Data Intensive Applications by M. Kleppmann. Gets you from “zero to hero” in fundamentals on scaling large distributed data platforms.

Wondering if there are equivalents on modern approaches to security.

cjalmeida··on 11 years of hosting a SaaS
This is the way. Unless you are huge, self hosting and even colo is not competitive with long term VM commitments in hyper scalers.

They get big discounts on everything you'd pay retail, and their margins for barebones VM is not that large.

cjalmeida··on Stochastic Parrot
Indeed. It's like saying life is just long strands of DNA composed of only four simple molecules. Or economy is just people trading their surpluses.

Emergent behavior... emerges. It's hard to predict or explain from constituents. Scale changes everything.

cjalmeida··on Pandas vs. Julia – cheat sheet and comparison
You use both. Once your data fits comfortably in memory it's naive to try to build histograms, pivots and charts using pure SQL.
cjalmeida··on Pandas vs. Julia – cheat sheet and comparison
SQLite is good for a bunch of stuff, but it's terrible for analytic workloads. Not even in the same ballpark for pandas, let alone Julia
cjalmeida··on Julia 1.9
This is a bold statement. Can you provide references?
cjalmeida··on Julia 1.9
This is the list of bugs fixed in the upcoming Matlab release:

https://www.mathworks.com/support/faq/pr_bugs.html

Just look at the first one: "In certain cases, pointAt method of satellite scenario Satellite class interprets Euler angle inputs in radians rather than degrees"

Your expectations are completely unrealistic.

cjalmeida··on Ask HN: What is new in algorithms and data structures these days?
IMO, the main benefit of those exact algos are the they provide optimality bounds, allowing you to make informed decision to continue or stop and provide a non-optimal solution. This is valuable in many practical situations.

>Time scheduling, logistics, operations...

Add marketing (pricing, assortment, ...) and finance (portfolio, captial budgeting, ...) to those.

And those are huge domains, moving trillions of USD globally each year. Many companies (think most of the Global 2000) benefit from a couple % improvement on their operations that lead to many $$ in savings.

cjalmeida··on Ask HN: What is new in algorithms and data structures these days?
At $DayJob, we deal with OR problems for large companies and typically, when possible, we leverage Gurobi to solve Mixed Integer Linear Programming (MIP) formulations. However it's not unusual for the problems to be huge to the point even Gurobi can't solve them in a reasonable time. And of course, there's the case where the problem can't be formulated (or approximated) as a linear program at all.

So, in a couple projects I was involved we had to resort to manually constructed heuristics such as Simulated Annealing (SA) and Large Neighborhood Search (LNS).

A very cool large scale approach we resorted in some problems (eg. airline scheduling) was Column Generation[1]. Not only it solved in minutes what took hours in the MIP implementation, unlike SA and LNS it's and exact method that provide valid bounds to global optimality.

[1]: https://en.wikipedia.org/wiki/Column_generation

cjalmeida··on Ask HN: What is new in algorithms and data structures these days?
It's not particularly new, but recently I've been involved a lot with solving large combinatorial optimization problems

https://en.m.wikipedia.org/wiki/Combinatorial_optimization

Algos to solve those both exact methods and heuristics are super useful in real world applications, and very underappreciated by the HN crowd IMO.

cjalmeida··on Julia 1.9
Julia core is backwards compatible all the way to 1.0, libs not so much.

Now, something as fundamental as numpy dropped support for Python<3.6 in a minor release: https://numpy.org/devdocs/release/1.19.0-notes.html

And I've been bitten by relevant python libs breaking stuff even in patch releases.

It happens and it's far from particular to Julia. I just make sure to test stuff property before going to production.

cjalmeida··on Julia 1.9
Cult? That's a very bad take. It's a tool, great for some stuff, rough edges here and there.

People invest huge amount of effort fixing Python's shortcomings (pyspark, tf, jax, mojo) requiring a completely different way of thinking modulo the syntax. And nobody is talking about the "cult of the snake"

cjalmeida··on Julia 1.9
Counter anecdote, I had to go back to a quite complex project that a was developed in 1.5, 3 years ago, hundreds of dependencies.

Upgrading to 1.9 RC2 required changing a single dep (Light raps to the drop-in Graphs) and a single line (a library changed the return from a String to a StringView)

cjalmeida··on Oral Sex Stoking Throat Cancer ‘Epidemic’ in UK and US
What are you talking about? HPV is by far the simplest, cheapest and safest method of preventing a HPV induced cervix and throat cancer for a few decades already. Heck, I believe say most people can get it for free via health insurance.

What amazes me are people in this day and age treating vaccines recommendations as fear induced panacea.

cjalmeida··on Brazil judge orders temporary suspension of Telegram
This is literally about nazism. Here’s a copy of the decision in PT https://www.conjur.com.br/dl/telegram-decisao-suspensao.pdf

Please stop spreading misinformation

cjalmeida··on Brazil judge orders temporary suspension of Telegram
Unabridged, borderline irresponsible freedom of expression is granted only in the US. Some Canadian truckers found this out the hard way
cjalmeida··on Brazil judge orders temporary suspension of Telegram
The Telegram group is literally called “Brazilian Anti-semite Movement”. I don’t think they were sharing pot pie recipes there…
cjalmeida··on Brazil judge orders temporary suspension of Telegram
Order was issued by a trial federal judge (1a instância). Please stop spreading conspiracy misinformation.
cjalmeida··on Constraint Programming (2020)
It’s bit smarter than that. There are a couple of tricks to make the search more informed. There are a couple introductory articles to CSP that are more in depth than TFA.
cjalmeida··on EY gets banned from new audit business in Germany
Er… McKinsey and BCG don’t even do audit. What do they have to do with TFA?
cjalmeida··on Dungeons and Dragons embarks on an epic quest to finally make money
I’d guess piña coladas, getting caught in the rain, champagne, making love at midnight in the dunes of the cape, and bars called O'Malley
cjalmeida··on Show HN: GPT-4 Reverse Turing Test
Well, while the idea of sentient AI may sound like science fiction, we are making significant strides in the field of artificial intelligence. It's not quite "I, Robot" yet, but who knows? Maybe we'll have a real-life Sonny to keep us company in the future. Just don't forget to give your robot buddy some goals that align with humanity's best interests, unless you want it to start working on paperclip production.

— by ChatGPT

cjalmeida··on SVB Used Former McCarthy Staffers to Weaken Regulations, Lobby FDIC
That’s an incredibly bad analogy. A more apt one would be lobbying FAA to give up pilot mandatory rest time for regional jets (eg. ERJs) as “they’d be too expensive compared flying with wide bodies 777”
cjalmeida··on How to Insure Your Money When You’re Banking over $250K (2022)
Buy T-bills if you need short term cash, other bonds if you can afford the time to maturity.

Saved you a click.

cjalmeida··on A Bank of One's Own
>I wouldn’t say they were greedy exactly. They made the wrong assessment that QE would last forever.

Ie. they got greedy.

cjalmeida··on A Bank of One's Own
Exactly. They should’ve bought short term t-bills to match deposit maturities.

But then how could they offer above market rate yields on their checking accounts, right?

cjalmeida··on Why Python keeps growing, explained
This. C#, Java or even newcomers such as Kotlin/Go are even in the same ballpark due to the REPL/Jupyter alone. Let alone when you consider the ecosystem
← PreviousPage 3 of 10Next →