seo – My website ads have a zero RPM

As you can see in the print screen I have some impressions on my website, but the ads that come from Google Adwords arent making money (They have a 0 RPM). The ads that come from other companies are giving some money, why arent the Google ones too? My website was approved just last month to receive ads.

enter image description here

HP Laptop fan mostly at 4.8k RPM

My fan mostly spins at 4.8k RPM but the CPU usage is 50%. I tried safe mode, but still spins fast.

linux – cryptsetup 2.3.4 rpm for CentOS 7?

I have been searching for cryptsetup 2.3.4 as I want to use --perf-no_read_workqueue.

According to the release note, the option is newly added in 2.3.4.

However, my CentOS 7’s official repository only has 2.0.3. I tried to rebuild 2.3.4 myself. However, it has many dependencies that require newer versions of some libraries and expects header files and libraries in different locations, etc.

Anyone knows which repos provides cryptsetup 2.3.4?

nt.number theory – Prove this is true only when $s equiv pm r^{pm 1} pmod{q}$

Let us fix a positive integer $q$, and let us define two functions $P, Q: mathbb{N}^2 to mathbb{N}$ as follows:
$$ P(s,t) := sum_{j=1}^t leftlfloor frac{j (s-1) + t}{q} rightrfloor$$
$$ Q(s,t) := sum_{j=1}^t leftlceil frac{j (s+1) – t}{q} rightrceil$$

If we define the function $A_s(t) : mathbb{N} to mathbb{N}$ by:
$$ A_s(t) := P(s,t) – Q(s,t) $$

I claim that $A_s = A_r$ (as functions of $t$) if and only if one of the following is true:

  • $s equiv r pmod{q}$
  • $s equiv -r pmod{q}$
  • $sr equiv 1 pmod{q}$
  • $sr equiv -1 pmod{q}$

I do have a proof of both implications, but they are rather involved and a bit too technical. The hardest part is to show that $A_s = A_r$ implies one of the four bullets. I suspect that there must exist an easier argument to solve this. For example, with this notation one can deduce some straightforward identities such as:

$$P(-s,t) = -Q(s,t)$$

which helps to prove that the second bullet implies $A_s = A_r$. I am wondering if this is indeed a hard problem and technical stuff has to play a role in a proof or if I am missing a simpler proof. Even a simple proof of the fact that both the third or fourth bullet imply $A_s = A_r$ would be nice, since what I have is lengthy and ugly.

redhat – Problem installing Oracle 19c to symlinked directory from RPM

I’ve created destination directory and linked it to default install path:

$mkdir /u01/oracle
$ln -s /u01/oracle /opt

Then I’ve changed the owner:

$sudo chown -R oracle:oinstall /opt/oracle

But when I tried to install RPM I got an error:

$sudo rpm -i ./oracle-database-ee-19c-1.0-1.x86_64.rpm
warning: ./oracle-database-ee-19c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

(SEVERE) The install cannot proceed because ORACLE_BASE directory (/opt/oracle)
is not owned by "oracle" user. You must change the ownership of ORACLE_BASE
directory to "oracle" user and retry the installation.

error: %prein(oracle-database-ee-19c-1.0-1.x86_64) scriptlet failed, exit status 1
error: oracle-database-ee-19c-1.0-1.x86_64: install failed

How to properly fix this problem?

make – Using rpmbuild, how do you regenerate the rpm package without having to entirely rebuild?

How can I rebuild the rpm file specifically as opposed to going through the entire prep,build,install,check phases again? I’ve tried using the –noprep, –nocheck, –nobuild, etc flags to skip the phases (and also –short-circuit) but rpmbuild never actually regenerates the package. See here:

$ rpmbuild --define=install_prefix /home/builder/rpmbuild/BUILDROOT --define=num_cpus 9 --nodebuginfo --noclean --short-circuit --nobuild --noprep --noclean -bb ./SPECS/gcc-bootstrap-10.1.0.spec 2>&1 | tee manual-log.txt
warning: Macro expanded in comment on line 135: %{install_prefix}/armv7-a-profile

setting SOURCE_DATE_EPOCH=1602547200
Processing files: gcc-bootstrap-10.1.0-1.fc32.x86_64
Provides: gcc-bootstrap = 10.1.0-1.fc32 gcc-bootstrap(x86-64) = 10.1.0-1.fc32
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/builder/rpmbuild/BUILDROOT/gcc-bootstrap-10.1.0-1.fc32.x86_64

My use case here is making simple edits to the %files section of the spec file. In this case, it seems like rpmbuild shouldn’t have to rebuild from source. Can’t it just re-read the %files section and generate a new rpm file?

If you’re not able to only generate the package, a possible workaround might be to disable the deletion of the build folder. This happens inevitably it seems at the start of %install and I can’t for the life of me figure out how to disable that functionality. This would make the subsequent rebuild for a new package not nearly as long since the make targets should be up to date.

What’s your COVID-19 RPM drop?

Just chekced four banners, and their drop percentages are:

320  x  50 | -66.81%
970  x  90 | -84.01%
720  x  90 | -65.52%
Responsive | -58.57%

Date period: Oct 2019 - Apr 2020 vs Apr 2020 - Now

What are your numbers?

seo – MY adsense RPM is showing $35,What does it signifies?

I am still thinking about how to increase my earning on Adsense but it almost took a year. But as I use this SEO the page RPM goes increased, check this out now. What does it mean by $35 in Page rpm per daily report? What shall I do now?
My website link is here.

rpm – How do I properly create new directories if they don’t exist, and then copy files into them on the target install device?

I’m trying to accomplish the following steps with the below rpm code:

  1. Copy files into an rpm package from device A (host server or development server) using rpmbuild -ba foo.spec
  2. The rpm package is built and manually transferred/downloaded to the root folder of the target: device B
  3. Install the rpm package on device B using: rpm -i test.rpm
  4. A directory is created /usr/local/etc/NS/enrich/*…etc during the install by the rpm package on device B
  5. The files (source1 through source 4) are then copied into the respective directory on device B.

My code currently does not do this, but I don’t understand why.

Name:       test
Version:    0.1
Release:    0
Summary:    This RPM is for transfering foo lists to a Test device.
License:    TODO
Source0: foo_foov4.csv
Source1: foo_foov6.csv
Source2: foos_approved.csv
Source3: s_all_foos_enriched.csv
Source4: s_foo_foobar.csv

Test Build 0.1

#copy the files
cp -p %{SOURCE0} .
cp -p %{SOURCE1} .
cp -p %{SOURCE2} .
cp -p %{SOURCE3} .
cp -p %{SOURCE4} .

%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/%{name}/usr/local/etc/NS/enrich/foo_Approve/csv/
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/%{name}/usr/local/etc/NS/enrich/foo_/csv/
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/%{name}/usr/local/etc/NS/enrich/foobar_WildApprove/csv/
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/%{name}/usr/local/etc/NS/enrich/foobar_Wild/csv/

%{__install} -m 644 -p foo_foov4.csv 
%{__install} -m 644 -p foo_foov6.csv 
%{__install} -m 644 -p foos_approved.csv 
%{__install} -m 644 -p s_all_foos_enriched.csv 
%{__install} -m 644 -p s_foo_foobar.csv 

RPM Advantages

Why are RPM package managers preferred to tar files? I read that "rpm is a software package that has been compiled and optimized by a particular distribution provider". But the tars are compressed files, aren't they optimized too?