Wikipedia:Reference desk/Archives/Computing/2014 September 2

= September 2 =

the text "chapter no # " missing
I m writing a thesis using a thesis template in latex, But I have problem with the title of chapter. In my thesis each chapter starts with only chapter name but before this the text "Chapter No ... " is missing.I want this to appear. thesis style file has the following code at start: please help me to overcome this — Preceding unsigned comment added by 182.187.106.65 (talk • contribs)


 * Well, I don't know if it's 'missing', it's just not there :) Anyway, you can do this by adding the appropriate commands into an declaration in the preamble. My first guess is to try \atbeginchapter, but a quick google indicates that doesn't exist. This is the kind of stuff that I usually just google and experiment with. Also, consider that making it look just the way you want may not be the best use of your research time... if the template has passed muster at your university, I would urge caution before messing with it. Surely you have heard horror stories of a thesis being rejected because something was slightly off with the fonts or margins? This is why they pass around a LaTeX template, to help eliminate that risk. So it might be the case that doing what you want will cause your document to break the rules.
 * Anyway, see here, for a discussion of how to \renewcommand{\chapter} to change things around a bit. And you can also ask this question at that site, if you don't get enough satisfactory answers here. SemanticMantis (talk) 21:55, 5 September 2014 (UTC)


 * Oh, and I just realized that your last line is commented out. Try removing the % symbol to let the \renewcommand{\chaptermark} take effect, that might solve the problem tight there. SemanticMantis (talk) 21:58, 5 September 2014 (UTC)

What is the best code to use to create a WikiBot?
Currently I am learning HTML and CSS. Based on the list provided, is there a language that would best fit my needs? I plan to have a personal bot for large edits, and possibly another for fixing syntax differences such as: * compared to *. I have been suggested to use PHP or Python, although I would like to have a second opinion with reasons of versatility for the language. DC64 (talk) 01:20, 2 September 2014 (UTC)


 * There are some who give damning critiques of PHP. However, I have only heard good about Python 3. → Σ σ  ς . (Sigma) 01:22, 2 September 2014 (UTC)
 * I would say python is a good option as there is the Manual:Pywikibot framework which will do a lot of the tricky bits for you. PHP only makes sense if you have the code running on a webserver, say if you have an account on WP:LABS. With python it will typically run from the command line or via a GUI. You might find the actual type of edit you want to do is better handled with WP:AWB which can use regular expressions to make changes like turning  into   you may even find that sort of change is already done by WikiProject Check Wikipedia.--Salix alba (talk): 06:26, 2 September 2014 (UTC)
 * Pywikibot does not at present support Python3. I understand it is highly functional with Python2.x.- gadfium 03:08, 3 September 2014 (UTC)

Google drive permissible file types
Does Google Drive support arbitrary file types, or is there hidden away somewhere in their terms-of-service agreement some requirement that certain well-known file types be used? I've noticed that they've cut prices considerably, and a large mirrored cloud storage space is becoming affordable. I'm considering mirroring a dedicated disk (or two), where I keep encrypted, compressed versions of the stuff on my hard drives. 3TB, perhaps. I roll my own encryption scheme, and like to package the data in .WAV containers, so that I by listening can confirm that the content is truly random (white noise). ENT is nice for that purpose, too. This will of course thwart the deduplication that I suppose is the basis of Google's pricing. Could I risk that Google converts my WAV files to MP3... --NorwegianBluetalk 13:01, 2 September 2014 (UTC)


 * Google Drive will let you store binary blobs, at least if you're a paying customer. I think that rolling your own crypto and hoping to hear patterns in WAV files is a really bad idea, though. Use something standard like GnuPG. "Ent" looks like an untrustworthy home-brew utility as well. -- BenRG (talk) 21:26, 3 September 2014 (UTC)


 * Thanks, both for the info and the advice! --NorwegianBluetalk 08:30, 4 September 2014 (UTC)