Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 2y ago · link · parent

I really wish that Obsidian Sync had like... 5 megs for free or something. I can't justify paying $8/month for a thing I haven't even started using, and without sync I have a hard time saying "OK let's try this" compared to Joplin or Notion.

There's a bunch of cool looking stuff though

comment 2y ago · link · parent

you know how if you edit the first line of a 50 line docker file you gotta sit there forever to rerun the entire build? You don't have that issue with Nix.

You know how a Docker file barely has any structure, leading to a lot of bashisms to try and script certain behaviors? Nix doesn't have that issue.

NixOS is an OS you can configure with Nix. A lot less "OK so edit these files to try and configure something, then reboot", a lot more "configure this data structure, then reboot". Makes your system configuration mostly be in the same place, as NixOS will distribute these changes across the file system as needed to get things working. It's pretty nice!

Overall... it ends up being a bit easier to document why you're doing something in a Nix file relative to a Dockerfile, and caching and the like works much more smartly (lots less "move all this stuff to the top/bottom for caching reasons" you might do in a Dockerfile)

("Nix" here means "nix + nixpkgs", which is important since lots of nix-ism are basically downstream of how nixpkgs is written and the patterns used there)

comment 2y ago · link · parent

the frustrating thing for me has been trying to "port over" C++-isms or Python-isms both fail from one direction or another.

I've found that data structures with _lots of helper methods_ (thinking about things like `Result` in particular) tend to be nice. You do have to learn about Rust-specific things to figure out how to nicely structure your code for everything to work. But the payoff is less pain.

There are still a lot of futzy ownership questions, and even when you write out your supposedly performant and cool system, easy outs like cloning end up hiding in your system leading to some awkward performance questions. Fortunately the systems are merely slow, and it tends to show up in profiling.

comment 2y ago · link · parent

How is Discourse's customization tooling? phpBB's ability to let ~anyone go in and add random stuff as plugins was really powerful back in the day IMO

comment 2y ago · link · parent

to be honest I think the opposite issue happens, where various places have their own tiny forums and there's little in activity.

I think IRC's strategy of having networks and channels on those networks is nice because then most programming languages will be like "well let's just be on this one network". Reddit is this times 1000 given that it's all subreddits on the same platform.

Not perfect for many reasons, but having to sign up to random forums to try and interact with support for, like, Circle CI has always felt a bit silly for me.

comment 2y ago · link · parent

I mean I know several people who run their infra with podman. But it's for personal things, I don't know if there is any level of usage at the enterprise level.

comment 2y ago · link · parent

Helping out a useful service? Though who knows really. Cost of services and the price they are sold at are only loosely correlated!

Though honestly it’s totally possible that cloudflare was offering a real discount but it’s still just very high for something like sourcehut.

comment 2y ago · link · parent

I think that you might find that Electron has perfectly fine default performance! Think about filling out an <input> field in your browser that doesn't have any weird magic on it. It's basically instant right?

The issues come from stuff like autocompletion tricks etc leading to weird lagginess. People get a first version of a thing working, and then it just kind of exists in that state forever.

comment 2y ago · link · parent

So is Boeing! Companies without this massive amount of government support either barely survive on a tiny niche or fall over before actually shipping products.

It's fine that governments have decided to prop up these industries in their own ways, of course. Just hard to expect "free market" participants to show up and take on such a capital intensive industry

comment 2y ago · link · parent

> At the same time, the PUC initiated a proceeding to review progress of Castle & Cooke Resorts Lanai Wind Project, given C&C’s sale of its holdings to tech billionaire Larry Ellison about a year earlier. The docket covered “the uncertainty over Castle & Cooke Properties Inc.’s ability to develop the Lanai Wind Project” as a result of the sale, Tuesday’s filing said.

Even before opening the article I had a feeling I would see Ellison's name _somewhere_. I don't know if the review trigger was an excuse, just annoyance at it being Ellison, or what, but wild how a single person can have so much of an effect.

comment 2y ago · link · parent

I want to believe with MSRs but the it’s had 80 years to prove itself and I have a hard time believing its large scale feasibility at this point. Lobbying only explains away so much. Remember, France is a large industrialized nation still building nuclear power plant. There’s gotta be some real reason they didn’t pick up MSRs.

comment 2y ago · link · parent

Nuclear cannot be deployed anywhere, it needs a source of water. It also needs staffing, and it needs to be kinda near to people who need electricity.

This last point is important because nuclear plants generate a lot of power, so you cant easily build a plant “just” for 500 people in the same way you can for other energy sources.

I am fine with nuclear in principle. There are real reasons nukes are expensive and not the ideal option in many situations. We have to be clear eyed about this.

comment 2y ago · link · parent

Kinda weird, I've found that Mario Maker 2, if you queue up on the next-to-hardest difficulty, is basically good? I've encountered plenty of "top quartile of SMW" difficulty levels.

There's some garbage in there too, but that's the game! There's definitely good sets of levels nowadays IMO.

comment 2y ago · link · parent

At least with magit, I can look at the entire diff, then highlight specific lines, and stage those fairly easily. `git commit --patch` gives youhunks, but if you need to break those hunks up it's a couple extra steps.

GUI stuff is not necessarily about enabling new workflows so much as making workflows _very fast_ and less error prone. In theory at least.

comment 2y ago · link · parent

With Magit I've found that you can just be faster. Nicer autocomplete functionality, quick access to flags when doing operations, being able to point your cursor at a commit and say "cherry pick _this_ please".

Less futzing around with copying around IDs and the such. I still need to know how to do most everything with git itself, but because I know that, I can rely on magit to just make it quicker for me to "do the thing".

comment 2y ago · link · parent

