fabiochiu/medium-articles huggingface dataset:
Chapter 2/3 The path of the boy
By: Essence The Story
Tags: Books, Mystery, Storytelling, Fiction, Writing

The lady smiled at her very kindly. “Yes I’ve heard” She replied in a silky voice. “Let’s go inside, I’d like to speak with him” she said.

They came in and sat down in front of me at the table. Mama was anxious, looking back and forth between us.

The lady smiled at me with that soul piercing smile of hers. “Hi, my name is Diot Stanara” she greeted me.

Mama anxiously signaled with his head to reply.

I greeted her, still covered in dirt. “Hello… I’am Drustan Eghal”

She looked at my mother with that never ending smile on her face and nodded. Mama started smiling so wide all of her teeth were visible, even the bad ones and then tears appeared in her eyes. She was not crying, those were tears of joy I’m pretty sure.

Lady Stanara turned back to me.”You’re an exceptional little boy. I’m sure you know that Drustan” She said.

Mama looked deep into my eyes “You will go with Lady Stanara Drustan. She will teach you a great many things, and you will have a much better life with her.” She told me joyfully.

“Did I do something wrong?” I asked her confused.

She let out a half-laugh. “No Drustan, of course not, it will be just… so much better for you, as you’re special. You will see. Here on a simple plantation you will never have the chance to achieve anything. But with Lady Stanara, you can become a great man… and even come back to us one day.” she smiled at me, wiping the tears from her eyes.”

While he was deep in his memories, Drustan reached a small stream crossing the path. Actually it is the whinnying of his horse that makes him snap out of his daydreaming. He gets off his horse, and walks into the steam at an easy pace. As he’s standing in the water, he becomes the picture of satisfaction with a grand, deep smile and a posture of someone who cares about nothing in the world. A few seconds later, he crouches down and puts both of his hands into the water too, not even caring about his clothes getting wet. Then he closes his eyes and he suddenly seems like the happiest person ever, like someone hugging a person they hold the dearest. After five minutes of him peculiarly crouching in the stream, he slowly straightens back up and he looks invigorated, full of energy and passion.
Questland (Mini-Review)
By: Jash Kolze
Tags: Book Review, Mystery, Fantasy, Science Fiction

This review was written for an ARC of the book.

Questland by Carrie Vaughn is about Professor Adrienne “Addie” Cox going to Insula Mirabilis where something has gone terribly wrong. Harris Lang created the island as a place to prove that once technology is advanced enough it is the same as magic. But when he losses all communication with the island and Addie’s ex-boyfriend might be the cause, he has her join a team to restore communication with the island.

I feel that having the book told from Dominic’s point of view would be better. Addie is not a bad point of view character as, like her, the reader is fascinated by the island. Insula Mirabilis is supposed to be a great place for nerds and nerds will be the ones most interested to read this book. But, at the same time, it never feels like she has an impact on the plot. She is needed for being a nerd, but she also tends to run into trouble. When she reunites with Dominic it is all because she wandered from the group to look at something pretty.

Dominic has a very big impact on the plot to the point the book couldn’t have happened without him. His character is also very intriguing. He has a big heart and is more than ready to act on what he sees as being for the greater good. He feels that all technology invented on the island shouldn’t be used for anything else but creating a fantasy setting. At the end of the book his big heart makes him make sure none of his co-workers get blamed for his various mistakes.

He isn’t all good as his one fault is his ego. This makes him not think through things clearly and is what cause his various mistakes. As Addie broke up with him and we see from her point of view, we don’t see a kind picture of the man.

The end of the book teases a possible sequel. By the end of the book we don’t get that clear a picture of Harris Lang so a possible sequel could delve more into him. Was he a misunderstood genius? Did he want Insula Mirabilis for the technology and a fantasy tourist attraction was just a cover?

Insula Mirabilis is a fascinating place. There are unicorns, mazes, dragons, elves, and various other things that should make every fantasy lover extremely happy. Addie, unlike me, preferred unicorns. Lang was able to get her interest by showing her a unicorn his employees had created.

The island is broken into three factions and, of course, readers will get to visit every one of them. One faction is lead by “King” Arthur who is the most timid of the group leaders. Another faction is the dwarfs who live underground and use wargs as mounts. The final group are the elves who are lead by Dominic. They are the most extreme at playing into their roles which, I guess, makes them the ‘bad’ faction. This due to the book dismissing all of the employees as crazy for enjoying themselves on a fantasy island.

I would recommend Questland by Carrie Vaughn for those who enjoy all things fantasy.
It’s different now..
By: Isabelle Fletcher
Tags: Mystery, Forest, Its Different Now, Pain, Unknown

It’s different now..

I walked through the forest with memories of my best friend flashing through my mind, the wind blew through my hair but instead of it being a nice fresh breeze. It was just cold, filled with loneliness and abandonment. As I continued deeper. into the forest scents of the unknown filled the air around me, I have been to the forest loads of times with Nora but never by myself. I wasn’t sure which scent to follow, the scents of different animals that had been here before me or who had passed through was overwhelming. I stopped. The horrible smell of decay travelled up my nostrils, something or someone is dead. The towering trees now seemed taller and denser than before.

