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 A campaign to make environmental destruction an international crime
Hot take: If something is a good idea, you don't need a totalitarianism to convince people to value them and change their behavior.

If people don't change their behavior, it isn't either that good idea, or the person is not good in convincing others to change their behavior.

Of course, there are multiple factors, like shortterm vs longterm vision; competition with someone who is less ethical, ecologic, etc. But overall, totalitarian regimes don't have a good track record of longterm & ethical success, quite the opposite.

As many things as possible should be handled on individual level and volutarily and as little as possible on centralized level with using force. This is an approach, that allows cohabiting of people of different opinions, cultures, etc.

jiriknesl··on Prince Philip has died
Maybe there are lots of people from the UK here.
jiriknesl··on Frameworkless Movement
I think this movement comes approximately 10 years late. Microservices led to the growth of devstacks that has replaced frameworks a lot. I don't know a lot of people who start new projects with big frameworks (maybe Java guys), it's all devstacks around me. In some cases, it's sad because frameworks often have things that have to be reimplemented.
jiriknesl··on Evolutionary biologist slays the beast of Individualism
Ethics are defined by personal intersection of values.

Ethics of American and Greek will be different. Ethics of Christian and atheist will be different. Ethics of libertarian and conservative will be different. But then, what about libertarian atheist American for example? There might be thousands of axes, prioritized and changing during one’s life. How could any group create a shared ethics except a few obvious exceptions (theft, rape...)?

jiriknesl··on Evolutionary biologist slays the beast of Individualism
Yes, but for people claiming there's no self-made man, when you ask them, when they would define them ("What person would you accept as self-made man?"), they usually create absolutely artificial cutoff.

Like if there were no public education or infrastructure and you still suceeded (in whatever, science, business), you are self-made. But why? Still, such a person didn't have to invent their own DNA, so they aren't really self-made.

"Society matters, not DNA, not personal initiative, not discipline, not habits..." is a form of bias.

And I just refuse this bias. All this matters. You can be self-made as a seventh child of poor Burmese farmer. Then, you could be maybe as rich as an average developer in Facebook. It is self-made. Or you can be a child of someone rich, inherit $1B and decades later leave the world with 1/10 and it not self-made, even when you still will be way better off that the child of that Burmese farmer. Self-made is relative, not absolute.

Also, you can grow a lot just by luck. Winning a lottery ticket is luck. But picking a career in IT is not. Thirty years ago, everyone knew computers are going to be ultra important. So not every vertical mobility is self-made.

It's complex, but they exist. People who decide to grow in their field. People with right habits, posessing great decision making skills, problem solvers, energetic people.

jiriknesl··on Evolutionary biologist slays the beast of Individualism
Of course, there are self made men. If you have two people from similar background, education and access to infrastructure and wealth, and one successful and the second not, the first one is self-made.
jiriknesl··on Sovereign writers and Substack
It depends on the reader. I, for example, always value, when I learn something new. No matter if it supports or questions my current views.

