Archive for the ‘Webtechnology’ Category

No Comments

Text with pattern the new way

Sunday, October 4th, 2020

In the past the only way to to get colored text, like from an image or gradient was to use SVG.

Nowadays pure CSS is enough.

Although a prefix with -webkit- is still needed for Safari and Blink browsers.

.post-2027 h1{
background-image: linear-gradient(
90deg,
#7383c1 0%,
#bed876 50%,
#e0b384 100%
);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
width:max-content;
}
1 Comment

Why the upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS is not available yet.

Wednesday, September 9th, 2020

Linux users of the Ubuntu 18.04 LTS (Long Term Support) are still waiting to upgrade their systems to 20.04. Normally at around the time the first point release of the new LTS distribution is released.

What is a point release?

These point releases include support for new hardware as well as rolling up all the updates published in that series to date. So a fresh install of a point release will work on newer hardware and will also not require a big download of additional updates. These include security updates and corrections for other high-impact bugs, with a focus on maintaining stability and compatibility with Ubuntu 20.04 LTS.

And 20.04.1 was released on August 6. But the problem is: not all flaws have been ironed out yet in 20.04.1. So at the moment you can’t be confident to get a smooth upgrade from 18.04 LTS. That’s why the upgrade is not yet available. Yes you can get a smooth install, but not a smooth upgrade.

Upgrade blocking bugs for 20.04

There are 2 blocking issues at the moment, and they must be solved first:

  1. eoan to focal upgrade hangs when lvm snapshot is present (bug 1876506) resolved
  2. grub-pc upgrade support (bug 1891680)

Here you can track the release status.

If you wanna take the risk, you can always force a upgrade with:

do-release-upgrade -d
No Comments

Getting the date right in Javascript in your language of choice

Thursday, August 20th, 2020

The Internationalization API provides language number formatting, string comparison, and date/time formatting in Javascript. It’s a global object.

Intl.DateTimeFormat('en-GB',
{
day: '2-digit',
hour: '2-digit',
minute: '2-digit',
second: '2-digit',
weekday: 'long',
era: 'long',
year: 'numeric' ,
month: 'long',
timeZoneName: 'long',
hour12: false
}).format()

What is the time today?

No Comments

Macro Photography with the Raspberry Pi HQ camera and reverse mounted lens III

Saturday, June 6th, 2020

Another try with some extra lighting, and post-processing with Darktable. See my earlier posts about photographing with the Raspberry Pi HQ Camera: part I and part II.

This time I used a special build of raspistill that offers a Field of Merit function to assist focusing. The Raspberry Pi Forum is full of helpful people and is very informative.

Fruit-fly taken with a Raspberry Pi HQ Camera and a reverse mounted Pentax 35mm lens

Fruitflies are the really minuscule flies that hang around you garbage bin, or home plants in the windowsill.

Not sure what the yellow blob is, maybe I caught the fly eating a piece of banana.

 

No Comments

Install Firefox Android on Android AOSP

Saturday, June 6th, 2020

A small update on an older post Install Android browsers without Google Play because the download link on Mozilla’s pages has changed.

https://download.mozilla.org/?product=fennec-latest&os=android&lang=multi (direct download)

Also F-droid is highly recommended for free and open-source software.

F-Droid is a community-maintained software repository for Android, similar to the Google Play store. The main repository, hosted by the project, contains only free/libre apps. Applications can be browsed, downloaded and installed from the F-Droid website or client app without the need to register for an account. “Anti-Features” such as advertising, user tracking, or dependence on nonfree software are flagged in app descriptions.

https://en.wikipedia.org/wiki/F-Droid

And of course there are releases on the development site:
https://github.com/mozilla-mobile/fenix/releases

 

2 Comments

Macro Photography with the Raspberry Pi HQ camera and reversing the lens II

Thursday, June 4th, 2020

In a first post about Macro photography with the Raspberry Pi HQ camera I showed some pictures made with the reverse mounted lens technique and the new Raspberry Pi HQ camera.

But you might wonder what the exact setup was. So I show and describe it here. Yes, the 16mm lens is used upside down, or the wrong way. 😉

As I explained earlier. Normally you catch a big world in a small photo, and by reversing the lens you’ll get the opposite. You can make a small world big.

Exactly what you want for macro-photography.

 

Macro photography setup with the Raspberry Pi HQ camera and a reversed 16mm lens

(more…)