HNHacker News
TopNewBestAskShowJobs

hvasilev

343 karma · joined October 16, 2016

submissionscomments
hvasilev··on The Rust compiler has gotten faster again
Rust is 11 years old, Go is 12 years old.
hvasilev··on Making Emacs Popular Again (2020)
I fell for the "text editor only" meme 8 years ago. I'm actively a vim user that uses tons of plugins just to be able to do simple things that IDEs do by default. I would not recommend it to anyone.

I work primarily with embedded systems (ST and NXP MCUs). Not working with the respective IDEs that have been specifically designed for this type of work and using a text editor instead (of any type) would be objectively a bad choice.

There is just so much value in being able to visually configure pins, peripherals, clocks, etc. that just the text editor makes no sense. Also the debugging experience is probably order of magnitude better.

What you can do and what does make sense is vim emulation inside of the IDE. It is not perfect, but it is what it is.

There is A LOT of ideology in the software world. DO NOT FALL for it. Take things at face value. Be a pragmatic, not an ideologue.

hvasilev··on The Great Tree-List Recursion Problem (2000)
I thought that flattening an ordered binary tree to a double-linked list is a very common question asked on job interviews. Personally I've seen the question twice on interviews so far.
hvasilev··on Ask HN: How do you tackle your own negativity?
Disclaimer: I'm a pessimist.

>But today, you can be stressed out about Trump or COVID-19

Stress has nothing to do with it. I can agree that stress rarely has application in our modern day lives. You can be a stress-free negative thinker and also it is possible to be a stressed positive thinker. (positive thinkers fail more, it is possible for that to have an impact on people)

>becomes grief - denial, anger, bargaining, depression

Again, none of these are necessities to be a negative thinker.

>Most things to be negative about are not actionable.

That is correct. It is undeniable that negative people are not very effective in our world. Even further - all negative philosophies and religions (Buddhism, stoicism, western pessimism, etc.) focus people on enlightenment and perfecting the person's inner world. A monk has zero interest in changing the world at scale.

However it seems to me that there are certain practicalities about negative thinking. You can be smart with it. If you take it at face value - negative thinking is kind of a superpower, it allows you to think what can possibly go wrong and frequently you more cautious than you had to be. You can use that to minimize risks and if successful - you can take actions, because the risk is no longer that high.

