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 Ask HN: Would you make every country have a wealth tax like Sweden used to
I wouldn't want it. Even if all countries implemented it, the first country that cancels it gets an advantage in attracting wealth.

It's also inefficient, punishes good behaviours (saving and investing), requires the state knowing what everybody owns.

If I was designing a tax system, I would try to tax directly where it is used. Car owners and drivers should fund roads, cyclists should fund bike trails, students should fund universities, insured people should fund healthcare, people living in towns should fund their waste removal, firemen, sidewalks, etc.

This would create self-optimising loops where people would spend based on how much they really want something. More drivers paying for roads = more roads; more cyclists paying for bike trails and bike lines = more bike infrastructure.

jiriknesl··on The Origins of Wokeness
Easy, Reclaim The Net documents Twitter censorship for years. Here, you have dozens of links, pages and pages https://reclaimthenet.org/?s=twitter
jiriknesl··on The Origins of Wokeness
Twitter is not unmoderated.

I don't know how many people I muted, banned, or how many times I clicked that I don't want to see something. Over time, Twitter gets better.

This being said, I prefer doing my moderation myself instead of having somebody I extremely disagree with (former Twitter employees) to do this for me.

jiriknesl··on The Origins of Wokeness
Can you prove it? Do you have any proof that Twitter promotes right leaning views more than left leaning ones?

"When You’re Accustomed to Privilege, Equality Feels Like Oppression"

Twitter was discriminating against right leaning views. Extreme far left views (like communism) were absolutely OK and widespread on Twitter. If one had as extreme right leaning views, he would be shadowbanned, reprioritised etc.

What is Twitter now is a fair game. Every voice is heard the same. What Twitter is doing now should have been the norm the whole time.

And the same is true for all major social networks, search engines, public funded media, universities and other organizations. When only leftists get their voice heard, they got used to it. Loosing this privilege looks like discrimination, doesn't it?

jiriknesl··on Pushing the whole company into the past on purpose
The guy isn't sending the company 50 years back.

I come from a post-communist country which had a lot of censorship. It was happening 50 years ago as well (it was happening since the end of 40s to the end of 80s). Call me sensitive. ;)

The guy is removing the company from 50 years back.

jiriknesl··on Ending our third party fact-checking program and moving to Community Notes model
Social media are not publishers. They are way more public squares, but online.

On top of that, even when publishers usually curate content, there is no obligation to do so. It's just something that has been done, because publishing used to be expensive.

Now, when sharing data online is cheaper and cheaper, this limiting factor is fading away.

--

At the same time, we have just 16 hours of attention per day. So you have to decide whether you want to invest your time in more curated publishing (I read a lot of books, often old books which stood the test of time), or if you want to go to the public square where practically anyone can shout as he sees fit. I do that too, but I try to moderate both my time using social media and what I see there. And I am proud I haven't used TikTok, I stopped using Facebook, Instagram, I don't watch any Reels, Shorts, etc.

So publishers still are not lost, but what they are selling is not curation because of technological limitations, but because of limits of how much we can read and see in the day.

--

At the same time, publishers are biased. They publish what they see as high quality. They publish what they consider worthy. They publish things they would want to read. And they have publication checklists that prohibit publishing certain things even if they are true.

Public squares don't have such an attribute.

There are things to be published and heard, even when mainstream people would disagree. There are things that should be public, even when it's against a law in certain countries.

And online anonymity mixed with public square enables people to tell about atrocities that happen, or about corruption, government inefficiencies, about people breaking human rights and so on.

--

If you end anonymity and public squares, you end a channel for democratic feedback. Because publishers don't play this role any more. They are biased, people realize it and are fed of it.

jiriknesl··on The Future of Htmx
Most of this is automatically provided in those classic MVC frameworks like Rails or Django.
jiriknesl··on The Future of Htmx
I am not stuck in the past. I moved to Clojure and jumped to devstacks just like everyone else.

