I am trying to play my games but not being able to play all of them because of no flash 11. Is there anyway to fix this?
I have had significant problems with watching flash video in 64-bit Ubuntu.  Does anyone know of a good way to get flash running on the platform?
I am trying to modify output in my twig file. In D7, I was able modify data in my array with this  check_markup($tweet-&gt;text, 'full_html');   and I see that this function still exists in D8. However, I'm not sure how I would use this in a filter in twig. This is what I have so far:  {% for tweet in params.tweets %} &lt;div class="tweet-wrapper"&gt; &lt;div class="tweet-profile-image"&gt;     &lt;img src='{{ tweet.user.profile_image_url }}'/&gt; &lt;/div&gt; &lt;div class='tweet-text'&gt;     &lt;!--check_markup($tweet-&gt;text, 'full_html');--&gt;     {{ tweet.text }} &lt;/div&gt;   &lt;/div&gt; {% endfor %}   I actually tried to do this before I sent it to the template as well, but it didn't change anything:   foreach($tweets as $tweet) {   $tweet-&gt;text = check_markup($tweet-&gt;text, 'full_html');   $cleanTweets[] = $tweet; } dpm($tweets); $params = array('tweets' =&gt; $cleanTweets); $tweet_template = array('#theme' =&gt; 'twitter_pull_tweet_listing', '#params' =&gt; $params); return $tweet_template;   What I'm trying to do here is make drupal create links for web links in the twitter tweet text. This worked fine for me in D7. class C {   T a; public:   C(T a): a(a) {;} };   Is it legal? Smart Phone's camera socket I just want ask how the socket in the image is called?   I couldn't really find and the closer I could get is only Raspberry's module. Can you show me a continuous function $f \colon \mathbb{R}^n\to\mathbb{R}^m$ that satisfies $f(a+b)=f(a)+f(b)$ but is not linear?   We have that  $$f(0)=f(0+0)=2f(0)\implies f(0)=0\\ f(x-x)=f(0)=f(x)+f(-x)=0\implies f(-x)=-f(x)\\ f(nx)=f(x+x+\dots+x)=f(x)+\dots+f(x)=nf(x)\quad \forall n \in \mathbb{N}$$ But $$ f(-nx)=-f(nx)=-nf(x) $$ So: $$ f(ax)=af(x) \quad \forall a \in \mathbb{Z} $$ What is a "Swap Area"? So I noticed this question has not been asked directly;  What is this "Swap Area" people keep referring to when it comes to installing Ubuntu? Proving that if $G$ has a Hamiltonian circuit, then the line graph $L(G)$ also has a Hamiltonian Circuit I have a graph G = (V, E). I know that the line graph L(G) of G is defined as follows: each vertex in L(G) corresponds to an edge in G, and two vertices are connected by an edge in L(G) if and only if the corresponding edges in G are adjacent.  Now I am trying to (a) prove that if G has a Hamiltonian circuit, then L(G) also has a Hamiltonian circuit, and (b) give an example of a graph G such that G does not have a Hamiltonian circuit but L(G) does.  However, I'm extremely stuck on how to do this, and any help would be greatly appreciated. Thanks so much! How to run 32-bit app in Ubuntu 64-bit? I installed Ubuntu 14.04 and the current Android development SDK, which contains 32-bit executables. I found that I cannot run those 32-bit binaries. Trying to start them from bash gives me an error: $ ./adb bash: ./adb: No such file or directory  It is there though: $ ls -al ./adb -rwxrwxrwx 1 thomas thomas 1231255 Jan 17 13:31 ./adb $ file ./adb ./adb: ELF 32-bit LSB  executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped.   Same symptom for all the other 32-bit tools in the Android SDK. In olden days one could just install 32-bit libraries on 64-bit Ubuntu to get 32-bit support, but that does not seem to work anymore. How do I run 32-bit apps on a 64-bit Ubuntu distribution? I am trying to burn a shapefile to a raster using GDAL's RasterizeLayer. I pre-create an area of interest raster from a different shapefile, given a specific pixel size. This AOI then serves as a base for all following rasterizations (same number of collumns and rows, same projection and geotransform).  The issue occurs, however, when I go to burn the shapes to their own raster, based on the same pixel size and projections. The link below (don't have enough rep to post the image), shows the original shapefile in tan, and the dark pink where RasterizeLayer has burned data. The light pink is nodata values for the dark pink raster data. The grey is the AOI based on which the shapefile burn was completed.  Given the extents of the shapefile polygons, I would expect to see burn values in the bottom two corners, as well as the two pixels underneath the data that does show. Obviously, however, this is not the case.    As follows is the code that I used to generate these. All of the shapes were created using QGIS, and were all created in the same projection.  (It should be noted that the gridding in the picture shown was just to give an idea of the pixel size I was using.)  from osgeo import ogr from osgeo import gdal  aoi_uri = 'AOI_Raster.tif' aoi_raster = gdal.Open(aoi_uri)  def new_raster_from_base(base, outputURI, format, nodata, datatype):      cols = base.RasterXSize     rows = base.RasterYSize     projection = base.GetProjection()     geotransform = base.GetGeoTransform()     bands = base.RasterCount      driver = gdal.GetDriverByName(format)      new_raster = driver.Create(str(outputURI), cols, rows, bands, datatype)     new_raster.SetProjection(projection)     new_raster.SetGeoTransform(geotransform)      for i in range(bands):         new_raster.GetRasterBand(i + 1).SetNoDataValue(nodata)         new_raster.GetRasterBand(i + 1).Fill(nodata)      return new_raster  shape_uri = 'activity_3.shp' shape_datasource = ogr.Open(shape_uri) shape_layer = shape_datasource.GetLayer()  raster_out = 'new_raster.tif'  raster_dataset = new_raster_from_base(aoi_raster, raster_out, 'GTiff',                                 -1, gdal.GDT_Int32) band = raster_dataset.GetRasterBand(1) nodata = band.GetNoDataValue()  band.Fill(nodata)  gdal.RasterizeLayer(raster_dataset, [1], shape_layer, burn_values=[1])   Is this a bug in GDAL, or is RasterizeLayer burning data based on something other than just the presence or lack of a polygon within a specified pixel area?  The files that I was using can be found . How and when should I tell my son that his amazing father isn't his biological father? My son is going on 5 and starting to learn a lot about how we're created. I've been with my husband for 10 years, but nearly 6 years ago I had no other choice but to move 1000 miles away and after trying the long distance thing it didn't work so we split up.   I ended up going through a rough patch and started dating an abusive jerk. After a year I was pregnant. He threatened me trying to force me to have an abortion and I refused. His grandmother was chief of police and he scared me into moving back to Florida.  Eventually, when I was 4 months along in my pregnancy my husband and I picked up right where we left off. He loved me so much and accepted our son as if he was his own and has done an amazing job at raising him.   He enrolled in college while I was pregnant, got us a house and went above and beyond to care for us both (as after giving birth I became very ill due to rare brain and spine conditions). I've always tried to do right by my son. Since day one, even while with my husband, I tried to keep the sperm donor involved. But he wanted no part of his son.  My husband stepped up when the biological father refused. The biological father would pretend that he cared, only to tell me he never cared about him anyway and was just trying to manipulate me into stopping child support (which I did anyway after the first year: I felt it wasn't right to take his money when my son had a dad who loved, supported and wanted him from the beginning).  This is a very long story so I'll try and make it not so much of a novel. The sperm donor has made it very clear he wants nothing ever to do with my son. My husband has been Dad since the moment my son entered this world. I've always planned to tell my son as early as possible. I think now, or in a few years, it won't be as hard on him compared to us telling him when he's a teen and who knows how he'd handle it.   I just don't know what to do. We have an extremely happy loving family. My son adores his dad. We never argue, we have a very happy non-dysfunctional marriage. I just feel we have a very special family. But I refuse to lie to my son. What if we wait and someone else maliciously tells him? Or if, when he's older and finds out, he spirals out of control?  I'm so confused, I just want to do the right thing and desperately need advice. Especially from others who have been through similar circumstances. We're planning on meeting with therapists and I guess child development specialists, if someone could also point me in the right direction for what type of doctor is best suited in this situation.   Also my son is very happy. He has a wonderful life and I feel as if he would do fine, knowing how much he loves his dad and just beginning to really grasp the concept of life. I don't think it would change anything for him, if that makes sense. I've been worrying over this for 5 years and really need some answers! Probability that 2 appears at an earlier position than any other even number in a permutation of 1-20 Suppose we uniformly and randomly select a permutation from the 20! Permutations of 1,2,3,...,20. What is the probability that 2 appears at an earlier position than any other even number in the selected permutation?  My approach :   2 in first position ==> 1*19! (1 is the position of 2)  2 in second position ==> 10 *1 *18!  2 in third position ==> 10*9 *1 *17!  . . .  2 in 11th position ==> 10*9*8*7*6*5*4*3*2*1*1*9!  But this was asked as a multiple choice question in GATE 2007 and the options were  (A) 1/2   (B) 1/10  (C) 9!/20!  (D) None of these  I am not able to reduce this analysis to a given option. Numbers to the Power of Zero I have been a witness to many a discussion about numbers to the power of zero, but I have never really been sold on any claims or explanations.  This is a three part question, the parts are as follows...    1) Why does $n^{0}=1$ when $n\neq 0$?  How does that get defined?  2) What is $0^{0}$?  Is it undefined?  If so, why does it not equal 1?  3) What is the equation that defines exponents?  I can easily write a small program to do it (see below), but what about in equation format?    I just want a little discussion about numbers to the power of zero, for some clarification.    Code for Exponents: (pseudo-code/Ruby)  def int find_exp (int x, int n){     int total = 1;     n.times{total*=x}     return total; } Site blocked by content filter I run a large and high trafficked WordPress powered platform. One of my editors informed me that our site is blocked at his workspace as a "games site". They use WebCat to filter the traffic.  The issue here is that our platform is not a gaming site, although it does have a games category that covers news. And that is a very minor part of the site.  My question is, what can I do to unblock the site? How does WebCat work? Do they use a universal database to filter the traffic (meaning that the site is blocked on all workspace with WebCat) etc. Obviously they need to improve their filtering algorithm. How to install Oracle 18c (Enterprise Edition) on Ubuntu 18.04? This question is unanswered since Oracle 18c has been released. Except Ubuntu Linux platform, most of the other Linux platform supports Oracle 18c installation. I, myself, tested this on CentOS 7 and oracle 18c got installed without any glitch!  It is unfortunate that Oracle Corporation has not documented the installation procedure particularly for Ubuntu Linux platform, nevertheless one good thing is that the image file db_home.zip is a generic one, installable across all Linux platforms.    So how can I install Oracle 18c (Enterprise Edition) on Ubuntu 18.04? RAR password cracker Does the  file format use a serious encryption (such as )?  Will it take unfeasibly long to brute force a password?  If not, what tools do you suggest that do so automatically? Showing margins/frames in beamer slides Was the "Eye of Sauron" Sauron's actual physical form? During the time frame of the Lord of the Rings, was the Eye of Sauron Sauron's actual physical form? If not, what form did he have? Specifically, if diary Tom Riddle had succeeded, how would he have strengthened the present day Voldemort?   In , @Pearsonartphoto gives a quote from J.K. Rowling in his answer regarding what would have happened if Tom Riddle had succeeded in fully manifesting from his diary memory form to a full human form.     Q: In Harry Potter and the Chamber of Secrets, what would have happened if Ginny had died and Tom Riddle had escaped the diary?   J.K. Rowling: I can’t answer that fully until all seven books are finished, but it would have strengthened the present-day Voldemort considerably.    - FAQ - Wayback Machine   As well, I've read all seven Harry Potter books many, many times and I haven't been able to ferret out any overt details regarding exactly how the present day Voldemort would've been strengthened by co-existing with diary Tom Riddle.  Specifically, how would the reincarnation of 16-year-old Tom Riddle have strengthened the 67-year-old present-day Voldemort at the time of Chamber of Secrets?  &#9733; I would love an answer from canon, any of J.K. Rowling's interviews, or Pottermore, or an answer constructed within the spirit of canon. Browser back leaves page after going fullscreen in stack snippet Opening a Stack Snippet in full screen should use history.pushState() to add an entry to the browser history stack. Clicking back will then close the snippet rather than leave the page completely. Approximation of real number to the power of irrational Say I have two numbers, $c\in\Bbb R^+\,,q\in\Bbb{R\setminus Q}$.  Is there a way to approximate the value of $c^q$?  This question bugging me because of how simple it sound in compare to how complicated it is. First I want to understand what a power of irrational number is, when talking about $\Bbb R^+$(I use this domain for sake of simplicity) we have very well defined actions for power a rational number, we can even use some theorems to get $c^{a/b}=\sqrt[b]{c^a}$, but when I am dealing with irrational number I can not do this.  I know that we have some definition for this because the solution of the equation $2^x=3$ is irrational.  So what exactly does it mean to take something to a irrational power and is there a way to approximate a numeric value for this? Creating a new DOM element from an HTML string using built-in DOM methods or Prototype I have an HTML string representing an element: '&lt;li&gt;text&lt;/li&gt;'. I'd like to append it to an element in the DOM (a ul in my case). How can I do this with Prototype or with DOM methods?  (I know i could do this easily in jQuery, but unfortunately we're not using jQuery.)