HNHacker News
TopNewBestAskShowJobs

szastamasta

538 karma · joined November 27, 2017

submissionscomments
szastamasta··on No one reads the terms of service. Lawmakers want to fix that with 'TLDR' bill
For me it simply should be forbidden to have any contract like this between consumer and company. All relations should be regulated by law and no exception should be allowed. If you sell a product all warranty and obligations should be regulated. If you sell subscription, you should only be allowed to declare what’s included, price and duration. All else should be in common law.

I also see no sense in reading through these contracts if you’re not a lawyer. You will probably miss or interpret wrongly a sentence or two. And this might be the most critical part of the contract.

Let’s stop this madness that newsletter subscriptions and printer cartridges have a license and you should employ a lawyer to read it. This is all shady business. Let’s focus on building bridges, writing books and growing crops. This is what human being need, not million of law firms, accountants and other useless jobs.

szastamasta··on Ledger Stax – Hardware wallet with eInk display for digital assets
I’m not really a crypto fan. But it’s a really neat device. A cool tech that has a creative use of e-ink. Something I wouldn’t mind keeping in my pocket.
szastamasta··on Elon Musk owns Twitter: The story so far
Funny how we give advice on how to manage a billion dollar company to guy who owns 2 of these . I’m not sure how many do you own, but I unfortunately don’t have any.
szastamasta··on Linux Kernel 6.0
Sorry, it looks I’m a bit old :P
szastamasta··on Linux Kernel 6.0
Wasn’t it that version 2.xx was introduced due to incompatible changes? At least it’s what i remember.
szastamasta··on Linux Kernel 6.0
It maybe off-topic, but don’t you think that semver is somewhat dead if even kernel (software everyone depends on) does not use it any more?

According to semver there should be some heavy incompatible changes in this release, while it’s only a regular update.

Maybe we should all just agree that semver is simply a pipe dream and we are never sure that lib update won’t break our app. Or that lib maintainers take compatibility really serious and they don’t break it, like kernel hackers do.

szastamasta··on Why to not use JWT (2021)
I don't think that biggest issue with central auth database is its size.
szastamasta··on Closing a 30 pixel gap between native and web
I also spent quite some time building desktop and mobile apps (5, maybe 6 years) and also more than 10 years of building web apps and don’t really share this sentiment.

My feeling is exactly opposite. CSS is messy and hacky way to build layouts (the famous “how to center a div”, etc.) while with UI toolkits it tends to be much more straightforward and standardized.

(Edit: fixed a typo)

szastamasta··on Dear startups: I hate subscription services (2021)
Yeah, and these services (namely renders of the designs) are still paid outside of main subscription fee. What’s worst is that these cloud services make the app worse. I want to work on a file I have on my computer, not upload it to cloud first so it works slower.
szastamasta··on Dear startups: I hate subscription services (2021)
I really liked the old way it used to work. You bought a license for software and got only bugfixes and security patches. Every second year there was a new version released with 50-75% upgrade price for current users.

I totally understand subscriptions for online services that run on provider servers/storage etc. (like Evernote) or content services where you get access to a vast database of always growing content, that you would never afford to buy at once. But stuff like Bear notes, Autodesk Fusion 360, etc. These I don’t understand. If you cannot justify a new version users want to pay for, then don’t make it. I think most users would gladly pay for new features and improvements. Just don’t make them cash cows driving your business model on fear of loss.

