fabiochiu/medium-articles huggingface dataset:
The Kernel Trick in Support Vector Classification
By: Drew Wilimitis
Tags: Statistics, Mathematics, Data, Data Science, Machine Learning

The kernel trick seems to be one of the most confusing concepts in statistics and machine learning; it first appears to be genuine mathematical sorcery, not to mention the problem of lexical ambiguity (does kernel refer to: a non-parametric way to estimate a probability density (statistics), the set of vectors v for which a linear transformation T maps to the zero vector — i.e. T(v) = 0 (linear algebra), the set of elements in a group G that are mapped to the identity element by a homomorphism between groups (group theory), the core of a computer operating system (computer science), or something to do with the seeds of nuts or fruit?).

Although there are some obstacles to understanding the kernel trick, it is highly important to understand how kernels are used in support vector classification. For practical reasons, it is important to understand because implementing support vector classifiers requires specifying a kernel function, and there are not established, general rules to know what kernel will work best for your particular data.

More conceptually, the kernel trick also illustrates some fundamental ideas about different ways to represent data and how machine learning algorithms “see” these different data representations. And finally, the seeming mathematical sleight of hand in the kernel trick just begs one to further explore what it actually means.

I will certainly not be able to fully explain the kernel trick in this post. I believe a truly deep understanding of the kernel trick requires a rigorous mathematical treatment, and this can’t be done in what is labeled as a seven minute read, let alone by someone who realistically has only been learning about the kernel trick and SVMs for a short period of time. However, I will attempt to do the following:
History can be Like Religion Sometimes
By: Andrei Tapalaga
Tags: Religion, History, Politics, Life, WIB History

Historians want you to believe something else

Many are reaching the level of ‘fanatics’ where they would die for the assurance of the accuracy and reliability of the statements that they are making. This is the reason why when I write about historical events I make sure to learn and read about them only from books as they are the most reliable source for me. I do know that the historians who have written those books may have twisted the story a bit to sound better or just to make their book more intriguing.

At the same time, there are those who want you to believe a historical story has happened in a certain way. The way in which they represent the side they prefer to look much better or in other words more victorias. Take for example the Cold War, there is a very big difference if you read a book about the Cold War written by a communist historian versus a capitalist historian. They are both biased in their own ways as they both support their own political preferences.

This is why I think that an unbiased historian is the best type of historian. As much as everyone hates Hitler or the German army for what has happened in world war 2 I still try to speak about them as if I am not judging their actions. The same goes for the Allied armies, do you think that they didn’t too bad things in that war?

Another good example that I can offer you is about the world’s first Historian, Herodotus. Now there are many that say he was the first historian and there is another majority saying that he is a charlatan that was making things up just to gain fame and financial power. If you take a look at his work it does make sense as well as seems to be quite historically accurate for the time period given.

However, once again we are meeting with the same problem. It is only the people that have observed him which have acknowledged the real truth or better yet the real history. I myself, believe that he was the world’s first historian and that his work is based on real historical events such as the Persian invasion.

here is also those type of people who would not agree just for the sake of not agreeing, they think just because they have read the cover of a certain book they know the whole content of the book. At the same time, there are those who do not believe in certain historical events because they seem to far fetched however, they are true. I love those types of stories for 2 reasons:

It really shows how brilliant the human mind as well as how capable we are as humans even with low technology at our disposal. If such a story has photos they are not able to deny it’s reliability or historical accuracy.

At the end of the day, it does not matter the outcome of the historical event as long as it is the truth and only the truth.
The Killer Santa: How One Man Painted a Family’s Christmas Red
By: The Maverick Files
Tags: America, Gun Control, History, Christmas, True Crime

The ominous Christmas eve of 2008

Sylvia’s parents — the 80-yr old Joseph Ortega and 70-yr old Alicia Ortega had invited all her children and their families to their house on Christmas eve for some family celebrations.

This included their five children — two sons Charles and James, and three daughters, Sylvia, Alicia, and Letitia — all adults. Some of them had their own families who were also at the family gathering including their children.

The party was a gathering of about 25–30 people in total. Like all Christmas parties, the family was having a merry time playing games and having some nice food and drinks on the occasion.

As a joyful night was drawing to a close, at about 11:30 pm, there was a knock at the door. The whole family was already sort of around the front door, as people were starting to say their goodbyes and head back to their respective homes.

Hearing the knock Letitia’s 8-yr old daughter, Katrina, went on to open the door and saw a man dressed as Santa standing at the door, with a wrapped present in one hand. That was probably the perfect surprise for an 8-yr old about to go home from a Christmas party — Santa himself. But much to her shock, the man dressed as Santa, pulled out two handguns and shot her in the face. Luckily, the shot only hit her jaw and while it wasn’t fatal, it injured her badly.

The adults in the house immediately got frantic, and many of them recognized this was Sylvia’s estranged husband, Bruce.

He then opened fire at the rest of the gathering, all of who were running for their lives. The police have later speculated that he may have pointedly shot at some of the family members with his handguns.

