HNHacker News
TopNewBestAskShowJobs

jiriknesl

165 karma · joined August 21, 2019

Software Craftsman, Clojure dev, lifelong learner

[ my public key: https://keybase.io/jiriknesl; my proof: https://keybase.io/jiriknesl/sigs/kXz6VllLsHtiK2kkueTrWEtaOV0x_eJvj52b54r-90Q ]

submissionscomments
jiriknesl··on Common Beginner Mistakes with React
You could use the same argument for everything.

Small "unless" and you are forced to make all your APIs generic because there might be many clients. Small "unless" and you'll ignore all power features of your database and dumb-down your approach to data because user might want to switch a database. Small "unless" and you will make your app ultrascalable even when you have no proof there'll ever be more than 100 users.

This is a disease that makes development slower and more expensive even when 95% of time, the customer needed something fast and cheap. No, most devs aren't building another GMail, most devs are building something that could have been modelled in 2 weeks in Visual FoxPro 25 years ago.

jiriknesl··on Common Beginner Mistakes with React
In the end, the user is served HTML and CSS.

If your output is HTML and CSS, you are full-stack dev. There are frontend-heavy full-stack devs ignoring backend with Firebase instead of proper backend. Nobody is telling them they aren't full-stack. So let's stop calling developers backend when they provide backend-heavy solution with a bunch of jQuery plugins or HTMX app.

jiriknesl··on Common Beginner Mistakes with React
Hacker News is insanely successful app. And I bet its code is insanely basic. Who wouldn't see it as a goal worth pursuing?
jiriknesl··on Common Beginner Mistakes with React
You had all this (most often as free & open source jQuery plugins) 10 years ago.

Honestly, 99% of webapps today are 2 very interactive pages (which could often be developed in jQuery anyway) + bunch of generic datagrids & forms we have seen many times since the introduction of <form> and <table> tags decades ago.

jiriknesl··on Common Beginner Mistakes with React
It's the most upvoted comment for a reason.

Back then, people fell in love with GMail and suddenly everyone thought they were building another GMail. This wasn't true. Most people were building an app with a couple of forms, a datagrid and maybe 2 highly interactive pages.

PHP, Python & Ruby frameworks gave perfect support for all this >10 years ago. You had jQuery plugins you added to page in 30 minutes and you had validation. In 2 hours you had a datagrid. Autocomplete, datepicker, things like this was no problem.

It was a form of egoism all the time.

Coding Sign In page was work for less than an hour. Now, in React, it's 2 days.

Look at developers now and compare them with senior devs a decade ago. My estimate is that development today is 4 times slower. Given a growth of salary at least 50%, a system back then in MySQL, jQuery, Django or Zend Framework for $40,000 is now $240,000 in React with GraphQL, Mongo, etc.

jiriknesl··on BP sees biggest profit in 114 year history
Oil is used everywhere. Everything today is made from plastic, or is wrapped in plastic. Also, as prosperity grows, so does tourism. Tourism = flights. EV trucks are far from ideal. So do EV pick-ups. Even when there'll a huge shift toward EVs, the world is going to need lots of oil in upcoming decades.

And honestly, I would be happier if BP shareholders get richer than Middle East sheiks, and Putin's friends.

jiriknesl··on Stop the proposal on mass surveillance of the EU
Do you assume politicians pushing Leave were doing so to be able to limit human rights? People like Daniel Hannan or Nigel Farage would probably oppose that. One of founders of Vote Leave Matthew Elliott founded Big Brother Watch https://en.wikipedia.org/wiki/Big_Brother_Watch

I think in this one, you aren't right. Prominent Vote Leave politicians are against state surveillance.

> The EU, being a free trade agreement with the unusual extra layer of some democratic

I think this shift has happened during M.Thatcher. Initially she was for the common market, but later she has learned about the political agenda that wasn't often in the interest of the UK. Honestly, it has started even before, I believe Enoch Powell will have older critical speeches on the same topic. It's nothing new in the British politics.

Which confirms:

> I would add a third pillar of the Brexit campaign to your two: "take back control"

Yes, absolutely. But not for the reason you say. Taking back control might really be based on the fact that many EU countries are way more left-leaning, financially irresponsible, poorer, etc. Taking back control equals decreasing influence of such countries on the reality of ordinary British citizen. But this is something that really goes back for many decades. It isn't something that would be suddenly used by surveillance-favouring people.

> EU, which is mostly white and Christian, got the flack from people who say they want a white Christian country.

People opposing such a quick change (out of racism, ignorance of benefits of immigration or pure conservatism) might see the EU as pro-immigration and pro-multiculturalism (which it openly is for a while now already). And again, leaving the EU might give people more powers to stop this from happening. The fact that it is hurting the UK a lot now is a different topic.

jiriknesl··on Stop the proposal on mass surveillance of the EU
The thing is. Brexit vote was a referendum, not a decision of "deep state" or whatever one might call it.

And if you remember, there were two main topics surrounding Leave campaigns:

1. We pay to the EU more than we get - which was absolutely correct btw. 2. Anti-immigration sentiments - which is sad if that's a synonym for racism. At the same time, the UK has changed extremely in the past 7 decades. From a white Christian country with very distinctive culture became an extremely multicultural country with places where "natives" are a minority. I am pro-immigration and pro-multiculturalism, but I can understand why some people have an issue with such a quick change.

I know OP is stating that as an opinion, but I don't think it is based on a knowledge of the UK reality and there would be very little evidence supporting it.

jiriknesl··on Stop the proposal on mass surveillance of the EU
Do you have proof for such a claim?
jiriknesl··on Stop the proposal on mass surveillance of the EU
Yes, but it's easier to influence politicians in your country than in the EU. It's easier to influence politicians in your county council than in your country. It's easier to influence politicians in your town hall than in your county council.
jiriknesl··on Do we live in a society without a counterculture?
BLM, Extinction Rebellion and Occupy Wallstreet are the culture.

Colour-blind antiracism, preparing for global warming instead of pushing green deal & capitalism are countercultures now.

jiriknesl··on What it's like to live in Monaco
Exactly. Top taxpayers already pay a lot (with all sin taxes, council taxes, VAT, corporate, income, CGT... sometimes even 75%). It is not fair to raise taxes even higher. In fact, governments should learn how to operate with way less.
jiriknesl··on What it's like to live in Monaco
There's fantastic concept called competition.

If country can do with less money it might attract more businesses. This pushes others to improve their operations too. Global tax minimums remove or soften this incentive which is a bad thing. Most governments are not efficient already and this will not help.

jiriknesl··on Heavier cars are safer for their drivers, but far deadlier for everyone else
Is it only me or is there anyone else who believes that the price of gas or electricity should be set by supply/demand on the market and shouldn't be a political tool?

If there's a tax connected with it, this should be 100% used to just remove negative externalities (removing emissions, storage of nuclear waste...) and nothing else.

jiriknesl··on Gravity Payments CEO Dan Price resigns
Forming an opinion is great and everyone's right.

Nowadays, exactly the same process you describe, is used to cancel people without proper chance for them to defend themselves. So I would be double careful with "multiple accusations", amplified in mass media and/or social media bubble because this is exactly how mob virtually lynches people in 2022.

jiriknesl··on Arrest of suspected developer of Tornado Cash
Well, maybe we should start lobbying to make it so.
jiriknesl··on The Case for Degrowth
People are not hobbits. Or maybe some are, but others are not and they shouldn't be forced to live like ones.
jiriknesl··on The Case for Degrowth
Which can be easily resolved by taking building regulations from NIMBYs and giving them to YIMBYs and letting people build build more or less anything anywhere. 1000 billionaires having 5000 houses have no effect in comparison with hundreds of thousands of houses not built because of regulations.
jiriknesl··on The Case for Degrowth
Is the leech the welfare system?
jiriknesl··on The Case for Degrowth
Do you have a proof for such a statement? AFAIK most of negative externalities are either negligible or easy to be sued for. Or a responsibility of informed customer.

Of course, there's that ultimate hammer of greenhouse gases everybody is using daily, but besides these it is hard to confirm this. And these have also many positive externalities (access to plastics, cheap energy) that cannot be ignored, otherwise we would live in carbon-zero economy already.

jiriknesl··on The Case for Degrowth
Can you name any country successful in stopping people with a mindset that they want to grow, mainly financially, or into power?

In capitalism, these are entrepreneurs. In democracy, these are politicians. In autocracy, these are dictators, army generals. In theocracy, these are pharaos, etc. In nature, these are alpha wolves.

Even people proposing degrowth, if they're going to achieve their goal, will have to be power hungry, alpha wolves (no matter how they will market themselves), not that different from people I describe. And they will have to fight constantly. There is no way how to stop need for getting better, getting more, competing, winning...

jiriknesl··on The Case for Degrowth
Growth or degrowth are not national policies but individual ones. You cannot prevent someone with growth mindset from doing actions leading to growth. And at the same time, nobody is preventing people with degrowth mindset to practice what they preach.
jiriknesl··on The Case for Degrowth
If you are insured, $25k is plenty and cover 99% of situations.
jiriknesl··on El Salvador Made Bitcoin a National Currency. The Bet Isn’t Paying Off
In comparison with the hurricane, Bitcoin is going to fix itself (or at least it always did). And projected -$63M damage can be +$200M very easily. I think that the linked article will not age well. Practicly no article of this kind since the Bitcoin creation did.
jiriknesl··on Better.com CEO fires 900 employees on Zoom call
Yes but what if the CEO is right and people were really tracking 8 hours of work a day and working 2? Isn't this a reason to be upset?
jiriknesl··on Lab-grown meat may never be cost-competitive enough to displace traditional meat
Another problem is that taxing negative externalities is often used for another things than eliminating given externality.

I will buy beef (or corn). It will emit CO2. Capturing given CO2 would cost $5. So the tax will be $5. But politician will not use these $5 for capturing the CO2 emissions.

He will buy votes instead. $1 for a symfonic orchestra. $1 for police department. $1 to subsidies to a company of a friend lobbyist. $1 for a new playground... Most often, negative externality taxes are just proxy for taxing people more without using money to fix the externality. So even if you believe the externality exists, but you are not supporting given politicians' program, it is a rational choice not to pay the tax.

jiriknesl··on Lab-grown meat may never be cost-competitive enough to displace traditional meat
> you'd rather everyone live

Yes, this is exactly what I say. I would rather everyone live in the World with cons of underregulations then in the World with cons of overregulations.

For me, overregulation is suffering too.

And honestly, even when people don't realize it explicitly, their acts are very much the same (90% of people know that meat increases emissions, still they eat meat; 90% of people know that petrol cars increase emissions, still they...; 90% of people know plastics pollute oceans, still they buy plastic things even when non-plastic alternatives are available).

There is demand for behaviors that have negative externalities. And it is massive, I doubt I even know a single person who doesn't cause any negative externalities.

jiriknesl··on Lab-grown meat may never be cost-competitive enough to displace traditional meat
> and limiting their fertility

I guess places that would implement these policies (taxing meat consuption for environmental reasons) are exactly regions that get older, are shrinking or are likely to shrink in the future (EU, USA). While in places like India, China, Africa, such a regulation is unlikely and increase of the living standard there will compensate (more likely overcompensate) for eliminated meat consumption in Europe and the US.

> because a portion of humanity doesn't care

People care. I doubt there is even one adult in this world who has never heard about vegetarianism, climate, emissions. They do care. But their values are complex and their influence on the climate is just part of the decision making process. It is not their fault they would decide differently from you.

> to eat food that's better for you and the environment

If they are adults, they can decide for themselves. How could you be so sure that switching over to vegetarianism would make their life longer, more satisfying and environment significantly better?

jiriknesl··on Lab-grown meat may never be cost-competitive enough to displace traditional meat
Ok, so let's say the lowest externality food will be a baseline. For example peas. Grains are higher, so we would also tax grains? And we would grow this until the highest - beef. Or is there going to be "accepted externality"? If so, why those who suggest taxing meat more suggest the cutoff right between plants and meat?
jiriknesl··on Lab-grown meat may never be cost-competitive enough to displace traditional meat
People buy what they want to buy. Given the most efficient would be for example peas. Does it mean eating peas should be allowed but eating grains forbidden? Or are we going to do artificial cutoff by the divide meat/plants? Why? To make 10% of vegetarians happier?
← PreviousPage 3 of 6Next →