HNHacker News
TopNewBestAskShowJobs

e63f67dd-065b

1,891 karma · joined September 14, 2019

submissionscomments
e63f67dd-065b··on Developers revolt over Apple's new app store rules
> That said, I really don't understand the issue with their cut, or insisting on handling payments. In the vast majority of cases, these are not your customers. These are apple's customers they have given you access to.

This is not true at all. Netflix customers are Netflix customers, not Apple; the same goes for Amazon Kindle, Spotify, etc. Netflix literally cannot include a link to netflix.com in their app, otherwise Apple would pull the app from the store.

The smaller the app, the more those users are Apple's customers. But obviously we don't want a world where we penalise small developers more than large ones, so that's not a solution either.

e63f67dd-065b··on Microdot: A Web Framework for Microcontrollers
Doesn't this depend highly on whether that resource usage is worth the tradeoff of developer productivity? Python devs are much more plentiful and easier to hire, and if you now need a $1 microcontroller instead of a $0.5, and you're selling 100k units, that's a $50k cost.

It really depends here. The lower the volume, tighter the iteration time, etc the more sense it makes. I know oil rigs, for example, have a bunch of rpis running on them, because the manufacturer is selling a $100k box and any amount of time spent shaving $10 off the BOM is really not worth it at all.

e63f67dd-065b··on The business of check cashing
> This reflects a false belief that people who live in poor neighborhoods are less compassionate. In fact research suggests that people living in poverty tend to be more compassionate towards each other than rich people are toward the impoverished. It's comforting for wealthier people to hold this belief, because it makes us feel less bad about our own lack of compassion.

From what I recall, its less that the poor are more compassionate, instead they participate in _reciprocal altruism_ as a form of insurance against further loss. I remember this talk https://www.youtube.com/watch?v=AchISJUKfH4 -- poor people make seemingly dumb decisions because if they don't help their social network when it comes knocking, they're in effect _cutting themselves off_ from said network.

The middle class is more insulated from this effect because those with emergency savings don't often need to borrow $500 because of a broken car or need to house their recently homeless sister and children, so capital can accumulate more easily.

e63f67dd-065b··on The business of check cashing
A bank account to which money can only be added is not a very useful one.
e63f67dd-065b··on Most STEM grads don't work in STEM jobs
It's the other way around, most of the big universities charge international students through the nose to subsidise domestic students.
e63f67dd-065b··on The One Billion Row Challenge
Ah I didn't actually follow the link to the github repo. I don't think that percludes pre-processing the input into something that needs no parsing, however, or to spawn a background daemon that prefetches everything in the right order.

The first run is indeed runtime, not build time, so technically I think I still count with pre-computation, sending that to the daemon (or just stashing it somewhere in /tmp, or even crazier patching the jarfile), and just printing it back out on the second run onwards.

e63f67dd-065b··on The One Billion Row Challenge
The rule lawyer in me wants to spend the first run spinning up a background daemon that loads everything into memory, pins it there, and maybe even prefetches everything into cache as the subsequent runs perform basically a linear scan (you never have to pagemiss if you have an oracle!).

> write a Java program for retrieving temperature measurement values from a text file and calculating the min, mean, and max temperature per weather station

Depending on how far you want to stretch it, doesn’t precomputing the result on 1st run count too? Or pre-parsing the numbers into a compact format you can just slurp directly into rolling sums for subsequent runs.

Not the slightest in the spirit of the competition, but not against the rules as far as I can tell.

Edit: if we don't like pre-computation, we can still play with fancy out-of-the-box tricks like pre-sorting the input, pre-parsing, compacting, aligning everything, etc.

Edit 2: while we're here, why not just patch the calculate_time script to return 0 seconds :) And return 9999 for competitors, for good measure

e63f67dd-065b··on Sieve is simpler than LRU
Haha I do, are you with CMU's Yang Jun Cheng? Can't really think of anybody else working on this that would know these names.
e63f67dd-065b··on Sieve is simpler than LRU
A lab mate of mine is actually submitting a paper on investigating why clock sometimes outperforms LRU very soon. The other benefit of clock is simplicity of implementation: you just have a pointer march around a ring buffer. I’m surprised that sieve is sometimes better, we might have to add a small section to the paper discussing it.
e63f67dd-065b··on Flipboard Begins to Federate
> Meta will scrape all available data about your account

