fabiochiu/medium-articles huggingface dataset:
Vasara Collection Review: Three Arcade Shooters in One Game
By: Alex Rowe
Tags: Gaming, Technology, Videogames, Review, Tech

But dig a little deeper and you’ll notice Vasara Collection also includes Vasara Timeless, a brand-new installment in the series developed on the Unity engine. This new entry features all eight characters from the classic games, completely new 3D visuals that are designed around modern widescreen displays, and support for up to four simultaneous players.

Vasara 1 and 2 are fun examples of the vertically-scrolling shooter. The levels are tightly-paced and well-designed. The boss ships are large, expressive, and fun to fight. The different characters actually play differently thanks to unique weapon types. And the mechanics offer a unique melee attack you have to power up first, but which can cut through bullets and render you effectively invincible for a few quick moments. You’ll need to time these melee bursts just right to make it through the tougher segments…and the unlimited continues don’t hurt either.

Graphically, both of these older games have an excellent sense of early-2000’s style. They use a few hand- drawn sprite elements, but most of the sprites are based on pre-rendered 3D models. The game has a look similar to some of Cave’s best work, and reminds me of Deathsmiles, which is one of my favorite games. Display options here are basic, with either a smooth filter or no filtering at all. If you’re playing on the Switch in handheld mode, you can also make easy use of the vertical display options to rotate the screen and get a bigger view of the action.
Interview with Crypto Gurus
By: Hansmeet Sethi
Tags: Blockchain, Ethereum, Fetchmusings, Security Token, Defi

Last week we had the chance to have an in depth discussion with the folks at Crypto Gurus about Fetch, Security Tokens and Open Finance. We delve deep into the thesis that Security Tokens and Open Finance need each other to grow and prosper.

You can view the view embedded below or directly on YouTube. Enjoy!
Astonishing Performance of .NET 5: More Data
By: Alex Yakunin
Tags: Performance, Dotnet Core, Dotnet, Dotnet 5

The same day .NET 5 was released I shared a single screenshot showing how much faster .NET 5 is relatively to .NET Core 3.1. I promised to share more data later — and here it is.

1. Fusion’s Caching Test — running on Ubuntu + Intel and AMD CPUs

Code: https://github.com/servicetitan/Stl.Fusion.Samples , see “Caching Sample” section there.

Overall, these tests stress an API endpoint fetching a small object from SQL database, the only difference is how it is exposed (locally or via HTTP) and if Fusion is used there to provide transparent caching.

My initial test was performed on Window & AMD CPU, but almost every production service runs on Linux nowadays, so I decided to fix this and add Intel-based system to the test.
My Future Is Yours
By: Jun Wu
Tags: Relationships, Politics, Poem, Poems On Medium, Poetry

I’ve never doubted

that we share

intricate details

that we never knew

we had in common.

That connection

when I least expected,

when my friends

left the field,

you were there

to keep me company.

You, stepping away

just enough from

your side of the fence

to give me a hand

and pull me up.

Thanks, for being kind

and not holding grudges

after debates or arguments.

You enrich my world

with your views and

I hope that I enrich

yours.

In the end, who are we

but souls who are longing

to reach one another in

harmony breathing love

into each other.

In conflict, doubt, we may

shout our stands, but we

never forget that we are

but a tiny fraction of one.
When Ya Just Know Too Much
By: William, Dollar Bill
Tags: Mouthwash, Listerine, Sex Work, Massage, Culture

When Ya Just Know Too Much

An early morning trip to the local CVS pharmacy

Olya Adamovich — Pixabay

Knowledge is power. At least that’s what everybody says. But sometimes ya just know too much. Like when I was a cab driver. I always recognized a stripper when she entered the cab. I could just tell by the big ol’ bag she carried.

So just this past Sunday, I opened up my email to find a $2 coupon for anything in the grocery department at CVS. No minimum purchase. So if you find something for two bucks, it’s free! Need I tell y’all, I took a morning constitutional over to the local branch.

Basically, there was nobody in the store. Not even one cashier waiting on customers. She was busy stocking shelves while the store was empty. Cheese puffs (my fave) were on sale. Six-ounce bags — three for $3. I busted a move with the coupon.

Rounding the corner to the chips section, I came to discover another consumer in the store. A middle-aged Asian woman was humping a half dozen giant bottles of Listerine toward the cashiers’ counter.

Aha! Momesan buying supplies for the funhouse. Girls need mouthwash. Can’t imagine why!

I had to laugh at myself just for a moment and muse “Dude! You just know too much!” Another person might have thought “Gee! She must have really fresh breath”…and picture her gargling at every turn.

But me? I had a different mental image. And let me give you a hint. It wasn’t of an Asian woman gargling. More like gurgling!

Oh well! The moment passed and I picked up my three bags of puffs and walked home to partake — in puffs of the cheesy variety. You get the idea.
[NOTICE] EXNOMY Operating Policy
By: Exnomy X Linkercoin
Tags: Blockchain, Decentralization, Linkercoin, Exnomy

EXNOMY Operating Policy

Semi-decentralized exchange ‘EXNOMY’ was developed by the Linker Coin Foundation, and Linker Global Limited plans to operate ‘EXNOMY’.

About 50% of listing fee will be received as LinkerCoin(LNC). This term will be specified in the contract.

