fabiochiu/medium-articles huggingface dataset:
Why You Should Avoid Storyboards in Your Apps
By: Steven Curtis
Tags: Programming, Mobile, iOS, Xcode, Swift

Remove References to the Storyboard

There is a link to the storyboard in the PLIST file and in the deployment info. We don’t want either of those, so we’re going to get rid of them with our delete-me-do button.

Remove deployment info reference

When you select the target on the left-hand side of the project inspector, you’ll see a drop-down saying “Main.” Get rid of it. Another delete will get rid of the link. No problem (right?).

Info.plist reference

In the project inspector, there’s a rather lovely info.plist file. Select it, and I’ll see you just after the image. Don’t delete it — we’ll modify it.

The part to delete is buried inside a rather annoying set of drop-down lists. We’re looking for the creatively named Storyboard Name , and we can delete that line entirely. This will get rid of the entire key and value. You’ll be left with something like this:

Yes, I did find it tricky to select a deleted row, so there isn’t too much I can do about that (sorry)

Point the code to the ‘rootViewController’

scene(_:willConnectTo:options:) needs to be adjusted. By adjusted, I do, of course, mean that we need to change the entire body of the function. The function lives in the SceneDelegate.swift file, which can also be selected from the files on the left-hand side of the project.

When you've got that selected, our target function will be at the top of the file — just replace it with the following:

And we’re done! You’re still here? Looking for the repo? I guess you’ve got it. Thanks.
Vikings: Wolves of Midgard is A Great Action RPG You Shouldn’t Miss
By: Alex Rowe
Tags: Vikings, Rpg, Action, Technology, Gaming

You might not have heard of the Slovakian studio Games Farm before, but they’ve been quietly turning out quality action RPG’s for the last couple of decades. In 2017, they released Vikings: Wolves of Midgard on the PC, PS4, and Xbox One. The Unity-powered game is an impressive show for an engine that’s been wrongly-branded as bad by some folks due to one or two individual titles’ performance. It’s also a wonderful example of the classic Action RPG genre, and I wish I had played it sooner.

At the start of Vikings, you’ll customize either a male or female warrior, and set out on a grand quest that starts with small regional squabbles among warring bands but eventually involves mythological creatures and the fate of the world. The game features five unique skill trees themed after different Norse deities, and each one also corresponds to a type of weapon. So, you can mix and match provided you’re willing to switch weapon types throughout your adventure, or go all-in on one particular play style.

Combat is the core of the game. You’ll wage violent war across numerous large maps from an isometric perspective and collect lots of random loot. The combat is a little bit slower than in genre-stalwart Diablo III, and it reminds me of the heavier and well-animated battle in the recent Wolcen: Lords of Mayhem. It’s a very easy system to learn, with one main attack button and extra buttons for unlockable skills. On consoles, the right stick activates a handy dodge roll, and in a nice touch the speed and effectiveness of this roll is impacted by the weight of your current gear.
A day like today
By: Joseph Emmi
Tags: Personal, Journal, Change, Reflections, Life

A day like today

6 years ago…

On Thursday afternoon of September 19th of 2013 I arrived to Glasgow, a place that I didn't know, on which I expected to remain at least for year, and now, six years later, is the place I call home.

It’s crazy, amusing and fun the turnarounds of life, how things can look so differently from the moment you experience them, to the moment you remember them.

At times feels vague, at others very vivid, and in between are the gaps and collages of images our brains accumulate to make us revisit those places, see those faces, be back in time.

It’s also crazy how things change, people that previously never existed become prevalent. Some that once really mattered, vanish forever from your life. Others come and go, and is up to us to keep them close. Sometimes is hard, sometimes it hurst. Sometimes it’s just too much or too many. Sometimes it’s just cowardly, cowardly of facing the fact that you never called back.

It’s crazy how, one day you struggling to get money in your pocket and then another one you look back, several years have passed and you’re now thinking to buy house. You question yourself about how that, that before was a struggle was sufficient but not double than that seems not enough.

There’s guilt about those left behind, those have not had the same opportunities. For not knowing how to deal with it and having disappeared from their lives.

There’s also pride of knowing that every single thing you have and have achieved, it’s because of you and you only, your hard, your commitment, your sacrifice. That, no one can ever take away.
The Simple Approach to Word Embedding for Natural Language Processing using Python
By: Eric Kleppen
Tags: Programming, Analytics, NLP, Machine Learning, Data Science

The Next Step for Learning NLP?

When brainstorming new data science topics to investigate, I always gravitate towards Natural Language Processing (NLP). It is a rapidly growing field of Data Science with constant innovations to explore, and I love to analyze writing and rhetoric. NLP naturally fits my interests! Previously, I wrote an article about simple projects to get started in NLP using “Bag of Words” models. This article aims to go beyond the simple “bag of words” approaches by exploring quick and easy ways to generate word embeddings using Word2Vec through the Python Gensim library.

Traditional Bag of Words vs Word2Vec

When I started exploring Natural Language Processing (NLP), the first models I learned about were simple Bag of Words models. Although they can be very effective, they have limitations.

The Traditional Bag-of-Words Approach

A bag-of-words (BoW) is a representation of text that describes the occurrence of words within a text corpus, but doesn’t account for the sequence of the words. That means it treats all words independent from one another, hence the name bag of words.

