Showing posts with label gui. Show all posts
Showing posts with label gui. Show all posts

02 November, 2017

Desktop-Linux + CLI?

"If there's one thing surrounding Linux usage that bothers me more than anything else, it's when the detractors say you cannot work with Linux without knowing the command line. This is a bit of FUD — fear, uncertainty, and doubt — that keeps new users from giving the open source platform a try. I'm here, right now, to dispel that myth."
Ubuntu Desktop
Linux Mint (MATE edition)

With personal experience, I can attest to this statement. The days when you HAD to deal with the Command Line even on desktop-Linux distros are past. Only server-distros demand this nowadays.


https://www.techrepublic.com/article/yes-you-can-use-linux-without-knowing-the-command-line/

08 June, 2015

"Unix is not an acceptable Unix"

This article really grinds my gears. The author tries to discount the use of command line interfaces by saying it is an obsolete interface-technology (mostly reserved for developers and advanced system administrators).

Pontificating that modern Unices (like Mac OS X and Linux) suffer at exactly the same areas of complexity because of their Unix-heritage. Well, I call bullshit...

  • Linux does not have a Unix-heritage, because it does not contain any UNIX®-code.
  • Computer complexity is really a catch-22 scenario; every time you modify something low-level, something may break on a lower level. Keeping this complexity usable at varying levels is a master-class balancing-act, and not to be taken lightly.
Yes, the Unix-philosophy states that every program should: do one job, and: do it well. And to some extent, Linux has done just that. BUT, since we're operating in a so-called "open-source community", where everyone has the right to shout out concerns, fixes and feature-improvements, the so-called "bloating" of CLI-programs are a direct result of this fundamental right to speech, re-use and community involvement. Which in itself is beneficial to everyone using the software.

The reason why lower-level programs use much the same functionality as was used in the original UNIX®, is because the programming language in question (C) has few alternative methods of performing low-level calls to the hardware, and thus is forced to do certain things in specific ways. Having these low-level functions available at any time for whichever program needs them is fundamental to a POSIX-system. And re-using these functions to build / extend programs is the way it's always been done

I can agree with his point about re-creating and duplicating core-functions in a program if the program already facilitates the components needed to do a specific task, it's unnecessary. But I can see the other side of this matter as well, from a developer-viewpoint. If you spent a lot of time (multiple iterations) developing and extending an already-implemented function, (just) to get specific results presented in a specific manner, wouldn't you want to include it in the program so you wouldn't have to re-implement it further down the line if ever needed again? And does it really affect normal users what kind of extra filters and/or flags a program accepts from the command-line? Not really...

Back in the day (70s and 80s), this was the only way of specifying arguments to programs in a sequential fashion, and to some extent still is. Hardware works on the principals of sequential data-flow and execution, and unless we do something drastic to the hardware-platform we are all using, this is the way it will continue to be used in low-level terms (C+asm) until we do.

Until we see newer and better ideas concerning the data-bus / CPU inter-connection, we will not be able to implement any innovative interface-functionality on a low level.

My point is this: CLI is not meant for normal users. It is not intended to simplify computing, rather, it was intended for developmental and operational purposes, created by the very same type of people who use it on a daily basis.

If you want ease-of-use and simplicity, use Apple or Microsoft, and supplement that usage by providing user-feedback to them for new features / functions and fixes. Don't just crap on the alternative(s) because "it doesn't conform to my unique idea of what user-friendliness is". Linux was never made to be user-friendly. Derivatives were made to suit that scenario, so use them, instead of slagging on about the lacking user-friendliness and simplicity of the OS itself.

To quote one of the best sayings I have ever read:
"Unix is very simple, it just needs a genious to understand it's simplicity" --Dennis M. Ritchie

22 May, 2014

NVIDIA stable/current

Woke up this morning, logged onto my workstation, realized nothing was behaving like it should.

