Hacker Newsnew | past | comments | ask | show | jobs | submit | zelphirkalt's commentslogin

They mostly have overtaken in cars too. Their EVs are just cheaper, and they have built the infrastructure around it, even in more rural provinces. Building infrastructure is something they excel at anyway.

I currently see the problem as follows: The knowledge worker like you sees the need for people like themselves to still be hired, and can reasonably argue for it. However, the management dudes and investors do not understand it, and it is difficult to make them understand, when their (short to medium term) profits depend on not understanding it. So whether you feel threatened or not, is just a matter of you feeling bad or not, but doesn't really matter, when it comes to finding a job.

Can you link a Makefile for an OCaml project, which ensures reproducibility and locality? What I mean is checking checksums of dependencies upon when they are installed, and acting only in the project directory, not changing the surrounding system in order to run the program. Asking, because I tried and failed.

ocamldep will set up the dependencies correctly. For examples, have a look at the multiple Makefile.am files in libguestfs, guestfs-tools & virt-v2v projects. All run as non-root so they don't change anything about "the system" assuming that's what you meant. (On mobile at the moment so can't link easily.)

I use GNU Make for my Python and GNU Guile projects just fine. For Python projects it becomes a job runner of tooling commands. For Guile projects it uses a SHELL that is a guix shell, which references channels and manifest, to ensure reproducibility.

I tried to write some Ocaml stuff using a Makefile, because I also didn't want to use even more specific tooling, but it became ugly quickly, because I had to use `ocamlfind` and `ocamlc`, and provide a list of all packages to include and so on. It felt a bit like writing C at that moment, where you need to tell gcc what system libraries you are using, so that it compiles the program with those.

So in the end I tried using dune and opam and whatnot, but it all felt less than clear to me. Especially, the comment someone else made here about having 2 different types of files for dune to work ...

I just want a project local directory, that contains all my dependencies and a lock file to reproducibly built my projects. That's the minimum I expect these days. Or some equivalent alternative.


So far I have been avoiding Pydantic as a huge-ass dependency. Instead I am relying on standard type annotations, lots of typed dicts and at service/program boundaries use a jsonschema. I like being able to specify the type of most functions, and get some hints, completions and so on, but I don't want to _have to_ specify every darn type. I also don't want to write a class for everything. Typing dicts is good and usually sufficient. If I wanted to write types for everything, then I could also just write Java or Rust or similar.

Unfortunately, I think the kingdom of nouns faction has long invaded the Python world and I see more and more companies demanding Pydantic and similar things. They are dragging us all the way to Java land, it seems.


I tend to get triggered when TypeScript is painted as “JS with type hints”. Coming from Python background, TS and Python with type hints are just so different.

With Python I can’t see myself type-annotating everything (or bringing in pydantic anymore for that matter, it is indeed becoming a blight), but with TypeScript my process is turned on its head: I find it natural and easy to start writing with types and have everything fully typed, and I find the fact that it simply won’t compile if anything is off (compared to Python where it’s more like “one of my N type checkers/linters failed, oh well it still runs though) a useful constraint that gives peace of mind.


Food is already extremely cheap to produce. So cheap, that we waste approximately 50% of it, before it even gets into households. Yet we are still forced to use money to buy it in stores, instead of getting it at no or almost no cost. I think they will find ways to keep everything costing quite a bit.

A lot of this is because food is hard.

For example: people in developing countries throw away more food then in developed countries although it is relative to their income much more value. The reason is because they often do not own fridges, use a lot of rice which spoils fast or have difficulties with the food supply chain in other forms.

Food waste is a bad indicator for food value.


> In the future, coding may return to being an art form. People will no longer focus on utility alone, but instead on the enjoyment of the process of writing code itself.

Great, if someone will find it in them to pay me. Real bad, if not.


Yep, this is how they do it. The domain registrar netcup did something like this to me.I went through their parent company (?) too, without success. They will put forth any reason to not have to delete your data. I suspect, that they either are trying to reduce work for themselves, or their platform is so crap internally, that they would have to get someone coding to delete the data.

I had 1on1s every 2 weeks and it was always annoying. Partially, because I didn't feel like "opening up" to this team lead and didn't feel like he was on my side or had my back at all. In the end I should be proven right, due to something he did when I left the company and also right before I left, which was one of the reasons I left. Turned out my gut feeling was right, to distrust this guy. He probably just went through the motions of what he had read somewhere of how to be a team lead, instead of really being in it.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: