fabiochiu/medium-articles huggingface dataset:
Verizon’s Bold Tweet to Casey Neistat
By: Clayton Carroll
Tags: Social Media, Social Media Strategy, Influencer Marketing, Digital Marketing, Twitter Marketing

This week’s digital marketing success story is about Verizon Wireless.

What Can We Learn From Verizon: A funny way to get free advertising.

Example: Verizon’s tweet in response to Casey Neistat’s question:

Like a cobra, Verizon strikes at the right moment with maximum effect.

Casey Neistat in Greater Detail

For those of you that do not know him, he creates videos and is known for storytelling on his YouTube channel. His channel has over a billion total video views due to 5.3 million YouTube subscribers, 1.7 million Instagram followers and 802,000 followers on Twitter.

He is a huge internet and social media influencer.

Why Was This Tweet Effective?

It enhanced my view of Verizon as a brand (I laughed and thought it was clever).

Probably got 75k — 100k views (conservative guess since Verizon and Casey combine for over 2.5 million Twitter followers), received 40 retweets and 122 likes.

Reinforced a competitor’s flaw to a big audience (I’ve heard from multiple users that T-Mobile does not have great service).

There is no way to know how much business Verizon might have gotten or how much they hurt T-Mobile in one tweet. However, the result seems worth it.

How to Perform Verizon’s Tactical Twitter Strike

Verizon has a big social media presence and a large team. Out of necessity, they most likely uses expensive social media tools and have more manpower than most companies.

Smaller companies without social media teams can follow these steps:

Monitor for competitor mentions with four free tools: Google Alerts, Social Mention, Twitter.com/search (thanks to Kendra Rutledge for pointing this one out to me) or a Hootsuite stream (instructions below). Identify and monitor influencer(s) Twitter activity with a Hootsuite stream (instructions below). When an influencer tweets about something related to your company or about your competitor, strike.

Finding influencers in your niche and influencer marketing is a big topic, I have not covered it before but have heard Buzzsumo is the best tool to find influencers.

Mark Schaefer does a good job explaining influencer marketing here.

Other Thoughts

Setup Hootsuite Twitter Stream for Competitor Mentions

Step 1: From a computer, create Hootsuite account and add Twitter profile

Step 2: On the dashboard, click add stream button near top left

Step 3: Click Keyword from menu items

Step 4: Enter up to three keyword phrases

Step 5: Add one or two more phrases and Add Stream

Setup Hootsuite Twitter Stream to monitor Influencers

Follow steps 1 and 2 above

Step 3: Click lists from the menu items

Step 4: Select your profile

Step 5: Click create new list and label “Influencers”

Step 6: Click Private List then click Add Stream

Step 7: Click More Options by the new stream

Step 8: Click Preferences

Step 9: Add influencers by their Twitter handle

Step 10: Click Done

There might be a better way to monitor for competitor mentions or influencer activity, would love feedback on anything that should be added!
Project development update
By: Live Stars
Tags: ICO, Blockchain, Cryptocurrency, Ethereum, Bitcoin

Most of the time since our token sale has ended, our developers have been busy with development of Live Stars platform and its functionality.

We have received a lot of feedback when we released our alpha version, and now we can say that we moved a lot since that moment, and even now, several weeks before the actual beta release, we can surely say that there’s a lot more to test and improve.

Most of end-user side functionality is now completed. We have implemented private messaging (all users, both models and customers, will be able to use our convenient private chat to communicate privately. Chat can not be spied even from Live Stars administration), giving and receiving tips. First prototype of our admin panel is also ready and now our platform is easily moderated. This will make the place safer for all users. Streaming now works flawlessly.

Now when everything mentioned above is completed, we are moving on to creation of model-side interface, their dashboard and streaming panel. Models are an essential part of our platform and their work should be as convenient as possible.

Beta release is scheduled for end of april 2018. We will keep you updated.

Listing is still expected in March. We would like to point out that the exchanges are extremely overloaded and sometimes we have to wait for an answer up to weeks. The absence of a specific listing date is due to slow actions on the side of the exchanges. We will immediately make the announcement as soon as the listing is in place and we are doing everything that is necessary to resolve these issues.
Heads Down
By: Words Seeking Glory
Tags: Poetry, Night, Life, Poem, Darkness

Amidst the hills of a cradle,

Creeps a little pale infant on an offence,

Venturing to climb the fence.

Oh, this is no normal Child!

Within his fantasy, hell is riled.

The time rushes

Into another time,

OH! But his skull remains sublime.

Heads Down,

Here comes the crown.

A voice in the night,

A horror or a fright,

Emerges through the graves

Along with his hectic slaves.

Long live the king!

Long live the king!
The Purple Pineapple
By: Christopher Barron
Tags: Network Monitoring, Network Security, Cybersecurity, Raspberry Pi