BoW consists of a set of words (vocabulary) and a metric like frequency or TF-IDF to describe each word’s value in the corpus. That means BoW can result in sparse matrices and high dimensional vectors that consume a lot of computer resources if the vocabulary is very large.

To simplify the concept of BoW vectorization, imagine you have two sentences:

The dog is white

The cat is black

Converting the sentences to a vector space model would transform them in such a way that looks at the words in all sentences, and then represents the words in the sentence with a number. If the sentences were One-Hot encoded:

The dog cat is white black

The dog is white = [1,1,0,1,1,0]

The cat is black = [1,0,1,1,0,1]

The BoW approach effectively transforms the text in to a fixed-length vector to be used in machine learning.
Beauty Will Save the World
By: Michelle Wuesthoff
Tags: Beauty, Humanity, Covid 19, Encouragement, Hope

These are dark times we’re living in. Some of us are more than aware of this cold reality, while others need a reminder — a witness — to what they are afraid to acknowledge. Not since WWII has anything overtaken life as we know it on a global scale. You could even argue that this current pandemic has had a farther, deeper reach than a world at war. We all are fighting the same enemy this time, and for better or for worse, we are truly all in this together.

Like all tragedies and crises, these times bring who we really are and what we’re made of into the spotlight, whether we like it or not. Some are using this situation for self-preservation and promotion — hoarding, stealing, taking advantage for personal gain. Some gaslight, point fingers of blame, or turn a blind eye to the suffering outside their safe shelter.

And some rise to the occasion.

There are the heroic ones, like the doctors and nurses and medical personnel out there saving lives, and all the “essential workers,” who are making it possible for the rest of us to survive. But there are also the quiet, often unseen, unsung heroes that clearly see the light amidst the darkness, and encourage others to follow them towards it.

Though in no way do I believe God sent this pandemic to teach us a lesson, there is a lesson to be learned, nonetheless. This is not a drill, and how we respond, now and when this is over, matters.
[withR]좀더 하는 ggplot2-Fttted Lines from an Existing Model(분석된 모델을 그래프 추가하기,regression model)
By: Neo Jeong
Tags: Data Science, R, Data Visualization

#library(ggplot2)

#library(gcookbook)

산점도 그래프 위에다가 이미 분석된 회귀선을 추가한다고 생각해보자.

우선 추가할 회귀선을 만들어서 사용하겠다.

library(gcookbook) #예제 자료

model<-lm(heightIn~ageYear+I(ageYear²),heightweight)

model

Call:

lm(formula = heightIn ~ ageYear + I(ageYear²), data = heightweight)

Coefficients:

(Intercept) ageYear I(ageYear²)

-10.3136 8.6673 -0.2478

여기서는 ggplot2를 이용해 그래프를 그리는게 목적이므로 회귀분석에 대해서 설명하진 않겠다.

lm()함수를 통해서 회귀모델(regression model)과 회귀계수를 구할수 있다.

추정된 값들을 가지고 회귀식으로 예측된 데이터를 생성해보자.

xmin <- min(heightweight$ageYear)

xmax <- max(heightweight$ageYear)

predicted <- data.frame(ageYear=seq(xmin, xmax, length.out=100))

predicted$heightIn <- predict(model, predicted)

predicted

predicted를 살펴보면 나이에 해당하는 회귀모델(regression model)을 이용한 예측값들이 들어 있다.

이 데이터를 사용하여 회귀선을 추가한다.

sp <- ggplot(heightweight, aes(x=ageYear, y=heightIn)) +

