Better HN
topnewbestaskshowjobs
Log inSign up

BeetleB

18,401 karma · joined Dec 13, 2009 (16y ago) · 8,092 submissions

Submissions

comment 4d ago · link · parent

Same here. I'd totally forgotten about that pain!

comment 4d ago · link · parent

Fewer steps on average. When you don't need to be selective you don't need to do "git add", for example. Most of my commits when I used git were that way. Forcing me to do a git add each time added friction.

jj gives you the best of both worlds. If you want the friction, you can have it - with no more commands than with git. If you don't want it, fewer commands. And if you want a fancier stage you can have that too.

comment 4d ago · link · parent

> i really don't understand jj. what is the point of deleting the useful stage

You have a much more flexible stage in jj than in git. It's not gone anywhere. They just promoted it to first class and don't call it a stage.

> you have to either write a .gitignore counterpart for jj or manually remove them before committing.

I'll admit it is a pain. The one nice outcome, though, is that you now have everything in .gitignore and don't get "?" in your status.

> just commit and type your message when the context is fresh in your head.

The nice thing about jj is you don't need to worry about the "fresh in your head" part. You can write the commit message before you even begin, and modify it as you go along. You can commit things with no message (which I sort of use as staging), and much later, after several commits, go back and put in the message.

comment 4d ago · link · parent

Yes, but without having to tell it to branch off.

One of the nice things about jj is you don't need to name a branch. You're just working on a graph. When you think you have something consistent and would like to give a name to it, you can do it (before or after the fact). But the lack of friction in creating a temporary new branch is amazing.

If you used VCS before git and loved how easy branching is in git, this is the same feeling in jj, but now with git being the old, tedious way.

comment 4d ago · link · parent

> Think of it this way: you still have a staging area in jj, but now it's a commit instead of something unique and separate.

Indeed. One nice thing about this is you can have a staging area for the staging area (repeat ad nauseum). It's not that unusual that I treat a commit as the staging area, and then I want to do something experimental on top of it, and make a new commit on top of my staging area and try things out there - ultimately to squash into my main staging commit.

In my last job I gave a presentation on jj and I hammered this point. I said it's like git but with everything version controlled. The index/staging is version controlled. The stash is version controlled. Technically even things like setting/unsetting bookmarks, commit descriptions etc are version controlled.

comment 4d ago · link · parent

> I really don't like the automatic bookmark naming thing.

That's only when you're pushing, and you can always explicitly name it. I've never done an automatic bookmark.

> I'm also skeptical about automatic rebasing

Automatic rebasing is one of the best things about jj. I rely on it so much (just jump back to the commit with the bug and fix it right there) that I don't think I'd be happy with any version control system that doesn't have it.

comment 4d ago · link · parent

> If Mercurial was better than Git it would have won the distributed versioning system war.

Ah, so Windows is better than Linux/UNIX and MacOS. Got it.

comment 4d ago · link · parent

I have hooks that prevent repository modifications with git commands. And I have a global AGENTS.md file that says to prefer jujutsu if present.

It works totally fine.

comment 4d ago · link · parent

Yeah, I got a lot "Look at that!" with Argon.

comment 4d ago · link · parent

If they make a living with delivery (e.g. DoorDash), they're incentivized to speed regardless of the tip.

comment 5d ago · link · parent

> well to put it in perspective, my father commuted 50 miles to and from work for most of his adult life. He simply didn't wanna live in the city and preferred suburbs.

This is somewhat normal in the US. But the original comment was pointing out that this is crazy in Europe. And I was pointing out it is crazy in most of the world :-)

comment 5d ago · link · parent

> Agreed, I've watched friends in multiple industries lose joy in their jobs, and lose hope for the future, due to the actions of AI companies.

If you're my age or a bit older, the statement would have been true before 2020. Just replace "AI companies" with "SW companies". Or even just "technology."

My (now retired) math professor hated computers. "In the old days, I'd write my tests/exam on paper, and the department secretary would type it up (with appropriate math symbols). Now I have to do it myself on the computer."

Phone operators at switchboards were a thing.

comment 5d ago · link · parent

Sure, but I bet in most of Africa or Australia, telling someone to "just move 50 miles" east and endure a terrible commute will be looked at as both insane and inane.

comment 5d ago · link · parent

As I said a few days ago - these are a joke because sometimes they are ridiculously easy to subvert:

I was running something at work that involved an LLM, and kept getting safety refusals. The weird thing was that when I went to our in-house chatbot, set the model to the same one the program was using, entered the same text, it happily answered.

I spent quite a while trying to figure out why my program was being refused. Was I doing something wrong?

No - the chatbot was doing something "right". You see, the chatbot had some tools it injected into the prompt (current time, etc). These tools had no relevance to my query.

So I went back to my program and injected the same tools. Suddenly my request was very safe.

The phrase "security theater" was invented for stuff like this.

comment 5d ago · link · parent

The point he was making is that the categories is unreliable. They'll sneak in marketing notifications in other channels, or just not give enough granularity.

With BuzzKill, you can have rules like "Block all messages except those that contain <text>". This way, you can still get notifications related to orders/delivery.

comment 5d ago · link · parent

> and not the kind which is formalizable in Lean.

For people not in the know, it's common - both now and historically - for physicists to use "mathematical techniques" that have not been proven valid.

I took grad level physics courses, and this drove me bonkers. I was accustomed to the comfort mathematics provided me. If something was unclear, I could always dig deeper and find a proof. But a lot of the stuff the physics professors would do - I couldn't, and nor could they. They just responded with "intuition". Some of them had dug deep earlier in their careers and stated that the technique was likely invalid mathematically, "but still useful in getting answers experiments can verify".