szastamasta··on Maccy is an open source lightweight and searchable clipboard manager for macOS
Not sure about Maccy, but I’ve been using „Copy’em” (https://apprywhere.com/ce-mac.html) for last few years and been really happy with it. I highly recommend it if someone is looking for something like this.
szastamasta··on The true cost of linked lists
I’ve done similar benchmarks some time ago for Java with exactly same conclusions. Due to the way CPUs reads and caches memory the only case for linked lists is doing a lot of in the middle inserts and deletes while iterating the list.

Array copying is really optimized on current hardware.

szastamasta··on Why Infer Types?
I don’t like type inference myself. Code is read more than written. You really should be optimizing for better intent understanding than for easy typing. Types can usually be auto completed if they can be inferred.

I especially love the Java case with Idea. You infer the types, than IDE puts them back in as type hints (taking exactly the same amount of space). You end up with the same amount of code.

Also the example in the post is pretty bad. Your functions have an interface. You create them with some specific input and output in mind. With inferred types they can fit in many unexpected places. And they will be used in cases you have not anticipated. This has ripple effect. You end up with very generic type inferred as input for your functions (because it worked) and then you’re blocked from changing internals of the function as you cannot narrow the type.

szastamasta··on Crowdsource by Google
Google is making a lot of money on Maps. The consumer app is free only so you feed them free data from your rides. They also kicked out of business all competition (hard to compete with free). And as usual with monopolies, when there’s no competition, you can do what you want. Wait for it. In few years it will be shut down or will cost a lot if they no longer can sell your data to someone else.
szastamasta··on Intel's New Chimera: Alder Lake
I see nothing particularly hard in utilising 32 cores. When I launch all the services in the project I’m working on my os has plenty work to schedule. Right now I have 3732 threads running on my machine. It’s totally separate question if OS can schedule so many threads effectively on so many cores, and how much coordination overhead there will be. But that’s just something we have to figure out and fix.
szastamasta··on You're Not Losing Fat Because You're Eating Too Damn Much (2016)
I’m tracking my calories intake for more than 2 years. Every meal, every day (due to my fitness goals and I’m very serious about it) and I totally agree, that if you haven’t nazi-tracked your calories at least for a while, you have totally no idea how much do you eat. People can miss-judge their daily intake by 1000 calories easily.

Most people simply confuse calories with being full. It has nothing in common. You can eat 400kcal and be full and 1500 and be hungry.

There’s no other way to gain or loose weight, but to track calories.

szastamasta··on The Day George Soros Broke the Bank of England to Make $1.1B (2021)
…and many normal people have suffered so bankers could have their fun. This is so evil on so many levels, that few people in suits can have such an impact of whole country finances. We all believe in a dream that it’s competition and market prices that drive economy, and then this happens.
szastamasta··on Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
I must say I really like the MacOS idea, that every app has it’s own folder. I think that apps scattered through filesystem are not a good idea at all. Maybe they should symlink executables to /bin and shared libraries to /lib. Also everything that is needed to boot should probably be in a sealed readonly filesystem or binary anyway. I think we have made a mess with unix filesystem stricture and it really needs to be simplified.
szastamasta··on Twitter owner transition: Temporary ban on product updates after Elon Musk deal
If your employer is breaking the law, you should probably gather evidence and notify law enforcement, not mess with it’s product code to do nasty jokes.

Update: sorry, I’ve misread your comment. If what you mean is that current management wants to hide something, then yes, this might be a good idea from Elons perspective.

szastamasta··on Twitter owner transition: Temporary ban on product updates after Elon Musk deal
How crazy unprofessional you have to be to do harm to your company because you don’t like the new owner? It totally blews my mind that people can be so childish.

If you don’t like your employer, change job or organize and change rules. But you should work for your company best interest while you’re there. Only then it makes sense to work there at all.

Sometimes I think that our industry is full of kids that need to grow up.

szastamasta··on The Problem with Mechanical Switch Reviews (2016)
I think that it’s not really possible to conclude anything from the force charts. Switch feel is so much more than amount of resistance spring has. I’ve been testing switches that should be very similar according to charts, yet they felt totally different.

I think there are plenty factors at play here. Spring resistance, wobbliness of the switch, activation distance, feel of the tactile bump/click…

Recently I've been using Otemu brown, violet, and orange and Gateron browns. All should be quite similar, yet in the end they feel totally diferent. I love Otemu oranges and dislike brown and violet. Gateron browns feel very good, but a bit wobbly for my taste.

I have tested more than 20 switch types, and most of my guesses based on someone else opinion or specification were usually wrong. The only thing I know is that I want tactile switches, with rather low activation force. Except of that, I have no idea if I'll like the switch or not.

I like the way that author approaches this, but I'm not sure we can conclude anything from a scientific approach here. Switches are just like art or music. Sometimes you like a song you think you should hate. Yet it makes something to you and you just can't stop listening ;)