The Semi-decentralized Exchange is based on the Klaytn mainnet. You can use EXNOMY beta version with various test coins.

EXNOMY (EXCHANGE + ECONOMY): www.exnomy.com

EXNOMY 운영 정책

Semi-decentralized Exchange ‘EXNOMY’는 링커코인 재단 Linker Global Limited가 운영합니다.

링커코인 재단에서 운영하는 EXNOMY의 상장비용의 50% 내외를 링커코인으로 받을 계획이며, 이는 상장계약서에 명시될 것입니다.

Semi-decentralized Exchange는 Klaytn 기반으로 제작되었으며, 현재 테스트 코인으로 EXNOMY 베타 버전을 이용해 보실 수 있습니다.

EXNOMY(EXCHANGE+ECONOMY) : www.exnomy.com
The Most Bizare Battle in History – The Attack of The Dead Men
By: Meghan Gause
Tags: History, Life, Lessons Learned, World, War

The Most Bizare Battle in History – The Attack of The Dead Men

Russian zombies charge the Germans in World War 1

Photo by Hasan Almasi on Unsplash

The Attack of the “Dead Men” was a battle of World War I that took place at the Osowiec Fortress, in northeast Poland, on August 6, 1915.

The German soldiers were waiting for the air to pick up before launching a gas attack at the unsuspecting Russian combatants. When they did attack, the invasion began with artillery bombardment combined with chlorine gas.

The Germans attacked with 14 battalions of infantry, sappers, siege guns, and artillery. The Russians had around 900 men defending the fortress.

Most of the Russian soldiers had either no mask or poorly made gas masks that would soon prove to be no help at all. When the Germans attacked with the fumes, the Russians had zero protection.

Because the gas mixed with the water in the air, and the water in the lungs of the Russian defenders, the Russian soldiers didn’t just choke from the gas; it turned the chlorine into hydrochloric acid which began to melt the lungs and throats of the soldiers, their skin began to peel – resulting in the entire fortress scrambling to halt their decomposition with wet rags.

Blood and skin soaked the earth, plants and birds lay dead in the field. Tree leaves turned brown, the grass became black, and men outside of the fort died shortly while the gas entered their respiratory system dissolving their lungs.

Around 100 of the now furious and dying Russian soldiers survived. Led by Sub-lieutenant Vladimir Karpovich Kotlinsky, the Russians not only stood their ground, but they also prepared a counterstrike all while falling apart. History reveals that around 100 soldiers remained to stave off the 7,000 German soldiers as they advanced on the fort.

When the Germans reached the tower, they saw dozens of disfigured and bleeding combatants coming at them screaming, bloody, and zombie-like. The Russians charged the 12 battalions of German troops.

When the Germans saw the Russian soldiers, foaming at the mouth, coughing up chunks of the lung – still prepared to attack, it terrified them. They fell back, so quickly that they fell prey to their very own wire traps, killing many of their soldiers.

Because of Kotlinsky’s counter-attack, it allowed two more Russian battalions were able to move forward and recapture the fort before the Germans could regroup.
Crypto-backed loans now available in 46 new currencies
By: Hodl Finance
Tags: Bitcoin, Bitcoin Loan, Crypto Lending, Transferwise, Cryptocurrency

Loans backed by cryptocurrencies can now be issued in 46 of the most popular currencies from HODL Finance. These new additions make up 48 currencies in total since crypto-backed loans were already available in U.S. Dollars and Euros from the European digital lender.

Among the most popular new currencies are British Pounds, Japanese Yuans, Brazilian Reals, and Australian Dollars.

“Our clients requested the addition of their home currencies to avoid conversion costs. We are happy to introduce 46 new currencies today! After consideration, we chose the best service provider, one of the most trusted companies in the industry today — Transferwise”, — Vytautas Zabulis, the Managing Director at HODL Finance says.

Transferwise — the company named Tech Pioneer by the World Economic Forum in 2015.

Loans backed by cryptocurrency are now available in 48 of the most popular currencies from HODL Finance. From now on HODL Finance will be issuing loans in British Pounds, Swiss Franc, Japanese Yen, Russian Rubles, Ukranian Hryvnas, Turkish Liras, Australian and Canadian Dollars, Brazilian Reals and many many more.

All available currencies:

AUD — Australian DollarBGN — Bulgarian LevBRL — Brazilian RealCAD — Canadian DollarCHF — Swiss FrancCZK — Czech KorunaDKK — Danish KroneEUR — EuroGBP — Pounds SterlingHKD — Hong Kong DollarHRK — Croatian KunaHUF — Hungarian ForintJPY — Japanese YenNOK — Norwegian KroneNZD — New Zealand DollarPLN — Polish ZłotyRON — Romanian LeuSEK — Swedish KronaSGD — Singapore DollarTRY — Turkish LiraAED — Emirati DirhamARS — Argentine PesoBDT — Bangladeshi TakaCLP — Chilean PesoCNY — Chinese YuanCOP — Colombian PesoEGP — Egyptian PoundGEL — Georgian LariGHS — Ghanaian CediIDR — Indonesian RupiahILS — Israeli ShekelsINR — Indian RupeeKES — Kenyan ShillingsKRW — South Korean WonLKR — Sri Lankan RupeeMAD — Moroccan DirhamMXN — Mexican PesoMYR — Malaysian RinggitNGN — Nigerian NairaNPR — Nepalese RupeePEN — Peruvian SolPHP — Philippine PesoPKR — Pakistani RupeeRUB — Russian RubleTHB — Thai BahtUAH — Ukranian HryvnaUSD — United States DollarVND — Vietnamese Dong

