HNHacker News
TopNewBestAskShowJobs

kibibyte

443 karma · joined December 31, 2011

(I never remember to update this, so whatever I put here aside from Twitter and Keybase will be outdated very quickly.)

@kibib1te

[ my public key: https://keybase.io/dge; my proof: https://keybase.io/dge/sigs/2Kwpv5gSxGa-Z_6iFB1aa5lBihGbvj0KIHFeR9qVRxw ]

submissionscomments
kibibyte··on SpaceX, T-Mobile to connect satellites to cellphones in remote areas
GPS is a thing, so I can imagine that a phone would be able to receive satellite signals pretty easily. But for transmission, I can't imagine this working without having your phone put a ton of power into sending a powerful enough signal, perhaps more so than how much power you need to passively receive GPS signals in the absence of traditional cell towers?
kibibyte··on Electronics are built with death dates. Let’s not keep them a secret
It's bizarre to me that P&G (Oral-B) seemed to have figured this out where Philips couldn't. Granted the batteries still aren't user-replaceable, but their manual at least doesn't tell you that you have to be a "qualified professional" to safely dispose of a toothbrush, and battery removal is a lot more straightforward than requiring a hammer.

If you have to be a qualified professional to ensure that a brush is disposed of the right way, well, that's a good way to ensure that they won't be disposed of the right way.

kibibyte··on NSA, NIST, and post-quantum crypto: my second lawsuit against the US government
I don’t know if that’s easily quantifiable, but I had a cryptography professor (fairly well-known nowadays) several years ago tell us that she only trusted 7 people (or some other absurdly low number), one of them being djb, to be able to evaluate the security of cryptographic schemes.

Perhaps thousands of people in the world can show you proofs of security, but very few of them may be able to take into account all practical considerations like side channels and the like.

kibibyte··on Silly Camera Numbers
Something worth adding here for those who want to complicate their lives even more, these equivalences get complicated when you need to compare across different sensor formats (full-frame vs crop vs micro-4/3rds). Something I learned recently is that f/5.6 on a 300mm lens on a crop sensor is more similar to something like an f/8 or f/11 on a 450mm on a full frame. Including ISO into this makes that comparison more complicated as well.

More on that subject https://photographylife.com/equivalence-also-includes-apertu...

kibibyte··on A little trick to spam the spammers (2021)
That’s a classic. http://bash.org/?127039

I do occasionally wonder if it would still work, but most business reply mail type spam has been supplanted by email nowadays.

kibibyte··on Cold-brewing of coffee by picosecond-pulsed laser extraction
I left my Aeropress unused in my drawers for years for that reason, until some smart people worked out a technique that turns it into a highly effective immersion brewer. Check this technique out https://coffeeadastra.com/2021/09/07/reaching-fuller-flavor-...

The gist of it is: 1. Grind finer (like, nearly espresso fine) 2. Steep for much much longer (like 10 minutes) 3. Don’t press too hard

(3) is generally applicable advice and may already improve your current results. Pressing too hard results in channeling and uneven extraction.

Of course, goes without saying, use good coffee and an appropriate grinder.

kibibyte··on A fake job offer took down Axie Infinity
As I mentioned in another comment (and I think others have mentioned this as well), browser PDF viewers implement a subset of PDF features, and notably they won't support things like forms (I think?) or signatures. So I can imagine that attacker tricked the user into opening the PDF with separate software by saying something along the lines of "you need Adobe Reader to sign this document" (and I don't think DocuSign is ubiquitous enough that users will second guess that).
kibibyte··on A fake job offer took down Axie Infinity
I understand what you're getting at now; I had thought you were asking the "more obvious" question. I'm unwilling to claim to be a subject matter expert, but I have some thoughts on this based on intuition as someone who's also a software engineer and has some security background.

Both JPEG (or any other ubiquitous image format) and PDFs are nontrivial formats. And both have their fair share of CVEs (the list of JPEG vulnerabilities is also pretty long, based on that CVE database).