I won't even talk about relying on diverging series...

comment 5d ago · link · parent

Note to self: Never give tip in app.

If they can't be bothered to ring the doorbell and wait for me, as was the norm for pizza delivery drivers since forever, they won't get a tip.

Now if you mean 3rd party delivery for stuff that isn't pizza, that's a different story. At some level, though, I'm just not sympathetic. Delivery is not cheap, and has all kinds of problems, including all the ones highlighted in this thread. If you think dealing with all of this (including notification issues) is worth the hassle, by all means, accept your reality. I just go to the restaurant and pick up myself.

comment 5d ago · link · parent

You're not the person I was asking, but if you were, I'd point out manually enabling/disabling notifications for the app when you order would be a lot easier than installing it each time (as he is doing).

comment 5d ago · link · parent

On Android, BuzzKill is the way to go.

And for stuff like Domino's, why do you need notifications? Just turn off all its notifications at the Android level.

comment 6d ago · link · parent

> Competition is for competing, this is just marketing.

In which universe is marketing not a part of competing?

Funny - just today I listened to an interview with one of the AirBnB founders. Early on, he had promised he wouldn't do ads. Looking back, he realized how silly that notion was. To quote him, he could think of only one great company that succeeded without marketing.

Making the best product in the world is not enough for success.

comment 6d ago · link · parent

Yes, but as the paper notes, concentration may be a factor, not just the absolute amount of mg.

comment 6d ago · link · parent

I've seen a bunch over the years.

https://share.google/8z4P4saW0VRewmf5b

comment 6d ago · link · parent

> This is somewhat untypical though; the most common variants are all around 320mg/liter or less (redbull, rockstar, most monster flavors, almost every soda).

Those 5 hour energy drinks are almost 4000mg/Liter.

Basically, 230mg in 57ml.

I usually consume half at a time, but on long road trips I usually end up needing the 2nd half 2-3 hours later.

comment 6d ago · link · parent

> Most energy drinks have similar caffeine levels to other common sources. Sometimes less.

Yes, but:

> However, caffeine concentrations can differ dramatically between products. Certain energy drinks provide up to three times as much caffeine per fluid ounce as brewed coffee, while some pre-workout supplements contain more than 12 times the concentration found in coffee.

It varies depending on which energy drink you have. I semi-regularly consume those 5 hour energy drinks, which have less than the 400mg daily safety limit (about 230mg), but is highly concentrated (less than 2oz). It's possible gulping that in one go is more dangerous than 400mg spread throughout the day.

comment 6d ago · link · parent

> this is about humans forgetting how to talk like humans.

Most people would prefer talking to an LLM than one who says "friendo".

Just saying.

comment 1w ago · link · parent

> How does it cost to acquire when a user uploads it ?

If someone uploads something to my site, I'm obligated to share it for free?

> How does it cost to serve when a VPS costs 5 dollars a month ?

Oh wow. As I said, if it's so cheap, go ahead and try to build the same thing. You'll get the data you seek for virtually free.

comment 1w ago · link · parent

> For most websites that fit the description, it costs nothing to acquire and hold the data.

It costs to acquire.

It costs to hold.

It costs to serve it to you.

If it costs nothing, why do you even want access to the web site? You can simply get the data yourself. It costs nothing, right?

comment 1w ago · link · parent

> doesn't make any sense unless the GP assumed that people who can't afford paid access to media don't deserve to know what's poppin' which doesn't seem particularly noble of a belief.

Yup. There's the mental gymnastics.

I deserve to have access to the roads, but I don't deserve a free car, bus fare, free bike or free taxis.

I deserve to have access to foods, but I don't deserve simply walking in to a store and walking out with food without paying.

comment 1w ago · link · parent

Any institution that receives federal grants (including student loans), private or public, has to conform.

That's Section 504 (overlaps with Title II). See https://www.ed.gov/laws-and-policy/civil-rights-laws/disabil...

> Section 504 is a federal law that prohibits any entity that receives federal financial assistance (such as grants or student loans) from discriminating against persons with disabilities.

> Title II of the Americans with Disabilities Act is a federal law that prohibits state and local governments (such as public school districts, public colleges and universities, and public libraries) from discriminating against persons with disabilities.

> In general, Section 504 and Title II nondiscrimination standards are the same, and in general, actions that violate Section 504 also violate Title II. However, where Title II requirements exceed Section 504 requirements, public school districts, colleges and universities, and libraries must also comply with the Title II requirements.

I worked part time for over a year for the disability division of my university. My boss's job was to assist professors in conforming when they provided online material (web sites, PDFs, etc), and also to ensure 3rd party providers (e.g. Blackboard) are in compliance. Nagging professors about this was part of his job.

He and his team worked with other universities and industry to come up with accessibility stuff for new technologies used in education.

This isn't limited to education either. If you're a private company receiving federal grants for research, you have to conform. Back in the late 00's, they had a whole accessibility themed PyCon where this point was being hammered home (i.e. people coding in Django, etc need to be aware of web accessibility if they ever want government money).

comment 1w ago · link · parent

Have you ensured you don't make the mistake UC Berkeley did - not providing appropriate accessibility (captions, etc) as required by Federal Law?

Edit: Ouch. It seems I'm being downvoted for being the messenger. Whatever your views of the Berkeley lawsuit and resulting takedown, the Federal law hasn't changed, and any university not complying with the law can end up with the same fate.

12345
270