HNHacker News
TopNewBestAskShowJobs

cbondurant

399 karma · joined October 26, 2021

submissionscomments
cbondurant··on Do not apologize for replying late to my email
I feel like the lag-time of communication was an important component of older forms of communication that has been lost. That's not to say that fast communication isn't a boon to society, of course. Only that slower communication gives you more flexibility in how you respond, and more time to think about what your response should be.

When the main form of long distance communication was the postal system, and letters took days to travel from sender to receiver, you could easily wait days, if not weeks, to draft up your reply and mail it out. The recipient on the other end wouldn't even be able to discern the difference between your delay and the delay from the postal network itself. It had some in-built slack.

When the only phones were landlines, if someone called you and you knew you were in a bad mood, the kind of bad mood that would invariably make you say something stupid, you could just not pick up! There were plenty of common, understandable reasons someone wouldn't be available to answer their landline. Then they could leave you a message, and you could call back when you mood improved again. Again, there was slack built into the system.

Now there's this cultural expectation that puts far more attention on your reaction speed. A text message with no immediate response could just be them not seeing it immediately... But actually no! Now we have read receipts too! You can't even pretend to have not seen it yet while you think of your reply. Some platforms even have the little "currently typing" indicator tell them how long you've spent drafting and re-drafting whatever message you ended up sending. A panopticon of communication. Now there's no slack. Any person anywhere in the world could try and get a hold of you with the same expectation of immediacy that a face-to-face conversation would supply.

Now of course, not every single person I might text, call, or send an email to, will have the same expectations for what is an appropriate degree of responsiveness. But, (speaking from my personal experience) I am absolutely miserable at reading that from social clues. I am left having to assume that, in the absence of some clear indicator to the contrary, whoever I am writing to will actually have rather strict expectations, and that allowing myself to be lax may very well give them a terrible opinion of me. (Though, the degree to which their opinion of me actually matters is a different question entirely!)

cbondurant··on Parse, Don't Validate (2019)
A really mindset-altering read for me, I've carried this way of thinking ever since I'd first read it a few years ago.
cbondurant··on Show HN: Printable Classics – Free printable classic books for hobby bookbinders
If imposition was something for this site to add, I'd recommend doing it through LaTeX with the pdfpages package[1]. You generate the pdf normally, then re-lay it out using a second latex file dedicated to just doing the imposition. It's how I've done all of my imposition so far, and its more than powerful enough to do the kind of simple page layout that you would want to do with a home printer.

Maybe more complex layout might be needed if you happened to have a printer that could handle like, A0 size paper, or continuous rolls, which would give more flexibility in terms of the number of ways you could fit your pages onto the stock material. for the hobbyist though? More than good enough.

1: https://ctan.org/pkg/pdfpages?lang=en

cbondurant··on Microsoft open-sources LiteBox, a security-focused library OS
at first I thought library OS might have meant an OS meant for use at a library.

Honestly far less interesting to know I was wrong.

cbondurant··on Running the Stupid Cricut Software on Linux
I was in the market for a vinyl cutter/knife plotter a while back, and the fact I use linux on everything was my main reason for avoiding Cricut. Ended up finding out theres an open source inkscape plugin that interfaces with the silhouette brand of knife plotters.

Not having to use the proprietary jank software is so nice, its a value-add over the cricut just to not have to use their software.

cbondurant··on The lost art of XML
> the mapping is direct ... > or with attributes

so it isn't direct? That's what you're saying. You're saying that there's two options for how to map any property of structured data. That's bad, you know that right? There's no reason to have two completely separate, incompatible ways of encoding your data. That's a good way to get parsing bugs. That's just a way to give a huge attack surface for adversarially generated serialized documents.

Also, self documentation is useless. A piece of data only makes sense within the context of the system it originates from. To understand that system, I need the documentation for the system as a whole anyway. If you can give me any real life situation where I might be handed a json/xml/csv/etc file without also being told what GENERATED that file, I might be willing to concede the point. But I sure can't think of any. If I'm writing code that deserializes some data, its because I know the format or protocol I'm interested in deserializing already. You cant write code that just ~magically knows~ how its internal representation of data maps to some other arbitrary format, just because both have a concept of a "person" and a concept of a "name" for that person.

The problem with tags in XML isn't that they are verbose its that putting the tag name in the closing tag makes XML a context-sensitive grammar which are NIGHTMARES to parse in comparison to context-free grammars.

