> Chaining nudges you toward “process everything,” even when that’s not what you meant to do.
It feels pretty clear that the chains in that example (filter/map) are meant for operating on collections. And that if you're searching for a single item then chaining isn't the way to go?
Personally, if I knew I wanted only a single item I wouldn't feel more "nudged" towards appending a [0] on the end of a long chain rather than doing a refactor to the find().
As to:
data
.transform()
.normalize()
.validate()
.save();
here the problem isn't that you've done method chaining, it's that you've named your functions with terse names that you're going to forget what they do later on e.g. a generic "normalise" vs a "toLowerCase()" or whatever.
As apples-to-apples unchained equivalent isn't really any better
One benefit of the more verbose lower example is, that when it fails somewhere you get a clear line where it failed so can focus already deeper. In chain, unless I am mistaken here (maybe mixing java and javascript so sorry if I am off), its just a general error somewhere in that chain.
Nothing earth-shattering, but who never had to debug something someone saw in production once and never again, then any additional useful info is weighted in gold.
My undergrad was in humanities - we had multiple essays to submit throughout the year but they only counted for ~10% of the final grade, with the rest through an in person exam paper.
It was just expected that you had a grasp of the literature enough that you could argue off-the-cuff in the exam setting, and then you were given leeway if you didn't have exact Harvard style notations to exact date/titles of referenced material.
> Prosecutors argued that they had a right to demand material that Heppner created with Claude because his defense lawyers were not directly involved, and because attorney-client privilege does not apply to chatbots.
>
> Voluntarily revealing information from a lawyer to any third party can jeopardize the customary legal protections for those attorney communications.
>
> Manhattan-based U.S. District Judge Jed Rakoff ruled, opens new tab in February that Heppner must hand over 31 documents generated by Anthropic's chatbot Claude related to the case.
>
> No attorney-client relationship exists "or could exist, between an AI user and a platform such as Claude," Rakoff wrote.
If I hand wrote some notes in a notebook or diary, I wouldn't have to hand them over, as I understand it, even with no lawyer in the mix. Same if I wrote some notes in a text file on my computer.
Leaving AI aside, what in particular makes this different from using any other cloud-based software? Does writing a Google Doc to gather my thoughts or a draft email in Gmail constituent "revealing information from a lawyer to a third party"?
What if Google have enabled AI-features on these? Feels like this area really needs clarity for users rather than waiting for courts to rule on it.
> If I hand wrote some notes in a notebook or diary, I wouldn't have to hand them over, as I understand it, even with no lawyer in the mix. Same if I wrote some notes in a text file on my computer.
Absolutely wrong in the U.S. The police can't just break into your home and demand it, but a judge can 100% mandate discovery or a subpoena if there is reason to believe that evidence exists which is relevant to the case.
The 4th amendment prohibits UNREASONABLE search and seizure, and we let judges make that determination. You never have absolute privacy rights.
Note that the judge is bound by precedent and law as to what "unreasonable" means, they can't just make it up as they go along unless there is no precedent. Otherwise the case can be reversed on appeal.
I was on a jury recently where we had to swap out judges in the last couple days of the trial. The reason was because the judge had been assigned another case where the defendant had not waived his right to a speedy trial. The judge wanted to finish his existing case first, the defense lawyers said "You can't do that", the judge looked it up and found out that indeed they were right, so off he went to start the new case and handed off the existing one to a colleague. In my experience judges really do take the law seriously - that's how they get to be judges.
My understanding is that judges have certain specialties - one judge might be well versed in a particular area of law but not other ones. The case I was on was an area where nobody in the district had expertise, and everybody (judge, prosecutor, defense, jury) was learning as they go. The new incoming case was one that was in an area that our previous judge would normally handle. So it was assigned to him because it came in through his department, while the case I was on was sort of a free-floating orphan where not much was lost by having another judge handle it (and it was also already in the jury instructions phase, with testimony complete).
This. All of your rights are up for debate under a judge. There’s only a few you can still exercise if a judge wants something from you but ultimately if a judge decides it’s relevant to the case, it’s relevant to the case and you must comply. Or be held in contempt. Or praise? With a senate hearing to boot. I’m confused on how our legal system actually functions now but that is how it’s supposed to be. If a judge decides to include it, it’s in. Go get it.
One of my friends recently spent some time getting an OpenClaw instance running in Ubuntu so he could have a truly private conversation with it, complete with an air gap.
The value of that configuration has just been greatly magnified.
Has it? There's value in privacy vis-a-vis snooping corporations, but those conversations could still be surrendered to the court if the judge rules them potentially relevant, and if your friend refuses to do so, he'd be held in contempt of court.
I agree, but it's not like Anthropic was running to tell the lawyers and the judge in this story. The most likely scenario is your friend would just let slip he's using AI, or people who know him would let it slip, and the lawyers or judge will demand the conversations for discovery.
If I was strongly motivated to gather AI analysis of litigation, I think that I would turn to Tor if possible, and remove any specifics from the discussion.
Unless you personally developed the AI to do this, then it is almost certain that any third party AI is harvesting every nugget from you in one way or another. Even when they say they aren't. Like all the other big tech out there, it was designed for the makers not for the users.
This thread is about a locally running LLM, with an air gap.
How can a third party company harvest anything from that? Even if you didn't develop the LLM yourself, if you downloaded it and are running it locally with no internet access, I don't see how it'll leak info to a third party.
> If I hand wrote some notes in a notebook or diary, I wouldn't have to hand them over, as I understand it, even with no lawyer in the mix. Same if I wrote some notes in a text file on my computer.
There is some protection of personal private documents for civil cases. But for a criminal case, there is no 4th or 5th amendment protection for stuff you wrote in your diary.
If you were caught with notebooks detailing your plans to kill a list of people, showing that you've meticulously tracked their movements and listing locations for dumping the bodies that would be extremely relevant. I don't see how it'd be a good idea to exclude that kind of evidence.
Reading the ruling in more detail, this is definitely a "this is not even close case."
First off, the Fifth Amendment right to not self-incriminate is rather narrower than you might expect. With regard to document production, it only privileges you from having to produce documents if the act of producing those documents would in effect incriminate you. So if you tell people "I've got a diary where I've been keeping track of all the crimes I've committed..." the government can force you to turn over that diary.
Second, the default assumption whenever you send something to another person is that it's unprivileged communication. IANAL, but even using cloud storage for things I'd want to remain privileged is something I'd want to ask a lawyer about before relying on. Although that's also as much because the default privacy policy of most services is "fuck you."
Which is what happened here. Claude's privacy policy says that Anthropic reserves the right to share your chats with third parties for various reasons, which means you have no reasonable expectation of privacy in those communications in the first place and automatically defeats any other confidential privileges. What happened is therefore little different from the defendant texting his attorney's responses to his friends, which is a fairly time-worn way of defeating attorney-client privilege.
Seems an opportune time to remember that every day is STFU Friday. And, to quote The Wire, is you taking notes on a criminal fucking conspiracy?
You cannot be compelled to provide testimonial evidence that might incriminate you. Physical evidence, documents, computer files, anything not under attorney-client privilege is fair game for a subpoena or warrant.
This maybe different. Unlike your own personal notes, your lawyers notes and records cannot be subpoenaed. But... the TOS from Claude might be a backdoor. So this is maybe an untested situation (as far as I know). The judge could decide the info is privileged because its an extension of the lawyers note-taking and research OR the judge could say its not privileged because the info was shared with Anthropic as a third party. Anybody know if this has happened yet?
This isn’t really attorney client privilege and would much more likely fall under the work-product doctrine [1,2], where documents prepared for the purpose of future litigation are protected from discovery and could be considered analogous to attorney-client privilege (but is actually much more broadly defined than attorney-client privilege[4]). Google can and does provide emails and documents under subpoena, but courts have ruled multiple times that emails, google docs, etc. were protected under work product doctrine or attorney-client privilege. Just because a third party has it and is willing to give it over does not negate privilege. The “shared with Anthropic” argument does not hold up to precedent when SaaS is used.
Even if opposing counsel is able to obtain discovery on a work-product, only fact based products, not opinion based are allowed. In other words, the court is supposed to remove anything related to “mental impressions, conclusions, opinions, or legal theories of an attorney or other representative of a party concerning the litigation” [3]. For conversations with AI about how to conduct your case, that would exclude basically everything since it is an opinion work-product, not a fact work product. A fact based work-product would be things like “statements or interviews of now deceased witnesses, photographs or video of an accident scene taken at the time of the accident”[4].
If I collected research and wrote down possible legal strategies in a Google Doc in preparation for meeting a new attorney, that would be protected. But if I do the exact same thing in google Gemini, it isn’t because Gemini “is not a lawyer” [5]? He ruled “Heppner did not [use Claude] at the suggestion or direction of counsel [5]” but as I just said, you are protected when self-initiating note taking before meeting with an attorney. The attorney does not have to direct you to do it for it to be protected. Honestly this really doesn’t read as solid reasoning underpinning the ruling at all.
In theory you can have the same on incognito sessions (never stored, that's part of what Italian privacy regulator forced on OpenAI to do) and same for right to deletion as per GDPR.
I don't think this is any different from other cloud-based software. Cloud providers can be compelled to turn over your data, as long as they're actually capable of doing so. If you don't want your data being snarfed up from a cloud provider and used in court, then only use cloud providers with end-to-end encryption, or better yet don't put your data in cloud providers at all.
The only reason this ruling is even remotely interesting is because people don't understand computer systems, and chatbots feel different. For the technologically minded, it should be pretty obvious that typing into a chatbot is no different from typing into a Google Doc, and that the data in both can be available to the legal system without the user's involvement or consent. But most people aren't technologically minded and may not have realized that all of their data is being saved and made available like that.
>If I hand wrote some notes in a notebook or diary, I wouldn't have to hand them over, as I understand it, even with no lawyer in the mix. Same if I wrote some notes in a text file on my computer.
Is that true? I would expect that any notes I have in any form could be requested during discovery (client-attorney priviledge being one of the few exceptions and narrower than people assume).
I'm not American, but isn't this covered under the Work Protect Doctrine (as mentioned further down in the article)? Material prepared with an eye to litigation?
Though maybe not applicable here if the charge is criminal, I thought it was a civil case on first reading.
> Basically...I just don't know what communication medium would allow a company that makes app icons to keep their customers in the loop about updates & concerns related to the product. Are you gonna install a Font Awesome app?
What companies _used_ to do is have "Subscribe to our newsletter" on their site - either for non-account holders, or as a separate checkbox when setting up an account.
Same with email frequency — would be trivial to add "when do you want to hear from us?" as a question "when we release a new font / when we make changes to a font you've purcahsed / only account related".
We have the patterns for all this already established.
> My high school girlfriend and I played this game all the time; trying to build the pizzas to get the best score was always super frustrating. It always felt like I could be a single pixel off
Pizza Tycoon was one of those games we got years later for £5 in some repackaged "Classic Games" collection but it came without a booklet or anything.
Supposedly the booklet was the key to getting the pizzas right as it had all the instructions on which elements were needed & where. (I heard someone say they used this as an antipiracy thing as without the booklet, it'd be playable but impossible, not sure if that's true lol)
We used to just cargo cult our way to good pizzas.
That's true! In the original if you don't have at least 3 of the pizza recipes from the "cook book" that shipped with the game your restaurant popularity stat gets divided by 8, which makes it really difficult to make any profit :)
The thing about the anti-piracy is true, at least in the original version (I don't know about re-releases).
The way it worked was you had to offer at least a few pizzas that were reasonably close to recipes from the booklet in order to get any customers. Once you had that, you could get creative with custom recipes but if you only did custom recipes, you were bound to fail.
To be fair, I suspect real life is a bit like that too - there will be a big enough % of potential customers who want one of "the classics" for where you are (margherita etc in Italy, pepperoni etc in the UK, whatever) that basically every place that serves pizza will have the same first few options even if they get creative with the rest of the menu.
When I was a kid I manually made it through the cliffs of logic in KingsQuest VI by trial and error and taking notes for days, before I realized the answer was in the book. Almost did the same thing for translating hieroglyphics the Dagger of Amon Ra, but I remembered what happened before and went to check.
> Ensure that for contracts covered by the new rules, consumers have a14 day period after a trial or 12 month+ contract auto-renews to cancel and receive a full or proportionate refund.
This sounds great, but think a "gold standard" in good UX practice (whether or not needs to be law, up for debate) would be that you're not charged for your subscription until first use, either after the free trial end or renewal.
So if my Netflix membership tick over, when I go to watch a new episode then it tells me "your membership is expired; accessing now is accepting renewal at £x/year. Continue?"
> Charitable memberships: Certain memberships of charitable, cultural and heritage organisations will be excluded from the new rules given the unique role they have in preserving and opening up access to the nation’s history, landscapes, and cultural collections.
Hmm, in my opinion charities are the worst for bad practices here and shouldn't be given a carve out. They should be the last people who need it, too. If I was genuinely happy that my money is going to Cancer Research and they're spending it wisely, why would they be worried about it?
You would hope that you can set overall and per-integration billing caps on things rather than just "spend any money on my linked credit card" if it's meant for a "humanless" loop to be able to run stuff off.
It feels pretty clear that the chains in that example (filter/map) are meant for operating on collections. And that if you're searching for a single item then chaining isn't the way to go?
Personally, if I knew I wanted only a single item I wouldn't feel more "nudged" towards appending a [0] on the end of a long chain rather than doing a refactor to the find().
As to:
here the problem isn't that you've done method chaining, it's that you've named your functions with terse names that you're going to forget what they do later on e.g. a generic "normalise" vs a "toLowerCase()" or whatever.As apples-to-apples unchained equivalent isn't really any better
Is not more readable or understandablereply