How to render realistic glass with refracted shadows in Cycles (as pictured)? Is it possible to render in cycles refractive shadows through glass texture (as pictured)?  I have tried varying light bounces, specular lighting and increasing samples, perhaps my setup isn't powerful enough to try the very highest, although I am not sure that will enhance the refraction in the shadows - my current state of rendering (may download .blend file below):  Thank you in advance for your advice and help! I have attached .blend file if this helps
How to create and animate the water reflection (Caustics) on an object? What is the best method to create this kind of reflection and how to animate it?
I have a Trek 3900 Mountain bike that had a serious creaking problem whenever I would pedal.  I found that the ring that holds the Shimano sealed bearing was really loose.  I tightened it up and it helped somewhat.  It loosened up again and I put loktite on the threads and really tightened it up but it is still creaking a little.  The bearing cartridge seems fine.  Any ideas? How can I add "Show desktop" to the GNOME dash or Ubuntu Dock? I recall from complex analysis a while ago that the series $$\sum_{n=1}^\infty \frac{z^{n!}}{n}$$ has radius of convergence 1, diverges on roots of unity, and converges elsewhere on the circle. It's simple enough to see that it has to diverge on roots of unity: consider $z$ such that $z^k = 1$ for some $k \in \mathbb{N}.$ Plug this into the series and you see that past the $k$'th term, $z^{n!} = (z^k)^m = 1$ for some $m \in \mathbb{N}$; hence, the series becomes harmonic and must diverge.  But I don't recall how to show that the series converges for other values on the circle. If this is simple I'd like just a hint, if it is involved I would prefer a sparse outline of the proof. Thank you! Reserved words as names or identifiers Is there any tricky way to use Java reserved words as variable, method, class, interface, package, or enum constant names? What should I do when the GETDEB repository is down? How do I enable the "partner" repository? I keep seeing places refer to the "partner" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line. No error message if the URL is very long I entered a URL with a very long parameter on Stack Exchange.  I have type this url    It shows a blank screen , does not shown any messages.    We need to show a “Page Not Found” message, same as what you did on other Stack Exchange pages. Create instance of generic type in Java? Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer&lt;E&gt; {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's . How can I pass a class member function as a callback? I'm using an API that requires me to pass a function pointer as a callback. I'm trying to use this API from my class but I'm getting compilation errors.   Here is what I did from my constructor:  m_cRedundencyManager-&gt;Init(this-&gt;RedundencyManagerCallBack);   This doesn't compile - I get the following error:      Error  8 error C3867: 'CLoggersInfra::RedundencyManagerCallBack': function call missing argument list; use '&amp;CLoggersInfra::RedundencyManagerCallBack' to create a pointer to member   I tried the suggestion to use &amp;CLoggersInfra::RedundencyManagerCallBack - didn't work for me.   Any suggestions/explanation for this??  I'm using VS2008.  Thanks!! How can I "group by" and sum a column in excel? I'm trying to figure out how to "group by" values in an Excel spreadsheet.  Given the following example (this is an inventory sheet I use at my restaurant:)    At the far right of the spreadsheet there is a column named Cost of Goods Sold.  I would like to be able to come up with a total COGS figure for each Category.  Is this possible in excel? Moreover, I'd like to do it in a separate worksheet so that the first worksheet (what is pictured) isn't affected.  Any ideas?  Thanks! Proof a graph is bipartite if and only if it contains no odd cycles How can we prove that a graph is bipartite if and only if all of its cycles have even order? Also, does this theorem have a common name? I found it in a maths Olympiad toolbox. Should I put myself last? "me and my friends" vs. "my friends and me" or "my friends and I" I've always been taught to put myself last when referring to myself in the same sentence as others but the usage of "me and..." seems to be everywhere these days. The misuse of the word "me" instead of "I" aside, is there some new rule I haven't heard of? Shouldn't we put ourselves last regardless of the "me"/"I" usage?  Examples of "correct" usage:      My friends and I went for some ice   cream. Did you see my friends and me   at the ice cream stand?   Examples of "incorrect" usage:     Me and my friends went for some ice   cream. Did you see me and my friends   at the ice cream stand?   Note: I was also taught that the only person who could put themselves first was the queen. Listing only directories in UNIX I bought a new MacBook Air and was able to connect to the internet at first but now it won't connect.  I have other devices as well as other computers on wifi but my Mac won't connect.  When I try and click on the wifi, it tells me that it can't be joined.  How can I troubleshoot? PHP variable variables How to match all occurrences of a regex Proof of lack of pure prime producing polynomials. I recently encountered this following proposition:  For every polynomial, there is some positive integer for which it is composite.  What is the most elementary proof of this? What is the proper etiquette at Japanese onsen? Japan is a volcanically active country which means it has a plethora of onsen (hot springs) all around the country.  Visiting these onsen is supposed to be a popular vacation destination for the work-weary Japanese.    I've been told that, as with other things in Japan, there is a rather strict etiquette surrounding the use of the onsen.  In particular, the two things I've read about so far are   Swimming Suits are not allowed. It is very important that one bathe immediately before entering the onsen.   Are these true?  Are there any other taboos that a naive American should be aware of? No Dialect mapping for JDBC type: -9 I'm looking to find records in a table that match a specific number that the user enters.  So, the user may enter 12345, but this could be 123zz4-5 in the database. I imagine something like this would work, if PHP functions worked in MySQL. SELECT * FROM foo WHERE preg_replace(&quot;/[^0-9]/&quot;,&quot;&quot;,bar) = '12345'  What's the equivalent function or way to do this with just MySQL? Speed is not important.