Comments are only helpful when I'm directly looking at the serialized document. and again, that's only gonna happen when I'm writing the code to parse it which will only happen when I also have access to the documentation for the thing that generated it.

"tooling that can verify correctness before runtime" what do you even mean. Are you talking like, compile time deserialization? What serialized data needs to be verified before runtime? Parsing Is Validation, we know this, we have known this for YEARS. Having a separate parsing and validation step is the way you get parsing differential bugs within your deserialization pipeline.

cbondurant··on Package managers keep using Git as a database, it never works out
Admittedly, I try and stay away from database design whenever possible at work. (Everything database is legacy for us) But the way the term is being used here kinda makes me wonder, do modern sql databases have enough security features and permissions management systems in place that you could just directly expose your database to the world with a "guest" user that can only make incredibly specific queries?

Cut out the middle man, directly serve the query response to the package manager client.

(I do immediately see issues stemming from the fact that you cant leverage features like edge caching this way, but I'm not really asking if its a good solution, im more asking if its possible at all)

cbondurant··on The Mozilla Cycle, Part III: Mozilla Dies in Ignominy
To me blink as a render engine is too closely coupled to Google. Even though technically chromium is disconnected and open source, the amount of leverage Google has is too high.

I dread the possibility that gecko and webkit browsers truly die out, and the single biggest name in web advertising has unilateral sway over the direction of web standards.

A good example of this is that through the exclusive leverage of Google, all blink based browsers are phasing out support for Manifest V2. A widely unpopular, forcing change. If I'm using a blink based browser I become vulnerable to any other profit motivated changes like that one.

Mozilla might be trying their hardest to do the same with this AI shlock, but if I have to choose between the trillion dollar market cap dictator of the internet and the little kid playing pretend evil billionaire in their sandbox? Well, Mozilla is definitely the less threatening of the two in that regard.

cbondurant··on The Mozilla Cycle, Part III: Mozilla Dies in Ignominy
I don't particularly care about mozilla so much as I care about Firefox, gecko, and the continued existence of at least ONE other browser.

I don't want to use a blink based browser. If/When mozilla finally dies I don't have high hopes that Firefox won't just die with it.

cbondurant··on Fourier Transforms
This feels like a very indirect way of saying "yes the fourier transform of a signal is a breakdown of its component frequencies, but depending on the kind of signal you are trying to characterize for it might not be what you actually need."

Its not that unintuitive to imagine that if all of your signals are pulses, something like the wavelet transform might do a better job at giving you meaningful insights into a signal than the fourier transform might.

cbondurant··on A Common Semiconductor Just Became a Superconductor
Leaves me wondering if this will allow for superconducting cryogenic transistors? If my hobby level understanding of how silicon doping works, this new superconducting germanium would be a p-type? I could imagine something like ion implantation could be able to establish n-type regions within the germanium while allowing bulk regions of the lattice to maintain superconducting properties.

Though admittedly, I'm not actually aware what parts of a semiconductor circuit are the biggest power dissipation sources, so I guess its entirely possible that most of the power is dissipated across the p-n junctions themselves.

cbondurant··on Fighting the New York Times' invasion of user privacy
This is rich coming from the company that scraped the entire internet and tons of pirated books and scientific papers to train their models.

Maybe if you didn't scrape every single site on the internet they wouldn't have a basis for their case that you've stolen all of their articles through training your models on them. If anyone is to blame for this its openAI, not the NYT.

Play stupid games win stupid prizes.

cbondurant··on Majority of teens hold negative views of news media, says report
I think the biggest thing that makes me distrust the news as it stands is that I feel like news reporting is far too prone to overly leveling debates. And by that I mean making both sides come across as equally credible, even when that could not be further from the truth.

The most common way I see it happen is like this: you have a situation some group says that some totally safe thing is actually super dangerous. There's a large body of scientific literature that really clearly shows its totally safe. the news reports on it as such: "While many within the scientific community state that there is no harm with X, anti-X proponents respond that the current studies are not substantial enough, and that they are simply asking questions." This framing, does not point out that the anti-X proponents are just a group of 10 people, nor does it describe how much evidence there exists in the scientific literature showing the thing is safe. Both sides are made to sound equally reasonable, which in my mind is practically a lie by omission. Because they aren't equally reasonable.

Edit: One additional thought. I still will read news articles if they get shared to me, and I try to evaluate based off of what the source is. but another reason I don't actively keep a news subscription is because news orgs love reporting on tragedy. Because its more noteworthy. I'm just not interested in reading yet another article about how crime is on the rise. Or about the most recent fatal car crash. Etc.

I stare into the void enough as it is. I don't want another.

cbondurant··on Blue Prince (1989)
There are in fact two sided floppies! IIRC they behave a lot like the two sides of a cassette tape, the floppy reader only reads from one side at a time.

A fun fact in that regard: the game Karateka (an actual game for the Apple II) had an easter egg, where the team realized that their game entirely fit in the capacity of one side of a floppy, so they put a second copy of the game on the other side, but set up so that it would render upside-down.

I'd not be surprised if the inclusion of that detail in this post was directly inspired by Karateka.

cbondurant··on You can't cURL a Border
This is the kind of app I wouldn't believe could actually exist. Human rules are just so painfully complex and unwilling to agree with the concept of consistency.

Insanely impressive that it works even just well enough that more than just the developer finds use in it.

cbondurant··on Why Nextcloud feels slow to use
It makes perfect sense to me that nextcloud is a good fit for a small company.

My biggest gripe with having used it for far longer than I should have was always that it expected far too much maintenance (4 month release cadence) to make sense for individual use.

Doing that kind of regular upkeep on a tool meant for a whole team of people is a far more reasonable cost-benefit analysis. Especially since it only needs one technically savvy person working behind the scenes, and is very intuitive and familiar on its front-end. Making for great savings overall.

cbondurant··on Why Nextcloud feels slow to use
I've used nextcloud for close to I think 8 years now as a replacement for google drive.

However my need for something like google drive has reduced massively, and nextcloud continues to be a massive maintenance pain due to its frustratingly fast release cadence.

I don't want to have to log into my admin account and baby it through a new release and migration every four months! Why aren't there any LTS branches? The amount of admin work that nextcloud requires only makes sense for when you legitimately have a whole group of people with accounts that are all utilizing it regularly.

This is honestly the kick in the pants I need to find a solution that actually fits my current use-case. (I just need to sync my fuckin keepass vault to my phone, man.) Syncthing looks promising with significantly less hassle...

cbondurant··on Dating: A mysterious constellation of facts
This is exactly why I always make it a point to discourage my friends from using dating apps.

A dating app that is effective at solving the problem it is ostensibly designed to solve will never make money as people will be matched quickly and will have no need to pay for the service. So clearly no profitable dating app is good at matching people.

I'm of the opinion that using a tool that is constantly setting you up for romantic failure and rejection in the name of keeping you on its platform is a really good way to wreck your mental health.

cbondurant··on Why formalize mathematics – more than catching errors
Lean was a gamechanger for me as someone who has a "hobby" level interest in abstract mathematics. I don't have the formal education that would have cultivated the practice and repetition needed to just know on a gut level the kinds of formal manipulations needed for precise and accurate proofs. but lean (combined with its incredibly well designed abbreviation expansion) gives probably the most intuitive way to manipulate formal mathematical expressions that you could hope to achieve with a keyboard.

It provides tools for discovering relevant proofs, theorems, etc. Toying around with lean has actively taught me math that I didn't know before. The entire time it catches me any time I happen to fall into informal thinking and start making assumptions that aren't actually valid.

I don't know of any way to extract the abbreviation engine that lean plugins use in the relevant editors for use in other contexts, but man, I'd honestly love it if I could type \all or \ne to get access to all of the mathematical unicode characters trivially. Or even extend it to support other unicode characters that I might find useful to type.

cbondurant··on I spent a year making an ASN.1 compiler in D
Every time I have ever had the displeasure of looking at an X.whatever spec, I always end up coming away with the same conclusion.

Somehow, despite these specifications being 90% metadata by weight, they seem to consistently forget the part of the spec that lets you actually know what something is. and that part is just left up to context.

I could well be missing something, but a majority of the time it feels to me like they set out to make a database schema, and accidentally wrote the sqlite file format spec instead.

Like thanks, its nice that I can parse this into a data structure :). It would be nicer, however if doing so gave me any idea of what I can do with the data I've parsed.