After the shootings, Pardo unwrapped the package containing a homemade flamethrower, and used it to spray fuel around the house to set it ablaze. As this happened, some of the neighbors called the police. Also, Letitia, who was able to escape the house to her injured daughter, had also called the police and informed them of the attack.

A total of nine people were killed in the shootings and the fire, and another three were seriously injured. The nine dead people were Sylvia, her parents, her three siblings, two sisters-in-law, and a 17-yr old nephew.

The resulting fire is known to have soared approximately 40 to 50 feet and took 80 firefighters an hour-and-a-half to extinguish.

The intensity of the fire was such that the identification of the victims had to be done with dental and medical records.
Don’t Forget Your Teacher’s Advice
By: Harsh Kundulli
Tags: Poetry, Life Lessons, Wisdom, Life, Teachers

I publish a poem every day. Those that can be called Haiku are here. Others are here.

Stay in touch with me here.
Kado Akhir Tahun Jokowi: Reshuffle Kabinet Indonesia Maju
By: Indra Buwana
Tags: Reshuffle, Joko Widodo, Menkes, Kabinet, Jokowi

in In Fitness And In Health
The Mysteries Of The Abyssal Zone
By: Cuyler Yu
Tags: Oceans, Ecosystem, Deep Sea, Natural Phenomena, Marine Biology

The Mysteries Of The Abyssal Zone

And The Wonders it Contains

It is natural for humans to be curious and wanting a sense of exploration. The biggest companies and richest people have often spent millions of dollars to explore uncharted land, resources, and even space in conquest for discovering new things.

Photo by Karan Karnik on Unsplash

However, these missions often end in coming home with millions of dollars wasted, or a minor discovery not even worth mentioning. But what if there was something else we could explore? Well, we do have a literal sandbox left to explore and it’s called the Abyssal Zone!

Just How Big is the Abyssal Zone?

Humans have only explored 5% of the ocean and in the ocean, there are 4 zones which are the sunlight zone, the twilight zone, the midnight zone, and the abyssal zone. The abyssal zone is the least explored zone because of its dangerous environment. The pressure is immense too, reaching around 600 times the pressure we feel on the surface.

It is also considered the biggest zone as it covers 60% of the global surface and 83% of the oceans. Because of this, our exploration of the abyssal zone has been limited greatly, meaning so much of this particular zone has been undiscovered and ready to be explored.

A Mysterious Creature in the Depths of the Abyssal Zone

Life in the Abyssal Zone

Solitary life other than ecosystems exists here too, such as large fish (Anglerfish, Fangtooth fish, etc.), crustaceans (Spidercrab, Squat Lobsters, etc.) and many more creatures. These marine animals survive on a few unique adaptations exclusive to the abyssal zone.
5Faves: A Few Fine Reads.
Tags: Poetry

For two years 5Faves presented a few favourites among poems previously published in PoetsUnlimited.

There are many challenges to having a poetry publication on the Medium platform, one of which is that after publishing, the shared pieces get buried in the long-scrolling depths of previous works.

The 5Faves selected favourites was shared monthly between December 2016 and November 2018. It brought a few of those pieces back for additional attention, chosen from the works your humble editor flagged as ‘notable’ over the past few years.

See some of the highlighted 5Faves selections, such as these six previous issues…

The final issue — 5Faves from November 2018 or

5Faves from August31, 2018 or

5Faves from May31, 2018 or

5Faves from April 29, 2018 or

The original 5Faves from Dec 2016…

…or use search term “5faves” on Medium for one of many earlier fave lists.
⚡️The overall market sentiment is still fearful.
By: Yann Quelenn
Tags: Chainfund Report, Investment, Blockchain, Cryptocurrency, Ethereum

⚡️The overall market sentiment is still fearful.

Chainfund weekly report 15/09/2018

Dear Investors,

As of the 14th of September, the share prices of our portfolios are the following: $61 for the Dynamic and $60 for the Extreme.

Chainfund Weekly Reports are communicated to investors prior to publication on Medium

The overall market sentiment is still fearful. It is just amazing how fast retail investors are shifting their mood according to the market. Some are shouting “To the moon” after a 30% increase and the day after shouts that “Cryptos are scam”.

Will to expect for Bitcoin? I believe that the first digital currency may likely retest the $6000 support another time. This support is very strong and I expect that institutions like Coinbase — which launched its index funds a few months ago — defending it. This is for this reason that I consider the likelihood to go below this level not that significant. With all the bullish news we have, the Bitcoin price is set to increase rather sooner than later. So if there is a drop, I assume this one would likely be quick and give the opportunity to the smart money to grab again some cheap Bitcoin.

What about Ethereum?

During the major part of the bear market Ethereum moved way less than the others. Now the coin price is catching up the decline of most of altcoins on fears that ICOs that raised money last year are unleashing their ETH on the market. This is the reason why we can expect ETH to outperform the market if BTC drops again. Indeed it can trigger panic on ETH holders. We may expect Ethereum to be even more volatile than most cryptos.
NO-NAT configuration on Cisco ASA Firewall
By: Ken Lai
Tags: Cisco, Ken Lai, Nat, Asa, Networking