The once lively and full of noise forest, was now silent and I remember that day. The day I watched my best friend get torn apart. The people who are just like me, the people I would call family. Ripping a harmless human into shreds, and the worst thing? I couldn’t do anything to stop them; I’ll I could do is watch..

I felt a shiver run down my spine, the stillness of the vast woodland combined with the stale dry stench of whatever had died was enough to scare a bear away, not me though. I must find them! Night is starting to fall now, but I won’t give up. The fallen wood where me and nova would walk and I would watch as she took in the wildlife around her, I miss her. The smell of her daisy scented hair was intoxicating. I’m lost, I was to lost in thought I didn’t realise I had walked off the path.. I hear the snapping of sticks behind me. Oh no, they’ve found me.
Future Game — Ransom.. Game Summary
By: Veronica Yung
Tags: Mystery, Game Design, Games, Game Development

Game Summary

Ransom is a fun yet fearful multiplayer game that becomes a free-for-all. The game begins as the personified game master holds players hostage and to escape, each player is trying to pay off their own ransom which starts off with a value of $25,000. To do this, all players will be given a secret and a situation card. Work together by guessing each other’s situation without revealing the secret and your ransom will be lowered. Beware, if you can’t manage to communicate your situation without using the secret, your ransom will be raised and you will not be set free.

Secret and Situation

Secret: words and actions will be displayed on your secret card

words and actions will be displayed on your secret card Situation: scenarios that you must be able to express will appear here

Each player will be given 2 options to communicate their situation:

three-word sentence: you may use three words to communicate your situation, however, be sure that none of the words you use appear on your secret drawing: you will be granted 15 seconds each turn to draw parts or all of your situation and the same rule applies to any drawing, you may not draw any word on your secret

You may be wondering, “how will anyone know if I violate a secret?” Well, at the beginning of each game, you will be assigned a partner and this person will be held accountable each round and they may not guess during your turn.

How do Turns work?

On the bottom left corner of each situation card, there will be a certain amount of question marks that indicate how many turns you will be given to have your fellow players guess your card. This will not be proctored by your partner who monitors your secret cards.

note: the maximum number of turns a situation may require is five.

Example situation card

Money

On your situation card, the amount of money that will either be deducted or added to your ransom will be indicated in the bottom right corner.

note: the range of a situation card’s worth is $500-$8,000

Play as a Team, Win as One.

Although this game seems highly co-operative and team building, I did mention that it becomes a free-for-all. The game ends when 20-minutes is up, and those who have successfully paid off their ransom will be selected to participate in a little sun-or-death situation — only one person may leave…

The sun-or-death matches are an assortment of mini-games. These games are yet to be determined and I’m open to any suggestions. Some mini-game ideas I had were 5-question trivia, word search, what are the odds, etc.
Submissions
By: Tatiana Santana
Tags: Criminal Justice, Mystery, Conspiracy, Crime, Murder

Hello!

Photo by Austin Distel on Unsplash

If you are interested in becoming a writer for my publication, please email me at tatiana2417@yahoo.com and include your name, your back story, why you are interested, and a draft for revising work. Thank you so much for your interest and I hope to hear from you!!
Chapter 2/2 The path of the boy
By: Essence The Story
Tags: Fiction, Books, Storytelling, Mystery

As he rides on, again surrounded by cliffs and boulders, he starts to think about his life, about how he got to this point. As if he’s practicing for his memoir:

“Mother and father were simple hemp farmers on one of the hemp plantations near the mountains, so one of them were always working the whole day, while the other stayed home with me the chores. The plantations are like little villages. They have a small market, houses for all farmers and a tavern for the folks in the center. Though many, just like my parents, have houses near the fields, because residing in the center of the plantation is a privilege for the ones running the plantation, and their associates.

The morning sun was scorching as I was playing on the dry, hard dirt in the hemp fields near our house when my mother shouted from the distance.

“Drustan! Drustan!”

I thought she was calling for me to help her again with chores around the house, so I continued my ground digging project. I was looking for all kinds of worms, and earth animals… also treasures.

“DRUSTAN!” she called again louder

From that I knew whatever she wanted, it was surely important, so I stood up all dusty and dirty and ran towards the house. I wasn’t even bothering to brush any of the dirt off myself. I saw mama standing at the door with a lady around the same age as her. This lady had long, blonde, silky hair and a beautifully sown blue, green, and gold colored robe reaching down to her knees with a short collar hugging her neck. She wore a finely-sewn shirt in sea-blue and dark brown pants with the most beautiful high boots I’ve ever seen.

Mama was talking to her while I was running towards them, then when I came close to them she turned towards me. “Go inside Drustan and sit down at the table” She said in a quick fashion.

Confused by the situation, but excited I walked slowly into the house. I didn’t dare to look at the lady as I walked past them, she’s been so well-dressed, could’ve been a real princess, or duchess I thought. While I was sitting at the table waiting for mama, I overheard a few things they spoke outside.

“He’s six already?” the lady asked.