As we come down to the final week of working on our industry project, we have taken a giant leap into finalizing our python script and running that script on our raspberry pi. With the progress we have made, we now have a vision for future use and advancement with our raspberry pi. In our previous blog we gave detail about setting up a virtual lab and setting up a man in the middle attack that would do two things, ARP spoofing and ARP poisoning. Learning from the virtual lab, we now faced a new challenge, how do we take what we learned from the virtual lab and apply it to a real life application.

Red team and Blue Team Implementation

If you’re not familiar with red and blue team I’ll give a brief overview of what they are and how we took the the purpose of both teams and fused them into one. The red team focuses on penetrating networks, software, hardware etc. they look for ways to find vulnerabilities and attack the product in result this will allow ways to enhance security. The blue team focuses on analyzing the product to identify security flaws, enhance security, verify and measure effectiveness of security protocols. I do encourage you to read more on red and blue team. Now that we know what each team works, we focused our code around this idea attacking and analyzing. When we run the code it gives you four options 1.ARP Live Analysis this will allow us to monitor the live traffic on the network to see how packets are being transferred between two end points on the the network and create a pcap file that you can name or will automatically create the file for you. 2. ARP file analysis is the next option in our code, and you usually need a program to read pcap files such as Wireshark, but our code will allow you to view the files you created using the first option allowing you to see all the ARP request captured during the scan. 3. ARP Attack, in this option we take the IP address and the MAC address from one computer and attack, while the attack is taking place the user will be unable to navigate the network making it seems like there is a a connection issue. While on our end we are collecting all the traffic the user produces. In this option the attacker can choose the amount of packets they will like to capture before laughing the attack, and it’s defaulted to 200 packets. 4 ARP Spoof Detection, this option is still in the works as we need to implement more tools into this option for it to detect spoofs; however, we plan to use this code for research purposes and attacking our own machines and networks to build upon. After attacking our own machines we began to analyze what was going on giving us a new vision for future implementations on the raspberry pi.
Watching the Girls Go Bi
By: William, Dollar Bill
Tags: Humor, Memoir, Besexuality, Culture, Sex

Watching the Girls Go Bi

And bye bye as well with this lady!

Photo by Sharon McCutcheon from Pexels

I’ve often wondered what exactly it is about female escorts that makes an inordinate percentage of them bisexual. Are they super horny and just want to get down with everybody? Or is it all the competition they encounter working at houses that makes them resolve the conflict by simply coupling up with another girl who has one particular asset she herself wishes were hers?

Whatever…whether a large percentage of escorts are bisexual is virtually beyond debate. After almost 18 years of dealing with the girls, I can say unequivocally that a) I’ve met a statistically significant sampling and b)…that many do have sex with women as well as men.

Years ago, I was fooling around with a girl who told me in no uncertain terms that she liked women as well as men. In fact, what she really said was she seeks men out for relationships…and women for love! It’s women she falls in love with!

Maybe 10 days ago during a phone conversation, the girl informed me that she had to cut off the call as she was being rude to her new “roommate” who had just moved in. The roommate is a girl she once worked with in Brooklyn. I got the idea that maybe there was more to this deal than roommateship. And sure enough, that was the last time I spoke with her. I can guess what happened.

I told this little anecdote to one of her colleagues and the girl responded with some confusion “you were going out with so-and-so? You know she’s gay, right?” I feel complimented that at least for a hot minute, this girl had swung to the other side with me. But alas, her true colors came shining through. What are ya gonna do?

I relate this today because recently I met somebody’s “husband,” who intellectualized the difference between having semen versus “pussy juice” on her face and in her mouth. For her, PJ was preferable. I did not inquire as to her sexual orientation. I didn’t need to!
The Hidden Side of Travelling
By: Tom Stevenson
Tags: Life, Life Lessons, Social Media, Blogging, Travel

The Hidden Side of Travelling

The pictures don’t tell the full story

Travelling is not what it seems.

I’m sure you’ve all seen Instagram profiles that are an endless stream of idyllic looking photos of exotic locations.

The people in these photos are always smiling. They appear to have no cares whatsoever.

They appear to be having a great time. To an outsider, it seems like they have an ideal life.

It’s simply not true.

If I’ve learnt anything from travelling for the past 5 years, it’s that travelling is hard. Really hard. It’s never how it appears in the photos.

They are just a snapshot of a second in time. They don’t capture what happens on a daily basis. That remains hidden behind the lens.

If it did, the picture it painted would be markedly different from what you find on social media.
Trying Out the Promise.allSettled Combinator
By: Rayhan Sattar
Tags: Programming, JavaScript, Promises, Front End Development, Nodejs

What Exactly Is Promise.allSettled?

Promise.allSettled is a new combinator that will be added to JavaScript this year. Currently, the proposal is in a finished state.

Promise.allSettled() returns a promise that resolves after all of the given promises have either been resolved or rejected with an array of objects that describes the outcome of each promise.

Use case #1

Let’s modify the example given below:

We have passed the requests array to Promise.allSettled and called finally() . This implementation is completely free from short circuits. The flow will never stop due to rejection. Therefore, there will be no need to write try-catch statements and extra checks. Looks cool, right? Why don’t we look at another use case then!

Use case # 2