Cisco ASA firewall has upgraded its command line at the version 8.3 and changed a lot of configurations from their previous style. I recently faced two cases about NO-NAT in both version and want to leave a quick note here.

Example details:

inside IP address: 1.1.1.0/24

outside IP address: 2.2.2.0/24

traffic go through from inside interface to outside interface

Before 8.3

A access-list is needed to filter the interested traffic. This access-list is then used in NAT 0 to ensure all traffic defined in it is not NATed.

access-list NO-NAT permit ip 1.1.1.0 255.255.255.0 2.2.2.0 255.255.255.0

nat (inside) 0 access-list NO-NAT

Begin in 8.3

ASA gave up the configuration style used before for NO-NAT and mandated to use network object. Network object was introduced earlier and more flexible Configure Object Groups], though, it was popular in configurations. The new style use two network objects to define traffic which doesn’t need to be NATed, then render them in new NAT configuration style.
SMA 50 & SMA 200 Bitcoin Bullish Indicator
By: Akhil Nayak
Tags: Crypto, Technical Analysis, Blockchain, Cryptocurrency, Bitcoin

In recent past, whenever happened it has given confirm signal. Currently ,this bullish cross-over is indicating positive momentum in the market.
Learning To Love Myself From My Husband
By: Tiffany Hsu
Tags: Love, Self Love, Self Acceptance, Self Improvement, Marriage

Fast-forward to 2017, I met my husband. I was still very insecure about myself. I couldn’t understand why he would want to be with someone like me. Since he’s dated other people who I considered to be more attractive. But he kept, and still does, complimenting me and telling me how much he loves me. He found me attractive and loves me for who I am. He accepted me as a person.

At first, I didn’t believe it, but he began showing his disapproval whenever I would call myself fat or ugly. He kept loving me and cherishing me. He was dispelling my harmful words and replacing them with words of love and encouragement. My husband’s love changed me. I was beginning to love myself more, and I was willing to take care of myself for myself.
Gingerbread To Knock Your Socks Off
By: Kathryn Dillon
Tags: Christmas, Cooking, Family, Food, Recipe

Ten years ago, during the holiday season, I embarked on a gingerbread quest. I’m not talking about any old gingerbread. I like my gingerbread dark and spicy. In fact, I’d really like it to knock me on my butt.

For most people, gingerbread is a winter holiday dish. But it will always remind me of my mother’s birthday, which happens to be in the spring.

Though dessert in its traditional form did not make frequent appearances at our family dinner table, each of us chose a favorite treat for our birthday celebration. And my mom, with the exception of that year she was dieting and we all ate raw whole apples with candles stuck in them (served to a soundtrack of indignant howls from my sister and me), always picked gingerbread.

I don’t know which recipe my mom used. And I’m appalled at the realization that, to my recollection, my family selfishly allowed this amazing woman to bake her OWN birthday cake year after year. But I do remember how much I loved gingerbread — the spiciness, the hint of molasses, and the way the whipped cream slid off the top when the cake was served warm from the oven.

Researching recipes over the years, I found myself disappointed by versions that were tasty but a bit lackluster. In my humble opinion, gingerbread needs to be something more. It shouldn’t just hint at subtle spices. It should pack a wallop.

So when I decided to take gingerbread to a pre-Christmas gathering in 2010, I started looking through recipes to figure out how to improve upon the standard. As I pondered exactly how much ginger would be too much, the latest issue of Cook’s Illustrated arrived.

I’ve always loved Cook’s Illustrated because they do the experimenting for me. They’re not pretentious about it. They make 57 batches of gingerbread until they get exactly what they’re looking for. And here, they were looking for something very spicy, almost primal.

As is sometimes the case, the recipe was a little bit scary. (Black pepper? Really?) But the result was exactly what I wanted. Beautifully dark, spicy, slightly sticky gingerbread where (get ready for it…) ginger is the real hero.

In fact, I liked it so much I took the recipe home for Christmas, and my mom baked it for our holiday meal. Since then, she’s let me make it for her a time or two!
ICO Alert Crypto Minute July 31, 2018
By: Joshua Bryant
Tags: Crypto Minute, Binance, NFL, Smartphones, Blockchain

Litecoin Founder to Advise New Crypto Smartphone

Litecoin (LTC) founder Charlie Lee tweeted July 29 that he will advise for a blockchain compatible smartphone. Announced in May, Consumer electronics corporation HTC will build the HTC Exodus, dubbed “the first native blockchain phone”. It is to launch with support for multiple blockchains, including Bitcoin (BTC) and Ethereum (ETH) networks.

Binance Invests in Crypto Lending

