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 Sorry you feel that way: why passive aggression took over the world
You mean can't as in "directly affects the outcome of the present situation"? Like when I'm at a bureaucrat's office and he's going to hand me the document I need? Or trying to close a deal? Then I just shut up.

Or do you mean can't as in "the person is in a more powerful position in general"? Then I'll tell them directly but in a polite way. In the worst case we won't make business together.

krab··on Show HN: Etcha – Infinite scale, serverless config management
That looks great!

I'm trying to do a similar thing but I'd like to be compatible with the existing Ansible tasks. Still trying to figure out the API, especially for cases like calling a playbook from playbook with some parameters.

krab··on Your small imprecise ask is a big waste of their time
Same experience here. See my reply to the sibling comment.
krab··on Your small imprecise ask is a big waste of their time
Not OP but I have that experience. Europeans have been much more open.

My personal theory is that it's connected to job security and how big personal problem it is to lose your job in a layoff. If you get laid off in Europe, your health insurance is paid from public budget now and you get several months salary from your employer. If you worked for a big name, it may be six months or more. If it was a small startup, you get at least two months.

Our US colleagues always made more money but also were more afraid of losing their jobs. All of that said from the IT perspective. I'm sure being a coal miner and getting laid off is much worse.

krab··on Inkscape Cloud Architect
I do. What I like the most is the ability to include the diagram source into PNG metadata. The viewers don't need any renderer, yet it can be readily edited.
krab··on Getaddrinfo() on glibc calls getenv(), oh boy
If it's your application on your server, you can be pretty confident. Only later, it may surprise someone why doesn't this application react to system-wide config. Or it may never happen.
krab··on FBI warns against using public USB charging ports
Can't the charger emulate a mouse/keyboard? It can also add a mass storage and confirm its usage with mouse. It's a bus after all.

Edit: just checked - it's indeed possible with Android 14. Connecting a mouse doesn't require any confirmation. As long as the phone is unlocked, you can adjust the USB settings with that mouse.

krab··on Bill to ban hidden fees in California signed into law
Never heard of that, sounds funny. :-)
krab··on Bill to ban hidden fees in California signed into law
It's not true that tips are known up front. E.g. when you're travelling, you don't know. And taxes are (can be) also known up front. But that's the point - avoid the guesswork and let me know what you expect me to pay.
krab··on Bill to ban hidden fees in California signed into law
Yes, I understand. But if you want to come to the same restaurant again and you don't tip, it may be a problem. Imagine Amazon not wanting to do business with you because you didn't add extra X% to your previous purchase.
krab··on Bill to ban hidden fees in California signed into law
> Hidden fees are fees in which a seller uses an artificially low headline price to attract a customer and usually either discloses additional required fees in smaller print, or reveals additional unavoidable charges later in the buying process.

Like tips?

krab··on XML is better than YAML – Hear me out
Yes, I understand that (and I like XML as a format and XSLT 2.0 as a language). However, from the popularity of JSON, it seems that for most cases it's the easier choice.

Take any random REST API for example. If it returns JSON, you can integrate it more easily than if it returned XML. If you need special cases like large numbers (or date-times), you handle only those.

krab··on Total cholesterol and mortality by sex and age:study of 12.8M adults
The abstract seems pretty clear to me. In essence low cholesterol is associated with even greater risk than high cholesterol. The optimum is somewhere around 200 mg/dL. The study was performed over a large group of Koreans over more than ten years.

The trick to read scientific papers is that unless you're in that specific field, skimming doesn't work. You have to read sentence by sentence and sometimes stop and look up terms you don't understand for the whole to make sense.

krab··on XML is better than YAML – Hear me out
I think the verbosity is not a problem. For example if you compare

    ["string1", "string2"]
to

    <list>
        <e>string1</e>
        <e>string2</e>
    </list>
then each element has about four bytes overhead (<e> instead of " and </e> instead of ",) plus some overhead for the list itself that may be offset by putting the name of the list itself into the element.

However, the issue is that you have to write a custom parser. There is no direct mapping between your data structure and the XML file. This developer ergonomics is a big win for JSON and consequently YAML.

krab··on UPI Payments: 10B transactions a month done, next stop 100B
Only if everyone participates. You'll generally have a third group of "unknown behavior customers". Then it makes a difference what the default price is.
krab··on An unexpected find that freed 20GB of unused index space (2021)
pg_basebackup is, like any physical replication of Postgres.
krab··on The complete sequence of a human Y chromosome
But why Google? This is what big pharma are doing. Also you can outsource the data collection part. See for example UK Biobank. Their data are available to multiple companies after some period so it makes it more cost efficient.
krab··on The complete sequence of a human Y chromosome
Yes. For example when word2vec came out, immediately there were people trying similar approaches to protein sequences. Transformers work better.
krab··on Ask HN: Where to find open-source house plans?
Yes, it's a nice area. The houses are very large so there usually are 2 - 5 apartments and they share the garden. That's a very interesting compromise for living with a garden close to the city center.
krab··on Ask HN: Where to find open-source house plans?
Check street view to get an idea how such a street looks like. Not my place but fairly similar feeling.

https://maps.app.goo.gl/AUurWkVyhLMxzmHWA

My point is that the needs may be very different according to context.

krab··on Ask HN: Where to find open-source house plans?
In our city, that's the responsibility of the city council and their traffic signs.

Actually, there is only an equivalent of HOA for apartment blocks. House owners are usually only bound by law and personal relationships with neighbors (I'm in CZ).

krab··on Ask HN: Where to find open-source house plans?
How many cars? 8-O

Our house will have a space for one car (under a roof but not in the garage) a motorbike and some bikes (all bikes in a shed). If some of the kids will have their own car before they move out (IMHO 40 % chance), they can park on the street.

krab··on Out-of-memory victim selection with BPF
One situation might be that you roughly know how much memory your process should be consuming and kill it if it's overconsuming. Something akin to but more dynamic than memory limits.
krab··on Compilation of claims/reports of LK-99 replication efforts
I agree. This might be worth optimizing. In case of drugs, you can easily spend the first ten years in research and testing, while paying the patent fees. Software or manufacturing patents, on the other hand, might get different time frame.
krab··on Compilation of claims/reports of LK-99 replication efforts
Yes, that's what I'm saying. But the generics researchers know exactly what they're trying to make. And they don't have to prove that their drug is better than the standard of care. Just that they synthesized the right thing.
krab··on Compilation of claims/reports of LK-99 replication efforts
In the case of drugs, it works. The day a patent expires, you have generics that instantly lower the market price. Replicating a drug from a patent is not free but you know that the compound works and can be synthesized. It's much cheaper than doing original research where a drug candidate can fail after you invested a lot into it.
krab··on FedNow Is Live
That's how it works in the EU.
krab··on Kevin Mitnick has died
The european bank account numbers are often posted publicly. If you are a VAT payer, you're supposed to check that the account you send money to is registered with the business in the public registry. Otherwise you may be held liable for the receiver's tax fraud. Many companies also show them at their webpage to make it easier to get paid. See e.g. https://www.pre.cz/en/contacts/bank-details/

The account number should be just an ID, not authentication mechanism.

krab··on Citus 12: Schema-based sharding for PostgreSQL
Because you can't install extensions to RDS, I think it can't be done unless AWS chooses to support it.

You can still install Postgres + Citus on EC2 or use some 3rd party service to manage it for you.

krab··on Citus 12: Schema-based sharding for PostgreSQL
Not really. It's comparable to a regular Postgres upgrade.

But you can screw it up - see https://github.com/citusdata/citus/discussions/6934

← PreviousPage 5 of 14Next →