HODL Finance is the European digital lending company. HODL Finance issues loans backed by cryptocurrency and other digital assets. Founded by the shareholders of the peer-to-peer lending platform, Savy, HODL Finance now serves clients around the world.
Happiness Is Getting What I Want
By: Perry Gruber
Tags: LGBTQ, Transattraction, Transamorous, Self Love, Transgender

Photo by Joanna Kosinska on Unsplash

I know what I want, when I get it, makes me happy. I also know when I’m happy I set up more future happy moments.

But since every time I get what I want, I am happy, I can just be happy, even when I’m not getting what I want.

I can be happy now, no matter what is happening.

This is the basis of our work at The Transamorous Network. I know when I put my happiness first, by telling stories about my life that make me happy, I put myself on a path to living a happy life. That’s because a happy life looks like feeling happy in every moment.

What happens in my life, when I’m not deliberate about choosing happiness, determines how I feel. But life doesn’t have to be that way. I can turn it around. I can choose to be happy, no matter what I’m experiencing, then experience good things always.

I know when I do that my life fills with happy experiences. Such as meeting transgender women in delightful ways. I know this because I’ve tried it and it has always worked out that way. I also know this because my The Transamorous Network clients get exactly the same results.

It’s a bit more complicated than that, but in a short while, I’ve created a life filled with happy experiences. So have my clients.

So this holiday season, I appreciate what I’ve realized: That life is happy when I am happy. And the happier I am, the more my life shapes to my happiness. In my happiness, I don’t need my life to change. But because I’m not focused on my life needing to change, because I’m not telling stories about how bad my life is, my life changes.

It’s a paradox, but it’s true.

I’m grateful for what I’ve discovered. And I’m loving seeing people who have come to me seeking relief from anxiety, insecurities, shame and other life problems, find relief and more, simply by telling better stories.

I appreciate knowing life is supposed to be fun, joyful and filled with fulfilled desires. I appreciating having such a life. And I appreciate sharing what I know with others, then seeing their life turn out that way too.

It’s the epitome of living.
Are folding screens already irrelevant?
By: Jerry Chang
Tags: Innovation, Technology, Future Technology, Tech, Flexible Display

Flexible displays are an incredible technical innovation, capable of solving two problems:

Large screens are better to look at, but harder to hold/carry.

Flat, rounded rectangle smartphones are becoming too ‘boring’ for many tech enthusiasts.

If we grade foldable devices the same way we would any smartphone, we can see these early attempts come with several drawbacks.

Sub-standard battery life.

Durability issues.

Having to open and close the device with use.

Device thickness.

Cost.

These sacrifices however, will shrink over time. What we have is a fixed benefit (twice the screen for half the size) with drawbacks that will diminish over successive generations of devices. As smartphones have improved in every way over the last decade, a foldable device years from now may overcome most if not all of these limitations.

The only thing is, It’s doubtful we’ll ever get to see it…

Beyond smartphone displays

In late 2020, there are few AR ‘smart glasses’ worth talking about. Popularised way back in 2013 by Google’s Ill-fated Google Glass project, the category of smart glasses is still hazy and underdeveloped. The most notable entry is Microsoft’s Hololens, the second generation of which quietly launched last year to enterprise customers.
The Inner Light
By: Jackie Ann
Tags: Spirituality, Poetry On Medium, Spiritual Growth, Poems On Medium, Poetry

pixabay.com

You are not alone

and you never were.

Since you were born

the light has held you.

You are not alone

and you never were —

the halo of love

will tell you

that it’s always shining

there above you,

looping through

the ages

as it brings you back

to the truth of you

and fills

your empty pages.

You are not alone

and you never were

because no matter

where you roam —

the center

of this sacred circle

will always

be your home.

© Jacqueline Ann 2020
COSS UPDATE: 20th November 2019
Tags: Cryptocurrency Investment, Bitcoin, Cryptocurrency News, Ethereum, Cryptocurrency

API & other improvements

An improved API documentation has already been circulated among a few members of the community for review. Their feedback is being incorporated. We are aiming for a release of the new documentation by next week.

The COSS platform has brought onboard additional specialist resources.

Their priorities cover resolving issues like:

- resolving issues faced by the CCXT platform in interacting with our APIs

CCXT is a library of exchange APIs. The COSS API is verified by CCXT and can be used by platforms integrating more than one exchange at a time. This bypasses the need to integrate each exchange’s APIs individually.

There’s a long standing issue reported by several CCXT users integrating COSS on https://github.com/ccxt/ccxt/issues/5591.

Resolving this issue will allow more trading platforms to easily integrate COSS and also resolve issues faced by Gimmer users trying to trade on COSS.

Error codes included in the API also require an update, allowing users to identify and resolve any errors faced when performing an integration.

- improving API performance

Large traders, market makers and liquidity providers regularly request a lower cancellation limit via our API which currently limits cancellation to 10 seconds since placing the order. This allows them to respond to market movements quicker.