szastamasta··on I hate Spring (2014)
I have to agree on everything that author has stated. I also hate Spring with all my heart. I have hated it 10 years ago, now got onto a project that is using Spring Boot and hate it again.

It has nothing to do with XML, it's that Spring is full of interdependent, classpath and annotation driven magic that no one knows how will wire things up before runtime. A lot of stuff is just a plain string in annotation value that you cannot find or refactor, because it's not code.

Worst of all, there's usually no gain from using it. You usually trade 1 line for 1 line - instead of using compile time checked method calls, you type a cryptic annotation that is validated at runtime.

There's a lot of really bad solutions to problems there, like Spring Data Rest or auto generated repositories that force you to have setters for all fields in your models. Or stuff that simply does not work: https://stackoverflow.com/questions/34210903/springdatarest-...

Sometimes, after few hours of fighting it's way of doing things I just re-write what it supposed to do in few lines of Java code. And it's usually faster to write and easier to understand.

Sorry, I just cannot find any love for it. I really hate it when I have to write another AbstractAnnotationConfigDispatcherServletInitializer...

szastamasta··on SPAs Were a Mistake
Yeah it’s a nice idea, but it still has to mess with DOM and css in the end.

I just think that web apps are not web pages. And all this struggle with css quirks and all this power wasted on parsing DOM is not really needed. I know that if what you need is a blog, then html with css is enough. But building interactive apps with backend templates rendering ends up like Github (slow and with bad user experience), or it requires a lot of crazy jQuery hackery we have been doing in the old days. And I’ll pick building a React app any time I have a choice like that.

szastamasta··on SPAs Were a Mistake
What a total nonsense. I’m quite old in our industry standards and remember all this ”great and easy” way of working with backend templates and struggle to find it much easier than working with SPAs.

I also thank computer gods for SPAs each time I click in Github and wait for it junky slow interface to reload whole page.

Please save us from likes of ROR etc. that is slow and has awful user experience. Just try to use Basecamp. It’s so ugly, slow and free of any features at all that your eyes will bleed.

I personally am totally for ditching html and css from the browsers and just leave JS with some nice APIs (without DOM nonsense) and let us work with web apps like we would with desktop apps.

Web is not for documents any more. Just get over it.

szastamasta··on Podman 4.0
Great news. I hope it will now work with docker compose. Missing compose support was the only reason I had to ditch it in favor of Colima. But will try it out again now.
szastamasta··on Server-Sent Events: an alternative to WebSockets
Then you need a single point of failure that is handling session validation. Without it part of your app might work even without your sessions storage.
szastamasta··on Server-Sent Events: an alternative to WebSockets
I need to work with more than 1 backend :)
szastamasta··on Server-Sent Events: an alternative to WebSockets
I mean you cannot send stuff from client. If you’re using tokens for auth and don’t want to use session cookies, you end with ugly polyfils.
szastamasta··on Server-Sent Events: an alternative to WebSockets
Yeah, sorry. In socket.io it’s 2 lines. You need 5 lines with browser APIs :).

You simply get stuff like auto-reconnect and graceful failover to long polling for free when using socket.io

szastamasta··on Server-Sent Events: an alternative to WebSockets
My experience with sse is pretty bad. They are unreliable, don’t support headers and require keep-alive hackery. In my experience WebSockets are so much better.

Also ease of use doesn’t really convince me. It’s like 5 lines of code with socket.io to have working websockets, without all the downsides of sse.

← PreviousPage 3 of 4Next →