Sunday, 21 February 2021

IPFS (Inter-Planetary File System)

I was reminded today of the Inter-Planetary System or IPFS today when I viewed this tweet shown in Figure 1:


Figure 1

I installed the IPFS desktop on my Mac and Figure 2 shows a screenshot of the about file:


Figure 2

It's important to maintain familiarity with this sort of technology as a future means of communication and file sharing when the Internet becomes totally balkanised and controlled. Here are some excerpts from the IPFS website:

Today's web is inefficient and expensive
HTTP downloads files from one computer at a time instead of getting pieces from multiple computers simultaneously. Peer-to-peer IPFS saves big on bandwidth — up to 60% for video — making it possible to efficiently distribute high volumes of data without duplication.

Today's web can't preserve humanity's history
The average lifespan of a web page is 100 days before it's gone forever. It's not good enough for the primary medium of our era to be this fragile. IPFS keeps every version of your files and makes it simple to set up resilient networks for mirroring data.

Today's web is centralised, limiting opportunity
The Internet has turbocharged innovation by being one of the great equalisers in human history — but increasing consolidation of control threatens that progress. IPFS stays true to the original vision of an open, flat web by delivering technology to make that vision a reality.

Today's web is addicted to the backbone
IPFS powers the creation of diversely resilient networks that enable persistent availability — with or without Internet backbone connectivity. This means better connectivity for the developing world, during natural disasters, or just when you're on flaky coffee shop wi-fi.

As I said, I've installed the IPFS Desktop:


Once installed, the interface is also accessible via http:\\localhost:5001\webui. Figure 3 shows the desktop interface:


Figure 5

It can also be added as a browser extension called IPFS Companion, which I've done using the Chrome browser. 


There is an IPFS tutorial on ProtoSchool that can be worked through for the more motivated.


Of course, most people do not have IPFS installed on their computers and so content can only be made available to them by using an IPFS gateway, defined as follows:
The ipfs.io gateway makes it possible for Internet users to access and view data hosted by third parties on the IPFS network. The ipfs.io gateway is a community resource run by Protocol Labs to help developers build on IPFS. Source.

Another important concept is pinning, explained as follows: 

Pinning services

To ensure that your important data is retained, you may want to use a pinning service. These services run lots of IPFS nodes and allow users to pin data on those nodes for a fee. Some services offer free storage-allowance for new users. Pinning services are handy when:

    • You don't have a lot of disk space, but you want to ensure your data sticks around.
    • Your computer is a laptop, phone, or tablet that will have intermittent connectivity to the network. Still, you want to be able to access your data on IPFS from anywhere at any time, even when the device you added it from is offline.
    • You want a backup that ensures your data is always available from another computer on the network if you accidentally delete or garbage-collect your data on your own computer.
Pinata is one such service that provides one gigabyte free to new users.


The Brave web browser now natively supports IPFS:
Brave has integrated IPFS into its desktop web browser for Windows, macOS, and Linux. When Brave detects an address which is an HTTP gateway URL to IPFS content, or a native IPFS address such as ipfs:// or ipns:// it will prompt the user to install and enable the native IPFS node, or to use an HTTP gateway. The default gateway used is dweb.link, which is run by Protocol Labs. Users can also specify a gateway of their choice in the browser settings. You can access the IPFS administrative UI at brave://ipfs,, or enable IPFS Companion and select “My Node” button in the main menu. Source.
(opens new window)

Friday, 19 February 2021

Woke

It's only now, after hearing the term used repeatedly in recent weeks, that I've come to understand what is meant by "woke". Here is what the Merriam-Webster Dictionary had to say about the word (that was added in September of 2017):

If you frequent social media, you may well have seen posts or tweets about current events that are tagged #staywoke. Woke is a slang term that is easing into the mainstream from some varieties of a dialect called African American Vernacular English (sometimes called AAVE). In AAVE, awake is often rendered as woke, as in, “I was sleeping, but now I’m woke.”

It can be hard to trace slang back to its origins since slang’s origins are usually spoken, and it can be particularly difficult to trace a slang word that has its origins in a dialect. Woke’s transformation into a byword of social awareness likely started in 2008, with the release of Erykah Badu’s song “Master Teacher”:

