HNHacker News
TopNewBestAskShowJobs

genocidicbunny

3,434 karma · joined February 18, 2018

submissionscomments
genocidicbunny··on Trump deploys National Guard as Los Angeles protests against immigration agents
We're talking about the kind of drones you can 3d print most parts of, not the long-range ones that can carry dozens of pounds. Some 3d printed parts, a handful of small servos, an arduino or raspi and a camera module. Not all that expensive.
genocidicbunny··on Trump deploys National Guard as Los Angeles protests against immigration agents
As if they're not going to take being recorded as provocation on its own. Or they're going to take an off the shelf drone, strap a spent shotgun casing to it with some duct tape, shoot it a few times, and then proclaim "See? They're targeting us with weaponized drones! We need to bring in the military!"
genocidicbunny··on Trump deploys National Guard as Los Angeles protests against immigration agents
Perhaps, but unfortunately far too many of the guardsmen see their fellow citizens that have the audacity to disagree with them as domestic enemies. As far as they're concerned, if you don't bend the knee and kiss the jackboot, you're the enemy.
genocidicbunny··on Falsehoods programmers believe about aviation
The article isn't meant to imply that only programmers would believe these. It's just a little niche of 'Falsehoods that Programmers believe about XYZ' sort of articles that became popular because programmers tend to write software that ends up interacting with real world systems that have edge cases many programmers would not consider if they're not dealing with the problem space for a while.
genocidicbunny··on Falsehoods programmers believe about aviation
Engines are actually changed fairly frequently because they're a wear component on most airplanes. They are also sometimes updated to a newer version or even an entirely different manufacturer. And often it's faster and cheaper to swap in a new engine that's ready to go rather than wait for the one that's attached to be overhauled, so the same engine might see service on multiple airframes.
genocidicbunny··on Falsehoods programmers believe about aviation
> Personally, it boggled my mind that something as big as an aircraft did not have a simple time invariant unique identifier.

It boggles my mind that despite not having some sort of universal system things work as well as they do.

Aviation grew up relatively insular, and each country that had any sort of aircraft manufacturing did things their own way until fairly recently. Arguably, the first half of the history of aviation is a kind of free-for-all. The fact that we now have a globalized airline industry that mostly follows some kind of standards is the mind-blowing part to me. And I suspect if we weren't mostly down to a dozen or so manufacturers for the vast majority of airliners, even that wouldn't be the case.

genocidicbunny··on Falsehoods programmers believe about aviation
> Ask to someone who learns French, for instance. Rules with too many arbitrary exceptions.

I took French in middle school, and it was always a running joke that the teacher spent the first 5 minutes on the rule, and the next 40 minutes on the exceptions.

genocidicbunny··on Falsehoods programmers believe about aviation
Well what I'm speaking to more is that most systems that you model, most of the model is already assumptions. So natural or not, that database schema is already invoking assumptions which may or may not be false. Especially when dealing with any system where humans are directly involved in it. For many things, there's no exhaustive list of rules that will cover all the cases. As they say, if you make something idiot-proof, they'll invent a better idiot.
genocidicbunny··on Falsehoods programmers believe about aviation
I would assume it's somewhat speaking to the prevalence of many informal landing strips, and also that river landings are probably fairly common too. I'd have to imagine places like Alaska might also have to deal with that, especially if you have small local 'airlines' (which are probably just a handful of bush planes really) that operate from an actual registered airport.
genocidicbunny··on Falsehoods programmers believe about aviation
Funny how the common thread through many of these 'Falsehoods...' posts is that many programmers think that systems designed by humans, for humans, and kept running by humans will rigidly adhere to a set of rules and don't have edge cases.
genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
In this specific instance, those people are part of the target market because the project chooses to make them part of the target market. It's worked well enough for Review Board.
genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
That's a bit dramatic. This isn't something as universal as Unicode. You really only need to care about this if you're writing tools that generate or consume the DiffX format, which is not something most people will be doing. The whole world isn't suffering their decision to use JSON instead of JSON5.
genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
> Off the top of my head, and just spitballing, I would be more surprised if mature game devs or animation studios didn't want to version control pretty massive asset libraries.

