არ დაარღვიოთ მომხმარებლის სივრცე!

By Bitcoin ჟურნალი - 3 თვის წინ - კითხვის დრო: 5 წუთი

არ დაარღვიოთ მომხმარებლის სივრცე!

“Mauro, SHUT THE FUCK UP!It's a bug alright - in the kernel. How long have you been a maintainer? And you *still* haven't learnt the first rule of kernel maintenance?If a change results in user programs breaking, it's a bug in the kernel. We never EVER blame the user programs. How hard can this be to Understand?” -Linus Torvalds

არ დაარღვიოთ მომხმარებლის სივრცე. ეს არის ლინუს ტორვალდის ოქროს წესი Linux-ის ბირთვის განვითარებისთვის. მათთვის, ვინც ამას კითხულობს და არ იცნობს Linux-ის, ან ზოგადად ოპერაციული სისტემების ბუნებას, ბირთვი არის ოპერაციული სისტემის გული და სული. ბირთვი არის ის, რაც რეალურად მართავს აპარატურას, მოძრაობს ბიტებს შორის მეხსიერებასა და RAM-ს შორის, RAM-სა და CPU-ს შორის ნივთების გაანგარიშებისას და ფაქტობრივი კომპიუტერის ყველა პატარა მოწყობილობასა და ნაწილს, რომელიც უნდა იყოს კონტროლირებადი აპარატურის დონეზე.

ოპერაციული სისტემისთვის დაწერილი ყველა აპლიკაცია ან პროგრამა უნდა ურთიერთობდეს ბირთვთან. როდესაც თქვენ ჩამოტვირთავთ Photoshop-ს ან Telegram-ს, ყველაფერი, რასაც პროგრამა აკეთებს, მთავრდება ბირთვის გამოძახებამდე. "ჰეი ბირთვი, აიღე ის, რაც ახლახან აკრიფე, დაამუშავე და გააგზავნე ქსელის კავშირი სერვერზე." "ჰეი ბირთვი, აიღეთ ფერი ცვლა, რომელიც მე გავაკეთე ამ მოედანზე, ამოიღეთ ოპერატიული მეხსიერებიდან და გაუგზავნეთ CPU-ს, რომ შეცვალონ, შემდეგ დააბრუნეთ RAM-ში."

When the kernel is changed, in a somewhat similar fashion to Bitcoin, the chief goal of developers is to ensure that existing applications that assume a specific way to interact with the kernel do not break because of a change to the kernel. Sounds very familiar to Bitcoin and the necessity to maintain backwards compatibility for network consensus upgrades doesn’t it?

“Seriously. How hard is this rule to understand? We particularly don't break user space with TOTAL CRAP. I'm angry, because your whole email was so _horribly_ wrong, and the patch that broke things was so obviously crap. The whole patch is incredibly broken shit. It adds an insane error code (ENOENT), and then because it's so insane, it adds a few places to fix it up ("ret == -ENOENT ? -EINVAL : ret").

The fact that you then try to make *excuses* for breaking user space, and blaming some external program that *used* to work, is just shameful. It's not how we work.Fix your f*cking "compliance tool", because it is obviously broken. And fix your approach to kernel programming.” -Linus Torvalds

Linux არის ერთ-ერთი ყველაზე მნიშვნელოვანი, თუ არა ყველაზე მნიშვნელოვანი, ღია კოდის პროექტი მთელ მსოფლიოში. Android მუშაობს Linux-ზე, ნახევარი backend ინფრასტრუქტურა (თუ არა ბევრად მეტი) მუშაობს Linux-ზე. ჩაშენებული სისტემები, რომლებიც აკონტროლებენ ყველა სახის კომპიუტერიზებულ ნივთს თქვენი ცხოვრების ფონზე, თქვენ არც კი განიხილავდით Linux-ზე გაშვებას. სამყარო ფაქტიურად მუშაობს Linux-ზე. შესაძლოა, მას არ დაეუფლა დესკტოპს, როგორც ბევრი აუტისტი Linux მომხმარებელი სურდა მომხდარიყო, მაგრამ ჩუმად შეჭამა თითქმის ყველაფერი ფონზე, არავის შეუმჩნევლად.

