24 ms·
What is triald and why is it taking so much disk space?
- mschuster91 5y agoJesus I hate being A/B tested without my consent. Particularly, why is Apple of all places doing this, given their otherwise strong track record of standing up for their users in regard to tracking and other bullshit by major players?!
- math-dev 5y agoApple is no different - now they have more pressure to maintain their growth in bottom line, they are doing more and more of this stuff The App Store is a joke. All that said, it’s still currently way better than other big tech - but I am not blindly accepting their behaviour, for now its good enough for me but that can change in the future
- KarlKemp 5y agoYou’re associating A/B testing with the practice on the web, where it is often used close to users’ spending decisions. From what we can tell, This here is not a trial connected to revenue. It’s connected to Siri and other ML-frameworks, but not to, say, the Apple Store or Music applications.
- mschuster91 5y agoApple has been known to gradually implement new features, to first roll them out and refine for private usage and then once the feature is stable make it available as a public API. Mark my words in two or three years Apple will ban developers from using third party A/B testing frameworks and require them to use the Apple-provided solution based on triald.
- saagarjha 5y agoYou are seriously misunderstanding what triald does.
- KarlKemp 5y agoPeople have some well-founded respect for the procedures that medical trials have to go through, including informed consent. That’s spilling over/being misdirected to the use of the trial mechanism in other fields, even though it makes absolutely no sense. The alternative to A/B testing in UX design is not some more rigorous trial with fully-informed consent. Instead, it‘s the older and still predominant mechanism of “let’s just change it”. Consent in medical tests is important because it involves a ‘B’ that is a substance or procedure that has not (yet) been shown to be safe & effective. The trial is less restrictive than the alternative scenario, where it would be illegal to just treat you with ‘B’. None of that applies: both the A and B in A/B tests are software versions, for which there are zero legal requirements. Neither version will have an impact on your health or kill you, which cannot always be said for untested pharmaceuticals. A tailor is absolutely free to suggest dark navy to one customer and anthracite to the next, even if they flip a coin to decide and/or mentally take note of what customers like. The possible harm from A/B testing is the maximum of the harms of A and B. If you wouldn’t complain about either alternative, there is no legitimate reason to complain about the combined A/B harm.
- mschuster91 5y agoA/B tests suck if you are in the test group and suddenly, completely unannounced, a functionality you have been relying on stops working or gets changed and you are now stuck with the problem. > None of that applies: both the A and B in A/B tests are software versions, for which there are zero legal requirements. There should be, that is my point. All that A/B testing and the constant other changes even in minor patch versions only lead to update hesitancy in people, which in turn leads to security issues because people don't update their software because they don't want to be disrupted in their workflows. Not to mention that most A/B testing is essentially pseudoscience at best if not outright fraud that's being peddled by people wanting to sell A/B testing "solutions", or the implications on user privacy because of the mandatory phone-home. FWIW this is what made Microsoft so big in the corporate world: for decades you could expect that nothing major would change, you would not need to re-train your employees or buy new software. That changed with Windows XP (although it was easy to roll back at least the optical changes) and got exponentially worse with the utter crap that is Windows 11.
- 5y ago
- yborg 5y agoMaybe you should contain your outrage until it's based on something other than uninformed speculation.
- mschuster91 5y agoThe fact that Apple once again delivers bananaware ("ripens at the customer") to their users is outrage-worthy on its own, particularly if the software in question does not even provide any benefit to the user. Bad enough that Spotlight and TimeMachine have had issues for years (which, to Apple's "credit" have now been largely solved), but these at least provide useful functionality. Apple is a filthy rich company, they should be able to afford QA for their software or at least ask users prior to deploying unstable software. Users, particularly those who paid thousands of dollars for the hardware, are not guinea pigs.
- Ensorceled 5y agoI really think you should stop buying Apple products, you are clearly really upset about it.
- dangerface 5y ago> given their otherwise strong track record of standing up for their users Citation needed, Apple have an advertising identifier built into the os to help advertisers track you, they share analytics about how you use their os by default, they analyse the data you store with them in iCloud. I know Google, Microsoft, Amazon they all do these anti-user things thats not my point, my point is that Apple say they have a strong track record of standing up for their users and their users believe them regardless of their track record.
- bunchspoiler 5y agoWhile the Trial framework is capable of doing A/B testing (and historically started out for that purpose), it is fundamentally an asset delivery mechanism, and is mostly used for that (i.e. I suspect that most of the domains using Trial currently have no "B" to pair with their "A"). And some of the differentiation that IS being done is not A/B testing in the usual sense of the word. i.e. if one particular hardware model needs a different version of an asset, those models can be assigned to a separate set, but that does not really make it an A/B test.
- 1vuio0pswjnm7 5y ago"Note that all these are on the SSV, therefore can't be tampered with in any way." Who does this computer belong to, the author or Apple, Inc. Let me guess, Apple controls the SSV and decides what files it contains. Removing crapware becomes exceedingly difficult. Brilliant.
- deleted 5y ago[deleted]
- labster 5y ago
- bartvk 5y agoHoward Oakley is such a prolific writer on newly appearing macOS issues. Take for example this piece. It's collecting new information and trying form a picture, and that's how the community starts learning. Awesome content.
- kergonath 5y agoIndeed. He deservedly get to the homepage here regularly these days. His coverage of the M1s has been very useful.
- dannyw 5y agoRemember when operating systems didn't have multi-gigabyte binary blobs performing cryptic actions with an extremely chatty online connection?
- cabirum 5y agoNo, I don't remember a time when users were in control and actually owned Apple-made hard- and software. However, linux is alive and well, despite some flavours attempting to force autoupdating snap stores and the like onto users.
- okamiueru 5y agoPurging snap has so far been a 5 minute do-and-forget operation, all the way to 21.10.
- jeroenhd 5y agoSadly, Ubuntu is moving Firefox to snap in the upcoming 22.04 release. I think I'll be switching to either Manjaro or plain Arch before 21.10 becomes unsupported.
- kevin_thibedeau 5y agoYou can just manually install the official Firefox linux release. I've always done this since the Debian Iceweasel days and it works without issue.
- vetinari 5y agoThe distro-provided versions can be slightly different than the Mozilla build. For example, Fedora build is ruled by these principles: https://pagure.io/fesco/issue/1518 https://pagure.io/fesco/issue/1518, while the Mozilla build is not.
- 5y ago
- sdfjkl 5y agoOpen source is where you don't have to apply guesswork to find out what a suspicious looking piece of software is doing on your computer.
- AussieWog93 5y agoNope, instead you have to apply guesswork to figure out why an apt-get call accidentally uninstalled your desktop environment. :P
- oynqr 5y agoPretty sure there was no guesswork involved in finding out why that happened, since it was resolved so quickly.
- caslon 5y ago"One distribution using one package manager is bad when piloted by an incompetent YouTuber who ignores multiple warnings. Therefore, all of free software is bad."
- AussieWog93 5y agoIt's more than just Linus's experience with Pop OS. So many (consumer-focused) FOSS products have huge, obtuse quirks in them that prevent their widespread adoption, and uber-tech-literate people tend to overlook this because they really want to believe that FOSS can succeed. In reality, a lot of these quirks come about because of the non-commercial nature of the projects[1]. When a business produces software, the aim is to get as many people as possible to use it. This means a smooth (enough) user experience or death. For software written by volunteers, the aim is to (generally) satisfy the intellectual curiosity of the people writing it. This means huge issues for users, and QA in basically all forms, are overlooked in favour of working on cool/interesting things for developers. [1] Yes, I know commercial FOSS exists. I run a reasonably large commercial FOSS project myself. However, the overwhelming majority of FOSS projects out there are volunteer-led and run.
- L-four 5y agoThe drop cap at the start of the article, is capturing pointer-events. Adding pointer-events: none; will make people who read by selecting text with the mouse happy. .single .entry-content:before { pointer-events: none; }
- Cyykratahk 5y agoI suspect that the browser you are using is not spec-compliant. Pseudo-elements (like ::before and ::after) are not actually present in the DOM and are therefore not selectable. edit: I see that you are probably referring to the z-index of the ::before element overlapping the text, preventing selection.
- skygazer 5y agoI trust that Apple isn't doing anything nefarious here, but at the same time, I'm quite grateful that others aren't so trusting. I want the "white hat" suspicious and skeptical rooting through everything. In fact, I don't think I'd trust Apple so much if it weren't for those that don't trust them. Their constructive distrust enables my trust.
- smcn 5y agoWhat's the phrase? "Trust but verify"?
- fer 5y agoYes, the Russian proverb. It's even better in Russian: доверяй, но проверяй, doveryay no proveryay It's better because it displays both words are semantically related. In fact, "verify" is cognate with their root, vera/veryat', probably a common Indoeuropean root but I'm too lazy to verify (pun intended).
- bmn__ 5y agoYou spoke true. https://www.etymonline.com/word/%2awere-o- https://www.etymonline.com/word/%2awere-o-
- pstoll 5y agoInteresting - so more like “verity but verify”. Very cool.
- fer 5y ago"rest/be assured but ensure" is how I would keep the semantics wordplay, but obviously there's always something lost in translation.
- sneak 5y agoWhy do you trust that? Apple has specifically admitted to having a nefarious plan to scan your local files without consent and further use your computer (also without consent) to report on you to law enforcement. This may well be that implementation. The latest desktop and mobile OSes are quietly shipping code to enable this, despite the uproar that happened when Apple announced it. They let people believe they were stopping the project, but it nonetheless proceeds quietly. Apple is not trustworthy. https://en.m.wikipedia.org/wiki/MacOS_Monterey https://en.m.wikipedia.org/wiki/MacOS_Monterey (Edit for clarity: enable above is used in the "to support" sense. I do not know if such clientside scanning is enabled (in the activated sense) yet, only that Apple has explicitly stated at least twice that it will be. It appears imminent. Some or all of the code has already shipped and is on your machine(s).)
- oefrha 5y agoI just looked into ~/Library/Trial on my main machine (macOS 12.2.1). I got 380MB spread over 584 files (while TFA's author got 300k???). Most if not all of them are related to com.apple.siri.asr.dictation.en_US. Close to 100% of the space is taken up by .fst files, e.g. $ file /path/to/msg-bigG.squeezed_quantized_acceptor.fst /path/to/msg-bigG.squeezed_quantized_acceptor.fst: OpenFst binary FST data, fst type: squeezed_quantized_acceptor, arc type: standard, version: 3, num states: 1237632, num arcs: 7376910 Appears be data files for OpenFST[1], "a library for constructing, combining, optimizing, and searching weighted finite-state transducers". I don't do ML so I stopped there. [1] https://www.openfst.org/twiki/bin/view/FST/WebHome https://www.openfst.org/twiki/bin/view/FST/WebHome
- lathiat 5y agoI have a big directory here too (100s of thousands of files) however I am enrolled in the beta program. Perhaps the super large versions of the directory is only for the beta program but the non beta participates have the small version.
- kergonath 5y agoIt could also well be the daemon not cleaning up after itself properly in some obscure circumstances. These things happen way too often.
- BluSyn 5y agoI checked mine, and I see lots of mention of "Siri" (TEXT TO SPEECH, FIND MY, etc). Seems most likely this is A/B testing for ML models, such as those for Siri and Photos analysis? That's my best guess. Since Siri and Photos now processes more locally (especially on M1's dedicated ML cores), all the training improvements and testing probably happen locally as well. It makes sense it would regularly download updates for ML models. I'm more curious about what data gets uploaded back to Apple...
- londons_explore 5y agoI think apple is pretty invested in distributed ML training. Ie. your PC will go through your photo gallery/siri audio data, and use the labels and stuff to fine-tune an apple-provided ML model. The fine-tunings are then re-uploaded to apple, added up, and distributed to other users in the next update. The privacy implications of this are dubious. There is as-yet no good research showing how these finetuned models can be used to reveal exactly what photos you have in your photo library, but many experts believe that won't be the case for long.
- pilif 5y agoI looked at one of the files: `~/Library/Trial/Treatments/SIRI_DIALOG_ASSETS/factorPacks/6242008c0f185b3e2ef6bf8e/assets/com.apple.siri.dialog.socialconversationfl#d5b431b/dialog/SocialConversation.catfamily/dalWhoIsYourValentine.cat/en.cat.bin` the file is gzip compressed and the decompressed data reveals some strings that are probably related to the question asked in the `cat` file: tag:valentine";Only localize if Valentine's Day is relevant to your localeJ2�SS[If I could have a Valentine, it would be all 7.5 billion people on Earth. That is<sub alias=",">…</sub> a lot of heart-shaped lollipops.]:�SS[If I could have a Valentine, it would be all 7.5 billion people on Earth. That is<sub alias=",">…</sub> a lot of heart-shaped lollipops.] So this isn't just about a/b testing but also about feeding current data into Siri to allow some local processing of timely events. Do note though, that I have Siri disabled on my Mac, so this is of questionable value
- dan1234 5y agoI've also disabled Siri and my ~/Library/Trial directory is only 3.6M (with no SIRI_DIALOG_ASSETS dir - so no valentines for me). Maybe you should check that Siri is still disabled on your Mac?
- klohto 5y agoInteresting, I have it off but still have the folder. Did you do any "extra" steps to disable Siri?
- ratww 5y agoMy guess is the data was put there before disabling, and disabling doesn't automatically remove the data.
- nonameiguess 5y agoSame for me. Siri is disabled and there is nothing in these folders.
- cjbconnor 5y agoI've had Siri disabled the entire time I've owned my mac (just checked, still disabled), and my ~/Library/Trial dir is 180M, 136530 files.
- Cockbrand 5y agoI was never aware of this, and while poking around I came across ~/Library/Trial/Treatments/<NUMBER>/factorPacks/<OTHER_NUMBER>/assets/com.apple.siri.asr.dictation.*/etiquette.json These files do contain an impressive amount of swear words, some of which I had never heard.
- petercooper 5y agoThe en_GB one on my machine includes words like smeg, squits, and argie – all of which are mild yet anachronistic terms at worst. And, curiously, "poe" – I know Apple doesn't like power over Ethernet, but really..
- dx034 5y agoOnly in one language or in all languages supported by Siri? Would be great when learning a new language :) But probably needed for Siri to process speech locally, as they'd likely want to filter out those words.
- saagarjha 5y agoAh, so the article mentions “A/B testing” but doesn’t realize that Apple has actually been rolling out IAP trials for macOS features. Subscriptions baked right into the OS, with feature flags to make sure they are extracting maximum profit. Eddy Cue is personally overseeing this because services revenue is so critical to Apple that they’re willing to hurt the user experience to get some money out of this. Ok, seriously, y’all need to tone it down with the speculation. Spotting the word “trial” and immediately jumping to the worst conclusion is dumb and how misinformation spreads. As some commenters have mentioned below, triald manages CloudKit asset packs for Siri to allow it to change its local behavior independent of an OS update. That’s all it is. I don’t really have a problem with “oh let’s poke into this thing on my computer and figure out what it does” but I am kind of sick of just looking at log entries and coming to a misleading conclusion without really understanding what’s going on behind the hood. Yeah, it uses space on your disk and Apple could describe what it is better, but it’s not secret spyware or a plot to fill up your disk for no reason. (Fun fact: a lot of the assets in the ~/Library/Trial directory are transparently compressed at the filesystem level using a new “LZBITMAP” compressor type in macOS Monterey. Without this it would take more space, so they are definitely aware of the disk usage at Apple.)
- tpush 5y agoCollective ignorance generating conspiracy theories & outrage sadly happens way too often on HN. It's like tilting at windmills trying to change that.
- deleted 5y ago[deleted]
- pram 5y ago"Trial" will gather and store the voice samples if you have "Improve Siri & Dictation" turned on in the Privacy settings. This showed up in Big Sur and is probably the exact same thing from iOS. If you have Siri and that disabled the folder should be pretty small.
- lizardactivist 5y agoI keep wondering if my Macbook is really mine, or if it's theirs.
- koprulusector 5y ago>Over the last year or so Mac users have run into problems that appear related to a background service named triald. Some report it stealing huge amounts of CPU, others associate it with various glitches, and a few have noticed gigabytes of disk space apparently being taken up by its folder at ~/Library/Trial, and in their Time Machine backups. This article explains as much as I know about this mysterious new service, and ponders what’s going on. - I find it so odd, Apple users fascination of their own operating system, this sort of voyeur or wildlife documentarian attitude. It’s your machine, but the inner workings are this ineffable mystery. >I’m not aware of any control over or opt-out from Trial, although it could be covered in Apple’s general request to share data including panic logs, if you can remember where to control that. >I first noticed Trial when studying Visual Look Up in the log. At the start of each Look Up, the subsystem com.apple.trial enters the following into the log: >Initializing TRIClient. Trial version: TrialXP-292.18 >_PASEntitlement: Entitlement "com.apple.private.security.storage.triald" is not present. >Found entitlement: "com.apple.trial.client" --> <private> ><private> 0x12d9547e0 (no container): using Trial root dir <private> >This suggests that Trial is recording information about Visual Look Up, although nothing more explicit appears in subsequent log entries. - Apple can double speak all they want about digital privacy, but their actions tell the truth. As a paying Apple customer, you’re not deemed worthy enough to even understand how your own machines work, less even to “tamper” with their working, and who knows what data is actually being shared? - Personally, I say no thank you. I’ve been on Debian or a variant for almost 10 years now, and haven’t looked back. It’s only gotten easier, as software generally moves more and more to SaaS web apps and the intrinsic cross-platform nature of the browser.
- sjg007 5y agoHow's the battery life on linux laptops these days?
- vaidhy 5y agoNot OP, but my laptop lives long enough for me to get to a plug point if needed. I have power at work and home and I have suspend turned on when I close the lid. I can live with a few seconds of wake up time, when I have no accessible power for long periods of time. It is really not that complicated.
- madprgmr 5y agoIt sounds somewhat like testing/trialing experimental ML models
- Animats 5y agoThat should be reported to US Homeland Security. It needs to be examined for backdoor vulnerability. Now that the Western world is semi at war with Russia, you can't ignore this sort of thing any more. Right now, anything that can affect running systems from the outside has to be viewed as an attack vector. It would be a good idea for anyone running anything critical or semi-critical to turn off all remote updates for a few months.
- jannikarndt 5y agoUuhhh these contain the "custom" Siri responses. For example look at ~/Library/Trial/v6/AssetStore/assets/82/623873afd8fba430d4f4a45e/content/dialog/SocialConversation.catfamily/dalAprilFoolsSiri.cat _params.cat.bin has the description: category: Social description: For when users say 'April fools' to Siri without any other words. listenafterspeaking: false readyforloc: true subcategory: Daily Rituals and `en.cat.bin` and all the localisations (en-za.cat.bin, en-sg.cat.bin, …) contain some logic when to run and the answers, such as It's April 2nd. April Fools! <break time="300ms"/> If you want to play some tricks of your own, say, 'Tell me an April Fools prank.'