How to control fan speed in Ubuntu 20.04
How to control fan speed?
How to measure a qubit Hamiltonian in qiskit What would happen if two wizards made each other a Horcrux? Would they be invincible? How would you kill one of them? I am running a web site design service for local small business owner. I want avoid legal issues on the images I use. Usually, the images found on Flickr are forbidden for commercial use. Where would be a normal channel to get pictures for commercial use with minimal cost? How can I validate that the picture I used has no legal risk? How to solve a difference equation? So I have the difference equation $4y_{k+1} = 2y_k$.  I need to solve this equation, first with the initial condition $y_0 = 0$ and then with the initial condition $y_0 = 2$.  The professor wrote on the answer sheet that applying iteratively the recurrence relation it is easy to check that:  $y_k= (1/2)^k y_0 $.  Since I missed the lecture where he explained this, can somebody explain how to come about with this question?  I imagine that once I get the equation, then the initial condition $y_0 = 0$ gives us the particular solution $y_k = 0$. Thus the other initial condition $y_0 = 2$ is verified by the solution $y_k = 2(1/2)^k$.  Any help on how to get to the equation $y_k= (1/2)^k y_0$ will be appreciated. Is there a way to mount a disk directly to a specific folder? Reproducible LaTeX builds - compile to a file which always hashes to the same value I have been learning English for 7 years now, and I have read so many grammar books with rules, telling the difference between Present Perfect and Past Simple and I still find it hard to distinguish them.   On paper, it is easy, if it is not a certain (exact) time in the past without any time markers (yesterday, a month ago, etc) it is past simple. Yes, but outside the classroom it is really harder than this . I have heard many people speaking how they want to, mixing the tenses.   So, I will give these sentences which i have heard to be constructed differently, please, if someone can explain the difference to me.     Have you enjoyed the party? / Did you enjoy the party?      I have given the documents today. / I gave the documents today.      I have done this when I have revised it. / I did it when I revised it      What did you do today? / What have you done today ?   Is it possible to use past simple without mentioning a definite time in the past  (without the time markers)?     It has been 3 years since we moved house. / It has been 3 years since we have moved house.      I know him since we met each other/ I know him since we have met each other   Correct me if some of the sentences are grammatically wrong! I'm fairly new to DMing and so is my group, so we are all on a learning curve together. We're playing D&amp;D 5e.  Last week a fighter in our group tamed a wolf with Animal Handling and then requested that he keep the wolf. I allowed this, but now I'm not sure about how to play the wolf.  Specifically, how can he train the wolf to perform certain actions such as attacking?  What other things might I need to be aware of with a PC owning a "pet"? How to perform a full system dump/backup with a broken screen? So, yesterday my phone took a serious tumble.  It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, mostly).  I believe (from the fact that it still chirps at me when emails come in, etc), that the phone is still functional, otherwise.  I would like to perform a full system dump, so that I can get off any files from the phone (a TMobile SGS2 (hercules) running slimrom 4.3 build 1).  The sdcard probably isn't important, as I can just pull it, but the phone's own internal storage I should like to get a copy of.  When I plug the phone into a usb port, it 'mounts' the usb via MTP, and I can see all the files.  Unfortunately, when I do a select all | copy | paste operation, the paste op dies before transferring all files.  I've tried a couple other ADB shell operations, in hope of flipping regular USB mounting on, but nothing has worked.  Any ideas how I can get a full dump of my poor phone's contents?  Edit  Currently running a adb pull /sdcard/ ... Its copying files presently, but its too early to tell if its going to get evertying I'm expecting.  Edit #2  looks like its going to work...its taking a rather long time, but it appears to be grabbing everything I was expecting it to. I get the point of having a minimum reputation to use the new chat feature. However, I was hoping my 2K reputation from Stack Overflow would be enough - but it looks like I need to acquire 20 rep here on Meta Stack Exchange.  So my question is - should this restriction be moved? What medium should be used for long term, high volume, data storage (archival)? How to define global functions in PHP Ejecting a USB 3.0 drive connected to USB 3.0 port reconnects immediately "Speak to" vs. "Speak with" What are the differences between these two phrasal verbs and what are the best situations to use each? A 256GB SSD has Windows-10 and 16.04 installed.  BIOS not UEFI.  A charity I work with requires me to use Quickbooks Desktop on Windows.  The plan is to ghost the existing system to a 512GB or larger SSD and create a third bootable Windows 7  partition for performing charity activities.   Is this possible to have a third partition? Is there a good example you have used as a guide? Is triple booting with two Windows partitions different from 2 Linux partitions?   If you have done this before ( with GRUB) please indicate this in your response: lessons-learned are appreciated.  Thank you What is the remainder when $1! + 2! + 3! +\cdots+ 1000!$ is divided by $12$? What is the remainder when $$1! + 2! + 3! +\cdots+ 1000!$$ is divided by $12$.  I have tried to find the answer using the Binomial Theorem but that doesn't help. How will we do this?  Please help. Efficiently storing query-affecting settings in a database I want to know how to efficiently store query-affecting settings in a large analytical database (MS SQL Server). By efficiency I mean no hardcode (1) and fast/optimal query processing (2).  My example  I've got a massive table of sales orders. Let's simplify it to two columns:  SalesOrder  OrderID      int      Primary Key  OrderDate    date   I need to retrieve the list of orders for the last X days and this X should be configurable. That's why I introduce a table of settings where I define it:  Admin_Configuration  SettingName   (PK)|      SettingValue  ------------------|------------------  DaysBack          |          30      It allows me not to hardcode this "30" in query definitions. Then I would run queries like:  SELECT OrderId   FROM SalesOrder as S   JOIN Admin_Configuration as A     ON A.SettingName = 'DaysBack'   WHERE [OrderDate] &gt; DATEADD(DAY, -A.SettingValue, GETDATE());   Performance  It avoids hardcoding, but leads to a performance problem. This query runs much slower than it would've, had I simply hard-coded 30 in the WHERE clause.  My understanding is that optimizer doesn't know how large my SettingValue is and assumes the worst - that all rows would be retrieved from the SalesOrders table, thus leading to a suboptimal query plan.  Trying a scalar function yielded even worse results. I'm desperate enough to have a separate view which stores these hardcoded settings but I've been refraining from it with hopes for a better solution.  Here is the original query plan (with a join): 4 seconds elapsed   Here is the plan with subquery, as :  SELECT orderid FROM [SalesOrder] as s WHERE s.OrderDate &gt; dateadd(DAY,    (SELECT -NumValue    FROM Admin_Configuration where SettingName = 'DaysBack'   )     , getdate())   7 seconds elapsed, slightly slower   As for the ideal performance: I just hardcoded 20, the query took 2 seconds. It needs mentioning that the Admin_Configuration table contains only 18 rows, hence it shouldn't affect performance.  SELECT OrderId   FROM SalesOrder as S   JOIN Admin_Configuration as A     ON A.SettingName = 'DaysBack'   WHERE [OrderDate] &gt; DATEADD(DAY, -20, GETDATE());   Using parameters would mean that I'd have to replace views (that I use now) with stored procedures/table-valued functions, which is unacceptable in my case VAR or VECM for a mix of stationary and nonstationary variables I have 4 time series. One of them is stationary and rest of them are not. I need to find relation between them. I will use AIC to decide lag length.   Should I use VAR or VECM to find relation between them?  Will VAR or VECM give me relation in terms of equation which can be used for forecasting?  Do I need to perform Johansen's test of cointegration?  What good would it do? String manipulation with & or + in VB.NET ubuntu 14.04 login loop problem