All of these applications and programs people use in the course of their daily lives depend on the assumption that Linux kernel developers will not break backwards compatibility in new versions of the kernel to allow their applications to continue functioning. Otherwise, anything running applications must continue using older versions of the kernel or take on the burden of altering their applications to interact with a breaking change in the kernel.

Bitcoin’s most likely path to success is a very similar road, simply becoming a platform that financial applications and tools are built on top of in such a way that most people using them won’t even realize or consider that “Bitcoin ate the world.” In a similar vein to Linux, that golden rule of “Don’t break userspace” applies tenfold. The problem is the nature of Bitcoin as a distributed consensus system, rather than a single local kernel running on one person’s machine, wildly changes what “breaking userspace” means.

It’s not just developers that can break userspace, users themselves can break userspace. The entire last year of Ordinals, Inscriptions, and BRC-20 tokens should definitively demonstrate that. This offers a very serious quandary when looking at the mantra of “Don’t break userspace” from the point of view of developers. As much as many Bitcoiners in this space do not like Ordinals, and are upset that their own use cases are being disrupted by the network traffic Ordinals users are creating, ორივე ჯგუფი მომხმარებელია.

So how do developers confront this problem? One group of users is breaking userspace for another group of users. To enact a change that prevents the use of Ordinals or Inscriptions explicitly violates the mandates of don’t break userspace. I’m sure people want to say “Taproot broke userspace!” in response to this dilemma, but it did not. Taproot activation, and the allowance for witness data to be as large as the entire blocksize, did not break any pre-existing applications or uses built on top of Bitcoin. All it did was open the door for new applications and use cases.

რა ვქნათ აქ? იმისათვის, რომ სცადოთ და გაფილტროთ ან დაარღვიოთ კონსენსუსის ცვლილებებით, ადამიანები, რომლებიც აკეთებენ წარწერებს ან ვაჭრობენ ორდინალებს, ძირეულად არღვევენ მაქსიმას „ნუ არღვევთ მომხმარებლის სივრცეს“. არაფრის გაკეთება საშუალებას აძლევს მომხმარებლებს ერთ კლასს დაარღვიოს მომხმარებელთა სხვა კლასის მომხმარებლის სივრცე. ამ პრობლემის ფუნდამენტურად გადაწყვეტა არ არსებობს, გარდა ოქროს წესის დარღვევისა, ან იმ ფუნქციის განხორციელების, რომელიც საშუალებას აძლევს მომხმარებელთა კლასს, რომელთა მომხმარებელთა სივრცე ახლა გატეხილია, მოერგოს ქსელის ახალ რეალობას და შეინარჩუნოს მათი აპლიკაციებისა და გამოყენების ეფექტური ვერსია. შემთხვევები.

Not breaking the userspace of Bitcoin is of critical importance for its continued success and functionality, but it is not as simple as “don’t change anything.” Dynamic changes in user behavior, that require no change to the actual protocol itself, can have the same effect at the end of the day as a breaking change to the protocol. Are developers supposed to pick and choose which applications’ userspace is broken to maintain that of another application? I would say no, and go further to say that anyone advocating for such behavior from developers is demanding them to act irresponsibly and in a way that harms users of the system. So what is the answer here?

There is no answer except to push forward and continue adding improvements to the protocol that allow applications being broken by the behavior of certain users to function in the presence of emergent changes in users’ behavior. Otherwise, you are asking developers to throw out the golden rule and effectively play kingmakers in regards to what use cases are viable to build on top of Bitcoin.

თუ ამ გზას მივყვებით, მაშინ რას ვაკეთებთ რეალურად აქ? მე ვერ გეტყვით, რას ვაკეთებთ ამ ეტაპზე, მაგრამ შემიძლია გითხრათ, რომ ეს აღარ არის განაწილებული და ნეიტრალური სისტემის აშენება.

ორიგინალური წყარო: Bitcoin ჟურნალი