In a recent announcement, Binance has invested in Libra Credit, a decentralized digital asset financial services platform. As part of the relationship, Libra Credit will lend fiat and crypto denominated assets to users who pledge BNB as collateral. This latest partnership is one of a growing number of cryptocurrency loan services appearing. The loans enable cryptocurrency investors to use their coins as collateral in the same way as a property is used in conventional borrowing.

NFL Players Union Scores in Blockchain

Announced today, the National Football League Players Association (NFLPA) will encourage its members to provide commentary, livestreams and other content for the FanChain platform, thereby earning revenue for themselves outside of the games they play. The NFPLA has purchased a minority stake in blockchain startup SportsCastr, the company behind FanChain.

Data courtesy of coinmarketcap.com as of 11AM EST

Data courtesy of coinmarketcap.com as of 11AM EST

Data courtesy of coinmarketcap.com as of 11AM EST

Have a major development in mind or an opinion on a story listed above? Please submit your comments below to get the conversation started.

Follow ICO Alert on LinkedIn, Twitter, and Facebook.
Roots
By: M. C. Rose
Tags: Diversity, Poem, Life, BlackLivesMatter, Poetry

Roots

A poem

Photo by Giulia Pugliese on Unsplash

Only a tree

With vitriolic arms

Would look down at its roots

Seeking to cause harm to the very essence

That holds it together

For what plant

Would extend its eyes

Along the plateau of its own body

And see its limbs

Buried deep in the soil

As a threat to the rest of its humanity

So strife flails

Against the skin

When hatred abounds

Inside of human hearts.

To wish your brother or sister pain

Would be no different than a flower

Casting a blade

Against its own petals

Despising the origin

From whence it came.

~

© 2019, M. C. Rose All Rights Reserved
GA-PCOM Commencement Ceremony to Celebrate Nearly 300 Graduates
By: Gwinnett Magazine
Tags: Education, Lifestyle, Pcom

Georgia Campus — Philadelphia College of Osteopathic Medicine (GA-PCOM) held the College’s eighth annual commencement ceremonies on Friday, May 27 in the Tommy P. Hughes Grand Ballroom of the Infinite Energy Center in Duluth.

About 58 candidates received Master of Science in Biomedical Sciences degrees, and around 100 students were awarded Doctor of Pharmacy degrees from Philadelphia College of Osteopathic Medicine (PCOM) School of Pharmacy. The Class of 2016 is the third graduating class for PCOM School of Pharmacy which is located on the Georgia Campus. During a second ceremony at 3:30 p.m., about 128 students were awarded Doctor of Osteopathic Medicine (DO) degrees.

The commencement ceremonies each featured a distinguished speaker. United States Representative Earl L. “Buddy” Carter addressed the graduates at the 11 a.m. ceremony. The only pharmacist currently in Congress, Representative Carter is serving his first term in the United States House of Representatives. He is a member of the Education and the Workforce Committee, as well as the committees on Homeland Security and Oversight and Government Reform.

John R. Potts III, MD, spoke at the 3:30 p.m. ceremony. A Fellow of the American College of Surgeons, the Southern Surgical Association, the American Surgical Association and the Southeastern Surgical Congress, Dr. Potts became the Senior Vice President for Surgical Accreditation at the Accreditation Council for Graduate Medical Education in 2012.

In honor of the graduating students, the College hosted a Commencement Dinner Dance at the Infinite Energy Center on May 24. Other pre-commencement activities have included honors brunches, graduation rehearsals, and class photographs followed by a barbecue.
Honeymoon Romance
By: Victor Sarkin
Tags: Giabprompt, Haiku, Writing Challenge, Poetry, Archived Prompts

‘Genius in a Bottle’ Prompted Writing Challenge

Honeymoon Romance

GiaB writing prompt #6

Photo by Just Super on Shutterstock

We aren’t from Mars or

Venus. We’re lunar. Lost in

our love of the moon.

The allure of the moon is like no other in the human existence. A glistening pearl amidst a black night sky, it represents a single focal point. It is the same moon to all people. Underneath its magnificence we forget all the distractions of life, and all beings, their differences aside, are unified in that relationship of seduction.

The Challenge

We invite any writers to produce a piece of poetry, fiction or non-fiction on the topic of The Moon.

The Guidelines

We cannot publish pieces or reward writers who self publish or publish at another publication, so those pieces have to remain external to the challenge. Only pieces submitted to Genius in a Bottle will be considered for the challenge. If inviting other writers from outside the publication, please ensure they are aware of this.

Poetry is to be limited to 30 lines but can be in any style.

Fiction and non-fiction submissions are to be capped at 750 words.

Please refer to the prompt in the subtitle. Feel free to copy this as a template: GiaB prompt # [insert prompt number and theme here].

When submitting, please ensure that one of the 5 tags is GiaBprompt.

Please ensure a second tag is Poetry, fiction, or non-fiction, as appropriate.

We would like to become exposed to writers and pieces that you have enjoyed in all of Medium. Please tag up to ten writers whose pieces you have enjoyed recently, or who you feel may enjoy participating in this challenge.

For further information pertaining to the challenge, please refer to the rules and guidelines.

