fabiochiu/medium-articles huggingface dataset:
Cloud Native Application Bundle — a spec for packaging distributed apps
By: Nico Meisenzahl
Tags: DevOps, Docker, Microsoft, Microservices, Cnab

Cloud Native Application Bundle (short CNAB) is a new specification for packaging distributed container-native applications. CNAB was designed by Docker, Microsoft, bitnami and Hashicorp. It facilitates the bundling, installing and managing of container-native apps and their coupled services.

A CNAB can be used to define whatever service or infrastructure. There are no limitations. Think about Containers managed with Compose, Helm, Kubernetes or Virtual Machines managed with Ansible or Terraform on any Platform or any on-premises environment. Just to mention a few possible options. A CNAB contains all needed information and resources and can, therefore, be easily shared and distributed.

Some more details

A CNAB contains a bundle definition file (bundle.json) to define the application/service and an invocation image to install it.

The bundle.json contains information like the name, version and description as well as information about the invocation images. It can also store the list of the used images, parameters and credentials if needed by the application.

In this example, CNAB is used to manage a Wordpress installation with Docker Compose. The bundle.json looks like the following:

{

"name": "compose",

"version": "0.1.0",

"invocationImages": [

{

"imageType": "docker",

"image": "cnab/compose:latest"

}

],

"images": [

{

"imageType": "docker",

"image": "wordpress:4.9.8-apache",

"digest": "sha256:7121cdf8e9f01816653a3b2d2f4fc7bfe1dab956f00db5c7e7689e5f1454029a"

},

{

"imageType": "docker",

"image": "mysql:5.7",

"digest": "sha256:1d8f471c7e2929ee1e2bfbc1d16fc8afccd2e070afed24805487e726ce601a6d"

}

],

"parameters": {},

"credentials": {}

}

The invocation image is used to install, update and manage the service. In this example the Image is called cnab/compose:latest. Its definition is also part of the CNAB and is stored in a folder called “cnab” next to the bundle.json. The folder structure of this example looks like this:

cnab/

└── build/

│ └──Dockerfile​

└── app​

├── Makefile

├── docker-compose.yml

In our example, the invocation image will be used to execute the docker-compose.yml to install, upgrade or uninstall the application. You can have a look into the Dockerfile as well as the other ones here.

The whole CNAB specification with much more details is available here. You will find some more example CNABs here.

As mentioned above CNAB is a specification, not a tool. That’s why Microsoft and Docker also built a CLI called Duffle to easily manage and use CNABs. Duffle can be used to create, manage and deploy CNABs. Beside this, Docker also extended their docker-app CLI to support the CNAB specification. docker-app can not only be used to manage and deploy CNABs but also to push (and therefore share them) to Docker Hub. Those two clients are a good starting point but hopefully there will be other implementations and integrations soon!
Perbedaan UI Engineer dan Frontend Developer
By: Rahmad Didik
Tags: Frontend Developer, Front End Developer, Dipostarfinance, Ui Engineering, Ui Ux Design

we are sharing our knowledge and process of project

Follow
5/28/2016 Safeco Field
Tags: Mariners, Seattle, Baseball, Safeco Field, MLB

During batting practice, it was all Nelson Cruz and Robinson Cano. In fact, Nelson Cruz hit a ball completely OUT of Safeco Field. Click this link to watch the video highlights.

Lots of baseballs were tossed up into the stands and due to it being “Salute to Kids” night at the ballpark, the majority of them were tossed to kids and most were either dropped or bobbled around. The ones were dropped were easily glove-tricked out from behind the walls…

….I easily secured two balls during batting practice:

One kid used a blanket tied to his glove but he forgot the most important element of his glove-trick: the rubber band. I literally watched this kid for 10 minutes trying to dangle his glove over a baseball but it wouldn’t secure into his glove because there was nothing to hold onto the ball. Ultimately, a security guard went down behind the wall and picked up the baseball for him.

I sat with my Twins rooting girlfriend, Alex in the outfield hoping to snag a home run ball during the game:

She isn’t really a Twins fan. I bring both visiting and home team hats for autograph opportunities. Lately, I’ve been striking out when it comes to autographs. I usually get my ticket signed by someone before the game. And for the last three games I’ve attended I’ve been trying to get a picture with former Mariners Dave Valle but he hasn’t been showing up to the Root Sports broadcast booth for some reason. Today was no exception. Again, a no-show.

The game was pretty entertaining. The Twins beat the Mariners in the end by a score of 6–5 and we left towards the top of the ninth to beat traffic. Aoki smacked a home run in the first inning to give the Mariners the lead but the Twins managed to rally back and hold the lead.

Next month I fly out to Romania so I’ll be busy trying to keep up every day with daily blog entries on the trip.

Total Lifetime Games Attended: 121

Total Baseballs Snagged This Season: 9

Total Lifetime Baseballs Snagged: 343

Total Lifetime Foul Balls Snagged: 1

Total Lifetime Home Run Balls Snagged: 0
USING EXPLOITS IN METASPLOIT: Part 5
Tags: Security, Hackthebox, Hacking, Hacker, Metasploit

SHOW EXPLOITS command in MSFCONSOLE

Selecting an exploit in Metasploit adds the exploit and check commands to msfconsole.

msf > use exploit/windows/smb/ms09_050_smb2_negotiate_func_index

msf exploit(ms09_050_smb2_negotiate_func_index) > help

...snip...

Exploit Commands

================ Command Description

------- -----------

check Check to see if a target is vulnerable

exploit Launch an exploit attempt

pry Open a Pry session on the current module

rcheck Reloads the module and checks if the target is vulnerable

reload Just reloads the module

rerun Alias for rexploit

rexploit Reloads the module and launches an exploit attempt

run Alias for exploit msf exploit(ms09_050_smb2_negotiate_func_index) >

SHOW

Using an exploit also adds more options to the show command.

MSF Exploit Targets

msf exploit(ms09_050_smb2_negotiate_func_index) > show targets Exploit targets: Id Name

-- ----

0 Windows Vista SP1/SP2 and Server 2008 (x86)

MSF Exploit Payloads

msf exploit(ms09_050_smb2_negotiate_func_index) > show payloads Compatible Payloads

=================== Name Disclosure Date Rank Description

---- --------------- ---- -----------

generic/custom normal Custom Payload

generic/debug_trap normal Generic x86 Debug Trap

generic/shell_bind_tcp normal Generic Command Shell, Bind TCP Inline

generic/shell_reverse_tcp normal Generic Command Shell, Reverse TCP Inline

generic/tight_loop normal Generic x86 Tight Loop

windows/adduser normal Windows Execute net user /ADD

...snip...

MSF Exploit Options

msf exploit(ms09_050_smb2_negotiate_func_index) > show options Module options (exploit/windows/smb/ms09_050_smb2_negotiate_func_index): Name Current Setting Required Description

---- --------------- -------- -----------

RHOST yes The target address

RPORT 445 yes The target port (TCP)

WAIT 180 yes The number of seconds to wait for the attack to complete.

Exploit target: Id Name

-- ----

0 Windows Vista SP1/SP2 and Server 2008 (x86)

ADVANCED

msf exploit(ms09_050_smb2_negotiate_func_index) > show advanced Module advanced options (exploit/windows/smb/ms09_050_smb2_negotiate_func_index): Name Current Setting Required Description

---- --------------- -------- -----------

CHOST no The local client address

CPORT no The local client port

ConnectTimeout 10 yes Maximum number of seconds to establish a TCP connection

ContextInformationFile no The information file that contains context information

DisablePayloadHandler false no Disable the handler code for the selected payload

EnableContextEncoding false no Use transient context when encoding payloads

...snip...

EVASION
My 15 Favorite Guide Books for Parenting an Atypical Kid
By: Kate Lynch
Tags: Autism, Books, Special Needs, Self Improvement, Parenting

These books have been companions along my journey of discovery, from before my son’s ASD diagnosis to the cusp of middle school.

I won’t title this ‘The 15 Best Books…” because each of us is unique, and our kids are different. We are not going to have the same needs. We won’t resonate with the same writing styles. I encourage you to read reviews before deciding which books are right for you. I encourage you to listen to the sample before buying an audiobook.

My learning style responds well to reading, and I was desperate for support and understanding when my son was little. If that’s not you, don’t feel pressure. There are at least as many great books that I haven’t read yet, sitting on my shelf.

These are some of the voices which have influenced my parenting towards an inclusive, mindful and collaborative approach. I was also informed by many books not related to parenting; many ‘typical’ parenting books; and many workshops, interviews and trainings.

Mostly, my son has shaped my parenting. He shows me how he needs me to be with him. My job is to listen.

I have placed these fifteen parenting books in a rough order by importance to me.

I left the best for last. I’d be happy to update the list as I go. If you’re interested in a similar list of books for atypical kids, let me know!

image by author

If you have suggestions for my reading list, I’d love to hear them. Please also let me know how the books you read about parenting atypical kids have affected your family.
Parte 2. Diseñando la Solución
By: Layne Granados Mogollon
Tags: Software Design, Agile Methodology, Scrum, Software Development

Software Engineer and OCP java 8, with seven years of experience creating software. Currently learning about Clojure and functional programming

Follow
No drama, here’s my mamma
By: Ruth Lazkoz
Tags: Childhood, Family, Love, Poetry, Parenting

She knows it does not really matter if we make it five mins late to school.

She keeps it a secret that we sometimes have icecream for breakfast.

She always knew I was quite a cute boy.

She regrets I refuse to be an astronaut because I do not want to venture anywhere near a blackhole and become human spaghetti.

She nods in agreement when I tell her she can charge her mobile with a lightning.

She gets a bit sad but hides it when I find it hard to clap my hands and then my lap everytime we play We will rock you.

She will stand by the touch line to come running when I get hurt at the football match.

She does not think it is any obscene that I like to squeeze her boobs because at the end of the day I am not even yet five years old.

She agrees with me I am too young to have a girlfriend.

She has never ever hit me.

She tells me one day she will be glad to be no longer the most precious thing in my life.
How social media turns us into Pavlov’s Dogs
By: A.C. Flory
Tags: Psychology, Social Media, Manipulation, Addiction, Behavioural Science

‘I’ve just read an article that is so important, I’m posting about it here and on Medium. The article is entitled:

Oddly enough, it wasn’t the bit about the writer being a magician that caught my attention, it was the label of ‘Google Design Ethicist’ that made me start reading. Having just learned how Google invades our privacy, I was primed to be interested.

Almost immediately, I recognized the term ‘intermittent rewards’ as one of the ‘behaviour mod[ification]’ techniques I’d studied at university. The course was Behavioural Sciences, and back then I’d wanted to become a psychologist.