Once a solution is deployed, we will be able to accept requests from traders who wish to be excluded from these limits. It will be made available to all API users by default at a later date.

We will begin to plan other major improvements and upgrades on the exchange following addressal of a few other important tasks assigned to the new resources.

Which includes…
History broadly follows patterns emulating the past rather than repeating it.
By: Mike Meyer
Tags: Politics, America, History

History broadly follows patterns emulating the past rather than repeating it. The founding fathers of the American Experiment were educated in Greek and Roman history with Rome as the greatest empire in their history and 4th century Athens as the intellectual capital of their world. They took the ideas of the classical Athens, the political structure of the Roman Republic and sought to emulate the peak of the Roman Empire. Ironically the birth of the American Republic was concurrent with the release of the six volumes of The Fall of the Roman Empire beginning in 1776. Too late for America. Perhaps they may have thought differently on reading Gibbon.

Empires end in conquest but usually in collapse. As noted in this article the similarities are strong. Failure to eliminate slavery, endless wars increasingly manned by minorities, intellectual laziness, and corrupt increasingly stupid leadership. The latter because it was understandable and corruption kept the people happy who had gained control of the political system. We’ve checked off on all of these.

The big difference is the time scale. Rome has no real competitors at the end so spent several hundred years grinding to a slow, semiconscious end. Tremendously condensed in our time, the speed at which we live and change is completely unimaginable in the age of Rome, we are, I think, living at least a century of Rome in a year of our time. It was considered unfortunate in Rome when the bad emperors began to be replaced very quickly by simply pushing them off the walls of the palace. Not a proper way to change administrations but what could you do? The normal work of corruption and exploitation went on.

I think we are almost there.
Getting beyond those pesky iptables rules
By: Ramanan Balakrishnan
Tags: Software Development, Networking, DevOps, Programming

Most of the development here at Semantics3 occurs on a shared development machine hosted at AWS. While this helps us control our dev environment with high precision, it causes some difficulties when trying to test features on a local computer. For example, connecting to a test database might be impossible, given that most ports from the dev machine are cutoff from the outside world.

This is where SSH comes to the rescue using its local port forwarding or “outbound” tunneling feature.

$ ssh -L [bind_address:]port:host:hostport [user@]hostname

Specifies that the given port on the local (client) host is

to be forwarded to the given host and port on the remote side.

As shown below, SSH can be used to setup a tunnel to access private-db:5432 from your localhost via a public-host .



+-----------------+ +-------------+ +-----------------+

| localhost:15432 |---SSH---\| public-host | | private-db:5432 |

| ==============================|==============> |

| |---------/| | | |

+-----------------+ +-------------+ +-----------------+

The command to setup the tunnel above is

$ ssh -L 15432:private-db:5432 user@public-host

Now, you can simply use your client of choice to connect to the database as if it were on your local computer.

$ psql -h localhost -p 15432 -d testdatabase

A few notes:
Useful methods and functions in Pandas you might not know
By: Tds Editors
Tags: The Daily Pick

Our daily picks will be back on Monday! If you want to receive our weekly digest on Fridays, it’s easy! Follow our publication and then go to your settings and turn on “receive letters.” You can learn more about how to get the most out of Towards Data Science here.
Who Lives, Who Dies, Who Survives?
By: Marilyn Flower
Tags: Life Lessons, 50 Words, History, Life, The Bad Influence

Viktor Frankl studied this exact question at Dachau. His findings surprised me. It wasn’t the strong, robust ones.

Those ghostly emaciated survivors held fast to dreams of life after death camps — playing music, writing books, loving family — however fragile, however unlikely — blessings of life.

Hold fast to dreams and thrive!
Dorm Olympics 2018 : New Event. By Shubhang Ojha, Class of 2020
By: The Edict Staff
Tags: Sports, Illustration, Shubhang Ojha, Dorm Life, Students

The Medium profile of Ashoka University’s Student Newspaper. Follow us on facebook.com/theedict and https://www.instagram.com/edict.ashoka/

Follow
Dynamic Programming — Minimum Jumps from Start to End
By: Sabhya Chhabria
Tags: Dynamic Programming, Interview Questions, Computer Science, Algorithms, Interview

In this article, I will show you how to solve a famous (and “hard” — as rated by Leetcode) question using dynamic programming. I will make use of the FAST as detailed in this article by Pramp. Though using the FAST method is not necessary when tackling Dynamic Programming problems, a recursive implementation before a bottom-up implementation does give us a good flavour of the problem.

Note: This article assumes prior knowledge of dynamic programming. If you’re a beginner then I suggest you look at this article.

The Problem: Given an array of non-negative integers, start from the first element and reach the last by jumping. The jump length can be at most the value at the current position in the array. The optimum result is when you reach the goal using a minimum number of jumps.

Before solving any problem, it is always helpful to work through an example. So before I dive into the FAST method, I will work through a simple example. Consider the array A below:
BCC Protocol — Email Morality?
By: Pito Salas
Tags: Life

