Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,271 karma · joined Nov 23, 2012 (14y ago) · 6,737 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 10mo ago · link · parent

rebasing, rebasing, rebasing.

I used/use magit a lot, and rebasing is much nicer with magit. But you're still faced with having to be in git land. JJ there's a lot of "rebasing at the speed of thought" because you really are just moving nodes around and "do what I mean" kicks in.

There's this other thing too, which is that jj I've always felt comfortable modifying changes that are not what I currently have checked out. With git it's always felt like the first step for any change management is "check out the changes into the working copy".

comment 10mo ago · link · parent

Given jj's rebasing tooling, rewiring precommit into "prepush" feels like the right way forward. There's a bit of a phase transition between commits on your machine and commits that are out in the wild, after all.

comment 10mo ago · link · parent

> The author smears the boundary between what people believe and what is logically entailed, and between mathematical techniques and the way they are applied in modelling the real world.

I think the clue here is the section mentioning Cauchy and rigor.

Without a certain flavor of rigor, "proofs" given by people, _especially in analysis_, can feel unsatisfying and can outright be incorrect, even if the thing they are trying to prove is true!

Imagine a proof of the intermediate value theorem like: well if you try to go from point A to point B you _have_ to pass through C in between eventually or else you'll never get to B.

This might be a sketch of a proof, vaguely. And it's not like the IVT is _wrong_, right? But a non-rigorous proof is not convincing. A non-rigorous proof might leave out details that would otherwise guarantee that a proof isn't left up to interpretation.

If your proof hand waves away some cases that feel trivial to you, to others that might look like a hole in your proof! Or you might think it's trivial, and actually it's not trivial.. but you haven't done it.

Anyways this is, I think, the core here. A new style of mathematics with new foundations... that haven't quite been smoothed out yet. The conclusions being reached are all kinda mostly right, but the reasons the conclusions are correct have not been actually properly set up. So skeptics can drive a truck through that contradiction.

Knowledge is about knowing the right thing for the right reasons... and in its infancy I could see a universe where a lot of mathematicians are running around using its tooling without having the right foundations for it.

