Is my laptop fan spinning slowly? It gets so hot and doesn’t perform well

I have a acer V3-571G laptop with 2GB GPU and a corei7 CPU and 2x 4GB ram.
I bought it about 8 years ago.
It’s been about 2 years that I think my laptop gets hot more than normal. I gave my laptop to a shop to check the fan 2 years ago and they opened my laptop and cleaned it and didn’t say anything about the fan. I opened it yesterday and cleaned all dust and replaced the thermal paste but I don’t see any difference. It doesn’t perform well, I could play PES 2017 on it without any problems before but now I open the game with lower resolution and quality and put a coolpad under my laptop but it becomes laggy after a few minutes! And the temperature rised up to 101°C after 4mins playing the game and I closed the game. I think the fan spins slowly but I’m not sure, I took a video from the fan, can you tell me if the fan is the problem or something else or maybe my laptop is just so old?! It has a fresh windows 10 installed on it, free of any malwares. I was also trying to maximize the fan speed with a software while playing PES. Here is the link of the video

How to perform manual compression in python rocksdb

How to perform manual compression in python rocksdb

  def connect_rocksdb(self):
        opts = rocksdb.Options()
        opts.create_if_missing = True
        opts.max_background_flushes = 80
        opts.max_open_files = -1
        opts.write_buffer_size = 40000000
        opts.max_write_buffer_number = 50
        opts.max_background_compactions = 80
        opts.level0_file_num_compaction_trigger = 15
        opts.level0_slowdown_writes_trigger = 100
        opts.level0_stop_writes_trigger = 1000
        opts.target_file_size_base = 640000000
        opts.max_bytes_for_level_base = 640000000
        opts.min_write_buffer_number_to_merge = 30
        opts.stats_dump_period_sec = 360
        opts.table_cache_numshardbits =6


        opts.table_factory = rocksdb.BlockBasedTableFactory(
            filter_policy=rocksdb.BloomFilterPolicy(10),
            block_size=16384,
            block_cache=rocksdb.LRUCache(2 * (1024 ** 5)),
            block_cache_compressed=rocksdb.LRUCache(500 * (1024 ** 5)))
        self.DB = rocksdb.DB("/opt/ssd/addressdb", opts)
        self.Batch = rocksdb.WriteBatch()

The execution of the above code will be slower and slower, I want to call rocksdb to perform manual compression, but how to write this code?

SMO, Random forest and Bayes net algorithms: why does Random forest perform better?

I analyzed a dataset using those 3 different algorithms.
As I can see, Random forest performs better in most cases.
My dataset is composed of 4000 instances of two classes (class A 2000 elements, class B 2000 elements).
I use 207 metrics to classify the instances, but I also use the first 20 or 10 best metrics for InformationGain.
My question is: why sometimes an algorithm performs better than another one (in this case I’m only comparing this 3).
I read about them but I would like to have a complete scenario of why in some case RF is better than Bayes net and why sometimes is the opposite. And why SMO is always worst than the other two, in my experiences. Thank you so much!

algorithms – How does AlphaGo perform when increasing the size of the board?

I recently watched AlphaGo, a documentary on the recent defeat by the best human player of Go by a computer, AlphaGo.

The commentary the beginning points out this was ten years ahead of schedule (which of course doesn’t take any account of the actual history of predictions by computer science about when computers would begin to beat human players. The first prediction being on the order of a decade perhaps sixty years ago now).

Another commentator noted that after human players had z chance to study AlphaGo’s playing stylevtheyvexoected the human performance to improve against AlphaGo. This will take some time.

Another way of gauging AlphaGo’s performance, which simply isn’t suitable, for humans, is to look at how it performs once the board is expanded say from 19 X 19 to 31 X 31 and then higher, 51 X 51 and to see whether it’s performance stays steady – or degrades.

A further way is by expanding the dimension of the game, from a 2d board game; to a 3D board game and higher.

Q. Have these experiments been carried out?

A notable feature of Go is that it’s very game is such that these changes are easily imaginable – and perhaps not imaginable by AlphaGo.

Google app scripts | How to perform custom ‘query’