In a nutshell, behaviour mod. started out as a therapy for:

Inducing positive change in an individual’s behavior through such techniques as positive and negative reinforcement, or punishment for poor behavior. This therapy method is based off of the experiments by B.F. Skinner and his theory of operant conditioning.

You can read more about behaviour mod. here.

My interest in psychology was sidelined by my introduction to computers, so I never ‘used’ my studies for anything, but apparently industry has. Intermittent rewards are used to make people addicted to all sorts of things, including slot machines and…social media. When you see people obsessively checking their phones for messages, emails, or ‘Likes’ on social media platforms like Facebook, it’s because they’ve been conditioned to do so by the technique of intermittent rewards.

You can see exactly how intermittent rewards work on social media by reading the whole article. It’s long but well worth it.

Even if you’re not interested in the how, I hope you read enough to recognize that we’ve all been turned into Pavlov’s Dogs by ‘social engineers’ who either never question the ethics of what they’re doing, or simply don’t care. The only way to turn social media into something that benefits us is to:

a) become aware of how we’re being manipulated and

b) kick up such a stink that companies benefiting from this manipulation are forced to change, or go under.

I’m so angry, I’d be happy to see them all crash and burn.

acflory
Lamentations of the Sentimentalists
By: Uswa S Musings
Tags: Sentimentos, Self Love, Empathy, Self Improvement, Memoir

https://pin.it/7cskINk

By the end of each day I take a long breath, wipe my forehead and express gratitude on how I prevailed. Life is like a whirlwind to the whimsical kind. Each twist, each turn so melodramatic, so enchanting, so exhausting.

To walk out in the sun is to be done with a skip in the step and a song in the head while you extend your hand out play with the leaves, feel the sunshine absorbing in your pores and a giddy smile making your jaws ache.

Sharing memories is important with the ones you hold dear to your heart and once they speak of times you hadn’t witnessed you listen with a vivid imagination, a younger them, how silly, how fun but beware you must remember to listen as they speak and not let your mind wander too far. Hold their gaze and smile as they do and feel the fluctuations in the sentiments with which they speak of each event. You’d feel so full by the end like you’ve eaten a whole pie just by yourself.

And in the evenings, the uncertain time just after the sunset you would probably sit quietly by yourself. Breathe in all that you saw and breathe out all that you’ve imbibed in. You’re far from being impervious to your surroundings.

At times, quite often perhaps you’d shudder at how cruel and unkind certain sentiments could be or lack thereof. You would want to unfold the mysteries behind them but it would give you chills. It would scare you so. You would run and cry at home by your own. But sometimes you might not find a place to weep so the sunshine would turn gray and you’d shun the idea of intimacy and you’d fold your arms around your chest each time anyone comes near.

If you find yourself at the depths of despair, you would probably eat a whole pie by yourself and find comfort in solitude where you’d look for sympathisers in material things.

If you’ve been bright once, you are allowed to be a wet blanket too. You are allowed to curse at sunshine and turn your face away from the sun. You’re allowed to spend hours at end going over the miseries. You’re allowed to make songs and sing in vain.

And once you’ve dried out you would find yourself laughing in the middle of the tears, dancing around at nothing in particular, finding your voice and your smile and the sparkle in your eyes that never truly left. Just like the Sun.
Memory Erasures
By: Randy Shingler
Tags: Blue Insights, Psychology, Mindfulness, Poetry, Self-awareness

Memory erasures from triggered pasts

Haunting images, no longer feared,

What matters most, what is now,

Calm pervades moment’s silence

Thoughts and emotions do not stir.

Felt presence of creation’s source

Touching depths of heart and soul

Healing damage from triggered pasts,

Oneness with what’s here right now

Sacred space in which to thrive.

Demons banished from the spirit

Never returning to be a plague

Permanently gone, freedom found,

Brain becomes clearer, more alert,

Now that haunting ghouls are gone.

Spirit flourishes in its rebirth

Freedom felt in passing moments

Without sad traumas once endured,

Memory erasures from triggered pasts.
A Gentle Introduction to Graph Embeddings
By: Edward Ma
Tags: Machine Learning, Artificial Intelligence, Python, Data Science, Graph Neural Networks

Model

Lots of researchers studied how can GNN works. TransE (Border et al., 2013), RESCAL (Nickle et al., 2011), DistMult (Yang et al., 2015) and ComplEx (Trouillon et al., 2016) will be introduced in this section.

TransE

If you are familiar with word2vec (Mikolov et al., 2013), you can assume that TransE (Border et al., 2013) is similar to word2vec. Giving subject entity (aka head), relation and object entity (aka tail), object entity embeddings should be close to the subject entity embeddings plus relation embeddings if the subject entity is similar to the object entity. Otherwise, the subject entity should be far away from the object entity.

Word2vec Sample: King + Woman ~= Queen (source)

RESCAL

RESCAL (Nickle et al., 2011) uses multiple matrics to represent the relations among entities. Assume that the total number of entity is n while the total number of a relation is m , the total number of parameters is n x n x m . If there is no relation between an entity i and entity j , the value is set to zero.

Matrics of Entity (E) and Relation (R) (Nickle et al., 2011)

One of the challenges of RESCAL (Nickle et al., 2011) is scalability. Since the matrics store relation between every subject entity and object entity, a huge amount of parameters are introduced.