Something that sticks out to me is that JPEG (and most other image formats) is basically a header followed by a large blob of compressed image data, whereas PDF is a mixed-media format combining images and other multimedia, fonts, and a PostScript. And of course, we know that PDFs have all sorts of other crazy fancy features like forms and embedded JavaScript and digital signatures. Based on these facts alone, PDF features is a superset of image formats, and certainly by quite a wide margin. And more features means much bigger attack surface.

There's also another practical consideration of how users generally interact with these formats. Users interact with images primarily through browsers (or Electron-based software), which are sandboxed and have very well-funded security teams behind them. User-uploaded images to image hosts are often re-encoded (and sanitized as a side effect). Notable exceptions I can think of are loading images from a camera (generally a trusted source; and certainly there must be plenty of vulnerabilities in RAW parsers, but people almost never share RAWs) and iMessage (...which is a thing). It's very unusual for a user to be forced the view the image outside of a browser.

PDFs are a different situation: while browsers have well-sandboxed PDF viewers these days, they intentionally implement a subset of PDF features (I think forms is a big one left out, and signatures). You can imagine how easy it is to convince a user that need to download the PDF to disk and open it with Adobe Reader so that they can digitally sign a job offer. I'm aware that DocuSign exists, but I don't think it's ubiquitous enough that every user will wonder "hmm why am I being asked to sign with Adobe Reader instead of using DocuSign".

I hope that better answers your question.

kibibyte··on A fake job offer took down Axie Infinity
https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=PDF+documen...

PDFs are "harmless" on their own, but they are user-generated documents that conform to a complex specification. Viewing them requires software that parses them. These parsers are often written in unsafe low level languages.

The (in)security of unsafe parsers reading user-generated input is a tale as old as time itself.

kibibyte··on Meta slashes hiring plans, girds for 'fierce' headwinds
Having seen a similar situation over 5 years ago play out, some of them (including many of their best recruiters) will go elsewhere because they have no work to do. Some others, of course, will become redundant. Although Meta has the advantage of name recognition, this kind of attrition can mess up hiring pipelines for a while and make it difficult to ramp up hiring in the future, which can make it difficult to attract the talent they really want.
kibibyte··on Show HN: Can you lose at Wordle if you tried?
Personally, I think that’s what makes hard mode interesting, that it creates a sort of meta-game for figuring out a reliable way to avoid these pathological cases.

It likely does mean you’ll have to sacrifice a lower average guess count in favor of avoiding losses.

kibibyte··on I was forced to be a child star. It was never my dream or my idea
For me, it was relatively strict parents sending me to a relatively strict piano teacher who also was a parent, and that combination can be a force multiplier for a bad time. All of them had similar cultural backgrounds as well, being first generation immigrants from the same country.

mkl's reply described it the way I would have explained it. There is that inherent power dynamic between parents and children that can make it difficult to speak up. In addition, piano teachers teaching children are effectively in a parental role for that time.

That's something to keep in mind for anyone who finds themselves in a position of authority over children, who are still in the early stages of expanding their perspectives of the world they live in.

kibibyte··on I was forced to be a child star. It was never my dream or my idea
Ooh, this definitely struck a chord in me, as I fall right into that stereotype.

I was forced to play piano for 10 years and to do all those recitals and music theory tests. I could never wiggle myself out of it because of all the guilt-tripping. So of course, I went to college and promptly dropped all of it.

And unexpectedly, nearly a decade later, this pandemic thing happened, I returned to piano, recently bought a digital piano, and found a teacher. I practice 1-2 hours every day. And a lot of those skills I thought I would have lost returned pretty quickly.

I have a lot of complicated emotions around this that I haven’t really quite figured out. But if I were to summarize them at their current stage, they’d be something like: (1) I am grateful that I was pushed to learn this instrument, (2) I realized I really disliked my childhood piano teacher, (3) my parents failed to recognize that for 10 years (as evidenced by never presenting the option of finding someone else), and (4) playing to inflate someone else’s ego is absolutely demotivating.

One of the unfortunate effects is that roughly 1/3rd of Mozart’s sonatas are unplayable because I have some bad memories associated with them. Fortunately, there’s plenty of music in the world that don’t trigger those feelings, and I am so glad that I didn’t play that much Chopin back then.

