Showing posts with label regex. Show all posts
Showing posts with label regex. Show all posts

Kodos has invaded

I was doing some REGEX and wanted to test something and behold kregexpeditor is not included in KDE4. So I looked for an alternative. "sudo apt-cache search regex | grep 'various stuff'". I found kodos as a python thing and I like it better than kregexpeditor, Many of the KDE4 things are new and as such require a learning curve. It is worth it though. I like kodos and a new perspective always helps me. It has many new features and if you want to learn REGEX from scratch even, this is a good tool, IMHO.

As far as those who catch on to gravity, the gravity guild has an open invitation and there is no leadership to the guild. It is simply a collection and many tools are already available to those who can understand how to use them. Just like life, what you do with your fingers is your business and if you feel that sticking your finger in somebody's eye is the intelligent thing to do then that is what you will probably do. Knowledge does not come with DRM, as much as some of those who sell it, would like you to believe.


The package kregexpeditor is "gettable" and seems to work fine. Python package kodos has not been modified in years, but seems quite adequate and I have the Python source and can make whatever changes I like if something needs to be added, but most of this is a learning experience anyway. It has net interface built in and can be modified for lots of fun things.


This editor is much more intuitive, I think, and it is more obvious what is taking place and I am still trying to make it goof up, but haven't found a hole yet.


I use gimp a lot along with blender, ImageMagick, and InkScape. I can modify the Python and scheme scripts or mess with the XML and change the filters to do different things. I was trying to figure out how to create a specific effect today and to my surprise, I can combine various commands and do something you can't do in other softwares AFAIK. It is the flexibility to do almost anything that I appreciate. The ability to add scripts and extend the capabilities is priceless. And sharing them is easy.

GIMP: Here is an easy one I discovered today. I select using the color tool and get little spots outside the area I want and I could erase the selection, but you can also decrease selection by 1 or 2 and the increase selection by the same amount and all the little speckle selects go away.

The new methods of selection add, intersect and exclude are also very helpful.

Tomorrow was almost Today

I watch a lot of blogs and sites and I have tools to do searching and analysis to separate the wheat from the chaff long before I look at it and today I saw somebody almost stepped on the secret of gravity and it IS coming and when it does, ceiling cat help us, because it is going to be an E ticket ride. I'm using beta Wikipedia and I hope that doesn't screw up my links.

ADDED: I have been looking further and my best guess is that it will be known by at least one more in less than 3 months. Locks in two dimensions and by my analysis of the way in which the game solved, once the complexity is reduced by two dimensions, the rest follow faster. It is just a matter of limiting the scope of analysis and once you get close it is simple to just wander around aimlessly to find the last connections. I will watch for more signs. It is hard to say how it would effect someone else. In my case it caused cascade understanding and a bit of denial. It is unmistakable now, this is the first wave of the newest technology change. Understanding electricity was a major factor in new technology and it would seem that understanding gravity would have very little effect as it is a force that is very weak in comparison to electrical effects. We are here again and if you look historically at the turn of the century 1900-1920 it was very similar. Something new was becoming known and many new things were created. I couldn't list the possible outcomes, but the products of gravity technology could dominate new discoveries for decades.

I don't really want other people to understand, as it scares me a bit. It is like genetics. At first I thought it was too scary and that fiddling with gene sequences was somehow evil, but I have come to realize that nature does more genetic engineering at random than we could ever do. And it is true with physics also. The chaos of the universe is more dangerous than the directed randomness of even disturbed individuals. People worry about crazies and terrorists, but look at what one single collapsing neutron star can do. It is beyond sociopath, it just is. I doubt that the most evil creature ever born in the universe could do enough damage to even get an honorable mention in the super nova hall of fame. I see many things and I look forward to seeing what potential applications I failed to consider. It scares me, but a roller coaster ride wouldn't be much fun if there were Ø ø risk involved. CamelCase uint64_t 0x FaceØfBøe

The destructive force of maniacs is limited by the fact that they destroy and in the process destroy their effectiveness to do damage. A virus is somewhat like that. If it kills the host, it kills its mechanism to survive. Madness and crazies will always exist and they are self limiting in the same way any directed destructive force is limited, by the fact that destruction inherently limits the complexity and effectiveness of action. There are characteristics of many systems that act to clamp the system in limits due to the interaction of many variables. In our culture I assume it is the biological drive to genetic selection which forms the foundation of conflict even though it likely has no effect on the evolution of advanced species. It seems hard to believe that selection of species on ability to evolve a new form would be a dominant strategy to directed evolution. It seems to me that random combination and the mystique which surrounds it is purely a remnant. Strange images lurk in the corner case of existence.