hvasilev··on Ask HN: How do you tackle your own negativity?
"Realistic" is not a middle point between "Negative" and "Positive". If you want to have a model of reality that is as close to truth, it would fall significantly closer to "Negative". (https://en.wikipedia.org/wiki/Depressive_realism)

However there are strategies that both ways of thinking can adopt to improve their experience / performance in the real world.

Optimistic people can try to see "both side of the coins" and not miss underwater rocks.

Pessimistic people can adopt a defensive strategy where they minimize risk to the point that they are willing to take it.

Two side notes: You can be smart about it in both situations. Also in both cases you should take out the emotional toll.

hvasilev··on Ask HN: How do you tackle your own negativity?
You are either optimizing for the wrong thing, or don't know what you want.

If want to be as frequently correct as possible, then your "negativity" is strength. The issue with this strategy is that it will prevent you from engaging with the real world the way that positively thinking people do. You will take less chances, since you realize the probabilities of failure are so big.

Positively thinking people are kind of delusional. They try to ignore the ugliness of reality and focus on the positive side of things. However they are the risk takers. They might fail a lot but at the end of the day they are the ones that succeed in changing reality for the better.

Both ways of thinking have their advantages and their drawbacks. As far as I can tell, it really depends on the type of person that you are.

hvasilev··on 5 side projects in 6 years, earning $0
because this would be a great solution to his problems?
hvasilev··on 5 side projects in 6 years, earning $0
> Wasting time on non-free software the purpose of which is making money - now that's unfortunate.

This sounds very ideological. It looks like a personal trap that you might fall in the future. Be careful.

hvasilev··on 5 side projects in 6 years, earning $0
I think there is a common benchmark for AI algorithm competitions that looks exactly like that.
hvasilev··on Facts every web dev should know before they burn out and turn to painting
All true. In my case I had to take a huge pay cut just so I was able to get into the industry. I'm not sure if this is the correct way (or the only way) to get in from a web development background. It is just what I did.

There are fewer companies that do embedded systems, but there are also not that many developers. Headhunters call me a few times a month just to ask if I'm willing to change my job, since experienced real-time embedded systems engineers are so rare that they have to actually steal one from somewhere else.

Really, really, depends on your situation.

hvasilev··on Facts every web dev should know before they burn out and turn to painting
Sure. It is a little more difficult though, since you need a little bit of an additional equipment. It is not uncommon for people to be mailing each other oscilloscopes. :P

I'm thinking of investing a little bit of money to buy myself my own equipment, since I want to use it for fun as well as for work.

hvasilev··on Facts every web dev should know before they burn out and turn to painting
The thing that burns out web developer is web development. The constant shift of technologies (just for the sake of it) and the nerfed (to oblivion) environment is hell. As a web developer, after you learn the basics (~5 years) there is no feeling of where the "up" direction is. Everything feels like sidesteps. There is no feeling of permanence to your knowledge, unlike a lawyer or a doctor. The knowledge feels like water pouring into a full container - as much of it goes out, as it goes in.

Switched to embedded systems 7 years ago to avoid the burnout. It is better, in my opinion. Funny enough, there is a natural barrier to entry that keeps most programmers away - You have to understand how computers work, how operating systems work and you have to be able to code in C/assembly. I have a lot of fun and actually picked up electronics as a hobby, which will help me better myself professionally. I think there is enough here to keep me entertained until I retire.

hvasilev··on Nobel Prize: We will not have gender or ethnicity quotas – top scientist
Well at some point the rational people will have to step up and reject the "positive racism" trend. You cannot avoid forever this little "social Marxism" problem that you folks have in the West.
hvasilev··on You're Not a 10x Programmer
Don't tell me what I am and what I am not.

People understand the "Olympics" in terms of sport, but they don't understand the exact same logic when applied to a craft. If you start early, if you focus on incrementally improving and you spend a very long time perfecting your craft, you can be a very, very productive programmer.

I have no idea why, but I'm seeing more and more people doing these kind of articles. I suspect they are coping mechanisms of the authors.

hvasilev··on The operating system: should there be one? (2013) [pdf]
This was correct in the 1980s, it is definitely not correct today.
hvasilev··on Nvui: A NeoVim GUI written in C++ and Qt
It does not change the mind. It is not good. Code completion in vim/neovim is trash across the board.
hvasilev··on Why is China smashing its tech industry?
vastly overrated compared to focusing on actual tech.
hvasilev··on A GPIO Driver in Rust
The C version is so much cleaner.
hvasilev··on Let web applications be file handlers
This looks like an API that is a bug away from allowing a website to have full access to everything on your file system.
hvasilev··on I Miss the Old Internet (2019)
This. It also happens with everything, not just the old internet. It is the fun aspect of being one of the few first to reach a certain resource.
hvasilev··on Apple asks staff to return to office 3 days a week starting in early September
What value are they getting to the share holders by making people work partially from the office?
hvasilev··on Ask HN: What do you think of Bitcoin?
The most obvious and resilient scam ever. Makes me doubt how bright the future of humanity is.
hvasilev··on Just Be Rich
Why is this vomit on HN?
hvasilev··on Open source is not a business model (2018)
There are a million ways in which your business can go belly up, there is so much that can go wrong at any point. I see these open source startups and I just cannot fathom how clueless MOST of these people need to be to build their businesses around an ideology.

I guess if you start from a very specific strategy and you make sure that the FREE/OSS route is the optimal for the sake of your business, it can make sense. Honestly if this happens to me, I would probably get discouraged by the track record of such companies, and just backtrack into a model with a better one, in order to give my business the best possible chance.

hvasilev··on Open source is not a business model (2018)
if there is a sufficiently large issue with the product itself, the vendor is monetarily incentivised to fix it asap. I personally have no expectation of that for free / os software.
hvasilev··on My self-study plan for electrical engineering
Given that you already have a job and a family to support (at some point?), I would say that this is realistically a 15+ year plan that you've built yourself.

I also had a hardware interest later my career and my approach was slightly different. I found an embedded systems job that pays about 3 times less than what I used to get paid (since I have no experience). It is definitely fun and I learn a lot, but I definitely don't have the financial freedoms that I used to have. I'm not sure which is the correct approach, but surely there is no "easy" way of getting there.

Please have in mind that this is a very serious time (and financial in my case) commitment that you are about to make.

hvasilev··on Generalists vs specialists – Who has a greater chance of success? (2019)
Is it possible to do specialism as a day job and generalism as a hobby?
hvasilev··on Ask HN: What is your advice to someone who is starting out in software industry?
Sometimes impostor syndrome feels like people correctly identifying that they are not as good as they should or can be for a particular position.
hvasilev··on Ask HN: What is your advice to someone who is starting out in software industry?
There is no place for stress or anxiety in this industry. You either need to find a workplace where stress and anxiety are not tolerated or you need a way in which your work doesn't get to you. Otherwise your career will be very short, if you are on the neurotic side of things.
hvasilev··on The Art of Negativity
Started strong, then the anti-capitalist rhetoric was too much for me.
← PreviousPage 2 of 4Next →