geom_point(colour=”grey40")

sp + geom_line(data=predicted, size=1)

sp<-에 산점도를 그리는 내용을 전부 할당해 두었다. 그리고 +geom_line()를 통해 회귀선을 추가했다.

새로운 데이터를 생성하기 싫다면, 추정된 회귀계수 값들로 함수식으로 만들어서 추가 할 수 있다.

myfun<-function(x){-10.3136+9.6673*x+(-0.2478*x²)} #추정된 회귀식

sp+stat_function(fun=myfun, geom=”line”)

stat_function()을 사용하면, 내가 작성한 함수식을 이용해서 그래프를 생성한다.

위에 데이터를 생성해서 만들었던 그래프와 동일하게 나오는것을 확인 할 수 있다.

#R cookbook Graphics책에서 나온 분석 모델의 예측값들의 데이터를 생성하는 함수이다.

predictvals <- function(model, xvar, yvar, xrange=NULL, samples=100, …) {

if (is.null(xrange)) {

if (any(class(model) %in% c(“lm”, “glm”)))

xrange <- range(model$model[[xvar]])

else if (any(class(model) %in% “loess”))

xrange <- range(model$x)

}

newdata <- data.frame(x = seq(xrange[1], xrange[2], length.out = samples))

names(newdata) <- xvar

newdata[[yvar]] <- predict(model, newdata = newdata, …)

newdata

}

이 함수를 이용해서 선형회귀와, loess의 그래프를 그려보자.

#회귀 모델

modlinear <- lm(heightIn ~ ageYear, heightweight)

modloess <- loess(heightIn ~ ageYear, heightweight)

#예측값 데이터 생성

lm_predicted <- predictvals(modlinear, “ageYear”, “heightIn”)

loess_predicted <- predictvals(modloess, “ageYear”, “heightIn”)

#선형회귀와 loess동시 fitting

sp + geom_line(data=lm_predicted, colour=”red”, size=.8) +

geom_line(data=loess_predicted, colour=”blue”, size=.8)

+geom()을 추가적으로 입력해서 선을 여러개 추가 가능하다.
Upload maps to Cloud with MapTiler Desktop 10.1
Tags: Maptiler, GIS, Data Visualization, Gdal, Maps

Why hosting maps on MapTiler Cloud?

MapTiler Desktop always give you freedom of choice for data hosting. Now we extend the list of already supported cloud platforms including Amazon S3, Google Cloud Platform, and Microsoft Azure by our own MapTiler Cloud.

MapTiler Cloud provides:

simple data management — fast upload of one file per map instead of millions of tiles — no headaches with updates

— fast upload of one file per map instead of millions of tiles — no headaches with updates base maps included — display your data on top of affordable beautiful street and satellite maps

— display your data on top of affordable beautiful street and satellite maps tools for map styling — easy to use tools for adjusting maps and combining with prepared global datasets (hillshading, contour lines, …)

— easy to use tools for adjusting maps and combining with prepared global datasets (hillshading, contour lines, …) one place and one account — single login to one environment for styling and hosting your own maps, with access management

Data uploaded to MapTiler Cloud can be viewed standalone or as part of your maps using JavaScript libraries, opened in desktop GIS as WMTS or extracted with Static Maps API.

Combine your geodata with our beautiful basemaps and global datasets

Extra storage for MapTiler Desktop customers

You can use data hosting on Cloud even with a free account. Creating a new one is possible via MapTiler Desktop when you select Cloud hosting option and pick MapTiler Cloud or directly via the web.

Flex customers who connect their accounts will get a free upgrade to 10 GB/10 datasets on their account.

Connecting your account is possible again in MapTiler Desktop (Account → Cloud account) as well as in MapTiler Cloud (Sign in → Account → Desktop).

Deactivate your Desktop license online

MapTiler Cloud offers simple Desktop key administration with an option to deactivate your key. After you sign in, go to Account → Desktop where you can add, see already connected and manage your MapTiler Desktop keys.

MapTiler Desktop license key can be deactivated here in case you lost access to your computer due to an unexpected incident like a hardware failure. Note: this option is for emergency situations only and therefore can be used only twice a year! If you need to deactivate your account, it should still be done from inside of MapTiler Desktop.

Other improvements in MapTiler Desktop 10.1

Updated GDAL to 2.4.1 on Windows and macOS

Updated generated HTML sample viewers to OpenLayers v5.3.0

Fixed generated HTML viewers for TMS tiling scheme and Raster non-georeferenced images

Switch to a darker background for File preview

Graphical interface improved for dark system themes

Several other small improvements and bug fixes

Download new MapTiler Desktop 10.1.

Create a free account on MapTiler Cloud.
The Lisping Barista Says Yeth
By: Keith R Wilson
Tags: Coffee Shop, Novel, Fiction, Connecticut, Murder Mystery

Who Killed the Lisping Barista of the Epiphany Café?

The Lisping Barista Says Yeth

Chapter 1

Image from Pxfuel

By outward appearances, it looked like a perfectly ordinary coffee shop; not the kind where killers get their lattes. Nor the sort from your parents’ generation where the buxom waitress calls you honey and the mobsters plot their crimes; but of the class purveying expensive whipped concoctions, hip baristas, and scribes arrayed at tabletops, heads down into their manuscripts. A place where no one knows your name, but they’ll watch your laptop when you have to go. Please don’t imagine it was a chain. It was one of a kind. It could be anywhere, but you could never open one anywhere else. It was in the perfect location, in the enchanted town of Kenilworth, within the ordinary state of Connecticut.

By the end of the summer, an attractive young woman would be dead, her body dismembered; her killer, one of the regulars. It all began when she astonishingly said yes to a geeky guy.

The young woman was the conductor of the espresso machine, standing where she always stood when the Geeky Guy approached her. She was a craftsman of crushed beans, an artisan of whipped milk, a master of macchiato; and she crushed, whipped, and mastered our hearts. Women and men, we arranged our laptops so we could peer over and watch. She was a clash of artistry and awkwardness, bangles and chains, purity and piercings. She had enough tattoos so that, if you knew the language, you could read her life. By means of the cuts on her arms, you could see right into her and know she was in pain. You would just want to take care of her, but there was a counter in the way. The closest you would get would be the tip jar, which overflowed. But then the Geeky Guy, who no one expected, rose up, went forth, and asked her out on a date. He suggested coffee, which didn’t seem bizarre till later, and she said, so that we all could hear, yes.

To be precise, with her pierced tongue, it sounded more like, “Yeth.” That’s why I call her the Lisping Barista.
Why the CIX100 token has the potential to be the next big thing? The Top 5 Reasons.
Tags: Cryptocurrency, Bitcoin, Blockchain, Zorax, Cix100

Why the CIX100 token has the potential to be the next big thing? The Top 5 Reasons. CryptoIndex Follow Sep 10, 2018 · 2 min read

Cryptoindex is a tool for exposure to the cryptomarket and serves as a smart benchmark for all cryptocurrencies. The AI-based Cryptoindex algorithm is continuously analyzing more than 1000 coins applying over 170 factors, processing more than 1 million signals per second to provide a highly sophisticated index of the top 100 coins.

Why the CIX100 token has the potential to be the next big thing?

1. There is no longer a need to search for an entry point into the cryptomarket.

A tool for exposure to the top 100 coins, serving as a smart benchmark for the majority of the most successful cryptocurrencies. Individuals can now enter the market with minimal specialist knowledge.

2. Highly-sophisticated index.

Cryptoindex allows the token holder to automate and simplify the process of coin diversification. Integration with major cryptocurrency exchanges allows us to speed up data acquisition and produce a real-time index. The top 100 coins are balanced through the smart self-learning algorithm.

3. Unique Analytical Platform

Cryptoindex users can monitor the value of the Cryptoindex100 in real time. Further services include, but are not limited to tracking formulas and metrics along with cryptocurrency ratings and statistics.

4. Ability to offer your CIX100 Tokens* for ICO purchasers only

Token buyers who purchased the CIX100 during the ICO Stage are entitled to offer their CIX100 tokens to our authorized fund at the current Index market price (subject to their terms, conditions and established limits).

5. 3 Months free access

3 Months free access to Cryptoindex platform for all ICO participants.

You can always check the current CIX100 composition on our MVP platform: http://cryptoindex.ai/

Stay updated on our channels:

Follow CRYPTOINDEX on Telegram

Follow CRYPTOINDEX on Medium

Follow CRYPTOINDEX on Twitter

Follow CRYPTOINDEX on Facebook

Follow CRYPTOINDEX on Linkedin

Follow CRYPTOINDEX on Reddit
Some unposted gems from 2018
Tags: Print, Branding, Graphic Design

This page is particularly amazing. An interactive point of sale planner with ‘mind of the viewer’ annotation.

This is another Letterform Archive gem. The piece Typo Bilder Buch is incredible as it’s hand printed on kitchen towel! I think I remember Ron from the archive saying that one of the pages has over 13 passes but I might be wrong — it could have been even more.

The insanely skilled printing of Ramano Hänni

This is another Letterform Archive gem. The piece Typo Bilder Buch is incredible as it’s hand printed on kitchen towel! I think I remember Ron from the archive saying that one of the pages has over 13 passes but I might be wrong — it could have been even more.
XinFin and Black Tier Solutions Partners With Blockchain at Michigan.
By: Xinfin Xdc Hybrid Blockchain Network
Tags: Michigan, Blacktiersolutions, Xinfin, Blockchain, Partnerships

XinFin and Black Tier Solutions Partners With Blockchain at Michigan.

Black Tier Solutions will be responsible for assisting the University of Michigan Blockchain group to develop a tokenized student rewards program and a tokenized gaming platform using XinFin Hybrid technology.

Black Tier Solutions announced the partnership with Blockchain at Michigan.

Black Tier Solutions will be responsible for assisting the University of Michigan Blockchain group to develop a tokenized student rewards program and a tokenized gaming platform using XinFin Hybrid technology.

“The University of Michigan produces some of the most talented developers in the country and they have an unparalleled interest in blockchain. This initiative is a first of its kind here in the United States and we are thrilled to be a part of it” said Chris Neill, founder of Black Tier Solutions located in Lancaster, Pennsylvania.

“We are more than excited to partner with Black Tier Solutions and the XinFin protocol,” said Jonathan Calso, VP of Consulting at Blockchain at Michigan. “Students get a chance to work on real applications and gain valuable experience in an emerging and fast-paced industry. We hope to expand the blockchain ecosystem on campus, and the developer ecosystem on XinFin as well”

The University of Michigan plans to undergo a soft launch in Q4 of this year.

About Blockchain at Michigan

Blockchain at Michigan prepares students to excel in the Blockchain space by providing professional development opportunities alongside industry partners, building educational resources with multidisciplinary facets, and aiding students in meaningful research and project development.

About XinFin

XinFin is an open-source enterprise-ready Hybrid Blockchain for Global Trade and Finance.

XinFin network capabilities allow all types of enterprises to connect their legacy systems with a Blockchain Network via XDC Protocol and messaging compatible with ISO20022 standard. It combines the power of Public and Private Blockchains with interoperable smart contracts. XinFin is fully EVM compatible. For more information on XinFin, please visit www.xinfin.org or learn more about XinFin in this video.

Useful link for XinFin Masternode:

Steps to Setup Masternode on XinFin MainNet

XinFin Mobile Wallet

XinFin Web Wallet

Steps to resign master node

Step by step guide to issue your own token on XinFin network

Step by step guide to swap token on XinFin network

Guide to setup node with one click installer

Watch the video to Setup XinFin Masternode with One-Click installer

Follow XinFin on:

Twitter: ( @ ) XinFin_Official

LinkedIn: https://www.linkedin.com/company/xinfin/

Telegram: https://t.me/xinfintalk
How Open Source allowed us to raise $5000 for a cause
By: Martin Coulombe
Tags: Team Building, Teamwork, Open Source, Team Collaboration

Osedea

We’re on a mission to build a more efficient and enjoyable world
Empathy In Extremis
By: Mark Kelly
Tags: Empathy, Faction, Fiction, Fact, Humor

Which brings me back to my dolphin story. Not much of what these objects had to say to me provided any practical help in my day to day.

Lightweight interior doors tend always to stress the opportunities that life presents (when one closes, another opens, that sort of thing). Their memory doesn’t stretch back any further than the factories where their composite woodchips were reassembled into their current form.

At the other extreme, I once had a fabulously solid oak front door, but found he wanted to regale me with stories of the wildwood and his happy growing years. It was such a melancholy downer to listen to him that I’m afraid I started avoiding the problem and using the back door for my comings and goings.

Cars always think you need to be on the move. They positively resent being left idle on the drive (and sometimes drain down their own batteries just out of spite).

Walls are like a lightweight version of mountains, always banging on about the need for patience and taking a longer term view. Persistence is all well and good in its place, but those of us blessed with motion can’t always just wait about for circumstance to turn in our favour.

It sounds wonderful to be communicating with household objects in this way, but over time I have learned that I need to filter out these voices and make my own decisions.

The only buddy I still listen to on a regular basis is the good old couch.

— Take the weight off for a minute. You deserve a break.

— All of that work will still be there tomorrow.

— How about we catch up on some Netflix?

Things and people come and go, but the couch always has my back.
Song About Self
By: Ana-Maria Schweitzer
Tags: Poetry, Pomprompt, Walt Whitman, Self, Soul

A poem

Laugh, explore, sing, run, play :

touch the substance of no self.

Imitate, follow, conceal, fake, demand :

smell the safety of the cardboard self.

Please, compensate, charm, learn, expect:

hear the pressure of the confused self.

Master, satisfy, change, struggle, respond:

see the halo of the settled self.

Help, choose, endure, love, accept:

sing the poem of the selfless self.
August Community Update
By: Nikos, Quadrant Protocol
Tags: Singapore, Foursquare, Product Launch, Location Data, Community Update

Much of August was spent getting ready for the official launch of Quadrant Audiences (powered by Foursquare), our new audience segments product, here in Singapore.

Audiences uses real-world location data to help marketers and advertisers deliver superior campaigns. We were pleased to announce it with a bang during August — a real highlight for the month.

Beyond that, we took advantage of the Singapore National Day period to run an analysis on footfall data across various leading malls in the city and how it likely impacts sales.

We also explained why advertisers should learn to love location data in a blog post.

Quadrant Audiences Launch Party

We were joined by our partners from Foursquare and Lotame at the launch party of Quadrant Audiences as we outlined what it does and how it benefits media planners.

Over 38 advertising and agency professionals joined the event which started off with a welcome note followed by presentations and Q&A session with Tyler Simmons, Managing Director APAC at FourSquare, Kevin Huang, Commercial Director at Lotame and Mike Davie, CEO and Founder at Quadrant.

The welcome note came from Quadrant’s Senior Business Development Manager, Julian Escande who introduced the speakers and after the Q&A announced the chance to win a two-night stay at The Andaman, A Luxury Collection Resort, Langkawi.

A closer look at National Day Parade location data

Every year in Singapore, the National Day Parade NDP period in August sees a lull for malls as locals travel abroad, resulting in a relatively quiet and unprofitable few days.

However, if they plan their marketing and advertising in advance with real-world location data to target potential customers based on footfall across different parts of the city, malls can attract more of the shoppers left in Singapore during the period to shore up their balance sheets.

Quadrant analysed footfall traffic at a handful of the most popular malls across Singapore including ION Orchard, Junction 8, Jurong Point, Marina Square, Raffles City, Serangoon Nex, Takashimaya, The Paragon, The Seletar Mall, and The Shoppes at Marina Bay Sands.

You can read the full blog post here.

Why advertisers should learn to love location data

Recently, we partnered with out-of-home (OOH) advertising solution provider Quorum to help them accurately target what we call the “consumer in motion” — shoppers when they’re out and about, rather than at home.

With this recent partnership in mind, we thought it would be a good opportunity to revisit the importance of location data in advertising campaigns more generally.

You can read the blog post in full here to get the deep dive on how location data boosts the effectiveness of advertising and marketing campaigns.
Using TPUs on Google Colab with Keras
By: Umashankar Malapaka
Tags: Colab, NLP, Tpu, Keras, Gcp

Using TPUs on Google Colab with Keras

Today I was brushing up on an old NLP course on sentiment classification when I felt the urge to try it on some large dataset. I had a great time — and I also got to see how fabulously fast the free TPU on Colab really is.

It’s 10X faster, but the process involved is not straightforward. Includes code changes (mostly boilerplate), hence this post.

As a first step, I just wanted to put together a simple model that compiles and provides some predictions. I chose the sentiment140 dataset on Kaggle. The dataset has 1.6 million tweets with positive and negative sentiment labels marked out. It is 288 MB in size, which is good for my purposes. The code I wrote to train the model is quite straightforward, as I was doing very basic preprocessing.

Training time — almost 1 hr 30 per epoch! Which is never going to work for an initial model. Time to test out the free TPU on offer on Colab.

I initially assumed it’s just a simple setting change. So I went into the Notebook Settings in the Edit menu and asked for a TPU hardware accelerator. It was still taking more than an hour to train, so it was obvious the TPU wasn’t being provided. On going through TPU documentation (here: Use a TPU), it became clear that we have to explicitly set what is the compute distribution strategy and build our model under it. Explanations in the following text, along with associated boilerplate:

First, we have to explicitly ask to use a TPU in the code. It’s different between Colab and an actual GCP Cloud TPU, so care must be taken.

import tensorflow as tf

#Get a handle to the attached TPU. On GCP it will be the CloudTPU itself

resolver = tf.distribute.cluster_resolver.TPUClusterResolver(tpu=’grpc://’ + os.environ[‘COLAB_TPU_ADDR’])#Connect to the TPU handle and initialise it

tf.config.experimental_connect_to_cluster(resolver)

tf.tpu.experimental.initialize_tpu_system(resolver)

Next, we set the distribution strategy

strategy = tf.distribute.experimental.TPUStrategy(resolver)

After that, we create the model

with strategy.scope():

model = create_model()#Build your model

model.compile(optimizer=…)#Set your parameters

Then train it the usual way

model.fit(…)

This now works. What was taking 90 minutes to train, is now getting done in 9.5 minutes. Very effective and efficient without any doubt, though the subject matter is quite arcane.

The question is then: all it took is some boilerplate code, so why wasn’t it hidden under some Keras abstraction? Maybe it will be in a future release.

Next article: Trials and Tribulations: Using Keras on Colab and TPU
The Influencer CEO: T-Mobile’s #UncarrierNEXT Movement
Tags: Digital Influencers, Influencer Campaigns, Influencer Marketing, Brand Strategy, Social Media Marketing

For more information about Julius or our blog, please contact Russell Wilde Jr.

By: Eli Harris

T-Mobile’s digital strategy looks similar to many other companies who are using online influencers to promote their brand; however, in their case the influencer at the center of their brand is one of their own: CEO John Legere. The company has pumped huge amounts of money into building his brand and creating content for him to share. A typical digital influencer campaign would often include using a person who is already a star on the Internet and allowing them to use their voice to appeal to their followers while also promoting the brand. T-Mobile, however, built their own in-house influencer by promoting his account and creative content.

John Legere is the face of T-Mobile and he is showing the world his true colors everyday. While wearing the company’s signature magenta color, Legere posts content that shows his family life and reveals his top hobbies of cooking and playing video games. Followers are able to feel a connection with the CEO of the company and can associate his relatable characteristics with T-Mobile.

Additionally, Legere catalyzes rivalries with other wireless companies even sometimes referring to Verizon and AT&T as “dumb and dumber.” He uses the hashtag “#Uncarrier” and more recently “#UncarrierNEXT,” which is T-Mobile’s solution to separate themselves from their competitors. As deatailed in Fortune, “Legere’s ‘bad-boy shtick’ plays well with T-Mobile’s customer base of urban millennials.” Although Legere is the CEO of the company, he isn’t afraid to speak his mind when it comes to promoting his brand over other wireless companies.

The “un-carrier” movement and CEO backing makes T-Mobile’s digital strategy successful. They are able to appeal to their customer base and create content that is applicable to their lives. John Legere wants his customers to be happy and he wants to show them that they are not like the other carriers. By creating their own influencer, T-Mobile continues to distribute branded content and appeal to their customers the most organic way possible.
I Made Thousands Betting on Pre-Determined Sports
By: Shamar M
Tags: Money, Sports Betting, Betting, Money Management, Sports

Photo by Joe Hernandez on Unsplash

I love a cheeky bet. I don’t do it often, but there was a time when I bet on the finalists of a TV show through Sky Bet and won around £2 a few years ago. It’s not a lot, but every penny adds up.

The £2 that I had won I decided to re-bet on football. In England, football is soccer and it’s our most popular sport to watch.

I like to do accumulators instead of placing normal individual bets. For those who don’t know accumulators are;

“The attraction to accumulators is, for many people, two-fold. Most importantly, the combination of four or more different selections means that all the different odds get combined, creating the potential for some remarkable wins and odds that are very difficult to find on standard match betting.” -Betfair

Basically, you’re going to make a lot more money if ALL your bets come through. For example, if I bet Medium to reach 100,000 new subscribers by the end of the month and Youtube to reach 100.000 new subscribers by the end of the month, BOTH bets have to pull through in order for me to win. You can’t just have one, you must have both or how ever many you want to put onto the accumulator.

I won about £20 odd back on that bet due to the accumulator. I carried it on a few times, asking the male employees at work what their predictions are on who is going to win each match, and then crossed my fingers.

When I lost a few times, I stopped betting because I didn’t want to lose anymore and get trapped into the world of gambling and debt. My student loans are bad enough, I can’t afford anymore!

However, another colleague was advising me about betting on pre-determined sport. Pre-determined? So, the people playing the sport already know who the winner is going to be? Yes, that’s it exactly.

What kind of “sport” is pre-determined, fake and easy to predict the winner? WWE. World Wrestling Entertainment.

For those who don’t watch WWE, it’s an American wrestling “sport” for kids which gave birth to famous wrestlers such as The Rock (Dwayne Johnson), Triple H, The Undertaker, John Cena, the list goes on.

The shows include; WWE Raw, WWE NXT, WWE Smackdown, WWE Superstars. It’s not real wrestling, all wrestlers are also considered actors and the wresting ring is an actual fact more of a trampoline. All stunts are practised and rehearsed beforehand. The entire show is practiced and rehearsed beforehand.
22 CÂU HỎI THƯỜNG GẶP DÀNH CHO SFOMO
Tags: FAQ, Trading, Bitcoin, Cryptocurrency

Financial Tool With AI Integration And Powered By Blockchain

Follow
I Am Weathered
By: Esther Spurrill-Jones
Tags: Cold, Poetry, Seasons, A Cornered Gurl, Winter

I grew up here

I walk into the wind head held high

Though it fight me, bite me, smite me

It cannot defeat me

I am weathered

I am strong

I know the cold

Winter is my kin

Though we struggle, quarrel, scuffle

I will endure

I am weathered

I am strong

I grew up here
WazirX supports JUST (JST) Airdrops for Tron holders
By: Wazirx Bitcoin Exchange
Tags: Cryptocurrency News, Tron, Announcements, Cryptocurrency, Crypto

Namaste Tribe! If you’re holding Tron on WazirX, we have good news for you. We fully support the upcoming JST airdrop for TRX holders. 💪

As announced on Tron’s blog, JUST foundation will initiate its first airdrop of JUST (JST) to TRX holders starting May. Based on the snapshot of TRX balance at 00:00 UTC on May 20th 2020, JUST Foundation will initiate its first airdrop of 217,800,000 JST, corresponding to 2.2% of the total supply to TRX holders.

JUST (JST) airdrop timeline:

May 20, 2020 : Initial airdrop of 217,800,000 JST

: Initial airdrop of 217,800,000 JST June 20, 2020 — May 20, 2021 : Amount of JST airdropped on the 20th of each month: 237,600,000

: Amount of JST airdropped on the 20th of each month: 237,600,000 June 20, 2021 — May 20, 2022 : Amount of JST airdropped on the 20th of each month: 257,400,000

: Amount of JST airdropped on the 20th of each month: 257,400,000 June 20, 2022 — October 20, 2022: Amount of JST airdropped on the 20th of each month: 277,200,000

WazirX will take a snapshot of your TRX balance at 5:30 AM IST on the 20th of each month and distribute JST accordingly.

How to claim your JST tokens on WazirX

If you’re holding TRX on WazirX, congratulations, we officially support the JUST airdrop program. The JST airdrop will be corresponding to the TRX amount you are holding. We’ll post updates when get more info on the exact airdrop ratio for every month.

Follow us on Twitter and Telegram for latest announcements!

Important: You need to hold minimum of 100 TRX at the time of snapshot in order to be eligible to receive JST airdrop.

Read the full announcement here.
Dether Talk
Tags: Blockchain, Cryptocurrency, Ethereum, Bitcoin

Dether Talk

Buy and Sell Crypto, wherever you are in the world
Firearm Safety and Ethics of Care
By: Jake Cutter
Tags: Guns, Gun Control, Philosophy, Politics, Ethics

For those that grew up around weapons and understand them this article isn’t for you. If you have a fear of them, are unsure of there use, or don’t believe in them then maybe this will help.

Photo by Jp Valery on Unsplash

The media often portrays a firearm as a means of mass destruction. They show the worst-case scenarios to get us to click on their articles and it works. What they don’t show is the event that happens at 2 AM on a Friday when someone's wife can’t sleep from two screaming children and someone breaks in with a 9mm. If you had a chance at that moment you would want to save them. When taught the proper procedure and safety precautions a firearm becomes an extremely versatile tool.

There is a part of ethics philosophy called Ethics of Care. This is not the same as feminist ethics. Ethics of Care primarily is the application of care and justice instead of looking at justice objectively. It was designed to describe the feminine and the masculine. This is not a description of gender, but of categories of thought. Specific traits like studiousness as masculine and caring as feminine. This helped clarify thoughts and actions in a clearer view. It was derived when more woman philosophers were coming on to the scene.

As it applies to firearms, it is like any other tool. You can’t just point a drill at yourself and expect it to go well. Powertools have their own common sense and danger to them. This applies to anything dangerous. For firearms, it is best to learn the rules of the road so that you can use it with the proper care.

The Three Words

Safety, Judgement, and Common Sense

With anything dangerous, you have to be cautious. It's like driving a car. You need to get to work but not crash. Safety needs to be at the forefront of your thoughts. Is what I am about to do safe? Is this the right ammo and is it loaded yet?

You also need to use your judgement. If you think it is wrong it probably is. Finally, common sense. Don’t flash anyone with the barrel (pointed at someone you don’t intend to fire at). Keep your finger away from the trigger when your not shooting. If someone is downrange don’t shoot.

If you follow these three words carefully and take the proper safety precautions you can have a fun day at the range or protect those you care about.

And if you get into a situation where you need to fire for protection, don’t hesitate. It isn’t caring to not stop someone from hurting someone else.

Disclaimer:

This is just general advice. If you intend to use any sort of firearm make sure you have gone through proper training, either classes or something else.
The Treachery of Cake
By: Willow T. Lovelace
Tags: Life Lessons, Poetry, A Cornered Gurl, Cake, Creative Writing

I eat your cake with a vivid insanity,

I eat your cake with a static discovery,

I drink your words in a glitch of tapestry.

I eat your cake with mental irregularity,

I eat your cake with lack of energy,

I swallow your sweat in a jar of agony.

I eat your cake with a fresh ecstasy,

I eat your cake with a silly silhouette,

I paint your sketch in a shadow of sanctuary.

I eat your cake with a loving treachery,

I eat your cake with a sense of reality,

I drench your dagger in an ocean of brutality.

I eat your cake with a legend lethality,

I eat your cake with full of tragedy,

I live a life filled with a haunted memory.

Where have all the innocent cakes gone?

Not so long ago. Not so long ago.

When will I ever learn? When will I ever learn?
Attachments
By: Anushka Choudhary
Tags: Attachment, Poetry, Longing

Photo by Tamara Bellis on Unsplash

In the midst of all the beautiful moments

I sometimes see my smile fading away

And lines covertly show up on my face

Pushing all the laughter away.

In these voids, I look for your presence

A light to tear through the darkness

A word to break the silence

Or a snap to bring me back to consciousness.

Don’t think that I am standing alone

Or waiting for you to show up

But when everything around me is quiet

The day seems long and the nights longer.

You got me addicted to you

More strongly than drugs could ever do

’Cause even at the pinnacle of joy

Or depths of trauma

It’s you, my heart desires.

I never knew that someone could have this magic

Didn’t believe that enchantments were real,

And now that I am convinced of their existence

I don’t want to break the illusion.

Call me completely demented

Or mock all my longings

Yet I will keep waiting for you

To fill the void that I never knew existed.
Is Phil Autelitano the New Al Goldstein? Not Quite.
By: Phil Autelitano
Tags: Television, News, Business, Pornography, Celebrity

Phil Autelitano, founder and CEO of Mediarazzi, a leading developer and producer of TV channels for Roku and OTT/Connected TV platforms is making waves with the launch of his all-new Roku channel, SCREW TV — and the rebirth of the most notorious brand in adult entertainment. But unlike his outspoken predecessor, SCREW founder, Al Goldstein, who spent the majority of his life fighting for his right to offend you, Autelitano is laughing…

“When you think back to all the legal obscenity bullshit they put Al through back in the 70’s and 80’s, and compare what he was doing then to the Internet today, he’s Walt fucking Disney,” Autelitano said, from his home office in Knoxville, TN. “What a difference two or three decades and a new technology can do to taboo, suddenly a handful of topless photos of Jackie O in 1970 aren’t really that big a’ deal anymore, are they?”

SCREW TV launched in June 2019 exclusively on Roku as a paid subscription service featuring adult entertainment content — mostly videos, including some vintage porn, but also podcasts and lots of photos, too.

“That’s the beauty of Roku, we’re not limited to presenting just video content. We can satisfy your carnal desires with old school photos, too,” Autelitano said as he clicked through a series of nude photos on-screen to show as an example. “And just look at the quality–on a 62-inch screen, that’s a lot of vagina in your face. You can’t get that close, that much detail, on your phone. Look at it, go on, touch it.” He laughs…

…as he always does. Phil Autelitano isn’t fighting for his right to party like Al Goldstein was. No, his right to party was won a long time ago by guys like Hugh Hefner and Larry Flynt, and yes, even Al Goldstein (who by the way, helped his friend Flynt launch Hustler in the 70's), with multiple Supreme Court rulings and new laws in place that have made pornography well, less dirty, and more profitable.

“There’s always been money in porn. Sex is the oldest profession in the world, and from the moment the camera was invented, someone was taking photos of tits and ass to make money. And you can fight me on this, and I’ll win, cuz the Internet itself was built on the back of porn–I know, because I was there, in the early 90’s my first web programming gigs were all porn-related, ” he laughs again, “Better yet, we can say the Internet’s earned it’s fortune …on it’s back–like [Andrew] Dice [Clay] would say–ohhhhhhh!”

Only time will tell how the SCREW brand fares in this new era of streaming technology, but given Autelitano’s success with other, well, less-explicit channels, it’s safe to say the SCREW brand has landed in the right hands.

“Explicit, better yet, obscene, in 2019 is a far cry from explicit or obscene in 1978 or 1988,” he laughs yet again, “In fact, what was obscene then is often kinda funny now–just look at the size of that bush, that’s some Buckwheat-in-a-headlock shit right there …you’re not looking.”

OMG.

You can subscribe to SCREW TV on Roku at www.screwtv.live.
SciFi in one sentence
By: Vlad Alex, Merzmensch
Tags: Science Fiction, Short Story, Culture, Flash Fiction

Get this newsletter By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox

Medium sent you an email at to complete your subscription.
ทำยังไงให้ Man-hour สูงขึ้น: เรียนจาก Dr. Blackjack หมอปีศาจ
Tags: Software Development

I am a product builder who specializes in programming. Strongly believe in humanist.

Follow
Drawing Race
By: Liza Donnelly
Tags: George Floyd, Politics, Equality, Protest, Race

Our country — and the world — is talking about race in deep ways that we never have before. I lived through the Civil Rights Movement in the 1960’s, and while the movement brought us far in understanding and change, it is nothing like what we are learning now. We have a very long way to go yet, politically and culturally. But on the state level and soon on the national level, we are passing legislation for change. Institutions are making positive decisions such as removing racist symbols, statues, flags and practices. As a people, we are talking. These are good steps. They need to continue, along with protests, for a long time before we are done.

These drawings were done in the last week as I thought about what has been going on. The murder of George Floyd is only the latest of many such horrible deaths at the hands of police; I drew about the pain of losing a brother, the children about whom we have to worry, the protests of blacks and whites. The drawing below is about the burden of racism that our country unfairly puts on black citizens, a burden that I, a white person, do not have to carry, but should.

Every day, I draw a different image live on Instagram and Twitter and talk about what I sense is going on, what the issues are, how I am impacted personally and dialogue with those who join me.

Drawings are about communication, emotion and the sharing of ideas.