DistMult

DistMult (Yang et al., 2015) is similar to RESCAL (Nickle et al., 2011) except for the number of parameters. Instead of use complex matrics, Yang et al. reduce the number of relations parameters by using a diagonal matrix only (i.e. restricted matrices). It requires fewer parameters for training. A number of parameters of RESCAL can be more than DistMult ten to a hundred times.

DistMult enjoys a low number of parameters (same as TransE) to achieve superior performance. In computation, DistMult is similar to TransE while DistMult uses multiplicative interaction while TransE uses addictive interaction.

One of the problems of DistMult is that it can only model symmetric relations but not suitable for general knowledge graphs as it simply the relations by using a diagonal matrix.

ComplEx

To handle symmetric and antisymmetric relations, Trouillon et al., (2016) proposed to use complex embeddings (both real and imaginary parts). Symmetric relations mean sRo = oRs if a does not equal to b while s is a subject entity, R is relation and o is object entity. If it holds if a is equal to b only, it is antisymmetric relations.

Example of Complex Number (source)

The scoring function is similar to DistMult as a diagonal matric is introduced to score vectors. DistMult scoring function helps to calculate the symmetric part while the antisymmetric part is handled by imaginary embeddings.
The emergent God
By: Yarrow Eady
Tags: Spirituality, Philosophy, Religion, Future, Technology

The emergent God

A new cosmic story

I don’t think your metaphysical views (including whether you believe in a supernatural God) are what matters when it comes to living a spiritual life — waking up to your inner divinity, being in loving conscious communion with the world, surrendering to the mystery, getting in tune with the hum of the universe, however you want to put it. Whether you have a supernatural worldview or a purely scientific worldview doesn’t really matter.

So often people are skeptical that you can be a fully spiritual person if you don’t think there’s anything supernatural going on in the universe. Supernaturally inclined spiritual people are skeptical and so they hold a prejudice against purely scientific worldviews. Scientifically inclined people are skeptical so they hold a prejudice against spirituality. What non-supernatural spirituality needs is to figure out a way to tell the cosmic story in a way that moves, inspires, comforts, and heals people.

The world’s major religions do a good job of telling the cosmic story. Not just the cosmic origin story (e.g. “In the beginning, God created the heavens and the Earth.”), but also a story about the cosmic future, the cosmos’ purpose, meaning, and mystery. In Hinduism, the goal is to merge with Brahman, like a wave breaking on the ocean. In Buddhism, the goal is to transcend your individuality to attain Buddhahood — to manifest the Dharma-body. In Christianity, the goal is to leave your body on Earth and join God in heaven. These three stories are all variations on the theme of ascending to a higher reality through connection to the divine. (I don’t know enough about Judaism and Islam to summarize those religions’ cosmic stories, but Islam’s seems similar to Christianity’s and Judaism’s seems more complicated and disputed.)

Spiritually “woke” people see the major world religions as different paths up the same mountain. I believe that a purely scientific worldview, combined with spiritual exploration and practice, is yet another path up that mountain. This is hard to see. Scientific spirituality has had fewer storytellers and much less time to impart its cosmic outlook. Carl Sagan made maybe the best attempt so far.

Supernaturally inclined people often see a pure science world, a world absent of the supernatural, as a world with no magic, no wonder, no twinkling, winking shimmer of mystery. I think this is a limited way of seeing things. The natural universe is its own trip, on par with the supernatural universes of Hinduism, Buddhism, and Christianity.

The predominant supernatural view is that the universe exists as a result of divine intention and is steered by divine oversight. The non-supernatural view is that the universe exists of its own accord, without anyone intending it to. The cosmos is a vast, unplanned, churning, evolving, and deeply mysterious thing. No one is at the helm. Rather than originating in an act of intelligent creation, the cosmos is an inanimate act of intelligence creation. That, to me, is an awe-inspiring mystery.
APIS Monthly Report #16, October 2019
By: Sophie Ha
Tags: Finance, Cryptocurrency, Blockchain, Notice, Jpn

APISplatform

Official publication for APIS, the world-first masternode…
See our burrfish inside the Dalton Discovery Center
By: Conservancy Of Swfl
Tags: Environment

By Bill Rhodes | Conservancy of Southwest Florida volunteer

When visitors to the Conservancy of Southwest Florida’s Dalton Discovery Center stop in front of the large patch reef tank, docents are happy to name its inhabitants and explain the formation of the patch reefs themselves, common in our Gulf waters. Among the fishes they describe is the burrfish — a small, odd-looking boxlike fish, strikingly colored with a brown, yellow and white pattern, covered in short, sharp spikes and sporting a parrot-like beak.

The burrfish (Chilomycterus spp.) is in the family Diodontidae, which is a branch of the puffer fish tribe. The Diodontidae’s hallmark trait are the spines adorning most of their bodies. Like all puffer fish, they have a unique method of protecting themselves from being eaten by larger fishes. When startled or under attack, the burrfish will rapidly draw water or air into its body and balloon out to at least three times its normal size. The sudden change in size hopefully scares off or deters their attackers. This tactic helps the burrfish elude becoming a meal in three ways — its sudden ballooning will startle an unsuspecting predator, which then sees a fish larger than themselves, or one simply now too big to swallow.