Speaking of generative AI, I use and pay for v0 for frontend generation, tried Contember to generate backends from specification (the CEO is a guy I know for almost 2 decades), I pay for Cursor, ChatGPT, Claude Sonnet. I moved from Bootstrap to TailWind (which I don't like, to be honest).

But honestly, many things are just much slower than something like Rails/Django/Laravel+Bootstrap.

jiriknesl··on The Future of Htmx
It's not just 2 input boxes, unfortunately. It's also a backend part, adding sessions, requiring the user to be signed in. It is also sign out functionality.

In MVC framework, you just annotate a bunch of controllers, import Sign In and Sign Out functionality, and you are all set.

Another examples might be building data grids, CRUD functionalities, or more complex validation situations. Back then, you designed database, generated CRUDs, it automatically added Bootstrap CSS compatible classes. You added one beforeSave handlers to add extra logic, and it was done.

We web developers had to be competitive, because our competition were people using tools like Delphi, where you could drag'n'drop 30 screens in a day. It was ugly (default Windows 98 WinAPI look), it wasn't responsive, it wasn't prepared for people with disabilities, but it was hyperproductive.

jiriknesl··on The Future of Htmx
No, it's hyped by people like me, who were writing web applications more than 25 years ago. We want to do backend because a big part of frontend is complex for no good reason.
jiriknesl··on The Future of Htmx
> No JavaScript! Ignore the fact that you need a complex backend in a separate language

Backend in a language that isn't JavaScript is a feature.

Also, a backend where you just serve a template instead of full layout (server-side rendered app) or JSON (client-side rendered app) is not more complex in most of scenarios.

jiriknesl··on The Future of Htmx
When you are writing web APPs, you don't have to move as much logic to client as possible.

I was writing web apps in 1998, with table layouts, almost no CSS and no JS.

Of course, it was simple. It was so simple you can't imagine how. And it was the simplest in the golden age of MVC frameworks (like Django, Rails, Symfony) some 10-15 years ago. Since that, everything went downhill.

Building sign in form or some simple form with validation and saving in database was 2 hours of work, 4 hours with testing and deployment. Salaries of devs were 1/4. Now, it takes 2 days to make a simple form, backend API, sync two states, run it via myriad of builders and minimisers and deploy it to production.

Development now is 4 times less productive, 16 times more expensive for marginally better UX.

jiriknesl··on A near impossible literacy test Louisiana used to suppress the black vote
I know, from a human rights point of view, this is very problematic. But imagine, if only people who can really understand written text, who can calculate, who understand how legal system works, who have basics of logic could vote.

Of course, those tests shouldn't be that ambiguous, but if they were phrased a bit more clear, these would be very simple. At the same time, English has changed in the last 50 years. That phrasing might have been common back then.

jiriknesl··on Vigorous Exercise, Cognitive Decline, and High Blood Pressure
This is a very cynical take.

Companies are full of people. Those people want to do good things and want to help others.

There are plenty of companies who sell vegetables, fruits, free-range eggs and beef, meal replacement shakes with full spectrum of macros & micros, packed foods for vegetarians, keto, paleo eaters.

It's not particularly companies fault that someone buys a cheeseburger instead of omelette with tomatoes or whole grain sandwich with turkey & lettuce. Options are there no matter where you live.

--

I agree with teaching kids about nutrition and impacts of obesity. That makes 100% sense.

jiriknesl··on Vigorous Exercise, Cognitive Decline, and High Blood Pressure
This policy would be too unrelated to health.

You can have a sedentary person who works from home and orders takeaways.

You can have a person who has a car who goes to gym 4 times per week, hikes during weekends and plays tennis 2 times per week and eats healthy food.

There is no reason to tax the second person more than the first one.

jiriknesl··on EU Council to Vote on Chat Scanning Proposal on Thursday
Can't EU be terrible, just because those ideas get this far?
jiriknesl··on Try Clojure
The closest to this (MVC framework with all features including migrations, API building, auth...) is Xiana https://github.com/Flexiana/framework/
jiriknesl··on Are You an Anarchist? The Answer May Surprise You by David Graeber (2000)
Yes, but when you report about missteps of governments and members of ruling class, you can either frame it as:

The system (democracy for example) is good, it's bad people doing it wrong.

or

The system is bad, it attracts, and it will always attract psychopaths.

Media are using only the first approach and almost never the second.

jiriknesl··on Tips for linking shell companies to their secret owners
Your post looks a lot like: “Individuals have no rights except those given by the government.”

Would you use the same logic for everything else?

jiriknesl··on Can We Engineer Our Way Out of the Climate Crisis?
Yes, but the bottom 50% of the world want to live like the top 50% no matter what will it do to the climate.
jiriknesl··on The Beauty of Using Graph Databases with TerminusDB and Clojure, Part I
I am surprised there aren't more companies using a combination of Clojure + TerminusDB.
jiriknesl··on The Coming Technological Singularity (1993)
How exactly is this process supposed to happen?

You have decision makers in organizations who aren't going to fire themselves. So existing companies' leaders aren't going anywhere.

So if you are right, and if AI should replace CXOs and managers, workers will have to start co-ops and outcompete existing companies first. How are they going to do it?

In tech, you could potentially start cheap, but how are they going to raise money for capital intensive businesses like automotive companies?

Also, is technical ability of AI to pass MBA exam enough to be a good entrepreneur? Will it be putting not performing employees on PIPs, cut jobs when needed, actively increase sales quotas, etc.?

jiriknesl··on A life of splendid uselessness is a life well lived
Thomas Alva Edison, Nikola Tesla, Albert Einstein, Wolfgang Mozart and Leonardo da Vinci would disagree.

Live well lived is a life where you aren't ever completely happy and always strive for more. It's a life where your skills are subjected to resistance, and you constantly face obstacles. This makes your life an adventure.

Everyone's life should be an adventure.

jiriknesl··on Do you need a vector database?
“Dedicated tools are always better, faster, and more feature-rich.”

Yes, most people are perfectly OK with just one car.

Specialists need special cars, but general public most of the time is ok with a family car.

PgVector might not be production ready, but it doesn't mean that for most of the situations Postgres's full-text, JSON, GIS, Graph-walking, Queues etc. isn't good enough with advantages of using just one database. There's a new category of problems when you let your data be in multiple places. On top of that, when you go full into Pg, with things like PostgREST, you can sometimes end up with a very minimalistic backend.

jiriknesl··on Managers exploit loyal workers over less committed colleagues
My company is small enough to know everyone personally. For larger companies, honestly, it’s a difficult question.
jiriknesl··on Managers exploit loyal workers over less committed colleagues
As a CEO who had to do some lay-offs, I would terminate loyal workers who care about the company the last, even if I had to change their focus.

At a certain size when you know all people in the company, a CEO always know which 15 % of people will be let go first and which 15 % will the company keep even if the business is losing money every month.

jiriknesl··on Ask HN: Why do many CS graduates lack foundational knowledge?
I think exactly the opposite. 95% of people studying CompSci are going to work as developers, system administrators or IT managers.

They should know systems programming, databases, operating systems, web app development, security, basic logic, data structures, algorithms, JavaScript, and some backend languages. Add some ability to interview users, design at least basic UI, organize tasks, release your product and monitor it.

Math, physics, statistics, calculus, proofs, theorems, and computability should be the interest when you decide to pursue PhD. For someone who's going to build ERP systems in Java, Oracle ad Angular these things are completely useless. Most of the developers are like this.

jiriknesl··on We Ditched REST and Went with GraphQL: Here’s Why
I think arguments against REST are more like arguments against one way how to implement REST API.

When you look at PostgREST REST API, you will see you can select related data, you can pick what fields, so you don't underfetch or overfetch, you don't have to create new API endpoints…

You need to add your schema to check for data validity, but that's something you'd have to do anyway.

jiriknesl··on Common Beginner Mistakes with React
It's my observation as someone who leads developers well over a decade.

Development just got way more expensive, slower to get app-like feel. All this when >80% of pages in almost any webapp could be server-side rendered without big (or any) sacrifice of user experience.

jiriknesl··on Common Beginner Mistakes with React
Personally, I think the main problem with jQuery was .data instead of having proper state management. If we used jQuery just as a library and not the centre of everything without any layer above, we might be perfectly ok with it even now in 2023 for everything that's 100* simpler than GMail (which most of webapps are).
← PreviousPage 2 of 6Next →