What does the existence of “BCC” (which I think stands for the anachronism “blind carbon copy”) tell us about the social norms of emails? This thought occurred to me just now as I was the recipient of an email (corresponding to (3) in the not at all uncommon scenario that I describe below.



It is an interesting piece of deception that we all participate in, isn’t it? Has anyone ever thought about the morality of email addressing?



Scenario:

X sends an email to: A, CC: B and C A does a “Reply all” so that B, C and X see the response A sends an email directly to X, BCC to B

Analysis:

X wants to tell A, something, and make sure that B and C also hear. X wants to communicate that the message is meant for A, that A is the one who is expected to respond, but wants each of them to know that the others are getting that same information. A wants to answer X, and make sure that B and C see the response. Why? Perhaps A wants to make sure that A, B, and C keep their story straight? Perhaps A actually wants to tell B or C something, uses the Reply All as a carrier for that message, thereyby getting some cover. Now, this gets interesting. Apparently A wants X to think that he is getting some information privately. But at the same time wants B to know that X has gotten this information. Why? Perhaps A would like B to make the same point to X, and make it look like the it was independent. Or perhaps A wants to make sure that if X asks B about it, B says the same thing that A said.

Hmm, sounds like a bit of interpersonal deception is going on here. I am not casting judgement — I’ve played the role of X, A, B or C more than once. But it does make you think.



What would Dear Abby say?



Update:As one wag said to me in email: “I think Dear Abby might say that Pito needs a hobby :-)”
7 Frases y Reflexiones sobre el Ahorro
By: Alberto Gómez
Tags: Productividad, Finanzas Personales, Ahorro, Estilo De Vida, Frases

Acknowledgements

Hey Kate Chan! Thanks for your medium tips. I really think my post looks better now. :)
Naked White Man Plays Duck, Duck, Goose with Cops After Suspected of Killing Three People
By: Heather M. Edwards
Tags: BlackLivesMatter, Race, Equality, Media, Culture

Naked White Man Plays Duck, Duck, Goose with Cops After Suspected of Killing Three People

White Privilege Saves White Lives

SWAT cop keeps his rifle pointed away from the suspect for the entire duration. All rights © ABC 13 — WSET

Until a Black man can murder two women, a child and a dog, and, naked as a jaybird, chase a cop like a scarecrow on meth, choke a church groundskeeper, chase the cop more, jog through a field, and trot into the woods with a hundred cops and a K-9 after him — and get gently arrested without a scratch, white privilege not only exists, it bestows extraordinary life-saving latitude.

Virginia police arrested a man for three counts of first-degree murder after he allegedly killed his own mother, sister, her child, and their dog. These were the mother-in-law, wife and child of a 24-year-old pitcher for the Montgomery Biscuits. Making the suspect and the widower brothers-in-law.²

The video is perplexing at best. The chase begins like a game of two-man tag where neither actually knows the rules and only vaguely realizes that they’re playing. The naked man chases an out-of-shape cop, and the cop alternately chases the naked man — all at a very jaunty Sunday-drive pace while the cop uses his left hand to keep the rifle low at his side and always pointed away from the suspect while he chooses to use his (presumably) dominant right hand for mase or pepper spray — for the duration of the slow chase and one brief slappy altercation.

Eventually, the cop half-heartedly bops him with a baton, still using his left hand to keep his rifle pointed behind him. I’ve used more force when smashing a mosquito than this cop used on a murder suspect actively resisting arrest.

The suspect was not shot, killed, beaten by multiple cops, brutalized, tackled or hog-tied. He was not gunned down for “acting suspicious” or making a cop feel “threatened”, even after murdering three people — including a one-year-old child. Even after Pittsylvania County Public Safety issued a warning that the suspect “is armed with a rifle and considered very dangerous,” and nine local schools were locked down on active shooter alert.

Until a Black man can reenact this entire surreal tableau without “justifying” a spontaneous firing squad at the first, second or third absurdity, white privilege is real. And it keeps white people alive.

Until two Black cops on horseback can frog march a handcuffed white man by a leash through a Texas town with a mere admonishment for “poor judgment” white privilege is no libtard hyperbole.
Java Methods, Java Parameters, Java Method Overloading, Java Scope, Java Recursion
By: Pravallika Devireddy
Tags: Java Methods, Method Overloading, Java Parameters, Java Recursion, Java Scope

Java Method Parameters

Parameters and Arguments

Information can be passed to methods as parameter. Parameters act as variables inside the method.

Parameters are specified after the method name, inside the parentheses. You can add as many parameters as you want, just separate them with a comma.

The following example has a method that takes a String called fname as parameter. When the method is called, we pass along a first name, which is used inside the method to print the full name:

public class MyClass {

static void myMethod(String fname) {

System.out.println(fname + " Refsnes");

} public static void main(String[] args) {

myMethod("Liam");

myMethod("Jenny");

myMethod("Anja");

}

}

// Liam Refsnes

// Jenny Refsnes

// Anja Refsnes

When a parameter is passed to the method, it is called an argument. So, from the example above: fname is a parameter, while Liam , Jenny and Anja are arguments.

Multiple Parameters

You can have as many parameters as you like:

public class MyClass {

static void myMethod(String fname, int age) {

System.out.println(fname + " is " + age);

} public static void main(String[] args) {

myMethod("Liam", 5);

myMethod("Jenny", 8);

myMethod("Anja", 31);

}

} // Liam is 5

// Jenny is 8

// Anja is 31

Note that when you are working with multiple parameters, the method call must have the same number of arguments as there are parameters, and the arguments must be passed in the same order.

Return Values