Found in the upper 30 feet or so of our coastal waters, the burrfish is predominantly found in seagrass beds, where it puts its hard, sharp mouth to good use, crushing and eating crustaceans, barnacles and hermit crabs. It is an omnivore; while happy to eat the other small fishes, mollusks and invertebrates it might come across, it will also graze on algae.

Observing it in the tank, it seems that the burrfish is a bit of a “lazy “swimmer, simply moving its fins to stay suspended. It may seem to be a weak swimmer, but that is because it’s mode of locomotion is unlike most fishes. It uses jet propulsion to move about — that is, burrfish move forward by squirting water out of their gills, propelling them forward.

Burrfish can be found in the western Atlantic Ocean as far north as Canada and south through the Gulf of Mexico. While not under major threat from either sport or commercial fishing, they are popular for aquarists, and caught for the pet trade. There appears to have been a decline in their numbers in the wild, which is likely due to the destruction of their coastal habitats and seagrass beds.

With their ability to balloon in size, their striking coloration and their sharp spines, they have been frequently caught by people who blow them up, dry and shellac them, turning them into ‘mementos’ for tourists — certainly not a fitting end to such an interesting and unusual fish.
2020: A Year of Resilience and Appreciation
By: Sammy Wan
Tags: Life Lessons, Resilience, Personal Growth, Reflections, 2020

I also hold deep gratitude even for all the challenges and tears that 2020 have brought me. I have to admit, it wasn’t easy — dealing with job loss, long-distance relationship, external pressures and constantly having to adapt to changes and uncertainties, but I have finally arrived to a place of surrender and serendipity. I went through so much emotionally that it has made my little heart a little stronger, and built up the strength to handle future challenges.

As I look at my list of lessons learned this year, it is the most challenging parts of 2020 that have taught me the biggest and most profound lessons that I will hold by with me. How do we know what we’re capable of if we don’t have obstacles to face?

“You are not born with a fixed amount of resilience. Like a muscle, you can build it up, draw on it when you need it. In that process you will figure out who you really are — and you just might become the very best version of yourself.” — Sheryl Sandberg

No matter how big or small a challenge is, it will allow you to grow perspectives and help you to better tackle future challenges. If you think about who you were a year ago, I’m sure many of us would say we’ve changed, being more aware of what’s important to us through our experiences.
Sifting Through the Noise
By: Jill Reid
Tags: Life Lessons, Mindset, Self, Happiness, Life

The podcast was longer than usual, running about an hour and a half.

At the time, there seemed to be a lot repetition, with the same questions being asked and answered, but in slightly different ways.

At least, that’s what it sounded like to me, until I realized my concentration was continuously being diverted by the constant need to check email and scan a stream of incoming text messages.

I was distracted — until a word or a phrase in the podcast touched me in a way that said, “Pay attention!”

I put the phone down, set it to mute, and asked my husband to rewind the program so I could listen again — only this time with interest and intention.
Oooh, baby, baby
By: Mick Champayne
Tags: Baby Brain, Parenting

👶

Just had a thought, the more and more I delay having a baby, the odds are I’ve missed meeting a cool little dude/dudette.

I am simultaneously terrified/excited about the idea of having a kid. I think my partner would make a GREAT! father, and there’s good chances the kiddo would turn out to be super fun/weird/cool like us. On the other hand, I have no idea how the fuck I will be able to handle physically having a child. I can’t even handle getting my blood drawn; imagine having a parasite growing inside you for 9 months. I expect it will be awful.

It amazes me how fluid my decision to have kids is. One day I am FIRMLY in the no kids for me camp, and the next I’m waffling for breakfast.
Solving the Equation of Our Own Suffering
By: Nathan Arp
Tags: Bible, Religion, Self Improvement, Jesus, Christianity

When we suffer, the question we often ask is why. Why did event X happen? However, in the equation of our own suffering, why is not the variable we are trying to solve. The scriptures teach us why things happen. Nephi taught “[God] doeth not anything save it be for the benefit of the world; for he loveth the world” (2 Nephi 26:24). And the Lord himself revealed that “[His] work and [His] glory” was “to bring to pass the immortality and eternal life of man” (Moses 1:39). Thus the variable, for which we must solve, is how event X manifests God’s love to us or brings about His work and His glory through our experiences.

Instructively, the idea for the creation of algebra was not to dishearten future students, but to simplify problems so that we could solve them. The Lord does not give us problems we cannot solve either. Paul taught the Corinthians that “God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it” (1 Corinthians 10:13).

Nephi was okay with “not know[ing] the meaning of all things” because “[he knew] that [God] loveth his children” (1 Nephi 11:17). Our faith in God can give us hope even amidst trials. This is likely why Nephi could be bound unjustly with cords helplessly watching the ship he built be thrashed around in a storm, and yet surprisingly comment, “I did look unto my God, and I did praise him all the day long; and I did not murmur against the Lord because of mine afflictions” (1 Nephi 18:16). Focusing disproportionately on comprehending what only the Lord can comprehend could be paralyzing instead of catalyzing our faith to action.

Although the word faith is more commonly used as a noun, in the grammar of the gospel, it is a verb whose object is God. Our faith in God inspires us to not only “hope for a better world” (Ether 12:4), but propels us to make this world better-one faithful act at a time. Sadly, sometimes our understanding of gospel grammar might allow a trust in faith’s object if only the subject were different. We may think, “sure ‘all things are possible to him that believeth’ (Mark 9:23), because the “him” in this scriptural sentence surely means someone else’. Mathematically speaking; however, the scriptures can say all things are possible to you and I, because no matter how small we think our all is, anything multiplied by an “infinite atonement” would equal infinity (see Alma 34:8–12). Through the enabling atonement of Christ we can all “come off conqueror[s]” (D&C 10:5) against our trials, if we believe.

