|
pondering the mysteries of Christmas .
|
|
|
|
|
I do volunteer (a.k.a. amateur) run theatre. I'm on the lighting and general tech team.
|
|
|
|
|
And I didn't even know sheep could knit!
I'll get my non-sheep fabricated coat.
|
|
|
|
|
Would an intelligent knitter be called a Knit Wit?
I'll get my coat and join you.
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Sander Rossel wrote: I didn't even know sheep could knit! Oh, wow. I didn't know that either.
Did you know it takes 16 gallons of water to produce just one avocado?
|
|
|
|
|
I didn't know water could have avocado babies.
|
|
|
|
|
I will pass this on to my daughter (journeywoman knitter) and my son-in-law's mother (adept-level knitter).
...or is it knittist?
Software Zen: delete this;
|
|
|
|
|
You SOTW were better
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
modified 16-Dec-23 15:42pm.
|
|
|
|
|
Boy, you're full of em of late.
|
|
|
|
|
You silly boy Sander
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Last night I had dinner with some friends downtown. The wine was excellent and, after a few glasses, I decided to do what I haven't done before: I took a bus home. This morning I woke up and cannot remember where I took the bus from. It's still parked on the driveway.
I'll go take my coat and try to find where to return that bus.
Mircea
|
|
|
|
|
Keep an eye out for Sander and Mike.
|
|
|
|
|
Mircea Neacsu wrote: Last night I had dinner with some friends downtown. The wine was excellent and, after a few glasses, I decided to do what I haven't done before: I took a bus home. This morning I woke up and cannot remember where I took the bus from. It's still parked on the driveway. This is what Mircea Neacsu looked like last night.
Wolf of Wall Street - Driving Home Scene
|
|
|
|
|
I'm not often driven to fits of rage over tech, but the last time I used an Apple was one of them.
I'd like the OS designers over there to give me a good reason why they have their filesystem divided into "forks" and application files are distributed across different "forks" so you cannot find all the application files in one place.
The fact that Apple would fork their filesystem such that every application has additional files on a different "resource" fork has got to be grounds for a severe beating at least.
What is the possible upside of doing it this way?
I want to be a fly on the wall in their design meetings. I bet they spend more time talking about what color of brushed aluminum their products should be than they do about stuff like the above.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: I want to be a fly on the wall in their design meetings. Head of development: "Right, what else can we do so our users are well and truly forked?".
|
|
|
|
|
Yeah, it's really forked.
Sorry I didn't read Richards post before posting!
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
NTFS also has forks; it is called Alternate Data Streams.
I never used apple forks, but suspect that there would be dozens of detail differences between them and NTFS. The main idea is the same, though: Provide a mechanism for keeping different kinds of data, relating to the same object/project/whatever separate but together. Like metadata and primary data. Movie and subtitles. Executable and debug information. ...
There are a few common uses of ADS in NTFS. E.g. when you receive a file across the net, and ADS provides some information about its origin. Most people do not know, and do not care. If you copy the file to a FAT file system (e.g. 99.9% of all memory sticks), you loose that information anyway.
Apple promoted its forks a lot. Microsoft not so; essentially they went for other alternatives (such as container file formats). I suspect that the main reason why they implemented it in NTFS was to kill the pro-Apple argument "They provide forks in the file system".
If you want to look for forks in your NTFS file system, Sysinternals streams[^] is a useful tool to start with.
|
|
|
|
|
I'm aware of those in NTFS. The difference appears to be if for example, you copy your application from such a filesystem, to say fat32 and then use it from there, it won't break the app, because that information isn't critical to the app actually being functional. With apple? It seems like apps are all written to use that nonsense and won't work without it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Well, "nonsense"? It is a different way of organizing data. In a *nix environment, you'd rather be using two dozen tiny little files, sometimes spread all over the place. In my study days, it was claimed that in a typical Unix installation (this was pre-Linux), 80% of the files were smaller than 5K bytes, hence would fit in the 10 disk blocks (of 512 bytes each) directly referenced in the I-node, without needing an index page. (A great argument for why Unix should be chosen over the competitors!) I guess the average file size is somewhat higher today, but still *nix systems tend to have a huge number of small files that must all be present for an application to run, or say, for a build to succeed.
One alternative is to use some container file format. A forked file is a super-simple container file! The problem (or advantage, seen from another point of view) is that most recent (that includes all formats developed this millennium, but not limited to that) container formats are so complex that it takes a good chunk of code to decode. If you do that, you presumably know what you are doing.
If you really need to access the structures in an NTFS ADS "container" file, and you know how to access ADS, writing a tiny program to split the different streams into a directory with one "simple" file per stream. I would assume that it would be equally simple with a Mac forked file. If you don't care about the information in those other streams/forks, just ignore those files. You could have ignored the streams/forks in the original file as well! If you do care, but will not (/can not) use the original file system the simplest way is to unpack it to a directory.
Almost all memory sticks are FAT. What happens when a Mac copies a forked file to a FAT memory stick? Does it loose information? Or does it include a wrapper that makes the set of forks appear as one single file? Or does it create a directory?
|
|
|
|
|
Thanks for that short treatise on Unix file organization.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
trønderen wrote: Sysinternals streams[^] is a useful tool to start with. Indeed it is. Part of my nightly backup process on our build service is using streams to clean up build assets not under source control. I also delete all of those nasty little .DS_Store folders left behind by Mac's.
We have a couple people who insist on using Mac's and/or Linux to create data, even though we are a Microsoft house and build products exclusively for Windows.
Software Zen: delete this;
|
|
|
|
|
Yep. I tried using Alternate Data Streams to hide some copyright info, but source control (SVN at the time, and SourceSafe) wouldn’t pick it up.
I read that malware was oftentimes stored in there.
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|
|
Also, this is close relative of 'Security through obscurity'.
Anyone who is aware of your copyright notice mechanism can remove it by copying your file to a memory stick and back. So why would your copyright notice have any value at all, if it might very easily disappear, and you can't tell people about its existence because that would make it trivial to remove it?
So I think you were right dropping this alternative. Yet I think a source control system should be able to handle all sorts of files, including those with ADS, holes, file names with spaces and extended character sets, or whatever. To phrase it differently: Anything with roots in *nix is likely to give you problems for at least the first ten years after it was "ported" (or "tried ported" might be a more appropriate term) to a Windows environment.
|
|
|
|
|
Well, all that is true.
For context, I had read about Alternate Streams and was just fooling around with them a little to see whether it’d be any use to me. And this was 15+ years ago. Putting some kind of marker in a generated report, compiled dll, or exe to prove its origin was my first thought (no marker = not valid).
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|