And away we go. We look forward to enjoying the paradise of the written word with you all.

Victor Sarkin and Chirag
Uploading Files and Serve Directory Listing Using NodeJS
By: Bilguun Batbold
Tags: Nodejs, API, JavaScript, Upload

Notice how the key value is file which is what we expect and defined in upload.single(‘file’) middelware. Once it has been uploaded, you will find that your public/uploads folder now has the file.

In production, you can define the storage name to however you want. You can use the originalname or totally randomised value. We can then use get the full path of the stored file:

app.post('/testUpload', upload.single('file'), function(req,res) {

debug(req.file);

console.log('storage location is', req.hostname +'/' + req.file.path);

return res.send(req.file);

})

which will print

storage location is localhost/public/uploads/file-1550484364038.png

This value is then stored on the database as a reference to the file. Now that we have uploaded the file, how can we serve this file to the users? Let’s explore on what options available for us.

Serving Uploaded Files

Express provides us with some built-in middlewares and one express.static middleware function. Use the middleware as such:

app.use(express.static('public'));

and put this below your other middleware functions.

Now when you run the app, you can serve the files in your public folder http://localhost:3000/uploads/file-1550484364038.png

So once you store the file location of the uploaded files on the database, you can then retrieve this information and provide it to the user as a static file. However what if we want to show the directory listing of the public folder? We can use another middleware module serve-index .

Let’s first install the module

$ npm i serve-index

and then:

const serveIndex = require('serve-index'); //app.use(express.static('public'));

app.use('/ftp', express.static('public'), serveIndex('public', {'icons': true}));

We commented the previous express.static usage and replaced it with using the serve-index middleware. What it essentially does is to serve the page containing directory listing for public when /ftp is requested.

Rerun the app and navigate to http://localhost:3000/ftp/

You will be greeted with the following:

Public Folder

Public/Uploads

This is exactly what we have in our public folder that we are serving.

Final index.js file

Of course, you can use multer with any routers you may have. Simply:

router.post('/uploadURL', upload.single('anynameyouwant'), ...
Let It Go
By: Mike Ortega
Tags: Lifehacks, Poetry, Poems On Medium, Poetry Writing, Life Lessons

Let It Go

Life lessons

Photo by Jurica Koletić on Unsplash

Let go things that are not important in life

So you can blossom like flowers.

Real happiness is not in the tower

You have to find it inside you.

We run behind a wealth

We run behind the popularity

But in the end, we lose our health.

Our life like a pop-up on the screen

Which vanished within a few second

Let go things that don’t really matter.

If you have grudges

If you have envy,

Throw it in the dustbin

Leave them there!

because there is no point

In keeping those things.

If you have love

Give it to other

If you are sad

Tell others.

that will make your mind

Less stressful.

You have money

You have power

But what is the point

If you can’t dance in rain showers.

Know who you are

What you want

If you know this

You are going to win.

Let it go

When you got hurt

Let it go

When backstabbed by someone

I know you deserve better

Let the things go

which really Doesn’t matter

Why should we think about things

That has no significance

Live in present, not in past

You are strong until you last!
Over Mourning
By: J.D. Harms
Tags: Loss, Image, Poem, Grief, Chaos

Over Mourning

A Poem

Photo by Steve Johnson on Unsplash

Stalled but not in traffic

rain gauge keeping inside count

precious dying and the stretches

of yard that haven’t been dug up

won’t be marked

Finger freezes on that key

…would you like to unstick?

Ghosted hopes wail at the top

of the ringing

the screens passing messages

to stop to stop to stop starting

picking up a purple sheet

but not bothering to cut holes for eyes

you become furniture

under the duress of dust

Flagging statues

wormed into digression after

disaster

and the images hopping through

real eyes

goes ballistic

does its best circus stunt

You’re allowing some rust

to cake about your feet

The descent of time unnoticed and

not worth a veil

Built into a trial void, an experiment

with the edge of space

scanning the flat earth you were warned of

and sailing anyway

Taxes on future frustration begins now
Centered Ep 2 | Walmart's Enterprise Apps
By: Yasmine Evjen
Tags: Walmart, Centered, Design Systems

Walmart’s Design Systems team invited me to their headquarters in Bentonville, Arkansas. I sat down with Travis Folck, Walmart’s Head of Design Systems, to learn what a Design Systems team does at Walmart, and how the team was formed.

The Challenge: An inconsistent experience

Walmart has several distributed teams of designers and engineers working across its suite of internal apps. Each team focuses on different areas in Walmart’s operations, from apps that help in-store associates order out-of-stock items, to apps for warehouse associates tracking items getting loaded on a pallet. Having different design teams working on individual apps meant that a common task— like barcode scanning— had several different user flows. Having to develop a new mental model for similar tasks created a frustrating and inconsistent experience for their associates. A team of designers came together and asked themselves, “How might we unify our interaction patterns across all of Walmart’s internal applications?”

The Takeaway: A unified design system

Walmart used Material Design as a starting point for their design system, since many associates were already familiar with Material from their personal devices. With Material’s detailed documentation and codebase, it was an easy pick. Having a design system gave Walmart’s designers and developers a guide to implementing existing patterns and components, and it sped up development while creating consistency across their apps.
The Story of KSB; a Komodo stable coin is born
By: Ø Crypto Union
Tags: Ksb, Stablecoin, Komodo, Bitcoin

Cryptocurrency markets are inherently volatile. Since the release of Tether on the OMNI protocol, many other initiatives have launched, mostly upon the Ethereum network.

While these products provide crypto investors with a certain level of stability, mostly useful for trading purposes, there is much room for improvement in this area.

It is with this in mind, that we at Ø Crypto have been working on producing a direct connection between the Komodo Ecosystem and the traditional banking sector.

The first step we needed to take in order to accomplish our grand ambitions was to issue a cryptocurrency for anyone who needs a stable, tradable and reliable unit.

This idea, for a new breed of a stable coin, has been a goal of ours for quite some time now, however, with the birth of the KSB asset chain we wanted to place ourselves on the cusp of new horizons. We believe that the Komodo platform is at the forefront cutting edge of blockchain technology and therefore was our first choice for the release of our coin. Our relation with Indénodes emphasizes our admiration and affection towards the Komodo platform.

In launching KSB, we didn’t want to have a product similar to others already available, that’s why we’re working to give KSB 5 main monetary functions:

Unit of Account, measurement of value

Basis of Credit

Standard of Postponed Payment

Medium of exchange

Store of Value (Purchasing Power)

So, what does all of this mean for the end-user?

The ability to secure and diversify your investments with a fully collateralised and auditable hedged product

Access to a liquid, fungible dollar pegged coin.

The ability to earn up to 36% PA interest* by enhancing your KSB to KSB+

Following the initial draft of our KSB whitepaper and the launch of the crowdfunding campaign, we opened a private discussion group with select members of the Komodo community. The feedback and support we received were overwhelming! The conversations we’ve had have really helped to shape and guide our technical and financial strategies in making the asset chain a reality. We’ll continue to look to the group and the wider community for guidance in keeping us on the right path!

Special Thanks

- Ludom, metaphilibert, Soldat, dwy, Yassin to helping us connect with the community and having interesting feedbacks that help us all along.

- All early Komodo supporters!

There is still significant work to do, we wish to continue this great synergy with Komodo, and to make products that will be useful for the community.

You can support us on this journey through this campaign and you can buy your first KSB on our dedicated website.

Come discuss with us on our Discord or on the Komodo Discord channel #opay
What is PPC and How Does it Work
Tags: Digital Marketing

PPC, an online advertising model through which advertisers help in displaying ads for their goods and services when consumers search for products and services online. The advertisers are only charged when the user clicks on the advertisement and gets redirected to another site. This method is known as PPC. Owing to the nature of the keywords and the role played in the paid search, PPC is also known as keyword advertising. Pay per click services in Australia help in delivering remarkable outcomes with regard to elevating brand awareness, maximising profit and leading businesses to the prime position in the field of competition.

PPC being one of the popular models of online advertising is beneficial for businesses to drive traffic, drive in more business leads, and to promote the brand globally. PPC is one of the quickest and most efficient methods to get more clicks on a website. This is why PPC stands out against other Internet advertising solutions. In addition, Pay per Click agency in Canberra helps in elevating brand awareness, maximising profit and position the company against its competitors.

Pay per Click advertising in Melbourne has a team of Google AdWords certified professionals, who help in assessing your business, performing extensive analysis on your competitors, and using innovative thinking to design a groundbreaking ad content that would prove as a complete makeover to your Internet visibility.

If you are looking for an effective measure to attract customers to your website, then you should seek services from top-notch Pay per Click Advertising in Australia. This agency in Australia stands true to its commitment and provides comprehensive services for the promotion of your business. With so many digital marketing agencies available online, select an agency that provides superior white label PPC services that would help you in creating a brand reputation.
Generate Regex Patterns for Ranges Like a Boss!
By: Zoran Antolović
Tags: Programming, Regex, Computing

Every now and then I have to write regex — validation, parsing or whatever the reason is, I have to do it.

Recently I had to write a regex for capturing numerical range between 8000 and 9000 and I stumbled upon the tool called rgxg. Official description says that rgxg is

useful to generate (extended) regular expressions to match for instance a specific number range (e.g. 0 to 31 or 00 to FF) or all addresses of a CIDR block (e.g. 192.168.0.0/24 or 2001:db8:aaaa::/64).

Installation and usage

Ubuntu: sudo apt-get install rgxg (No shit, Sherlock)

For the range I mentioned above, I executed:

$ rgxg range 8000 9999 [89][0-9]{3}

Pretty cool, right?

You can generate other useful regex ranges like IP addresses range:

$ rgxg cidr 192.168.0.0/24 192\.168\.0\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])