Though to be fair I feel the same way about the entire concept of XML schemas. The fact that you theoretically can validate an xml document against a schema is honestly completely useless. If I am parsing XML, its because my code already knows what information it needs from the XML document, and really it should also know where that information is. I don't need a separate schema definition to tell me that! its already expressed!! In the part where I am parsing out the data I need!!!

cbondurant··on Thoughts on the Word Spec in Rust
It could easily be the case that its just outside of the goals or scope of docx-rs, but I wonder. It would probably be pretty reasonable to add some kind of a catch-all "unknown" variant, that backs itself up with storing the names of tags as interned strings?

Justified under the idea that unexpected tags should be uncommon by the fact they are unexpected (if its common you should have expected it), and can be relegated to a less-performant cold-path as a result.

It would probably mean not having the most fun time ever for the developer depending on docx-rs if an explicit requirement is interacting with and modifying a tag that ends up in the "whatever" bucket, but at least you could make sure that you (de)serialize losslessly.

cbondurant··on In-Memory Filesystems in Rust
The thing that finally made me realize just how fast file IO is today, is when I was looking into doing my own impl of 1brc in rust for practice.

I had expected that without the ramdisk, that file IO would have been the bottleneck for my testing, but in fact found that even with regular file IO my cpu was still the bottleneck, and multi-threading provided a massive performance boost. Completely decimating my expectations.