“He is, he is” my mother replied with a strange mix of fear and excitement in her voice “He turned six a month ago. He’s a very… “She stopped for a moment looking for the right word “…curious little boy. He had many accidents as… I’ve told the plantation chief.” Mama continued in the same manner.
Monk episode review — 8.8 — Mr. Monk Goes to Group Therapy
By: Patrick J Mullen
Tags: Mystery, Television, Monk, Tv Reviews, Comedy

Original air date: October 9, 2009

Director: Anton Cropper

Writer: Joe Ventura

Rating: 9/10

Monk’s insurance will no longer cover his sessions, so he’s forced to go to group therapy, and of course, Harold is already there.

The Monk-Harold rivalry has always been a highlight, and this is the best it’s been done since Monk was questioning Harold about Dr. Kroger at a political debate. It’s some great stuff.

Monk realizes that somebody’s killing off people in his group, and he can’t even contain his excitement, which is probably my favorite little moment of the episode — when Natalie forces him to state this without smiling, and he can’t do it.

The actual mystery plot leaves a lot to be desired, and it does end rather anticlimactically. But this is an episode about Monk and Harold learning to get along, and in that sense, it’s wonderful. This seems to mark the end for Harold Krenshaw on the show and if that’s the case, this is a good finale for him.
The glass confronted me with its condensation rolling down the side.
By: Novice Words
Tags: Ghoul, Mystery, Ghosts, Eep, Creepy

Testing

The glass confronted me with its condensation rolling down the side. My thirst grew ever present. Leaving me to wonder when the last time I drank something was. Even with the chance to quench my thirst, I felt the necessity to reject the glass. There was a ticking in my head almost as a constant reminder not to trust anything. Was this my test, to find an escape from my own mind’s worries. I walked past the water resisting its temptations into the next room. I was met with a hallway that had large windows lining it. The light that shined through speckled with dust showing the age of the place I was in, as I walked through the hall the light shined through me leaving no shadow to find. I kept pace moving room to room finding that my hesitation grew with each empty room I entered. At the end of the rooms I found a flight of stairs. I started making my way down in hopes that I could find an exit. As I reached the bottom there was no light along the path. The only light was coming from a room that stretched far across the room I was in, I made my way there. Entering, my nose was assaulted with a rancid smell. I looked across the room to find a box. My curiosity overpowered my distrust. I made my way to the box and slowly reached for the latches. After unlatching the metal pieces I lifted the lid to find my corpse laying there slightly decomposed. As I uncovered this horrid truth all the sudden all I can hear is the chiming of words "you failed" repeating over and over in my head, throbbing with pain I fell over until all I knew was that I failed.
As 20 séries de TV/minisséries de 2020.
By: João Henrique Andrade
Tags: Series, TV Shows, Streaming, Tv Reviews, TV Series

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium
As 2020 comes to a close, I wanted to share my annual lists of favorites.
By: Warda Ce
Tags: Books, Movies, Artist, Music, TV Series

As 2020 comes to a close, I wanted to share my annual lists of favorites. I’ll start by sharing my favorite books this year, deliberately omitting what I think is a pretty good book — A Promised Land — by a certain 44th president. I hope you enjoy reading these as much as I did.

Homeland Elegies — Ayad Akhtar

Jack — Marilynne Robinson

Caste — Isabel Wilkerson

The Splendid and the Vile — Erik Larson

Luster — Raven Leilani

How Much Of These Hills Is Gold — C Pam Zhang

Long Bright River — Liz Moore

Memorial Drive — Natasha Trethewey

Twilight of Democracy — Anne Applebaum

Deacon King Kong — James McBride

The Undocumented Americans — Karla Cornejo Villavicencio

The Vanishing Half — Brit Bennett

The Glass Hotel — Emmy St. John Mandel

Hidden Valley Road — Robert Kolker

The Ministry for the Future — Kim Stanley Robinson

Sharks in the Time of Saviors — Kawai Strong Washburn

Missionaries — Phil Klay
The Simpsons Christmas Episodes, Ranked
By: Mike Maher
Tags: TV Shows, Television, Tv Reviews, The Simpsons, TV Series

13.) S13:E6 “She of Little Faith”

Chalkboard Gag

I do not have a cereal named after me.

Synopsis

Lisa becomes a Buddhist after the First Church of Springfield sells out and brings in advertisers. Marge and the church attempt to use Christmas to win her back.

Notes, Images, and Takeaways

Milhouse and Ralph posing as a pony as part of a bribe to bring Lisa back to Christianity (with Reverend Lovejoy watching from the window).

The “pony’s” name is Clip-Clop

When Homer says, “All nerds clear the launch area!”, Milhouse walks away with the group of nerds.

Patty knows about the urinal ice…

Lenny and Carl are practicing Buddhists.

This episode has more than 45 references to previous episodes.

Favorite Quotes
2020’s bad TV: The Undoing — not even the best actors can save a stale story
By: Valentin Antonescu
Tags: Hugh Grant, Nicole Kidman, The Undoing, HBO, TV Series

