Simplifying IT, Amplifying Knowledge

Adsense

I am experimenting with Adsense for my project hryprodva.cz. The project has consumed thousands of hours of my time and it is still in the red as there is no income. So I decided to try to place some advertisements and the easiest way seemed to be Google Adsense.

For the first try, I decided to place just two small ads, on the main page with the game list. The idea was to place the boxes with the same look as the game cards, with some advertising.

After three weeks of testing, it was still buggy and generating almost no income. On the PC, the ad appeared every tenth time, and on the phone it almost never appeared.

With a total income of around $1 after three weeks, I tried another experiment. I experimented with the automatically placed ads. There is a simple editor in the administration of the Adsense account where you can adjust the excluded parts of the pages and also select the types of ads that are banned. For example, the full-screen stickers are absolutely annoying...

Now the site is full of ads, but the income is many times higher. Now I have to find a balance between the ...

Continue reading →

Solar Power Bank

I have received the solar charged power bank I ordered for "scientific" purposes. I am interested in the electronics for charging the cells and the safety mechanisms for overheating.

Perpetuum Mobile joke

The picture presenting "perpetuum mobile" is just a joke. I remembered the funny video where the guy connected the extension cable to himself, then took the piezo crystal from the lighter, sparked the ground stick and established "never ending energy circulation".

I was suprised, when the Power Bank arrived partitialy charged and seemed to have some capacity. I have connected it to phone and tried it with the probe. It has been charged by about 1 ampere and it charged 560 mAh before it died.

I am going to give it a few charge/discharge cycles and will measure it. I want to discover it remaining capacity. Then, depending on the capacity i will possibly diassembly it and will make some test of safety mechanism. My question is, what wolud it do, when you leave it under the windshield in your car to charge it in hot summer, to be able to use it then to charge your phone. Wait for my next steps :)

Continue reading →

Galaxy Xcover 3

I have received a Galaxy Xcover 3 and PS1 slim as an exchange for an old PC HDD shaft and a couple of old SSDs.

The PS1 came with a demo CD and without any cables or controllers. I leave it for the long winter evenings and look forward to getting it working.

Samxung Xcover 3



The phone does work though and is only missing the back cover. I will 3D print it later. The battery seems to be alive, it can be charged, and it has lasted tens of minutes of playing games without any significant drops in charge.

It runs on Android 5.1, and after the first start it seemed very old. I did not know that the Android interface has changed so much, as it still looks the same to me after each update. It may be that there are many small changes between versions, which is why the 5.1 looks so old.

Since Google Play only supports devices with Android 6 and below, I downloaded some really old .apk files for my favourite games that are no longer available on Google Play. For example, Slingshot Racing is a really great game that I bought many years ago, but it ...

Continue reading →

Building NAS (part five)

Fifth and hopefully final part of the NAS configuration. The main part, anyway. The problem with the VPN connection has been solved... in a really weird way, but it works.

I tried many solutions and it always worked weird. Each time I set up the working solution and tested it, it looked good. I also shut down the server, waited a minute, restarted and the VPN still worked. However, the next day when I rebooted, the VPN was down again. I went through this loop many times.

But finally I found a solution. I have three scripts running after startup. The first one kills the running wireguard instance and saves an iptables configuration. The second flushes all iptables configurations and restarts wireguard. The last one then restores the iptables rules and restarts the firewall. Then it works. I cannot see why the firewall is behaving this way, but at least it works.

Continue reading →

Installing software to Lumia 630

After dens of unsuccessfil tries, i have finally found a way, how to install software to Windows Mobile 10.

There were lot of different tutorials, declared as 100% working, but they were not. But at the end i have found few months old reddit post, which looked serious. As i was almost convinced, that the installation of apps is impossible, i have tried it with no expectations. I was really suprised when it worked!

The solution was incredibnly simple. First step was to "unlock interop", no matter what it means, i have done it. Then there were some more possibilities in phones, some magic switches enabling magic functions.. I just followed the given steps and set-up everithing i was told to.

alt text

The next step was to use some installer tool, which runs in PC and which installs the .xap files to phone through usb. The issue was, that the tools runs just under Windows. As i have no PC with windows, i had to set up a virtual machine and bridge the USB connection to this machine and use all tools through it.

At the end, i have tried 13 games yet, and 12 of them are working, which is real ...

Continue reading →

Updating Lumia 630