I genuinely don’t see the problem here. If it’s publicly available, why can’t Google/Facebook/Microsoft/etc scrape it? It’s like complaining that the wrong folks are reading the poster you just put up: well duh you put the poster up in public, of course it’s gonna get read!

e63f67dd-065b··on Minnesota new state flag design narrowed to 3 finalists
The new seal is also pretty cool. The objections, however, are not:

> Denise Mazone, who was appointed to the commission by the Council on Minnesotans of African Heritage, said she didn’t see the state’s African American community reflected in any of the final flag designs

> The year 1858, for example, is the year Minnesota was admitted to the United States and was included in the original version of the final seal design.

> A similar debate played out when the commission discussed the inclusion of the state motto, “l’etoile du nord,” which is French for “star of the north.” The commission considered translating the motto to Dakota, but ultimately decided to remove the motto from the state seal over concerns that it would violate the commission’s mandate to represent a “one Minnesota” and not single out particular communities.

Everybody wants their piece on the new flag/seal, thank god they didn't give in to the design-by-commitee temptation of just adding everything in.

My preference is between F29 and F1953 (from the 6 finalists); shame F29 got eliminated. Finalists are visible here: https://en.wikipedia.org/wiki/Flag_of_Minnesota#2023_redesig.... I'll never understand how stuff like 1435 got into the final 6.

e63f67dd-065b··on Coinbase targets financially vulnerable young adults
> The much more significant antagonist for financially vulnerable young adults is the Federal Reserve and its inflationary monetary policy that has priced many out of ever owning a home

The Federal Reserve doesn't control housing policy; local politics (often NIMBY's) do. House prices are high because there are not enough houses in cities where NIMBY's control the city council. No amount of interest rate adjustments will lower house prices if there are not enough houses to begin with.

The alternative to high interest rates from the Fed is high inflation, and inflation is even more harmful to the average citizen. There's a reason Powell keeps emphasizing stable price levels in every single speech he gives, because high inflation is something that must not be allowed to happen.

Cryptocurrency is not an inflation hedge, it's way too volatile for that. Cryptocurrency is the most speculative of speculative investments, and one must buy in knowing that you're flipping a coin and praying that it lands on tails.

e63f67dd-065b··on The Long Shadow of Checks
I'm continually surprised by the political influence held by the thousands of tiny banks in the country. I must applaud the people behind the Check 21 Act: it's the combination of a neat backwards compatibility trick (if you want paper, we'll print it and send it to you) and political maneuvering that I must admire it.

> Since the standard U.S. bank account is a checking account, even if it cannot write checks, it is necessarily a credit product.

Why is this the case? Checking accounts without the ability to overdraft and thus create credit risk exist; I've always wondered why they're not more widespread. Is it a problem that people who are Chex blacklisted are unprofitable anyways?

e63f67dd-065b··on Your Code Displays Japanese Wrong
Huh I never knew about the Han Unification project -- seeing as I only know simplified/traditional Chinese, I'm lucky enough to not have noticed any incorrect rendering in my daily usage.

What's the intended solution for encoding text that uses Chinese and Japanese at the same time? For example, in an article discussing the differences between said texts? Is there some kind of hacky workaround, emoji colour selection style, or are you doomed to using pictures?

This also reminds me a lot of the early "auto-detect encoding" tools long ago that tried to guess the encoding based on frequency distributions. There's a good reason to not do that to unified codepoints for CJK, but I wonder if there's a more sophisticated backwards-compatible solution here.

Edit: looking at https://en.wikipedia.org/wiki/Variant_Chinese_characters , some of these differences are really splitting hairs; if you gave me a text with some of the simplified characters swapped out with some of these variants, I would honestly not be able to tell the difference. There's probably more variation in the Chinese fonts out there than I can gleam from the article. I'm not convinced that some of these characters have a non-artistic difference that a fellow Chinese on the street will be able to tell apart.

e63f67dd-065b··on Epic vs. Google: Google Loses
I wonder what the remedies will be -- sideloading is already allowed, so allowing third party in-app billing? That seems to be the actual thing the juries said -- that Google used their dominant position to do anticompetitive things, among which is taking their 30% cut on everything.

Hope that this happens to Apple eventually too.

e63f67dd-065b··on Littlefs – a little fail-safe filesystem designed for microcontrollers
Not so sure about the tar part, but the append-only nature is actually really well-known: look up log-structured filesystems, where all operations append to the log and GC comes to clean up stale data later. I’m in the middle of writing a log-structured disk, and it’s really nice to work with. You get many things like clones, snapshots, etc for free.

The replay problem is usually solved with periodic checkpoints of your map, and a checkpoint on shutdown. This way you only ever replay on failure, at which point performance doesn’t matter as much.

e63f67dd-065b··on Stealthy Linux rootkit found in the wild after going undetected for 2 years
Command and Control. The server that issues instructions to the malware.
e63f67dd-065b··on What Is L4S?
The article doesn't actually explain anything about L4S other than "make latency go lower". Here's the actual RFC: https://www.rfc-editor.org/rfc/rfc9330.html

This is the first time I've heard of it, but it looks pretty cool. From what I can tell skimming through the RFC, it's a new congestion control standard that aims to minimise queuing latency. It co-exists with existing AQM technology, and is different in that it actively signals to other nodes about the state of its own queues.

> Below, we outline the three main components to the L4S architecture: 1) the Scalable congestion control on the sending host; 2) the AQM at the network bottleneck; and 3) the protocol between them.