Photo provided by my friend Brandon.
Ex-Goldman Sachs CEO shades Bernie Sanders: ‘He’ll make workers realize they’re slaves living in gilded cages’
By: Sexy Hermit
Tags: Satire, Neoliberalism, CEO, Bernie Sanders, War

Former Goldman Sachs CEO and admitted vampire Lloyd Blankfein has said the American people are dangerously close to seeing that beer and cable are just not enough anymore. “Bernie Sanders is just as polarizing as Trump AND he’ll ruin our economy AND he doesn’t care about our military,” the former Wall Street goon tweeted after Sanders’ latest win in New Hampshire. “If he wins, what will the USA do with itself after he guts the military? Making bombs and murdering mostly unarmed brown people has been the way to the American Dream for over 200 years. It’s served me well, I can tell you that.” In a later tweet, Blankfein continued: “Compassion and diplomacy — WTF?! This Bernie fuck thinks people are just going to start collaborating instead of competing like the bloodthirsty animals we all really are. He can go fuck himself.” Blankfein addressed the donkey in the room by explaining his 2016 support of Hillary Clinton. “She showed so much promise,” he tweeted. “Neoliberals will sell out anyone. Real political animals. Way smarter than your average GOP schmuck. I hate when politicians can’t be bought. ‘Ideals’ — Jesus fucking christ. He’ll just make workers realize they’re slaves living in gilded cages.” This is a developing story.
How much for your life?
By: Pablo Pereyra
Tags: Change, Healthcare, Resistance Poetry, Community, Poetry

This poem was partially inspired by the documentary Escape Fire: The Fight to Rescue American Healthcare.

When talking about healthcare in the United States, many authors talk about a disease management system rather than health care. The system emphasizes the management of diseases rather than the maintenance, hence care, of health.

Many diseases are not dependent on the lifestyle or the environment in which the individual lives. However, many of our chronic diseases such as diabetes type 2, heart disease, and obesity are dependent on the environment in which the person lives.

I prefer to talk in terms of the societal environment, rather than the lifestyle a person lives because the latter emphasizes the individual at the cost of the environment in which he or she lives.

Anyone who walked into any grocery store (not into a farmer’s market), can appreciate the amount of real state provided for produce versus packaged items. You guessed it, packaged items are provided with more space and are worst for your health.

In the United States, transportation is centered on the automobile rather than in public transit. Therefore, fewer opportunities exist to walk from home to a bus or train stop in our commutes.

To provide for housing and food among other basic needs, people are required to work long hours at the expense of the familiar and communal life.

As health care workers, we must collaborate with individuals and populations to promote health. A statement needs to be made about the incongruity of linking access to health to the depth of the pockets a person has if we strive to have a functional, productive, and healthy society.

Thank you for reading,

Pablo Pereyra, BSN, RN, FNP-Student. 2019.
Static Portfolio with Gatsby and DatoCMS
Tags: Development, React, CMS, GraphQL, Web Development

Start with the starter

There is a nice open source starter, a portfolio example app, that you can find here on GitHub:

If you haven’t already installed it, install the gatsby client globally:

yarn global add gatsby-cli

after that you can get started with:



cd my-portfolio

yarn install gatsby new my-portfolio https://github.com/datocms/gatsby-portfolio cd my-portfolioyarn install

Now, to complete the setup of the example you will need a DatoCMS API token, but before create an API token you need to create a new DatoCMS site.

Create a new DatoCMS site

The portfolio example comes with a backend configuration on DatoCMS. To set it up, start from www.datocms.com and register.

All you have to do is create a new site on the admin Dashboard and choose “Demo Project”, then select:

DatoCMS will ask you for your preferred technology. For this example choose Gatsby:

DatoCMS, create new Gatsby site

Dato will create a copy of the demo portfolio app and will deploy it to Netifly for you. You can skip this publication step and continue with just the sample data.

So now you have pre-filled data and you can also grab an API token, that you can generate from the API Tokens section. Next you can add it to your project by creating a .env file with the DATO_API_TOKEN variable set with your API token.

DatoCMS ApiKey

echo 'DATO_API_TOKEN=abc123' >> .env

Well done, you can now run the project with:

yarn develop

You will see something like the previous picture, saying that the site is running on localhost:8000 and the GraphiQL interface is running on the same port on route localhost:8000/___graphql
Free Copy of SQL Cookbook, 2nd Edition from O’Reilly Media
By: Michelle Brinich
Tags: Distributed Sql, Sql, Sql Database, Sql Developer

We are excited to have teamed up with O’Reilly Media to offer developers a free copy of the SQL Cookbook, 2nd Edition. SQL remains the lingua franca of the relational database world. But where do you turn when you have questions you need to answer in your day-to-day use of the query language? Let the new SQL Cookbook, 2nd Edition be your new go-to guide for all things SQL. Previously available in a preview version, the SQL Cookbook, 2nd Edition has now been polished, published, and is now available in its final format.

The SQL cookbook starts with the basics, then progresses to advanced topics. It’s organized in a problem/solution format. Plus, you can get help and advice in several flavors of SQL-including Oracle, DB2, SQL Server, MySQL, and PostgreSQL.

