Strange


Jun 3, 2010

*nix have some strange concepts. This will be a brief blog because I have little to say. In the grep manual, I found a reference to an obscure option:

       -Z, --null
              Output  a  zero  byte  (the  ASCII  NUL  character) instead of the character that normally
              follows a file name.  For example, grep -lZ outputs a  zero  byte  after  each  file  name
              instead  of  the  usual  newline.   This  option makes the output unambiguous, even in the
              presence of file names containing unusual characters like newlines.  This  option  can  be
              used  with commands like find -print0, perl -0, sort -z, and xargs -0 to process arbitrary
              file names, even those that contain newline characters.

Did you read that? It's saying that you can have a newline in a filename, so I tested that out:

jvoss@localhost ~ $ touch 'blah
> yak
> dah'
jvoss@localhost ~ $ ls
Desktop                           j0anna1.crt           regdev
asos2l.txt                        j0anna1a.crt          src
blah?yak?dah                      j0anna1a1.crt         stage3-amd64-20090611.tar.bz2
emerge_kate1.txt                  libusb-1.0.8.tar.bz2  suzy_make.conf
emerge_kdebase-runtime-meta1.txt  lin2632.cfg           suzy_world.txt
emerge_kdebase-startkde1.txt      lin2632a.cfg          time1.py
emerge_konsole1.txt               media                 use1.txt
iwlist1.txt                       necessary.txt         wmii+ixp-3.9-2.tbz
iwlwifi-5000-ucode-8.24.2.12      portage-2010a.tgz     wpa_lev1.conf
iwlwifi-5000-ucode-8.24.2.12.gz   recent                xness.txt

See that blah?yak?dah file there? It's replacing newlines with ? because it doesn't want to display something else. That's probably very smart. Tab completion however, shows a completely different story:

Read more »

悪政


May 19, 2010

Now that AltSci is back up and fewer a few serious XSS bugs, I thought I would show you some awesome things that AltSci has given you in the past few years. AltSci Language AI is perhaps the most interesting, with gems like "悪政" and "День Победы", you may learn a lot more than a language or two.

Tonight I hacked on something for work and for humanity. At the same time a person I know worked for me on another project that will not so much advance humanity so much as prove something quite simple. Who did more for the world, who had more fun, and who did the most work are pretty much immaterial but I wished that everyone in the world could enjoy a fraction of the satisfaction that a programmer does when they create a piece of code. A piece of code that can be open sourced and that helps others, even better.

Read more »

AltSci is back up


May 13, 2010

AltSci is back up, with SSL as it should be. All the links that were broken (except one or two) should be working and shouldn't give any SSL warnings. Before AltSci went down in February, it had a really good uptime. My analysis of the hard drive was that age and not anything fishy caused the crash. I added a stick of RAM and a new terabyte (a thousand gigabytes) hard drive and AltSci is back up for business. I am looking at offering a few new services beyond the websites and shell for hackers. But when a person thinks of services, they must also think about their customer. So I ask you dear reader, would you use additional services? What do you think about each and would you be willing to pay for the service if it was offered by an allied service (not AltSci itself, but rather someone fully endorsed by AltSci)? If you would like a service but not be willing to pay for it, why not?




  • Forums
  • IPSec VPN
  • KVM Virtual Server
  • Open Source Software
  • BitTorrent Tracker
  • Web Hosting
  • GnuPG E-mail *
* Don't ask me how just yet.

Read more »

Japanese Spam Analysis 0.3


Original Analysis: Sept 25, 2008
Updated Analysis: Aug 9 - Sept 8, 2009, Feb 15, 2010
Published: Feb 15, 2010

Japanese AI version 0.3 [sig]
Japanese AI version 0.1 [sig]

Over a year ago I released the concept and initial analysis of the Japanese AI project here. Since then I have been using the results off and on for translation, learning, and other projects. Not long after, I wrote a generic version of this project, AltSci Language AI using Twitter as the data source. It also utilized the Google Translate Language API to translate the conversations on the fly. It became obvious that the benefits of this type of language software would be quite useful, so I made a few quick user interface improvements to Japanese AI, so that I could release the full results.

Read more »

« previous next »