Thursday, March 10, 2011

Vaseline Masterbation

Julio Valdivieso's Nightmare

Normal

News reports describe this great event as something portentous reflection of a political party who has learned to keep current without the need to rejuvenate during the trance in which they invested in opposition, a party without a word used to the theatricality in the absence of a political platform. We are told that the event was graced with the presence of senior party ("who arrived by helicopter), a comedian known as The Victor, a political upstart renamed Johnny and the pomp of an empty talk but a guarantor of applause, there were no ideas where this was the proud red tricolor in the voice of their new leader Humberto Moreira: "In 2012, the PRI will win the Presidency of the Republic."

These words do not reveal any new element, the triumph of the PRI in the next federal election seems to be sung in a while. Let us briefly review the statements of its leaders to ascertain the confidence they now possess. Peña Nieto states that are facing an "excellent position to return to Los Pinos" Beatriz Paredes sentence "The PRI is made to govern" and Ernesto Zedillo gleefully predicts: "We will win." The recent elections have rolled around a plot: the alternation in 2000, the likely success of the left in 2006 and in 2012 it will no doubt return the PRI to power.

And, in recent years, the inertia of the triumphs of the tricolor has been so overwhelming, that the possibility that the elections go ahead in 2012, is forecast to satiety, but has been rather sparing analysis was derived from the omen. The inevitability of fate, what with resignation analyze what we are assimilating?

What implications would the return of the PRI to power?

As a youngster, perhaps with excessive nostalgia, appreciation in the PRI's return to Los Pinos conviction that dictates the defeat of my generation, the generation of change was not, which erupted in 2000, facing the new millennium, with the promise of a new face, the political change as the magic potion claiming to walk the country towards progress. But soon the young man ended up sour face and the late progress is a plateau which is not yet known promotion.

Of course, the limitations of change were noticeable, the lack of ideas was not an incentive but had an overwhelming momentum, momentum that made him realize the useful vote, the PAN won in the polls but the real winner appeared to be citizenship. The celebration of that result was the clearest example of this, the crowd took to the streets to cheer that night was varied, not celebrating the victory of one party but the way of another ... soon after, we would witness a frantic debacle. In a few years, the PAN became the illusion to disillusionment.

entire blame for the failure of the alternation of a political party is, of course, an act of cowardice. Political ineptitude covers large areas, but not the plain all of which were sown excessive expectations. The members of the generation of change we are also participants in the failure to promptly decayed our momentum, members of the era of vacuum, we limit our participation to the act to cover, pushing the action and ideas "does not exist, for example, a film literary or musical that manages to be an outline of the demands of the time. Perhaps our failure who best embody the young generation are integrating the new generation voters, according to surveys, they do not bow their hopes for the future but in the past and are determined to cover mainly by the PRI.

As in the novel The witness, John Villoro, the character of Julio Valdivieso returned after his long exile, encouraged by the recent democratic opening in Mexico, only to reunite with a country stuck in the deep roots of its past. So wake up in 2012 to become democratic drunkenness to prostrate in the arms of the PRI regime. Some analysts, apparently guided by political correctness, trying to sell the idea that a tight race is viable wherever you see only the remains of a comfortable electoral victory of the PRI, its argument: López Obrador enjoyed a wide lead ... and did not win. True, but spend overlooked that the PRI is not the PRD, the tricolor has established a solid structure in the strong foundation that will provide the nineteen governors in the House of Representatives majority and impose their tyranny demonstrate their placing in the IFE electoral advisers of its convenience and, of course, their candidate will be supported by the hosts of the Mafia's power, whatever that means.

Tuesday, February 8, 2011

Nyc Immunization Record Card

Problems with attachments in simscan with ripmime

In the latest version of your email server developed, which is already in production in the last three servers installed, an error appeared unusual. Basically, the content control software (simscan 1.4.0 ) was bouncing messages because it contained an attachment not allowed. The problem is striking because it does not always happen, which I quite disoriented.

I made a desperate plea for help on the mailing list tool in Inter7 site (the company that originally created the tool), but got no response, so I kept researching on my own. UPDATE: Matt Brookings, developer on simscan to Inter7 replied to my message today (10 February 2011) confirming the bug in simscan (and in ripmime, which I will report to Paul S. Daniels these days) and warning that he would review (Blog Archive the mailing list Simscan: http://news.gmane.org/gmane.mail.qmail.simscan ).

Simscan to specify a list of file extensions which will be rejected if they are attached to a message. These extensions are specified in a file called simcontrol , which then generates (by running an additional tool called simscanmk ) a database file formats CBD, containing the rules of control. The file looks like this:

: clam = yes, spam = yes, spam_passthru = yes, attach =. vbs:. Lnk:. Scr:. Cmd:. Exe,. Com,. Bat:. Reg: . pif


This basically means that the attachment with a. vbs,. lnk,. scr,. cmd. exe,. com,. bat. reg. pif is administratively prohibited. Well, the software was rejecting a file whose name happened to be "d" (yes, just the letter "D" lowercase). The strange thing is that the message had only a single attached Word file (with extension ". doc").

So you could see the error: Your email
WAS 554 Rejected Because it contains a bad attachment: d


strange thing also is that not all files. doc failed, but the problem seemed to occur in certain files only. This proved the most puzzling of all. I decided to try to review ripmime with who had earlier had an altercation on an error of layer 8 (yes, I was wrong when I installed version), and this proved to be interesting. On a copy of the message bounced ripmime ran manually and took a surprise. Ripmime removed several files (5 in total) of a message that supposedly only has a single attachment (!).

srv: / usr / local / src / ripmime-tests # mkdir res
srv:/usr/local/src/ripmime-tests # ls -la
total 140
drwxr-xr-x 4 root root 4096 Feb 8 19:29 .
drwxr-xr-x 7 root root 4096 Feb 8 16:04 ..
drwxr-xr-x 2 root root 4096 Feb 8 19:27 res
-rw------- 1 root root 125608 Feb 8 12:37 testmessage.eml
srv:/usr/local/src/ripmime-tests # ripmime --disable-qmail-bounce -i testmessage.eml -d res
srv:/usr/local/src/ripmime-tests # cd res
srv:/usr/local/src/ripmime-tests/res # ls -la
total 96
-rw------- 1 root root 90112 Feb 8 19:27 Documento de prueba.doc
-rw-r--r-- 1 root root 0 Feb 8 19:27 d
-rw-r--r-- 1 root root 0 Feb 8 19:27 textfile0
-rw-r--r-- 1 root root 8 February 1094 19:27 textfile1
-rw-r - r - 1 root root 936
February 8 19:27 textfile2


Now that I knew from where came the famous file "d", the problem was on simscan understand why he took the file as "locked" and rejected the message ... Set up a

recordio on port 25 of one of the affected servers to capture all the SMTP service transaction and enable the debugging of simscan (provided by the patch who wrote John Simpson to diagnose another problem on simscan) and then started seeing the light ...

I could get the next record:

@400000004d514dd628a87474 simscan: lpart: local part is **
@400000004d514dd628a8d61c simscan: cdb looking up gcastro@example.com
@400000004d514dd62991f5cc simscan: checking attachment textfile0 against .vbs
@400000004d514dd629921cdc simscan: checking attachment textfile0 against .lnk
@400000004d514dd629922894 simscan: checking attachment textfile0 against .scr
@400000004d514dd629923064 simscan: checking attachment textfile0 against .cmd
@400000004d514dd629923834 simscan: checking attachment textfile0 against .com
@400000004d514dd6299243ec simscan: checking attachment textfile0 against .exe
[...]
@400000004d514dd629992d74 simscan: checking attachment d against .com
@ 400000004d514dd629993544 simscan: checking attachment d against.
@ 400000004d514dd629993d14 exe simscan: checking attachment d against.
@ 400000004d514dd629997b94 bat simscan: checking attachment d against.
@ cmd 400000004d514dd629998364 simscan: [21057]: ATTACH: 5.3975s: d: 209.85.214.53: gcastrop@example2.com: gcastro@example.com
@ 400000004d514dd629998f1c simscan: exit error code: 82
400000004d514dd6299996ec @ 21057> 554 Your email WAS Rejected Because it contains a bad attachment: d
400000004d514dd722f67e2c
@ 21057 \u0026lt; ; QUIT


And so it became apparent that the file "d" fell into the rule for files extension. "cmd", which intrigued me enough, because the file name "d" differs greatly from having an extension and that extension, if any, I doubt it was. "cmd", since the file is empty ...

obvious thing of all is that. "Cmd" ends with the letter "d", which I doubted it was a coincidence ... so I started researching the simscan source. Simscan.c found that the file has a feature called check_attach () , which contains the code that compares the names with the extensions:

while ((mydirent = readdir (mydir))! = NULL) {
/ * skip. and .. * /
if ( mydirent->d_name[0] == '.' &&
(mydirent->d_name[1] == '.'
closedir (mydir);
return (1);

}}}




by another function called
str_rstr ()
, which is responsible for comparing the entries in an array of strings containing the extensions, file with the name of duty in the iteration executed sequentially on all message attachments. This function takes two parameters, the file name and extension to compare. This is the function: int


str_rstr (register char * h, register char * n)

{register char * sh;
register char * sn; for (sh = h; * h! = 0; + + h); - H;
for (sn = n; * n! = 0; + + n) - n;
for (h> = sh & & n> = sn, - h, - n) {
if (* h! =* n) {
return (-1);}


} return (0);}




As can be seen, the function reads from back to front and compare texts literally, making the problem

finally emerges. In reviewing one letter and start from back to front, when reviewing the file name "d" with the last letter of extension. "Cmd", the two match. As there is nothing left to prove, as the file name consists of a single letter, the function returns 0, so that finally the message is rejected because it contains a file is not allowed.

At this point, I had two possible solutions: either repairing the ripmime to stop extracting files do not exist, or modify the simscan source code to make an extra check on the names of files to compare with the list of extensions . I wanted to see ripmime forum to see if anyone had similar problems and discuss a possible solution, but it turned out it was closed for receiving spam, so I opt for changing the code of simscan, which I would be more simple and easy to test, not counting that could see the mailing list Inter7 meet if something unexpected.
Well, the many options that came to mind, which seemed more simple and less invasive for the code was simply check the length of file name to check in the iteration at least equal to the length of the extension to check. This would more accurately check and provide more robust software. Without thinking too much, I made the change to the code simscan.c file, adding debugging code in the same way that John Simpson did with the rest of the code to debug these errors:

for (i = 0; i \u0026lt; MaxAttach; + + i) { if ( DebugFlag > 2 ) fprintf(stderr, "simscan: checking attachment %s against %s\n", mydirent->d_name, bk_attachments[i] );
lowerit(mydirent->d_name);

if ( strlen(mydirent->d_name) >= strlen(bk_attachments[i]) ) {

if ( str_rstr(mydirent->d_name,bk_attachments[i]) == 0 ) {
strncpy(AttachName, mydirent->d_name, sizeof(AttachName)-1);
closedir(mydir);
return(1);
}
} else { if ( DebugFlag > 2 ) fprintf(stderr, "Simscan: attachment name '% s' (% d) is Shorter than '% s' (% d). IGNORED \\ n", mydirent-> d_name, strlen (mydirent-> d_name) bk_attachments [i] strlen (bk_attachments [i]));
}}




Now if the long file name to check is less than the length of the extension, simply ignores simscan:

[...]
@ 400000004d517ee02c8894d4 simscan: attachment name d (1) is Smaller than. vbs (4)
@ 400000004d517ee02c895054 simscan: checking attachment d against.
@ cmd 400000004d517ee02c8a0fbc simscan: attachment name d (1) is Smaller than. cmd (4)
@ 400000004d517ee02c8acb3c simscan: checking attachment d against. lnk
@ 400000004d517ee02c8b8aa4 simscan: attachment name d (1) is Smaller than. lnk (4)



[...] And simscan longer fails with cryptic error that triggered this entertaining session debugging.

hereby released this patch, which left here for anyone who wants to use it:


simscan-1.4.0/simscan.c simscan-1.4.0-tested/simscan.c diff-run simscan-
--- 08/02/2011 1.4.0/simscan.c
20:26:06.095067924 -0200 + + + simscan-1.4.0-tested/simscan.c
08/02/2011 18:16:11.003064430 -0200 @ @ - 1735.10
+1735,14 @ @ for (i = 0; i
if (DebugFlag > 2 ) fprintf(stderr, "simscan: checking attachment %s against %s\n", mydirent->d_name, bk_attachments[i] );
lowerit(mydirent->d_name);
- if ( str_rstr(mydirent->d_name,bk_attachments[i]) == 0 ) {
- strncpy(AttachName, mydirent->d_name, sizeof(AttachName)-1);
- closedir(mydir);
- return(1);
+ if ( strlen(mydirent->d_name) >= strlen(bk_attachments[i]) ) {
+ if ( str_rstr(mydirent->d_name,bk_attachments[i]) == 0 ) { + strncpy(AttachName, mydirent->d_name, sizeof(AttachName)-1);
+ closedir (mydir);
+ return (1);

+} +} else {
+ if (DebugFlag> 2) fprintf (stderr, "simscan: attachment name '% s' (% d) is Shorter Than '% s' (% d). IGNORED \\ n ", mydirent-> d_name, strlen (mydirent-> d_name) bk_attachments [i], strlen (bk_attachments [i]));

}}}




should be noted that this patch is intended to be applied to the patch 1.4.0 simscan
http://qmail.jms1.net/simscan/simscan-1.4.0-combined.4.patch

of John Simpson ( Thanks, John!)
.
Well, one less ... to continue with the others.

Happy hacking!

Thursday, February 3, 2011

Overdosing On Zopiclone Fatal

It Hot In chones


Among the familiar uniform of my relatives, an aunt succeeded in distinguishing a gift occasionally possesses contagious but always fascinating: he knows perfectly the scheduling of every one of the social so many magazines that circulate in Aguascalientes, knows for sure when dawn each of these publications in the garage of their home. For good measure, his talent for memorizing dates is that browsing these publications has become part of daily life. I doubt

peculiar hobby of my own aunt is a hobby exclusively, to check, before the lamentable lack of reliable data on the flow and circulation of print media at the local level, I take the liberty to apply the frivolous sociology of facebook. One of these publications, The Board, has more fans than El Heraldo and La Jornada Aguascalientes, a third day ( The hidrocálido ) publishes a Sunday supplement called very special social events , which does not have many followers as the papers mentioned above. My aunt, apparently, not alone, shares his hobby with a few non-aquicalidenses.

The fascination sparked by such magazines is a strange phenomenon, I was difficult to decipher the source of his popularity. These publications do not provide significant information to its readers, are clenched insipid propaganda, are inefficient and photographic evidence and portray events whose importance in a city inhabited by commoners I fail to conceive beyond a small circle of regular people to the events of the cream of our society, at least in the Hello! are portrayed blue blood. The only saving grace that emerges from them seems to be that of the pose, the sitters are invited to pose for the photo, give their consent, smile and leave his presence embodied in this or that social event, in short, give a nod to the Society welcomes your reading, revealing the Aguascalientes fascination with appearance.

In one of his essays, Carlos Monsivais suggests that readers of publications such illusions cast their regular consumption of photos and notes "the aristocracy of blood and the aristocracy of money." Is that the case of my aunt and thousands of aquicalidenses?

hidrocálido society living under the yoke dictated by the appearance, it will appeal to the ease of classism, this phenomenon is not exclusive to the privileged social classes or the frivolous magazines who are eager to portray the phenomenon occurs in abundance: dilapidated houses inside but with a new car in the garage, professionals without a penny in the portfolio but with an iPhone in my pocket, bicicálidos attending Tuesday's shot but the rest of the week moving in particular automotive ... even in reverse there are many visitors as part of the festival sanmarqueña, I have commented on their surprise at the exotic extravagance and excessive wearing the popular classes in Aguascalientes, just as likely to appear as cholos - "in the de-Efe race is only worried about dancing cumbias "-.

a couple of weeks ago I read an interesting news story: a group of about two hundred people will bet to lighten, to this end, they decided to embark on a journey into the capital's subway, with the notable peculiarity that made him ... in his underwear! . Of course, this act was not spontaneous but planned, "any act of magic, after all, is a trick- and was done with a noble goal: to provide the busy capital city for a moment of hilarity to be relax and forget for a moment the monotony of the routine.

An act of this nature is missing in society hidrocálido, a shameless entertainment that allows rid of that false dictated by the looks, let's pose for a moment, cast off the starched shirt, dropping our jeans, pull the basket Carolina Herrera fragrance, to hell with the show ... which are complex, exposing the swollen abdomen, sagging breasts, a prominent scar and the entire sum of our imperfections ... that vanity wait in the closet, after all, as I told Joe E. Brown Jack Lemmon: "Nobody is perfect."

So ... when we go to wood in piglets? ... one of these, chance and to go out on the cover of the Black and White .

Monday, January 17, 2011

Brent Everett Bottoming

2010: The year (NO) made contact ...

Way back in the 60 ', an astronomer named Frank Drake

kicked off to create what we now know as the project still
SETI (Search for Extra Terrestrial Intelligence). Already some years ago that this incident happened after which Kenneth Arnold popularized the term "flying saucer" and that somehow started the wave of sightings that after the first result in serious investigations of the United States government on the issue UFOs. , when in fact, the acronym used to describe only to "any phenomenon or object in the sky that can not be identified without doubt by the observer" . This distinction is important, as many people quickly dismissed sightings witnesses and accused of being crazy with this interpretation misrepresentation of reality, a fact often authoritative ruling in favor of earnest truth of the most numerous (ie those who are not "space ships floating in the sky"). That said, I confess to have witnessed three sightings over my life, I say with the conviction of knowing that they really were UFOs, or "I saw something floating in the sky and I could not clearly identify everyday thing, like an airplane, a balloon, a bird or a reflection of the moon or Venus against the clouds. " While I have theorized about it, obviously I can not conclude that it was of spacecraft from another planet, which would greatly simplify somewhat the situation ... Solo one of these sightings had unusual features, but as I said, I can not say categorically no.

Returning to the central theme, SETI has been trying (among other things) to make contact with any intelligent alien race since its inception. The idea is simple, but the limitations of distance and time are a difficult problem to date. To get an idea of \u200b\u200bthe problem, you just need to know that the Sun's light takes about 8 minutes and 19 seconds to reach the earth, so that the vision we have of our star is out of date in time (say "backward") 8 minutes and 19 seconds from reality, and the Sun is "just here" to only 149,000,000 miles ... The next nearest star is 4.1 light years, meaning that the vision we have of it is a temporary mismatch of 4.1 years compared to reality ... and so on with the rest of the stars. This greatly complicates the task of communicating with any other intelligent race off the planet, because the speed of transmitting information faster than we know is the speed of light (if flatly rejected the strange bond that seems to exist between the particles and it was the center of the paradox Einstein-Podolsky-Rosen , which proves the existence of an "action at a distance" that disturbs the measurement of certain values between particles so that it seems that they were "communicated" with each other), and certainly not practical across interstellar distances. Assuming that our transmissions are being issued to a barely detectable power for 76 years (the first radio broadcasts were made in the year 1938), at this point would have reached approximately 3500 stars, of which none has an intelligent civilization wanting to communicate (this follows from the application of the same Drake equation we talked about earlier in this article ...), and which is estimated less conservative, intelligent civilizations able and willing to communicate with others would be separated by a distance of 2,000,000,000 light years, which would land with the idea of \u200b\u200bbeing able to communicate with aliens ... We

is then expected to gray green men or are traveling near the solar system and to "go for a ride" for our planet to visit, assuming you have not done or are doing now. This would imply that they are much more advanced than us, at least in terms of methods of space travel. Speed \u200b\u200b"light" or "sublight" do not seem practical, unless you have a huge ship full of resources and with several generations of travelers on their way to Somewhere deep in the galaxy and no return. If travelers were immortal, would be justified because these people would have "all the time to travel the world, but to other mortals, the trip itself would be a matter for too long term to be worthwhile.

If the technological level of an intelligent race is developed enough to allow travel at speeds exceeding that of light (read: warp "," hyperspace "," CTF ", etc.), The trip was of course much faster, and therefore, it is feasible to be done in a short time, giving the opportunity for these aliens to get around and communicate with us in a relatively short period, say within the scope of a "life on earth." With regard to forms of travel faster than light, many were surprised to learn that in 1994 a Mexican scientist named Miguel Alcubierre patented a theoretical model of the engine "warp." The system is called
"Alcubierre Drive"
(available in English

) (original, huh?) And although this model has not been applied in a practical way yet, it is expected that technological advances allow for a first implementation some years (the big problem with this model is that it requires the existence and handling of "exotic matter", which incidentally is not abundant except in theories about dark matter and strange states of matter).

For there is a project dating from the 60's and describes a possible vehicle ( called "Daedalus" ("Daedalus") in honor of the father of Icarus), which would have the ability to travel to 12 % speed of light (about 35,000 kilometers per second or so), and would be launched from a high orbit of the Earth to turn off their engines after a period of almost 50 years. The engine of this ingenuity is called "Motor inertial confinement fusion" , which is a proven technology and ready for use. The only reason that Daedalus has not even left Earth in an interstellar travel is its cost (as always ...). This completes our ability to travel through space. definitely our best chance would be if our visitors were already on the road, traveling the long space at incredible speeds and with a communications system that allowed them to "listen" in any way and access to know through a formal visit. Unfortunately, we can say that has not happened yet. While there are people who say they were contacted by intelligences from other planets, his assertions are rather sensational and lend themselves to speculation. There are significant cases, particularly in the area of \u200b\u200bthe abduction, very little can be stated as true and correct.

worse, Hollywood has been quite negative contributions over the years, with films such as "Body Snatchers", "Alien", "Independence Day", "Progeny," Signs, "" Predator, "" The fourth kind "," Skyline "," Battle: Los Angeles ", etc ... works which make pale "positive" and "The Day the Earth Stood Still", "Contact", "Encounters of the third kind", "ET", etc., so probably when people see "something" that seems to be a manned spacecraft by beings from other planets, most likely is how far you throw at hand Blunt, making the "First Contact" the beginning of a war of extra-planetary proportions. And if we are not ready yet for such a feat as a first contact with an intelligent civilization. Undoubtedly, I, if an alien, I would look away this "informal settlement" we call Earth, shake my head and would return back to where I came from, probably a planet where the inhabitants live peacefully, giving their part to improve their existence as a race and where all pursue the common good. They can not be blamed for that ... Surely is the reason why we did not contact yet. Maybe they are really out there, get close enough with their vehicles to see us (and be seen), and eventually reach the conclusion that the best they can do is stand aside and watch, hoping that "this" reach a conclusion. Maybe be something like the characters in the story of Asimov
"The Gentle Vultures" ("The Vulture Kindred")
, watching from afar, hoping that a civilization reached a breaking point (read "annihilation war") and then made his triumphant arrival, providing assistance to survivors in exchange for a small tax serve to finance the operation ... (Any similarity, however vague, with the operation "War on terrorism" of the Yankees is purely coincidental ...).

The "bad" then this is not making contact with another intelligent race. Somehow, I think that event would make us grow as human beings and perhaps force us to mature to the security of not being alone in the universe. I know that by now our capacity for wonder has eroded significantly. Constant exposure to media and art on this issue has made us develop a kind of shield that prevents us marvel at the vastness and possibilities of the universe, but still I have hope that if I ever have contact with another race of intelligent beings, we realize this and do the right thing.

If not, I'm not sure you want to be here when it happens ...

: wq