It is a document created by the LaTeX (using MiKTeX). Book includes extreme fonts and sophisticated images. All 74 pages are loaded nicely. Yellow color has been used to create contrast for this demo. The next document is a one page document created by Open Office. Only one word is written on it. It dispatches error upon loading.
Monday, 31 October 2011
What News About Dysprosium?
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) This is an obsolete content. Some updates can be find at the bottom of this post. I promised a release of Dysprosium Suite before the end of this 2011. I could not eliminate a serious hurdle on the way. I could not find a PDF viewer that seamlessly joins to Java. I mean a free viewer. There had been an excellent free Java viewer by Adobe developed ten years ago. It means it is based at best on works started before the millennium. It works still perfect if your created PDF be of the type you might create by the latest LaTeX tools (such as MiKTex) or by Adobe Professional tools. It does not even load a blank page which is not created in this way. But most of the people use everything to create PDF; such as, Google Docs, or Open Office, and many scanner to PDF software. Such cases crashes the Adobe Java viewer. Adobe for unknown reasons did not continue the development of that software, and its present free software SDK is pure C++. I worked to switch to that tool but there is a further hurdle since this SDK utilizes MFC proprietary libraries and include files. I tested every available claimed free Java PDF viewer, but actually they all have a mistake. They are not Java Swing. Adobe viewer is a pure Java Swing. It is so malleable that you can give them the "group layout;" a very Java Swingish layout. But I succeeded in pushing the limit of merge to astonishing 3.5GB in 64 bits versions of Windows 7 and Windows 8, with enough RAM memory. I had 32GB installed and put 4GB of it available for Java heap. CPU was quad core and never exceeded in 10% usage for each core. FSB was 1600MHz. This is the biggest PDF file you might find. The other reason that I did not switch to C++ is the belief that I have on Java programming. It is much more natural than C++. (I am a C language fanatic, but not C++) Well, C# is somehow Java. But it is not free, for full blood development. (It was a strategic mistake, in terms of nerds commenting, that Sun pushed against usage of Java by Microsoft. Otherwise, there could be more harmony in the present sphere of development tools.) Switching to C++, or to C# will change my work as a retired person to a full time professional developer. I am going to create a separate package with Adobe Java viewer with no guarantee of being usable on loading every PDF. I am going to develop one without viewer, besides. Please have a look at the snapshot.
It is a document created by the LaTeX (using MiKTeX). Book includes extreme fonts and sophisticated images. All 74 pages are loaded nicely. Yellow color has been used to create contrast for this demo. The next document is a one page document created by Open Office. Only one word is written on it. It dispatches error upon loading.
It is a document created by the LaTeX (using MiKTeX). Book includes extreme fonts and sophisticated images. All 74 pages are loaded nicely. Yellow color has been used to create contrast for this demo. The next document is a one page document created by Open Office. Only one word is written on it. It dispatches error upon loading.
There was, another disappointment, too, in lack of much progress in breaking the password of PDF. I was interested in its mathematical side. A brute force multi threading could break a password of 5-character length created out of 64 characters in a reasonable time. Hence, we have "Remove Password" button (on condition that you have the owner's password) but not the "Unlock Password" button.
Update, May 2016 : Dysprosium (Dolce edition) has been released (please click) based on iText from mid of April 2014 and smoothly on a nightly basis added more features and now I have deprecated many scattered pieces of PDF utilities I already released. There are so many features that I cannot write complete instructions for all of them. From other previous pieces only Signature manager has been remained to be integrated. I sorted out PDF viewer problem somehow satisfactorily.)
(updated : 26/May/2016) I have had over 60,000 downloads from 187 countries. All around the world, only 1 country in South America (French Guiana) and 1 countries in Asia (Democratic North Korea ) have not used Dysprosium Software, yet. The remaing countries not downloaded to this date (less than 10) are from the central Africa and perhaps some very small Island countries.
(Deprecated Paragraph : People contacted me regarding not fulfilling promises in creating an integrated software for different pieces of dysprosium in on single -and perhaps bloated- suite. My friend Grant Hardy is too busy with electronics and doesn't come around. Phoenix is also has committed himself in different web developments. I have been left alone and I am too old and feeble, but have progressed in some areas. For example, I have created a Complex Polynomial Calculator; download here. I postpone my promises towards end of this year. We had some joy with majority of algorithms in recovering lost owner's passwords. Well, I succeeded in a relatively fast password cracker but won't publish it. People who have lost their password might like to use other things available out there. We fulfilled all promises at this date 26/May/2016.)
Sunday, 7 August 2011
How to Create a Free Web Hosting in Your Home? (2)
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) Next you need to test your IP address on the Internet. (Please also read the previous post.)This is different with your private hub IP addresses. It is the unique address given by your broadband service provider to the location of your router on the entire Internet.You can get it on different places.
For example, log into your router and click on "Basic Setup" you find it as
It is something like "98.227.112.49" This number is as good and working as any important site such as www.un.org or other sites. Ask a friend to type that IP address in their browser and voila! He will be directed to your hand-made web site. Remember from the previous post that if your default home page is not "index.htm" you have to configure "httpd.conf" file accordingly, or type "http://98.227.112.49/home.html". You have a web hosting of your own free. This IP address is subject to arbitrary change by the provider. It is dynamic for ease of maintenance. People join to and opt out from a provider and their address will be given to others. You also may change the provider or your residential. It also cannot be remembered easily. It needs a mnemonic to help to memorise. There are companies on the Internet that provide you with a free client software for maintaining a constant connection of the Internet with your potentially changable IP through a mnemonic of your choice. These companies are called "Dynamic DNS Provider" or such. You can use your favourit search engine to find one. By client I mean the old PC that is being used for your in-the-home web hosting. It is necessary that you subscribe to such a free service. Then download and install the client software on the "client" following their simple instructions. This mnemonic is not a top level domain such as www.anexample.org. It is a subdomain such as "subexample.anexample.org" Mine is messiah.dyndns.inf. I got dyndns.inf from free DynDns' many available options. I mention their name as a gratitude to the free service. If you like to have a top domain name, then you have to buy one by paying £5 ($8) (at the time of writing this article) a year. Many of more attracting names are being used by others or are bought to be kept to sell for higher prices. After purchasing that domain name or if you already have one, then you can redirect your top domain name through that dynamic IP provider to your home made web site. dynamic IP provider tells you how you should do that. (freedns.afraid.org starts by default from a top domain name of yours. Their dynamic DNS service is also free. With £5 ($8) a year (at the time of writing this article) you buy a domain name from any seller and then redirect it through dynamic dns and nameservers of freedns.afraid.org to your home web server.) You should follow guidelines to maintain your down-time to minimum per year. It is easy to surpass in quality over an expensive web hosting if you minimise load of that web server machine. Do not use it for other purposes and do not put more than the minimum of operating system software on it. Uninstall additional software (sometimes called bloat-ware) that comes with an operating system and has not any use for your web server. It is possible to gain an old PC with an OEM Windows XP installed under £20 ($30) or sometimes drastically less than that on the eBay now a days. You can upgrade it to a 3GHz CPU, 3GB RAM. The bad thing about a desktop PC is its electricity consumption and noise that it creates. Bad thing about old laptops is that you cannot upgrade its cpu easily and old laptops normally cannot accept more than 1GB of RAM. By the end of 2012 Britain will be the first country that all its communication network will be on the Internet. There will remain no conventional telephon switching after that. Thanks to optical fiber on your door, speed of connections are not subject to trafic load and distance and is constant all around the clock. Hosting at home is the next asset that you can have besides being just consumers of the other web sites. At the end this is very pleasing job to accomplish. It is fulfilling like ham radio and DXing, when you were producer of your own equipments instead of buying them. After preliminary set up of the site, there'll be many Elmer's notebooks on the Internet that paves the way towards full professionalism. For example, click on this link, http://messiah.dyndns.info/CodesForUs.html. You can find that I have moved part of this blog on into that web site at my home. (Thanks to Grant Hardy who edited this post from the US)
(Update : See also this post Web Hosting at Your Home (Revisited) )
For example, log into your router and click on "Basic Setup" you find it as
(Update : See also this post Web Hosting at Your Home (Revisited) )
Update, 25 March 2014 : You might find these two wikis useful, too.
They include images and are step-by-step.
Moving from Microsoft Office Live Web Hosting (3): How to Create a Free Web Hosting in Your Home (1)?
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) If you are on a broadband and have an old computer or laptop and have a taste of hobbyist tinkerers jobs, you might be eager to become your own host for your website. (This is a continuation of two previous posts in moving from OL.) That could become more powerful than a purchased hosting. You need to download the Apache http Server which is a free software (GPL compatible) for serving your website to public. Install Apache server on your old PC. Well, my platform is a Windows XP Professional SP3. I have not tested that on a Unix yet. I'll do it and update this blog. I double click on downloaded software (it is Microsoft Installer file format, .msi). After some routine procedures, this dialogue asks me for some information.
Information I put could be arbitrary. Later, I can configure them if I like. Next I select a custom install.
I have an Apache home directory already in my computer as "C:\JavaHome\ Apache Software Foundation" inside my Java home directory. I change the default of http server to this directory, as "C:\JavaHome\ Apache Software Foundation\Apache2.2"
Yours also could be any directory of your choice. After finishing installation, an "Apache Server Icon" appears on the quick launch tray of your desktop. Inside the Apache2.2 folder there are other folders. Please open "htdocs" folder and double click "index.html" it opens in your default browser showing "It works!" as the sign of success in correct installation of Apache http server. Next to "htdocs" you may notice the "conf" folder. Please open the directory to find the "httpd.conf" file inside it. Add a ".txt" extension to its name (i.e., httpd.conf.txt) to be able to edit the file in a notepad. (Frequently I open many of such files in NetBeans IDE). Find this line inside the document (it is line 179):
Please not I made the original one commented out by putting pound (#) in front of the line, and added my own home server directory in its place. I immediately make "C:\Web" directory shared in my Windows "WorkGroup" such that I can work on it from my desktop PC. In this way I never have to go physically to that laptop anymore. This sharing is only on your own Work Group and is nothing to do with public network. Please go further down in the Config file to get to:
Change it as to your newly created root directory of yours,
Now save and close this file and remove the ".txt" extension from its tail back to its original "httpd.conf" Left click on the "Apache http server icon" on your desktop tray and then click on "Restart" on the drop down menu choices. tool tip text shows "All Apache Services Running" Now start to create your web site. Open "C:\Web\MyWeb" directory and on a note pad create any simple html. Then "save as" it as a index.html, or default.html, or home.html. I am running everything from default.htm as I have transported my web site from Microsoft Office Live (OL) and like to minimize my workload during the transition. I have created all three with similar content. That makes it more transportable. But, please note that "httpd.conf" file has a default of its own as the "index.html" that serves on connection. You know that when you type "http://www.anexample.org" in your browser. It brings a default page such as " http://www.anexample.org/homepage.html. " This can be determined in the "httpd.conf" file as we can see,
You can change it to home.html or default.html or comment it out by putting a pound (#) sign in front of the line 242. If you do not create an "index.html" page as your default home page, the www.anexample.org opens a page with a folder/file tree of your websites including everything you have in the "root directory" you created above. To check that I delete my index.htm page. I have three links here for the test: http://messiah.dyndns.info/ and http://messiah.dyndns.info/Home.html and http://messiah.dyndns.info/Default.html (These as I said could be slow or down due to I turning off the old top.) Later, I explain where "dyndns" comes from.
In the same directory I create four folders as, "documents" and "images" and "cgi-bin" and finally one I need as "PDFs" One might like to have other folders such as "downloads" or "stylesheets" or"JSes" and so on. In contrast to that, I put my css files naked next to index.html, also if any js file. I have none of this type yet. Next I should open the firewall to allow access of the Internet into that server. I log into my router. (I can log from any computer on my hub.) I click on "Port Forwarding Option/Port Triggering" in my NetGear router it is like this:
Your port forwarding could be blank, so you need to "Add Custom Service." Fill the necessary fields, as described. "Server IP Address" is the fixed IP address given by the hub of your broadband router to the old computer that you are using for your home web server. You can find it by clicking on "LAN Setup" on the left hand pane of the router. I found it as "192.168.1.7" for me. It almost always starts with "192.168.0" for all connected device. Mine starts with "192.168.1" for all device. After configuring the "Port" please type http://localhost/ in your browser (local host is the loopback to your web server) or if you have a "home.html" type http://localhost/home.html in your browser that takes you to the home page of your "Home Made" website. Next, "How your site becomes visible on the Internet?"
(Update : See also this post Web Hosting at Your Home (Revisited) )
I have an Apache home directory already in my computer as "C:\JavaHome\ Apache Software Foundation" inside my Java home directory. I change the default of http server to this directory, as "C:\JavaHome\ Apache Software Foundation\Apache2.2"
Yours also could be any directory of your choice. After finishing installation, an "Apache Server Icon" appears on the quick launch tray of your desktop. Inside the Apache2.2 folder there are other folders. Please open "htdocs" folder and double click "index.html" it opens in your default browser showing "It works!" as the sign of success in correct installation of Apache http server. Next to "htdocs" you may notice the "conf" folder. Please open the directory to find the "httpd.conf" file inside it. Add a ".txt" extension to its name (i.e., httpd.conf.txt) to be able to edit the file in a notepad. (Frequently I open many of such files in NetBeans IDE). Find this line inside the document (it is line 179):
You have to change the "DocumentRoot" to your desired directory. I have created a "C:\Web\MyWeb" directory on my old laptop. Hence, I change to:
Please not I made the original one commented out by putting pound (#) in front of the line, and added my own home server directory in its place. I immediately make "C:\Web" directory shared in my Windows "WorkGroup" such that I can work on it from my desktop PC. In this way I never have to go physically to that laptop anymore. This sharing is only on your own Work Group and is nothing to do with public network. Please go further down in the Config file to get to:
Now save and close this file and remove the ".txt" extension from its tail back to its original "httpd.conf" Left click on the "Apache http server icon" on your desktop tray and then click on "Restart" on the drop down menu choices. tool tip text shows "All Apache Services Running" Now start to create your web site. Open "C:\Web\MyWeb" directory and on a note pad create any simple html. Then "save as" it as a index.html, or default.html, or home.html. I am running everything from default.htm as I have transported my web site from Microsoft Office Live (OL) and like to minimize my workload during the transition. I have created all three with similar content. That makes it more transportable. But, please note that "httpd.conf" file has a default of its own as the "index.html" that serves on connection. You know that when you type "http://www.anexample.org" in your browser. It brings a default page such as " http://www.anexample.org/homepage.html. " This can be determined in the "httpd.conf" file as we can see,
In the same directory I create four folders as, "documents" and "images" and "cgi-bin" and finally one I need as "PDFs" One might like to have other folders such as "downloads" or "stylesheets" or"JSes" and so on. In contrast to that, I put my css files naked next to index.html, also if any js file. I have none of this type yet. Next I should open the firewall to allow access of the Internet into that server. I log into my router. (I can log from any computer on my hub.) I click on "Port Forwarding Option/Port Triggering" in my NetGear router it is like this:
Your port forwarding could be blank, so you need to "Add Custom Service." Fill the necessary fields, as described. "Server IP Address" is the fixed IP address given by the hub of your broadband router to the old computer that you are using for your home web server. You can find it by clicking on "LAN Setup" on the left hand pane of the router. I found it as "192.168.1.7" for me. It almost always starts with "192.168.0" for all connected device. Mine starts with "192.168.1" for all device. After configuring the "Port" please type http://localhost/ in your browser (local host is the loopback to your web server) or if you have a "home.html" type http://localhost/home.html in your browser that takes you to the home page of your "Home Made" website. Next, "How your site becomes visible on the Internet?"
(Update : See also this post Web Hosting at Your Home (Revisited) )
Wednesday, 13 July 2011
Moving from Microsoft Office Live Web Hosting (2)
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) Already I have checked that how far my web pages are relying on Microsoft Office Live (OL) css files on the host servers. Wherever I go I should have access to these files. I know that those files and their paths remains on-line for a while but if in a weekend the host decides to deprecate all of them, decommission the old servers then I'll be in trouble. Although some people have put them available online, I should have a copy of my own site saved on my own desktop or somewhere in my possession. It is easy to extract them. I give their paths to W3 CSS validator, (click) here. To find the path you can right-click on your pages in the browser and open "View Source." In the document, inside the <head> part of the document. You will find the links to css files like this,
I paid $162 ($132 +$30 VAT) for three years. At the portal there is no mention of VAT. Therefore the VAT is hidden from the potential buyer, which is not acceptable for me with the ethics of a teacher. There was no mention of the fact that for the non-profit organisations they have cheaper plans. Also this is an introductory fee. Renewals are as much as twice of this price. I might decide to renew after three years or even make it automatic due to my age. However, many of the people now a days use the "switch-to-next-cheapest-offer scheme." Competition is fierce and diverse in webhosting and gradually in cloud computing in general. See, purchasing car fuel or domestic utility or even Internet Service Provider or cable TV normally narrows down to limited sources but it is not for things such as the web hosting. There are cheaper introductory offers but not as good as this one with such a long track record of hosting. Immediately after subscription I uploaded all of my OL pages as html to my dashboard into the root and into the folders that I have created. I uploaded my CSS files into the root directory. Using their robust editor, I corrected the above mentioned codes to
(Update : See also this post Web Hosting at Your Home (Revisited) )
<link href="http://cdn1.officelivecontent.com/2.02.4131.0/WebHosting/_layouts/1033/wh/stylesV2/masterroot.css" type="text/css" rel="stylesheet" />Copy http://cdn1.officelivecontent.com/2.02.4131.0/WebHosting/_layouts/1033/wh/stylesV2/masterrootto .css part and past it on the text field of W3 CSS Validator and press "Enter." All the CSS file content comes on the page. Copy them and paste on a notepad. Save it as, say, masterroot.css and keep it. I have put my used files, MasterRoot, Tables, and Theme available if you like save them and open them on notepad or using your favourit editor. The file can inspire you, later, when you become more aggressive towards building your site with richer interactions, to modify it and customize it and perhaps correct it on established standards (e.g. use % for font size rather than px or pt) for your personal requirements. Look inside the CSS files, find out what you do not have as your own asset such as, url('../../../wh/images/icons/slideshow_buttons.png'), but you are using them in your pages. Right click on that resource on your related pages and save the pictures with its defult name on your own computer. Later, chang that URL to url('/images/icons/slideshow_buttons.png'). Now, you are ready to be weaned from free milk and it is necessary to pay couple of pounds (you might have to pay dollars or euros) per month. It's worth having it if you gain ad-free hosting, with unlimited disk space, bandwidth, and diversity of uploading file formats. So far my website was very simple. I even could not add a download counter to it. It was enough for me since I do not have a business to promote it on my site as a show window. I do not want to be employed either to attract the head hunters. Nevertheless, I like to experiment new ideas and write them down. After lot of research I could find a place to meet my demands in having a hassle free hosting. That gives me a free domain name if I need one. But I did not need another domain but what now I have and easily can transfer to them as registrar of the domain after now. I can keep the present registrar but my selected web hosting has a scheme that helps a life time free domain name registering. As I am a retired person I like to have a guaranteed place to keep my website at least for ten years after me. I had to select a place that already has shown that resilience not like mushroom firms that come and go without being adhered to any liability. The very cheap hosting I found is the oldest in the market too. I liked to have the best customer service. I have many questions and cannot adventure on googling questions and ramble through forums that you see questions are asked in 2005 and by now has not received any answer. I did not like to receive everyday an unsolicited email to ask me to upgrade to a VIP or pro or such type of equivalent products. I needed to have secure place with up-time almost near to 100 percent. I found it here. I am paying £3.0 ($4.5 US) a month.
(This site is an ad-free education site but for only from 1/March/2012 to 30/April/2012 as a help to pass my experience to many who have to move from free OLSB before 30/April/2012)Disclosure: I am a professional able to review IT related products and may receive compensation from the company whose product I advised here, ONLY if you buy through this click (you also may get discount). I tested the product thoroughly and give high marks to only the very best, but I do not accept ANY paid reviews at all. I do not review any other product on any of my ad-free, non-commercial sites and the opinions expressed here are my own. |
<link type="text/css" rel="stylesheet" href="/MS_MasterRoot_CSS.css" />Purposefully I changed names of the CSS to my desired ones. I uploaded all the images, too. In contrast to OL, I could organise files into the subfolders. I uploaded CSS files into the root. In half a day my site was up and running with a look completely similar to my OL site. You can compare this two sites at (click here please) OLSB (07/March/2014: no longer exists) and at its new (click please) host, or even on my home toy Apache web server that I have implemented on an old laptop (please click here; this could be slow and sometimes down due to turning off the laptop).Structure has completely migrated in half a day. Details, I have time and gradually do them. I have left the green default of OLSB background as it is (when you refresh a page it flashes green). It is for the test of my codes. Later I change it to transparent in the CSS. Please look at the bottom of the page it is validated by W3C, both for html code and for the CSS. I put this page for comparison since in its creation I only had used OL default aspx editor, not my own html pages launched from the "Documents Gallery." Due to more control on style, my new page is more meticulously designed. Bulk of my work have been done. I am enjoying my new freedom. I have loads of things ahead to do and to learn (thanks to my friend "Phoenix" for his discussions). A panic has happened among some, perhaps more than half of the OL free guests. It is as easy as this to solve. I have worked on Google hosting almost from a year ago. It is very basic and rough and inflexible. It is good to practice things around but not rely on it to be used as a host. It has no place for any adventure and is far more basic than OL with no guarantee of any customer service. Next, How to Create a Free Web Hosting in Your Home?
(Update : See also this post Web Hosting at Your Home (Revisited) )
Update 07/March/2014 : by doing differen experiments and as it is now well known for all designers, I demolished my entire web, built it based on HTML5, CSS3. My site follows a single CSS file. Using tables for layout and partitioning of web pages is completely wrong. Search engines ignore most of the contents inside any table rows and columns. I built all the pages with division (div) html tags. I created templates for pages and in a production line manner, I exported my pages to new layout. CSS3 has facilities for header, footer of pages, for different media, images, video and so on and compatibility with older Internet Explorers versions can easily be overcome. Poor parts of the world might still use IE versions before IE9, but it is their own choice since they can use free and modern versions of Mozilla browsers. I easily have created my own wiki, php files, download counters, and even (though not necessary) a basic analytic. I have a back up of my site on my own personal home web hosting (and also on a 700MB CD) that enables me to change to any host at any desired time. Therefore, good bye to everything that is not under my own control and understanding.
Moving from Microsoft Office Live Web Hosting (1)
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) Frequently in the past I have written about tuning of Microsoft Office Live web hosting. This was a generous flexible tool offered by Microsoft essentially for small businesses to help them to have a decent hassle free presence on the web without cornering them to buy anything from the host. You even could remove that small font link and logo of the host at the bottom of created page. (I never removed it, as I believed that should be promoted; when one gets one should give.) Its editor was the best in terms of robustness and flexibility and design among any on-line editor I ever had experienced. One could bypass that editor by creating his own page and launching them from the "Documents Gallery" of his own. Not that you could produce one of those aggressive websites with different capabilities that is possible to run from a full blooded paid hosting, still enough to learn and keep the fire aflame. Besides tens of thousands of small businesses using that facility for income, there were ten folds of them used the hosting for personal non-profit applications such as educators, charities, different churches of different religions, artists, writers, political protagonists, anybody who wanted to have a voice on the Internet or had something to offer free to the public. This was a great altruism. And one knows that altruism pays. When a computer enterprise promotes free presence of public on the Internet, at the end there'll be a queue of enterprises in some indirect manner in front of its own sales department. But should not forget the lesson of Sun Microsystem. Sun was a computer "Robin Hood," earning from big enterprises but lavishly spending for any geek (perhaps I mean cool) ideas around. It was a funky cafe, in the eyes of nerds to come and test their tastes. I frequently had received free Amazon vouchers, tee shirts, mugs from Sun just for writing a couple of lines as a comment, or a good bug report, without ever asking. There were supports for hundreds of projects without obligation to finish them. Free software, tools, and tutorials were available in every corner of Sun Microsystem, in galore. Return was good as Sun was enjoying having seven billion dollars just in cash in its backroom safe. But when enterprises started to fall, that cash was spent in few months without Sun having a cushion from backbone of more population. Oracle took over the Sun and accepted prudently many of the legacies of Sun Microsystem. Oracle has not any bad reputation as an aggressively business oriented company. Even I do not believe, in spite of many contrary ideas, that such a bad reputation exists for Microsoft. Essentially IBM, Microsoft, Oracle, Sun, Intel, Google, and many other similar companies are based on a founder and a population of employees mostly from the nerds with deep tendency to fulfill a mathematical curiosity than earning the money. Still, I believe, Oracle should keep the name of Sun in a similar way to that of Ohm, Siemens, Volt, Watt, Ampere, and such reputable names. I fell a bit far from my original discourse. Now, Office Live is being shut down. At first, I was somehow bitter, hearing the news. However, now I understand why Microsoft has made such a decision. It was not possible for Microsoft, especially in present financial situation of the world to maintain an activity which is not part of its expertise and statement of mission. Add the fact that most of those customers are not deeply engaged in design of a website. Microsoft has offered a paid hosting as part of the Office 365 on-line suite. That Office 365 is a good and well designed product seamlessly coordinated with Microsoft Office, but its web hosting is far weaker and more basic than Office Live and for one who needs only web hosting is useless and expensive. Therefore, many of OL users are decided to move. Thank you Microsoft for hosting my site. I learned many things from you and received support of a paying customer, but now it is time to adventure in open space and stand on our own feet. How can we move? It is subject of the next post.
(Update : See also this post Web Hosting at Your Home (Revisited) )
(Update : See also this post Web Hosting at Your Home (Revisited) )
Wednesday, 16 March 2011
W3C Validator Compliancy for Microsoft Office Live Web-Hosting and Facebook Buttons (2)
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) I needed to add few words to my previous comment when I was experiencing for compliance of my website. First, I said that I use Microsoft Office Live (OL) templates. That is a good practice. Design of OL templates are done by the very competitive professionals in the industry. Thus should not be retired easily. An example is implementing the idea of "zones." That makes doing things easier. Or the site maps so neatly designed. Or the OL visitor reporting Java Scripts. I keep as much of them as possible. I use all the facilities provided by OL such as their css and js files. I learn lot from them. Still, if I would not create my web, based on pages loaded from Document Gallery and I had limited myself in using pages created solely by the Microsoft Office Live, then I could not use a panoply of editors and other tools that I have on my ease in my local computer, without being have to sign in and open the OL console. I create my page, on my own desktop, by adding an "_AA" to the beginning of the file name. That takes it to the top of the list of OL Document Gallery and when I delete it to put a new one I do not delete a working page inadvertently. I test the page and debug it completely. I add the validator codes to it to be able to test it frequently. W3C validator also helps in finding and removing errors of the page. I delete and upload again and again and when I become sure about all aspects of the page then I add its file name to the directory of my web site. I change its name to whatever it should be, and then I upload it. On the other hand I have implemented an Apache web server on an old laptop at my own home. That mirrors my OL website and is connected to the Internet by a DynDs free domain name (perhaps later I can convey my observations about how to set up such a facility at home). My OL site pages, both root and Document Gallery pages have dependencies to different css and js and asp files from Microsoft hosting servers. On my toy home server I try to reduce all those dependencies to nill. I do it in a very neat manner with a system analyst approach. For example I do not create new dependencies to new providers, say free cgi hosting or other freely offered servers or thirty days trials. It has one root page, and a document gallery (Documents folder), and an image gallery (Images folder). I can add my own css, js, cgi, name space, and experience with ajax. I try to make it robust and be validated with strict standards. It is said that web designers should not have qualm with W3C validator or other strict QC criteria, and it is a geek obsession to meet such strictness. As an example you frequently hear that an average Amazon page has 17000 error and warnings through a W3C validator gauging. This is not a relief. Computer is the product of very well organised people specially pioneer system analysts. If during the design we follow few easy steps then the entire Internet becomes more smooth and cheaper to experience for those who are only users and actually pay back the expenses of the producers and have not time for technical difficulties that might be the result of relegating the standards. After all, I backup my entire site on a DVD. In this way my web site will be completely migrate-able in a snap of finger. It is like a duffel bag ready to be deployed anywhere. My next goal is to validate this blog spot.
Wednesday, 16 February 2011
W3C Validator Compliancy for Microsoft Office Live Web-Hosting and Facebook Buttons (1)
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) I already had some of my experiences with Microsoft Office Live (OL) web hosting, which came useful for some of the visitors of this Blog. Recently my daughter had a look at my website with her FireFox browser and noticed that some pages of my site was not much readable from non-IE browsers. That gave me the idea that I should make my site standard based on the WWW authority criteria. I already had used the generic ASP template of OL, but with the loading of my designed pages from Documents Gallery of OL rather than the root directory. That makes the custom design more practicable. I can keep a couple of pages or even only one page in the root and the remaining pages of my site in the OL Document Gallery. (Even if you had an Apache server as your own personal host you would do that. This makes migration and other tweaking easier, too) Yet, using a note-pad for design meant no way of controlling it for the errors and we know that browsers are robust entities that interpret and run any design without much taking heed to errors or informing us about them. To control the errors I needed an intelligent IDE for design of pages. There are few free IDE's available, including Microsoft Visual Express Studio (now version 2010). I preferred to use NetBeans (NB) IDE latest version. Both IDE's have intelligent interfaces with capability to suggesting a list of possible codes and showing errors. NB shows mis-spelled words too. Hence, I opened one of pages with that IDE. Lo, and behold! All the lines were underlined with red as the error laden codes. Tables were not nested properly, tags were not furbished with correct way of tag-ending. Tags were used in wrong positions. Some tags and attributes were deprecated. A mixture of capital and lower cases were used for some tags. But the most important I found was the "Standard" that you declare at the top of the document from the W3C source. Some people have got the wrong idea that if you declare, say, two standards as HTML 4.01 and XHTML 1.0, it is helpful for interpretation by browsers. They say if you forget "/" at some tags like <img> then the page complies. This is not a correct way of practice. Hence, I decided to select one that looks easier to follow. I typed <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >. I knew that there is no compromise on capitalisation. For example, if I write "/tr/" in place of "/TR/" an error occurs. That forces me to change <html> beginning tag to <html xmlns="http://www.w3.org/1999/xhtml">. Having typed that, all the error points changed and their number reduced but new errors came out. <br> without ending "/" is not allowed. I used the "Edit -> Replace" command of IDE to do that job for me. Another simple change is that no tag or attribute or its value is allowed to remain capital. You cannot type <TABLE> or FONT-SIZE. They should be <table> and font-size, respectively. The funny thing happened when I used "Replace" command to change table row tags from capital "TR" to lower case "tr" Suddenly number of errors rocketed up. Yes, the before mentioned file path, "/TR/" in the topmost declaration for using transitional XHTML also had been changed to lower case. Using the "Replace" command should be acompanied with caution to prevent damaging capitalisation of the content of the page already written. If I want to change all the paragraph tags and their end tags from capital to lower case with one command and with no qualm about the content I should say (to include end tags, as well) replace "P>" with "p> " Then no capital P at the beginning of a sentence will be changed. (Peter will not come as peter!) I changed all the deprecated attributes to correct ones, as well, without being worried about any mistake. I changed obsolete "name" attributes to "id" attributes. I followed the rules of W3C in using the correct literal adjectives instead of using those which looks correct to a coder's mind. For instance nowrap="true" should be replaced by nowrap="nowrap". Align attribute for image tag is "middle" but in other places it should be "center". I could not use <li> </li>without nesting them in <ul></ul>. I used the automatic intelligent tabs of the IDE to gradually correct my tables nesting structures by checking the returning columns of line-feeds until each table and each row and each column of it become closed at the right position symmetric to opening tags. Once you put the "id" of a data column in a row of a table it is not necessary to repeat it in other columns (one of the common errors of my OL template). I continued until my file opened in the NB IDE didn't show any error or any warning. I deleted the old file from the Microsoft Office Live Document Gallery and uploaded the new file then I went to W3C site and checked my newly uploaded page. Congratulation page appeared for my web page. Now, gradually I am refurbing other pages. There are some tag extensions out there not in coordination with W3C bodies. One of them is the <fb:like> for facebook's "Like" button. or tags for embedding objects. If your page fails only for using tags like that but in terms of everything else is correct, use the W3C emblem. The visitor can check and appreciate that you have been meticulous in your design, but only failed for a widely used tag not yet been standardised. At the same time time put pressure on developers of Facebook, Creative Commons and some other important web entities to standardize their codes with neater extensions by offering them through RFC or other means to decision making committees of www. (I haven't checked, yet, if I can nest them as CDATA inside a script tag as work-around to pass the validator check, but I'll do and inform you later.)
Update 17/Feb/11: I worked it out now.
Change your <html xmlns="http://www.w3.org/1999/xhtml"> tag to <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb=http://developers.facebook.com/schema/> to accommodate for Facebook extension. Then at the place that you wanted to plug the Facebook button in add the following Java Script:
Change attributes according to your requirements and taste. Please note that CDATA is commented out. My "Downloads Page" with "Facebook" button, now have passed the W3C Validator check successfully.
Update 17/Feb/11: I worked it out now.
Change your <html xmlns="http://www.w3.org/1999/xhtml"> tag to <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb=http://developers.facebook.com/schema/> to accommodate for Facebook extension. Then at the place that you wanted to plug the Facebook button in add the following Java Script:
Labels:
Microsoft Office Live,
W3C compliancy,
W3C Compliancy For the Facebook,
W3C Validator,
Website Design
Monday, 31 January 2011
Dysprosium: Messiah's "Codes For Us" PDF Software Package Under Way
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) This is an obsolete content. Some updates can be find at the bottom of this post. Now I have fulfilled part of my promises for a free PDF software suite, without overly bloating it. Under different stress tests I have done , there appears a couple of issues. For example, some rare happening exception would not report them in a relevant dialogue. As the software, in contrast to some other software, keeps the original file untouched, these exceptions have not a damaging edge. But, in principle, they should be reported. Other important issue is when PDF files exceed a size of 0.5 GB. One needs to have enough resources in their computer to handle them. All other applications should be closed. I have tested merging of two 450 MB files with 4GB of RAM and effective CPU speed of 4.5 GHz that takes almost (less than) ten minutes. We could push the software to the limit of PDF standard of total merged file of 3.6 GB (700,000 simple pages). I used both Windows 7, 64bits and the current Windows 8/8.1, 64bits. I had a quad core CPU 2.5GHz clock speed. I put 4GB out of 8GB of physical memory available for Java (this is only used only a couple of minutes when you are using large PDF files; it does not reduce your memory at other times). Hence, if an exception of "failed map" were thrown by very large files, it is likely due to lack of hardware resources thrown by native operating system, rather than my PDF merging software. We are on the course to be assured on those targets in first release candidate of "Dysprosium" in this current year. There are buttons in different places disabled for now. Their functions are under construction. Software will always remain free. "Free as we have in freedom and as we have in free beer;" quote from now a lost link on the Internet. We humbly become happy if we understand our work is of some benefit to other people and they are using it in ease. We have this powerful means and the related tools of communication thanks to millions of hours of free works offered by hard-working individuals all around the world.
(Dysprosium is registered to be used as the name for Messiah's "Codes For Us" PDF Software Package.)
(Dysprosium is registered to be used as the name for Messiah's "Codes For Us" PDF Software Package.)
Update, May 2016 : Dysprosium (Dolce edition) has been released (please click) based on iText from mid of April 2014 and smoothly on a nightly basis added more features and now I have deprecated many scattered pieces of PDF utilities I already released. There are so many features that I cannot write complete instructions for all of them. From other previous pieces only Signature manager has been remained to be integrated. I sorted out PDF viewer problem somehow satisfactorily.)
(updated : 26/May/2016) I have had over 60,000 downloads from 187 countries. All around the world, only 1 country in South America (French Guiana) and 1 countries in Asia (Democratic North Korea ) have not used Dysprosium Software, yet. The remaing countries not downloaded to this date (less than 10) are from the central Africa and perhaps some very small Island countries.
(Deprecated Paragraph : People contacted me regarding not fulfilling promises in creating an integrated software for different pieces of dysprosium in on single -and perhaps bloated- suite. My friend Grant Hardy is too busy with electronics and doesn't come around. Phoenix is also has committed himself in different web developments. I have been left alone and I am too old and feeble, but have progressed in some areas. For example, I have created a Complex Polynomial Calculator; download here. I postpone my promises towards end of this year. We had some joy with majority of algorithms in recovering lost owner's passwords. Well, I succeeded in a relatively fast password cracker but won't publish it. People who have lost their password might like to use other things available out there. We fulfilled all my promise at this date 26/May/2016.)
Sunday, 9 January 2011
Encryption Tablet
(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.) Now the encryption tablet (version SB3) is out. You can use it to create a keystore and public private keys with different key algorithms, key sizes and signature algorithms. Also it is possible to create a secrete key from the keystore. Utility can be used to create PFX (PKCS#12) files from the available public-private key pair files. You might use the software for creation PEM files from the PFX file, or convert the PEM file to a DER file. Other features of the software includes printing the Finger Print of the certificate to a text file (.fp file can be read with a notepad). You can create a request CSR file for getting a certificate and then importing the certificate to the keystore. Another desireable feature is "JAR Signing," using any of the certificates you might have imported or created in the key-store with the known alias and passwords of yours. There are other features, as well, to utilize. At this date (09/March/14) help page is mostly ready, but under development. Please download from here (deprecated).
(09/March/2014: reported issue resolved. Although it is decades we have the poor "DOS" behind, still it shows itself here and there. Yes, it is recommended to install in a folder with no blank character in its name; perhaps, not even in parent path. Its own default unzipped folder is the best.)
(09/March/14: Now a visual help page is available here for converting PFX to PEM and to DER format part of the (deprecated version) software. Please have a look for further assistance.)
(09/March/14: An improved version uploaded this weekend. All bugs fixed; very stable. Interface as shown below. Visual help click here.)
Subscribe to:
Posts (Atom)