And if you like SQL, you may like a distributed RDBMS with full SQL support like YugabyteDB so that you can easily scale out. YugabyteDB is a cloud native, PostgreSQL-compatible distributed SQL database for powering global, internet-scale applications. Reusing PostgreSQL’s native query layer instead of writing a new PostgresQL-compatible query layer has been one of the best design decisions we have made in YugabyteDB. The YSQL API is built by reusing the PostgreSQL code (version 11.2) directly, and therefore supports most of the features of a traditional RDBMS, such as joins, partial indexes, triggers, and stored procedures.

Having a YSQL API that implements the same wire protocol, data modeling capabilities, and query capabilities as that of PostgreSQL means developers can easily get started using knowledge and skills they are already comfortable with and make use of existing tools and integrations.

As you’re using your SQL Cookbook, you can easily apply your SQL skills to YugabyteDB’s distributed SQL database, too. If you’re not yet familiar with YugabyteDB, we invite you to:
No Gender November №6: Multi Dimensional Being
Tags: Transgender, Gender Roles, Gender Identity, Pronouns, Nonbinary

No Gender November №6: Multi Dimensional Being

No one thing defines a person, ask a 6yo trans boy.

This spaghetti monster asked his mom “do I have to have boobs when I grow up?”

Non-binary thinking is a hard get for adults like me who never had a personal experience growing up beyond being a boy or a girl. Calling “him” “her” now, or “her” “they” is like a language I’m still translating in my head. Kids don’t have that problem, they soak up language like a sponge. They are just a ball of feelings too. They know what they are drawn to and what they aren’t. They’ll tell you pretty quick. My 6yo probably isn’t going to be an athlete. Not totally his thing, he’d rather be acting or dancing or coloring.

His friend wasn’t drawn to being a girl. He was and is a boy. He was amazingly fortunate enough to have had the words and the unconditional love of his parents that recognized it. But admittedly it was tough to connect to at first. Imagine realizing your kid is not who you picture in your mind. This is different than knowing my kid just doesn’t want to play baseball. Bathrooms are going to be a challenge. Friends and family may inadvertently ruin this young man’s day by slipping the wrong name or pronoun. It’s hard for the adults. What’s hard for the kids is that it’s so easy to them. His friends play rhythm didn’t even skip a beat when he transitioned at 5 years old. The only question they had was “when do we get ice cream?”

Adults have lot’s of questions. They still need to label and put everything in it’s place. A life of binary thinking has left them a one dimensional idea of identity. But nobody is that simple, there is no one thing that defines us. This 6yo knows he’s a boy. He doesn’t other himself from any other boy, he isn’t trans gendered in his mind, nor does he really think about it, at least not any more than the wrongest way possible to eat spaghetti. He can see how easy that is, I’m starting to too.
Dreams
By: Tien Skye
Tags: Flash Fiction, Inspirational, Dreams, Supernatural, Butterfly

The wisp danced in the air; it enjoyed the freedom of movement in the air. It had tried swimming before, but with water, its movements were sluggish and it was only using the surface. But with air, its movements were lighter and it flittered in the whole space.

(It’s time to decide.)

It spun and rotated in a single spot. Who was that?

(It’s time for you to decide what you want to be, young one.)

It could not understand who was speaking. It could not understand what the decision was. Most importantly, it could not understand why it had to make a decision.

(That’s the nature of things. Decide, young one.)

It flittered through the air for a few more moments. Then it made its decision. It decided to be a butterfly.

If it had known loneliness before, the wisp would no longer remember it. It was now among friends, fluttering.

Dreams do come true.
Cookie Addictions & a Recipe for Chocolate Coconut Cookies
By: Stephanie Arsenault
Tags: Baking, Coconut, Chocolate, From The Kitchen, Cookies

You know when you just really want a cookie and you have kind of a desperate, SOMEONE GIVE ME A PLATE OF COOKIES, ragey-type feeling? No? No cookie rage? Oh, okay, you’re a liar.

I suffer from frequent cookie rage {it’s true, ask C}. I demand plates of cookies, bags of cookies, chocolate chip cookies, shortbread cookies…

During these less-than-graceful moments, I’ll practically indulge in anything that resembles a cookie, but if I have the time, I’ll absolutely make a beautiful batch of my own. These Chocolate Coconut Cookies are decadent, but aren’t too jam-packed with butter and sugar {otherwise known as my best friends/enemies. They are my frenemies.}.

Now you tell me: what is your favourite, go-to, cookie-rage inducing bite?



Chocolate Coconut Cookies

Makes 18–20

Ingredients:

¾ cup all-purpose flour

½ cup whole wheat flour

¾ cup unsweetened shredded coconut

1 tablespoon unsweetened cocoa powder

½ teaspoon baking soda

¼ teaspoon baking powder

¼ teaspoon sea salt

2 teaspoons cornstarch

¼ cup unsalted butter, at room temperature

¼ cup granulated sugar

¼ cup brown sugar

1 large egg

1 large egg white

2 tablespoons skim milk

1 teaspoon pure vanilla extract

1 (100g) dark chocolate bar, roughly chopped {I use Camino 55% dark chocolate}

Instructions:

1. Preheat oven to 350 degrees Fahrenheit and line a large cookie sheet with parchment paper; set aside.