The void keyword, used in the examples above, indicates that the method should not return a value. If you want the method to return a value, you can use a primitive data type (such as int , char , etc.) instead of void , and use the return keyword inside the method:

public class MyClass {

static int myMethod(int x) {

return 5 + x;

} public static void main(String[] args) {

System.out.println(myMethod(3));

}

}

// Outputs 8 (5 + 3)

This example returns the sum of a method’s two parameters:

public class MyClass {

static int myMethod(int x, int y) {

return x + y;

} public static void main(String[] args) {

System.out.println(myMethod(5, 3));

}

}

// Outputs 8 (5 + 3)

You can also store the result in a variable (recommended, as it is easier to read and maintain):

public class MyClass {

static int myMethod(int x, int y) {

return x + y;

} public static void main(String[] args) {

int z = myMethod(5, 3);

System.out.println(z);

}

}

// Outputs 8 (5 + 3)

A Method with If…Else

It is common to use if...else statements inside methods:
Realidad virtual; lo que debes saber
By: Gabriela Nova
Tags: Realidad Virtual, Marketing Digital, Español, Digital, Eivos

in In Fitness And In Health
Armed Teachers must consider the legal consequences of mistakenly shooting an unarmed student
By: Tron Griffin
Tags: Police, News, Education, Democrats, Law

Polk County Sheriff Office in Iowa adds eight new Deputies.

Over a decade ago, I used to work as a security guard. Like all security guards I went through security training and learned how to evaluate a potential hazard, potential dangerous situation, and how to act accordingly. Even with all the situational training I received from the owners of the security training class (one being a former Marine and the other being a former Chicago Police Chief) there was one thing that stuck out to me. It was the one constant thing they kept telling us over and over that stuck with me the most. The one thing they kept warning us about and trying to get us to remember was the fact that we were not police officers but security officers.

Our job was to secure the property we were guarding and to only take certain actions as a last life or death situation which for the most part is common sense. Our job was basically to be the watchmen like all security guards are because we did not have the same leeway as the police. Our mistakes unlike the police we see killing unarmed men could mean years or over a decade in prison.

Hey, I get how a teacher might want to be armed and save lives if a shooter starts shooting in the school but these teacher must think about the legal consequences if they mistakenly shoot and kill an unarmed student.

They must think about the legal consequences of a kid getting a hold to their gun when their back is turn. I know at least one county has decided to allow trained teachers to become Sheriff reserve deputies which would likely cover some of their legal concerns. Still, I must say it would be better if these schools put more focus on preventing an armed shooter from entering the school by having metal detectors, requiring everyone to get a full pat down, and searching everyone’s bag and backpack just like the Chicago Public Schools have been doing for over two decades.
To be Known is To be Loved
By: Alexa Thorn
Tags: Relationships, Love, Heartwork, Poetry, A Cornered Gurl

Photo by DaYsO on Unsplash

To be Known is To be Loved

Or something like that.

I sit in the window

my frame of mind,

sun-touched as you

sleep not even three-feet away —

unstirred by the cut-out

in the mattress where

I should be

and I wonder if

I am allowed both

to be loved and

known at once

or if I must

give up one in favor

of the other —

if I must choose

between what I want

and what I need

I want to be loved —

quietly, softly in small touches

here and there, subtle glances

passed from the rearview mirror

to the backseat

I need to be known, to feel

wholly grasped as a person

and not just a concept given form—

as if I’m something old and dear

archaic, even

I wonder if one

is enough for me

I wonder if both

is asking for too much

I wonder if I can

live a mystery to you

and feel loved at

the same time
Use Custom Debug Descriptions to Make Debugging Easier in Swift
By: Antoine Van Der Lee
Tags: Programming, Swift, iOS, Mobile, Xcode

Hiding Sensitive Data in Non-Debug Prints

Sometimes, you only want to print out certain data during a debug session. Regular print statements might end up in logs that are visible to the user if that’s something your app supports. For example, we’re using the Diagnostics framework to help us debug user sessions in which all our logs could potentially be visible to users reading that report.

We can make use of the CustomStringConvertible to add a distinction between logs. For example, we might want to hide the body of an article during regular prints:

Note that we’re not adding the protocol inheritance directly, as this is already done by the NSObject once again. Printing out the same instance again shows us two different descriptions for print and debugPrint :

print(viewController)

// Prints: <BlogPostViewController: 0x7fa42fe09bf0> represents the post with title "Improved debugging"

debugPrint(viewController)

// Prints: <BlogPostViewController: 0x7fa42fe09bf0> represents the post with title "Improved debugging" and body "Help yourself in those hard times."

As you can see, the print method is making use of the description property, while the debugPrint is using the debugDescription property. This distinction is both important and useful to know when working with those protocols to create custom debug descriptions.

We’re using super.description here, as using self would result in using the reflection API, which uses description , which uses our custom description, which is an infinite loop. It's still useful to print out the instance so that you know the type of the object and the memory address.
I Miss You
By: Edie Tuck
Tags: Grief, Grief And Loss, Death, Sadness, Loss

I Miss You

The burden of grief

(Image by Dmitrii Bardadim from Pixabay)