With the recent six episode miniseries ‘The Undoing’, a prestige crime drama starring Nicole Kidman and Hugh Grant, HBO attempts to create a painful critique of modern day’s shallow upper class. However, HBO seems to forget they already did that in the recent years, with ‘Big Little Lies’, starring the same Nicole Kidman, created and written by the same David E. Kelley, but that time they really succeeded. It had an almost air-tight story, nuance, and it handled difficult subjects with grace. Unlike ‘Big Little Lies’, ‘The Undoing’ is not what it wanted to be. It benefits from beautiful cinematography and some memorable acting but a lazy screenplay and general inconsistency in execution ultimately doom even what you could call Hugh Grant’s best work in many years.

Hugh Grant and Nicole Kidman have good chemistry in ‘The Undoing’

Kidman and Grant are Grace and Jonathan Fraser, a rich and successful New York couple of doctors with a huge, lavishing apartment and a smart kid in middle school, Henry (Noah Jupe, whom you may know from 2019’s great film ‘Honey Boy’). She is a psychiatrist, he is a children’s oncologist and both are ‘elite’ in their jobs. Her father, Franklin (Donald Sutherland) is a millionaire from a long line of millionaires.

The Frasers complete each other perfectly. Grace is the quiet one in the couple: self-contained, cautious, speaking more through her eyes than her words, yet passionate about what she loves. Jonathan is the loud one: he’s outgoing and larger-than-life, his empathy is equalled only by his dry sense of humour.

Their seemingly perfect lives are disrupted by the sudden appearance, and then disappearance, of a woman. Elena Alves (Matilda de Angelis), a lower to middle class latina artist, starts sending her son to the same pretentious Manhattan school for the filthy rich that the Frasers send Henry to, slowly entering their high-class, exclusively white community. Of course, Elena’s son Miguel benefits from a scholarship, not from the hundreds of thousands of dollars that the Frasers’ son Henry does.

Grace and her father

Right from the get go, to Grace, Elena’s beautiful presence is mysterious, mesmerising even. There’s something strange about her that Grace can’t quite grasp. Her intuition that there’s something off about Elena pays off when she’s found bludgeoned to death in her workshop, her skull brutally bashed in. Not long after this disconcerting news, Grace finds out that Elena was her husband’s lover, for years, and they started their relationship after Jonathan treated her son Miguel’s cancer.

As Jonathan becomes the prime suspect in Elena’s murder, some new characters enter the scene: Fernando Alves, the angry widower with two children, Miguel and an infant daughter, Joe Mendoza, a no nonsense cop who wants to get to the bottom of things, Sylvia, Grace’s best friend, just as privileged, not as nuanced, and Haley Fitzgerald, the best and most ruthless defence attorney money can buy.
Create your own Streaming Service at home with just One Command
Tags: Movies, Netflix, Servers, DIY, TV Series

“At last”

Install Node.js — a server side software which does all the magic behind and helps us simply use a single command.

2. Check Installation: Open up command prompt (for windows) or terminal (for mac and linux) and type

node -v

After pressing enter, you should see something displayed on your command prompt/terminal

v14.15.2

that’s the version number, the -v in the earlier command we typed. If you are getting a different version number, that’s okay but if you are getting something else, you may try restarting your computer (Pro IT tip).

3. Navigate to folder: Move all your video/image files to one folder and copy the folder’s path, here is how to copy a folder’s path, Mac or Windows. Open up command prompt/terminal window open, type

cd /Your/Path/To/Folder

paste your folder’s path after “cd” press enter and you are ready!

4. Start Server: While you have the command prompt/terminal window open, type

http-server -p 8080

you may get the output as,

Available on: http://127.0.0.1:8080 http://192.168.1.8:8080 Hit CTRL-C to stop the server

the first link is your computer’s localhost IP address and the second link is the IP address assigned by the router for your computer which is visible to all local devices connected to your home router/network.

5. Connect to Server: Open a browser on any device connected to the same network as the server and paste the second link from above,
Check Given number is Prime number or not using C programming
By: Come Code
Tags: C Programming, Prime Numbers, C, Programming Languages, Coding

Check Given number is Prime number or not using C programming come code ·Dec 27, 2020

//check whether given number is prime or not

#include <stdio.h>

int main()

{

int num, i;

printf(“Enter the value or number

”);

scanf(“%d”, &num);

for(i = 2; i< num; i++){

if(num %i == 0){

printf(“

It is not a prime number”);

break;

}

}

if(num == i){

printf(“

It is prime number”);

}

}
Prolog: A Brief Introduction
By: Saif Uddin Mahmud
Tags: Machine Learning, Software Development, Artificial Intelligence, Programming Languages, Programming

Constraint Linear Programming

One final thing you should know to make Prolog useful: Constraint Solving. A lot of the puzzles we solve in real life are based on a finite domain. If you know Linear Programming (or have taken Linear Algebra), you know how we shrink the search-space for a set of equations (to the point where brute-force is practical).

