Inflatie

Bericht van mijn leverancier:
Aanpassing in uw abonnement

Bij XXX werken we continu aan de verbetering van onze dienstverlening. Graag garanderen we u de betrouwbaarste hosting en de snelste en beste service, ook weer in 2023.
Onze kosten zijn het afgelopen jaar flink gestegen, met als gevolg dat we ook uw prijzen moeten verhogen om de kwaliteit te kunnen garanderen die u van ons gewend bent. Gegeven de inflatie (de CBS CPI jaarmutatie van september bedraagt 14,5%) en de significante kostenstijgingen vanuit onze leveranciers informeren we u graag op tijd en sturen we deze brief. De belangrijkste wijziging voor u betreft een verhoging van 15% tot 20% op onze hosting services. Graag lichten we dit verder toe:

  • Energiekosten: Zoals bekend zijn de energiekosten het afgelopen jaar enorm gestegen. Energiekosten zijn een significante kostenpost voor ons en zijn over het afgelopen jaar meer dan verviervoudigd. De afgelopen periode hebben wij hiervoor een tijdelijke, niet-kostendekkende, energietoeslag in rekening gebracht. Per 2023 zal de energietoeslag komen te vervallen en worden gedekt met de tariefswijziging.
  • Kostenstijgingen leveranciers: Onze leveranciers (o.a. domein registrars) hebben de prijzen gedurende 2022 reeds sterk verhoogd en vrijwel alle leveranciers verhogen hun tarieven wederom per 1 januari 2023. Deze verhogingen zijn (vele malen) hoger dan dat wij de afgelopen jaren in de markt hebben ervaren.
  • Loonkosten: Gedreven door het CPI en de ongekende krapte op de arbeidsmarkt van de IT-dienstverlening zullen wij de lonen van ons personeel moeten verhogen. Daarnaast maken wij additionele kosten voor recruitment en voor retentie van ons beste personeel.
  • Schaarste hardware: Levertijden van hardware staan al een tijd onder druk. Dit heeft impact op de inkoop van hardware die wij inzetten om onze diensten te kunnen leveren.
  • Beveiliging: Wij investeren continu in de beveiliging van onze datacentra en diensten. De toenemende security dreiging en de snelheid waarmee kwaadwillende personen nieuwe manieren van misbruik ontwikkelen maakt dat de kosten om de beveiliging op niveau te houden significant toenemen.

Helaas betekent dit dat ook My Brain Hosting alle prijzen in 2023 moet gaan aanpassen.

Sorry.

Dartbord Oche distances

The sport originates from the UK, so all measurements are in feet and inches. Let’s convert these correctly.

1 foot = 12 inch, 1 inch = 25,4 mm.

From the floor to the center of the Bull’s Eye:
5 feet. 8 inches = 68 inches = 1727,2 mm

From the front of the dartboard to the Oche / throwing line:
7 feet 9 1/4 inches = 93,25 inches = 2368,55 mm

Most websites will mention 1,73m and 2,37m, but as you can see this is not quite right.
Now, let’s add some math:

As good old Pythagoras says: “a2 + b2 = c2”, so:

5610029,1025 + 2983219,84 = 8593248,9425 and get the square root from this last one gives us:

2931,424387989566 !

So, our bullseye – oche distance should be 293,14 cm long to test the measurement diagonally.

The more you know…
Have a nice day!

Watch Free Formula 1 streams F1

2021… Red Bull outsmarted Mercedes:
Max Verstappen beat Lewis Hamilton!

Now do you want to see the upcoming 2022 season? You could get a F1 membership, or watch it using a free livestream. Most of the time these streams are limited to the country, but you can use a good VPN service to watch it anyway. I used to promote NordVPN (but got no commission from posting a link to them, my advise… wait until February and get an F1 subscription with a good promotion and discount… anyway…)… they say this is how it works:

Continue reading Watch Free Formula 1 streams F1

Help EarthToday

Every square meter counts!

EarthToday was founded on a vision of a future society where we care for each other and the planet we live on. It is developed to sustainably facilitate a growing group of conscious people from all around the world who share the same dream. Everybody can join by protecting one or more m² of nature. From that moment on you can virtually visit your m² and curate inspiring content about nature conservation and a sustainable and holistic lifestyle.