I saw an article that every inch of height above 5'8" is worth $30,000 in the dating game. Doesn't that tell something about people. I would be a quarter million to the good in that case. It is stupid. And that is why the my elvi grep --invert-match 'Angelina'

So in the process I discovered something and I will make a new post to cover the technicalities. kodos and kregexpeditor

Connecting NFS on LAN

DISCLAIMER: This is just for reference and it only applies to Linux and also if you have no clue what will happen then don't do this stuff. Particularly do not try the Hostess™ cupcake maneuver as it is requires a certified IQ of less than 70.

1. Needed ( some are just things I use like wireshark, whois ) utilities to add.


sudo apt-get install nfs-kernel-server sudo apt-get install nfs-common sudo apt-get install nmap sudo apt-get install whois sudo apt-get install wireshark sudo apt-get install kdenetwork-filesharing sudo apt-get install libsmbclient sudo apt-get install samba sudo apt-get install smbclient

2. Discovery.


sudo nmap -sS 192.168.1.0-16 arp -a ifconfig -a whois 74.125.97.127

3. Test connection.
Need to know user name on machine on the network
Need to know password for user, ( mine is likeimthatstupid)
Need to know how to type commands (punch plastic shapes)
Need to know what commands to type ( ls, pwd, exit,...)
Below the question mark is replaced by a number between 0 and 255. As far as 192.168.1, that part depends on how you are routed and connected which affects discovery using nmap. I just use the nmap with 192.168.1.0-lala because it takes time and I could scan 192.168.. (`man nmap`) but it is a time issue and I already know the architecture of connections and assignments like MAC IDs.


ssh -l username 192.168.1.?

Part of the login MOTD (kind of)
MOTD=Message of the Day (sometimes Motto of the Day),.


To access official Gravity Guild documentation, please visit: http://help.me.com/ System information as of Thu Jan 21 09:41:28 CST 2010 System load: 0.22 Swap usage: 4% Users logged in: 114 Usage of /: 9.1% of 72040.53GB Temperature: 6000 C Memory usage: 34% Processes: 157B

4. Resource create.


mkdir nfs_share

Then use magic spell 143. Click on file and set sharing using command XYZZY or plover or IDKFA or maybe JustF5gGoogleIt or RTFM.

An alternate method is to go to the store and buy a package of Hostess brand cupcakes and shove them all in your mouth at the same time then try to chug a can of Mountain Dew. Works for me, but you must have certified network training. Prerequisite dependencies is a friend who is willing to perform Heimlich maneuver or call 911 or notify next of kin.

KDE4 is a winner and I wouldn't care if it was ugly and buggy as it feeds XKCD to the desktop as a widget and what else could a person need? There are priorities in this world.

5. More discovery. BTW the grep exclusion (-v) is just to skip lines with comments at the beginning and still shows other lines with # embedded. "-vE" options is respectively exclude and use regular expression. "^" means 'start at beginning of line' , so the REGEX reads as the symbol # immediately after the beginning of the line in ASCII with 010 or 013 termination of last line. Hmmmm now that makes me wonder, does REGEX see CR and LF, both as EOL? So I investigated and `grep` interprets CR(013-0x0d) as "new line" and LF (010-0x0a), but the console handles it different. It makes for some interesting confusion when looking at the output. `kate` is liberal in its interpretation of EOL and accepts both, which is good, otherwise it would really look odd. There is a code EOF(SUB)?(0x1a) which I used in my OS to indicate EOF(SUB)? in ASCII files that really caused Windows™ to have fits and often ended in the BSOD( Blue Screen Of Death)™. It seems that 0x1a has taken a new meaning over time and I do not remember it being called "substitute" ever, but I could be confused with EBCDIC


cat /etc/exports | grep -vE '^#' rpcinfo -p | grep nfs

While playing with that issue I discovered the following neat things:


`man ascii`
`stty -a`

And this to export the shared directory so remote machine can read it.

sudo exportfs -a

And the client mount needs to have all the nfs utilities installed also! and then this in /etc/fstab or `mount (this)`. I just put it in fstab so it connects when I restart.

