Better HN
topnewbestaskshowjobs
Log inSign up

Seb-C

1,107 karma · joined Mar 22, 2019 (7y ago) · 450 submissions

Submissions

comment 3y ago · link · parent

I call that "working around the symptom rather than fixing the actual problem".

comment 3y ago · link · parent

Not only it's a good thing, but it's bad faith anyway because it's not telling the whole story.

Houses are seen as pretty-much worthless overall, and many people would decide to destroy and build a new house rather than fix and maintain a 20 years-old one. There are many reasons to this, both cultural and practical.

The good consequence is that the prices here are relatively stable and does not inflate like in the west. It is possible to buy an individual house in Tokyo for the average resident, you don't need to be rich.

But the elephant in the room that the article forgets to tell is that while houses become worthless quickly, land does not. When you buy a property, about 80% of it's price is the value of the land itself, not the house. And while it can fluctuate depending on the area and it's surroundings, it does not degrade much over time.

comment 3y ago · link · parent

Nice, I just followed someone and it helped me find a statue in some kind of ruins. I wonder if it was you :)

comment 3y ago · link · parent

It's not a matter of personal opinion, it's a fact that the data mapper pattern (like doctrine) allows for a better and more maintainable architecture than active record.

Separating the data access layer, the models and the business logic (basically a 3-tier architecture) is a widely used and proven industry standard to keep a sane, maintainable and testable codebase.

Active record ORMs like Eloquent mixes everything in a single layer (business logic in the model events, data accesses are done by the models), but as soon as you reach a significant level of complexity, it is unmaintainable.

Even Laravel codebases that grow in complexity often ends-up wrapping Eloquent in a repository layer.

comment 3y ago · link · parent

+1 for the strict mode. I consider it a must-have quality requirement.

I honestly don't understand why it's even optional, as being able to know what is nullable or potentially undefined is extremely important, and not having it can lead to tons of bugs.

comment 3y ago · link · parent

I agree, the number of notifications on LinkedIn is just ridiculous.

Even if I disabled pretty much everything, I regularly get a new useless kind of notification on my phone.

comment 3y ago · link · parent

Not ADHD, but this is how I deal with Slack:

- Disable all sounds and vibrations of Slack on my phone (but keep the notifications)

- Disable notifications on my phone outside the work hours

- Mute all channels that I am strictly not interested in

- Disable all desktop notifications

- I don't have dual screen. Before I was a screen dedicated to slack, and it was actually an unnecessary distraction

With that, I only look at Slack whenever I'm not focused at something. If I find that a channel contains too much spam, I also mute it. If it's important, people will have to ping me.

comment 4y ago · link · parent

If this is the best that the crypto bros can produce, then I'm glad that I'm staying away from it because their API is a joke technically.

comment 4y ago · link · parent

Fundamentally, the more value you create, the richer you become. If you take two equal cave-men, and one builds a house and start farming stuff and the other not, then suddenly you have one rich that possesses all the value in the world, and one poor guy that has nothing.

There is nothing wrong in this dis-balance, it's just natural. The rich one did not steal from the other and does not owe him anything.

So the right question is "What prevents the other caveman from creating value?". Historically it was access to resources, how the climate favored access to food, etc...

But now that science and technologies can do wonders, we are indeed often left with political barriers to the development.

comment 4y ago · link · parent

I've been the lone guy seriously working in a team of do-nothing.

You can definitely get away doing nothing as an engineer if the project manager is too busy or does not care. Also works if your direct manager is himself a do-nothing, or a developer that for promoted and actually does not have any management knowledge or experience.

Of course the real problem is that the whole organization is dysfunctional, but there is no right or easy way to fix this problem, except try to identify the honest guys and fire everyone else. Because most of the alternatives ends up with the minority of productive guys quitting.

191.

Monads for Go, using generics (Option, Result, Either...)(github.com ↗)

2 points · by Seb-C · 4y ago · discuss

comment 4y ago · link · parent

PulseAudio

I still have to fight with it all the time, and cannot get it to work as expected. And that's with the most standard use cases:

- System always getting muted after unlock/reboot (for some reason)

- Playing sounds on the speaker despite jack headphones being connected (I have to manually switch the output)

- If I unmute the sound (that wrongly got automatically muted) with my earphones connected, it starts loudly playing my music on speakers at maximum volume.

- UI not reflecting the actual situation (it shows muted speakers despite playing stuff on it for example)

comment 4y ago · link · parent

This scenario makes no sense.

How would russian aircrafts with known nuclear capability cross so much NATO airspace without being taken down immediately?

Also, I don't think answering a single nuke with another nuke would be a smart move, especially when the radioactive fallout would hurt allies. Conventional destruction of nuclear and military capabilities seems a much more reasonable and efficient defense to me.

comment 4y ago · link · parent

That's a very well expected and deserved consequence of being pathological liars.

comment 4y ago · link · parent

The troll farms have been very quick to start accusing the 'evil USA acting against the EU interests'...

Given that their strategy have been for decades to try to sow discord in the west, EU and NATO, I would not be surprised if it was another idea towards this goal.

comment 4y ago · link · parent

Because of it's geography (only high peak in a plain), climbing mount Fuji gave me pretty much the same vibe, except that the landscape is quite different and it's doable by most people without risking your life.

comment 4y ago · link · parent

That's interesting, because on the other end, lately I had some cases where Google did not even recognize very elementary operations and would not give me the result. That never happened before.