What if we have to track which requests are fulfilled and which have been rejected? Traditionally, we would do it with the help of a helper function that takes a promise and returns its states to either fulfilled or rejected.

If you glance at the example above, you will see that we have created a helper function named reflect . This function takes a promise as an argument and calls it in the return statement. If the promise is successfully resolved, then it will fall into the first callback function of the .then() block, which is known as onFulfilled . Using this, we are returning the fulfilled value with the status of fulfilled from the onFulfilled callback function. If the promise is rejected, then it will fall into the second callback function, which is known as onRejected . Here, we are returning the error and the status that is rejected from this callback.

Next up, we are going to pass reflect as the callback function to promises.map() , which will then map over all the promises and return an array of all the results. To check for successful promises, we are filtering the results with the help of status. The successfulPromises array will contain all the fulfilled requests. And as you can see, this is a lot of work.

Let’s see how Promise.allSettled can simplify this process:

At first glance, you can feel the difference between the traditional approach vs. using Promise.allSettled . There is no need to write your own implementation.

Promise.allSettled will map over the promises and return an array that will contain all the results — either fulfilled or rejected. We can filter the request just as we did in the traditional approach. All of this is clean, readable, and much more maintainable.

If you want to use this amazing combination, then you can use it from these amazing resources:
A Look Ahead: 2019
By: Nicholas Adams Judge
Tags: Cryptocurrency, Blockchain, Crowdfunding

RootProject uses blockchain to bring the power of markets to nonprofit fundraising. Our crowdfunding platform facilitates a new form of campaign design that maximizes rewards to supporters and beneficiaries, creating replicable and recurrent paths to funding.

A Look Forward for RootProject in 2019

Focus = Scaling Up

After four successful small campaigns in 2018, we are spending much of early 2019 focused on assisting organizations running large campaigns: bringing stakeholders and outside organizations together to form deep-rooted coalitions capable of real change. On a tactical level, this must be our core competency — one that will be amplified as more parts of the system are decentralized.

The campaigns in the first half of the year will be larger in several ways: scope, dollars raised, stakeholder engagement, and tokens burned.

Each campaign contributes to building and testing parts of our core competency. While, of course, each of our campaign partners are meaningfully contributing to larger anti-poverty efforts.

Initial Campaigns -> Test Campaigns -> Large Campaigns With Decentralized Governance -> Large Campaigns AND Projects Governed by the RootProject Ecosystem

As we build on our core competency, we are building tech tools that will extend decentralized control not just to the campaigns themselves but the projects they fund.

The campaign for a blockchain school in Lagos, Nigeria, for example, will be our first real-world test of crowdfunding forks.

Civilytics will continue building data tracking of police behavior, an issue intimately tied to urban poverty in the United States.

Research

A serious attempt to build a community governed by a decentralized network of stakeholders requires a disciplined approach to the data environment that is created. In crypto, price data is vital. An attempt to build an incentive system that revolves around an economic asset must be serious about how markets operate.

In the next month we will be releasing to the public a 30 page research report that sums up some of our initial findings. We hope it will be of use to our backers, and crypto holders more generally.

Big Picture

We have learned some hard lessons this year. It is a difficult time for many projects whose underlying models are vastly more easy to scale and capable of attracting revenue than RootProject’s. We did not hit our hardcap, mandating that we rethink how to build such an ambitious project. Ecosystems based on market economies are difficult to build while people question existentially the value of the asset class (tokens) at the center of those economies. Yet RootShop and Judge Research are allowing RootProject to survive the crypto winter. New hires are coming in Q1 of 2019 for RootProject, even while vastly larger crypto projects are folding.
Prisma, GraphQL, and How to Start
By: Aristos Markogiannakis
Tags: GraphQL, Docker, JavaScript, Prisma, Programming

Folder Structure

The whole idea is that you have a store. A store has a location, coordinates, and items missing — which is an array of the type Item .

On the root folder, I first created an empty folder called Prisma .

Outside the main folder, I had the package.json file.

The structure needs to be as follows:

Folder structure

The .babelrc contains the presets for using the environment variables that are in the root of our app.

.babelrc

The package.json contains the following:

package.json

For the next step, we need to run npm install .

We also need to globally install Prisma by running the following command:
Asphyxiated
By: J.D. Harms
Tags: Image, Breathing, Musing, Imagining, Poetry

Asphyxiated

A Poem

Photo by Ranjith Alingal on Unsplash

Everything is too close. For magic, we need some distance. This is not the right kind of distance: it is a return to neolithic hovels.

But you know that already, you’ve already succumbed, have left words to the air in case you make it. The moment has passed, I am sorry, for you to reveal the next bit of poetry.

The tightness of grip; the blurring of the shades; celebrations in the head, ongoing. You wonder a bit more at the bizarre, but you can’t bring yourself to pull on your shirt.

Untucked from the world’s bottom, you’ve decided on waiting in a closet. This happens. This must happen. And then, when you have exploded your cocoon, threads of dying life all around you, then take a look and see if you breathe.
The Story of the Three Little Hoarders
By: Joe Váradi
Tags: Humor, Satire, Survival, Fiction, Fairy Tale