192.168.x.y:/home/username/nfs_share /home/otheruser/emptydir nfs rw 0 0

Express yourself in a regular way

Google now has a code search page that uses REGEX ( explanation of regular expressions at Wikipedia ) and I have not tried it yet, but it does look like something that my meta-code generator would like to use.

Regular expressions can be used from a C library or perl, or Python, in fact I assume there are bindings for every language.

Java man, him like Net Beans

I like Net Beans and though I dislike IDE's in general as being "too" helpful, I think this software finds that sweet spot between leading you where it thinks you should go and the undiscovered country which is creative implementations. I like it and will use it to investigate the many Java applications. Java is another language and many things are only presented in Java, so I must learn. It is like a scholar of ancient works, you have to know Greek, Egyptian, Sanskrit, Chinese, German, Latin, French and all other languages to consider the ideas presented by those speakers and I do see that some ideas are only expressed with Java and that is the gain. No pain, no gain.

The generalized concept of an "^[i][n][f][i][n][e]$" computer is that it operates on infinites and ultimately reaches a certain level of acceptable certainty. I expect to use Net Beans to write a Java program that is an IDE to the ^[i][n][f][i][n][e]$ and then use that IDE to make programs for the device. Moteyalpha, him like recursion what is profitable. I suppose somebody has already chosen the name infine for something else and so I will Google now and I was correct in that assumption. I makes no difference as I am not using it in a commercial context. It describes the idea well and so I shall apply that name in my context.

Though people use names for advertising that are catchy and represent the intent of the sellers, an Infinity car is not likely to have anything to do with infinity at all, as do many advertising symbols. I sure wish I could buy a Quasar that was a real quasar, but they just use the name inappropriately to enhance image and association. I suppose I could call it slime and that would be just as well for me, but the name will be ^[i][n][f][i][n][e]$ as it is descriptive and if it conflicts with copyrights and trademarks, I will refer them to my lawyers at the home world of the Gravity Gilde. I see that virtually every permutation of every word that has any significance whatsoever is applied somewhere on the web. I think I will trademark the name
`cat internet |grep -E '^[i][n][f][i][n][e]$'`
then if anybody uses that regular expression in a shell script, I will Sue! or Shirley or Samantha or any number of girls names starting with the letter S.

In the process of looking around I did find the UNIX Grymoire and that was interesting. Perhaps I could use the Shasum of a file containing ^[i][n][f][i][n][e]$ as the word itself? The cac55d48d8299dbc07a7cbaedf0671857f1d50e9 is an interesting device. As odd as that is, I think it makes sense as I can have unique identifiers for concepts and names that never conflict when I am analyzing something. The clarity of what I express would then not be ambiguous. I would of course have to get used to it. So the new name is
b9c5f2526a24959e253940b5facd738c9099ff166ef
9f3a41a3b0ba0655d8c9507c29dd833a8ef9d0f11ec
fd7ddb30fd7e47b7796c101f202f0b227de71df50e
and it is pronounced
bnglyfindilpoplictoygenwigliteentolim.
or better still
`shasum -a 512 infine>sha.txt;espeak -f sha.txt`

Odd thought, is there a shasum that is 0? I will have to investigate that. Now if only it would tell me what I am intending to do before I got distracted.

OWL DL and OWL 2.0

Very interesting stuff.

The first view.

This could take some time to comprehend in its entirety.

Stanford is developing a package called Protégé with a web site at http://protege.stanford.edu/. As a part of attempting to make matters worse in hopes of making them better I am studying OWL and the ontology of languages and though I had developed my own concept of what those ontologies were, it could help or confuse matters to absorb the perspective of others on the issue. It is always a headache to form a conceptual framework and then adjust to another perspective.

I am downloading Protégé now and it appears to be an attempt to do exactly what I am doing as part of a larger concept of my MitOS and physical instantiation of a ballistic multi-dimensional parallel protein processor. OWL is used in bio-informatics and is applied in many areas of the web. I will report more on what I discover as my understanding progresses. It is likely to be several days before this is familiar. I will likely strip it apart and gather the conceptual basis and include it as a concept method in my applications in a way that I feel is more intuitive and coherent to the central theme of my pursuits. I find these university projects to be clumsy and over reaching in their scale. It is better to have a flexible under frame like boost or a library structure than to integrate too many things as a monument to a single concept, like Sage. It suffers from an attempt to implement too many divergent elements in one package. It would seem it would be much better to have capabilities in a library and combine in various GUIs or in any application.