Exactly the sort of thing I had in mind.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
> 15 years is nothing to OS level codebases.

Or a gamedev studio that has been making various MMO's since the early 2000's.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
I'm speaking from personal experience, so yes, it sounds reasonable to me. I had to deal with exactly that situation.
genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
DiffX is a bit younger than the tooling I've written, but I have added custom diffing tools to the SVN client for one team I worked with. I've also written plenty of tools that used the information provided by a VCS (sometimes even poking around in the server-side data), but external to it. So given a few days to refresh my memory on the interfaces, I could probably whip something up for SVN pretty quickly.
genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
> 1. For most people using multiple SCMs is just a huge and easily-avoidable mistake. Most people can just mandate a single SCM for a project and then all these problems are moot.

You talk about SCMs, we're talking about VCSs. Where it's not just source code under control, or even source code with a handful of binary assets. Imagine dealing with a VCS that has to handle 15 years and a few petabytes of binary assets. Or individual files that were multiple gigabytes and had changes made to them several times per day. Can git do that gracefully just by itself? Or SVN? Even Perforce struggled with something like that back in the day.

>Very unclear why anyone needs this. There's no standard way to code-review a binary diff (it depends what the blob is that you're diffing) so how would it help if you had this standard way to represent the diff?

A standard way of handling the binary data doesn't mean understanding the binary data. You can leave that up to specific tools. What you need though is a way to somehow package up and describe those binary diffs enough that you can transport the diff data and pick the right tool to show you the actual differences.

> This goes away if you just use one SCM for a project which you should anyway for everyone's sanity.

And if wishes were fishes, I'd never be hungry again. If you have a lot of history, a lot of data, a lot of workflows and tools built up around multiple VCSs, then changing that to just one VCS is going to be a massive undertaking. And not every VCS can handle all of the kinds of data that might get input into it. Some are going to be good at text data, some might handle binary assets better. Some might have a commit model that makes sense for one type of workflow but not for another. For example, you might be dealing with binary assets where you can only have one person working on a specific file at a time because there's no real way to merge changes from multiple people, so they need to lock it. For text assets though, you might be able to handle having multiple people work on a file. To afford both workflows, your VCS now needs to not only support both locking modes, but be hyper-aware of the specific content to know which kind of locking to permit for specific files.

The world doesn't always fit into the nice little models that the most popular VCSs provide. So if you're trying to not limit your product to supporting just those handful of popular VCSs, you can't just assume everything will fit into one of those models.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
You're just being obtuse. It's been explained multiple times that there are tools external to the version control systems that can generate and consume this format. Just because there's no 'svn-diffx' or 'hg-diffx' command/tool built into the vcs itself, doesn't mean that this format can't be generated and used by other tools.

So to answer your question, any vcs that has had tools written for it to generate this format. And it sounds like it's most of the major ones as far as Review Board is concerned.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
That doesn't mean it's not going to be difficult to use that parser. Not everyone has the luxury of being able to use third-party code, or having the time allotted to write a JSON5 parser. The JSON parser some places are using may have been written two decades ago and works well enough that there's little motivation to implement JSON5 support. Sometimes it's just company policy or internal politics that prevent the usage.

It's also just not that big a deal overall for the intended use of the DiffX format. It's mainly machine-generated and machine-consumed. There's human readability concerns for sure, but the format looks to be designed mainly for tools to create and consume, so missing a few features that JSON5 brings is not that big of a deal.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
DiffX would have been nice to have available way back when I was trying to add support for our custom in-house vcs to Review Board. We had to either contort the diffs from our vcs to some format already understood by Review Board, which was sometimes difficult due to how the vcs structured the data it stored, or add a whole new parser to our Review Board instance, which would have been a major maintenance pain.

As an aside, I applaud you for creating Review Board. I've introduced its usage with several teams that I've worked with, and it really helped change how those teams operated, from a fly-by-night sort of development to actually having a process; The reduction in bugs and improvement in code quality were quite useful too.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
> Everyone has access to a JSON5 parser.

That's just a lack of imagination. When you're making a product for teams that span everything from a brand new startup using the latest tooling to teams that are working on software that runs on embedded systems from the 90's, you need to consider things like this.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
>I guarantee you there isn't a single SVN or Mercurial maintainer complaining that they would love to share patches with Git

