culture loc

    I was picking here on the Internet in order to find myself a windows manager for X. xfce4, of course, a cool thing, but there is a couple of features that annoy me personally. No, well, it would be possible, like truehacker, to remove a couple of lines from the source and add 20 lines there, but something bad habit works: first go search among the ready-made solutions, then do it yourself. This is absolutely uncreative.

    You come to acquaintances and say: but, I want such a thing X, and they, so this cool thing X is made out by these or those, go, download, tune. It’s sad, because by doing so they kill the opportunity to develop. Who knows what we would come to if we ourselves tried to write such a thing X. And the view reigns around: inventing bicycles is a huge evil and non-consumerism. But here's what I propose to pay attention to anti-sepedepists


    Take Intel, for example. What does Intel do? Invents processors. Makes processors and does. She has such a goal: to make the best processors in the world. But processors are made by a bunch of companies AMD, IBM, Sony, Toshiba, Samsung. And what is it? Intel invents bicycles on an industrial scale. Only these bikes are called processors. A modern domestic programmer would ask them: why do they do this? After all, you can take a ready-made processor and do nothing. But in general, manufacturers of high-tech material goods are busy with the fact that they constantly tighten their nuts on bicycles. Well, someone invented an mp3 player there, Apple twisted nuts and made an iPod. And the iPod was cooler than the original player, but it was just a cosmetic change in essence.

    By the way, the same atmosphere prevails in the field of software production for a lot of money. All do similar software products that differ only in details. But this does not prevent the details from endowing these products with original and interesting properties, which then develop into something big and interesting. Well, take, for example, Eclipse, which at first was just another VisualAge with plugins.

    But when it comes to open source or internet (web 2.0), where any programs or systems publicly available, everything changes dramatically. Well, I do not like cpufreqd. I go out to the forum, I say: your cpufreqd is fat, hell knows how, besides convenient frequency control, let's write a new lightweight alternative. And many are willing? Zero All the answers are about this content: the fool himself, and your hands grow out of the anus, and in cpufreqd what you want is done using this configuration file with a size of 100 lines. But I also want this. And this is done with the help of this file in 200 lines. But I want this and this at the same time! No, what are you? You just want the wrong thing. Go throw your laptop in the trash and buy one that has passed linux compatibility tests.

    That is, people just do not want to try new things. It’s strange. With web services the same. Well, I want to upload the code to the web with the ability to track cross-references and all sorts of other stray ones. They tell me, so there is already. Go there, put it out there. And this is even without trying to think about how to do it, how to improve it, how to make it more efficient and convenient. That's what kills. Ready-made bikes are considered the best possible a priori. But, the main thesis: without inventing bicycles people deprive themselves of the opportunity to think of something really interesting, original and opening the way to new inventions. Let them even have a clumsy bike.

    The fear that we will do something new is completely unjustified. We do not live in the 19th century, when 10 people are busy with intellectual work, which everyone knows about. There are millions of people working in programming, and most of them are pretty cunning representatives of the form homo sapiens. Of course, much has already been invented in this world. But even strokes can be added to the katana that will make it deadlier, and this is also a decent job.

    Here. But people experience even greater fear of a completely new tool. Attempts to break through the fact that we need a new compiler derived from SI, but with some additional chips (well, okay, not additional, but significantly changing the semantics of the language) that will make life better, immediately come across a fierce one: WHY !? Why, when is there a C bike? Again, you begin to explain: here it will be easier to do this and this, as well as the opportunity to do so. What you get kicked for: if you are perverted, then this can also be done in C, and no one else will need it, because people don’t think so. It is as if everyone in this life loves to pervert and loves to think through the stump of a deck, and not in convenient terms.

    In short, to disrupt financing is such a hemorrhoids. But how else to develop? Well, I can’t come up with a whole new thing. It’s completely new, because you can’t come up with anything like that. Even a wiki - why not a mutated forum? And L4 is Mach's perverted vision?

    Vobschem something fear can be understood. People lack the imagination to present new opportunities. And perhaps this is very correct. Healthy skepticism is good. But the problem is that all the money and resources are in the hands of just skeptics. Our country is not a US venture. And how is it to break through with new ideas, about how to do the same but twice as good? How to prove that it will be twice as good, except for not having made this bike with inertia brakes?

    Not. I understand that business is the only way to prove the viability of a project. But I also want to eat something during work. Hyh. It turns out that creativity in our country, again, can only be a hobby. Until he became famous for his work. But is it possible to do something really serious in an acceptable time frame? Who knows.

    Okay. I went to the side. So here. I was looking for WM for X. And this is a very nice area of ​​software riveting from my point of view. Because no one here screams that: everything that you want is already done in GNOME, you just need to write this one here a few meters long (geometric) config. Everything turned out so that the creation of a new wm is kosher. And I came across such a thing - wmii. It is written by a couple of Plan9 fanatics.

    Plan9, by the way, is a separate song. Despite the dominance of classic Unixes, Robert and his team still struck the idea that it would be nice to come up with another one to tighten some nuts. And it turned out pretty well. So, do not be afraid of the invention of bicycles. If you want to write a new wiki - write, and do not listen to those who will say that everything has already been done, because no one knows what you want to do there until you do it. Until your mobile inner world is expressed in a mobile program, and not in a static picture that you are trying to describe in words, an application for financing, an article or a collection of algorithms. Life is not a set of formulas, but life itself in the flesh. I do not understand why so many do not understand this.

    Well, what am I talking about? About wmii. So ... Plan9 fans are fond of this thing called loc - lines of code. Less is better. On suckless.org, which is the home page for wmii, they are demonstratively proud that their functional diri is only 200 lines of code on rc, and wmii itself takes only 10,000 loc. This is what makes Plan9 even nicer \ I also become a fanatic :)? \ In a century when 100 kilobytes of php code in the archive is considered a small solution, the guys do a lot of everything in 200 lines. Of course, this is facilitated by the convenient service structure in Plan. But just striving to write everything as short as possible and as clear as possible to others is good. By the way, the sources of the Plan9 kernel are much easier to read than the sources of the same linux. I don’t know why. Maybe for the same reason what kernel was written for the same purpose of maximizing the functionality / loc ratio? And not just to make it work, as it was done in Linux according to my feelings.

    Hyh. And I wanted to write a short post that loc is good. But it turned out that about a sore subject - bicycles. But, concentrating heroically, I wrote about loc, and now everyone will know that this is very good :) If you can write wiki in 11 lines in python (WyPy), then python, quite possibly, is very good. Yet again. This WyPy is a bicycle in its purest form, because there were wikis before it, but it is a special wiki that highlights the minimal known set of constructs necessary for writing web applications, and, more importantly, teaches weak minds the strength and power of lambda. In short, for me, the invention of bicycles is the most worthy of occupation.

    And everyone who demands fundamental novelty needs to be poked in his work and say: oh, my friend, have you really used natural numbers in your article of 1812? So how could you use such an ancient tool in constructing your theory? Or so. Thoughtfully pinching himself at the beard, rolling his eyes and saying: how, how. Say you came up with a new representation for finite fields, which is written in the form of a multiplication table? But if we take the intersection of three linear spaces, four Lie groups and one sigma algebra, then we get the same thing - and nothing new is needed here.

    Hyh. Damn, I suffered again, okay, I’ll go and suffer over words \ hates writing articles \


    Also popular now: