https – How to get rid of ssl certificate warning?

I’m developing mobile app in React Native and getting “Network error” when doing call to API. When I’m trying to reach URL on Google Chrome I get warning about unsafe connection, but I can normally reach it after click confirmation. So I guess that SSL is the reason.
How can I trust it, so there will be green padlock?
I imported cert on PC (i have green padlock there) and installed on Android, but nothing changed.

logging – Cannot get rid of creation of mysql.log

I have these settings in my.cnf:

general-log      = false
general_log_file = /var/log/mysql/mysqld.general.log

long_query_time     = 1
slow_query_log      = false
slow_query_log_file = /var/log/mysql/mysqld.slow.query.log

log-error = /var/log/mysql/mysqld.log

log        = /var/log/mysql/mysqld_multi.log

Each time I start the MySQL server an empty file /var/log/mysql.log is created and it never gets filled.
I was searching in web for some solution but I don’t find anything regarding the mysql.log as it seems to be outdated.

Can it be it’s created by a mistake, again, as I don’t find anything regarding mysql.log for MySQL 8.x or do you know how to avoid the creation?

I am running MySQL 8.0.20

Getting rid of timestamps?

Bitcoin is supposed to be a clock on it’s own right so it always felt sketchy to me that outside time is referenced. Could bitcoin be aware of it’s own block interval through something like staleblock rate? Could that allow it to do difficulty adjustment without reference to outside time?

[ Politics ] Open Question : Do you think God unleashed Coronavirus to get rid of Trump?

[ Politics ] Open Question : Do you think God unleashed Coronavirus to get rid of Trump?

lens – Why does fungus form in lenses, and how to get rid of it?

For all the following: YMMV*, caveat emptor, no responsibility taken for advice given, you decide whether to try this at home. It may even work :-). Be aware that damage may already be fatal and/or that fatal (to the lens) damage may occur along the way. Best attitude is to regard the lens as a writeoff now, with anything you can gain from it by the methods below being a bonus.

Fungus in a lens will always degrade the image but the amount of degradation may be invisible to mere mortals or may make the lens completely unusable by any standards. Often even a very visually significant lens defect – such as a chip or scratch, will not be instantly obvious in final images to a casual observer. Experts will usually be able to detect almost any defect (or say they can – mere mortals will not be able to tell if they are correct 🙂 ). Also, lens settings will affect how much a given defect affects a given image.

In some cases the advice given in 1a and 1b below will transform results from generally unacceptable to generally acceptable. In other cases they won’t. Only trying it will tell you how good a method will be.

The best advice (but too late 🙁 ) is to never let it happen. Fungus only grows in moist conditions. Keep your lenses in a well ventilated dry location with dessicant sachets. However –

If it’s inside the lens there are two options (apart from disposal). Unfortunately, while either may work, neither is certain to work well.

  • 1(a) Shining UV (ultraviolet) light into the lens for an extended period will “discourage” the fungus, how well and how long is uncertain. Simply leaving a lens with iris fully open on a sun facing window ledge in a dry location for weeks to months may produce good results. Cap lens at rear, and tilt so that sun shines into lens during sunnier parts of each day. (Be ware that sun shining directly along the axis of the lens or close to it may focus light onto end cap and melt it – unlikely but check point and degree of focus.) I tried this procedure with an extremely old Minolta 50mm f1:1.4? manual lens and achieved tolerable results. I simply left the lens as above for many months and when I next looked found that mold presence had been very substantially reduced.

    1(b) Light from a germicidal (short wavelength) UV lamp may be used in place of sunlight. This sort of light can blind you or damage your eyes permanently if looked at for substantial periods and can cause “arc eye” – painful but usually temporary inflammation of the eye. This does not mean you should not use such lights at all – simply that they need to be used with due respect. These lights are available from many sources for many purposes and can be very low cost.

    Note that “black light” UV light is not suitable for this purpose. It is longer wavelength and not very biologically active.

    Note also that the short wavelength high energy UV (which is why you are using it) from germicidal UV lamps will also degrade other materials such as some plastics and miscellaneous other material – including, possibly, parts of a plastic lens housing. This depends on material, distance, light energy and exposure time. YMMV but caveat emptor – ie know that you are using a tool with sharp unguarded blades (even though you can’t see them) and use with due caution.

    All the above may put some people off UV germicidal lamps. If so, that’s good. They are a great and useful tool but not suitable for use by careless or unthinking people.

  • 2 . Dismantle and clean. If the lens is so degraded that it is unusable and if the method above does not work well enough then the lens must be dismantled. If the lens is otherwise a ‘writeoff” and you are competent mechanically you may wish to try this yourself. Reassembly of a lens capsule is considered to be an expert task and realignment on reassembly may require arcane knowledge. This is why qualified lens servicing people are still in business and cost money to use.

    Fungus often attacks lens surface coatings and may etch the glass itself so the lens may be noticeably or fatally degraded regardless. How much the may/may/may applied in your case is tbd. Some lens cleaning works very well indeed. An aficionado and a good MTR test will probably tell you that something has happened but the results may be very tolerable in practice.

    You will find articles on the internet on lens cleaning methods. I read a paper by either Zeiss or Leitz that suggested that cigarette ash makes an excellent fine cleaning compound (!!!).