Maybe that might help? I’m not a parent, so consider these raw ideas that need some work to become parenting advice.

kibibyte··on Apple Cash
Fundamentally, nothing really. It's all the same: money moves from one person to another—quickly, instantly, and no fees (unless it's a business transaction)—as long as it doesn't leave the network. But therein lies the rub: money has to leave this network occasionally because you cannot send money peer-to-peer to from PayPal to a merchant not using PayPal (like Amazon), and that is the troublesome part where money has to be ACH'd to bank accounts.

And as such, the p2p ecosystems differentiate themselves by giving people ways to pay merchants without explicitly needing to move that money out of the network. So, Cash App issued a debit card, and then PayPal, and then Venmo (yep, even though it's a subsidiary, it's a separate card). And then some of them started using real bank accounts (with routing/account numbers) to back the stored balance. And the result today is that all these p2p apps look awfully a lot like banks, but less encumbered by regulations because they don't do everything that banks do.

Back to your question, why bother changing to Venmo (or Cash App) when PayPal is basically the same at this point? Obviously, the primary reason would be if everyone you know is using not-PayPal. A secondary reason is the same reason that people have different credit cards from different banks: different rewards schemes (yep, there are incentives for using those p2p debit cards).

Zelle is probably the odd one out here, because it's just an extra thing built on top of existing participating banks that already have all these ways of moving money out of their networks. It's effectively a wire transfer replacement without the fee (or a physical check replacement without the check-writing).

(Disclosure: am employed by a company that has a p2p product.)

kibibyte··on Airbnb’s design to live and work anywhere
> Being hired in country A, for a company that has presence in both A and B, and then flying and working for a few months in B, could conceivably raise all sorts of flags if noticed.

