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!

Minecraft Key Controls

It’s the season to play more games again… quarantine, holidays, nothing on TV, whatever the reason is. I have my own Apps and Games, but sometimes I like to indulge in a little MineCraft Building Splurge running on my own private server. Let’s insert a little disclaimer here: All rights reserved to Mojang for Launcher code and Minecraft. Please purchase the game and support mojang by visiting The Official Minecraft Website for future updates and development of the game!
Anyway; because I do not play that frequent I always have to look up the keys and mouse buttons again to know which key controls what funtionality in the game.

Continue reading Minecraft Key Controls

HP LaserJet Pro M280 M281 Printer series 20200612 firmware downgrade

The source of the solution is here, my problem was real!
After a firmware upgrade for my HP M281fdw all-in-one printer, it suddenly started complaining about communication problems with one of the supplies. “Supply problem.” on the screen and “The indicated supplies are not communicating correctly with the printer. Try reinstalling the supplies. If the problem persists, replace the supplies to continue printing.” in the help-text. Uncertain about the level of toner in my K container I simply ordered a new one. Of course no one wants to pay ridiculous prices, so I go for the home-brand of 123inkt.nl
Since I knew my CMY had been low for months I decided to change those three at the same time. To my surprise this suddenly gave errors on all four supplies, making me go ‘hmmmm’.

I started googleing and getting more frustrated about my printer not doing what it is supposed to, I remembered I clicked something about a firmware update and forgot about it. Then I found this article which gave me the option to downgrade… AND IT WORKED! My toner was actually still at 90%

So, HP, Hewlett Packard, you F@!^%#$-ing B@#&$%ards, blocking non-HP toners is so stupid, low-blowing and unbelievable, I am thinking about calling my lawyer to see if that is even legal, blocking me to use the more enonomical printer-supplies-brand I prefer and costing me a day of waiting for a newly ordered toner and a couple of hours of aggravation before I could solve this issue with finally a firmware downgrade.
Anyway, below the solution, which I copied and corrected from the other website:

Continue reading HP LaserJet Pro M280 M281 Printer series 20200612 firmware downgrade

Wind and Solar Power Grid Connection

Free energy is a nice idea; unfortunately you need to invest in some equipment to actually make it happen. Trying to build the following setup, thank you aliexpress:

The components are: windmill, wind charge controller, tiny solar panel, solar panel charge controller, a 12v battery, some 12v DC cables and wires and a couple of switches to tie it all together.
Still working on the choices for the grid tie converter.

* advertisement:

get a free coupon for new users here

That’s all folks!

Mini-Games is underrated

Read this nice article here!

Puzzle games used to be a simple genre, most of us played them to kill time but puzzle games have become extremely popular on cell phones. Infact, Puzzle games are one of the most played games on cell phones. There are some high quality puzzle games out there but at the same time, there are alot of puzzle games that are of low quality. We have curated a list of high quality puzzle games that are underrated, these puzzle games are very addictive.

Or even better, just play Mini-Games yourself !!!
If you believe the reviews, you will either love it or hate it:

Have fun!