comment 4y ago · link · parent

I bough a high-end X1 carbon because I wanted to keep it for a long time and I trusted Lenovo. While I loved it and was very satisfied, it turns out that the main board suddenly died after 2 years, and it was not repairable.

They do not provide any post-warranty support (even paid) and do not sell spare parts.

Now I'm back to a desktop PC that I built myself and can repair or upgrade however I want.

199.

Raptor 1 vs. Raptor 2: What did SpaceX change?(everydayastronaut.com ↗)

1 points · by Seb-C · 4y ago · discuss

comment 4y ago · link · parent

My own experience is that I met my now wife right after I ditched dating apps and decided to enjoy life with friends instead. Or to be precise, I met her before that, but didn't care to speak and socialize with her.

Dating apps never worked to me because I was inexperienced and wanted to take my time to get to know the person (I mean like meeting a few times over a few weeks or months), but on dating apps there is this commonly shared nonsense that the first date and impression must all be perfect, or it's doomed.

My advice would be to make friends, spend as much time as you can outside (or meetups when friends are not an option) meeting random people in various contexts.

Also a couple of considerations:

- Love at first sight is a trap. It is more likely that 'the one' will seem 'meh' to you at first. You need to meet people multiple times to get to know them.

- Don't only meet people that are potential dating material. It is very important not to have this mindset, because it affects your behavior and image negatively. Socializing with people of both genders and all ages is also a very important part of that.

comment 4y ago · link · parent

I hate the trend of documenting by giving only examples and tutorials.

Examples are nice to get started, but completely useless otherwise. Please just give me a list of possible parameters/properties with their meaning, type and possible values.

For example, the Kubernetes documentation is a nightmare to me because it's not a real documentation, just a bunch of examples. Not only it is very inefficient to look for a very specific piece of information in that, but if my case happens not to be in it (which is most of the time) I can waste hours looking everywhere to finally learn that there is actually a x.y[0].z key that does exactly what I need.

Other example: Github actions. If you look hard enough, you may find something close to a yaml specification, but it's quite hidden, confusing and difficult to understand which property belongs to what. In contrast, CircleCI is extremely easy.

comment 4y ago · link · parent

I have got a stable setup and been happy with for many years now.

I would say that the plugins I could not do without are:

- vim-polyglot

- syntastic

- nerdtree

- coc.vim

comment 4y ago · link · parent

I like the opposite idea, that maybe we are all the same consciousness, projected in bodies that have different subjective experiences and memories.

comment 4y ago · link · parent

Having tested dozens of Gallery apps, I have to say that I had a hard time finding one that does not do magic with my files, but rather uses the file system (directories) to organize it.

I have thousands of photos carefully sorted, categorized and synchronized with other devices, and Android's way of managing photos just does not work for me. Everything is messed up and ordered or grouped by some magic algorithm instead of showing me directories.

It seems that the app I'm using is somehow featured here now, but the previous version disappeared from the store? I'm confused and afraid of attempting any update because I don't want this feature to disappear.

comment 4y ago · link · parent

There are plenty of static websites today, as well as frameworks like Jekyll, which belongs to the web 1.0.

Web 1.0 does not mean 'old like 1999'. It means static websites without user-generated content. And it did not disappear, it's still there, but less popular and visible.

comment 4y ago · link · parent

Very good questions.

People promoting their 'Web3' utopia should better study sociology, psychology, politics and history first.

Even if there was anything remotely realistic and practical technologically, those attempts will not work any better than communism or anarchism, because all of those fails to acknowledge the way that humans work.

comment 4y ago · link · parent

Same here, the keyboard is the most important tool I'm using as a developer.

Prioritizing flatiness over the quality and comfort of it is a huge dealbreaker. I'd gladly put more money for more power if I need, but having a decent keyboard is my main requirement.

Which is a shame because otherwise it seems quite good (except for the design which is yet another soulless copy of Apple).

I guess that I'll just stick to Thinkpads until this crazy trend dies.

comment 4y ago · link · parent

I actually use it quite often.

Right shift when I'm typing with a single hand (for example while phoning or eating). Without it, it would be pretty much impossible to type anything using only one hand, because the rightmost letters are too far away from the left shift key.

The right alt (gr) is very useful to type many languages (especially accentuated) using a US qwerty.

comment 4y ago · link · parent

A couple of years ago I had an interview with a startup in Japan.

The CTO just wouldn't stop speaking (very fast) and barely let me speak or even heard me. This was first red flag to me.

At some point he asked me very distinctly "If you join, you will work with engineers that are way smarter than you, is that OK with you?". I was startled by this question and felt quite insulted by it. The conversation basically went south when I answered something like "Well, I'd sincerely love to get such experience because as far as I remember it has always been the other way around when it comes to engineering.".

Now don't get me wrong, I am usually doing my best to stay humble and open minded, and comparing people or bragging around is not something I normally do or consider appropriate.

But I am also a proud and very good engineer gifted by the ability to learn, understand and visualize things very quickly. I have been passionately honing my skills and learning everyday for more than 15 years. And as a human being, I would absolutely defend my pride it if someone attacks it.

I think it's only natural to feel bad about such situation, but the interview not working is not always your own fault.

comment 4y ago · link · parent

The difference is that the US does not conquer, colonize, or annex the territories where they fight. It's even quite the opposite, since they usually try to give them freedom, independence and long term stability (with variable success and moral standing, but still)...
1
678
15