> But first, the main point to grasp is that low latency is not provided by the network; low latency results from the careful behaviour of the Scalable congestion controllers used by L4S senders. The network does have a role, primarily to isolate the low latency of the carefully behaving L4S traffic from the higher queuing delay needed by traffic with preexisting Classic behaviour. The network also alters the way it signals queue growth to the transport. It uses the Explicit Congestion Notification (ECN) protocol, but it signals the very start of queue growth immediately, without the smoothing delay typical of Classic AQMs. Because ECN support is essential for L4S, senders use the ECN field as the protocol that allows the network to identify which packets are L4S and which are Classic.

> What L4S Adds to Existing Approaches: ... Diffserv ... State-of-the-art AQMs ... Per-flow queuing or marking ... Alternative Back-off ECN (ABE) ... Bottleneck Bandwidth and Round-trip propagation time (BBR)

My question, from a background with almost no networking, is this: there is a fundamental tradeoff between latency and throughput; what exactly is the tradeoff they're trying to make here? I understand the desire to move into lower latency, but how does this effect their utilisation?

e63f67dd-065b··on New York approves the first congestion toll in the US: $15 to enter Manhattan
I would've preferred an auction; institute a cap of x entrances/day, and run an auction the day before to efficiently allocate the limited slots to those who are most willing to pay for it. Last-minute entrants who will need to get in for whatever reason and missed the auction will pay large premium above the market clearing price.

Given that vehicle traffic is non-uniform throughout the day, maybe it would make sense to have separate prices per hour, but there reaches a point where the marginal increase in complexity does not drive marginal improvements in allocation.

e63f67dd-065b··on Native iMessage for Android – No Apple ID Needed [video]
Based on this reverse engineered client here: https://github.com/JJTech0130/pypush
e63f67dd-065b··on The University of California has all but dropped carbon offsets
Or 4) they switch to E&Y/PwC/Deloitte for their next audit, and all of KPMG's customers do the same in fear of the same thing happening to them
e63f67dd-065b··on Massachusetts becomes fifth state to make prison calls free
> The Department of Correction :currently charges 12 cents per minute, and most county sheriffs charge 14 cents per minute — forcing cash-strapped prisoners, or their families, to spend $2.40 and $2.80 for a 20-minute call in addition to extra fees for putting money into an account

> Counties will be refunded for their calls’ costs through a fund facilitated by the Executive Office of Administration and Finance, according to Tenneriello. Telecommunication contracts with companies like Securus will continue until they expire, and will be renegotiated.

This isn't quite clear; will the state be reimbursing county prisons at the rate of $0.14/min? Because if so this is outrageous, calls do not cost that much to make, and now there's a perverse incentive for municipal entities to encourage calls in order to siphon funds from the state.

The devil really is in the details here.

e63f67dd-065b··on Apple pulls plug on Goldman credit-card partnership
The FX spread is fixed at around 25-50bps for Mastercard/Visa due to a settlement long ago. The foreign transaction fee is an additional charge on top of that, usually 3% of the gross transaction volume in USD.

