Lubuntu 14.04 blank screen after software update
My computer boots to a black screen, what options do I have to fix it?
Why isn't sizeof for a struct equal to the sum of sizeof of each member? Why does the sizeof operator return a size larger for a structure than the total sizes of the structure's members? Using induction prove $n^3-n$ is divisible by 3 whenever n is a positive number. I am not sure if I am doing this right, but I have this:  There exists an integer $k$. $2k =$ positive number  $(2k)^3 - 2k$ [*And this is where I get lost. How does one prove this?] How do I build a house for my NPCs? I read on the wiki that people will move in under the following conditions:   You do something to please them An empty house is available with a light source, table, and chair (also with walls).   I have a house which is about 7x8, then a roof space above that; about half the area. I could put furniture up there too, but will anyone move in? How to recover data from a failing hard drive? An external 3½" HDD seems to be in danger of failing — it's making .  I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious drive with the best chance of saving as much as possible.  There are some directories that are more important than others.  However, I'm guessing that picking and choosing directories is going to reduce my chances of saving the whole thing.  I would also have to mount it, dump a file listing, and then unmount it in order to be able to effectively prioritize directories.  Adding in the fact that it's time-consuming to do this, I'm leaning away from this approach.  I've considered just using dd, but I'm not sure how it would handle read errors or other problems that might prevent only certain parts of the data from being rescued, or which could be overcome with some retries, but not so many that they endanger other parts of the drive from being saved.  I guess ideally it would do a single pass to get as much as possible and then go back to retry anything that was missed due to errors.  Is it possible that copying more slowly — e.g. pausing every x MB/GB — would be better than just running the operation full tilt, for example to avoid any overheating issues?  For the "where is your backup" crowd: this actually is my backup drive, but it also contains some non-critical and bulky stuff, like music, that aren't backups, i.e. aren't backed up.  The drive has not exhibited any clear signs of failure other than this somewhat ominous sound.  I did have to fsck a few errors recently — orphaned inodes, incorrect free blocks/inodes counts, inode bitmap differences, zero dtime on deleted inodes; about 20 errors in all.  The filesystem of the partition is ext3. How to tail multiple files using tail -0f in Linux/AIX If the $n^{th}$ partial sum of a series $\sum a_n$ is $S_n = \frac{n-1}{n+1}$, find $a_n$ and the sum. If the $n^{th}$ partial sum of a series $\sum a_n$ is $S_n = \dfrac{n-1}{n+1}$, find $a_n$ and the sum.  By definition,  the sum of the series is the $\lim n\to\infty$ of it's $n^{th}$ partial sum.  $$\text{ Sum = } \lim_{n\to\infty} = \dfrac{n-1}{n+1} = 1$$  I am asked to find $a_n$. How do I do this? What is the procedure? com.google.android.trichromelibrary causes many Android apps to crash At the moment, I have created a code that retrieves data from the database and displays it. However, for some reason, I cannot see the files I want to retrieve on my page. My goal is that the data gets retrieved from the database, and is displayed on the webpage. I do not need to make a connection with the database since Wordpress does that automatically.  My code:  &lt;?php  global $wpdb; // this adds the prefix which is set by the user upon instillation of wordpress $table_name = $wpdb-&gt;prefix . "wpex_programma"; // this will get the data from your table $retrieve_data = $wpdb-&gt;get_results( "SELECT * FROM wpex_programma; " ); print_r($retrieve_data); ?&gt; &lt;ul&gt; &lt;?php foreach ($retrieve_data as $retrieved_data){ ?&gt; &lt;li&gt;&lt;?php echo $retrieved_data-&gt;column_name;?&gt;&lt;/li&gt; &lt;li&gt;&lt;?php echo $retrieved_data-&gt;another_column_name;?&gt;&lt;/li&gt; &lt;li&gt;&lt;?php echo $retrieved_data-&gt;as_many_columns_as_you_have;?&gt;&lt;/li&gt; &lt;?php  } ?&gt; &lt;/ul&gt;   My question: the data is not shown and I believe it is not retrieved. How can I fix that? The table name is correct, and I have data in my database tabel. The print_r($retrieve_data)returns the following: Array ( [0] =&gt; stdClass Object ( [id] =&gt; 35 [naam] =&gt; /public_html/wp/wp-content/plugins/AbonneerProgrammas/FilesUpload/Country Kickin 1.mp3 ) )  My query log:    My database structure:   New:  &lt;?php  global $wpdb; // this adds the prefix which is set by the user upon instillation of wordpress $table_name = $wpdb-&gt;prefix . "wpex_programma"; // this will get the data from your table $retrieve_data = $wpdb-&gt;get_results( "SELECT * FROM wpex_programma; " ); print_r($retrieve_data); ?&gt; &lt;ul&gt; &lt;?php foreach ($retrieve_data as $retrieved_data){ ?&gt; &lt;li&gt;&lt;?php echo $retrieved_data-&gt;id;?&gt;&lt;/li&gt; &lt;li&gt;&lt;?php echo $retrieved_data-&gt;naam;?&gt;&lt;/li&gt; &lt;?php  } ?&gt; &lt;/ul&gt; Fullscreen Vista's Command Prompt, or Replacement Ruby: How to iterate over a range, but in set increments? How can I write a program that can detect by itself that it has been changed? I need to write a small program that can detect that it has been changed. Please give me a suggestion!  Thank you. I need some help with the exercise I was assigned in math class. We were given a 3x3 square made of unit squares, and we wanted to paint all the squares. We had 3 sets of paint, red, blue, and green. Each paint was distinct from each other, but two unit squares with the same color were the same. Additionally, there's only enough paint of each color to color 3 unit squares, and all the paint has to be used. The goal of the exercise was to find the total amount of distinct possible ways such that no two unit squares that share an edge (that is to say they are next to each other vertically or horizontally, having same color across a diagonal is fine). I've started by trying to take a look at each possible arrangement of the bottom 3 unit squares, but I can't seem to find a pattern between it. Is there a better way than continuing by brute force? Any ideas on how I should proceed from here? INT(5) vs SMALLINT(5): numbers in parenthesis after the numeric type Towards the end of , how do I get  $$ \frac{\sqrt{8z + 1} - 1}{2} &lt; w + 1 $$  Here $w = x + y \geq 0, t = (w^2 + w)/2 , z = t + w, x,y \in \mathbb N_{\geq 0}$.  Thanks. Dell R730xd - Best way to configure storage for simultaneous use with ZFS & Hardware RAID I recently purchased a Dell R730xd that came with an H730 RAID card. I would like to bring an existing 6 disk ZFS pool to this server as well as create an additional 6 disk hardware RAID.   Is it possible to configure an H730 RAID card to operate in both HBA and RAID mode simultaneously? And then only manage 6 of the disks in a hardware RAID and allow the OS to manage the remaining 6 disks in a software RAID?  If not, can a Dell R730xd use both an H730 RAID card and an LSI 9207-8i HBA card simultaneously? Would you simply plug one SAS cable from each card into each part of the Backplane? Will I need to purchase any new cables to connect the LSI 9207-8i to the backplane in my R730xd?  Is there a better card to use for ZFS in an R730xd using spinning disks than the LSI 9207-8i? Is there a platform-agnostic and filesystem-agnostic method to obtain the full path of the directory from where a program is running using C/C++? Not to be confused with the current working directory. (Please don't suggest libraries unless they're standard ones like clib or STL.)  (If there's no platform/filesystem-agnostic method, suggestions that work in Windows and Linux for specific filesystems are welcome too.) How do I redirect to another webpage? How can I redirect the user from one page to another using jQuery or pure JavaScript? Setup for a wine bottle with multiple labels I have modeled a wine bottle and created various wine label designs for a client. The labels were created in Illustrator and so I have PNGs. I want to present a render of the same bottle with each label the client. The labels are not simple rectangles.   Should I:    "model" each label and wrap it on the bottle, or  try to map each label image to a portion of the bottle's surface?    I've seen lots of tutorials showing option #2, but something is telling me that the glass of the bottle should be separate from the "paper" label.  Also, with #1, couldn't I use the same bottle blend file and use a different layer for the each label, then turn on a different layer for each new render?  Maybe there's an even better strategy?  thanks, What is the physics of a spinning coin? When we spin a coin on a table, we observe 2 things:   It slows down and stops after sometime. It does not stay at just one point on the table but its point of contact with table changes with time.   I was trying to explain quantitatively this but I am stuck at how to take frictional torques into account. Any help will be appreciated. I need to run IE 10 in 32-bit mode on 64-bit Windows 7 Enterprise N.  When I run IE 10 from "C:\Program Files (x86)\Internet Explorer" I can see in task manager that I have only one process "iexplorer.exe" and no process "iexplorer.exe *32".  I have an application with an ActiveX that is supported only on 32-bit, and the application can't be loaded on 64-bit mode.  Is there a way I can force IE10 to run in 32-bit mode?