LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   2 questions: gconf-editor vs. regedt32/regedit; IO subsystems (https://www.linuxquestions.org/questions/linux-newbie-8/2-questions-gconf-editor-vs-regedt32-regedit%3B-io-subsystems-916640/)

oneti meuse 12-01-2011 05:35 PM

2 questions: gconf-editor vs. regedt32/regedit; IO subsystems
 
Hello,

I was just curious to know what you think. By the process of coupling could one program the processor head to recognize i's and o's or 1's and 0's (whichever you prefer) as 1-4 or a,b,c, & d? This could reduce world energy consumption and greenhouse emissions. As a human, I see there are four different combinations of i and o, which are ii, io, oi, and oo, that is granted you don't get technical and say order didn't matter and two are the same. But say I programmed my processor reads to read doubles. That would reduce the work it did, would it not?


Also,

I was wondering what is the difference between windows registry editor (reg.exe/regedit.exe/regedt32.exe) and linux configuration editor(gconf-editor)? Is the language different? In windows registry editor I find binary, string, dword, multi-string, and in linux configuration editor I see integer, string, float, list, boolean. Boolean would be binary as one or zero, true or false?

I have a windows partition, but it was a "build" of my own. I used an upgrade disk to format and partition and install, then when it did not validate because it was an upgrade to windows 7 (not installed on win Xp or vista) I "upgraded" from within the install from the upgrade disk, so it is a fresh install upgrade with the same disk upgrading to make it "valid", which cost me ten dollars to do through the student policy at the University. I wanted to open task manager or mmc.exe or sysconfig.exe but was unable to use those, I was able to open the registry editor used for windows within wine. These are the deeper sort of applications I would liek to see compatible,I have wise registry and disk cleaners and optimizers, which i am not sure is relevant to a wine install on linux, because the spacing onthe disk is spread differently, but those work, I also had notepad++ installed and working. I do not know where to start to learn to program or what to program atthat. I wrote invisual basic or basic before, Iused it for mathematical ops tasks with spreadsheets, automated work, and dialog boxes or entry boxes to perform work. What is wine but the link to freedom? I wrote an email to wine on those...


I also was wondering what language to learn or what to understand to begin programming. I can program pretty well in basic or visual basic.

Thank you sincerely.

neonsignal 12-01-2011 08:33 PM

Processors already operate on collections of single bits, even on 32 or 64 of them at a time, not just a couple. Whether you interpret that collection as an array of '0's and '1's, or as a number, or even as a symbol, is just a semantic issue. It doesn't particularly save power to operate on more than one bit at a time, since the power usage is a function of the number of transitions. What does save power is to switch less often (which is why laptops throttle the speed when under low load, so as to reduce battery use).

The regedit and gconf-editor configuration tools perform essentially the same function; to store configuration data for applications (though on Linux, the configuration of the system is not quite as centralized as on Windows, and the configuration files are a little more transparent). The different types 'binary', 'string', 'float' and so on are just different ways of understanding the meaning of the stored data; underneath, everything is binary. For example a 'dword' is a collection of 32 bits, usually viewed as a single hexadecimal number.

If these low level aspects interest you, then you might find it helpful to learn a little bit of assembly language, perhaps on a simple architecture such as a PIC processor (you can buy kits for these).

oneti meuse 12-02-2011 02:20 AM

I did find it interesting. Maybe I was misunderstood... I don't know a lot about it but a bit (binary digit) is 1 or 0, and a dword is 32 ones or zeros and a qword is 2 dwords so 64 bits. So it I just assume we are going to be writing ever expanding code, couldn't I write in a,b,c,d for exampleor 1,0,-,/ and condense the code so when the processor reads a it performs io always, or b it perform ii always, or c it performs oi, and d would perform oo. It's a little theoretical, but in the essence of thought one could modify how the binary is written and read in such a way and essentially turn a 64 bit line length into 128 bits, if the processor "head" knew to do in such a way. I think the processor cache is the most underused piece of the computer.

Please help

ROOT~$ sudo mcs '/home/computer/Desktop/Desktop Folder/FILE.cs' -out:FILE.exe -pkg:gtk-sharp -pkg:gconf-sharp
Package gtk-sharp was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp' found
error CS8027: Error running pkg-config. Check the above output.

ROOT~$ echo $PKG_CONFIG_PATH

ROOT~$ echo PKG_CONFIG_PATH
PKG_CONFIG_PATH

ROOT~$ which pkg-config
/usr/bin/pkg-config

ROOT~$ which mono
/usr/bin/mono

ROOT~$ locate gtk-sharp
/usr/lib/cli/gtk-sharp-2.0
/usr/lib/cli/gtk-sharp-2.0/gtk-sharp.dll
/usr/lib/cli/gtk-sharp-2.0/gtk-sharp.dll.config
/usr/lib/cli/gtk-sharp-2.0/libgtksharpglue-2.so
/usr/lib/f-spot/gtk-sharp-beans.dll
/usr/lib/f-spot/gtk-sharp-beans.dll.config
/usr/lib/mono/gac/gtk-sharp
/usr/lib/mono/gac/policy.2.10.gtk-sharp
/usr/lib/mono/gac/policy.2.4.gtk-sharp
/usr/lib/mono/gac/policy.2.6.gtk-sharp
/usr/lib/mono/gac/policy.2.8.gtk-sharp
/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f
/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll.config
/usr/lib/mono/gac/policy.2.10.gtk-sharp/0.0.0.0__35e10195dab3c99f
/usr/lib/mono/gac/policy.2.10.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.10.gtk-sharp.config
/usr/lib/mono/gac/policy.2.10.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.10.gtk-sharp.dll
/usr/lib/mono/gac/policy.2.4.gtk-sharp/0.0.0.0__35e10195dab3c99f
/usr/lib/mono/gac/policy.2.4.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.4.gtk-sharp.config
/usr/lib/mono/gac/policy.2.4.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.4.gtk-sharp.dll
/usr/lib/mono/gac/policy.2.6.gtk-sharp/0.0.0.0__35e10195dab3c99f
/usr/lib/mono/gac/policy.2.6.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.6.gtk-sharp.config
/usr/lib/mono/gac/policy.2.6.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.6.gtk-sharp.dll
/usr/lib/mono/gac/policy.2.8.gtk-sharp/0.0.0.0__35e10195dab3c99f
/usr/lib/mono/gac/policy.2.8.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.8.gtk-sharp.config
/usr/lib/mono/gac/policy.2.8.gtk-sharp/0.0.0.0__35e10195dab3c99f/policy.2.8.gtk-sharp.dll
/usr/share/cli-common/packages.d/policy.2.10.gtk-sharp.installcligac
/usr/share/cli-common/packages.d/policy.2.10.gtk-sharp.mono
/usr/share/cli-common/packages.d/policy.2.4.gtk-sharp.installcligac
/usr/share/cli-common/packages.d/policy.2.4.gtk-sharp.mono
/usr/share/cli-common/packages.d/policy.2.6.gtk-sharp.installcligac
/usr/share/cli-common/packages.d/policy.2.6.gtk-sharp.mono
/usr/share/cli-common/packages.d/policy.2.8.gtk-sharp.installcligac
/usr/share/cli-common/packages.d/policy.2.8.gtk-sharp.mono
/usr/share/cli-common/policies.d/010-2.10.gtk-sharp
/usr/share/cli-common/policies.d/010-2.4.gtk-sharp
/usr/share/cli-common/policies.d/010-2.6.gtk-sharp
/usr/share/cli-common/policies.d/010-2.8.gtk-sharp
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.10.gtk-sharp.config
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.10.gtk-sharp.dll
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.4.gtk-sharp.config
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.4.gtk-sharp.dll
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.6.gtk-sharp.config
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.6.gtk-sharp.dll
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.8.gtk-sharp.config
/usr/share/cli-common/policies.d/libgtk2.0-cil/policy.2.8.gtk-sharp.dll


I've been looking around trying to decide what to do with my computer and I see no other option but to learn to program the various levels.

Thanks in advance.

oneti meuse 12-02-2011 02:49 AM

Essentially you could have two layers of that type of code, given 8 bits just for example: 10101010 = "aaaa" or you could factor off a 1 and say it is "1bbb0". There would be switch rules too...like an "ab"=1001 could have a virtual "c" for appending or making like a trio connection (1c1). I was thinking about how there are two elements one and zero, there are only four combinations of those two. I don't know what any of it means, i just started thinking about it and it makes sense to try it, but I don't know how to...

ad612126157 10-21-2018 04:50 AM

DNA encodes in this language. AT , TA, GC, CG. https://www.decodedscience.org/compa...ary-code/55476


All times are GMT -5. The time now is 05:24 AM.