The Story of the Three Little Hoarders

a surreal fable for our times

Once upon a time, Three Little Hoarders got wind of a new pandemic sweeping through their countryside. They set out to build their bunkers, to ride out the storm.

The First Little Hoarder built his bunker out of toilet paper. He stacked the rolls as tightly as he could, stretched a few reams across the top for a roof, and cozied himself inside.

Along came the Big Bad Virus, and yelled “Come out you Little Hoarder, for I will Spread, and Disperse, and I’ll blow your house in!”

“No! I’m the heir of survivalist kin!”

And so the Big Bad Virus Spread, and he Dispersed, and he knocked down the toilet paper bunker of the First Little Hoarder, and vanquished him on the spot.

The Second Little Hoarder built his bunker out of non-perishable food items. He stacked the canned beans and Spam as tightly as he could, filled the gaps in with granola bars, tiled a roof out of cereal boxes, and barricaded himself inside.

Soon enough, the Big Bad Virus appeared, and roared “Come out you Little Hoarder, for I will Spread, and Disperse, and I’ll blow your house in!”

“No! I’m the heir of survivalist kin!”

And so the Big Bad Virus Spread, and he Dispersed, and he toppled the canned food bunker of the Second Little Hoarder, and ravaged his body for weeks.

The Third Little Hoarder built his bunker out of surplus medical protective equipment. He layered the boxes of N-95 masks as tightly as he could, filled the gaps in with rubber gloves, fashioned a tarp out of surgical gowns, and snuggled himself inside.

The Big Bad Virus eventually found this bunker as well, and fumed “Come out you Little Hoarder, for I will Spread, and Disperse, and I’ll blow your house in!”

“No! I’m the heir of survivalist kin!”

And so the Big Bad Virus Spread, and he Dispersed, and he tried his hardest to infiltrate the bunker of the Third Little Hoarder. The bunker held up for a long time, but the Big Bad Virus eventually managed to squeeze through a narrow opening. He found his way into the orifices of the Third Little Hoarder, traveled down his air passages and burrowed himself inside his lungs.

This laid the Third Little Hoarder out pretty bad. He ached, shivered, sweated, ran a fever, gasped for air.

But after a few days he recovered.

Because Statistics.

Oh yeah, and the Big Bad Virus lived on happily ever after.

Life isn’t always like a fairy tale, kind readers.
The setTimeout and setInterval methods in JavaScript
By: Amitav Mishra
Tags: Web Development, Web, JavaScript, Javascript Tips, Javascript Development

Photo by Veri Ivanova on Unsplash

The setTimeout() method

The setTimeout() method calls a function after a specified time provided in milliseconds. This method takes a function as a first argument and time in milliseconds as the second argument. You can write your logic inside the function body which will execute after the time you have specified.

For example: Show an alert box after 5 seconds.

setTimeout(()=> {

alert('Message after 5 seconds');

}, 5000);

To cancel the timer, you can store the timer first in a variable and call the clearTimeout() function by passing the timer as argument.

var timer = setTimeout(()=> {

alert('Message after 5 seconds');

}, 5000); clearTimeout(timer);

The setInterval() method

The setInterval() method calls a function at specified interval of time provided in milliseconds. It takes function and time (in milliseconds) as its arguments.

For example: Print a random number every second.

setInterval(() => {

console.log(Math.random());

}, 1000);

To cancel the interval, you can store the interval first in a variable and call the clearInterval() function by passing the interval as argument.

var interval = setInterval(() => {

console.log(Math.random());

}, 1000); clearInterval(interval);

Create a running clock timer

To create a running clock, we need to take help of setInterval() method and Date object. We can get the current time by creating a new Date object.

new Date().toLocaleTimeString(); // 6:30:49 PM

Once we create a Date object, it will give us the Date information of current time, it will not change its value with the passing time. So we need to create a fresh new object every time to get the latest date and time.

For this example, we will create a new Date object every second and print that.

var date = setInterval(() => {

console.log(new Date().toLocaleTimeString());

}, 1000);

To show the running clock timer on a web page, you can create a div element in HTML and set the it’s innerHTML with the latest time every second.

HTML

<div id="time"> </div>

JavaScript
bitJob Token (STU) to be listed on QRYPTOS Exchange!
By: Dror Medalion
Tags: Cryptocurrency, Bitcoin, ICO, Blockchain, Ethereu

We are proud to announce that bitJob Token (STU) will soon be tradable on QRYPTOS exchange at https://www.qryptos.com.

STU Tokens will Start Trading on QRYPTOS — February 21st, 2018!

With over 4 million USD in daily volume, we are delighted to announce the addition of the QRYPTOS exchange to the bitJob family!

As part of our constant efforts to add the bitJob Token (STU) to more exchanges, we are very excited that the STU is soon to be LIVE on Qryptos.

After the launch, we will hold an AMA event for the community together with Mr. Seth Mellamed — Head of operations at QRYPTOS. Don’t miss this chance to engage with the blooming QRYPTOS community!