We are lucky to live downstream of all this hard work. In the moment things were messier (see also calculus' initial growing pains)

comment 10mo ago · link · parent

Every time I hear someone mention they vibed a thing or claude gave them something, it just reads as a sort of admission that I'm about to read some _very_ "first draft"-feeling code. I get this even from people who spend a lot of time talking about needing to own code you send up.

People need to stop apologizing for their work product because of the tools they use. Just make the work product better and you don't have to apologize or waste people's time.

Especially given that you have these tools to make cleanup easier (in theory)!

395.

Efforts to Get MyGov's Code Generator Source Code(openmygov.au ↗)

2 points · by rtpg · 10mo ago · discuss

comment 10mo ago · link · parent

> I am still surprised most Linux Distros haven't changed their package managers to allow for selling of proprietary solutions directly, fully opt-in by default of course.

It's not "zero cost" but plenty of proprietary software with native linux clients will do things like set up Ubuntu package repos. You're pasting a handful of lines in the command line (or for the fancier stuff downloading the isntaller that does that for you) and you're off to the races

There might be a boutique business that could help with installer/package repo mgmt for people wanting to ship linux clients and take advantage of the auto-updaters and the like. Maybe.

comment 10mo ago · link · parent

django-seal offers optionality on this front. You can choose to use Django's default behavior or opt into sealing for when you're working on code where you _really_ want to avoid N+1's

comment 10mo ago · link · parent

I really want django-seal to be upstreamed, because accidental N+1's are really nasty and django-seal helps a lot with finding those

comment 10mo ago · link · parent

Here's a checklist I wrote way back.

https://rtpg.co/2021/06/07/changes-checklist.html

I've been meaning to write an interactive version to sort of "prove" that you really can't do much better than this, at least in general cases.

comment 10mo ago · link · parent

case in point: lots of places have lots of restrictions (either through legislation or just industry norms, usually a combination of both) about advertising for alcohol or tobacco.

And those efforts seem effective to me, at least anecdotally. I don't feel particularly bad about those restrictions either.

comment 10mo ago · link · parent

The NSA tried to do this during the Snowden leaks!

There were stories like "look at how we stopped this thing using all this data we've been scooping up"... but often the details lead to somewhat underwhelming realities, to say the least.

It might be that this stuff is very useful, but only in very illegal ways.

comment 10mo ago · link · parent

There's a problem with older Macbooks on older MacOS/factory reset where they can't access the App Store, so they can't directly download newer MacOS, you gotta go sidecar it

Of course this is completely opaque to people who have to do this, it just ends up prompting you to login and things like that.

I think newer MacOS avoids this stuff by not having OS updates be linked to the App Store

comment 10mo ago · link · parent

Do the locality-based civil unions actually provide necessary rights for spouses when it comes to things like property rights and the like? Maybe it does.

You’re right to point out public support (I didn’t realize the name thing had less support than same-sex marriage!)

I mainly wanted to highlight that the politicians are not there yet (or rather the ones that end up making the decision, even if supporters and the rank and file support it). But maybe we’ll get same-sex marriage before the name thing!

I could totally be misreading what the state of things on the ground is.

comment 10mo ago · link · parent

> Notably, the lack of legalised marriage is not because the population is too conservative. Rather, it is because the US forced a constitution on Japan which enshrines heterosexual marriage as constitutional law, and changing the constitution is significantly more difficult than changing a normal law.

Beyond the fact that they could easily get around this with civil unions, this feels like a massive misrepresentation of the status quo inside the LDP politicians that ultimately get to decide whether progress is made on this.

The current prime minister, in her previous attempt to campaign to be the head of the party (back in ... 2022 I think?), declared her opposition to married couples opting out of sharing a last name[0]. In the 21st century, strong opposition to the idea that somebody might want to keep their own family name after marriage. Something so small and unimportant. Still very far away from civil unions for non-hetero couples.

The Japanese ruling class is so far away from acceptance of anything beyond a very specific notion of married couples, even if the general population thinks differently. These things can change quickly but just in terms of policy delta between Japan and most other members of the OECD the gap is quit huge. Legal rights for one's spouse starts is important, and right now there's really nothing.

(There are some logistical things around the family register that mean that such a change would require some changes to that format. This is not a good enough reason to prevent this!)

[0]: In Japan if two Japanese people get married then they have to unify on their last name. In practice this usually means the woman throwing away their last name. In a funny twist of fate you actually have more flexibiltiy in an international marriage. If a Japanese person marries a foreigner they _don't_ have to do this (and can even go with a hyphenated last name!).

comment 10mo ago · link · parent

It is kinda interesting how like every company seems to go through this flow of highlighting that something is an ad (usually even with some differing background color like what Google used to do!), and then they just pull back differentiators more and more until it really is the smallest minimal marker possible

comment 10mo ago · link · parent

I think a big difference between Japan and many smaller markets is you are going to have local competitors in almost every sector that have some sort of buy in.

Even if you win on a feature matrix in theory (and is your feature matrix actually tailored to a local market!), the general sort of "well, local companies will be more responsive to our needs" is going to be very present.

Obviously people use Microsoft products for example but Microsoft has a _huge_ presence in Japan to support that. I have been on the receiving end of SaaS's trying to roll out their Japan sales strategy, and all the ones that got a nice and strong footing basically hired loads of local sales talent to do it.

Obviously Europe has a lot of fragmented business process things, but I think that many smaller European companies will be pretty habituated to buying services from outside the country because... well, there's no Salesforce Dot Com alternative based in Italy for example

(There are several SFDC alternatives in Japan)

Anyways the short thing is "buying services from abroad" is a perceived risk for Japanese enterprises because they will often not have to confront that issue, because the local market is "healthy"[0].

[0]: People will whine about the Japanese options being worse, but the options are at least there.

comment 10mo ago · link · parent

Not to argue too much against what you're saying but I thought that some EU gov't entities had moved off of Windows a while ago.

I know at least one university that doesn't put Windows on its machines either. While Uni requirements are not the same as "enterprise" requirements, it does feel close-ish.

Having said all this, I am very primed to believe that they have a Group Policy-sized hole in their systems. Just thinking they are doing ... something.

comment 10mo ago · link · parent

While Rust doesn't have C coverage, it has (by my last check) better coverage than something like CPython currently does.

The big thing though is Rust is honest about their tiers of support, whereas for many projects "supported platform" for minor platforms often mean "it still compiles (at least we think it does, when the maintainer tries it and it fails they will fix it)"

Not to be too glib though, there are obviously tools out there that have as much or more rigor than Rust and cover more platforms. Just... "supported platforms" means different things in different contexts.

comment 10mo ago · link · parent

Yeah totally, for unknown codebases it can help kick you off in the right direction (though it can send you down a totally wrong path as well... projects with good docs tend to be ones where I've found LLMs be worse at their job on this ironically).

But well.. when working with coworkers on known projects it's a different story, right?

My stance is these tools are, of course, useful, but humans can most definitely be faster than the current iteration of these tools in a good number of tasks, and some form of debugging tasks are like that for me. The ones I've tried have been too prone to meandering and trying too many "top results on Google"-style fixes.

But hey maybe I'm just holding it wrong! Just seems like some of my coworkers are too

comment 10mo ago · link · parent

now sometimes that's 4 hours, but I've had plenty of times where I'm "racing" people using LLMs and I basically get the coding done before them. Once I debugged an issue before the robot was done `ls`-ing the codebase!

The shape of the problem is super important in considering the results here

comment 10mo ago · link · parent

While in some sense it's interesting to store the prompts people might use, I feel like that might only accentuate the "try to tweak prompts over and over to pray for the result you want"-style workflows that I am seeing so many people around me work in.

People need to remember how good it feels to do precise work when the time comes!

comment 10mo ago · link · parent

I'm a nushell user but like... job control in nushell is pretty miserable still unfortunately.

Nushell is definitely my fav of the set (xonsh is a neat experiment but ultimately is missing pipeline programming that nushell gives....), and I write personal shell scripts for myself mostly in nu.

Aside: for shell scripts, my preference is something like nu, then python + stdlib, giving me argparser etc, then just zsh/bash/whatever. Seriously annoying how POSIX shells do not give good argument parsing, tho I get it's a hard problem

comment 10mo ago · link · parent

Is there any good faith read of this that people can lend credence to? The one I could maybe come up with (with their mention of stability) is "we want OSes derived from AOSP to be stable, instead of following main too closely". They mention third party devs working off of stable too... so maybe they're like "instead of dealing with outside contributors messing around with our 'wip' stuff, we'll sign up for integration work".

comment 10mo ago · link · parent

So is this similar to the DCMA in the US, where there's a lot of iffyness about abuse and actually knowing that someone is actually a rights holder?

comment 10mo ago · link · parent

I mean markdown existed, but before that there's like... whatever format phpbb and friends let you use for forum posts right? There was stuff that was text-y.

But perhaps it was the first big format that was followed a Unix-y "here's a CLI tool to go to HTML from this" thing, instead of some php script

comment 10mo ago · link · parent

I feel like even outside of AI translation, formalization not capturing the spirit of what the informal description was provided is always a risk.

This is also a big risk when trying to prove code correctness: "prove this algo works" means you gotta define "works" along certain axes, and if you're very unlucky you might have a proof that exploits the uncertainty around a certain axis.

comment 10mo ago · link · parent

We have also worked via Renovate recently and are enjoying it. The dashboard is particularly nice for onboarding repos with lots of old deps (checkmark -> make a PR is a nice flow that semi-automates things).

Dependabot integrates decently well with Github of course but so far renovate has worked well for us.

comment 10mo ago · link · parent

When distros figure out how I can test my software with a dep at version A and the same dep at version B in a straightforward way, then we can talk.

NPM forcing a human to click a button on release would have solved a lot of this stuff. So would have many other mitigations.

comment 10mo ago · link · parent

A thing I've experienced is people buying a bigger fridge, and then just leaving it when they move out because they're moving to a place with a fridge that is fine (for example, moving in with someone who has a nice fridge). Everyone walks away from that basically fine.
1
131415
225