How can the sun keep shining, rising, setting, it’s too bright now, too white, blinding, scorching. Let me burn, burn the hollow to ashes, burn the ashes to powder, to dust, fill the void with them, and flowers. Lots of flowers, yellow and pink and red and blue. They dance to the stings you pluck, in the wind that shouldn’t blow, on the grass that shouldn’t grow. I hear the fiddle singing, the banjo twanging, the harmonica whining. I hear the guitar strumming, in the kitchen, New Year’s Eve. The music, the laughter, the chatter, the love. Too many people, never enough, come on in, pull up a seat. Always room for more. How dare the stars still twinkle in the darkness of your missing light, it isn’t right, you can’t be gone, shouldn’t be gone, you’ll never be gone. Never meant to leave because angels aren’t supposed to die. Immortal. You’ve always been immortal, but now…now you look at me, an eternal paper smile suspended in time, and the salt and pain rain from my eyes in a surging tide, ebbing, flowing, flowing, how do I still have tears. How dare the earth still spin, turning, the wrong way, crooked and skewed, hanging perilously at odd angles. How dare it still spin, can’t it hear me crying, my heart bleeding, breaking, disintegrating, rusting. Never meant to leave because the sun isn’t supposed to burn out, it’s made to burn bright and hot, all-powerful, all-consuming, eternal soul, unshakable, unbreakable, a monument, a solid foundation, like those you laid with your own hands, brick by brick, heartbeat by heartbeat, breath by breath. Perpetual. A purer heart doesn’t exist, isn’t possible. A heart loving unconditionally, authentically. Wholly. Completely. Contagiously. You were supposed to stay, keep crossing foreheads and telling stories, do you remember when? Do you remember, we sat in your kitchen, for hours without counting, and you told me I was your favourite, you’re my favourite, too. I told you. I got to tell you, and laugh and cry and talk, and love. I said to come and visit, you knew you wouldn’t. You knew, when you hugged me a little longer than usual, it was goodbye. When you said, ‘I love you so so much, and that will never change.’ you knew. You crossed my forehead and looked to the sky, you knew. You took the music with you. I miss you.
How to Come Out to Your Abuelita
By: Itxy Lopez
Tags: LGBTQ, Advice, Women, Equality, Self

In 2017, my Abuelita was in the backyard of her home in Tijuana, doing laundry when she tripped and fell. She knocked out for a while and woke up with a bruised forehead, a black eye, and a broken arm.

I almost cried when I looked at her face. My tias had taken a picture of her and sent it to my family.

Two of her daughters live at home, but they were at work, and my cousins were at school. Once she got up, she called my tias, and they arrived home quickly to take her to a clinic.

She came out with a cast, but a day later, she realized she was in a lot more pain than she should’ve been. It turns out they’d placed her cast wrong, so she went to the hospital to get it fixed.

However, the damage was already done. Her healing process was worse than it should’ve been. To this day, her arm hasn’t completely healed.
What is Stock Graphics?
By: Vector Zilla Pr
Tags: Blockchain, Bitcoin, ICO, Stock Graphics, Cryptocurrency

Every day, the images and graphics are being used as a part of information’s, promotions, products, technology or for knowledge sharing by individuals to large enterprises.

Billions of graphics are seen all around the world on social media, magazines, newspapers, billboards, products and websites.

Where does all these graphics come from?

These are sourced from Stock Imagery platforms.

For example, a start-up wants to create a promotional flyer, might use graphics like this.

A blogger wants to write a blog, to share his review about newly launched mobile; he can use this image, to convey the message visually and efficiently.

The demand for royalty-free stock graphics is growing at a very high rate and revenue from Stock imagery market is expected to cross USD 4 billion by 2022.

Introducing VectorZilla! A blockchain based AI driven Stock Graphics Marketplace. Backed by world’s largest stock graphics creation & distribution company, VectorZilla has a huge library of more than one million graphics content to launch the platform.
Algorithms — Min and Max
By: Sejan Miah
Tags: Algorithms, iOS, Swift, Programming

In today’s blog post, let’s go over a recent algorithm problem I solved without any helper/high order functions. I was told to find the minimum and maximum value in an array without the functions min and max.

The first thing I needed to do after writing the method signature was guard for user inputs where the array of integers did not contain 2 or more numbers. There’s really no point in even using this function if the user inputs an array with just one integer value.

Then we need to create placeholder variables that will contain the minimum and maximum values for us. Currently, set both of these to the first element in the array. We will be using the first element in our array as the reference for both the maximum and minimum values, don’t worry these values are subject to change.

Now we will delve into our for-loop, but before we do let’s really think about what we are trying to accomplish with these variables we created. We are going to compare all the elements in our for loop with our variables min and max. Whichever element is smaller should become the new min value and whichever element is larger should become the larger max value.

Why don’t we put a print statement in our loop as well to see how the values will be changing? Finally, you return (min, max) and this should be returning for you the correct values.

Let’s take a look at our function holistically now with all the code in its entirety. You’ll see that the values for min and max are continuously changing until we complete our for loop, at which time we have finally altered the variable to reference the right element in the loop.

It’s easy to become dependent on so many methods that are accessible to us, but it is even more important to truly understand the inner working of each method or framework for that matter. I hope this basic algorithm solution will help you in your future coding endeavors.
15 Open Source projects for JavaScript Developers
By: Olamide Adeleke
Tags: Github, Programming, Software Development, JavaScript, Open Source

