realtime audio processing possible?
Realtime audio processing using Dynamic
Accepted way to abbreviate cities that have "Saint" in their name My first question here, so I'm not sure if this OT or not, so please bare with me.  Background: I don't live in US. I'm working with some data that I'm pulling from . Sometimes, I'm getting a city name as St. John and sometimes as Saint Ann.   So my question is, is there an accepted way on how people write a US city names which starts with Saint or is this just some random thing (or just specific to AdWords maybe)?  I'm asking this, because if for example I'll get both St. John and Saint John in the same file, should I consider them the same or should I be suspicious? Could someone please explain the role of the transistor in this circuit? I have a feeling it has to do with the LC circuit but I'm not sure and don't understand completely. The following is an image of the circuit (the transistor is n-type. It is used in lots of sensors to detect and generate ultrasonic waves. "SELECT *" why is it an antipattern On multiple questions here and on stack overflow i saw people saying in the comments and answers that select * from table is almost always an antipattern without any explaination why. Althrough I can sort of deduce why it is an antipattern. I may be looking over a detail that someone else with better understanding of the issue noticed.  So here is my question, why people say that select * is an antipattern. Mask and inherit the same systemd unit Suppose a package provides whatever.service file so certain events (including whatever.socket) cause a daemon to start with a certain configuration.  I want to disable this completely. In particular, I want the old socket and any other unit files that might refer to this service by name to be unable to start the daemon.  Instead, I want to create my own unit files for this daemon with a different .socket unit and different environment variables. I also want my override to automatically take account of possible upstream updates to the original unit file (which my current solution of copying whatever.service as whatever-modified.service and editing it unfortunately does not provide).  If I create the following symlinks and files: /etc/systemd/system/whatever.service → /dev/null /etc/systemd/system/whatever-modified.service → /usr/lib/systemd/system/whatever.service /etc/systemd/system/whatever-modified.service.d/fix.conf  systemd considers the new service to be masked as well and refuses to start it. How to avoid this? Prove that there exists disjoint open subsets $U,V$ of $X$ such that $x \in U$ and $B \subseteq V$. Let $B$ be a compact subset of a metric space $X$. Let $x \in X \setminus B$. Prove that there exists disjoint open subsets $U,V$ of $X$ such that $x \in U$ and $B \subseteq V$.   Is this an existence proof? If yes, do I get to define $U,V$? I am stuck on the following question:     Find the volume of the torus obtained by rotating the circle $(x-a)^2+y^2=b^2$, where $a&gt;b$, around the y-axis. Evaluate $$ 1 + \frac{1}{3}\frac{1}{4}+\frac{1}{5}\frac{1}{4^2}+\frac{1}{7}\frac{1}{4^3}+\dots$$  All i could do was to see that $$\frac{1}{3}=\frac{1}{2.1+1},\frac{1}{5}=\frac{1}{2.2+1},\frac{1}{7}=\frac{1}{2.3+1},\dots$$  SO, we should be able to write   $$ 1 + \frac{1}{3}\frac{1}{4}+\frac{1}{5}\frac{1}{4^2}+\frac{1}{7}\frac{1}{4^3}+\dots=1+\sum_{n=1}^{\infty}\frac{1}{2n+1}.\frac{1}{4^n}$$  This is what i could simplify the given question to...   But, this is doing me no good.. I could not go any further..  I would be thankful if some one can help me to clear this.  I would request users who are trying to help me to just give necessary hints but not post it as answer.  Thank You. After Doomsday was defeated, a spec-ops team sent to the Kryptionian ship in Metropolis found Luthor submerged in water, in front of a... thing, which "held" three metal cubes. The thing looked up, roars, and dissipates into thin air.    What the hell was that all about? I am really confused. What was that creature and what was Luthor doing with it? Help with creating a symbolic link I'm confused with how symbolic links work. I hope someone can guide me in the right direction.  I want to put a demo online from our software, which normally only runs locally on a Mac Mini. So I put all the files in the var/www from my Ubuntu 12.04 server installation.  There are a lot of hardcoded links in the software which point to /Applications/XAMPP/xamppfiles/htdocs/narrowcasting  Of course, I could change all these code on my html/php files in /var/www, but that would be quite annoying. I hope I can fix this by creating a symbolic link. For example, I have a directory called thumb in /var/www/thumb. The PHP code is trying to put an image in /Applications/XAMPP/xamppfiles/htdocs/narrowcasting/thumb.   Can anyone give me a tip how to achieve this with a symbolic link? Django set default form values I have a Model as follows:  class TankJournal(models.Model):     user = models.ForeignKey(User)     tank = models.ForeignKey(TankProfile)     ts = models.IntegerField(max_length=15)     title = models.CharField(max_length=50)     body = models.TextField()   I also have a model form for the above model as follows:  class JournalForm(ModelForm):     tank = forms.IntegerField(widget=forms.HiddenInput())       class Meta:         model = TankJournal         exclude = ('user','ts')   I want to know how to set the default value for that tank hidden field. Here is my function to show/save the form so far:  def addJournal(request, id=0):     if not request.user.is_authenticated():         return HttpResponseRedirect('/')      # checking if they own the tank     from django.contrib.auth.models import User     user = User.objects.get(pk=request.session['id'])      if request.method == 'POST':         form = JournalForm(request.POST)         if form.is_valid():             obj = form.save(commit=False)              # setting the user and ts             from time import time             obj.ts = int(time())             obj.user = user              obj.tank = TankProfile.objects.get(pk=form.cleaned_data['tank_id'])              # saving the test             obj.save()      else:         form = JournalForm()      try:         tank = TankProfile.objects.get(user=user, id=id)     except TankProfile.DoesNotExist:         return HttpResponseRedirect('/error/') Regular expression: match start or whitespace Can a regular expression match whitespace or the start of a string?  I'm trying to replace currency the abbreviation GBP with a £ symbol. I could just match anything starting GBP, but I'd like to be a bit more conservative, and look for certain delimiters around it.  &gt;&gt;&gt; import re &gt;&gt;&gt; text = u'GBP 5 Off when you spend GBP75.00'  &gt;&gt;&gt; re.sub(ur'GBP([\W\d])', ur'£\g&lt;1&gt;', text) # matches GBP with any prefix u'\xa3 5 Off when you spend \xa375.00'  &gt;&gt;&gt; re.sub(ur'^GBP([\W\d])', ur'£\g&lt;1&gt;', text) # matches at start only u'\xa3 5 Off when you spend GBP75.00'  &gt;&gt;&gt; re.sub(ur'(\W)GBP([\W\d])', ur'\g&lt;1&gt;£\g&lt;2&gt;', text) # matches whitespace prefix only u'GBP 5 Off when you spend \xa375.00'   Can I do both of the latter examples at the same time? How do I fix overscan on my HDMI HDTV? I've connected a HDTV with HDMI on my Radeon 4670, using the open source ati driver. However there is "overscan" which cuts off a bit of each edge of the screen, about the size of the gnome-panel. How can I fix this so it displays the full resolution? Why Java needs Serializable interface? We work heavily with serialization and having to specify Serializable tag on every object we use is kind of a burden. Especially when it's a 3rd-party class that we can't really change.  The question is: since Serializable is an empty interface and Java provides robust serialization once you add  implements Serializable - why didn't they make everything serializable and that's it?    What am I missing? Integral $\int\frac{2x^2}{2x\cos(2x)+(x^2-1)\sin(2x)} \mathrm d x$ Integrate  $\displaystyle\int\dfrac{2x^2}{2x\cos(2x)+(x^2-1)\sin(2x)} \mathrm d x$   I tried dividing by $\cos^2(x)$ and then substituting $\tan(x)=t$. Can I attack a specific player? I was in a clan and someone kicked me from it.   I think I'm stronger than him. Is there any way I can attack him? The only method I see to attack is random players. Can I attack a specific player? When I have .txt files or .py files, I can Quick Look those files in Finder. I have .jl files that are codes written in the Julia Language. Of course they are text files. They will open in a text editor like Sublime Text. How can I Quick Look these .jl files in Finder? Conditions: do not modify the original lists; JDK only, no external libraries. Bonus points for a one-liner or a JDK 1.3 version. Is there a simpler way than: List&lt;String&gt; newList = new ArrayList&lt;String&gt;(); newList.addAll(listOne); newList.addAll(listTwo); Add a UIButton as a subview to a UITabBar Check if wp-login is current page How can I check if the current page is wp-login.php or wp-signup.php ?  Are there more elegant solutions than using $_SERVER['REQUEST_URI'] ? Backup whole OS