I was one of those maintainers. So you're already wrong there. As I described in my parent comment, I've worked somewhere this was an actual problem I encountered. I was responsible for both maintaining our SVN repository, and our Review Board instance, so I have had to actually deal with this.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
They are using it. Review Board is a successful project that's been around for a long time, and it's solving a problem they had. One of the most common workflows with Review Board for source code reviews is to use the RBTools command line tools to post or update reviews. The cli would be the one generating the diff (although it supports uploading diffs that you generate iirc.) I haven't looked into the details, but I assume RBTools can generate DiffX diffs which is probably easier for the backend to process. (E - from what chipx86 has said in some of his posts here, they have been using it for several years now)

I don't really see this as pushing anything, more as documentation of something they did for themselves, but are also willing to provide to anyone else if they want to use it. Same as how the source code for the core Review Board product is available for anyone.

If you're happy with the diff format you're using in your workflow, keep using that. No one's twisting your arm to switch to DiffX.

genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
Looks like this is being used by Review Board, which heavily relies on diffs for source code reviews, and supports a whole bunch of version control systems.
genocidicbunny··on DiffX – Next-Generation Extensible Diff Format
It might solve it for git, but this looks like something the Review Board team came up with, and they have to integrate with many other version control systems like SVN, CVS, Perforce..etc. Seems like this is meant to address supporting many different version control systems with a single format.

I've worked at a place that used Review Board, and SVN as their primary vcs, but many devs used a local git-svn mirror for their work. Sometimes this caused problems with uploading diffs, especially if svn and git-svn were being mixed in one review. Having the Review Board cli generate a common diff format for both would have helped with that.

genocidicbunny··on Japan Post launches 'digital address' system
Or even just addresses that are split between multiple pluscodes?

For example, a duplex where the front door of each unit is adjacent to the other. Even at the 4m resolution, that means both units front doors (and thus street addresses) can fall into one single pluscode.

genocidicbunny··on Japan Post launches 'digital address' system
I've lived in a town in the US that did the same thing. House numbers were assigned based on the order that properties were built up or split, so you had a lot of places where you'd have several houses in a row that had consecutive numbers, and then the next house would have a much higher number. One of my neighbors had lived there for decades, his house number was in the triple digits. Mine was 5 digits. Neighbor next to me was also 5 digits, but several thousand higher than mine because his house was built almost a decade after mine.

As a sister post said, the build order is that logical reason.

genocidicbunny··on Britain's police are restricting speech in worrying ways
The good news is we could probably stick some leads on either side of his grave and generate a decent amount of energy from how fast he's spinning in it.
genocidicbunny··on GM Is Pushing Hard to Tank California's EV Mandate
I'm thinking more of people living in an apartment in a little town of 10000 people surrounded by 30mi of farmland in all directions. Something like the central valley in CA, or maybe some of the hill/mountain towns in the foothills of the Sierra Nevada mountains. Even in CA where the vast majority of the state's population lives in the LA, SF or Sacramento metros where you could potentially avoid the need for a car on most days, there are still millions of people who live in these smaller places where without much improved EV infrastructure, you would be severely limited being forced to have an EV vs an ICE car.
genocidicbunny··on Sleep apnea pill shows striking success in large clinical trial
Or alternatively, they need the noise, but cannot tolerate rhythmic noise. A CPAP machine to me isn't disturbing because of the noise -- if anything I would prefer some noise to drown out the mild tinnitus. It would be disturbing because it would be a fairly repetitive noise, and my brain would very quickly lock onto it and not allow itself to relax and let me sleep. Even a lot of 'random noise' videos on youtube end up being repetitive enough to trigger this.

I had a friend stay with me for a week or so, and they use a CPAP machine. Due to the poor sound insulation in the house, I could hear the machine from the guest bedroom to mine. It was one of the few times when I had to find some really long-form content on youtube to leave it playing all night on the tv in my bedroom to drown out the repetitiveness of the CPAP machine. For the first few hours of the first night I ended up waking up two or three times an hour because of the repetitive sound of the machine before I realized it.

← PreviousPage 4 of 34Next →