Better HN
topnewbestaskshowjobs
Log inSign up

Denvercoder9

5,570 karma · joined Oct 5, 2013 (13y ago) · 1,210 submissions

Submissions

comment 3y ago · link · parent

> The weird thing to me is people using a distribution format as an original source.

Every distribution format will inevitably end up being used as a source; as the originals get lost in the mists of time.

comment 3y ago · link · parent

> Our connectivity to mars is on the order of 12kbps

It depends on the spacecraft. DSN is currently talking with the Mars Reconnaissance Orbiter at 1 Mbit/s (https://eyes.nasa.gov/dsn/dsn.html, select MRO, click "more detail" in the bottom-left).

comment 3y ago · link · parent

You can find the source here: https://www.sqlite.org/cgi/src/file?name=tool/src-verify.c&c...

It seems to use a manifest with hashes for every file generated by their VCS.

comment 3y ago · link · parent

That statistic is about possession though, the parent comment is talking about usage. I'm in the one-third of my country that has a credit card, but I use it maybe five times a year, while I use my debit card daily.

comment 3y ago · link · parent

If you want to be future proof, you need to store locations, not timezone identifiers. The timezone database does not claim that its currently defined timezones are controlled by a single entity (i.e. one timezone can span multiple governments with timekeeping authority), nor could it possibly guarantee that in the face of changing borders and laws.

comment 3y ago · link · parent

The thing with dates depends on the context though. A birthday for example isn't associated with a timezone.

comment 3y ago · link · parent

> On that note, I will never understand why they chose .toml instead of just json or yaml..

https://peps.python.org/pep-0518/#other-file-formats

comment 3y ago · link · parent

There's a difference in the balance that people like to do, and what's best for the organization. I definitely can't deny that I've sometimes gone for the side that made my job better for me, but not necessarily helped the organization the most.

comment 3y ago · link · parent

The extra weight/fuel costs just shifts the price point where it's a good deal (as it makes the product slighly worse), it doesn't change anything fundamental to the argument.

Or to put it in another perspective: carmakers have never optimized for weight at the cost of everything else (as otherwise we'd all be driving around in cars made from titanium or carbon fiber). What's the difference between putting in a heavier seat with a non-functional heater to reduce production costs, and using steel instead of aluminium to reduce production costs?

comment 3y ago · link · parent

> Would anyone accept this? Likely no.

I wouldn't be so sure, it's all about the price. There's plenty of people that don't have a need for the backseats, and at a certain discount on the purchase price it becomes worth it to have two unusable seats in the back of the car. Think about the extreme case, in which the car is free: there are certainly people that would take that deal.

comment 3y ago · link · parent

> I absolutely think that a capability available in the vehicle/device when you purchased it should be available for you to use, and not behind a software lock (heated seats, etc).

While I intuitively agree with you, I'm having a hard time arguing against the economic argument in favor it. Producing a single version of a product is generally cheaper than producing two different versions. Also offering a lower-margin, software-locked variant can (in certain conditions) make things cheaper for everyone, and it gives the consumer more choice: if you don't need or want the features of the premium model, you don't have to pay for it.

For example, imagine a manufacturer that sells two versions of its product, a basic model that makes up 20% of sales which costs $1000 to manufacture, and a premium model that makes up 80% of sales and costs $1250 to manufacture; this gives an average cost of $1200/unit. If they can save $100 per unit by only manufacturing the premium version and software-locking it, that reduces the average cost of goods sold to $1150/unit. They can pass on half of the savings to the customer, and still come out $50/unit ahead.

comment 3y ago · link · parent

Forget the whole PKI infrastructure, the OpenSSL in your 20 year old Debian wouldn't have AES. You'd be using DES, 3DES or RC4.

comment 3y ago · link · parent

There's a big difference between "over a decade old" and "50 years" though. I'm not contending that there's a sizeable amount of 10+ year old applications that are still useful, but I'd wager that their number is inversely correlated with their age; and that 50 years is too long of a support term to be sensible. E.g. HTTP is less than 35 years old. And it's not just because the outside world is moving on, if you use a distro from 2000 for 50 years you'll run into problems in 2038 because it still uses 32-bit time_t.

comment 3y ago · link · parent

> which powers their onlineshop or blog or whatever they run

50 years of support doesn't make sense for these usecases, as the world keeps moving on around them. A blog that still looks like it's 2008 won't sell your business in 2023. A webshop from 2013 won't accept the popular payment methods of 2023 in large parts of the world. If these products will be updated anyway, at a certain point building on an old stack causes more work than it saves.

comment 3y ago · link · parent

It has been used in mathematics for decades, if not centuries, before that.

comment 3y ago · link · parent

> any build-flow that involves apt-upgrading or apt-installing packages (yes, even Docker builds) has no guarantee that you'll get an equivalent result if you rerun it 3 months later.

You can ask `apt` to install specific versions of packages. You do have to provide a repository that contains old versions though, e.g. Debian's snapshot archive: https://snapshot.debian.org/

comment 3y ago · link · parent

Self-service checkout at the store exit is such a wasted opportunity. In my (non-USA) grocery store I can scan product with my phone while I'm walking through the store and putting them in the cart; afterwards I only have to pay. Not having to take everything from my cart, scan it and put it back saves quite some time, even compared to cashiers scanning. There's also a handheld scanner for people that can't or don't want to use their smartphone.

comment 3y ago · link · parent

> The US system is far superior for consumers.

Consumers are also forced to pay for it, though. The transaction fee in the US is routinely 2-3%, while in the EU it's capped at 0.3%. Because of borderline anti-competitive behaviour from VISA and Mastercard, that fee is also not charged separately to creditcard-using consumers but integrated in the price, so everyone pays for it.

comment 3y ago · link · parent

> most Banks require a security ritual which is pretty boring

This varies significantly by country and bank. At my bank I can authorize transactions (up to a preconfigured amount) just with my fingerprint, and it takes like 5 seconds.

comment 3y ago · link · parent

Having a single European-wide integrated pull-based payment method is great for cross-border commerce. When I went studying abroad, I just gave the rental agency my IBAN, and they pulled the rent from my account the same way my local landlord did. I can sign up for services from any company in the EU and have recurring payments just like I would for local companies. That's not as easy if there's 27 national methods.

Furthermore, I don't think SDD is a big fraud risk. To be able to make direct debits, you need a contract with a bank, and, at least in my experience, they're quite thorough about that: you need to have a legal entity, banking history and show government identification; and even then the amount you can direct debit is limited to just a little more than your usual turnover. If a fraudulent debit happens anyway, you can one-click, no-questions-asked reverse them for up to eight weeks. After that, you can report it as an unauthorized transaction for up to 13 months and the bank will reverse it unless the creditor can show a signed mandate.

I don't think I've ever heard of anyone having had a direct debit from an unknown party. At least over here in the Netherlands, all banks also support requiring pre-authorization for direct debits nowadays, eliminating the risk completely.

comment 3y ago · link · parent

You're right, SEPA does have both push (SEPA Credit Transfer, aka SCT) and pull (SEPA Direct Debit, aka SDD) models.

comment 3y ago · link · parent

> Basically everything in Linux will create a temp file one way or another even pipes.

pipe(2) doesn't create a file, at least not in the sense that I usually think about files (something that's accessible through the filesystem).

comment 3y ago · link · parent

> First, why should I even assume N is finite?

Our current understanding of physics dictates that the (observable) universe has a finite size and a finite lifespan, from which it logically follows that there can't be an infinite amount of humans.

comment 3y ago · link · parent

That's a train tunnel.

comment 3y ago · link · parent

> And the banging noises are probably either the sub imploding or from debris falling to the ocean floor.

Or something else entirely. There's a surprising amount of unexplained noise picked up from the ocean.

comment 3y ago · link · parent

Aside from the fact that Linux increasingly has documentation for its ioctls and pseudo-filesystems, whether it is documented is a completely orthogonal issue to how these interfaces are designed. You can have well-documented APIs based on files and undocumented API based on object-oriented interfaces as well.

comment 3y ago · link · parent

I think GP is refering to everything swept away in the wake of the Kakhovka dam collapse.

comment 3y ago · link · parent

> That is, if no students or faculty from the university of Cambridge see this and help.

The author has said on Twitter that he already knows someone at Cambridge he could ask: https://twitter.com/ionathanch/status/1663423421831602178

comment 3y ago · link · parent

The baseline amd64 System V ABI, which is what Debian targets, only includes SSE and SSE2; not SSE3, SSE4 or AVX2.

comment 3y ago · link · parent

> against the wishes of its userbase

Against the wishes of a (vocal) part of its userbase. There's plenty of people running Debian that welcome the switch to systemd.

1
101112
41