I will likely drift back and forth to this as I investigate language ontology. It has little utility until the underlying methods are applied in context. Only application will give me an understanding so off the cliff into the data, manuals, and background.


<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rdf:Description rdf:about="http://en.wikipedia.org/wiki/Tony_Benn"> <dc:title>Tony Benn</dc:title> <dc:publisher>Wikipedia</dc:publisher> <foaf:primaryTopic> <foaf:Person> <foaf:name>Tony Benn</foaf:name> </foaf:Person> </foaf:primaryTopic> </rdf:Description> </rdf:RDF>

This example from Wikipedia seems to represent the general consensus of what is taking place. Instead of implementing the interface to match the human user, the data and structure is redesigned to fit the computer. That is, IMHO, totally backward. The data exists in the format for human consumption and the path is world->data->human and in this case they have decided to choose data to> obscure and bizarre format to> convolved software to> interface to> structured viewing. I think it is freakish. I can read HTML and perl and even this, but WTF, the data is already there in a human form as it was created. By applying a layer of abstraction with rules of logic that are limited, they have managed to tie their hand to their leg and wave with the other. They have made us all gits. see below from wiki.

git * (mildly derogatory) scumbag, idiot, annoying person (originally meaning illegitimate; from archaic form "get", bastard, which is still used to mean "git" in Northern dialects)

My goal now is to take the whacked up "triples" and associations and make a real model from them. Just because a computer stores stuff, it doesn't have to be stored in the most effecient way. The biggest problem with data is not the lack of it, it is the understanding of it and its relative importance. It seems the zip code of NY is stored with equal significance as the baseball flying toward my head that is about to make me unconscious. I am sorry, this is all wrong and I can't use this method of ontological abstraction to achieve effective results. I can make my program understand a sentence and produce a sentence or image, or voice. So why would I use an intermediary that is clumsy and complex? I want to know who threw the baseball and the ballistic statistics and relationship of cotton producers in Venezuela to the surface construction and their relationship to the mixed double tennis match in Berlin is meaningless and wasteful. The data and its relationships is infinite and you can't relate it all. It is a fools challenge and guaranteed work for the next 101000 years.

My opinion is: They are trying to make the user look stupid and this way the computer appears to be doing useful abstraction. This one is just plain wrong and I will not adopt this method. It would just wreck everything else I have achieved. I am sorry, whoever threw this baseball has a rag arm and if I hadn't seen it coming , I probably would not have noticed it hit me. A content addressable memory would naturally order all this information and this process is doomed to failure. A CAM is inherently content receptive and when they grasp that, this will fade into Vogon lore. I prefer to make my computer understand that when I type "find files that end in .blend with the a whole name that contains dream and flower" it produce the shell script "locate" with the appropriate grep and REGEX. I don't want to speak java or HTML, I like programming, but I don't want to be a program.

Transinfinite REGEX

I can't show you the real expressions as they are something that happens in the freaky world of infinities and I won't go into it any further than that. If you know, you already know, and if you don't then you don't need to know.

I could use either of those and it is interesting how they all interact and I could see that not all solutions can be rated by the same parameters. A solution needs to come in time to be used and sometimes it is necessary to take some action, even if it is not guaranteed to succeed, and thus is not technically correct.

Much like javascript, C, Python, XML, openGL and many other things, if I had read those two quotes 10 years ago, it would have looked like gibberish. I suppose it still looks like gibberish to most people. The second line reads as Start at word boundary, collect as many characters that are in the brackets[ word - .], then an at @ sign, followed by a name, dot, and a 2 to 4 length domain. It isn't perfect, but it catches most emails. It isn't for spamming capture, just for the sake of validation. Of course, in a war, both sides use guns, but the good guys have good guns.

I can be reasonably certain what they do by looking at them, but an interesting thing is that failure to fully qualify one's own work for lack of enthusiasm can reap a horrid price. The failure to sanitize an expression when you are going to a data base can be very dangerous. A mismatched quote and a smart user can put Little Bobby Drop Tables right in a place that you don't want him to be.

A good link for using REGEX with "C" is at GNU org.

