18,401 karma · joined Dec 13, 2009 (16y ago) · 8,092 submissions
comment 4d ago · link · parent
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
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
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
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
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 5d ago · link · parent
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
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
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
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
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
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 6d ago · link · parent
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
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
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 1w ago · link · parent
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
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
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
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
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.