The banks don't control the exchange rate, it's determined by the card network. So yes, when a card advertises 0% foreign transaction fee, it really does mean that they don't take an additional charge on top of the spread (which they don't control or profit from).

It's in fact quite easy to pay less than 100bps for a foreign currency transaction; everybody with a 0% FTF card is doing it right now (especially for high volume corridors like EUR/USD).

> No fees, plus 1% or less FX spread on major currencies. (My preferred credit card promises that.)

You bank can't promise what they don't control; Visa and Mastercard determines FX rates, and they're below 100bps because of an old settlement. So the bank is promising you something they had no role in creating; you're the one here falling for the marketing, not everybody else.

e63f67dd-065b··on Need a PRNG? Use a CSPRNG
I'm confused; if you can predict the output, then isn't it by definition not secure? Or is the seed so hard to brute force that it's equivalent to breaking the underlying cryptography.
e63f67dd-065b··on Need a PRNG? Use a CSPRNG
There's one big scenario where PRNGs are good: reproducibility. I have a lot of tests that are deterministic given a seed, and if the test fails then I can grab the seed and replay the test.

CSPRNG is designed to be cryptographically secure, and thus I somewhat agree that it should be the default choice. But there are many cases where reproducibility is a good thing, and that's where you need seeded rngs.

EDIT: I was under the (wrong) impression that CSPRNGs were non-deterministic.

e63f67dd-065b··on Fluent Search
macOS actually does better in this area of keyboardless software: you have https://www.homerow.app/ and https://shortcat.app/. Not sure about linux, but I would imagine that there's probably something that somebody's hacked together out there.
e63f67dd-065b··on Venmo, Cash App users sue Apple over peer-to-peer payment fees
> Apple's agreements limit "feature competition" within peer-to-peer payment apps, including prohibiting existing or new platforms from using "decentralized cryptocurrency technology," the complaint said.

> The lawsuit seeks an injunction that could force Apple to divest or segregate its Apple Cash business

> The plaintiffs in the new lawsuit alleged Apple, Venmo and Cash App "have repeatedly raised prices for transactions and services with no competitive check."

> They argued that a peer-to-peer app based on "decentralized" crypto technology "would allow iPhone users to send payments to each other without any intermediary at all."

> The lawsuit said Apple has excluded from its App Store at least two Bitcoin wallet apps, Zeus and Damus, which is backed by Block founder Jack Dorsey.

If I understand the claim correctly, the plaintiffs are arguing that Apple is colluding with Paypal and Cashapp to restrict cryptocurrency wallet apps from the App Store, which drives up the cost of p2p payments?

Good luck I guess.

e63f67dd-065b··on California strikes another blow against rooftop solar
I think redundant infrastructure makes sense in dense urban areas for fibre, but probably not stuff like water and sewage. I've read many proposals for introducing market pressure into natural monopolies, but I haven't been convinced by any of them.
e63f67dd-065b··on California strikes another blow against rooftop solar
Rural electrification subsidies distort the cost of living in the middle of nowhere. This is the same problem as low-density suburban housing: the cost of their infrastructure far exceeds their taxes, so they're subsidised by urban core where infrastructure costs are low.

This is an even better argument against delivering power to everyone, all the time.

e63f67dd-065b··on California strikes another blow against rooftop solar
Electricity has always had two parts: production and distribution.

The problem with most places is that distribution is a natural monopoly: you don't want two or more lets of wires running to every house, so distribution monopolies are a natural consequence.

Production, however, is different; there's much more competition, which means that competitive pressure drives prices down.

Over time, distribution monopolies and other parties get more and more intertwined as they capture each other. The state uses distributors to levy taxes, unions parasitise the distributors and seek rents from their customers, companies capture regulators who set their prices, and that's why distribution is costly.

The beauty of rooftop solar is that you can completely disconnect yourself from the grid and thus the politics that drives prices up. It is true that giant solar farms in the desert and grid-scale batteries are more efficient, but they're captured and don't act in the customer's best interest.

In a world where distribution monopolies don't charge more than cost, where distributors are not agents of the state, rooftop solar would be more expensive than grid solar, but that's not the world we live in.

← PreviousPage 3 of 11Next →