HNHacker News
TopNewBestAskShowJobs

krab

1,505 karma · joined July 18, 2013

[ my public key: https://keybase.io/sedlakf; my proof: https://keybase.io/sedlakf/sigs/AH6fjmT6N2YaOyOdA8xtZeUeo8x8FVRPRt5NBOQr0Ic ]
submissionscomments
krab··on LazyVim
What about reserved blocks in ext filesystem? With default settings, it will say 5 % free but writes will fail if you're not root.
krab··on LazyVim
Not using this personally but there can be a timeout, or you do jk<backspace>j. Fine if the letter sequence is rare enough.
krab··on Can the stock market go to zero?
The last price may be non zero but the papers or electronic records your purchased may be worth zero because there will be no future buyer. That's what happened with the described revolutions.
krab··on Sennheiser HD 555 to HD 595 Mod
If LV did that, it would damage their brand. People justify paying for premium brands by convincing themselves they get something exclusive. If LV showed you can get the same product, just with a different brand, then it's no longer exclusive. Those who previously believed in the brand would be angry.
krab··on Why sqlite3 temp files were renamed 'etilqs_*' (2006)
More SQLite processes can open the same file at a same time.
krab··on TV doctors say annual checkups save lives – real doctors call bullshit (2016)
Definitely varies by country. In Czechia, they give antibiotics only after three days of fever or symptoms that strongly hint at bacterial infection. And they usually do at least a CRP test, often a cultivation.

The daycare rules here vary place by place, though. Some of them just check for fever, some don't like running noses.

krab··on Keep the monolith, but split the workloads
I have worked in a company with a monolith and about ten teams working on it. This is what helped:

- Merging was automated (a robot tried to run tests against fresh master and merge only if green).

- Deploy was fully automated and limited to working hours.

- We added tests for problematic parts. For example static analysis for database migrations to prevent only safe actions in an automated fashion.

However, if something goes wrong in some component, you have to revert and stop the deploys for everyone which sucks. I'd say around 8 - 10 deploys per day, it makes sense to start splitting the components or at least not adding new teams to the same monolith.

krab··on Keep the monolith, but split the workloads
> … whenever you make a change in one of your pub-sub handlers, you still have to redeploy your web workers.

We have a similar model with Django. We deploy at least four times a day, so it's much easier to just redeploy everything than reason about what needs and what doesn't need to be redeployed.

krab··on Hetzner Introduces ARM64 Cloud Servers
Strange for me - the CZ ID cards work the same way as described.
krab··on I wish GPT4 had never happened
I mean that we, as a society, had chosen more goods and higher standard of living instead of free time.

It's not an exclusive choice either. At least in Europe, the amount of free time grows with each generation. 37.5 hours per week, 5 weeks vacation and many bank holidays is a significant change from how much people worked in the fifties.

Yes, we can do better. But both our wealth and our free time are visibly improving.

krab··on I wish GPT4 had never happened
There are many ways our lives are better. See for example infant mortality. To be born mere sixty or eighty years earlier would mean for me personally to die at three months of age. All my time is extra time if you look at it from this perspective.
krab··on John Glenn’s $40 Camera Forced NASA to Rethink Space Missions
Maybe engineering vs PR? Rarely people are good at both.
krab··on Docker
That's my point - that it's entirely possible to not rely on the single central repository.

Re. finding the sources, a central namespace may still be useful, hence the use of caching proxies.

krab··on Docker
I meant the base images. If you're pushing your own images, then you can use any service you want (and pay for it). Since the traffic doesn't need to go through the internet at all, the bandwidth cost to Dockerhub would be irrelevant.
krab··on Docker
Why not decentralized? Debian (for example) can provide one or two servers with a gigabit line. That's going to be quite slow to download during every CI build. Therefore, your CI provider would have a caching proxy registry. You get fast service, upstream doesn't need a ton of bandwidth.
krab··on MRSK vs. Fly.io
Well, if you do it once every two months and you save two engineers' salaries, I'll be the first one to do it. And I hate YAML and repetitive work.
krab··on Bitwarden PINs can be brute-forced
KeePass plus Dropbox. Or Syncthing for really using only your devices.
krab··on Build full “product skills” and you'll probably be fine
I'm saying the trend (IMHO) is not away from a full blown IDE and that smaller editors with plugins and LSP can fill the the role as well, including the resource consumption.

Vim can be very slow with a ton of plugins.

krab··on Build full “product skills” and you'll probably be fine
It doesn't seem so to me. With LSP, those editors, including Vim, can be very large and featureful.

A modern (or any) IDE, in my opinion, can debug your code, push parts of the editor into REPL (with debugging), understand code for things like autocomplete, linting, quick navigation and usage search. And yes, Vim can serve as a modern IDE if you spend enough time with it.

krab··on Sam Altman 'A Little Bit Scared' of ChatGPT, Will Eliminate 'Many' Jobs
Wouldn't they have a faster start, using new tools than the previous generation?
krab··on DDRamDisk: RAM disk, a disk based on RAM memory chips
> Would be helpful to know how long that battery can keep it backed up.

They say: It has a built-in LiPo and stores your data for up to a year.

krab··on I spent a week without IPv4 to understand IPv6 transition mechanisms
The consumer links are usually oversubscribed. In Prague, you can easily get 1Gbps if you're near fibre. However, office-quality link will cost you 10x more for the same nominal speed.
krab··on From Go on EC2 to Fly.io
Good to know. I'm paying anyway because I have other accounts there with bigger charges and I actually want the service, including the small personal account (which really shows as a separate transaction on a bank statement).
krab··on From Go on EC2 to Fly.io
That's something I wonder about looking at AWS. My personal account has about $0.7 monthly spend. Doesn't it cost more to charge a credit card?
krab··on Software 2.0 (2017)
More like we're 98.7 % certain that the screen layout looks ok for all device types and languages. The question is how hard is it to fix the problematic cases without turning the whole thing upside down when you find out the original solution is not enough.
krab··on Prompt Engineering Guide: Guides, papers, and resources for prompt engineering
Not really. It's just a higher level programming language. You still need to know how to decompose a problem and structure the solution. On some level, also systems thinking as this stuff will get integrated together.
krab··on AWS Creates New Policy-Based Access Control Language Cedar
> Cedar has nothing to do with AWS except that it's open sourced by AWS

It seems to me it's a tool made in AWS by some team close to AWS IAM. My original comment didn't relate that much to Cedar itself. Rather, I tried to express my long held frustration with AWS IAM which Cedar doesn't solve even though it must have costed a lot of effort.

Don't worry too much about it. I'm just a random Internet commenter talking about a topic that's not even mentioned in the original article but tangentially connected.

krab··on Ask HN: How to Exit FAANG?
A lot of places in central/eastern Europe are more expensive than a city like Chicago. The example from Zillow in the sibling thread would be about 3x as expensive in Prague, CZ which has lower salaries in general.
krab··on AWS Creates New Policy-Based Access Control Language Cedar
Probably we're looking at the problem from a different point of view.

Imagine I'm a new AWS customer that creates their account, starts an Elastic Beanstalk application and tries to automate deployment via CI. The access key will need some permissions to EB, EC2, S3, maybe RDS, ECR... The best thing I can do at the moment is to expect that an example policy is somewhere in the docs.

krab··on AWS Creates New Policy-Based Access Control Language Cedar
It seems more akin to the IAM policy simulator to me. You need to know the specific action and context to play with the policy.

In the real case I don't know what context the actions carry that I may use for filtering, I don't know the action names and I may not even know the full list of API calls the tool I use wants to make.

AWS knows (could record) all of the above for me.

← PreviousPage 6 of 14Next →