I was working on my XML to code converter today and like always, I like to do the wrong thing to my data to see what happens. I suppose it is a game of cat and mouse where I get to be both. It is time consuming, but must be done. I write the code knowing I will test it and hope to defeat my own best efforts to confound the process with bad input. The result is that after several rounds of the game I find no more moves and quit, always a tie.

If you are using Linux, the easiest way to get a handle on how regex works, get 'kregexpeditor' from the repositories. It is simple to use and has a graphic display that helps to explain some of the more complex sets that you might describe. The history of FSA(Finite State Automata) is also helpful for background.

The web is a fantastic source of information and if you can develop a skill to search and find what you need there is so much available it makes me dizzy sometimes. I am studying angular momentum as it applies to collapsing stars like white dwarfs, neutron stars and black holes. The actual energy that is released by the collapse was not something I had calculated before and it can be 10 times larger than the total energy it produces in a 10 billion year life, released in minutes. That has got to cause some serious sun burn for those who are circling those suns.

There are definitely some correlations that will come from all this, I can tell already. I wonder how people would feel if they found out that the stars may not be as distant and unreachable as they assume? It does not seem that bureaucracies or totalitarian states will ever embrace the freedom of space as it runs counter to their interest in consuming people like fuel and if they are out from under their thumb, they will have to do the work for themselves and that would be a horror they could not face.

Accidental discovery

Looking at my feeds this morning , I noticed NASA is thinking about robots on the moon in 2020. That is at least a step toward doing what I know should be done, and that is to send the lathe and a way to operate it.

I was working on the nature of biogenesis and started creating some software and considering what hardware or specifically "wetware" ( self replicating circuits and memory ) that might help. As a result I was considering a specific method for self replicating memory. What I realized is that I could combine several technologies and have a living liquid brain that would be vastly more intelligent than a person. In the process of analyzing how it operated, I realized it would be self programming. This is the most intriguing aspect. I had wondered how a person could design a usable ( not requiring programming ) robot brain that was at least as bright as a squirrel and now I know.

I am absolutely certain I can make a growing liquid mind. I am now considering what it actually means before I think about making it. I had some general ideas before and they would have worked with quite a bit of my time and effort. This is virtually a breeze in comparison. I could build the first elements for almost nothing and expand it with fairly common raw materials. It has one drawback, and that is speed. It would function below biological speed, but function at complexities that are only limited by resources. I have thought of some things that would speed it up, and ways to give it a base program to start.

By analyzing the properties of the device in simulation, I found it would do very similar things to other biological intelligence. It is the complexity that makes the break over point between the brain of a fly and a dolphin. I am very psyched by this discovery as it certainly functions as a model for a distributed emergent intellect.

I also discovered a very odd relationship in the patterns of cell growth and division. I also read some background on http://en.wikipedia.org/wiki/Bacteroidetes, which is very unusual as they have such a small size that they can pass through bio filters, which is a little scary.

I am also working with one of my latest compulsions, which is revisiting all of my perl code, perl cgi, RegEx ( which seems to be the 'cool' shorthand to say Regular Expressions ), and revisiting FSA or finite state machines. I am also doing the programming and design for my little ant game as I wait for things to settle down in the focus of antfarmgl.

ADDED: This may take some getting used to. The idea of a mind that is 100's of times more intelligent than a person. It is certainly coming and many of the new super computers can be used to do things that are astounding. I don't think winning any game is beyond them. It is the idea of AGI ( artificial general intelligence ) that eludes this type of design. The ideas I have will make an AGI machine of incredible potential. I can't say whether it makes me sad or happy, it is a mixed emotion to see such a fantastic possibility and such a degradation of the position of human intellect as a measure of humanity. I have heard others say that AGI is only 30 years away and I suggest it is about -4 hours from being designed, in other words, it has already been designed and will likely be completely implemented in less than a few months.

Live and learn

For as long as I have been doing BASH scripting, this is new to me. I can't believe I missed this one in all my attempts to experiment with every shell command. Also I have another link for learning Linux and Unix and general good stuff. HERE at LinuxSelfHelp.com

the "script" command is very helpful for showing somebody exactly how a shell sequence functions and let others know what you did so they can help you if you have typed something wrong or gotten tangled in an odd REGEX. You can see from the snapshot that I fiddled with $PS1 to show it is running a new shell. And of course "man script" will give some help on how to use or abuse it.

Contributors

Automated Intelligence

Automated Intelligence
Auftrag der unendlichen LOL katzen