2. Whisk the first 8 ingredients {flour through cornstarch} in a medium bowl. Next, beat butter and sugars for one minute on medium-high speed with an electric mixer. Beat in the egg and egg white, milk, and vanilla. Stir in the dry ingredients and the chopped chocolate until combined.

3. Scoop walnut-sized balls of dough on to the parchment-lined cookie sheet, about 1 inch apart. Bake for 13–15 minutes, or until golden brown and quite firm to the touch. Let the cookies completely cool on the pan on a wire rack before storing in an airtight container at room temperature for up to 5 days.
Daily Berminal Brief (8/23/18): Thailand To Launch Its Own Cryptocurrency, And China Continues Its Ban On Crypto
By: Berminal - The Crypto News Platform
Tags: China, Cryptocurrency News, Thailand, Bitcoin, Cryptocurrency

The State Of The Market: After Bitcoin’s sudden surge to $6,800 during BitMEX’s downtime, it is back to its previous levels now. Bitcoin is currently priced at $6,454, losing 3.34% in the last 24 hours. Bitcoin’s price has managed to remain stable, even after SEC’s decision to not allow ProShares Bitcoin ETF. However, more than 90 Cryptocurrencies in the top 100 list are flashing red today. Ethereum (ETH) is currently priced at $273, losing 4.46%.

1) After Thailand’s crypto-friendly regulations, their next move is to create a digital currency. But, the digital token is not for the general public to use. It will be used by banks to transact with each other. Thailand’s Central Bank has partnered with 8 participating banks to test out its central bank digital currency (CBDC) initiative called ‘Project Inthanon.’ The bank will use R3’s distributed ledger technology (DLT) platform Corda to build a proof-of-concept prototype (read more).

2) Following a complete ban of Cryptocurrencies early this year, the Chinese government continues its onslaught. Early this week, Chinese cryptocurrency media outlets were removed from WeChat. The government continued its crackdown by banning all offices and hotels from hosting crypto events in the country. Now, China is also seeking access to block 124 foreign crypto exchanges from the country through the great firewall (read more).

3) The team behind Bitcoin Core (BTCC) announced a successful hard fork of Bitcoin Cash for one-minute blocks. As a result, BTCC now has more on-chain space as compared to BCH. Additionally, the latest version fixes several other issues such as the previously reported “expensive attack against SPV proofs” as well as another issue with the ‘abandontransaction’ RPC where it now abandons “all descendant transactions, not just children” (read more).

Subscribe to the Berminal Brief Newsletter

Download Berminal for Free

The Berminal Website

Berminal Official Telegram

Berminal Twitter
Extract, Transform, Load (ETL) — AWS Glue
By: Furqan Butt
Tags: Aws Glue, Coronavirus, Spark, AWS, Etl

ETL using PySpark on AWS Glue

Now that we have an understanding of what are the different components of Glue we can now jump into how to author Glue Jobs in AWS and perform the actual extract, transform and load (ETL) operations.

Novel Corona Virus Dataset:

The dataset is obtained from Kaggle Datasets. The version I’m using was last updated on May 02, 2020. Main file in this dataset is covid_19_data.csv The detailed descriptions of the dataset are below.

Sno — Serial number

ObservationDate — Date of the observation in MM/DD/YYYY

Province/State — Province or state of the observation (Could be empty when missing)

Country/Region — Country of observation

Last Update — Time in UTC at which the row is updated for the given province or country. (Not standardized and so please clean before using it)

Confirmed — Cumulative number of confirmed cases till that date

Deaths — Cumulative number of of deaths till that date

Recovered — Cumulative number of recovered cases till that date

1) Setting up Our Data stores:

As a first step of developing our end to end ETL job we will first setup our data stores. Goto yout s3 console and create a bucket there. We’ll upload the dataset file in the bucket with the following partition scheme:

s3://bucket-name/dataset/year=<year>/month=<month>/day=<day>/hour=<hour>/

Right now we are dealing with a single file so you can create partitions and upload file manually but if working with a large number of files you can use my FTP file ingestion code that I explained in my last article to do this work for you. Partitioning data in this way helps in query optimization while working with AWS Athena.

2) Creating AWS Glue Role

Create a Glue role that will allow Glue to access different AWS resources e.g s3. Goto the IAM console and add a new role and attach the AWSGlueServiceRole policy to this role. This policy contains permissions to access Glue, CloudWatch, EC2, S3, and IAM. For more details about how to setup IAM role for Glue consider the following link.

3) Setting Up Crawler to Catalog Data

Perform the following steps to add a crawler:

On the left menu click on databases and add a database.

Now goto crawlers and and a new crawler

Select data store

Provide the s3 bucket path

Select the Glue role

Set frequency to Run on Demand

Select the database

Finally review and click finish

Now your crawler is created. Click on “Run Crawler” to catalog the dataset
You can support trans kids at Christmas
By: James Finn
Tags: Transgender, Family, LGBTQ, Equality, Christmas

You can support trans kids at Christmas

Learn how

BFoundAPen explains how in this public service announcement from the editors of Prism & Pen.

Brian observes that for lots of LGBTQ people, holidays isolation is a sad routine. Unsupportive and abusive family members can force us to choose isolation and peace over a dangerous, hostile environment.

He explains that Indya Moore, most known for playing Angel on Pose, launched TranSanta to help trans kids know they’re loved and lift their spirits during the holidays.

Find out how you can help.