I have tried some next step to install software to Lumia 630. The windows 8.1 mobile was absolutely 'bricked' in the way of installing software. I have tried all possibilities, read hundreds of articles and watched hours of youtube tutorials, but i was inable to make any installer of app working. So i have decided to try to update to Windows 10. After trying some semi-official command line tools to upgrade the phone, without any result, i have found some chinese tool on XDA developers forums, which finally worked.

alt text

After few tries and many hours of updating, the phone is finally running Windows 10. However it has changed almost nothing. The store does not work either. The end of support of Windows 8.1 store was announced in 2019, the Windows Mobile 10 store was silently closed at the end of 2023 without any announcement.

The only progress i have made by updating to Windows 10 is, that now i have the File Manageer app, which was not included in Windows 8.1, so now i can access the files, transfered from computer. Now i can see the .xap .appx and other installer files, i can open them, see the dialog for installation, ...

Continue reading →

Worldwide BSOD

When I saw the article about "Worldwide IT Systems Problems", the first thing I thought was that this is just another buzzword headline for an article full of bullshit, as usual.

I didn't even want to read it, but after some time, when there were a lot of similar articles on different websites, I decided to read some of them.

I was really surprised that it looked relatively serious, but I was still not convinced. At first there was not much information, just some random "blackouts" of airports... Something that still seemed like captchphrases that we can see every day.

Later, when I finally saw some serious information and official statements about the untested update being sent to corporate machines, I finally believed that it was real.

The first thing I thought about was the comparison with the Y2K problem, and the funny fact that I think that Y2K was relatively funny, and not so serious, as there were mayor count of computers that were not facing the problems, this one came with no warning.

On the other hand, it was only a matter of time when something like this would happen. It is just a reminder of how much we depend on the internet ...

Continue reading →

Digital model railway

For couple of years i am thinking about digitalising my model railway. The standard digital equipment is much expensive, so i am working on my own technology, based on ESP8266 and ESP32.

As first prototype i have prepared a station module, quipped with servo motors for Railroad switches, and some street lamps, all controlled with single nodemcu (esp8266) board. For now, i controll it via USB to serial converter, but in the future there will be a data bus throught all modules, and controlled remotely.

This prototype worked well, switches ar switching, lights are shining, everything works well. Whe switches now looks much more realistic, compared to relay controled ones. The movement is smooth, and the moving mechanism is hidden underneath, so nothing is visible.

Next challenge was to create PCB, which will fit into the locomotives. There would be just couple of parts and the PCB should be as simple as possible. As processor there will be ESP32, because of its better capablity of WiFi connection. Also there will be h-bridge to controll the motor and some power module, to make 12V input to 3.3V output, to power the processor.

alt text

After first iteration, with bad wiring of some pads, ...

Continue reading →

Canon battery grip

Few months ago i have received a Canon 400D with some lens. the body of camera worked well, and two of the lens worked also. One remaining len, unfortunately the best one, not worked. I have tried to service it, but with no result.

alt text

However i have now received the original BG-E3 battery grip for the 400D. I am still using the body as spare one, because it still takes very nice photo, and especially with long aperture it takes maybe better shots than my new 2000D camera.

I will charge both of my batteries and i will try, how long it will last. However even one battery is usually able to cover 2 days of intensive photographing, so i will possibly not use it much.

Although it is a nice piece of hardware, and I will keep it, and I will see, I will find it practical.

Continue reading →

Building NAS (part four)

I was doing some research and tuning on my TrueNAS instance and I have discovered that I am using a discontinued version of TrueNAS. I am tuning on "core", which is based on FreeBSD, but unfortunately the system has switched to Linux core, using the subname "scale".

So I decided to switch to the supported branch of this system, and discovered that there is an easy way to switch from core to scale, using the standard upgrade process, just by using the "manual" way, uploading the scale distribution file.

The process was automatic and went well. The only problem was that the "jails" services (virtual machines for applications) are discontinued, but fortunately I was only using them for testing, so I do not care that I lost them.

The system booted fine after the upgrade and was comparatively faster than before. All the data on the disk pool survived, so everything is almost perfect.

The only thing I am still working on is the VPN connection. I lost the Wiregueard configuration during the upgrade process. So I tried to re-configure it as the .conf file remained in the file system. After a few tries I got it working and everything seemed fine, even after ...

Continue reading →