cbondurant··on How to configure X11 in a simple way
> For lightweight WMs there are lightweigh compositors exists.

I think that if you're going to take a holier-than-thou, software purity and perfection stance. You probably should make sure to proofread.

If you're gonna be judgemental about other peoples stances and refuse to admit to the existence of such a thing as a "reasonable tradeoff". Talk down to your audience with section headers titled "Compositor (no, not that thing from Wayland)". Maybe make sure what you've written is actually correct.

cbondurant··on I wrote my PhD Thesis in Typst
The initial motivation of LaTeX compile times being slow is very interesting to me.

I use LaTeX as a tool for layout of books to print for hobby bookbinding and my current project - a 3 megabyte, 500k word beast of a novel - only takes around 10 seconds to compile.

I cant imagine what the friend of the author here had going on in his paper such that his compile times took such a hit. Required use of specific LaTeX libraries dictated by the journals he was submitting to that were written inefficiently? specific LaTeX features or packages that end up hitting significantly slower codepaths?

Makes me wonder if its not LaTeX itself that is the speed issue but instead the very maturity of the ecosystem that it has as advantage over Typst. It could entirely be possible that once Typst has the wide berth of features and functionality available through its ecosystem, that it would become just as easy to fall into compile time tarpits.

cbondurant··on Fast Rust Builds (2021)
The mention of syn/serde being a compile time trap strengthens my feeling that having some better tools in the rust standard that make the job of syn/serde easier (compile time reflection being one of them) is probably the single most important improvement that could be made for the health of the rust ecosystem as a whole.

Anything that makes syn and serde run or compile faster will help a large swath of the ecosystem by extension.

cbondurant··on Kernel Mailing List flagging of contributor as potentially malicious
Yeah that's a good point to keep in mind. Chalk this up to a learning experience I guess.
cbondurant··on [dead]
Wasn't sure what to call this, since mailing list entries don't really have a title to utilize. Hopefully this name fits guidelines well?
cbondurant··on Thank you Google for breaking my YouTube addiction
I relate to this entirely, finding anything I want to watch has just kept getting harder and harder.
cbondurant··on CVE program faces swift end after DHS fails to renew contract
Am I missing something or was this literally announced with less than 24 hours of warning that one of the critical components to the cyber security landscape was disappearing.

What the fuck are you supposed to do about this. This is something that should have had multiple MONTHS of warning in order to allow those who depend on the CVE infrastructure to plan what to do next with their security posture.

cbondurant··on Show HN: Python at the Speed of Rust
I think that the compilation flags utilized are needed in order to properly justify the validity of the microbenchmark here.

At opt-level 2 and 3 rust completely optimizes away the interior loop, leaving just two instructions (plus a check for if n=0). given that your graph isnt showing O(1) time complexity shows you either

1) didn't compile your rust code in release mode for benchmarking, as the release profile uses opt-level=3 or 2) intentionally downgraded the opt-level of the release profile in order to run these tests

I'd be interested to see a more proper example, one where the task itself has some non-zero time complexity. Show a quicksort implementation perhaps. But as it stands this is just marketing smoke and mirrors.

← PreviousPage 2 of 3Next →