HNHacker News
TopNewBestAskShowJobs

joaonmatos

134 karma · joined April 20, 2021

submissionscomments
joaonmatos··on Wide logging: Stripe's canonical log line pattern
This is not much different than CloudWatch metric events. At Amazon we output a service log or Embedded Metrics Format event with these things.
joaonmatos··on ECL Runs Maxima in a Browser
Prof. Jaime Villate taught us physics at U. Porto and made heavy use of Maxima. Good times :D
joaonmatos··on Build files are the best tool to represent software architecture
Another fine day to be using Brazil
joaonmatos··on Modern CI is too complex and misdirected (2021)
Sometimes I feel we Amazonians are in a parallel world when it comes to building and deploying.
joaonmatos··on AWS forms EU-based cloud unit as customers fret
In this scenario, the US parent company does not have physical access to the data, so it needs to request it from the EU subsidiary. The subsidiary then refuses the transfer to comply with German law.
joaonmatos··on AWS forms EU-based cloud unit as customers fret
The goal is to design the services and corporate structure in such a way that, if the parent company was forced by US law to try to get ESC data, the operator would be forced by EU law to not comply. In extremis, the partition would be shut down, rather than release the data.
joaonmatos··on The Ingredients of a Productive Monorepo
As an Amazon employee, this is the kind of discussion that makes me glad we have the Brazil build system.
joaonmatos··on Don't Be Afraid of Types
I think we're moving past this fear, thankfully. When you look at newer Java features (records, destructuring, value types) you see that even in the most stereotypical OOP language we are developing a language to describe both behavior (what we always had, with SOLID and domain classes and so on), but also a lightweight language to operate on pure data.
joaonmatos··on Getter-Setter Pattern Considered Harmful
I agree with the article for the most part (except the last snippet where the author reverted to bare, mutable fields), but the point was very badly argued.

I think we really need to consider that sometimes you want a place to hold together data, and some other times you are encoding some behavioral trait, and prior to records Java did not have a way of distinguishing between them.

My rule of thumb is to avoid exposing data in behavioral classes, and prefer immutable patterns for data holders. But sometimes it's not possible to not have setters (e.g. for builders and for JPA entities).

joaonmatos··on Who Is Portugal For?
I’m a young Portuguese that left the country for better opportunities, part of the demographic this “author” claims to care for, and it’s hard to not feel disgust at the cynicism and extreme liberal bias. Apparently everything is the socialists’ fault and the center right parties just didn’t kowtow to fascists hard enough.
joaonmatos··on Oi (Interjection)
The Portuguese section is outdated regarding European Portuguese, where oi is already very used due to Brazilian influence
joaonmatos··on Berlin's indoor pools
Is Velodrom the big sports complex by the Landsberger Allee station? If so, it makes sense. Afaik it is the biggest pool complex in the city, supporting olympic swimming and diving.
joaonmatos··on Fedora 39 Released
Desktop apps scale their layout based on the number of pixels, not on text size. So (with the notable exception of browser apps and by consequence Electron apps) you will just end up having bigger text in a badly laid out window if you just increase text size.
joaonmatos··on Berlin's famed nightclubs, losing customers, face an uncertain future
I see a lot of issues with phones as many people say, but you go to KitKat on your average night and you see plenty of people dancing.
joaonmatos··on Apple Faces Potential Watch Import Ban After Federal Trade Ruling
They're not asking for payment
joaonmatos··on Amazon launches Project Kuiper satellite internet prototypes
The amount of physical adjustments and maintenance needed to operate mirrors in the 15m+ diameter range, for visible and near IR/UV, are very hard in outer space. For now it seems that earth-bound optical telescopes are still needed, even with all the orbital debree and atmospheric interference.
joaonmatos··on Organization probably doesn't want to improve things
I think you’re right in the aggregate and the abstract.

But it’s also funny that two of the situations you mentioned (Johnny Depp “victim” and Bud Light) are fake stories based on conservative media astroturfing where any judge would be hard pressed to find that there was unreasonable behaviour on the corporate end.

And of course, being a white knight only works if you’re privileged enough to be able to jump ship or fight your social wars and still have something to fall back on. Not everyone here is a US citizen with US resident parents and US college education, earns 6 figures, or has had decades of working experience to accumulate savings and make a CV.

joaonmatos··on Svelte 5: Runes
There might be a long tail phenomenon at play here. Do you have stats on number of developers using the tech or on page views for each framework?
joaonmatos··on Airport Pianos: Find Pianos in Airports
Hi James!

The link on the page https://airportpianos.org/pianos, section "About the List" that points to the JSON file is actually pointing to a localhost address, not your public host name.

Cheers

joaonmatos··on Why does email development have to suck? – Explaining all the <tr>'s and <td>'s
The post you're responding to probably meant in the event of alternative HTML+text emails. Obviously if the email is plain text-only it won't invent HTML to show the user...
joaonmatos··on Java 21: What’s New?
Some of the methods were explicitly lifted out of the Deque into this interface. Basically the aim of the new interface is to provide an unified experience and standard methods to all the collections that can feasibly support it.
joaonmatos··on Are Implicit Operators a Path to Clean Code or a Buggy Nightmare?
Can’t you do `auto i = CustomInt(0)`? Then all of the construction is explicit (and in a single place in the statement) without repeating.
joaonmatos··on Serverless to monolith – Should serverless lovers be worried?
ECS on Fargate is still serverless. It seems that people think only Lambda is serverless, when serverless just means "product category where you pay for the usage directly, instead of for the resources provisioned to serve it". Lambda is a burstable, short-lived compute service; it's only natural that it's not well suited to situations where you have predictably sustained high throughput and homogeneous task requirements. To not even talk about how dumb the original architecture was for shuffling frames in and out of S3.
joaonmatos··on Dating, education, and sex ratios
You make a very wide set of assumptions about some kind of metaphysical complementarity inside a couple that erases homosexuality and presupposes some naturally ordained monogamy.

I am sorry, but unless you substantiate it in anthropological terms, it is utterly unfalsifiable and the argument should be thrown out in its entirety.

The lived experiences of many queer and polyamorous people, plus the evidence of "deviant" behaviours in many animal species and historical and present societies contradicts your prescriptions.

joaonmatos··on A compact overview of JDK 21’s “frozen” feature list
If you keep to the standard edition platform and never used internal APIs, you could argue Java never broke backwards compatibility, effectively having a 1. before every version number.

In practice, you could say that Java had only one major version bump: from 8 to 9, when it closed down internal APIs with Jigsaw and gave away Java EE to become Jakarta.

joaonmatos··on Intravenous Caffeine
You can have your espresso standing up at the café's bar like an authentic southern European and avoid the problem? Sounds great! :D
joaonmatos··on FF4J – Feature Flags for Java
The copy is in pretty rough shape. You should try to get a native English speaker to edit the contents for you.
joaonmatos··on Windows 11 adding native support for winRAR, 7zip, tar, and gzip
Since .rar compression is still proprietary I’m guessing they’d actually have to buy out or license it.
joaonmatos··on Pigz: Parallel gzip for modern multi-processor, multi-core machines
Pigs elicits images of heavy exchange of bodily fluids between the intervenients
joaonmatos··on Pigz: Parallel gzip for modern multi-processor, multi-core machines
Best of luck with the implementation, but I do hope the authors realise they should avoid naming their software tools like an old-school pornographic film.

I thought we had learned that from the GIMP[1].

[1] https://www.theregister.com/2019/08/28/gimp_open_source_imag...

Page 1 of 3Next →