QRYPTOS has placed stringent, preventative measures to ensure a safe, secure, and compliant process for all token issuers and purchasers. To do this, they conduct all necessary due diligence of all token listings, and require verification of accounts for all token purchasers.

Some of the other industry leading features of QRYPTOS exchange include:
Accepting Pain Will Set You Free
By: Kylie Craft
Tags: Poetry, Spirituality, Life, Poem, Life Lessons

Poetry

Accepting Pain Will Set You Free

Only by trial, can we grow to be who we are meant to be

Photo by Greg Rakozy on Unsplash

Into existence, I was birthed.

Sparse were the moments I came to life.

Learning, never to understand.

Stumbling before standing erect.

Claiming faith in the unknown.

Then, I felt the peace spill down.

Remind doubt the future is yours.

Heal the wounds that linger.

Never forget the scar.

Remember always the lesson.

Banish old wounds away.

For watching memories will stunt the future.

Uncurl the fist to allow the tainted to flee.

All darkness can be released.

The broken awaken with open hearts.

Light begins with a single beam.

Become the desires you seek.

Bond by questioning the status quo.

Break captivity with acceptance.

Most chains are chosen.

The universe is the heart of every eye.

Realize the internal power.

Breathe way to purpose.
Detecting new DOM additions using Sentinel JS
By: Jair Reina
Tags: JavaScript, Sentineljs, Dom, Additions

Today I stumbled upon this simple library called Sentinel.JS that allows us to detect new DOM elements added to the DOM tree.

This is a task that can be accomplished using the Mutation Observer interface, but this library makes it pretty simple and that’s what I like about it. This is what the creator of the library says about its implementation:

SentinelJS uses dynamically-defined CSS animation rules ( @keyframes ) to hook into browser animationstart events when a new node matching a given CSS selector is added to the DOM. In general this should be more performant than using a Mutation Observer to watch the entire document tree for changes and iterating through all new child nodes recursively.

The “more performant” part makes sense in this case, but I’ll leave that verification for another post.

Now, the library is pretty simple to use, once you have it included in your page, you can bind to DOM addition events by using the on method, like this:

sentinel.on(cssSelector, callbackFn );

As you can see, you only need a CSS selector (of the element you want to detect when gets added to the DOM) and a callback function that will get executed when that happens. Yes, as simple as that. So a real example could be:

sentinel.on('li',function(el){

addNotification(el.tagName + " element added");

});

In the example above, we’re listening for additions of an “li” tag and when that happens, we call the addNotification function.

If we want to remove the listener, we can do it with:

sentinel.off('li')

Here’s an example in Codepen

The library has other cool features like listening to multiple elements, triggering a watch function using custom CSS, etc. You can see more in the official documentation.

As always, let me know your thoughts.
Flutter: Custom Bottom Sheet Modal
By: Alex Melnyk
Tags: Modal, Handlebars, Flutter, Bottomsheet, Widget

Light Theme | Dark Theme

Shortiacle

Hi guys! Today I tell you how to build Modal Bottom Sheet (MBS) quickly; it’s a regular component usually used in applications.

The full example you can observe on the git repository.

UI

First of all, let’s build the UI that we will use for the MBS. I’ll base the code on the application theme for the theme switching ability between light and dark modes.

Show MBS

At the moment, we have just a widget that we will use as a container for our MBS. To invoke MBS, you’ll need to call the “showModalBottomSheet” function and pass the builder function to build UI. I’ve used FloatActionButton (FAB) to show MBS.

Light Theme | Dark Theme

At the moment, you’ll have something like that. It’s an empty MBS with the blue container and the handlebar at the top; let’s fill it with a few lines.

I’ve made a line builder function, and it’s a line with leading, title, and trailing widgets. I was supposed to pass Icon for leading, text for a title, and switch widget for a trailing widget, respectively.

That’s an example of how to use it:

That’s it, and you will have a pretty ModalBottomSheet with a handle.
I’m Not Just One Person Anymore
By: Anna Moriartylev
Tags: Motherhood, Comics, Pregnancy, Birth Story, Anna Moriarty Lev

Diary comics about my first pregnancy

On May 5, 2016 around 5:00pm I started having contractions in the parking lot of my OB GYN’s office. (Only I didn’t know yet that they were contractions.)
How to Create and Load Custom Modules Dynamically in Node.js
By: Ng Wai Foong
Tags: Programming, Nodejs, JavaScript, Tutorial, Modules

4. Loading Dynamically with Glob

Loading each module manually can be tiring, as you need to append an extra line of code each time you add a new module. A good alternative is to utilize the glob module to search all of the js files in a directory and load them automatically. The result will be stored in a JavaScript object that can be referenced easily using the name of the module.

Replace the date and math import statement with the following code:

var glob = require( 'glob' );

Create a new JavaScript object called module_dict :

var module_dict = {};

Next, we are going to search the module folder and get the path of all the files, ending with js extension. You can test it by adding a console.log statement to print out the path of all the js files.