We believe in equality, freedom, transparency and collaboration. We are organized as a for-purpose venture where 83% of all revenue is directed to the purpose. We are a community for change, and we invite you to join.

Have a nice day!

KiBiBytes en TeBiBytes

Learned something new today… Also see the wiki:

Een kilobyte, afgekort kB, is 1000 bytes. Vroeger werd er verschil gemaakt tussen een hoofd- en een kleine letter k:

k = kilo (103)1.000
K = kilo (210)1.024

In praktijk werkte dit verwarrend en bedoelde men met 1 kB vaak 1024 bytes.

De oude notatie wordt ontraden sinds er een nieuwe standaard is voor binaire voorvoegsels (zie: veelvouden van bytes). Deze standaard wordt echter nog niet veel toegepast.

Let op: het is nog steeds van belang voor de B een hoofdletter te gebruiken: een kleine letter b staat namelijk voor bit en niet voor byte.

1024 B heet nu een kibibyte, afgekort KiB. 1000 kB heet een megabyte, 1024 KiB heet een mebibyte.

In een tabel:

symboolnaamwaardesymboolnaamwaarde
kBkilobyte10001 = 103KiBkibibyte10241 =2102,4%
MBmegabyte10002 = 106MiBmebibyte10242 =2204,9%
GBgigabyte10003 = 109GiBgibibyte10243 =2307,4%
TBterabyte10004 = 1012TiBtebibyte10244 =24010,0%
PBpetabyte10005 = 1015PiBpebibyte10245 =25012,6%
EBexabyte10006 = 1018EiBexbibyte10246 =26015,3%
ZBzettabyte10007 = 1021ZiBzebibyte10247 =27018,1%
YByottabyte10008 = 1024YiByobibyte10248 =28020,9%

The more you know… 🙂

WooCommerce and Polylang

I ran into this issue: Any link in my code/theme/plugin to standard Woocommerce pages did not go to the correct translated page!
However the solution provided here will break whenever WooCommerce is updated. The correct way of solving this is adding some filters…

//20210216 - (c) My Brain - correction for function wc_get_page_id()
function woocommerce_translate_polylang_page_id($pageid) {
	if (!empty($pageid)) {
		if (PLL() instanceof PLL_Frontend) {
			$pllpageid = pll_get_post($pageid);
			if (!empty($pllpageid)) {
				$pageid = $pllpageid;
			}
		}
	}
	return $pageid;
}
//myaccount, edit_address, shop, cart, checkout, pay, view_order, terms
add_filter( 'woocommerce_get_myaccount_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_edit_address_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_shop_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_cart_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_checkout_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_pay_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_view_order_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );
add_filter( 'woocommerce_get_terms_page_id', array( $this, 'woocommerce_translate_polylang_page_id' ), 10, 1 );

Have a nice day!

HTTP Error 413.1

HTTP Error 413.1 – Request Entity Too Large – The page was not displayed because the request entity is too large.
Large file? Large problem! On IIS you can get this error while trying to upload. Read this and then think… maybe edit the web.config file in the root? So you try adding this, or something similar:

<serverRuntime>
  <uploadReadAheadSize>2147483647</uploadReadAheadSize>
</serverRuntime>
<security>
  <requestFiltering>
    <requestLimits>
      <maxAllowedContentLength>2147483647</maxAllowedContentLength>
    </requestLimits>
  </requestFiltering>
</security>

but you simply get: HTTP Error 500.19 – Internal Server Error – The requested page cannot be accessed because the related configuration data for the page is invalid. – so, whatever you were thinking is: Wrong!
When using IIS manager you get:

<security>
  <requestFiltering>
    <requestLimits maxAllowedContentLength="2147483647" />
  </requestFiltering>
</security>

while the ‘uploadReadAheadSize’ does not appear anywhere in the web.config. But: it helps and there are no more errors while uploading!
So you have to set these values in IIS Manager itself.
Problem? Solved!

Have a nice day!