Readit News logoReadit News
nicodjimenez commented on Microservices should form a polytree   bytesauna.com/post/micros... · Posted by u/mapehe
nicodjimenez · 4 days ago
This seems completely wrong. In an RPC call you have a trivial loop, for example.

It would make more sense to say that the event tree should not have any cycles, but anyway this seems like a silly point to make.

nicodjimenez · 4 days ago
My main take on microservices at this point is that you only want microservices to isolate failure modes and for independent scaling. Most IO bound logic can live in a single monolith.
nicodjimenez commented on Microservices should form a polytree   bytesauna.com/post/micros... · Posted by u/mapehe
nicodjimenez · 4 days ago
This seems completely wrong. In an RPC call you have a trivial loop, for example.

It would make more sense to say that the event tree should not have any cycles, but anyway this seems like a silly point to make.

nicodjimenez commented on Go's Sweet 16   go.dev/blog/16years... · Posted by u/0xedb
grey-area · a month ago
Microservices are entirely unrelated to classes and in no way endemic to go.

Go’s lack of inheritance is one of its bolder decisions and I think has been proven entirely correct in use.

Instead of the incidental complexity encouraged by pointless inheritance hierarchies we go back to structure which bundle data and behaviour and can compose them instead.

Favouring composition over inheritance is not a new idea nor did it come from the authors of Go.

Also the author of Java (Gosling) disagrees with you.

https://www.infoworld.com/article/2160788/why-extends-is-evi...

nicodjimenez · a month ago
Microservices in Golang are definitely related to classes due to the ergonomic aspects of a language. It takes a lot of discipline in Golang not to end up with huge flat functions. Golang services are easier to reason about when they are small due to the lack of abstractions, also Golang is very quick to compile, so its natural to just add services to extend functionality. Code re-use is just a lot of work in Golang. Golang is not monolith friendly IMO.
nicodjimenez commented on Go's Sweet 16   go.dev/blog/16years... · Posted by u/0xedb
wanderlust123 · a month ago
I think lack of classes is highly desirable. So much enterprise code is poorly put together abstractions.

I think go needs some more functional aspects, like iterators and result type/pattern matching.

nicodjimenez · a month ago
The solution to bad abstractions it not to make it very difficult to create abstractions at all. For systems code I think it's fine but for application code you probably want some abstractions or else it's very hard to scale a codebase.
nicodjimenez commented on Go's Sweet 16   go.dev/blog/16years... · Posted by u/0xedb
nicodjimenez · a month ago
Golang to me is a great runtime and very poor language. I could maybe get used to the C pointer-like syntax and to half of my code checking if err != nil, but the lack of classes is a step too far. The Golang idiomatic approach is to have a sprawling set of microservices talking to each other over the network, to manage complexity instead of having classes. This makes sense for things like systems agents (eg K8) but doesn't make sense for most applications because it complicates the development experience unnecessarily and monoliths are also easier to debug.

I would not use Golang for a big codebase with lots of business logic. Golang has not made a dent in Java usage at big companies, no large company is going to try replacing their Java codebases with Golang because there's no benefit, Java is almost as fast as Golang and has classes and actually has a richer set of concurrency primitives.

nicodjimenez commented on I hate screenshots of text   parkscomputing.com/page/i... · Posted by u/paulmooreparks
nicodjimenez · a month ago
Note that Mathpix Snip can quickly convert such screen shots to markdown code via keyboard shortcut. Disclaimer: I’m the founder.
nicodjimenez commented on Populism Fast and Slow   josephheath.substack.com/... · Posted by u/colonCapitalDee
nicodjimenez · 2 months ago
There are only two political systems at the end of the day: authoritarianism (everyone knows who is in charge) and oligarchy. Populism, in a liberal democracy, is basically authoritarianism-lite representing the interests of a particular faction of oligarchs. There's no "populism" in China, that's an American & European invention. Populism is ugly but it's a useful tool that can get things done in an oligarchy.
nicodjimenez commented on Survey: a third of senior developers say over half their code is AI-generated   fastly.com/blog/senior-de... · Posted by u/Brajeshwar
danielvaughn · 4 months ago
Yeah I’m still not more productive. Maybe 10% more. But it alleviates a lot of mental energy, which is very nice at the age of 40.
nicodjimenez · 4 months ago
What kind of codebases do you work on if you don't mind me asking?

I've found a huge boost from using AI to deal with APIs (databases, k8s, aws, ...) but less so on large codebases that needed conceptual improvements. But at worst, i'm getting more than 10% benefit, just cause the AI's can read files so quickly and answer questions and propose reasonable ideas.

nicodjimenez commented on Do Things That Don't Scale (2013)   paulgraham.com/ds.html... · Posted by u/bschne
nicodjimenez · 4 months ago
The most important piece ever written about startups, probably. Applicable to doing anything new.

For startups, the devil's in the details though. The goal is to scale but you get there by doing things that don't scale successively.

nicodjimenez commented on Launch HN: Reducto Studio (YC W24) – Build accurate document pipelines, fast    · Posted by u/adit_a
nicodjimenez · 6 months ago
For accurate and easy PDF to Markdown / LaTeX / JSON check out:

https://github.com/mathpix/mpxpy

Disclaimer: I'm the founder. Reducto does cool stuff on post processing (and other input formats), but some people have told me Mathpix is better at just getting data out of PDFs accurately.

u/nicodjimenez

KarmaCake day635October 15, 2015View Original