Read more about the rgxg tool and possible usages on http://rgxg.sourceforge.net/
Compose or Dockerfile? It’s Complicated.
By: Anne Currie
Tags: Labels, Containers, Docker Compose, DevOps, Docker

Build or run time labels? Both attractive, different use cases.

It’s a good idea to put labels on your Docker images for many reasons we’ve talked about before. But should you put the labels in your Dockerfile or your Compose .yml file?

Actually that’s a surprisingly complicated question.

Build Time Labels vs Run Time Labels

At the Label-Schema.org community so far we’re promoting conventions for the use of build time labels.

Build time labels are specified in your Dockerfile as described in this blog post. Once an image is built using that Dockerfile the labels become an immutable part of the built image — they cannot be overwritten for the image. So, build time labels would ideally specify stuff that’s never going to change for the lifetime of the container image, like the vcs reference or the build date.

In the future though, at Label-Schema.org we intend to include suggestions for run time labels.

Run time labels can be applied to a container when it’s started via the Docker run command. They then apply to that container until it is stopped. You cannot change the run time labels for a running container. Once the container is stopped, the run time labels are lost. Run time labels can be used to specify entirely new labels for a running container or to temporarily overwrite the values of build time labels.

Both build and run time labels are queried identically for a running container using docker inspect. You cannot tell whether docker inspect is showing you a build or a run time label

I suspect my personal preference would be if you could update or at least add run time labels for a running container AND differentiate between build and run time labels in an inspect response.

Compose or Docker files?

You can add labels to Compose files like this:

version: '2'

services:

test:

labels:

- "org.label-schema.schema-version=1.0"

- "org.label-schema.name=e.g. Example project name"

- "org.label-schema.description=Example project description in 300 chars or less"

- "org.label-schema.vendor=e.g. ACME Inc"

- "org.label-schema.url=e.g. https://www.example.com/"

- "org.label-schema.vcs-ref=$VCS_REF"

- "org.label-schema.vcs-url=e.g. https://github.com/microscaling/microscaling"

- "org.label-schema.version=$VERSION"

- "org.label-schema.build-date=$BUILD_DATE"

HOWEVER, any labels you add to Compose files are always treated as run time labels. The labels above are added at “docker run” to containers created by the Compose file, but they are not built into any container images built by Compose. A build time label has to be specified in the Dockerfile (there is an open issue against Compose for this). So, right now there is no reason to specify label-schema.org build-time labels in a compose file. They need to go into the Dockerfile.

Please hit the Recommend button below if you found this article interesting or helpful, so that others might be more likely to find it.

Check out MicroBadger to explore image metadata, and follow Microscaling Systems on Twitter.
The Untouched Heart —
By: Sreeja Sriram
Tags: Raw, Literally Literary, Heart, Poetry, Pure

You, the Pearl, done and dusted with people and life..

Let me tell you this,

try to roll,

fall into the arms of Ocean

and see how,

the pure crystal like water there, cleans the dust and reveals the bliss of your existence

down there,

under water,

where no dust can ever touch you,

where sun rays scrapes through the water,

slither on you and make you shine forever.
Queenslanders
By: Dan Hill
Tags: Architecture, Vernacular, Australia, Photojournalism, Housing

Queenslanders

Brisbane’s vernacular domestic architecture

A series of images from a decade ago, when I visited Brisbane for the first time. I was immediately entranced—admittedly with the exotica-attuned eyes of the newcomer—by the arrays of ‘Queenslanders’ peppered over the rearing and rolling hills of the city.

The Queenslander is one of those rare things: a form of domestic architecture distinctively associated with a particular city—just as there is with Shanghai and longtang/shikumen, Beijing and hutong, Amsterdam and its canal houses, and just as there isn’t particularly with London, Liverpool, Manchester or Milan, say.

Emerging sometime in the early 19th century, and appearing to draw instinctively from a few indigenous Pacific traits, if not indigenous Australian, as much as the British or European types, the Queenslander appears well-suited to this hot, sticky place.

It’s a simple construction, in timber and tin, with a large verandah girdling the square cruciform plan, open from front to back—and often left open—to allow cooling draughts to clear the house, as well as accommodating a few furtive glimpses of interior activity – or simply of views beyond, as in the image at the top.

The verandah props up long overhanging eaves of a pitched corrugated metal roof, which would sound like a drumkit in the occasional bursts of torrential sub-tropical rain, and whose general lack of insulation does not exactly help in 40+ degrees.

This usually single-story base is propped up high above insects and snakes, its long spindly legs also meaning it can cling adaptively to Brisbane’s voluptuous hillsides. Capable of being hoisted up on the ridges of Red Hill, Spring Hill, Dornoch Terrace or Paddington, it’s able to catch whatever passes for a breeze. The corollary of this is a set of steps out front, rendered with varying degrees of grandiosity.