Even if yo baby ain't got no money

To support ya baby, you

(I stay woke)

Even when the preacher tell you some lies

And cheatin on ya mama, you stay woke

(I stay woke)

Even though you go through struggle and strife

To keep a healthy life, I stay woke

(I stay woke)

Everybody knows a black or a white there's creatures in every shape and size

Everybody

(I stay woke)

Stay woke became a watch word in parts of the black community for those who were self-aware, questioning the dominant paradigm and striving for something better. But stay woke and woke became part of a wider discussion in 2014, immediately following the shooting of Michael Brown in Ferguson, Missouri. The word woke became entwined with the Black Lives Matter movement; instead of just being a word that signalled awareness of injustice or racial tension, it became a word of action. Activists were woke and called on others to stay woke.

Like many other terms from black culture that have been taken into the mainstream, woke is gaining broader uses. It’s now seeing use as an adjective to refer to places where woke people commune: woke Twitter has very recently taken off as the shorthand for describing social-media activists. The broader uses of woke are still very much in flux, and there are some who are woke to the broader implications of woke:

“Woke” feels a little bit like Macklemore rapping in one of his latest tracks about how his whiteness makes his rap music more acceptable to other white people. The conundrum is built in. When white people aspire to get points for consciousness, they walk right into the cross hairs between allyship and appropriation.

—Amanda Hess, New York Times, 16 Apr. 2016

This excerpt from a Signs of the Time article puts it well:

The woke dictionary is a way to soften speech in our "fear of offending" culture. Calling out others for using "dated" and "problematic language" is how students can virtue signal by showing off how sensitive they are. If you prequel anything slightly controversial with "speaking from a place of privilege," there's a better chance your peers won't label you a racist. 

The term "virtue signalling" is described as:

the action or practice of publicly expressing opinions or sentiments intended to demonstrate one's good character or the moral correctness of one's position on a particular issue.

"it's noticeable how often virtue signalling consists of saying you hate things" Source

The term woke is included amongst "24 phrases millennials use all the time but no one else gets" and these phrases are certainly worth a look.

Monday, 1 February 2021

PRODOME

I came across an article today discussing whether some dreams can provide early warnings of physical problems in the body. Such dreams are described as prodromal and so I thought I'd create a post centred around the use and etymology of this word. As an adjective, it derives from the word prodrome that the Online Etymology Dictionary describes as:

1640s, "a forerunner" (a sense now obsolete); by 1834 in pathology, "a prodromal symptom;" from French prodrome (16th century) and directly from Modern Latin prodromus, from Greek prodromos "a running forward, a sally, sudden attack," from pro "forward" + dromos "a running".

In fact, words built from dromos include:

  • hippodrome: horse racing and chariot racing. The name is derived from the Greek words hippos and dromos. The term is used in the modern French language and some others, with the meaning of "horse racecourse". Source. In modern use, "circus performance place" (mid-19th century), and thus extended to "large theater for stage shows."

  • aerodrome: a location from which aircraft flight operations take place, regardless of whether they involve air cargo, passengers, or neither. In American English, the term is airdrome. Aerodromes include small general aviation airfields, large commercial airports, and military air bases. It's use has now been largely replaced by the word "airport". Source. The word derives from the Greek aerodromos meaning "a running through the air."

  • palindrome: "a word or line that reads the same backward and forward," 1620s, from Greek palindromos "a recurrence," literally "a running back." Second element is dromos "a running" and first is palin "again, back". Source.

  • velodrome: a track for bicycle racing, usually with curved sides that go up steeply. Source. The term derives from "a building for bicycle races, 1892, from French vélodrome, from vélo, colloquial abbreviation of vélocipède + drome". Source.

  • dromedary: "thoroughbred Arabian camel," late 13c., from Old French dromedaire and directly from Late Latin dromedarius "kind of camel", from Latin dromas (genitive dromados), from Greek dromas kamelos "running camel", from dromos "a race course". Source.

  • syndrome: a group of symptoms that collectively indicate or characterise a disease, disorder, or other condition considered abnormal. Source. It's etymology is:
"a number of symptoms occurring together," 1540s, from medical Latin, from Greek syndrome "concurrence of symptoms, concourse of people," from syndromos "place where several roads meet," literally "a running together," from syn "with" + dromos "a running, course". Source.