Photo by Caspar Camille Rubin on Unsplash

Node.js is a javascript runtime built on chrome which extends the power of JavaScript to the back end, allowing you to create server-side code.

You could fix bugs or perhaps find a new feature you think Node.js ought to have whichever you do, it’ll still count as a contribution.

Quokka.js is a prototyping playground for TypeScript and JavaScript which allows your code to run immediately as you type allowing you to see results of your coding, easing debugging, and displaying various execution results in your IDE.

TensorFlow is a browser-based JavaScript library that allows you to train and Deploy Machine Learning Models, sounds good eh?

Vue.js is a very popular JavaScript framework in the class of React, Angular and so on, chances are you’ve heard or perhaps worked with it, what better way of showing your expertise than being a contributor, sounds pretty good to me.

React.js may be the most popular framework out there, considering the fact that it’s an integral part of one of the most popular technology Stacks (MERN), React can also create hybrid apps using React Native. Another thing you should know is that React was created by FaceBook so that’s another Resumé plus if you can pull this off.
Using Azure Active Directory Delegated Endpoints from an Unattended Service
By: Maarten Sundman
Tags: Authorization, Oauth, Headless, Graph

When building solutions against an Azure Active Directory protected API, you oftentimes will need to have the application run headless, unattended or non-interactive. Like as a service job, or a console application. To solve this, people oftentimes use Application API authorization, which some endpoints support. But what about when you are working with an API that only supports Delegated authorization, such as the Yammer user_impersonation endpoint? Or when you need to ensure that requests are tied to the executing user? To solve that, we have the Device Code authorization flow.

The Device Code flow is an OAuth authorization flow that has the user authorize the requesting application from a separate interface than the one which the application is running on. The generated token is also infinitely renewable allowing for daemon or service style scenarios. This method works for any Delegated endpoint protected by Azure AD, it is not specific to Yammer. You likely have already experienced what the Device Code flow is like when setting up IoT devices. For example, when your TV asks you to put in a code to access Netflix, Hulu or your other services; that’s the Device Code flow.

From a security standpoint your InfoSec team will also like the Device Code flow more, as it forces requests by your application to run under the context of the authorizing user. Allowing you to enforce who can run the application. Whereas Application authorization has the same execution context regardless of end user, as the app is already authorized.

Device Code Auth/Challenge/Verify Flow

So, how do we do all this?

We start by requesting a new Device Code. By sending a POST to https://login.microsoftonline.com/TENANT/oauth2/v2.0/devicecode with a x-www-form-urlencoded body that has the parameters:

client_id: Your Client ID

grant_type: device_code

scope: https://api.yammer.com/user_impersonation

The code for the end user to input can be exposed via a web service, command line, or just to a text file. The user who is authorizing the application, will need this code to finish authorizing the application to work on their behalf.

Request New Device Code
Celer Network 72nd Weekly Project Progress Report (1/20–1/24)
By: Celer Network
Tags: Blockchain, Celerweekly, Celernetwork

Dear Community,

Happy Weekend! 🙌 Here is our 72nd weekly project progress report on our community building and technology development! Meanwhile, you can also follow our Twitter account for more updates from Celer Network.

Past Events:

1. Celer cEconomy Alpha Testnet Campaign Winners

Thank you to all for participating in Celer’s exclusive cryptoeconomic Liquidity Backing Alpha Testnet (a.k.a cEconomy)! Congrats to the top winners! Don’t forget to check your registered email to claim your reward!

2. Celer Continue to Push Blockchain Mass Adoption

The blockchain developer ecosystem is not easy to build. We have always envisioned that the blockchain developer ecosystem should flourish as much as, if not much more than, traditional application ecosystems like Apple’s and Google’s.

However, except for a few ecosystems like Ethereum, many layer-1 blockchains attempt to build developer ecosystems through heavy investments to expand their ecosystem, but are failing to generate high retention and self-sustaining model.

We believe the reason is quite simple: after the initial stage of subsidization and bootstrapping, high-cost developers and companies on most blockchain ecosystems cannot sustainably generate revenue and therefore have to move to the next round of funding through other blockchains.

We believe the only way to create a highly sustainable blockchain ecosystem is to distill this unfamiliar and somewhat hard-to-use technology to an easy-to-integrate monetization tool for developers to use. We need to provide business models for our ecosystem developers to achieve sustainable revenue stream; and as a result, retain and grow the entire developer ecosystem in a truly sustainable way.

In 2019, we presented our first solution to this developer adoption challenge: CelerX Gaming SDK. By integrating with literally two lines of code, developers can immediately start to monetize their gaming content. We have seen great early success so far.

3. CelerX Tournaments are Live

CelerX tournaments feature is live now. Download CelerX at go.onelink.me/N9wI/1stT to play and earn!

Technology:

Mobile:

Submitted iOS gamified app for QA

Finished new prize bucket list for Android

Finished new API design for crypto games and tournament features

Backend:

Completed design and continue implementing new CelerX reward features

Begin development of enhanced inter-OSP routing

SGN reliability improvements

Community:

Twitter: 18,879

Telegram: 23,475

WeChat: 9,766

Thank you for reading our 72nd weekly report! Please join our telegram group to stay in touch and ask us questions!! We will see you next week! 🙌

Download CelerX now!

Follow Celer Network: