HNHacker News
TopNewBestAskShowJobs

laeri

144 karma · joined October 15, 2019

submissionscomments
laeri··on I thought I wanted to be a professor, then I served on a hiring committee (2021)
If you are going to build a team you will probably select for people you know and trust first, so choosing from people in your network is a natural way of doing this. This is literally called 'networking'. If it isn't a startup this can become a problem as the hiring process should be more open for everyone otherwise you won't be able to get a job anywhere without knowing someone from there first.
laeri··on LazyVim
I agree with your main point, you have to do quite a few things to configure these plugins and some of it is not straightforward.

However, I program rust using the lunarvim default configuration for vim and it has been very straightforward. I have all features I need to program comfortably and I didn't need to configure anything, the defaults were good enough for me. So that doesn't mean that vim cannot have the same easy of use if there exists some sane default configuration you can just install. I am happy with it and not going to change to vscode or something else.

laeri··on Why I Hate Frameworks (2005)
Most often you don't have to go through so many. The community usually has some preferred selection of tools and you have to choose from 2-5 different options. You still need to do some research but it is not as bad as you present it. The advantage of this is that better tools may replace worse tools and totally different approaches can be tested whereas you have to hope in a framework that the initially chosen strategy can be improved enough.
laeri··on Show HN: CodePerfect, a fast, lightweight IDE for Go
Absolutely agree. LunarVim is my NeoVim configuration of choice and 90% of my usual workflow is present and with the missing rest I can still manage to be productive enough.

I don't see not having LSP as a positive aspect to mention by their IDE.

laeri··on Tips for programmers to stay ahead of generative AI
I use ai mostly for creating code examples for specific things I haven't written before and for learning new programming languages.

During day to day I haven't used copilot or tabnine yet but I have seen that there exists some plugin I could integrate into neovim which I will definitely try.

laeri··on Can the stock market go to zero?
Why would someone want to pay to get rid of their stocks? In the worst case they would be worthless or not?
laeri··on Ask HN: Could you share your personal blog here?
https://laeri.me/blog

I am practicing writing and blogging so most of my posts at the moment are mostly for that purpose. I still have a lot to learn and my blog will hopefully reflect my improvement over time.

laeri··on Ask HN: Are people in tech inside an AI echo chamber?
I hear people about it talking everywhere. Students that use it to write some work or learn for exams. Colleagues that use it for generating code examples for specific things. Someone from HR writing text. This is definitely not an echo chamber as many people know about it and are using it in some kind or other or are at least curious.
laeri··on Proton Pass end-to-end encrypted password manager is here and free for everyone
Yes this is an option but a very annoying one.
laeri··on Is ORM still an anti-pattern?
The problem is that there are different kinds of ORMS. One where the model is created and either the tables are generated from the model or some mapping exists. The other kind takes the database as a source of truth and from sql queries generates type safe wrappers and models. I believe most people only have experience with the first kind which has some problems but never really experienced the second kind which is very near to the database.
laeri··on Is ORM still an anti-pattern?
They specifically mentioned them (queryfirst, pgtyped, pugsql, sqlc)
laeri··on Is ORM still an anti-pattern?
With small amounts of data that may work doing in memory but you can't scale without doing calculation in SQL that is optimized for it.
laeri··on Is ORM still an anti-pattern?
There seem to be two kinds of ORM's.

One is based on the domain models and will either generate tables and columns or has some kind of mapping from domain model -> database.

The second type does the inverse approach and generates domain models from an existing database.

I vastly prefer the second version as the database is and should be the source of truth and generating types from the existing database as well as queries (you write sql and it generates type safe wrappers for your language).

The first approach has been done quite a lot and is very error prone and there will be drift from your domain model compared to the database which can lead to subtle errors.

The second approach is very flexible and you can still write SQL as you would have otherwise done but you can integrate it easily in the code as the type safe wrappers are generated automatically. Also your domain model (database -> model) is always up to date.

laeri··on A new study looks at how exercise can help alleviate anxiety and depression
Maybe not getting enough rest might have offset the positive factors?
laeri··on A new study looks at how exercise can help alleviate anxiety and depression
The problem with advice is that it comes from someone in a different position. The depressed person might not be able to actually perform the suggestion due to lack of energy or other factors.
laeri··on A new study looks at how exercise can help alleviate anxiety and depression
This is a great comment as it reflects the situation quite well.
laeri··on A new study looks at how exercise can help alleviate anxiety and depression
The brain tries to minimize energy expenditure due to evolutionary factors and only wants to expend energy if absolutely necessary. Therefore you need to trick your brain into doing the right thing.
laeri··on XML is the future
You are right that this is specialization but it still is a career killer in the case that you specialize on a completely obscure technology which will not help in your future career.
laeri··on Zotero Better Notes – Knowledge management inside Zotero
I don't think both serve the same use cases. Or can you use obsidian or does a plugin exist to annotate and read pdfs?
laeri··on Everything that uses configuration files should report where they're located
The main culprits are programs that were written before the standard existed in addition to many people that just don't know about it.

Who should enforce this standard? I would say community pressure does it pretty well at the moment. A standard does not need to be enforced and the XDG base directory one is still useful. The more awareness exists and the more people want this and think it is useful the better. It also has the advantage that no other competing standard exists as far as I know but it still has some downsides.

laeri··on Everything that uses configuration files should report where they're located
There are standards. The article even mentions the xdg base dir standard. The problem is that not everyone follows them but a large number still do and then it is easy to find them. I still agree that app containers are still a good idea.
laeri··on Everything that uses configuration files should report where they're located
- If your configuration has more than 5-10 options then env vars become a mess while a configuration file is more maintainable - Nested configuration / scoping is a mature advantage of configuration files - You can reload configuration files whereas you can't reload environment variables during runtime - A configuration file is a transparent record of your configuration and easier to backup and restore than env variables. Env variables can be loaded from many different locations depending on your os. - In configuration files you can have typed values that are parsed automatically with env variables you need to parse them yourself. This is just a difference not that bad for env variables per se.
laeri··on Revolt: FOSS Discord Alternative
It sure helps that the code is open source. However, there are some factors that still make it harder for other people to pick up a project

- a lot of knowledge can be lost how the system works and has to be reverse engineered - which fork is the chosen one by the community and how will people know about it - branding might be unclear, can you reuse the name or should you rename your project

laeri··on Revolt: FOSS Discord Alternative
Can you explain what you mean exactly?
laeri··on Revolt: FOSS Discord Alternative
I agree with this comment. However, having mostly just a single person as the creator and maintainer means it has a truck factor of one.

A small team would inspire more confidence in the longevity of the project.

laeri··on So you want to write a GUI framework (2021)
I am not sure why this strange fixation on tabs as an important ui element exists. In most cases such as within a browser tabs are horrible to navigate. In my opinion they only make sense if you have a fixed number of diffferent "submenus" that you want to show. The tabs will always be named the same (for the different categories) and they will stay at the same place.

Using dynamic content for tab is just only barely useful and still persists in many browser and applications (such as postgres or obisidan). What happens is that you will open a large number of things in this will completely clutter your tabview. A list which is filterable will always be better to navigate than some tabs with dynamic content.

laeri··on Handles are the better pointers (2018)
This is not an entity component system. ECS defines how you need to structure your code. You have basic entities that you can assign components to. If you add certain components to entities then some systems will handle logic for all entities that have some subset of components. Entities that do not have the required set of components will be ignored. ECS can usually benefit from these types of allocators as they provide performance benefits but it isn't required.
laeri··on JetBrains Noria
A serious alternative is neovim together with lsp plugins. You can set up a preconfigured neovim such as lunarvim and after learning a few shortcuts you are 90% the way what Clion offers. It isn't totally easy to get into it but at least for coding it is very productive. Debugging is another story I haven't really touched until now.
laeri··on Imaginary problems are the root of bad software
Not to disagree with you but if there are people with insider knowledge they will either dump a massive amount of stock or buy it up changing the stock price. So the insider knowledge should be priced in quite fast thanks to their greed.
laeri··on Releasing an indie game on 3 consoles at once and failing financially (2016)
I have a different experience. I can't play most of the AAA games as their gameplay seems quite simple in a lot of cases and they often follow common structures. Indie games are radically different in a lot of cases as they usually take more risks and just the personality of the creator(s) shines through.

My most favoure genre is roguelikes/roguelites which is just not present in AAA titles.

← PreviousPage 2 of 3Next →