Figure 1 and 2 show visual examples involving the use of the word prodome.

Figure 1: source


Figure 2: source

Finally, Figure 3 shows an image of a seadrome:


Figure 3: source

Thursday, 14 January 2021

Signal

Today I set up a Signal account on my phone. It was interesting to read the following from this source:

... what most people don’t realise is that Signal “phone numbers” are not really phone numbers. They are more like numeric user names.

Contrary to popular belief, your Signal account is not linked to your phone number, but rather to an automatically generated number called a private key. In order to make the app easy to use, this private key or cryptographic identity is then associated with some arbitrary other number that again, for convenience’s sake, just happens to be a phone number. The reason it’s a phone number is so that the Signal service can send you a verification code in a text message during the sign-up and account registration process. But there’s no reason you have to give Signal your real phone number.

By providing Signal with any phone number at which you can receive an SMS or text message, you can register a Signal account at that other phone number. For example, you can create a pseudonymous Google account, register a Google Voice VoIP number, and use that as your Signal number. Or you can even use a free throw-away SMS account and use that number when you sign up for your Signal account instead of your real phone number. The Signal service will happily send the throw-away number a text message with the verification code, letting you complete the account sign-up process.

I had tried to register using my Australian Skype number only to find out that such numbers can't receive an SMS. This was news to me and so I promptly cancelled my Skype number. The reference above to Google Voice VoIP number caught my attention but that's currently only available in the USA. 

Here is some more information about Signal:

For the past few days, WhatsApp is hitting the headlines as it is updating its terms of use and privacy policy. As it appears to be a concern for many, people are talking about the alternatives to WhatsApp. One of the most secure options available out there is Signal. Well, WhatsApp is the most popular instant messaging app that comes with features such as end-to-end encryption, video and voice calling support, simplified file transfer in just a single click and much more. However, it is not the only one offering such capabilities to users. There are a slew of messaging apps such as Telegram, Line, iMessage and more that provide similar benefits. 

Having said that Signal is a secure alternative to WhatsApp, let's take a look at the details of the app. 

What Is Signal? 

Signal is a messaging app with a great focus on privacy. Its tagline is 'Say Hello to Privacy'. It is an end-to-end encrypted service just like WhatsApp. Signal is available on Android, iOS and Chrome platforms. It is free of cost and comes with same features as any other messenger apps. While it exists for quite some time, the app has gained traction since the recent privacy policy change announced by WhatsApp. It received too much influx from new registrations across the world and crashed. Now, Signal is back in action and it accepts new registrations.  

Who Owns Signal? 

Signal was developed by the Signal Foundation and Signal Messenger LLC and it is a non-profit company. Signal was created by Moxie Marlinspike, American cryptographer and currently CEO of Signal Messenger and WhatsApp co-founder Brian Acton. 

Which Country Does Signal Belong To? 

The Signal app's origin is California, USA. This rules out the confusion that many might have as it is speculated to be a Chinese company. Notably, the company has been termed Limited Liability Partnership. 

Is Signal Safe? What Data Does It Collect? 

While WhatsApp and many other instant messaging apps collect a lot of user data from your device such as performance data, device ID, advertising data, product interaction, payment info, location data, search history and more, Signal is claimed to be a secure app. We say so as the app does not collect any user data. It is claimed that Signal will ask only for your mobile number for registration. Apart from this, the app won't ask you to link your number to your user account.

Read more at: https://www.gizbot.com/apps/news/signal-messaging-app-who-owns-signal-which-country-does-telegram-belong-to-071992.html

Now what about Moxie Marlinspike whose real name is Matthew Rosenberg? Here is a link to a profile of the man. He is Jewish but I don't know if he has dual nationality (with Israel). The reality is that no United States software developer is allowed to rise to prominence if they don't acquiesce to the installation of NSA backdoors in the software. The richest man in the world recommending Signal should be a signal in itself that something's not right here. It's as if we are all being herded toward Signal but any hope of genuine privacy is a forlorn hope. End-to-end encryption of communications is not the future that is being planned for us. This article explores the issue in more depth.

Friday, 8 January 2021

Hand Idioms

