I have been working on a WordPress site that parses remote news API’s and requires not only parsing the news format JSON but getting any associated media and downloading them.
Herein lies the problem: the download_url function that WordPress provides does not support passing in headers. If you are working with a remote API that requires passing an authorization header, then this function won’t work.
Unbbeknownst to some, the underlying download_url function uses WordPress request methods to make the request for the file. Taking the original function from the codebase and making some simple tweaks, we end up with something like this.
With the price of Bitcoin hitting a new all-time high and altcoins following suit, there has been renewed interest in cryptocurrency, specifically, mining cryptocurrencies. This has also been helped by Nvidia’s new power RTX 30xx series cards (not that anyone can find a 3080 anywhere).
There are numerous ways in which you can mine cryptocurrency. You have the various command line mining software that requires configuration and, sometimes, even compiling. You also have Cudo Miner, which will switch between coins to mine based on the most profitable, which is a little less configuration.
While we build our house, we are currently in a rental property. Sadly, the area we are renting in due to the incessant demand for rental properties is not exactly brimming with respectable individuals.
Given we have two young children and we’ve worked hard to buy the items we have, we don’t want some meth-head breaking into our house and taking our stuff.
After some research, we settled on the Eufy security cameras (not the Eufy 2c ones).
I’ve been playing guitar for about 15 years now. And in those 15 years I have gone between playing every style of music you can imagine (except for country). From rock to metal, to djent, blues and shred.
From extended scale Ibanez’s through to solid body Les Paul’s and semi-hollow body guitars. I’ve tried and owned a cocophany of guitars.
For my birthday, my wife surprised me with the Fender 75th Anniversary Telecaster. It comes in the custom “Diamond Anniversary” metallic colour, and it’s beautiful.
As interest in blockchain and cryptocurrencies heats back up in 2021, there are more blockchains in terms of choice than you can poke a stick at. It just so happens that many of these blockchains are not a beginner or intermediate friendly, requiring tooling and other steps.
If you currently want to build on Ethereum, you need to write smart contracts using Solidity. It’s a whole song and dance. For EOS and other blockchains, it’s a similar story.
I have been trading cryptocurrencies since early 2017. And for a good while, Australians had limited options for reputable and secure exchanges to trade on. The first exchange I joined was Coinspot, which seemed like a decent option at the time in 2017. This was when Binance didn’t have an Australian version of its exchange either.
Since then, a cornucopia of cryptocurrency exchanges and platforms have become accessible to Australians, competition is now fierce.
For some reason, the tragic loss of Chester Bennington the frontman of Linkin Park still affects me to this day. I didn’t personally know him, but Linkin Park was the soundtrack to my teenage years (like many others my age).
I don’t even know if Linkin Park will ever return, Chester is irreplaceable, in my opinion. One of the most talented vocalists in the genre could switch between his unique singing style to Usain Bolt stamina levels of screaming.
In case you missed it, Australia is currently trying to introduce a media bargaining code forcing Facebook, Google and presumably any other company that links to news to pay money to media organisations.
It’s as crazy as it sounds.
Google has recently said that if the code were approved in its current form, it would pull search out of Australia. Some think Google might be bluffing, but I assure you that they are not. They will make good on their threat if they’re willing to go on the record.
Having recently picked up a HP Reverb G2 headset and being excited to play Microsoft Flight Simulator 2020, I thought I would share my settings with the game running nicely with this headset and my Nvidia RTX 3070 graphics card.
It is no secret that MSFS 2020 is a game that will stress even the highest spec of graphics cards. The 3070 not being the highest-rated GPU you can get right now won’t let you max the settings for MSFS 2020 and provide optimal FPS, but it is adequate with some tweaking.
The proposed Australian News Media Bargaining Code is a contentious code of conduct that will compel digital companies like Facebook and Google to pay for any news content they link to.
In simple terms, if Google links to a news story, they are required to pay for it under this proposed mandatory code of conduct, as far Facebook and other digital companies.
And if you think this sounds like a stupid idea that would never be enacted into law, you seriously underestimate the influence that Rupert Murdoch and News Corp have in Australia.