Finding an acceptable upper limit on a random generator with an unknown distribution
Multi armed bandit for general reward distribution
How to escape text for regular expression in Java Why is Outlook 2010 Changing my Embedded Spreadsheet to a GIF? Years ago I figured out how to embed a spreadsheet in an Outlook email to automate a task I do regularly.  Whenever I want to send a new quote request I open an old email, tell Outlook I want to resend it, fill in the new values in my embedded spreadsheet and then send it off.  This method worked well for years.  After switching to a new computer however, I have found that when I open the latest emails I have sent, I cannot edit the embedded spreadsheet because Outlook interprets it now as a GIF.  Saved emails that I sent with the old computer however, still work fine - I can still open, edit and resend and Outlook interprets the embedded spreadsheet correctly.  I would like to figure out how to setup Outlook in the new PC correctly so that the embedded spreadsheet is interpreted correctly when the email is reopened. Some sort of security setting, maybe?  Any help anyone could provide would be appreciated.  Edit: I developed the spreadsheet originally in Excel. Then I went into Outlook, created a new email, did Insert->Object->Excel Spreadsheet. At that point I had a blank spreadsheet in my email. Then I copied and pasted the spreadsheet from Excel into the blank spreadsheet in Outlook and it worked perfectly (until this recent problem) Root filling up although it should have some space This has been perplexing me for some time. I'm on Ubuntu 11.04. My root partition is filling up and I can't figure out what's causing it. Even stranger, when I run df -h, this is the output:  Filesystem            Size  Used Avail Use% Mounted on /dev/sda2             9.2G  8.8G     0 100% /   As you see, there should be about 400 MB free, but Avail shows 0. What could be causing this? I've even uninstalled some programs to free the space and it fills up again. Suggestions on how to find out which, if any, files are filling up the space are also welcome. What techniques have been used to repeat geometry or other detail to the infinite horizon? When I composed my     I would have liked to have the camera pitch up enough to show the horizon, except I didn't have enough geometry to extend the cobblestone street and the sidewalk all the way to infinity (mostly because that would require infinite stuff).  Even in that shot it is clear that I need to widen the "sidewalk" to cover up the "sky"box.    Contrast with     where the ray tracer can use the procedurally replicated geometry.   is a failed attempt at faking out the horizon, even with low detail.  It fails because lighting's interaction with the geometry gives it away.  Some techniques that prevent you from having to deal with infinity include   put the scene in a box (usually a room) put the scene in a canyon (which is just a box without a top so you can see the relatively featureless sky) route the road into a tunnel, or around a corner and hide the horizon with other geometry (which is really just a variant on the canyon). have no detail on the ground at all (flat color or gradient)   Those are all dodging the question of interest to me:  What techniques have people used in blender to fake various kinds of detail repeating into the distance (instead of just obstructing the view of infinity)? The algebraic closure of a finite field and its Galois group Disable password access through SSH? I'm setting up a server for backing up my desktop box remotely. I want to prevent remote password access to the server, permitting only users with private keys (AKA my desktop box) to access it. How can I block remote password access while allowing physical password access to the server? Convert line voltage heating system to use low voltage thermostats I currently have two line voltage ceiling radiant heating systems in my condo each with their own DPST thermostat. I'd like to use low voltage thermostats such as the nest. I found , but it only has 3 wires. Will this work with a system designed to use DPST thermostats? If not, is there something else out there that will allow me to use low voltage thermostats with line voltage heaters? What exactly are genes, DNA and chromosomes. How do they relate to each other and what is their function? So I am new to biology and I have been reading, and searching the web, but I couldn't understand the whole framework of a cell. So as I understood:    A DNA, is a double chain of Nucleotides (A,T,G,C and a sugar) and a phosphate residue. Some parts of a DNA code a gene and some do not, exons and introns accordingly. As I understand it these the sequences of exons hold genes and the whole sequence is called genome. Now I read in the book Introduction to Computational Molecular Biology by J. C. Setubal and J. Meidanis. that I cite Each cell of an organism has a few very long DNA molecules. Each such molecule is called a chromosome. So each X shaped thing called a chromosome holds one DNA molecule?   Or is each "hand" of the chromosome one complete double helix of DNA so we have 23 pairs of such chromosomes? or is it that each we 23 pairs Xs?   Shouldn't we have just one uniquely identifiable DNA sequence? I am asking this, because I have also read that each chromosome encodes a different part of one's genome. Does this mean we have several DNA sequences?   This is really bothering me, since I can't figure out the correct structure of a cell.   EDIT: Now if each chromosome contains a pair of DNA helices. We have 46 chromosomes so overall within the cell there are 92 DNA sequences? All of which are the same? Or are they different? If they are different how do they code for different aspects of one's genome? When do I clear US customs and immigration if connecting at a US airport to my final destination elsewhere in the US? Cross product term in linear regression why is it zero I'm trying to see why this is the case. I have taken  the LHS and added $X\hat{\beta}$ and subtracted $X\hat{\beta}$.  From this I can get both terms on the right but I end up with a cross product term  $2(y-X\hat{\beta})^T(X\hat{\beta} - X\beta)$  that I can't prove equals to zero. I think there is some trick I'm missing, anybody remember it? How and why do you use an image histogram? I realize that an image histogram is a graphical display of an images tonal distribution (i.e. horizontal darks to lights, vertical pixel distribution), but how does one really use it and why? I mean, can't you determine everything you need just by looking at the image? I faced with a problem after update,   I missed 2 buttons from above panel, System menu (including shutdown, suspend &amp; …) and User (including log out &amp; …)  how can I restore them !?... How to check if a point is inside a rectangle? There is a point $(x,y)$, and a rectangle $a(x_1,y_1),b(x_2,y_2),c(x_3,y_3),d(x_4,y_4)$, how can one check if the point inside the rectangle? What are SPF records, and how do I configure them? This is a  about setting up .     I have an office with many computers that share a single external ip (I'm unsure if the address is static or dynamic). Each computer connects to our mail server via IMAP using outlook. Email is sent and received by those computers, and some users send and receive email on their mobile phones as well.  I am using  to generate an SPF record and I'm unsure about some of the fields in the wizard, specifically:   Enter any other domains who may send or relay mail for this domain Enter any IP addresses in CIDR format for netblocks that originate or relay mail for this domain Enter any other hosts which can send or relay mail for this domain How stringent should SPF-aware MTA's treat this?   the first few questions i'm fairly certain about... hope i have given enough info. I have a question related to deletion of strings that appear at the n+2 position after the matched string which is at position n using awk for multiple files. I am able to print it using the command:   awk -F '/radius-server/{nr[NR+4]}; NR in nr' *   Where the matched string is radius-server.  Since I'm not too familiar with  awk I would appreciate it if someone could help me  delete this line in place , that would mean that I want the files to be modified and saved after the deletion is done.  An example scenario is below - file 1 which is unmodified    radius-server dz7HQQH4EqT5 1645-1646  !  oj5icqh1dGpSK  !    alias exec t telnet  alias exec sis show interface status  !   file 2, after modification is -  radius-server dz7HQQH4EqT5 1645-1646 ! ! alias exec t telnet alias exec sis show interface status !   I understand that I can do a pattern matching method using sed -i '/pattern/d' to remove it but that is not what I want as the values change from file to file. Any help would be much appreciated. Is an Unarmed Strike considered a Weapon attack? For the purposes of the fighter Battle Master archetype, whenever a maneuver calls for a "weapon attack" does that include an unarmed strike? how many instances for a class exists at runtime in java How will multiple GPUs improve Cycles' rendering performance? I have an NVIDIA Titan GPU and I'm able to add another card, but I wonder whether  Blender will benefit from more than one GPUs?  Should I do it as SLI or should I just do it as an added card? I just need some help in understanding how Blender will use either SLI or a second GPU.  Note that I only use Cycles. Let's get rid of the 10K flag queue are pretty cool... You get a birds-eye view of activity on the site, a &quot;dashboard&quot; view of what's happening. Some of the individual tools haven't scaled particularly well with Stack Overflow's growth, but the concept behind them is still sound: we trust you to enough to be a bee watcher now.  ...and then there's . What a let-down! Once upon a time, this queue contained spam and offensive flags, which one might reasonably assume were important enough to put in front of the more trusted members of the site. Re-flagging them brought them that much closer to deletion, while editing them offered salvation to some hapless author. Nowadays, it's a bunch of Not an Answer flags and a smattering of assorted cruft. 10K users can't even vote to delete these; only 20K users have that privilege. Re-flagging them does nothing but increase their priority in the moderator flag queue, where they frequently outrank more pressing issues;  has . Also, it's , and the behavior has diverged far enough from that of the moderator flag queue on which it is based that it has become an active hindrance to further development of the tooling there. Worst of all, we have  that's available to anyone with the editing privilege. It even has logic built in to prioritize answers likely to be deleted for users with . It's like we gave you a car for your 10th birthday, and then replaced it with a rusty bicycle when you turned 16. It was a nice idea, but it has outlived its usefulness. Proposed changes The /tools/flagged route goes away. Period. No replacement. The rest of the 10K tools stick around as informational pages. Not an Answer flags go into /review/low-quality, . Then we beef up the Low Quality review process to make better use of more experienced reviewers and solve this whole &quot;declined / helpful / disputed&quot; flag debate once and for all:  Effective # of reviews required == ReviewsRequired + # of applicable flags (where ReviewsRequired is 2 on Stack Overflow, 1 everywhere else). So 1 VLQ or NAA flag means EffectiveReviewsRequired=3. LQ tasks are not dequeued until one of the following conditions is met:  Post is edited from within review. Outcome: flags are marked &quot;helpful&quot; (current behavior). Post accumulates 3 Delete votes (can only happen when post scores &lt;= 0 and reviewers have &gt;= 20K rep). Outcome: post is deleted, flags are marked &quot;helpful&quot;. Task accumulates EffectiveReviewsRequired &quot;Looks Good&quot; reviews. Outcome: if the number of (Recommend)Delete reviews is &gt;= the number of Looks Good reviews, mark flags &quot;disputed&quot; and raise DisputedLowQuality mod flag. Otherwise, mark flags &quot;declined&quot;. Task accumulates 6* RecommendDelete + Delete reviews. Outcome: mark flags &quot;helpful&quot;. If the post scores &gt; 0 then raise DisputedLowQuality mod flag, else just delete post (current behavior).   As under the current system, flags on posts that've already completed one full review cycle without being deleted should skip /review and go directly into the mod queue.  End result  Flags get handled faster, more accurately, and with less wasted effort from 10K reviewers. Moderators are free to focus on situations that can't be handled by the community - the ! Developers are free to make enhancements to the moderator tooling without having to work around 10K user restrictions.  Questions Am I forgetting anything here? I haven't really spent much time in the 10K flag queue since back when it was filled with spam flags and therefore useful - is there a use-case that you depend on that would be lost with its removal? Post 'em below. *: on Stack Overflow, only . to infinitive as direct object?! (as in : I promised to get there in time.) I'm a passionate Korean English-learner, and I would like to ask you a question about grammar.   It was 3 years ago when I first started to study the to-infinitive as studying grammar with Grammar In Use series and English Grammar series by Longman, having been exposed to English for 3 years. There wasn't any mention of the author saying that the usage of the to-infinitive is as an (direct) object. And for me also, the times I have encountered sentences in which the usage of the to-infinitive, so to speak, as direct objects were used, I've read them as some kind of obligatory adverbial that shows what the verbs are about, not as objects, which means they are noun phases! 100% of Korean textbooks say the usage is as a direct object, but I doubt it. I think it's some kind of obligatory adverbial that shows what the verbs are about.    I thought it was better for me to ask Americans themselves. Do you read this usage of to-infinitive as a noun phrase or an adverbial?