I write an article now and then, just to keep my hand in.The Cambridge Dictionary had a useful blog post on January 6th 2021 relating to idioms that involved the word hand. Here are examples of the phrases that were described:

  • Like all parents, I want to know that my child is in good hands.

  • The new director is widely regarded as a safe pair of hands.

  • We’ve got to do something to calm these kids down or we’re going to have a riot on our hands!

  • Anyway, there’s nothing I can do about the matter now. It’s out of my hands.

  • I thought I might try my hand at baking.

  • Bored with journalism, he’s now hoping to turn his hand to politics.

  • Just think of the suffering that animals endure at the hands of humans.

  • We can’t ask Tom to help out. He’s got his hands full setting up the cafe.

  • I mean, I’ll put my hands up. I’m not always the best at helping around the house.

  • Suddenly, everyone wanted to buy their products and they were making money hand over fist.

  • If you played her at tennis, you’d win hands down
I'd thought I'd add a few more to the list, not necessarily idioms but also aphorisms and compound words. Here they are:

  • The family was so poor that all the younger daughter's clothes were hand-me-downs from her older sister.

  • The extra manpower ensured the project was completed on time. It was a classic case of many hands make light work.

  • The two rivals agreed to discard their swords and engage in hand-to-hand combat.

  • In golf, Ben has a handicap of twenty two.

  • All Saul's business dealings were underhand and shady.

  • This burglary is the handiwork of a professional.

  • He's a real handy-andy when it comes to repairs around the house.

  • "Why, you don't look your age at all!" came Gladys's deliberately back-handed compliment (or left-handed compliment).

  • It's in God's hand now, there nothing we can do.

  • Because of his former hubris, Alex blamed the hand of God for his accident.

  • The family had little money and led a hand to mouth existence most of the time.

  • He was caught with his hand in the till so to speak when discovered rifling through the pockets of coats that were hanging near the entrance to the house.

  • Joe Biden is a hands-on type of guy where young girls are concerned.

  • Life had dealt him a seemingly bad hand and so he was always disgruntled.

  • "Look, hand on heart, I don't know anybody called Gemma", said my boyfriend.

  • The nurse's hand-off at the end of her shift was rather long-winded. It seemed as if she didn't want to leave the ward.

  • The handover of power following Trump's electoral defeat has not gone smoothly.

  • "All assignments must be handed in by Wednesday", said the lecturer.

  • It was interesting to hear a first hand account of what had happened from an eyewitness. 

  • Some of the guests drank too much and suddenly things got out of hand.

  • I got the news second hand from my friend who knows somebody who was there.

  • Information received third hand should not be counted on as reliable.

  • "He wouldn't do anything like that. I know him like the back of my hand", said my friend reassuringly.

  • Do you have anything on hand could serve as a leash for our dog?

  • He was very off-hand in his reply to my question and this annoyed me.

  • Can you give me a hand? I can't lift this by myself.

  • If you want to succeed in politics, you'll have to get your hands dirty.

  • The censorship was rather heavy-handed and there was an inevitable backlash.

  • His wife waited on him hand and foot but he was never appreciative.

  • I've washed my hands of the whole, sordid business.

  • You take your life in your hands when you drive with him.

  • If the police don't do something soon, I'm going to take the law into my own hands.

  • The artefact was made by hand, there was no machining applied at all.


Pinterest is a good source of visual material illustrating many of these idioms. Figures 1 and 2 show two examples:


Figure 1



Figure 2

Sunday, 3 January 2021

Indonesian Vocabulary: Present for the Missus

I watched a YouTube video containing spoken Indonesian in an effort to improve my listening ability. Below is the dialog relating to the purchase of a necklace together with my commentary.


Seorang laki-laki sedang mencari hadiah ulang tahun untuk istrinya di toko perhiasan. A man is looking for a birthday present for his wife in a jewelry shop.

I was unfamiliar with perhiasan meaning jewelery but also embellishment and adornment. However, the term toko perhiasan is reserved for a jewelry shop. Words related words to perhiasan are:
    • perhiasan emas --> gold jewelry
    • hias --> ornamental or decorative
    • hiasan --> decoration
    • hiasan dinding --> wall decoration
    • hiasan natal --> Christmas decoration
    • hiasan kepala --> head accessories
