Special Characters from MySQL after using mysqli_real_escape_string
UTF-8 all the way through
Find the maximum value of $72\int\limits_{0}^{y}\sqrt{x^4+(y-y^2)^2}dx$ Find the maximum value of $72\int\limits_{0}^{y}\sqrt{x^4+(y-y^2)^2}dx  $ for $y\in[0,1].$  I tried to differentiate the given function by using DUIS leibnitz rule but the calculations are messy and I tried to solve directly by integrating it but that also is not working.Can someone please help me in solving this question? Set Xorg to use only part of the screen using apt-cache search I am learning how to use apt. When I do an apt-cache search git to see all packages matching git, I see a bunch of packages whose descriptions have nothing to do with git. Why is this so and how can I fix it? (Ubuntu 12.04.2 LTS).  Also, why is the search functionality found in a command that has "cache" in its name? What does search functionality have to do with caches?  Thanks. What are the origins of the word "nice"? GUI/Unity crashing in 16.04 LTS after updates 2018-01-04, compiz segfaults Can we access class properties dynamically with Object class? Is it possible to access Apex class properties dynamically? While we can create Object's, and assign any other class to an Object, I'm not sure how I can access the properties of these Object's. Can anyone provide some documentation or references to code which would allow me to do this?   Example:  public class XYZ {    public string s1 { get; set; }    public string s2 { get; set; } }  XYZ testXyzObj = new XYZ(); Object obj = testXyzObj;  // Method does not exist or incorrect signature: [Object].get(String) String s1 = obj.get('s1'); What exactly is TLP doing that default system config wouldn't? All the info about TLP on the surface looks more like advertisement and marketing to me, I can't see any detailed comparison to default configurations. What are the precise differences compared to default (K/L)Ubuntu installs under the hood, are they really effective?  Update: And if they really are, why aren't they a part of a default config? This is a story that was read on BBC radio about thirty years ago, and this is about as right as I can remember it: The human pilot of a spacecraft is doing some reconnaissance on an alien planet. He crashes but survives. For some reason, no one will know where to look for him. He sees something in the distance that looks like a building of some sort. When he gets there, it seems to be a home. Very much like a human home. There's furniture, but it's strange and uncomfortable . There's food, but it's inedible. There's a faucet but what comes out of it seems more like acid. Everything looks as though it should be right, but it's not. He leaves the house, wanders and after a few days is desperate for water. But there isn't any water anywhere. He's close to death, crawling on the ground and then something happens. There are cracks in the soil and there appears to be water bubbling up from perhaps some underground stream. The water revives him. He goes back to the house and tries the food again. It's delicious and he eats enough to gain back his strength. Then he decides to try the water again. It's pure and wonderful. He takes a shower and the last line of the story is how refreshing the water is on his skin and something about him lifting his tail. Unable to cover get set in apex test class Show that $S$ is compact. Let $A \in M_n(\bf C)$ and let   $S=\{ A \in M_n(\bf C) : A=A ^*$ and  $\rho (A) \leq 1 \}$, $\rho(A)$ denotes spectral radius of $A$.     Show that $S$ is compact subset of $M_n(\bf C) \cong \bf C^{n^2} $ with usual topology.    $S$ is subset of $\bf O_n(C)$ which is compact so I think its enough to show that $S$ is closed.Please help. Dynamic Object Intellisense I have two tables, movies and categories, and I get an ordered list by categoryID first and then by Name.  The movie table has three columns ID, Name and CategoryID. The category table has two columns ID and Name.  I tried something like the following, but it didn't work.  var movies = _db.Movies.OrderBy( m =&gt; { m.CategoryID, m.Name }) Will “Erase Ubuntu16.10 and reinstall” keep my Win7 installation? Favicon of Earth Science and Spanish are too similar (exactly the same in HNQ list) The favicon is used in various places around the Stack Exchange (SE) network, to identify the site. Currently, Earth Science has  for main and  for meta. The problem I see is that these are awfully similar (i.e. exactly the same, as demonstrated here) to those for Spanish.SE, which are  for main and  for meta. The larger versions offer slight differences, but it's still hard to tell quickly which is which. Power users on this site, did you guess right, even after some time to think about it? (Answers under spoiler tag).   for main and  for meta.  for main and  for meta.    The first one is Earth Science and the second is Spanish.  Should SE visually distinguish between the two very different sites? Is there an optimal loss function for dealing with imbalanced classes? I'm aware that there are many ways of dealing with datasets where there is a strong class imbalance in the target variable: downsampling the more prevalent and less important class, over-weighting the valuable minority class, etc. Are there any loss functions that are ideally suited for these types of problems? I've heard of AUC, but AUC sounds like a means of evaluating a model once its training is complete (correct me if I'm wrong). Log loss and squared loss penalize a model's over confidence, but overconfidence and class imbalance seem unrelated. Is that true? Will my checked luggage freeze in the airplane? I'm taking some freeze-sensitive items in a checked luggage for a short flight. It's cheese, chocolate, toothpaste and wine. I would like to know whether the luggage can get "frozen" in the aircraft. Sometimes it happened to me that my stuff actually was quite cold after the flight, so I'd like to be quite sure. Especially the cheese was really expensive and freezing it would very likely demage it.  Usually I pack everything well in clothes, but this time the things are just too many so it's tough to do more than just protect the wine from breaking.  Some details: It's an A320 flight taking 1.5 hours, with Czech Airlines, from Paris CDG to Prague PRG. Why is my USB drive showing corrupted data when plugged as an internal SATA drive? I have a 3TB Seagate Backup Plus Desktop USB 3.0 drive, which works fine when in its enclosure, but when I get it off its enclosure and directly plug it as an internal SATA drive, it's just not properly recognized (it works again when used in the enclosure). My systems’s motherboard is an , which has two SATA 6.0 Gb/s and four SATA 3.0 Gb/s ports.  When used as an internal SATA drive Windows 7 asks if I want to format the drive, as if it didn’t have a proper filesystem, and if I use the DISKMGMT.MSC tool (typing that in the start menu) I get completely wrong information about the drive.  It says the drive has 3 partitions (349,31GB of RAW data and two unassigned partitions of 1698,68GB and 746,52GB). This information is plain wrong, since the drive, when used in the USB enclosure, works as a single NTFS partition (2794,52GB). How come it’s shown as 3 partitions without filesystem when connected through SATA?!  Is Seagate using some proprietary way of storing the data when using the drive in its provided USB 3.0 enclosure? I didn’t use any kind of encryption. I just plugged the drive with USB 3.0 and started using it straight away, since it apparently came pre-formatted with an NTFS filesystem. Is there an easy way to calculate the total cost of tolls for a trip within the United States? Why does the co-efficent of kinetic friction of a block on an inclined plane not change when you increase the angle of the plane? Why is the light reflected at the same angle from mirror? From the school physics I know that the material objects bounce from the plane surface at the same angle, losing some kinetic energy. In the same school I was taught that the light (and waves in general) obeys this principle too.  Obviously, in the case of light the plane surface should be a perfect mirror. But I can't understand how should this work from the quantum point of view. Let's assume that our mirror consists of a single silver atom.  Why should the electrons of this atom re-emit consumed photons at some specific angle?