Can I put a road bike tyre on a mountain bike? I am finding it difficult to ride a Mountain bike, I feel that it may be more comfortable to change the tyre to that of a road bike, which are thinner in size.  Please advise if I can do so.
Mountain Bike on Paved Roads I'm an occasional biker. I bought a mountain bike (nothing fancy) with the idea that I might use it off-road or on mountain trails (of which there are many here in Calgary). However, since I've bought it I've done nothing but bike in the city on streets and paved bike trails.  Is there anything worth doing to my bike to convert it to something more suited to urban biking? In particular, the tires have me wondering; they have large rubber off-roading lugs that surely aren't doing me any favors on pavement. I'm not looking to spend a tons of money on a retrofit, but will do so if its worthwhile.
var.replace is not a function A single row background colour I was using Windows XP, I like Ubuntu, but I'm wondering,because as  I'm a professional photographer &amp; photo editor.  I do my work with Photoshop, so will photoshop work in ubuntu? I am trying to prove the following: Let $R=\mathbb{Z}[i]$, $a, b \in \mathbb{Z}, ab \neq 0$. Show that $a+bi$ is an irreducible element in $R$ if and only if $a^2 + b^2 ∈ \mathbb{Z}$ is prime. Since $R$ is a Euclidean domain, irreducible elements are prime. I think this is relevant, but am stuck on where to go from here. How do you spawn ONLY zombies in Singleplayer? I am getting the following error in the top menu bar:     An error occurred.Please run the Package Manger form the right-click menu or apt-get in a terminal to see what is wrong.The error message was:'Error:BrokenCount>0'.This usually means that your installed packages have unmet dependencies. Using the Fitch system, how do I prove $((p \implies q) \implies p)\implies p$? I am working with dimensionality reduction algorithms. Linear Discriminant Analysis (LDA) is a supervised algorithm that takes into account the class label (which is not the case of PCA for example). I am using Python to do a comparative study between some algorithms.  Why with two classes (k = 2), regardless of the data dimensionality, LDA gives one dimension, i.e. the new subspace is composed of only one dimension? For example if I try to project my dataset (of 100 attributes and 2 classes) to 10-dimensional space by using LDA(n_components=10) I only obtain 1 dimension?  For k&gt;2 I can obtain the number of discriminant vectors that I specified as n_components. How can I get n_components dimensions for k=2? warning message at command line `sudo` Everytime I try to sudo something at the terminal, I get a warning message:  alexandre@XPS-15Z $ sudo mount file.iso /mnt/ -o loop [sudo] password for alexandre:  no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory   It's just annoying to get that all the time. How do I solve that? I'm on Ubuntu 14.04 (upgraded from 13.10) I live &amp; work in the UK.  Having pretty much exhausted all of the avenues I can find for saving (none of which have great returns anyway at the moment, obviously), I have recently started looking to buy my first house.  I have a reasonable sum saved up for a deposit, but I'm wondering what to do with that in the mean time, as a fair amount of it is not currently earning any interest. For the moment, I have put any surplus, that I'm not earning interest on into premium bonds, just in the off-chance that I win something with it, but this is obviously more of a lottery than an investment, and I'm not 'expecting' to win anything noteworthy with it.  Ideally, I would like to buy a house within the next year or so, so investing in the stock market is not really an option, as I understand the commonly accepted advice is that you invest with a minimum 5 year horizon.  What other options do I have for any surplus cash while I look for a house? Google Docs thumbnails do not update, can I force an update? Is there an upside down caret character? I have to maintain a large number of classic ASP pages, many of which have tabular data with no sort capabilities at all. Whatever order the original developer used in the database query is what you're stuck with.  I want to to tack on some basic sorting to a bunch of these pages, and I'm doing it all client side with javascript. I already have the basic script done to sort a given table on a given column in a given direction, and it works well as long as the table is limited by certain conventions we follow here.    What I want to do for the UI is just indicate sort direction with the caret character ( ^ ) and ... what?  Is there a special character that is the direct opposite of a caret?  The letter v won't quite cut it.  Alternatively, is there another character pairing I can use? Constants in Objective-C I'm developing a  application, and I'm using constant NSStrings as ways to store key names for my preferences.  I understand this is a good idea because it allows easy changing of keys if necessary. Plus, it's the whole 'separate your data from your logic' notion.     Anyway, is there a good way to make these constants defined once for the whole application?     I'm sure that there's an easy and intelligent way, but right now my classes just redefine the ones they use. How can I kill minerd malware on an AWS EC2 instance? (compromised server) I found malware on my ec2 instance which was continuously mining bitcoin and using my instance processing power. I successfully identified the process, but was unable to remove and kill it.  I ran this command  watch "ps aux | sort -nrk 3,3 | head -n 5"  It shows the top five process running on my instance, from which I found there is a process name 'bashd' which was consuming 30% of cpu.  The process is   bashd -a cryptonight -o stratum+tcp://get.bi-chi.com:3333 -u 47EAoaBc5TWDZKVaAYvQ7Y4ZfoJMFathAR882gabJ43wHEfxEp81vfJ3J3j6FQGJxJNQTAwvmJYS2Ei8dbkKcwfPFst8FhG -p x   I killed this process by using the kill -9 process_id command. After 5 seconds, the process started again. Limiting Length of Input in JTextField is not working How to create live autofill search? I am currently trying to create a wordpress search function that shows live results underneath the search bar. There is an example on the  website (screens below). I'm not looking for an autofill like you would find on Google.com which completes words you type, rather I want it to find actual posts on the site.   I tried doing a scrub through Wordpress Answers and other similar resources but have only run into implementing a Google type search which is not what I am looking for. Any help or points in the right direction would be greatly appreciated. Problems with booting the system I have yesterday updated packages and today the system cannot boot properly. After seeing the Kubuntu logo there is a black screen which shows repeatedly.     Stopped User Manager for UID 121.      Removed slice User Slice of gdm.      Created slice User Slice of gdm.       Starting User Manager for UID 121...      Started Session c3 of user gdm.       Started User Manager for UID 121.   Please see the screenshot below I've always wondered this - why can't you declare variables after a case label in a switch statement?  In C++ you can declare variables pretty much anywhere (and declaring them close to first use is obviously a good thing) but the following still won't work:  switch (val)   {   case VAL:     // This won't work   int newVal = 42;     break; case ANOTHER_VAL:     ...   break; }     The above gives me the following error (MSC):     initialization of 'newVal' is skipped by 'case' label   This seems to be a limitation in other languages too.  Why is this such a problem? Why do objects in front and back view look reversed? Whenever I model objects that has different look at front and back. Viewing it from front perspective or orthographic the model displays back of the object. How to set class weights for imbalanced classes in Keras?