glob.sync( './modules/*.js' ).forEach( function( file ) {

console.log(file);

});

You should see the following output at the terminal.

The next part is to extract the name of the file without the name of the folder and extension. I am going to keep it simple and extract it using the split function. Please be reminded that this code will not work if you change the structure of your project. Modify it accordingly based on your use cases.

Replace the console.log statement with the following code:

let dash = file.split("/");

if(dash.length == 3) {

let dot = dash[2].split(".");

if(dot.length == 2) {

let key = dot[0];

//reserve for assignment

}

}

Replace the reserve comment with the following code, which loads the module and adds it as property to the object.

module_dict[key] = require(file);

Then, you can easily call the module using the following syntax:

module_dict["math"].addition(8, 10);

The key is tied to the name of the file that you have placed inside the modules folder. When you add a new module, you can simply reference it without the need to import it.

However, one major disadvantage is that you might input the wrong name for the key, and the following error will be displayed:

Cannot read property 'key' of undefined

You can do a property check before calling the function via the hasOwnProperty function:

if(module_dict.hasOwnProperty("date")) {

//implementation here

}

The complete code for dynamic loading is as follows:
Cartoonists Drawing Together
By: Liza Donnelly
Tags: The New Yorker, Laughter, Drawing, Marriage, Cartoons

Cartoonists Drawing Together

It keeps us sane, and married

Last week, I volunteered to show my studio and draw on camera for viewers via the wonderful Society of Illustrator’s Instagram. After a half hour of talking shop, materials, ideas, and drawing, I invited my husband to join me. Michael Maslin is also a New Yorker cartoonist, such as myself, and we have been married for thirty two years. I got us a huge piece of paper and we drew together, almost frantically at times. Michael reminded me that it’s something we did on one of our first “dates.” You can see a bit how we both work, and get a glimpse into a cartoonist’s brain.

Here is the video.

Michael and I met because of The New Yorker, and we live and breathe the art of cartooning. Both of us love what we do, and even wrote a book about the institution of marriage — and ours — together, called Cartoon Marriage. The book almost made it into a sitcom; it didn’t get picked up, ultimately.

It helps to laugh in a marriage; take it from us. It’s manditory.
SCI Daily: Bull-ish?
By: Francisco Araneta
Tags: Fintech, Philippines, Blockchain, Cryptocurrency, Bitcoin

August 28, 2018

Image from Coindesk

Bitcoin (BTC) rose last night after consolidating within a tight range. BTC broke out of a strong resistance at $6,800 and is making a bullish flag pattern on the shorter duration charts. Follow through buying may push BTC to $7,200 while a breakdown may see BTC come back to support at around $6,200-$6,500.

Support levels are at $6,500 and $6,200 while resistance levels are at $6,800 and $7,200

BTC/PHP: 372,530 / 355,890

USD/PHP: 53.75 BTC

Market Cap: $119B

Crypto Market Cap: $224B

Image from https://coin360.io/

News:

Roughly 20,000 ETH (approx. $5.5M), received from Ethereum’s genesis block, has been transferred to popular cryptocurrency exchange Bitfinex. The whale was a recipient of over 314,000 ETH, and had already previously sent out upwards of 100,000 ETH out of his wallet. If this person decides to sell off his bags, this could mean year-to-date lows for the second-largest cryptocurrency.

India’s Central Bank, the Reserve Bank of India (RBI), has created a new unit dedicated to the developing regulations, for the blockchain and cryptocurrency space. The department, launched just a month ago also has the mandate to “research and possibly draft rules” for these technologies.

Samsung SDS, in collaboration with the Korean Federation of Banks, has created a new platform based on blockchain technology for South Korean banks. The new platform, named BankSign, is designed to simplify interactions between banks’ mobile systems. Samsung representatives claim that this platform is the first blockchain tech based application for banking services.

Singapore is considering the use of blockchain technology for selling tokenized securities. According to a press release last week, The Monetary Authority of Singapore (MAS) and Singapore Exchange (SGX) are working with Anquan, Deloitte and Nasdaq to create a Delivery versus Payment (DVP) platform for tokenized assets. The platform will allow different parties to trade fiat for assets utilizing a smart contract network.

Events:

A Stellar App

Wednesday, August 29 from 6PM to 9PM

QBO Innovation Hub, 1209, 375 Sen. Gil J. Puyat Ave

A meetup to explore the technical capabilities of the Stellar network. These sessions will be beneficial should you plan to start on your own project or would like to work for a company aspiring to innovate blockchain projects.

Blockchain and the Law Series: Part 1 — Modes of Regulation

Thursday, August 30 from 7PM to 9PM

Cerebro Labs, 3rd Floor Universal Re Building 106, Paseo de Roxas Street

Manila Ethereum will hold a lecture series to discuss the legal, regulatory and policy implications of open blockchain networks and the various use cases, activities and applications that are built on top of Distributed Ledger Technologies (DLT).