Magit's failure mode is downstream of it (I believe) pulling in diff information on the status page. When I've had this problem, doing `git status` on the command line has always been more or less instant.

There is something inevitable about needing time to display a lot of information. But I think magit is eager in some places that lead to extremely costly magit workflows when the raw git workflow would be much faster.

comment 2y ago · link · parent

"I claim this art was made by this person" "Who?" <gives name> "OK <name>. did you work on this?" "Where are related work products? Are there any? What about invoices? Simultaneous employment?"

The reality is that most legal things are determined by _convincing people of a truth_. Perhaps you can set up a whole scheme to "launder" AI art and attach names to them. And all the papertrail you generate doing this will show up in discovery in some lawsuit and the copyrights all disappear.

Laws are vibes, not code.

comment 2y ago · link · parent

I get what you're saying. There are a lot of tinier discords and chat rooms where people post technical points and other people chime in. There are even websites with these small places.

The challenge of course is finding your way there. They're not exactly discoverable, and unlike with a job, it's usually through some pretty odd connections that you end up there.

comment 2y ago · link · parent

That's a very good point. Thanks for that!

comment 2y ago · link · parent

Reading through this and then thinking about rebases in particular.... I think whoever comes up with a good mechanical explanation of rebasing deserves a prize. I just imagine it as "it figures out diffs and then tries to apply them over at another place" but this runs up against reality way too often.

comment 2y ago · link · parent

It's funny you mention that, because Design of Everyday Things has a whole part about how people abstracting away the implementation leads to people having extremely wrong ideas about how things work.

I think abstraction is good in theory, but at the end of the day the implementation is what is happening. The classic thing of people relying on undocumented behavior, etc etc.

What good is a conceptual representation that doesn't actually align with what happens? It's not like the gas pedal being pressed down is actually what makes a car accelerate, after all! Whenever you're dealing with something _not_ working as expected, those who know the implementation are going to be in a much more comfortable position in general IMO.

comment 2y ago · link · parent

I mean you can use bluetooth keyboards with your iphone if you wanted to.

comment 2y ago · link · parent

I think iOS changed its behavior like this in the past year or two and it's so frustrating after years of per-word autocorrect. Like having the text flow around randomly while typing out your sentence, seeing the text be _entirely wrong_, and just having to pray that the text will end up right at the end of the action.

I don't know what is better here but honestly per-word predictions were way better for my usecases.

comment 2y ago · link · parent

I don't know what packages enable it but Doom Emacs is set up so that in the M-x minibuffer it shows the primary key binding for a command next to the name, if it exists.

I've found that this helps me to memorize ones I reference, even if it's only memorized for a couple hours.

comment 2y ago · link · parent

ipad touchscreen is good for reading documents and the like. While I've been a bit of a "make Macbooks with touchscreens you cowards" person, iOS (iPad OS but w/e) has a _lot_ of nice affordances that are centered around getting you quickly to your work in a couple of taps, and not futzing about with typing things in.

The thing I always think about: how fast it is to play an MP3 from "device in pocket" state with an MP3 player vs a computer (or my phone!). iOS affordances around that are good.

Having said that... maybe there's a new shell that MacOS could use to get there. They seem to be trying with some changes though I don't really enjoy the changes so far

comment 2y ago · link · parent

Just like Chrome had a whole thing about process isolation to avoid crashing the entire system, it would be quite excellent if they could figure out how to effectively update at a tab-based level. New tab? Get the newest Chrome in the tab.

Obviously would be quite frustrating to debug a thing only to realize tab A is version 1 and tab B is version 2 of course. And it seems like it would require a massive amount of effort. Would be cool though!

comment 2y ago · link · parent

Getting the time from “everyone agrees the change looks good” to “it’s in front of users” down is so satisfying. Work that goes into reducing this tends to have wonderful knock on effects all over, from faster builds, quicker rollbacks, smaller CI bills (yes it’s possible!). The biggest difficulty I’ve seen in practice is going from “somebody hits the button” to “thing happens”.

But even just making sure that “somebody hits the button” is a 1 button thing instead of a 20 button thing can be a major win! Totally valuable work

On the other side of the coin: having good observability into prod (talking mainly about APM stuff and tracing) gives devs way more confidence in the changes they’re making as well. Make it easy to deploy stuff, but also make it easy for systems to log things, and make it easy for developers to poke into those logs (my favorite flavor of this right now is honeycomb, but mainly cuz you can do perf analysis and answer questions from PMs about usage quite easily)

The nice thing about all of this if you’re a mid sized team is that you can totally outsource this with the right kind of person. Somebody who comes in, has the right to write some automation code (maybe it’s Zapier even!), and is not part of office infighting about process. The mandate being “make this pipeline smoother”. Probably among the easier problems to fix compared to deeper business or product problems. And it’s also super visible to other teams (“wow the bug is already fixed?”)

EDIT: one thing I’ve seen done that “never works” (I have not seen everything) is splitting up a repo into smaller repos. If you find yourself thinking “with smaller repos things could be smoother” it’s likely that what you want is not multiple repos but a build tool like Bazel or Buck, that will let you describe multiple projects in one repo, without causing inter-repo friction come review time. Integrating these tools can save you loads of money on CI and enforce decent test suite separation. The unfortunate flip side is that at least Bazel is very idiosyncratic, and most other tools are based on Bazel. I have heard good things about Buck 2 but have yet to see it in prod

comment 2y ago · link · parent

I've found playing against weaker bots you lose on the sort of human nature of weaker players. In particular humans tend to have a bit of an internal narrative, but weaker chess bots tend to just throw in shitty moves.

It's pretty well known that bots resort to cheating to win at stuff like Civ. I'm sure there's a patch out there that removes the cheating, and you can stomp on computers there.

1
444546
225