The package is quite simple to use: it has operators similar to the mathematical operators you’re familiar with (just with a # prefix) and some pretty nifty relations. The canonical example for the CLP module is the SEND+MORE=MONEY puzzle. Let’s look at the code here and understand what it’s doing. In case you aren’t familiar, “The send more money puzzle is the quintessential example of a constraint problem. It amounts to assigning different digits 0 through 9 to the variables [S,E,N,D,M,O,R,Y] such that SEND+MORE=MONEY”:

use_module(library(clpfd)). sendmoremoney(Vars) :-

Vars = [S,E,N,D,M,O,R,Y],

Vars ins 0..9,

S #\= 0,

M #\= 0,

all_different(Vars),

1000*S + 100*E + 10*N + D

+ 1000*M + 100*O + 10*R + E

#= 10000*M + 1000*O + 100*N + 10*E + Y.

We see the ins relation from clp saying all the Variables in the list Vars should take a value from 0 to 9. The next 2 lines say that the first digits of the words can’t be 0 (solution becomes trivial). The next line uses the all_different relation to make sure all the letters get a different assignment. The final line ensures Prolog understands that the position of the letter matters and that the 2 words add up (+) to (#=) MONEY.

Another advantage we get from using clpfd is that we can run our relations both ways if we’re not using the arithmetic operators we saw earlier. Here’s an example of a factorial function that can be run both ways:
C Programming Language Basic Introduction
By: Use My Notes
Tags: Programming Languages, C Programming, Programming

In this tutorial we will study What is Programming, What are the Advantages of Programming, What are the Disadvantages of Programming, C Programming Language Basic Introduction, History of C Programming, and the Use of C programming language with the help of an example.
Basic Concepts of Programming Languages C++ Programming Examples
Tags: C Sharp Language, Concepts For Beginners, Cplusplus, C Sharp Programming, Programming Languages

Programming is often considered as both an art, a science. Coding is an art due to its creativity & versatility & science. software Engineering.

Programming helps us to know Computers.

Five Main Steps of Programming Process:

Defining:

Determining the program Objectives, Input and Output Data, and Processing requirements.

Planning:

Top-down Program Design, Algorithm & Flowchart.

Coding….Continue reading for click here…
QUA and Silq — The Two Most Viable Quantum Computing Languages
Tags: Silq, Qua, Technology, Quantum Computing, Programming Languages

Quantum computing is a new, but futuristic technology, in terms of bettering the existing computing speeds. However, it’s still in the development phase, but in the next few years to come, it is going to overtake classical computing. Quantum computing, in the simplest of terms, is an area of computing that concentrates on enhancing computer technology, basis the fundamentals of quantum theory, which pertains to analyzing the behavior of material and energy on the subatomic & atomic levels. While classic computing encodes information in the form of 0 & 1 (bits), quantum computing uses qubits that could be a 0 or 1, or both together.

Quantum computers exploit intertwined quantum states that help overlap information bits to execute calculations. This makes them incomparably faster than the classical computers at performing data-crunching and mathematical calculations. Neuromorphic computing is another big technology invention that has emerged off late, which involves designing computer hardware and software in a manner that imitates the working of a human brain, thereby improving the computing power.

What is Silq?

Silq is a newly found high-level quantum programming language comprising strong static-type system. It’s in fact, the first programming language in quantum computing that has not been specifically designed in conformance to the construction and architecture of the hardware. Instead, it’s developed keeping in mind, the ease to programmers while they solve a problem using quantum computing.

Silq allows programmers to leverage the unparalleled capabilities of quantum computing much better than with the currently existing programming languages because the Silq code is fast, compact, intuitive, and away easier to understand and familiarize, for coders. As a matter of fact, Silq is the only quantum language that automatically recognizes and eliminates values that are not deemed to be important in the overall scheme of things.
C plus plus course in Rawalpindi Pakistan
By: Icp Institute
Tags: Programming Course, C Programming Language, Programming Languages, Programming, Best Computer Institute

This course specially design for university student that have not idea of programming language all content cover up in this language that university provide. Created by Bjarne Stroustrup, C++ became popular because it combined traditional C programming with object-oriented programming (OOP) features. Smalltalk and other OOP languages did not provide the familiar structures of conventional languages such as C and Pascal. Microsoft’s Visual C++ is the most widely used C++ language

http://www.icpinstitute.pk/course-detail?course=cplusplus
Why Java Won’t Die?
By: Živković Miloš
Tags: Software Development, Java, Software Engineering, Programming Languages, Programming

Why Enterprise Doesn’t Care About Hype Driven Tech?

Learning Java is still lucrative. Java still holds well against another tech, according to this 2020 Developer Survey.

Enterprise doesn’t care that much about new tech. They care about stability. Working with Pearson for over a year, they care about end consumers. Period.

Providing accessibility, great service, and good customer support is essential. Tech comes after all this. Technology built around Java, provides security, confidence, and a great business experience.

Learning Java opens door to new opportunities. Check this survey again, and see what are top-paying positions. Scala, based on Java criticism, still runs on JVM.

Even though I would like to get a better frontend, that won’t happen. Business costs would go through the roof to develop, test, and release. From what I am aware, the backend is here to stay, changes are not even planned.
Should I use pointers all the time in C++?
Tags: Skills, Programming Interviews, C, Programming Languages, Development

C++ Programming

Contrary to most answers here, I have no particular aversion to pointer implementations in C++.

To me, a pointer is just a variable. So saying ‘pointers are bad’ is saying variables are bad. After all it is really just an unsigned integer that contains an address and has a type associated with it.

An indirect reference serves a purpose. It allows access without copying and replacing values and allows objects to cross context boundaries. Of course the possibility of abuse and error is present in such situations, but it always is anyway really. Any variable can contain a bad value, be it a pointer or a direct variable.

C++ has some tricks up its sleeve with references, lvalue references, smart casting, etc, that do indeed make for safer code constructs when indirection and pass-by-reference is used — which is all the time. Of course it is encouraged to use these tools to write more robust and reusable code.

But it is not altogether possible to avoid pointer implementations in a lot of situations, so to be ‘afraid’ or revulsed by them is to throw away some essential programming tools.

Look into the STL and you will find a lot of pointer stuff in there.

Almost any time you need to interface with C code you are going to be passing pointers around. You have to; that’s how C operates on anything more complicated than a primitive value.

Most of the STL library utilities and object have pointer-return and pointer-parameter functions for this purpose.

“Never Use Pointers” is like saying “Never Peel Oranges and Never separate orange into slices — the only way is to chomp down, peel and all. After all , raw orange internals are delicate and you could break them and leak juice all over!”

You learn how to safely use pointers and when there are better ways to get a job done (and when there aren’t). If you are not comfortable with pointers and how to use them, then that is a hole in your education, not a good thing. If you must abstract your programs up and away from memory locations and allocation and referencing, well then perhaps a hardware-facing, compiled systems language that is a super-set of the C language is not the language you should be learning.

That is not to say refactoring out raw pointers is not necessary or preferable in a lot of cases. The additional mechanisms for indirection and referencing in C++ over C are there to help facilitate safer code and they should be used, preferred, and leveraged to the hilt.
for loop iterations in C++, Javascript, Python
By: Poby S Home
Tags: Iteration, JavaScript, Python, For Loop, Programming Languages

Javascript

for statement

for … in statement

statement for … of statement

for statement

for (let step = 0; step < 5; step++) {

// Runs 5 times, with values of step 0 through 4.

console.log('Walking east one step');

}

for … in statement

iterate over property names

const arr = [3, 5, 7];

arr.foo = 'hello';

for (let i in arr) {

console.log(i); // logs "0", "1", "2", "foo"

}

for … of statement

iterate over property values

const arr = [3, 5, 7];

arr.foo = 'hello';

for (let i of arr) {

console.log(i); // logs 3, 5, 7

}

Iterate through a Map

ES6

var myMap = new Map();

myMap.set("0", "foo");

myMap.set(1, "bar");

myMap.set({}, "baz");



for (const [key, value] of myMap.entries()) {

console.log(key, value);

} // 0 foo

// 1 bar

// {} baz

ES8
Basic Concepts of Programming language
Tags: Visual Basic Programming, Cplusplus, Concepts For Beginners, Programming Languages, Csharp

Programming is often considered as both an art, a science. Coding is an art due to its creativity & versatility & science. software Engineering.

Programming helps us to know Computers.

Five Main Steps of Programming Process:

Defining:

Determining the program Objectives, Input and Output Data, and Processing requirements.

Planning:

Top-down Program Design, Algorithm & Flowchart.

Coding….Continue reading for click here…
Basic Concepts of Programming
Tags: Language, Concepts For Beginners, Programming Languages, Coding, Csharp

Basic Concepts of Programming language

PROGRAMMING:

Programming can be considered as both an art, a science. Coding is an art because of its creativity & versatility & science. There are…….continue reading for click here…
How do I write a script for the MATLAB code?
Tags: Coders, Matlabcoding, Coding Style, Programming Languages, Matlab

How do I write a script for the MATLAB code? shubham ·Dec 21, 2020

MATLAB

Scripts are the simplest kind of program file because they have no input or output arguments. They are useful for automating series of MATLAB commands, such as computations that you have to perform repeatedly from the command line or series of commands you have to reference.

READ MORE :
Golang vibes (Programming Language)
By: Hasan Rothi
Tags: Programming Languages, Contests, Golang, Problem Solving

You are a c/c++ programmer?

You can simply switch to golang. It’s fast and as easy as c/c++ .You can use it for the backend of the web/app & problem-solving.

Not Recommended for the Programming contest (if you are not a well-known one in Go). Better to use it for offline problem-solving as a beginner.

Simple as c/c++

It’s written in C. The libraries are written in Go itself. Some called it as Google language as Google is the owner of Golang.

Time to learn Golang

Don’t worry ! You can solve problem in Uri , codeforce etc by Go(Golang).

What is Golang used for?

Go or GoLang, as it is called, is a robust system-level language used for programming across large-scale network servers and big distributed systems. Golang emerged as an alternative to C++ and Java for the app developers in the context of what Google needed for its network servers and distributed systems.

Go vs C/C++

Go is a simple, compact, and procedural general-purpose language. C++ is a general-purpose coding language that is fast and complex. Both Go and C++ are statically typed and have strong user communities. C++ is used in a wide range of applications, while Go is most used for web backends.

Go vs Python

All in all, Golang web development has proved to be faster than using Python for the same kind of tasks in many use cases. Ultimately, Golang is built for those who want the task accomplished effectively and fast without the need to go into the subtleties of the programming language.

useful links

official website — https://golang.org/

learning — https://tour.golang.org/welcome/1

practice — https://play.golang.org/
What is Constructor in Java? and Types of Java Constructor?
By: Sumant Jha
Tags: Programming Languages, Java8, Java, Java Constructor, Programming

What is a constructor in Java?

We create a constructor in Java to initialize an object. Which has the same name as the class, but have no specific return type. It can be used to set initial values for object attributes it is similar to Java methods. At the time of calling the constructor, the memory is allocated for the object. Each class in Java has a constructor even if it doesn’t create one Java implicitly calls a constructor with all the data member values set to zero which is called the default constructor.

We shall discuss the default constructor as well as the other constructors in Java.

Now understand when exactly the constructor is called?

A constructor is called when an object or an instance is created. It sends the values to the data members of this class.

Rules for Constructors in Java.

So there are four basic rules to use constructors in Java.

The name of the constructor should be the same as that of the class name. A constructor cannot be declared as final, static, synchronized, or abstract. It cannot have an explicit return type A constructor can have an access modifier to control the access.

Types of constructor in Java

So basically there are three types of constructor in Java available which are:

Default Constructor No-Args Constructor Parameterized Constructor

Default Constructor:

A constructor in Java with no arguments or parameters is called a default constructor. I do not create a constructor of the class Java creates the default constructor but data members which has values like zero or null. Now see the simple program to understand the default constructor in Java.

public class demo{

String name;

demo(){

this.name="Siksha Setu";

}

public static void main(String [] args){

demo dobj=new demo();

System.out.println(dobj.name);

}

}

So as you can see this particular code segment is a basic example based on the constructor in Java.

demo(){

this.name="Siksha Setu";

}

So this is our constructor and the name of the constructor is the same as its class name. Now just run this program and see the output and you can see the program has been successfully compiled and the output is generated is “Siksha Setu”.

Now click here to understand the next type of constructor in Java.
Learn to use WinRT’s HttpClient with Delphi.
By: Haruyuki Mohri
Tags: Winrt, Japanese, Programming Languages, Delphi, Programming

I’m investigating how to use WinRT with Delphi 10.3. In the Japanese blog I wrote, I mentioned some WinRT. This blog, I will write how to write WinRT’s HttpClient in Delphi 10.3. In Delphi 10.3, WinRT’s HttpClient is in Winapi.WebRT.pas. You need to incorporate it into “uses”.

uses

Winapi.WebRT;

Winapi.WebRT contains Http_IHttpClient and THttp_HttpClient. If you want to create an instance of HttpClient, write as follows.

procedure TForm1.Button1Click(Sender: TObject);

var

httpClient: Http_IHttpClient;

begin

httpClient := THttp_HttpClient.Create();

end;

When creating THttp_HttpClient, the instance side uses an interface called Http_IHttpClient. Below is the code to get the URL data using the GetAsync method of the Http_IHttpClient interface.



var

httpClient: Http_IHttpClient;

ws1: TWindowsString;

hs1: HSTRING;

hs2: HSTRING;

url: IUriRuntimeClass;

res: IAsyncOperationWithProgress_2__Http_IHttpResponseMessage__Http_HttpProgress;

s1: String;

begin

httpClient := THttp_HttpClient.Create();

ws1 := TWindowsString.Create('

hs1 := ws1;

url := TUri.CreateUri(hs1);

res := httpClient.GetAsync(url);

Await(res, kansu);

hs2 := res.GetResults().Content.ReadAsStringAsync.GetResults;

s1 := TWindowsString.HStringToString(hs2);

Memo1.Clear;

Memo1.Lines.Append(s1);

end; procedure TForm1.Button1Click(Sender: TObject);varhttpClient: Http_IHttpClient;ws1: TWindowsString;hs1: HSTRING;hs2: HSTRING;url: IUriRuntimeClass;res: IAsyncOperationWithProgress_2__Http_IHttpResponseMessage__Http_HttpProgress;s1: String;beginhttpClient := THttp_HttpClient.Create();ws1 := TWindowsString.Create(' https://mjeld.com/' );hs1 := ws1;url := TUri.CreateUri(hs1);res := httpClient.GetAsync(url);Await(res, kansu);hs2 := res.GetResults().Content.ReadAsStringAsync.GetResults;s1 := TWindowsString.HStringToString(hs2);Memo1.Clear;Memo1.Lines.Append(s1);end;

HSTRING is prepared as a variable. This is used when passing a string to WinRT. I used a Record type called TWindowsString to convert from Delphi String to HSTRING. It is in System.Win.WinRT. You need to pass the URL to the GetAsync method of HttpClient. Then use TUri to convert from HSTRING to IUriRuntimeClass. As for TUri, it is included in Winapi.Foundation, so use it.

This time, I introduced how to use WinRT’s HttpClient in Delphi 10.3. Other than that, the blog that wrote how to use WinRT is in Japanese, but I introduce some.
Language Development Introduction
By: Michael Brown
Tags: Programming Languages

I’ve spent a number of years taking a step back from the keyboard, thinking about the problems that hinder my software development, and thinking about the values and properties I want from my tools and systems I build.

It is my personal believe that our industry has stabilised into a practise that has a number of minor “issues”, spanning all the way from education, hardware, languages, Toolchains/IDE’s, right up to deployment and maintenance. These minor issues accumulate and compound into real and difficult daily problems.

I’ve picked the word stabilised on purpose. Many have tried to solve one or a small subset of these minor issues — Their efforts valiant, their lessons invaluable. But empirally speaking, we just seem to moving the issues around rather than eradicating them. I would also accept if the issues were moved, but out of my core values. I don’t believe all of my core values are universally shared, I also believe there is even some misguided beliefs holding us back. This all means I can’t wait for others to do this for me.

Big Agenda

This is a Big Agenda™ project. Times have changed, the values we once held when our current mainstream tools were designed no longer hold, and retroactively adding our new values creates conflict.

Everything is open to scrutiny and change. Radically different ideas are going to be explored and tested. The values we treasure questioned and reassessed.

I don’t expect this to come out perfect first time, some ideas are going to fail. All part of the adventure of language design.

What are the values?

Clearly this is an important question, but one that would start a discussion that would go on for days/months. Hence the blog!

What I can say is; I am an engineer, I believe our roots in Math has created a heavy bias to the static and abstract concepts. Understandably, everything seems to reflect this to some degree. We need to start to grow in the engineering dimension, and provide engineering focused tools to deal with the realities of computing.

Blogging Ahead

I want to blog for a couple of reasons.

Development Logs to share architectural and implementation details. Feedback always welcome on patterns and methods I might not be aware of. I intend using methods that reflect the core values I believe in and will end up designed language, I think this could be a good time to showcase those. But I also have hopes for this to be production ready, documenting the internals seems like a wise move. And could also be helpful to others.

Design and Research Logs to document and share the ideas im exploring, and my thoughts and findings on those.

Blogging is new, but this project is not. I am fulltime employeed, but have commited for a number of years to this. COVID-19 lockdown gave me a push to take it more seriously.

I hope to blog at least once a month. I hope you enjoy them.

Mike Brown
Recursion in JavaScript
Tags: Recursion, JavaScript, Js, Programming Languages, Coding

“ Let us understand recursion ”

Recursion is a process in which we define a step or a process and let the code do the rest steps by this we achieve the same result with less coding

Recursion is a process of calling itself

To put an end to the process we must define the base case

So what is the base case? let's understand that with an example

function print(num){ if (num <= 0){ // this is the base case

return 0

}



console.log(num) print(--num) // this step is recurrsion } print(4) /* output 4

3

2

1 */

Now to the point what if we don't mention the base case or provide a proper base case, In such we get a stack overflow error

This is because the function will go on calling itself all these function calls will be put on to the stack when the stack is full and we dint get a base case the result will not be returned so we get a stack overflow error

Find the factorial of a number using recursion
The Impact of Programming Languages
By: Swap Inc.
Tags: Programmer, Learning To Code, Beginner, Programming Languages, Coding

Why you should consider learning to code!

These days programming languages play an important role in supporting technological development in every aspect. Since many opportunities based on programming arise, many students are interested in coding. This has created an impact that nothing can be done without computers and technology. Everyone has understood the importance of programming. Every app, many new technologies evolve with ideas that are implemented using codes. These aspects really encourage students to learn many new programming languages and upgrade their skills. Actually, these programming languages have no endpoint in the aspect of learning. These codes help us to implement our ideas easily.

Why Programming is important:

Programming languages are easier if we understand the concept well. If we are clear with it, we can easily implement our ideas. Many are eager to learn the famous language. But it is not like that. Even if we are strong with a simple programming language, we can create wonders with that language. Moreover, just theoretical knowledge is not enough to survive on the technical side. Some practice and experience in your preferred language make you confident as well as you can handle any situation. As someone said, “If you’re not willing to learn, no one can help you. If you’re determined to learn, no one can stop you”. Learning is experience. Everything else is just information.

How can I learn coding?:

Coding has become so famous that even 3rd-grade students are interested in programming. Many learn more than one programming language. Many technological related developments are done where coding is done as the basic step. Generally, programming is done step by step. Firstly, we need to analyze the problem, then develop an algorithm, write a code for the algorithm, run it, and finally test the program. By learning programming languages, we can explore our skill development. Keep learning and keep training until you get it right.

-Bhavani Sree .S.K
Why java is so popular
Tags: Technology, Programming, Java, Programming Languages, Java Programming

Why java is so popular

Java language is platform independent and secure language. Its a high level and once written can be used in any platform i.e written on linux can be used in window, mac os etc.

Its popularity is due to following amazing reasons:

Java is object oriented.

Java is platform independent.

Java is simple i.e easy to use.

Java is secure. It provides a wide range protection from viruses and malicious programs.

Java is portable. Running the same program on different platform is possible is possible.

Java is robust.

Java is multi-threaded. You can write a program that performs several different tasks simultaneously

Java is distributed. It manages TCP/IP protocol i.e why it is distributed over internet.

These reason are behind thr popularity of java over other languages.