The open verandah was originally for sleeping outside in the heat, as well as sitting and eating out in, engaging with the street, but is now increasingly being closed in, sadly, with the bogus intention of buying extra internal floor space. This closing-in at least sometimes has means a permeable skin is stretched over the gap, often with little ornamental metal filigrees in the corners of its otherwise boxy forms, or wooden latticework giving an almost Arabian frontage (I suppose Boyd would’ve described this as a form of “featurism”.) Nothing will really keep out Brisbane’s generally rampant foliage, however, nor its similarly intrusive fauna, and some of these simple wooden houses look wonderfully engulfed in cooling greenery.

Under this, we find a kind of multi-functional knockabout space under the house, called, with disarming lack of poetry, the “Under The House”.

Charmingly, the whole thing can be popped on the back of a truck and driven up the freeway as required.
『週額５０に仮想通貨で』００５ー仮想通貨市場で予測が一番当たるの専門家はだれだ？
Tags: Bitcoin, Eos, Ethereum, 日本語, 仮想通貨

in In Fitness And In Health
The Prince And The Panic Attack
By: Glenna Gill
Tags: Mental Illness, Self, Anxiety, Life Lessons, Women

The Prince And The Panic Attack

So much for fairytale endings.

Photo by DJ Johnson on Unsplash

On a hot summer night in 1985, my then-boyfriend gave me a birthday present that I thought would change my life. He handed me a box with a red bow on top, and inside were tickets to the Prince concert in Miami for the Purple Rain tour. I nearly fainted at the sight.

It wasn’t just that I was obsessed with Prince himself. I also loved his style and his music and everything about him. Anytime my friends and I went to Blockbuster (an ancient video rental store), I always wanted to rent Purple Rain. The movie didn’t have a whole lot of plot, but the performances were so amazing that it didn’t matter. I started wearing long jackets and black boots everywhere I went. The Purple Rain tape stayed constantly in my Walkman (an ancient listening device).

I couldn’t believe I would soon see Prince face to face or as close as I’d ever get. My boyfriend shot up to number one as my favorite person of all time. Truth be told, he wasn’t into Prince nearly as much as me. For that, he scored extra points. It was the most perfect present I’d ever gotten.

The closer to the concert I got, the more excited I felt. I picked out my outfit the night before, complete with my long black jacket in Prince’s honor. I wondered if he’d spot me somehow in the huge crowd. Actually, just to be in his presence would be enough for me, hearing him sing the songs I so loved. I drifted off to sleep with my Walkman in my ears listening to “The Beautiful Ones” one more time.
Tremendous Thanks to MongoDB for Supporting Offline Camp
By: Steve Trevathan
Tags: Offline First, Progressive Web App, Offline Camp

With events like Offline Camp, you can spend months and months of your time preparing before the big day(s). You do your research and plan against many of the possible options available to you in order to deliver an experience that is as impactful as it can be. Those opportunities you find are truly not possible unless we either set higher attendee ticket prices or we find generous and inspiring companies and individuals to support us. Spoiler: we found them.

A discussion in at Offline Camp on schema migration in a decentralized world.

MongoDB has been incredibly generous in their support of Offline Camp Oregon 2019, and they even went above and beyond financial support: they shipped us all hammocks! As a company, MongoDB has fully embraced the philosophy and impact of Offline First. With their acquisition of Realm, they now offer an offline-first mobile database in addition to a database as a service called Atlas, and a Backend as a Service called Stitch.

There is so much more to MongoDB than most people realize. For instance, Atlas is packed with valuable features such a Data Lake, helping you realize the value of your data faster, and Full-Text Search, which gives you and your users the flexibility to filter, rank, and sort through your database to quickly surface the most relevant information. We encourage you to take a deeper look at their platform and see how their products and services may serve your Offline First use case.

If you’re interested in learning more about the work that MongoDB is doing, to learn and get answers from other users, or even share the work you’re doing: the best place to start is by joining their Slack group.

Please join us in thanking MongoDB for their support!
Understanding Prefix Sum for LeetCode Problems
By: Steven Curtis
Tags: Leetcode, Swift

Understanding Prefix Sum for LeetCode Problems

This can be hard

The background

There are number of prefix sum problems on LeetCode, and they tend to either be Medium or Hard problems. Is there a way this can be reasonably explained and coded?

Let us have a go!

The problem

Given aan array of Int nums , and an integer k calculate the number of continuous subarrays whose sum equals the integer k .

Continuous means that there cannot be a gap in the subarray.

The explanation

It is possible to create a memo using a dictionary to make our answer as efficient as possible (since a dictionary can be accessed in O(n)).

So the count is incremented if we have visited the prefixSum — 3 (and natually this must have came before the current num we are visiting, in continuous order).

So here is an example where k = 3 and nums is [1,2,3,4,2,1] which gives the result as 3, represented as three blue arrows here:

The solution

Here the dictionary is used to store the memo, as lookup can happen (on average) O(n).

You can download the repo from here!

Conclusion

This is a really important theoretical tool for your programming toolbox, and is one that is often used for those people who have LeetCode problems to solve.

If you’ve any questions, comments or suggestions please hit me up on Twitter