Added: Member 19602 made this comment – as he has left and comments may too I’m adding it to my answer.

On April 7th 2013, once was member 19602 said:

  • I can tell you with absolute certainty that the Leitz recommendation is not a sealed container with desiccant but an area with constant air circulation. I used to be with Leitz Germany.

wavelet analysis – Getting rid of “glitches” in DiscreteWaveletTransform-de-noised data

Typical glitch

Dear all,
I have been using discrete wavelet transforms for de-noising simulated (and real) radiation counting data and from time to time encounter “glitches” in the resulting de-noised data. An example is shown above. Does anyone have advice on how to predict when such glitches might occur and how to get rid of them?) (I have used AnomalyDetection and FindAnomalies with only limited success.) I am new to DWT with Mathematica.

This particular example is typical of how strictly random data can masquerade as something meaningful.

Code follows–the SeedRandom is needed!

Wavel(infile_) := Module({transform, wavel},
   transform = 
    DiscreteWaveletTransform(infile((All, 2)), SymletWavelet(7), 6); 
   transform = WaveletThreshold(transform); 
   wavel = InverseWaveletTransform(transform);
   Transpose({infile((All, 1)), wavel})
   (* reconstitute data pairs *));


bat(mean_, del_, dx_) := 
 Table({N(x), RandomVariate(PoissonDistribution(50))}, {x, 0, 400, dx})

eg = bat(50, 0, 1/5);

ListPlot(Wavel(eg), Joined -> True)

should i get rid of multiple git installations, if so how? (OS X)

I hope the title is not confusing, but it looks like I have had a few different versions of git in various directories over the years. I would like to clean everything up and have only one version, and set it as the default.

whereis git Give me /usr/bin/git, which git Give me /usr/local/bin/git.

I have another version under /usr/local/Cellar/git (version 2.16). Installed with Brew, I guess

Then there is /usr/local/git (version 2.10) which is what I get with git --version on the terminal.

iptables – Weird error message from Lynis. How to get rid of it

I am using lynis to check my system using the following script:


#Global Variables

cat /dev/null > $REPORT_FILE_FINAL

$MAIL_BIN -s "Lynis System Audit Scan Report @ $MYHOSTNAME" $MYEMAIL < $REPORT_FILE_FINAL

and I got the following weird message with a warning that I don't understand how to get rid of it:

2020-05-12 06:00:03 cwd=/root 2 args: /usr/sbin/exim -bV
# Warning: iptables-legacy tables present, use iptables-legacy to see them
# Warning: iptables-legacy tables present, use iptables-legacy to see them
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them

What does this line mean ?:

cwd=/root 2 args: /usr/sbin/exim -bV 

In the last 3 lines, it also mentions the iptables warning. I don't use iptables firewalls, just a CSF firewall. What does the warning mean?

Thank you

How to get rid of header and footer grids in Word 2013

I am editing my Word .docx documents in Word 2010 and 2013. For a few days, the display of documents (display before printing) in the two editors was the same. Today, when I opened my document in Word 2013, I saw some sort of grid or half-squares in the footer and header:

enter description of image here

What is it, how did I manage to activate it and how to get rid of it.

These page corner or line-like margin markers are not printed. They are only visible in the editor itself. But they are a bit annoying to me. And I would like to know how can I turn it on and off? I'm sure they weren't there yesterday. So it must be me, but I don't know how.

I have tried to find something in the "View" pane, but there is nothing that could be responsible (the grid lines are disabled):

enter description of image here

I tried the Print> Layout> Document Grid> Drawing Grid …, but the alignment guides are also disabled:

enter description of image here

Where should I look to turn off the display of these half-squares?

How to get rid of unnecessary Google Search Console URLs?

66 pages from my website that are all deleted still appear in the Google Search Console page report. enter description of image hereMy eagerness is to know all the possibilities. Questions include: 1. Does it affect SEO? 2. How can I get rid of these URLs completely?