Readit News logoReadit News
kostarelo commented on Ask HN: Solid setup for local microservices architecture    · Posted by u/kostarelo
kostarelo · 2 years ago
Author here: just wanted to clarify that the question was meant to be for creating a local development environment.
kostarelo commented on Ask HN: How to evaluate a country's economic performance?    · Posted by u/kostarelo
beardyw · 2 years ago
The question you are asking is almost "what is economics?"
kostarelo · 2 years ago
Yeah I get that, I was looking for personal subjunctive opinions.
kostarelo commented on Ask HN: How to evaluate a country's economic performance?    · Posted by u/kostarelo
yuppie_scum · 2 years ago
GDP (Gross Domestic Product) is the headline metric.

There must be many books on this subject, I’m pretty sure I learned that in one of my intro level college Economics classes (Econ minor)

I would pull out a macroeconomics and and microeconomics book from the library and study up. Maybe grab a Udemy course on Econ as well.

kostarelo · 2 years ago
I'm thinking that GDP is best used for longer term periods and not for a goverments' short term term, 4-10 years. For example, a goverement could be recklessly spending money that could have an effect on GDP but that doesn't show the whole picture.

Regardless, GDP is always useful so def one of the right metrics for economic performance in general.

Def I need more studying on the subject my self.

kostarelo commented on Ask HN: Does learning mathematics give you some kind of superpower?    · Posted by u/optbuild
kostarelo · 2 years ago
I can answer with an example, the famous book Algorithms to live by. It’s amazing how so many of everyday things can be explained with mathematics.

https://www.amazon.com/-/es/Brian-Christian/dp/1627790365

kostarelo commented on Buck2: Our open source build system   engineering.fb.com/2023/0... · Posted by u/mfiguiere
i-use-nixos-btw · 2 years ago
If you only use one language, and that language has a reliable, reproducible build system that gives you the guarantees and functionality that you require, then not much.

Here’s how I used Bazel (and how I now use Nix).

I am provided a configuration file that specifies what a given instance of my program must do. I use language A that can natively understand this configuration to code-generate a file in language B (which is significantly more suited to the performance requirements of the program)

This file is then built along with generic program code. It is used to process a lot of data.

As an interface to this program, I have a HTTP interface that can communicate with it. It needs to understand the kinds of outputs the program will produce, so some of this HTTP interface is also code generated in language A. The interface is interactive so typescript is generated and then compiled too.

In order to process the output from the program, I need to produce extensions for languages that users of the output use: Python and R. These need to understand the kinds of data being used, so are also code generated - then built. They’re then tested against requirements defined by the config (so the tests are also code generated).

Each of these stages have dependencies required when building and dependencies required when running, and there are several languages involved.

I also need to be able to express the entire process as a function, because it’s something that needs to be run very frequently on different configs - sometimes in collections of configs that need everything built at once. It needs to be build on several different machines, sometimes desktops and sometimes remote servers, sometimes on clients’ hardware (depending on the needs). I need confidence that something that works on my development machine will work, in entirety, on a completely different machine with minimal prior setup. And I need it to be easy to do, easy to maintain, and I don’t want to mess around with many different build systems that have entirely different use cases, entirely different ideas of how build/runtime environments should be handled, entirely different languages to configure them - and many of them are rigid and don’t have a concept of functions, they’re just “state your dependencies, kthxbye”.

All of the above is absolutely trivial with bazel if you know where to tread lightly (e.g. surrounding Python environments). It’s also very easy with Nix once you get used to it, and you don’t need to tread lightly there - it has stronger guarantees.

kostarelo · 2 years ago
That's very interesting, I've never exposed to such a development environment. Is there maybe a GH repository or something that I can see the above in action? Thank you
kostarelo commented on How to transition a team from Git-flow to trunk/CI-CD?    · Posted by u/chuie
kostarelo · 2 years ago
I see you have a good suggestion but I haven’t really got what the problem is. Is it the weekly release cadence, you mentioned branch hell but tbh I’m not familiar with it, how does it look like? What are the biggest pain points?

I’m only trying to make sure I understand the problem otherwise I cannot evaluate the solution. Plus it would have make it very hard to sell it to me, if I was to take the decision.

kostarelo commented on Ask HN: What role do data and analytics play in product management?    · Posted by u/hey-fk
kostarelo · 2 years ago
It’s all about “listening” to the users with quotes because it doesn’t necessarily means face to face communication. Although f2f is best for relation building, it can’t really scale.

Data are everywhere these days and you should be gathering as much as you can(emphasis in can, it can be expensive). Take Google Analytics for example added to a blog, you can see your most read articles and write more of those, see where people exit and take action, setup interaction tracking and see what buttons are working best. You can do AB tests and compare results between two comment forms.

Same logic applies to a product as well.

But then it’s not just analytics and valuable information can be extracted from everywhere. Look at your DB and see what people have been storin (being cautious on prívacy laws). Gather NPS and see what feedback you’re getting from there.

Big companies usually have departments focused on data gathering and analysis, but even for smaller products, I would say that the best thing you can do is being data driven. Try to base your decisions with data that make sense.

All the best

u/kostarelo

KarmaCake day635June 1, 2013
About
Product engineer @ London https://kostasbariotis.com

[ my public key: https://keybase.io/kbariotis; my proof: https://keybase.io/kbariotis/sigs/hmOBdn43yTahL3Qsto9NOkR6UFphgh24M2DrJWSP31Q ]

View Original