My employer adopted a similar policy (just not as publicly announced as Airbnb's), and the way they work around this problem is by, assuming you reside in A, allowing you to travel and work in B but explicitly disallowing you from entering an office location in B.

kibibyte··on Twitter has a new CEO – what about a new business model?
I wonder if the author remembers App.net. https://en.wikipedia.org/wiki/App.net
kibibyte··on Shirley Cards
I'm not an expert on this topic, but I'm certain it has to do with space constraints.

Supporting more range of color depth means that the raw output of the sensor is necessarily bigger. This means we have some range of tradeoffs to make in the camera:

* Save the sensor output directly as a RAW image onto storage. This means your storage medium can store fewer photos. You're also now beholden to the speed of your storage. Specialty photography like wildlife and sports impose requirements like being able to take lots of pictures per second; cameras solve this by having large memory buffers. Slow storage means the buffer fills up quicker.

* Compress your RAW images with lossless algorithms. These do a decent job, but they still result in big files on storage media. Same problems as earlier point. Need quite a bit of memory and CPU on the camera to deal with this, and plus this now competes with how many shots per second you can buffer.

* Compress your images with lossy algorithms (output RAW or JPEGs). Pretty much unacceptable since you don't get to decide what detail the algorithm removes.

Of course, this also imposes hardware demands on the photographer's computer. Big images require:

* Lots of storage. Maybe time to pay for a lot of cloud storage?

* Fast storage too because otherwise Lightroom takes forever to load an image

* Lots of RAM so that Lightroom can cache more images at once so you can flip back and forth with more ease.

* Fast RAM and CPU so that Lightroom can do adjustments without much lag (some of this can be offloaded to GPU, but it's not a drastic improvement).

Now, I think these problems are solvable today. They just require obscene amounts of money.

I do want to add, RAW images by today's consumer-level cameras do support a fairly wide dynamic range. A skilled photographer will know how to work with RAW files to bring out details from the extreme ends of the range (e.g. dark skin against a bright background). But it does require setting up the shot well, and one can only capture so much range (e.g. I have a few bird pictures where part of the bird is still totally blown out and unrecoverable because of sunlight).

kibibyte··on Debit cards are hidden financial infrastructure
Really the primary disadvantage these days is that you won't be able to access that part of your bank balance (often lower than most credit limits) for a bit of time until the bank either issues you a temporary credit or the dispute is resolved. This happened to me once in the earlier half of the 2010s and it was frustrating to have to wait for my balance to get restored.

There are enough banks in the US nowadays that cover debit fraud that any bank that doesn't do it will really stick out like a sore thumb and eventually lose their customers.

kibibyte··on Financial Secrecy Index
The US has a few states that allow you to set up a shell company with very pretty much no proof of identity. It’s one way that South Dakota is apparently a big tax haven now.

https://www.npr.org/2021/10/03/1042885263/pandora-papers-wea...

Planet Money has done an episode on this sort of thing in the past where they found it much easier to open a shell business in the US vs the rest of the world. https://www.npr.org/2021/10/06/1043746410/we-set-up-an-offsh...

kibibyte··on The chip shortage keeps getting worse – why can't we just make more?
This is exactly what's happening. Chips in high-demand have gotten very expensive. https://blog.flipperzero.one/manufacturing-and-shipping-upda...
kibibyte··on The Future of discord.py
It really could be a joke, but the power dynamic makes it unacceptable. It's like if your boss jokes about firing you.
kibibyte··on Swiping left on magnetic stripes
It never occurred to me how much infrastructure there was in a gas station. Talking about the 99% invisible, really.
kibibyte··on River Runner: drop a raindrop anywhere in the USA, watch where it ends up
Hey this is really awesome. I think I found an edge case though https://river-runner.samlearner.com/?lng=-122.10358604021484... :)

> There are no rivers flowing into or out of the lake; the evaporation is compensated for by rain and snowfall at a rate such that the total amount of water is replaced every 250 years.

kibibyte··on California is not in drought
California dairy is totally a thing though. We had this TV ad campaign decades ago that always ended with "great milk comes from happy cows; happy cows come from California". Also, Harris Ranch is a pretty decently sized cattle farm down near Coalinga (you know that you're getting close to it when you smell the cow poop while driving down I-5).

The missing information from these almonds vs cows debate is how big the two respective industries are in California. (I don't actually know this answer, so I'm curious if anyone knows.)

kibibyte··on Jeff Bezos comes out in support of increased corporate taxes
I'm not sure if revenue taxes are the better idea: they will impact low-margin businesses (e.g. restaurants) hard.
kibibyte··on As U.S. schools shuttered, student mental health cratered, survey finds
This is very interesting. Thank you.
kibibyte··on As U.S. schools shuttered, student mental health cratered, survey finds
Where can I find a source for this? This is new information to me, and searching "covid ventilator" is just bringing up the same studies about how patients who get ventilated have higher mortality, which isn't saying the same thing.
kibibyte··on Instacart mulls direct listing in snub to IPOs
The bankers take on the risk of selling the shares. In the traditional IPO process, the company negotiates the share price with institutions (big banks, hedge funds) in advance of the offering date. On the offering date, the company has a guarantee that it will be able to sell all its shares at the agreed upon price, and therefore be guaranteed to raise a specific amount of money. Those institutional investors will flip those shares to the public, hopefully at a price higher than the negotiated price for a profit. The risk is that this profit isn't a guarantee. Just because everyone's heard of your company doesn't mean they also believe in the company as much as the stakeholders do.

With the market being this hot (IMO it's a bubble, but only time will tell), enough public investors are clamoring over IPOs that companies could likely get away with a direct listing like this. Given an extended market downturn though (say, if 2008 happens again), companies will likely find those same public investors to be a lot less eager to snatch up new share offerings.

kibibyte··on It Can Happen to You
I think your indentation needs to be adjusted? Like so:

  def collatz(n):
      while n != 1:
          print(n)
          if n % 2 == 0:
              n = n // 2 
          else:
              n = n * 3 + 1

      print(1)
Otherwise, n = 1 terminates, and n != 1 gets stuck looping at lines 2-3.
kibibyte··on Spy pixels in emails 'have become endemic'
Many third-party mobile email clients I've used in the past never gave you the option of disabling image loading, though some of them finally added the feature after many years (e.g. Outlook).
← PreviousPage 3 of 6Next →