FreeFileSync | Free Security & Utilities software downloads at SourceForge.net
Looking at this FREE software for backing up and syncing files.
So far, I like it!
A blog to record helpful tips/hints/tricks/etc. that I come across during my scientific career regarding science, computers, and research. I love learning and disseminating Knowledge.
Wednesday, June 5, 2013
Monday, January 28, 2013
LaTeX Tips: Displayed Math - adding sections, subsections, etc. to equation numbers
LaTeX Tips: Displayed Math
If you have a thesis or some other class/document type it may be different. In my case (UTK thesis/diss class) it automatically numbered 3.1 for chapters. So for "3.1.1" it was "section," and "3.1.1.1" I used "subsection."
How to number equations. By default, LaTeX will number equations consecutively, as (1), (2), etc., assuming you use the automatic equation numbering mechanism. If the paper is very short, or if there are only a few numbered equations, this is fine, but once the numbers get into the twenties and higher, a scheme that numbers equations by section, as in (1.1), (1.2), ..., (2.1), etc., is preferable. In fact, for the vast majority of journal articles, the latter is probably the best numbering scheme. To get equations numbered by section, just put the following into the preamble: " \numberwithin{equation}{section} ". For books, theses, or very long papers, an equation numbering scheme that is three levels deep (with numbers like (4.1.1), etc.) may be appropriate. To get this, just replace "section" above by "subsection", or the corresponding innermost level. The same mechanism works for other counters, e.g., theorem counters, instead of "equation".
If you have a thesis or some other class/document type it may be different. In my case (UTK thesis/diss class) it automatically numbered 3.1 for chapters. So for "3.1.1" it was "section," and "3.1.1.1" I used "subsection."
Friday, January 25, 2013
Tuesday, January 15, 2013
Monday, January 14, 2013
Windows - Nvidia - Display driver NVIDIA Windows Kernel Mode Driver, Version ???.?? stopped responding and has successfully recovered
Ok, so I am using my advisor's Dell Precision M4500 laptop for Windows (7 specifically). It has a Quadro FX 1800M card onboard with a driver version of 259.22 installed. I kept getting occasional screen freezes in which I had to reboot. Every now and then the system "recovered" and gave me this error:
Display driver NVIDIA Windows Kernel Mode Driver, Version 259.22 stopped responding and has successfully recovered
Finally sick of it, I googled and found this:
http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/display-driver-nvidia-windows-kernel-mode-driver/46f1f9d0-313a-4182-a56f-1604edf04448
The complaint:
NM!! Was watching a Youtube video full screen and it froze!!! Dammit! I don't think I'll ever by a Dell!!! Going to turn this POS in to get serviced!
Display driver NVIDIA Windows Kernel Mode Driver, Version 259.22 stopped responding and has successfully recovered
Finally sick of it, I googled and found this:
http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/display-driver-nvidia-windows-kernel-mode-driver/46f1f9d0-313a-4182-a56f-1604edf04448
The complaint:
Windows lovely response:
"Display driver NVIDIA Windows Kernel Mode Driver, Version 186.81 stopped responding and has successfully recovered." I keep getting this message since I installed Windows 7 Ultimate, it is only slightly different than the error message I got with Vista, please help!
If you have a desktop machine, get the latest drivers from here.. http://www.nvidia.com/Download/index.aspx?lang=en-us If you have a laptop, contact the laptop manufacturer as they are responsible for the proprietory drivers that you will need.. Mike Hall MVP - Windows Desktop Experience http://msmvps.com/blogs/mikehall/This is why I hate Windows!!!!! Thankfully the community pitched in. I first tried this:
After many weeks of Googling, going through 100 threads, trying many of the solutions (some of which being ridiculous like reformatting, replacing hardware, etc.), I found ONE POST that suggested what I can now confirm fixes this problem. Not "it hasn't happened yet, keeping my fingers crossed", but actually fixed. THE SOLUTION: Nvidia Control Panel -> 3D Settings -> Set PhysX configuration -> Select a Physx processor -> choose your graphics card instead of leaving it on auto-select.Like this^^^ user said, there are many fixes out there. This one^^^ didn't work. However, I found this nice post at the top and seems very reasonable since (total guess) I feel like over heating was a problem. This computer had overheating issues before when someone else used it, but it wouldn't stay one in their case. So far so good:
Ok guys, i fixed the problem... patched it at least... I had the same problem (different model same story... as everyone else) Nvidia and Windows 7 64 (read some problems with 32 too) don't get along too well.... i tried all solutions i found over the web, nothing worked.. Here is how i fixed it, i desactivated all windows visual goodies & stuff... Right click on my computer, go to property, then in left margin select: advanced system settings, third tab, called "Advanced" First option : Performance click on "settings", select "adjust for performance" that will uncheck everything, then you can keep the 3th and 4th from the end checked (smooth edges on screen fonts & smooth-scroll list box, if you want the webpages text to look the way they should.. quite essential to keep the font thing..) my system became stable after that, no more video card crash, no more Display driver NVIDIA Windows Kernel Mode Driver, Version (whichever i tried) stopped responding and has successfully recovered VERY STABLE, and very simple... looks like win98 but functionnality are fully there... (without even mentionning how much faster this thing boots... ) When you see it's working well & stable, add options, one at a time... (i would recommand the useful options you miss, not the estetic that looked good) i added "show thumbnails instead of icons" and it's still stable... that way, if it become unstable or start over again, you know wich one to uncheck... it works for now, and let's hope Nvidia will release new drivers that actually works soon,... hope this post will help other poor customers of Nvidia to stop those frustrating msgs... i figured i seen so many posts with that problems it was worth to post actually worked... have a good day all...I don't need or care for all the fancy stuff anyways. I do the same in Ubuntu/Mint with fallback or now Cinnamon because Unity seems to freeze with all the nonsense (nothing's perfect) and won't work (without much effort) with more than 2 monitors. Anyways, like I said it works for now and at least the performance is MUCH better. Looks like the old Windows 95 or 98 in places, but who cares?! Not me!!
NM!! Was watching a Youtube video full screen and it froze!!! Dammit! I don't think I'll ever by a Dell!!! Going to turn this POS in to get serviced!
Wednesday, January 9, 2013
Mark Shuttleworth Demos Ubuntu for Phones at CES 2013, Looks Really Slick, No More Lag! [Video] | Tech Drive-in
Mark Shuttleworth Demos Ubuntu for Phones at CES 2013, Looks Really Slick, No More Lag! [Video] | Tech Drive-in
Ok, so this is why Ubuntu has gone in its direction! Finally, one device for TV, tablet, phone, and desktop!! I can't wait to see this in action. C'mon Ubuntu! If they pull this off it will be bank!!!
This is what the Unity interface was exclusively designed for. Ubuntu/Cano may have put the cart in fron tof the horse in this instance, but Unity is more optimized for touch screen. I guess Ubuntu wanted to test it and run it as a desktop system (their strong link) before trying mobile devices such as phones, tablets, and touch screen computers.
Ok, so this is why Ubuntu has gone in its direction! Finally, one device for TV, tablet, phone, and desktop!! I can't wait to see this in action. C'mon Ubuntu! If they pull this off it will be bank!!!
This is what the Unity interface was exclusively designed for. Ubuntu/Cano may have put the cart in fron tof the horse in this instance, but Unity is more optimized for touch screen. I guess Ubuntu wanted to test it and run it as a desktop system (their strong link) before trying mobile devices such as phones, tablets, and touch screen computers.
Labels:
Ubuntu
Tuesday, January 8, 2013
Everything You Forget About LaTeX: Formatting Tables - Adding space to rows and columns
Everything You Forget About LaTeX: Formatting Tables
Column Width: \tabcolsep
Usage: \renewcommand\tabcolsep{6pt}
Explanation: tabcolsep is HALF the space between two columns. Default value is 6pt
Row Height: \arraystretch
Usage: \renewcommand\arraystretch{1}
Explanation: arraystretch is a FACTOR representing the distance between two rows. Default is 1
Landscape in LaTeX - Good for large figures and/or tables
http://texblog.org/2007/11/10/landscape-in-latex/
To change the page content but not the page layout use:
To change a section (for printing):
To change a section (for screen viewing):
where sections are wrapped in the environment
To change whole document to landscape use the command:
\usepackage[landscape]{geometry}
To change the page content but not the page layout use:
\documentclass[landscape, 12pt]{report}
To change a section (for printing):
\usepackage{lscape}
To change a section (for screen viewing):
\usepackage{pdflscape}
where sections are wrapped in the environment
\begin{landscape}
...
\end{landscape}
Wednesday, January 2, 2013
Wait is Over, Canonical Previews Amazing new Ubuntu OS for Smartphones! | Tech Drive-in
Wait is Over, Canonical Previews Amazing new Ubuntu OS for Smartphones! | Tech Drive-in
I haven't been overly excited nor impressed recently with Ubuntu nor Mint. However, this is in part due to upgrading Ubuntu versions without properly backing up because for some reason (this is a knock on Ubuntu) every time I (you) upgrade versions something breaks. For Mint, something has broken with the updates (on my laptop) :( ?!?!?
Anyways, an Ubuntu OS for smartphones (and tablets too, I hope) is freakin' awesome! Can't wait to see the final product!!
I haven't been overly excited nor impressed recently with Ubuntu nor Mint. However, this is in part due to upgrading Ubuntu versions without properly backing up because for some reason (this is a knock on Ubuntu) every time I (you) upgrade versions something breaks. For Mint, something has broken with the updates (on my laptop) :( ?!?!?
Anyways, an Ubuntu OS for smartphones (and tablets too, I hope) is freakin' awesome! Can't wait to see the final product!!
Sunday, December 30, 2012
Sage: Open Source Mathematics Software - Sage 5.5 Released
Labels:
Math Software,
Sage,
Sage 5.5
Tuesday, December 11, 2012
setspace - Double line spacing - TeX - LaTeX
setspace - Double line spacing - TeX - LaTeX
For double spaced lines in LaTeX (one line space between each line, e. g. so someone could write in the white space for editing purposes) I used:
\usepackage[doublespacing]{setspace}
For double spaced lines in LaTeX (one line space between each line, e. g. so someone could write in the white space for editing purposes) I used:
\usepackage[doublespacing]{setspace}
Labels:
double spacing,
Latex,
setspace
Wednesday, December 5, 2012
Linux Mint Forums • View topic - LM 13 maya cinnamon x64 network printer install problem (Setting up network printers in Linux Mint 13 Maya)
Linux Mint Forums • View topic - LM 13 maya cinnamon x64 network printer install problem
Had issues with the in house system settings printer config. I would type in the IP address and it only found a few printers, none of them are correct.
Had to use the command in the terminal: system-config-printer
This brought up a config tool which worked fine. I saved the program icon as a launcher in AWN.
Had issues with the in house system settings printer config. I would type in the IP address and it only found a few printers, none of them are correct.
Had to use the command in the terminal: system-config-printer
This brought up a config tool which worked fine. I saved the program icon as a launcher in AWN.
Monday, November 26, 2012
Linux Mint 14 with Cinnamon Desktop [Review] | OMG! Ubuntu!
Linux Mint 14 with Cinnamon Desktop [Review] | OMG! Ubuntu!
One opinion of Mint, specifically 14. So far, I love it. A great alternative to Ubuntu. Although, I haven't tried its multi-monitor support
One opinion of Mint, specifically 14. So far, I love it. A great alternative to Ubuntu. Although, I haven't tried its multi-monitor support
Friday, November 23, 2012
Sage - Download for Linux - Version 5.4.1
Sage - Download for Linux
For those keeping up, ver 5.4.1 has been released. I have kind of let Maxima and Sage fall to the wayside for now, like I've said before. For now python and Asymptote are working pretty well for me. If only I could get the contour plot to work in Asymptote...:(
For those keeping up, ver 5.4.1 has been released. I have kind of let Maxima and Sage fall to the wayside for now, like I've said before. For now python and Asymptote are working pretty well for me. If only I could get the contour plot to work in Asymptote...:(
Tuesday, November 20, 2012
Asymptote Graphics Package - A preliminary 2D plot
Alright, so awhile back, I think this past summer, I was experimenting with Asymptote in order to replace Origin. Origin is great and probably the best, but I only have access to it through Windows, and I am not a fan at all of Windows and even more Microsoft products especially Office such as Word and PP. So I am trying to find an alternative to Origin to create high quality publication ready graphs. I've briefly looked at SciDavis (a free Origin type software), but it is missing a lot of options and just doesn't look as good. There is also matplotlib for Python, but the images just don't look "right" as well (same can be said for Matlab, Mathematica, Maxima, and Sage plots). I dunno what it is, but for me they just don't cut it, so far. Now, Asymptote looks GREAT! However, it is command line based which may scare some people and there isn't much in the way of help and/or examples like say compared to matplotlib or Matlab which can be quite frustrating, especially if something doesn't work right off the bat and you have to debug and figure it out on your own. I had a bit of this, but once I got done I was ecstatic!
So for a 2D plot here is my example. I hope this helps at least one person. I would like to one day generate many examples if possible. I will post links later as I forgot where I found some help.
This is preliminary and I will be cleaning it up later. For the code:
Generates
In order to "run" or compile the Asymptote code, I used the built in terminal, Konsole, in Kile. I usually have the .asy file saved in a folder called something like Asymptote files. I then open the .asy file in Kile and click the Konsole button at the bottom. To run the file type in the terminal (make sure you're in the folder where the file is; it should be already there if you opened the file in Kile):
For an .eps file type: asy -V test or just asy test where test is the name of the file and -V brings the image up in a viewer.
For a .pdf file type: asy -V -f pdf test or asy -f pdf test
More later.
So for a 2D plot here is my example. I hope this helps at least one person. I would like to one day generate many examples if possible. I will post links later as I forgot where I found some help.
This is preliminary and I will be cleaning it up later. For the code:
import graph;
size(300, 200, IgnoreAspect);
real L = 2;
real a = 1;
real l = L/a;
real z = 0.5;
real z_ovr_l = z/l;
real sigma = 25;
real kappa = 1/(2*pi*l*sigma);
real u_z(real r) {return 2*pi*z*(cos(pi*(r^2)));}
draw(graph(u_z, 0, 1), "$u_z$");
xaxis("$r$", Bottom, LeftTicks);
yaxis("$u_z$", LeftRight, RightTicks(6,2));
Generates
For an .eps file type: asy -V test or just asy test where test is the name of the file and -V brings the image up in a viewer.
For a .pdf file type: asy -V -f pdf test or asy -f pdf test
More later.
Labels:
2D plot,
Asymptote Vector Graphics Package
Asymptote, a graphics software « Bubbles Bad; Ripples Good
Asymptote, a graphics software « Bubbles Bad; Ripples Good
A nice, short blog post on Asymptote and also a bit on MetaPost, MetaFont, and PGF/TiKZ.
A nice, short blog post on Asymptote and also a bit on MetaPost, MetaFont, and PGF/TiKZ.
Monday, November 19, 2012
tables - Change align of a single cell in tabular - TeX - LaTeX
tables - Change align of a single cell in tabular - TeX - LaTeX
Exactly what I was looking for!
Use \multicolumn{cols}{pos}{text} command.
Exactly what I was looking for!
Use \multicolumn{cols}{pos}{text} command.
Labels:
\multicolumn,
align,
Latex,
single table cell,
Tables
Sites which help with converting and generating tables
Table generator for LaTeX
Pretty cool.
Here is one for going from Excel to LaTeX tables.
http://www.acsu.buffalo.edu/~gregoryt/exceltolatex.html
^^^I think this link is dead which sucks cause it was nice and easy. However, I found something else which is pretty nice. A GUI called LaTable:
http://zigzag00.blogspot.com/2010/08/latable-easy-way-to-write-tables-in.html
Pretty cool.
Here is one for going from Excel to LaTeX tables.
http://www.acsu.buffalo.edu/~gregoryt/exceltolatex.html
^^^I think this link is dead which sucks cause it was nice and easy. However, I found something else which is pretty nice. A GUI called LaTable:
http://zigzag00.blogspot.com/2010/08/latable-easy-way-to-write-tables-in.html
Sunday, November 18, 2012
Placing LaTeX .sty files in Ubuntu/Mint/Linux
Ok, so since switching to Mint I had to reinstall all software programs including TeX Live. I forgot that I had installed the latest version TeX Live 2012 in Ubuntu from this post so I just installed from the repositories which is version 2009 (uses the same or similar repositories as Ubuntu) for Mint 13.
I was trying to compile a .tex file in Kile when I received an error stating that the bigints.sty could not be found. Now there are a few ways to solve this. One is to install TeX Live 2012 which is what I did before. Two is to download and install the bigints.sty file from
http://www.tex.ac.uk/CTAN/macros/latex/contrib/bigints/
or
http://www.ctan.org/tex-archive/macros/latex/contrib/bigints
and then place it into the directory of the file you are compiling. This is a per file thing. if you want to install universally you can either install into the directory (for me at least) /usr/local/share/texmf/ where I found to go onto /usr/local/share/texmf/tex/latex. It is then suggested to create a folder named after whatever the file name is. So in this case something like /usr/local/share/texmf/tex/latex/bigints. However, I could not create a folder in Nautilus probably because I am not logged in as admin. I tried to open a terminal and did su and typed in my password and went back to Nautilus with no luck. I didn't feel like looking up the commands to do this in the terminal which would have probably worked fine especially since I saw an alternative I could try. This alternative is to create the same file structure in your home directory. This is useful especially if you DON'T have access as an admin. So I created ~texmf/tex/latex/bigints and placed the .sty file there. Oh, I also saw where you might have to run texhash which I did through Kile's built in Konsole. Viola! It worked!
I also noticed that there is a texmf-texlive file under the share folder so this might be a possibility as well if the other route through just texmf doesn't work.
Found help from the following links:
http://www.volkerschatz.com/tex/tpacks.html
http://tex.stackexchange.com/questions/39771/finding-a-ubuntu-package-for-a-sty-file
http://stackoverflow.com/questions/1911713/add-find-style-files-in-to-latex
http://ubuntuforums.org/showthread.php?t=334047
I was trying to compile a .tex file in Kile when I received an error stating that the bigints.sty could not be found. Now there are a few ways to solve this. One is to install TeX Live 2012 which is what I did before. Two is to download and install the bigints.sty file from
http://www.tex.ac.uk/CTAN/macros/latex/contrib/bigints/
or
http://www.ctan.org/tex-archive/macros/latex/contrib/bigints
and then place it into the directory of the file you are compiling. This is a per file thing. if you want to install universally you can either install into the directory (for me at least) /usr/local/share/texmf/ where I found to go onto /usr/local/share/texmf/tex/latex. It is then suggested to create a folder named after whatever the file name is. So in this case something like /usr/local/share/texmf/tex/latex/bigints. However, I could not create a folder in Nautilus probably because I am not logged in as admin. I tried to open a terminal and did su and typed in my password and went back to Nautilus with no luck. I didn't feel like looking up the commands to do this in the terminal which would have probably worked fine especially since I saw an alternative I could try. This alternative is to create the same file structure in your home directory. This is useful especially if you DON'T have access as an admin. So I created ~texmf/tex/latex/bigints and placed the .sty file there. Oh, I also saw where you might have to run texhash which I did through Kile's built in Konsole. Viola! It worked!
I also noticed that there is a texmf-texlive file under the share folder so this might be a possibility as well if the other route through just texmf doesn't work.
Found help from the following links:
http://www.volkerschatz.com/tex/tpacks.html
http://tex.stackexchange.com/questions/39771/finding-a-ubuntu-package-for-a-sty-file
http://stackoverflow.com/questions/1911713/add-find-style-files-in-to-latex
http://ubuntuforums.org/showthread.php?t=334047
Labels:
.sty files,
bigints.sty,
Latex,
Tex Live
Wednesday, November 14, 2012
Fallback Mode (Classic Session) To Be Dropped From GNOME 3.8 ~ Web Upd8: Ubuntu / Linux blog
Fallback Mode (Classic Session) To Be Dropped From GNOME 3.8 ~ Web Upd8: Ubuntu / Linux blog
Hmm, not sure what to think here. I guess this means Ubuntu as well? Dang, as I am not liking Unity anymore. It seems to be heavy resource wise. Plus, I can only get Gnome classic/fallback to get my quad monitors to work without much fuss. I've installed Mint with Cinnamon DE on my laptop, and I like it pretty well so far. I think I will use this if Gnome classic goes out the way. I tried to install the Cinnamon DE in Ubuntu, but I am not sure if it worked as it looks exactly like Gnome classic, which could be good, but I thought it would look more like Mint, I dunno.
Hmm, not sure what to think here. I guess this means Ubuntu as well? Dang, as I am not liking Unity anymore. It seems to be heavy resource wise. Plus, I can only get Gnome classic/fallback to get my quad monitors to work without much fuss. I've installed Mint with Cinnamon DE on my laptop, and I like it pretty well so far. I think I will use this if Gnome classic goes out the way. I tried to install the Cinnamon DE in Ubuntu, but I am not sure if it worked as it looks exactly like Gnome classic, which could be good, but I thought it would look more like Mint, I dunno.
Saturday, November 10, 2012
Header/Footer in Latex with Fancyhdr « LaTeX Matters
Again, I apologize for not updating as much and not being able to get to comments :(. Really busy with school and behind, but I am trying to make an effort to update a bit now!
Header/Footer in Latex with Fancyhdr « LaTeX Matters
Good blog post on a bit about the LaTeX package fancyhdr which controls and gives options for headers and footers.
Some other links:
http://en.wikibooks.org/wiki/LaTeX/Page_Layout
http://latexforhumans.wordpress.com/2009/01/09/fancyhdr/
http://timmurphy.org/2010/08/07/headers-and-footers-in-latex-using-fancyhdr/
As an example, I wanted to place a line at the bottom of the page (or footer) right above the page number for every page, except the title page of course.
Here is some of the "code."
Here is the result.
Header/Footer in Latex with Fancyhdr « LaTeX Matters
Good blog post on a bit about the LaTeX package fancyhdr which controls and gives options for headers and footers.
Some other links:
http://en.wikibooks.org/wiki/LaTeX/Page_Layout
http://latexforhumans.wordpress.com/2009/01/09/fancyhdr/
http://timmurphy.org/2010/08/07/headers-and-footers-in-latex-using-fancyhdr/
As an example, I wanted to place a line at the bottom of the page (or footer) right above the page number for every page, except the title page of course.
Here is some of the "code."
\usepackage{fancyhdr} % controls headers and footers
\pagestyle{fancy}
% \fancypagestyle{plain}
\fancyhf{} % clear all header and footer fields
% \fancyhead{} % clear all header fields
% \fancyfoot{} % clear all footer fields
\fancyfoot[C]{--\thepage--}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0.4pt}
Here is the result.
Thursday, November 8, 2012
Linux Mint Forums • View topic - Fast Playing Youtube Videos.
Linux Mint Forums • View topic - Fast Playing Youtube Videos.
http://forums.linuxmint.com/viewtopic.php?f=48&t=106040&start=0&hilit=youtube
I was having this problem. Fixed!
System Tools -> Systems Settings -> Sound -> change output from HDMI and video card(???? weird I know) to, in my case, analog sound card and speakers.
Or just click on the sound icon in the lower right and select the appropriate output device.
http://forums.linuxmint.com/viewtopic.php?f=48&t=106040&start=0&hilit=youtube
I was having this problem. Fixed!
System Tools -> Systems Settings -> Sound -> change output from HDMI and video card(???? weird I know) to, in my case, analog sound card and speakers.
Or just click on the sound icon in the lower right and select the appropriate output device.
Labels:
Linux Mint,
Linux Mint 13 Maya
Monday, October 8, 2012
23 Brand New Features in Ubuntu 12.10 Quantal Quetzal [Screenshots Tour] | Tech Drive-in
23 Brand New Features in Ubuntu 12.10 Quantal Quetzal [Screenshots Tour] | Tech Drive-in
The official release will be out soon. Having mixed feelings about Ubuntu. On my desktop I use 4 monitors which doesn't bode well in Ubuntu Unity so I am using Gnome fallback for my setup to work without much setup work (:P). I am testing Mint 13 on a laptop. May try it on the desktop if it works ok. Trying Mint because they have more of a Gnome 2 desktop feel (multi-monitor setup with some ease in mind) with Cinnamon (haven't tried MATE yet which is a Gnome 2 fork). Mint's also based off Ubuntu releases which helps with transition for me. I just don't use the Unity features that much, not even on my laptop where I can actually use Untiy without fuss!
The official release will be out soon. Having mixed feelings about Ubuntu. On my desktop I use 4 monitors which doesn't bode well in Ubuntu Unity so I am using Gnome fallback for my setup to work without much setup work (:P). I am testing Mint 13 on a laptop. May try it on the desktop if it works ok. Trying Mint because they have more of a Gnome 2 desktop feel (multi-monitor setup with some ease in mind) with Cinnamon (haven't tried MATE yet which is a Gnome 2 fork). Mint's also based off Ubuntu releases which helps with transition for me. I just don't use the Unity features that much, not even on my laptop where I can actually use Untiy without fuss!
Labels:
Ubuntu 12.10
Wednesday, October 3, 2012
Open Source Role Playing Game Updates ~ Ubuntu Vibes | Daily Ubuntu Linux Updates
Open Source Role Playing Game Updates ~ Ubuntu Vibes | Daily Ubuntu Linux Updates
The last one Valyria Tear looks very nostalgic!
The last one Valyria Tear looks very nostalgic!
Tuesday, October 2, 2012
Linux Mint (or other Linux versions which require a code to set time and date)
I'm trying out Linux Mint 13 Maya with Cinnamon. I dunno, I guess I am getting kind of tired of Ubuntu? So we'll see how Mint stacks up. So far it looks very nice. I guess I am getting tired of the Unity theme and poor multi-monitor support. Although, I've first installed Mint on one of my laptops side-by-side with Ubuntu. Pretty easy installation using a USB stick.
Anyways, I was trying to adjust the time and in the Cinnamon Settings under Calender it requires a "code" of types. Go here to get the look you want.
http://www.foragoodstrftime.com/
I found that if you go to the Date and Time under System Tools and System Settings you can change the date and time normally.
Anyways, I was trying to adjust the time and in the Cinnamon Settings under Calender it requires a "code" of types. Go here to get the look you want.
http://www.foragoodstrftime.com/
I found that if you go to the Date and Time under System Tools and System Settings you can change the date and time normally.
Labels:
Linux Mint,
Linux Mint 13 Maya
Saturday, September 22, 2012
Tuesday, September 18, 2012
Avoid integer division when programming
I didn't realize I was doing this but noticed I did have a problem for one of my Python scripts. I was doing 1/2 which is apparently a no-no in programming. I fixed it by doing 0.5*... Other ways include 1.0/2 etc.
Labels:
Programming
Commenting in Python
To comment in Python simply use the pound sign, #, in front of what ever it is you would like to comment. For Spyder users, the shortcut to this in the editor is Crtl+1.
Reserved words in Python
If you've been experimenting with Python, as I have, then you might notice that some words are saved for some certain processes. For example lambda is one of these words. I tried to use it as a variable name. it will usually highlight in blue if it is important. So an alternative is to use lamb_da or lamb_duh etc.
Other words include:
Langtangen, H. P. (2012). A Primer on Scientific Programming with Python (3rd ed.). Heidelberg: Springer. doi:10.1007/978-3-642-30293-0
Labels:
Python
Differences between Python (scripting programming) and traditional programming C/C++/Fortran etc. (system programming)
This post is a summary from Langtangen's (2009) book Python Scripting for Computational Science (Chapter 1 Introduction). Langtangen breaks down the programming languages into scritpting and traditional types. Langtangen comments that these are quite different in programming style and are usually geared towards different goals. The traditional programming languages are also known as system programming and are used for building (usually large, monolithic) applications (systems). These languages include Fortran (77/90/95/2003), C, C++, C#, and Java. Langtangen refers to scripting as programming at a high and abstraction level. These languages include Perl, pythin, Ruby, Scheme, and Tcl.
Langtangen, H. P. (2009). Python Scripting for Computational Science (3rd ed.). Berlin: Springer. doi:10.1007/978-3-540-73916-6
Langtangen, H. P. (2009). Python Scripting for Computational Science (3rd ed.). Berlin: Springer. doi:10.1007/978-3-540-73916-6
Labels:
Programming,
Python
Python 2 vs. Python 3
This is a summary from Langtangen's (2012) latest edition of A Primer on Scientific Programming with Python (found in the preface). Currently, there are two versions of Python generally called Python 2 and Python 3. You may have a version such as Python 2.7 or 3.2, etc. Python 3 is an updated Python language which has some different syntax notation from Python 2. However, some mathematical software for Python has not been ported to use with Python 3. Langtangen provides one suggestion which is to use the latest 2, 2.7, and then use the translation tool 2to3 to obtain the code for version 3.
Langtangen also suggests to use the latest syntax and modules which will make the differences between 2 and 3 small. This is the format Langtangen uses for his book. He lists two distinct differences in the book's programs:
1. a/b implies float division in version 3 if a and b are integers
2. print 'Hello' in version 2 must be converted to a function for 3 such as print('Hello')
Langtangen states that users using version 3 should have any major issues studying the books version 2.7 program codes.
Langtangen, H. P. (2012). A Primer on Scientific Programming with Python (3rd ed.). Heidelberg: Springer. doi:10.1007/978-3-642-30293-0
Langtangen also suggests to use the latest syntax and modules which will make the differences between 2 and 3 small. This is the format Langtangen uses for his book. He lists two distinct differences in the book's programs:
1. a/b implies float division in version 3 if a and b are integers
2. print 'Hello' in version 2 must be converted to a function for 3 such as print('Hello')
Langtangen states that users using version 3 should have any major issues studying the books version 2.7 program codes.
Langtangen, H. P. (2012). A Primer on Scientific Programming with Python (3rd ed.). Heidelberg: Springer. doi:10.1007/978-3-642-30293-0
Labels:
Python,
Python 2.7.x,
Python 3.x
Thursday, September 13, 2012
Saturday, September 8, 2012
X-51A Hypersonic Flight Cancelled at Last Minute | Defense Tech
X-51A Hypersonic Flight Cancelled at Last Minute | Defense Tech
I know this is old. I am just archiving it.
I know this is old. I am just archiving it.
Tuesday, September 4, 2012
How can I edit/create new launcher items in Unity by hand? - Ask Ubuntu
Labels:
Ubuntu,
Ubuntu 11.10,
Ubuntu 12.04,
Unity
Friday, August 31, 2012
Supersonic Flying Wing Nabs $100,000 from NASA | Bidirectional Flying Wing Aircraft | Space.com
Supersonic Flying Wing Nabs $100,000 from NASA | Bidirectional Flying Wing Aircraft | Space.com
Interesting design/concept
Interesting design/concept
Labels:
Aerospace,
High Speed Flight
Wednesday, August 29, 2012
Sunday, August 26, 2012
Thursday, August 23, 2012
"A Survey of Gaps, Obstacles, and Technical Challenges for Hypersonic Applications" by Timothy Andrew Barber
Labels:
Hypersonics
Thursday, August 16, 2012
Friday, August 3, 2012
Thursday, August 2, 2012
‘Ubuntu For Android’ Demoed on Video at FISL
‘Ubuntu For Android’ Demoed on Video at FISL
Would love to see this for Android phone's and tablet's. Would ditch my iPhone immediately! I also wouldn't have to sell my ViewSonic G-Tablet!!
Would love to see this for Android phone's and tablet's. Would ditch my iPhone immediately! I also wouldn't have to sell my ViewSonic G-Tablet!!
Tuesday, July 31, 2012
Subscribe to:
Posts (Atom)













.png)