The issue with some Substack authors is they fall into Productivity Bullshit Industrial Complex (https://99u.adobe.com/articles/55974/the-creative-worlds-bul...) cathegory which is not very novel for anyone, who have read a few pieces in this space.

jiriknesl··on Sovereign writers and Substack
Of course, market is natural phenomenon. Every process with pressure, suction and or differences of potential is trying to achieve equilibrium. Electricity, hydraulics, they all manifest the same principles. Except that in nature, it's driven by pure physics. With people, you need to understand value and it's more generic. One step more generic from physics, is cybernetics. And market is a cybernetic system with difference of energies trying to achieve equilibrium.
jiriknesl··on Why inflation is not a threat
As Bastiat once said, there's a thing that can be seen and the thing that cannot be seen.

Maybe parking ticket will be the same 1 pound as it is now.

The UK's bill out of this will be ± half trillion pounds over coming (3 ?) years. Rishi Sunak is already rising taxes, they will raise them even more.

So even if "optically" the prices will not grow, you will do the same amount of work, create the same amount of value, but after HMRC taking their cut, you will end up with less quid in your wallet. You will be able to buy less.

And paying of all this will take decades. If it is a whole career, whole life, it's equivalent of permanent inflation.

Or did anyone think they can just print money without raising taxes? Come on!

jiriknesl··on Generalists vs specialists – Who has a greater chance of success? (2019)
I know about Reneissance man, but this isn't what I had in my mind when writing it. With Reneissance men, you expect them to be extraordinary creatures who don't only have breadth, but also depth.

What I meant by generalists, it was a lot of breadth without depth. Like knowing one city from every country, but not knowing more in any. Like knowing one painting from all major artists, but not knowing second and third from anyone. Being able to paint a dog, but not a cat, a man, a castle.

Being such a generalist would not be practical. In fact, it would be useless. Even Leonardo da Vinci was a painter, student of anatomy and engineer. He wasn't archeologist, expert on India, or circus acrobat who can juggle with torches. Da Vinci was specialized too.

What I see in generalists today, are very often general managerial/entrepreneurial skills mixed with some level of expertise in one or two fields. And calling this generalist seems as bad naming practice.

There must be another, better name for this.

jiriknesl··on I want a computer that I own
> that does what the people actually want

A problem is, that there's no such thing. There's a common denominator (punishing killers, rapists, thiefs), but this is what punish all governments anyway.

When you go past this point, people's interests are atomized.

jiriknesl··on Generalists vs specialists – Who has a greater chance of success? (2019)
I doubt, there's such a thing as a real generalist, that knows SW development, negotiation, history of Italy, international politics, engine design, ... to the same level of depth.

When we speak about successful generalists, they are still quite specialized. They might know some data analysis (maybe limited by Excel and VB macros), some teamwork skills, some marketing/sales/product ownership knowledge, some competitive intelligence, some understanding of work laws and how to form a company.

Such a person would be considered a generalist, but as I see it, such a person still ignores 99% of fields of study.

jiriknesl··on Rent controls have split housing in Berlin into two distinct markets
It has a couple of issues:

1. There's no right to live somewhere. If you cannot afford it, it doesn't matter you grew up in the place or that you like the place a lot. 2. No place is inflatable. You can increase density, but only to some point. 3. Have you seen how housing built in this style looks like? Most of them are concrete cubes. You can find them anywhere in Eastern Europe. It's not desirable.

Let's imagine a beautiful town on a small island. Neat houses and everything. Place for 100 houses. But now, 1000 families decide to live here. So the politician replaces those 100 family houses with a five huge 100 unit buildings. Locals get units, living is more affordable for everyone. The place is destroyed. Nobody wants to live there anymore.

So those 1000 people find another beautiful island with 100 neat houses...

jiriknesl··on Cloud Nine – Flying Cities
Cloud Nine is the name Buckminster Fuller gave to his proposed airborne habitats created from giant geodesic spheres, which might be made to levitate by slightly heating the air inside above the ambient temperature.
jiriknesl··on The future of web software is HTML over WebSockets
All these things can be set up declaratively on the render time and managed through Ajax/socket. Local state is voluntary here.
jiriknesl··on The future of web software is HTML over WebSockets
"UI state should live in the client." this is wrong and I think you have missed the point of the article.

In server-rendered app, there's nothing like UI state.

There's a request. This request and the database is enough to build response. There is no UI state. Your app can be (and often is) absolutely stateless and restult depends only on request and a state of the storage.

While when you have SPA, API & server, you lose the application state and it's not possible to store the whole app state in the client for many reasons (security, scalability, synchronisation...). So you have to store subset of it. And you have to build a machinery that will do all this synchronization so your states stay in sync. It's double the effort to get 5% improvement.

jiriknesl··on There’s no such thing as “a startup within a big company”
There are lots of startups within big companies. Example is Zonky (peer to peer lending startup) within Home Credit - multibillion dollar lending entreprise. But they have been created with a strong team which felt ownership. And as Home Credit was growing like crazy themselves too, they left this internal startup to self-manage too.
jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
It is crypto 1.0. And it can be overtaken.

The problem is (and I have been involved - most often unsuccessfully) that building anything in this ecosystem requires a lot of understanding of digital signatures, distributed system, economics, game theory, security & quality, trustless ecosystems, incentives, possibilities of players with big budgets (PoS - 51% bought by some government)/great developers (bots frontrunning hacking of ERC20 contracts)/criminals (you have strong encryption, but still can be blackmailed/beaten).

Bitcoin is one of a few currencies that deliver what it promises. It doesn't promise a lot, but what it promises, it does. Others promise a lot but underdeliver and later abandon it. At this moment, I think Bitcoin delivers 100% of what I expect from it. Monero is potentially better, but underdelivers. Ethereum is potentially better, but underdelivers. Others are either just copycats or completely fail.

jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
Of course, it is everyone's taste. One values USD more and other BTC more. Objectively, so far, BTC was a better investment. And given some 80% of BTC was already mined and there will be no more BTC ever while 20% of USD was printed this year (edit: sorry, in 2020), I undestand why some people stash Bitcoin. I have maybe 0.5% of my net worth in it, but I am very happy for those 0.5%.
jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
Russia, Belarus, Ukraine, Vietnam, Iran
jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
No. I don't use BTC as a speculative asset. I use it for two things:

1. when it is expensive or difficult to send money to places like Vietnam, post-soviet countries, Iran. 2. some saving in case the shit hits the fan and I will have to survive for a couple of months without TransferWise, Revolut.

jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
I use TW too. But it doesn't work with post-soviet countries. It doesn't work to Vietnam. It doesn't work to Iran.
jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
Yes, but the narrative is that Bitcoin is innovation and any government against it is basically against innovation.

If I wanted to neutralize it, I would do something like Bait&Switch. Support banks running own cryptos until point where general public will see no difference between BTC and private cryptocurrencies and leave BTC users with their wallets and even when it will remain legal and everything, the "crypto revolution" would be taken by usual suspects (the establishment).

However, I wouldn't like to see it. I prefer world currency to be run by nerds over bankers and politicians.

jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
Will anyone criminalise the US army because they use lots of energy? https://en.wikipedia.org/wiki/Energy_usage_of_the_United_Sta...

The answer: they might try, but good luck with that.

jiriknesl··on Cambridge Bitcoin Electricity Consumption Index
I use it as a currency for years.

Especially for large transactions internationally, where my bank asks me+the other party to fees like $30 and it takes 3 days if everything goes well.

In comparison with that, BTC for those years, gave me on average 40 minutes and $1 fee.

This is thirty times better than what my bank provides.

jiriknesl··on Uber will charge significantly more per trip as new Seattle law goes into effect
> to pay their workers as little as they can get away with

Which is natural, when you employ people with almost no marketable skills.

The solution is not raising minimum wage. The solution is more competion for Uber HR so they have to pay more because people have better alternatives. Maybe deregulating labor market so there are more jobs would be a solution.

jiriknesl··on 25 Years of PHP
Why haven't you refactored those 3-letter variables to more descriptive ones?
jiriknesl··on 25 Years of PHP
If PHP is a rusty saw, what isn't?

There are hundreds maybe thousands of languages. And when you measure all things (expressiveness, stdlib, productivity, ability to build a team, etc.) PHP would come up in TOP10 for any webapp.

Of course, it has its gotchas. So does Clojure, Ruby, Python, C#, etc. Honestly, once a person knows PHP very well, switching a language has almost no impact besides their "feeling".

I have switched from PHP to Clojure 8 years ago. I feel better. But I am not significantly more productive. The brevity of code is higher, abstractions easier to do, overall it just feels better. But it's not a silver bullet. At the end, when a huge amount of webapps are mainly working with a database, validation, putting data to templates, and all the auth staff. All this is usually well developed in existing frameworks and libs without any extra overhead. There's not a lot of space for elegant abstractions in average webapp.

jiriknesl··on 25 Years of PHP
I think one important thing is the overall impact of bad decisions in language design, implementation & stdlib.

As a Clojure developer, I see plenty of things that might be better in PHP in language design (making existing syntax more powerful instead of adding more syntax), implementation (make sure there are no memory leaks for example), stdlib (make one big incompatible release and make sure all functions have consistent naming & parameters & return values).

But today, in the age of PHP 7, frameworks and thousands of libraries, short requests that make memleaks insignificant, I think PHP is an awesome productive language. A language purist who loves elegance (like me) would not take a fancy of PHP, but the same goes for Go, C, C++, Lua and in some way also Vala, D. These languages are just highly practical hammers. Nothing to love, nothing to play with. But boy, these hammers are highly productive and in the right hands and appropriate situation, they are very hard to outcompete.

For some people, using PHP can be the best solution (Do you know C-like languages? Are libs you need in composer? For such a person PHP might be a way to get the result fast).

jiriknesl··on Why can't programmers design software?
Is it just me? I don't like this design.

What's the point of wrapping an algorithm in strategy, when there is no reuse, nor any need to exchange algorithm?

And more. Why FizzBuzz(15), Buzz(5), Fizz(3); in enum and not in the constructor?

Why "mod" attribute, when the rest of the code doesn't use shortened words? It should be modulo.

Why FizzBuzzOperator when FizzBuzzStrategy's initialization is that easy? Also, again there's no requirement for reusability.

The code here is a classic example of why people make jokes about (usually in J2EE) overengineering solutions where even FizzBuzz will be designed for 1000MD-average-task-size scale.

I have switched to Clojure for good. Our FizzBuzzes are oneliners http://www.learningclojure.com/2014/05/fizz-buzz-interview-q...

← PreviousPage 5 of 6Next →