SCI | buybitcoin.ph | Bitbit | Keza | Rebit.ph
ICO Review — 5 reasons why SpringRole should be the new LinkedIn
Tags: Professional Networking, Blockchain, Social Network, Cryptocurrency, Ico Review

2. A complete solution

SpringRole is a California-based company that builds a new generation professional network building on the Blockchain.

The special feature of the Springole network is its protocol of attestations and decentralized verifications that validates and verifies the years of study, skills and professional experience of the different profiles. The objective is to obtain a professional network containing only “verified” profiles which will simplify the life of the recruiters and restore confidence in this type of network.

The added value of SpringRole is its attestation and verification protocol that provides verified profiles.

The first “layer” of this verification is the KYC (Know Your Customer) process required when creating an account. This process makes it possible to ensure the uniqueness of the profiles on the platform but also to fight against fictitious profiles that could harm the credibility of the platform.

The profile of the user on the platform is fairly standard and is broken down into three parts: education and diplomas, work experience and skills. This information is verified through the platform’s attestation and verification protocol. These attestations and verifications are based on the collaboration of different entities of the ecosystem:

Educational institutions and training organizations (high schools, universities, training centers, websites offering MOOCs) check the years of study, the courses taken and the diplomas obtained.

(high schools, universities, training centers, websites offering MOOCs) check the years of study, the courses taken and the diplomas obtained. Companies and organizations check professional experiences.

check professional experiences. A committed user community that verifies and approves skills listed by platform users (rather than a test system like what Upwork does for example)

Whenever a certificate and verification is performed, the “auditor” is rewarded with a number of SPRING tokens.
Weekly Digest: First bank transfer solutions, E-commerce debates in Vegas, new Crypto Survey
Tags: Digest, Finance, Crypto, Banking, Bitcoin

Hi there,

It’s been a busy week for Crypterium! We’ve released our very first bank transfers solution, Austin Kimm took part in some heated debates at Cointelegraph’s BlockShow conference in Vegas, and there was much more we’ve been dying to share with you in our Weekly Digest!

Let’s get right to the details.

Bringing crypto solutions overseas

Crypterium has launched a new feature that now allows Australian citizens to send crypto to bank accounts with a single tap on the screen. Amazing, right? There’s even more: our Australian users can also pay any bills that have the BPAY logo with their crypto holdings.

Why do we think the feature will be in demand? Australia boasts a very high number of active crypto wallet users, while BPAY is the number one electronic billing system in the continent.

Last but not least, the feature is now only accessible in Australia, but we’re going to offer the same options to our European users very soon.

Debating the future of E-commerce at BlockShow Americas

The week kicked off with a massive event as our cofounder Austin Kimmwas invited to take part in a panel discussion at BlockShow Americas in Vegas. The session with a focus on blockchain deployment in e-commerce turned into heated debates as proponents of two opposite views of how — and if — the technology can benefit consumers took on the stage.

Take a look at what Austin Kimm and other panellists had to say on that.

#CrypteriumAsks

Now it’s our turn to ask you questions. What is the future of crypto? When do we see people buying a morning latte with bitcoins? We know you’ve got your own view on the industry and where it’s all headed. Please share your thoughts through our survey, that we’ve recently launched in our media channels. It’s going to be a series of polls with specific questions about blockchain, crypto, and fintech. The first one is already up!

Unfolding World CryptoMap

In this week’s World CryptoMap instalment we are taking a closer look at the state of things with crypto in India, a country that no longer knows which way is up. After almost proclaiming itself crypto-friendly, the government starts pushing the crypto ecosystem into the corner by taking harsh measures.

About Crypterium

Crypterium is building a mobile app that will turn cryptocurrencies into money that you can spend with the same ease as cash.

Shop around the world to pay with your coins and tokens at any NFC terminal, or via scanning the QR codes. Make purchases in online stores, pay your bills, or just send money across borders in seconds reliably and for a fraction of a penny.

Learn more at http://crypterium.com/ and join the discussions in our Telegram Chat.
Creating a Basic API with Rails using Active Model Serializer (AMS) in less than 5 minutes
By: Gilbert Torchon
Tags: Ruby on Rails

Do you know Rails? Active Record? Can you have a Rails Web App up and running real quick but struggle to do a Web API? This article is for you!

Let me introduce you to a tool called Active Model Serializer (AMS):

Active Model Serializer is a gem that allow you to create complex APIs using the same active record associations that you’re already used to. Let’s dive in!

First, go to your gem file and paste: gem 'active_model_serialiers' then go in you console and type bundle

Now let’s say you have a Web App where users can follow courses and that your course SQLite schema looks like this:

create_table "courses", force: :cascade do |t| t.string "title"

t.text "content"

t.integer "user_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false end

Assuming you want to expose a course trough your API you will have to go through these steps:

- Create a CourseSerializer.rb file (You can do that using a special rails migration that comes with the AMS gem. - Specify which fields you want to expose through API in you serializer file - Modify your controller to render json

…and Voila!

Step 1

Go to your console and type rails g serializer Course . This will automatically create a serializers directory that will contain you serializer file. Go in the file and should look like this:

Step 2

In the attributes section, add the attribute that you would like to see rendered in the json later. For example you may want to add the content of the course in the attributes and will be shown in you json. It’s that simple!

At this point, you may be asking yourself about how you would include a field containing an associated model (the user for example). You can simply add the association in the serializer file and all will be taken care of. You will have to create a serializer file for the user too using the same migration. For example, a course belongs to a user and I want to display the user information nested inside the course. First I will create the user serializer, add the attributes I want to see from the user in it, then add the association has_many :courses beneath the attributes section. Next, I go to the course serializer and add belongs_to :users . That’s it!

Last Step

The Last Step is to go to your controller, let say we want to list all courses and display them as json. I will just go to my index action and add the following: render json: @courses , status: 200 . The whole action will look like this:

def index

@courses=Course.all

render json: @courses, status: 200

end

Go in the index routes and you will see all the courses displayed before your eyes as JSON.

There is much more available with the active_model_serializers gem so you can look at his public repo on GitHub.

Thanks for reading!
Nature’s Beauty
By: Anne Bonfert
Tags: Nature, Outdoors, Travel, Diversity, Photography

On one of our regular walks, we did feel the cold. It had been a sunny day yet it never got really warm. The forest is still very green but the forest floor is already covered in lots of brown leaves.

Autumn.

Autumn is here. He isn’t just knocking on the door. He just walked into our lives without asking. But I kind of like it. I like the colors. I like the change of season.

© Bonfert — 14/10/2020 — GLORY

Once in a blue moon, I do go to the city. To do some shopping. Just to realize again that I am not a city person. I simply need nature around me.

As I’m finished with what I wanted to do in the city I turn off the shopping street in Stuttgart and walk to the park. Watching Egyptian Geese walking along the shoreline. There’s a small pond and lots of ducks and geese found their home here.

Within the city. To make the city a bit more lively. These animals are very tame and come close to you. Or don’t mind it if you come close to them by walking along the path.

Time to go back to the train station and head out of the city. Yet I did enjoy these few minutes surrounded by the city’s animals.
24hr Crypto Market Round up
By: John Fenton
Tags: Blockchain, Zcash, Cryptocurrency, Ethereum, Bitcoin

24hr Crypto Market Round up

Oh the green green fields of Crypto are back!

All top ten by market cap posting a positive gain against the dollar !

In fact with the exception of Tether (lets be honest that isn't crypto and don’t care much about it) you would have to scan down to past the top 30 to see a loss!

That’s a good day in my book!

Remember Follow me via https://medium.com/@john.l.fenton)

Check Out My Crypto wallet https://carbonwallet.com/ Currently supporting #BTC Bitcoin, #BCH Bitcoin cash, #ZEC Zcash, #ZCL Zclassic (ZCL is a entry point into the upcoming fork for bitcoin Private BTCP as is BTC) More coins coming soon

So here we go Crypto Pickers!

Bitcoin (BTC) $8708.79 up 4.4% Glad to see it level out and sustain some support above the 8k mark

Ethereum (ETH) @ $860 up 2.98%

Ripple (XRP) up 4.1% @ $1.06

Bitcoin Cash (BCH) @ $1263.02 up 0.57%

Cardano up 0.19% @ $0.377080

LiteCoin (LTC) @ $159.88 up 4% I think LTC could push the $180/190 mark in next few days if the positive moves in the market continue.

NEO @ $111.42 up 3%

Stellar (XLM) @ $0.392853 up 3.87% (still one of my top coins and looking for it to push on )

EOS back up 3.42% @ $8.99

IOTA rises @ $0.515602 up 12%

Note: These are my opinions and I like to think I am right all the time, but have been known on the ODD occasion to be wrong, so the here is the legal bit

My opinions on the blog do not constitute investment advice.
Rebranding ourselves: more than just a pretty face.
By: Lia Elbaz
Tags: Branding, Technology, Rebranding, Storytelling For Business, Web Design

Osedea

We’re on a mission to build a more efficient and enjoyable world
Hotels.com E-Gift Cards now No Fee, Quick Delivery and Variable Denominations!
By: Mike Olthoff
Tags: Cryptocurrency News, Blockchain, Cryptocurrency, Ethereum, Bitcoin

Exchange cryptocurrency today and Hodl memories for a lifetime!

We are pleased to announce big changes to our Hotels.com product listing:

Pick Your Denomination

No Fee

Delivered Automatically (after 2 confirmations on the blockchain)

Why should you choose a Hotels.com Digital gift card?

A Hotels.com gift card is redeemable towards bookings at hundreds of thousands of places to stay in 200 countries & territories, ranging from international chains and all-inclusive resorts to local favourites and bed & breakfasts. You can also use a Hotels.com gift card for members-only deals & promotions!

There’s never been a better time to exchange your cryptocurrency for Hotels.com and start planning an unforgettable vacation!

Buy your Hotels.com Gift Card using Bitcoin, Ethereum, Litecoin, Dash, Dogecoin and more cryptocurrencies today!