I was wondering if we could perform a custom function in google app scripts.

For example i would like to get the result of ‘=MATCH(“A”; “A”; 0)’.
Until now i have :

const activeSpreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var sheet = activeSpreadsheet.getSheetByName("temporarySheet");
var cellData = '=MATCH("A"; "A"; 0)';
sheet.getRange('A1').setValue(cellData);
var result = sheet.getRange('A1').getValues();

And i would like:

var resultOfMatch = ANYFUNCTION('MATCH("A", "A"; 0)');

Thanks for your time.

fitting – How to perform a LinearModelFit on a data-set with units of measurement?

Thanks for contributing an answer to Mathematica Stack Exchange!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

To learn more, see our tips on writing great answers.

openstack – How do I perform a release upgrade on a server running Landscape?

I’m attempting to perform a release upgrade from 18.04LTS to 20.04LTS, on my server running Landscape.

The upgrade is blocked due to

An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu

According to the upgrade log, the unofficial software is the landscape server (if I’m interpreting “Foreign” correctly):

2020-11-18 19:17:24,416 DEBUG Foreign: landscape-client landscape-common landscape-hashids landscape-server landscape-se
rver-quickstart libjs-yui3-common libjs-yui3-full libjs-yui3-min python-convoy python-pyjwkest python-pyoidc python-stor
m python-stripe python-talisker python-txamqp python-txaws python-txjuju python-txlongpoll

I also see later in the log that

2020-11-18 19:17:56,869 DEBUG blacklist expr '^postgresql-.*(0-9)(0-9).*' matches 'postgresql-10-debversion'
2020-11-18 19:17:56,869 DEBUG The package 'postgresql-10-debversion' is marked for removal but it's in the removal black
list
2020-11-18 19:17:56,884 ERROR Dist-upgrade failed: 'The package 'postgresql-10-debversion' is marked for removal but it
is in the removal blacklist.'
2020-11-18 19:17:56,884 DEBUG abort called

so it’s possible the “unofficial software” warning is a red herring.

Has anyone successfully done a release upgrade on a server running Landscape?

big data – How do megasites like Youtube perform backups?

How do megasites like Youtube perform backups? According to https://www.quora.com/Where-does-YouTube-store-so-many-videos, 2014 they stored 76 PB every year, a number that most certainly has increased a lot since then. Is it even possible to backup this or do they solve the problems backups usually are used for in some other way (such as so much redundancy that it simple can’t fail)?

concurrency – Who perform deadlock prevention, avoidance and check and recovery?

In OS books (e.g. Operating System Concepts), there are three strategies of dealing with deadlock between processes or threads:

  • prevent,
  • avoid, and
  • check and recovery.

Who performs the strategies?

  • is it always an entity, different from the processes or threads being considered as candidates of deadlock? For example, an OS?

  • when writing a concurrent application program with multiple processes or threads, is there a main process or main thread in charge of dealing with (prevent, avoid, check and recover) deadlock between the other processes or threads?

Is it correct that

  • the last two strategies (avoidance, and checking and recovery) seem to be performed only by OS or some middleware (in a distributed system), not by an application program?

  • deadlock prevention can be performed by OS or middleware (e.g. preemption, no hold and wait), or by an application program (e.g. all processes or threads request resources in the same order, e.g. request two mutex locks in the same order)?

or does an OS book assume that all three strategies are performed by OS?

google sheets – How do you perform a bulk find & replace using a list of search phrases and their replacements?

You could try using a separate table (Sheet2) to do the replacing. Column A is the same as here (Sheet1), columns Sheet2!B:Z (or how many are maximally needed) are used to SPLIT the terms in Sheet1!B into them. For each column Sheet2!B:Z, create in a corresponding column Sheet2!AB:AZ an ARRAYFORMULA of VLOOKUPs exchanging the word via lookup in Sheet1!C:C to Sheet1!D:D.

=ARRAYFORMULA(IFNA(VLOOKUP(C3:AD, Sheet1!C2:D, 2, false),C3:AD))

Finally CONCATENATE Sheet2!AB:AZ into Sheet1!E.