Kalung yang mana yang akan dibelinya? Which necklace will he buy? Literally, which necklace will be bought by him? 
 
I need to remember that yang mana means which one, something I knew but when listening it's easy to get confused. The word kalung meaning necklace I didn't know.

Ada yang bisa saya bantu? May I help you? Literally, is there anything I can help with? Saya sedang mencari hadiah ulang tahun untuk istri saya I'm looking for a birthday present for my wife. Apa saran kamu? What do you recommend. Literally, what (is) your suggestion? Nah, bagaimana dengan kalung ini? Well, what about this necklace?

It should be noted that here nah means well and not no as in English. Importantly, bagaimana dengan means what about which is a basic phrase to remember.

Hmm, kelihatannya terlalu panjang. Hmm, it looks a little too long. Bagaimana dengan ini? What about this? Kamu memiliki satu dengan liontin bunga dan satu lain dengan hati. We have one with a flower pendant and another one with a heart.

I wasn't aware that liontin meant pendant.

Saya mencari sesuatu yang lebih berkelas.  I'm looking for something a bit more sophisticated.

Whereas kelas just means class, berkelas means classy or sophisticated.

Berapa harga kalung mutiara itu? How much is that pearl necklace? Ini tigah jutah rupiah. It's three million rupiah. Hmmm, itu terlalu mahal. Hmmm, that's too expensive. Baiklah, saya akan ambil yang pertama. Okay, I'll take the first one. Boleh. Silahkan. Sure thing. Here you are.


Let's summarise the words and phrases to remember from what was said above:
  • toko perhiasan - jewelry shop
  • yang mana - which one
  • kalung - necklace
  • nah - well
  • bagaimana dengan - what about
  • liontin - pendant
  • berkelas - sophisticated

Friday, 1 January 2021

The Spider Walk

I watched this YouTube video a couple of days ago from creativeguitarstudio.com that hosts an accompanying blog post whose author is Andrew Wasson. I hadn't visited this guy's channel before but the video, posted on September 1st 2019, has garnered nearly three million views so I figured it was worth watching.


To quote from the blog site:
The Spider Walk exercise is one of the most challenging finger studies known to guitar players. But, one of the problems with learning it is that this exercise is rarely ever shown to students correctly. In this post we're going to explain the proper way to study the Spider Walk and we'll discuss the benefits that it can provide within just 30 days of practice.

He begins with what he calls the "fixed finger approach". See Figure 1.

Figure 1
The accompanying comments are:
Keep the fingers "glued" to the neck, moving only one finger at a time onto the next adjacent guitar string. As you perform the exercise, be sure not to even flinch any of the other fingers from their fretted placement within the position.
He then goes on to what he calls the "single string" exercise. See Figure 2.

Figure 2
He has been posting on his blog since August 2009 with the following yearly totals:
  • 2009 --> 35 posts
  • 2010 --> 20 posts
  • 2011 --> no posts
  • 2012 --> no posts
  • 2013 --> 278 posts
  • 2014 --> 484 posts
  • 2015 --> 498 posts
  • 2016 --> 427 posts
  • 2017 --> 322 posts
  • 2018 --> 162 posts
  • 2019 --> 121 posts
  • 2020 --> 104 posts
Despite starting in 2009 and continuing into 2010, he had a hiatus of two years and then began in earnest. His phenomenal output for a three year period from 2014 to 2016 averaged more than one post per day. He output has been declining steadily ever since but even his 2020 output of 104 posts is impressive and averages exactly two posts per week. By comparison, my Mathematics blog is the blog to which I make the most posts and my record is 68 posts in both 2018 and 2020.

Andrew Wasson has another site, http://www.andrewwasson.com, that dates back to May 2010 but he says that "as of June 24, 2016, YouTube lesson Handouts are posted in the members area of CreativeGuitarStudio.com." Previously I've subscribed to the following YouTube guitar training or guitar playing channels:
Of these channels, it's LickNRiff that I've viewed the most times. He has over half a million subscribers and his videos are both entertaining and instructive. I'm making this post in an effort to reinforce one of my New Year resolutions which was to improve the standard of my guitar playing. One last thing is that was mentioned in the Spider Walk video was the use of an online metronome that is available at this site for free.