Windows were tearing, whole screens were acting weird and I could not for the life of me surf the web with ANY browser I had installed. Which wouldn't be as irritating right then and there, if it wasn't for the fact that I needed to log into my online bank-account!

After an hour of aggravation, and another hour of testing with different graphics-drivers (NVIDIA stable/current), I found out my GPU (GeForce GT520) did not play well with the new experimental driver from NVIDIA.

sudo apt-get purge nvidia-current && \
sudo apt-get install nvidia-current

The above command resolved my issue by removing the bleeding-edge nvidia-driver and replacing it with a version-rollback (v319 instead of v331).

After a warm reboot everything worked perfectly! Spotify, Steam, Chromium and Thunderbird all started, worked and rendered like they should.

Dunno if I'll be re-installing the experimental driver any time soon. Time will show.

For now, the stable current-version does it's job.

Who knows, maybe the time is right to replace my NVIDIA GeForce card with a more recent AMD Radeon HD card? I'm quite sure I read somewhere that the Catalyst Linux driver had ironed out most of the major bugs (fullscreen HD crashes / screen tearing / etc.).

12 November, 2009

Windows 7 > proof-of-concept

Var bare et tidsspørsmål før noen laget proof-of-concept kode for sårbarheten i SMB2 (Server Message Block v2), eller enklere sagt: LAN fildelingen i Windows 7 og Windows Server 2008 R3.

Sårbarheten går ut på å lure noen som benytter Internet Explorer på disse to systemene til å klikke på en spesielt utformet link til en annen SMB-maskin på nettet, som lytter på SMB-porten og kjører et skreddersydd script som låser den besøkende maskinen.

Feilen har vært kjent en god stund, og det som uroer meg er at 'PoC'-en be laget før Microsoft har sluppet en fiks for sårbarheten. Dette er i grunnen ikke noe nytt, Microsoft venter som regel særdeles lenge med å fikse slike alvorlige feil før de får inn feilmeldinger om at feilen er benyttet av crackere i det fri.

Link:



Forundrer vel egentlig ingen som har fulgt med (eller utforsket i fortiden til Microsoft) på utviklingen hos Microsoft.

Mindre kjent er det kanskje at Windows' TCP/IP-stack (Internett-bibliotekene) er tatt direkte fra BSD Unix(!). Ja, faktisk er de fleste komponenter i Windows delvis basert på (eller direkte stjålet fra) andre prosjekter. Et annet eksempel på hvordan både Microsoft og Apple "låner" teknologi fra andre selskaper, var på 80-tallet da de "lånte" grafisk brukergrensesnitt (GUI) og mus-konseptet fra Xerox som var ledende på tekstbehandling og brukeropplevelser på den tiden.

Det at de "låner" det meste av koden de legger inn i Windows sier en del om hvorfor de bruker så lang tid på å luke ut bugs og sårbarheter i operativ systemet. Først og fremst fordi de ikke leier inn utviklerne av den originale tcp/ip-stacken i BSD, eller at de lar andre gå gjennom koden før den settes i praksis. De bare "låner", modifiserer og setter i produksjon.

I bunn og grunn kjører de på det faktum at de fremstiller teknologi på en slik måte mannen i gata forstår seg på, og gjør at han får lyst til å benytte det. Det er denne bruker- og PR-forståelsen som har gitt dem suksess år etter år etter år... Det er også denne sammensmeltingen av nisje-markeder og -teknologi for mannen i gata som har gitt dem et litt overskrytt renommé innen IT.

Dette IT-monopolet har diverse organer i den amerikanske regjering sett seg lei på, og det virker mer og mer som Microsoft holder på å løses opp, deles opp og regelrett bli tilsidesatt som hovedleverandør innen IT. Folk åpner øynene og ser hva som faktisk foregår bak jernteppet, og mange (inkludert personer med høyere makt) liker absolutt IKKE det de ser og hører.

De frie tøylene M$ alltid har hatt, er nok "på vei ut vinduet" :P hahaha