teleren/devto huggingface dataset:
Writing JS functions as a newbie
Tags: devjournal, javascript, codenewbie
Published: 2021-05-14 00:53:18

This past Tuesday I had an abnormal amount of downtime at my current job. I decided to use that time to play with JavaScript on my own. I've seen other background color changing projects and figured I'd take a swing.

I'm in the middle of a website project for a co-worker. My friend and code mentor helped me with a mobile menu using JS for the project. Using that function as a starting point, I tried changing the background color with an on-click event. With no success, I turned to Google and found a simple way to do what I wanted using `document.body.style.background`.

Then it was time to tackle the text color change on the h1 element. After some more Google, I found `document.getElementById().style.color` to work nicely.

Everything was functional and I excitedly sent my friend the CodePen link, which at the time was the same code as this post's cover image- five nearly identical functions and all. It was gratifying to hear that it looked good, but he then said I could do the same thing with only one function. After all that work!?

One Zoom call and some explaining later, it made sense! Arguments, "Ah-ha!" I remembered using them in FreeCodeCamp exercises, but it's much different when you're actually building something. Now I have a better idea of how arguments and JavaScript in general works. It was frustrating but the payoff was totally worth the aggravation.

I don't know if you need to hear this, but do not give up. Just keep trying. This small project has allowed me to connect  dots and put some JavaScript things into perspective. I'm excited for the future and eager to keep going.

<a href="https://codepen.io/redwagen/pen/PopPBGV">Here</a> is the single function background color changer. I hope you have as much fun as I do clicking those buttons. :)
TIL Some Game Dev Options for Chromebooks
Tags: todayilearned, gamedev, chromeos, wine
Published: 2021-05-14 00:29:45

2021-05-13

Chromebooks can run both Android and Linux apps, the former (if I recall correctly) is enabled out of the book but the latter needs to be setup. It's rather trivial, though. Just go to Settings, search "Linux" and click the first "Turn on" button you see.
![Linux Installer on Chrome OS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vvh60w2e5atubnwg4gmt.png)

As an example, you can now download [Godot](https://godotengine.org/download/linux), copy it using the Files app to a desired location in Linux Files and run it using the Terminal app.
![Running Godot thru the Terminal](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/akdudegr1xb5msqfobsp.png)

Linux apps like [GB Studio](https://chrismaltby.itch.io/gb-studio) are even simpler to setup with Chrome OS allowing direct installation through the right-click menu. 
![Installing GB Studio is simpler](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mj8wh5qp727eelhdaavd.png)
The nice thing about this installation process is you can pin the app to your shelf and invoke it without opening Terminal.
![GB Studio pinned](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2xgum90p1j6bzcgi0k1o.png)
 
But what I discovered today was ... you could actually run Windows executables using <drum roll> Wine.
![Installing Wine](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0pexv0f19gqaajwtf1nv.png)
So as an example, I grabbed portable Notepad++ and extracted it to a `win` folder in Linux Files. With wine installed, it was possible to run the Windows executable with a quick command. 
![Running NPP with Wine](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p8umji4nozsqr8zw3c2d.png)
"Process" isn't a dirty word
Tags: practices, agile
Published: 2021-05-15 11:53:27

---
title: "Process" isn't a dirty word
published: true
date: 2021-05-14 00:00:00 UTC
tags: practices,agile
canonical_url: https://jhall.io/archive/2021/05/14/process-isnt-a-dirty-word/
---

“Process” gets a bad rap these days. Not long ago I worked with a CTO who said “We don’t need any process. What we have is working fine.”

Putting aside whether or not it was working fine (it wasn’t), the idea that we didn’t need a “process” baffled me. Somewhere, somehow, as sometimes happens to different people with different words, this CTO had become alergic to the word “process”.

Don’t fall into that trap.

Merriam-Webster [defines](https://www.merriam-webster.com/dictionary/process)process as “a series of actions or operations conducing to an end”.

“Process” is natural. It exists whether you recognize it or not. Claiming you_don’t_ have a process is like claiming you don’t breathe. The only way not to have a process is not to be accomplishing anything!

The only question is whether you have a _good_ process or a _bad_ process. And the first step toward that determination is acknowledging the (possibly unconscious) process you have now.

* * *
_If you enjoyed this message, [subscribe](https://jhall.io/daily) to <u>The Daily Commit</u> to get future messages to your inbox._
Boolean Expressions of Fielded Buffers
Tags: oracle, tuxedo, fml32
Published: 2021-11-03 06:24:45

---
title: Boolean Expressions of Fielded Buffers
published: true
date: 2021-05-14 00:00:00 UTC
tags: oracle,tuxedo,fml32
canonical_url: http://aivarsk.com/2021/05/14/fboolev32/
---

Oracle Tuxedo has the `Fboolev32` function for evaluating Boolean expressions in which the “variables” are the values of fields. The expressions are a subset of the C programming language with a nice addition of _regular expression match_ operators:

- _expression %% expression_ yields a 1 if the first expression is fully matched by the second expression (the regular expression).
- _expression !% expression_ yields a 1 if the first expression is not matched by the second expression.

Since expressions do not have a subscript operator for strings, regular expressions are used to match the prefix, postfix, or the nth character:

```
import tuxedo as t
t.Fboolev32({"TA_STATUS": "OK123"}, "TA_STATUS %% 'OK.*'")

```

These operators are something new to most developers and sometimes you get expressions like this one:

```
import tuxedo as t
t.Fboolev32({"TA_STATUS": "OK123"}, "TA_STATUS %! 'OK.*'")

```

What will be the result? A crash of your process!

Instead of the `!%` operator, the developer typed in `%!` which is parsed as two operators:

- `%` for the modulo operation
- `!` for negation

What happens next is:

- `'OK.*'` is a non-empty string and evaluates to 1
- `!` negates 1 and evaluates to 0
- `TA_STATUS` is converted to a number, most likely a 0. But it does not matter
- `0 % 0` is division by 0 and we get a `SIGFPE` signal deliver to the process

Most of the software out there does not have a `SIGFPE` signal handler installed and crash:

```
>>> import tuxedo as t
>>> t.Fboolev32({"TA_STATUS": "OK123"}, "TA_STATUS %! 'OK.*'")
Floating-point exception

```

Now image if those Boolean expressions were written by the user… If you use Boolean expressions in your Oracle Tuxedo application, remember to install the `SIGFPE` handler.
DEVKING: VS Code Addon
Tags: vscode
Published: 2021-05-13 23:33:48

I made an addon for Microsoft Visual Studio VS Code that makes it easier to do the tasks and run commands and macros that I use every day, helping to streamline my development and make it frictionless to dream up and deploy new code. It teams up with the github actions CI pipeline I use -- just smack one button and a whole new release is built, tagged, and pushed out to upstream registries: docker, npm, vs marketplace, and more! 

"Real artists ship" -- Steve Jobs


https://marketplace.visualstudio.com/items?itemName=COGSMITH.devking-vscode
Angular 13
Tags: angular, javascript, watercooler, typescript
Published: 2021-05-13 23:28:59

Angular did it again, on May 12, 2021, the newest major version of Angular arrived a stable Angular v12.0.00. I see a trend here 11/11 Angular launched v11, 5/12 Angular launched v12, what month will Angular 13 launch?  X/13? 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7hupxb90p7rx1i1ih5m.png)

The Angular v12 major release is getting closer to “Ivy Everywhere”. The newest version enables the transition of the Angular ecosystem to the Ivy compiler.  Among other improvements, the upgrade deprecates the legacy View Engine compilation and rendering pipeline in favor of the newer Ivy technology.

Angular v12 improvements include style, nullish coalescing allowing developers to write cleaner code in TypeScript and Angular templates, Webpack 5 support and TypeScript v4.2, and a stick model enabled by default to help catch errors earlier in the development cycle. 

So what's next for Angular?  What is the future of Angular?  

Angular receives numerous feature requests both from Google and the Angular community, with constant review and evaluation build their roadmap to prioritize requests. 

The future of Angular is bright, with new feature developments on the horizon:

### Better Developer Ergonomics with Strict Typing
Implementing a stricter type of checking for reactive forms allows developers to catch more issues during development time.

### Reduce Framework Overhead 
Removing legacy View Engine for the smaller Angular conceptual overhead (lower maintenance cost, lower complexity of codebase, and a smaller package).

### Improved Text Times and Debugging
Automatic test environment tear down improves test time and creates better isolation across tests. The goal is to change TestBed to automatically clean up and tear down the test environments after each test run.

### Optional NgModulars
Optional NgModulars allow developers to develop standalone components and implement an alternative API to declare the component’s compilation scope.

### Support Directives to Host Elements
Adding directives to host elements allows developers to augment their components with more behaviors without inheritance.

### Angular Compiler as a PlugIn (tsc) 
When making this a reality, the developers substantially improve build performance and reduce maintenance costs.

### Ergonomic Component Level Code-Splitting APIs
Web Applications are known for their slow initial load time. Applying a more granular code-splitting component level is one way to improve the initial load time.
 
What's your favorite new feature you can't wait for?  Are there features you wish were listed and aren't? Please share and let's talk about the future of Angular, and if we ruled the world what we would do to make it even brighter!
May 13th, 2021: What did you learn this week?
Tags: weeklylearn, discuss, weeklyretro
Published: 2021-05-13 23:18:26

It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.

<center>

![Boss from the Office Space movie sipping his coffee in front of a cubicle](https://media.giphy.com/media/lSVL6vdhdZVPW/giphy.gif)

</center>

Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.

{%tag todayilearned %}

And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿

{%link https://dev.to/devteam/what-was-your-win-this-week-7cj %}

<center>

![A show host dancing a winning in their seat](https://media.giphy.com/media/l3q2Z6S6n38zjPswo/giphy.gif)
</center>
Do you know what is SpaceX Starlink and Who are the New Infra providers like Microsoft, Google partnering with Starlink
Tags: googlecloud, azurecloud, 100daysofcloud, cloud
Published: 2021-05-13 23:09:18

#What is Elon Musk's Starlink network?

Starlink is a satellite internet constellation being constructed by SpaceX providing satellite Internet access. - wiki

High-speed, low latency broadband internet. Starlink is now delivering initial beta service both domestically and internationally, and will continue expansion to near global coverage of the populated world in 2021. As of now (2021), around 1500+ Starlink satellites are there in orbit. and do you know they are targeting around 42,000 Starlink satellites by 2027.  

#Why SpaceX Starlink
- Latency is the time it takes to send data from one point to the next. When satellites are far from Earth, latency is high, resulting in poor performance for activities like video calls and online gaming.
- Starlink satellites are over 60 times closer to Earth than traditional satellites, resulting in lower latency and the ability to support services typically not possible with traditional satellite internet. 
- Starlink is ideally suited for areas of the globe where connectivity has typically been a challenge. Unbounded by traditional ground infrastructure, Starlink can deliver high-speed broadband internet to locations where access has been unreliable or completely unavailable.

#Why cloud Providers wants to Integrate to SpaceX Starlink
- The collaboration between Starlink and cloud providers will allow, cloud providers to deliver new offerings for both the public and the private sector. 
- Cloud providers can provide better computing pro capabilities in hybrid or challenging environments, including remote areas.

Some of the key providers are in Race to connect with SpaceX Starlink.

#Microsoft partners with SpaceX Starlink
- Microsoft partners with SpaceX Starlink to connect to Azure cloud on Oct 2020.
- Azure has launched it's new service named Azure Orbital, this will connect satellites with the cloud.
- Starlink will connect with new "Azure Modular Datacenters".

#Google partners with SpaceX Starlink
- GoogleCloud partners with SpaceX Starlink to connect to  Google CLoud on May 2021.
- Starlink satellites will connect with Google’s private fiber-optic network
- SpaceX will install ground stations at Google data centers.

#Amazon: As of now has not partnered with SpaceX starlink  
- How can we forget Amazon when talking about service providers.
- Amazon offers a service to connect its AWS cloud to satellites and is working on a competitor to Starlink called Kuiper.

Stay tuned with me. I love this topic, will continue to publish more.
Useful JQL (Jira Query Language) Dump
Tags: jira, jql
Published: 2021-05-13 22:51:03

I'm playing around with JQL to see what interesting data I can get back from Jira. I'll keep this page updates with more queries as I find them.

Overview and some useful bits:
* `DevProject` is an example project and `DP` being the ID of it
* `DP-Avengers` is a team name 
* `summary ~ help` issues that contains help in summary
* `labels = TechDebt` issues with label TechDebt

Links:
* [Secrets](https://www.atlassian.com/blog/jira-software/jql-secrets-and-shortcuts)
* [Search](https://confluence.atlassian.com/jirasoftware/blog/2015/06/search-jira-like-a-boss-with-jql)
* [Cheat Sheet]( https://cheatography.com/justinbyrne/cheat-sheets/jql-jira-query-language/)

|Description|JQL  |
|--|--|
|List of DevProject tasks with no assignee, open status and was last updated more than 4 weeks ago|`project = DP AND assignee is EMPTY and status = OPEN and updatedDate <= -4w`|
|List of DevProject issues created this week |`project = DP AND created > startOfWeek() and created < endOfWeek()`|
|List of DevProject issues created this year|`project = DP AND created >= startOfYear()`|
|List of DevProject bugs created this year|`project = DP AND created >= startOfYear() AND issuetype = Bug`|
|List of DevProject issues created this year and still open|`project = DP AND created >= startOfYear() AND status = open`|
|List of DevProject support tickets in open sprints |`project = DP AND issuetype = "Support Ticket" AND Sprint in openSprints()`|
|List of open DevProject issues order by oldest first|`project = DP AND status not in(Complete, Closed, Resolved, Done, Declined) ORDER BY created ASC`|
|List of top severity issues in DevProject for Team Avengers created since start of month|`project = DP AND priority = "Sev 1" AND "Engineering Team[Dropdown]" = DP-Avengers AND created >= startOfMonth()`|
|List of level 3 severity issues in DevProject since start of year |`project = DP AND priority = "Sev 3" AND created >= startOfYear()`|
|List of issues in current sprint in DevProject with a story point assigned order by largest value|`project = DP AND sprint in openSprints() AND "Story Points[Number]" IS NOT EMPTY ORDER BY cf[10003] DESC`|
|List of in progress issues in DevProject with empty assignee|`project = DP AND statusCategory = "In Progress" AND assignee IS EMPTY`|
Day 366 : Story
Tags: hiphop, code, coding, lifelongdev
Published: 2021-05-13 22:11:55

_liner notes_:
- Professional : Had a pretty good day. Couple of meetings and worked on this video tutorial. Want to get the tutorial finished this week. Also got to talk with a new team member. They have a really  cool back story.

- Personal : Last night, I went through some tracks for the radio show. Made some updates to my side project. Even got a chance to watch an episode of "Yasuke". I think it was the second to last episode of season 1.

![A mountain side of Carpathian Mountains, Ukraine chain of mountains with some large stones and purple flowers at sundown](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifqrhbcyal90jcpgc60p.jpg)

May work on the video tutorial a little and try to get as much done so I can end my day earlier on Friday. Supposed to be getting some more framing for my van so I may want to start working on that. Want to get more done on my side project and maybe watch the final "Yasuke" episode and listen to some tracks.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube K1i-t6D0c_M %}
ClassCord, verified student-focused discord bot made in Python
Tags: python, discord, beginners, bot
Published: 2021-05-13 21:51:36

A year ago, when I started programming and gained some concepts I decided to create a discord bot to improve my skills. 
I decided to create a bot focused on students and teachers and I didn't think at all that it would be used on so many servers!

### But... what is classcord?
Classcord is a bot designed to focus on the world of education and improve productivity. With classcord we adapt discord to these areas so that any user without high technological knowledge can use it.

### What functions does it have?
Currently it has functions such as a study tracking, the pomodoro method with access to statistics, a reminder system, events...

### What have I learned from this project?
Thanks to the development of classcord I have improved a lot, as it has made me take my first steps in deploys and configurations of VPS, databases, among others... as well as improvement in git.

### Want to try ClassCord?
If you want to try ClassCord here is the [website](https://classcord.me/) to add it!

------



### Are you interested in contributing to the project?
Currently the classcord code is private, but the website is open source so anyone can participate in improving it. I am totally inexperienced in web so any contribution would be great for me! Here is the repo: https://github.com/classcord/classcord-website
Build React and Next applications most fast and efficiently
Published: 2021-05-13 21:49:48

Hello, world. Usually, developers spent a lot of time installing dependencies, creating folders, etc, before having our initial configuration and start working on the application.

The goal of ReexJs CLI is that we can start working on our application without worrying about the initial configuration.

With [ReexJs](https://github.com/a12989x/reexjs-cli/) we can:
- Create a [react.js](https://reactjs.org/) or [next.js](https://nextjs.org/) app.
- Create folders with a list of predefined lists and add custom folders.
- Create routes if your choose react or pages for next.
- Install normal dependencies and dev dependencies.

## Requirements
- [Node Js](https://nodejs.org/)
- An active internet connection for CLI to work.

## How it works
ReexJs use `npx create-react-app <appname>` or `npx create-next-app <appname>` and `spawn` from `child_process` to run one of the two commands.

To create the folders use `mkdirSync` from `fs`, and depending on if you previously choose react.js or next.js folders will be created in different paths, for react.js these will be created in `src/`, and for next.js folder will be created in the root path `/`.

Finally to install the dependencies `spawn` is also used when installing the framework. `npm i <dependencies>` for normal dependencies and `npm i -D <devDependencies>`.

## How to use it
1. Install [ReexJs](https://github.com/a12989x/reexjs-cli/)
    - [Npm](https://www.npmjs.com/): `npx reexjs-cli`
    - [Yarn](https://yarnpkg.com/): `yarn reexjs-cli`
2. Choose the app name. By default is *reexjs-app.*
3. Choose the framework between react.js and next.js.
4. Select predefined folders and add custom folders.
5. Write your normal dependencies and dev dependencies.
6. Finally change the directory and run `npm start` or `npm run dev`.

![intro](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2cknqqh4l4bbkwvc0nxs.gif)


## Conclusion
ReexJs can save us time and start working on our application without worrying about the initial configuration.

So take a ☕ and relax.
<hr />
Thank you for reading 🙏
If you enjoyed this article or found it helpful, give it a thumbs-up 👍, and if you have an idea to improve the application or any type of suggestion please leave it below in the comments 💬. 

Feel free to connect 👋
<a href="https://www.buymeacoffee.com/codax" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-violet.png" alt="Buy Me A Coffee" width="50px" /></a>
Top BAAS (Backend as a service)  for flutter  💙 💙 💙
Tags: baas, flutter, dart, backend
Published: 2021-05-13 21:48:01

Backend as a service (BaaS) is a cloud model that helps developers automate backend development functions and achieve hassle-free cloud infrastructure management. A BaaS service provider is responsible for running servers and performing maintenance.

BaaS gives developers several tools to help them create backend code and accelerate development. Some of the features of BaaS include APIs, file storage, data management, and push notifications. 

### Benefits
* Scalable
* Hassle-free
* Time-saving
* More flexible


### 1. [Firebase](https://firebase.google.com/)
Firebase is a well-known backend platform powered by Google. It has lots of features that enhance the process of web and mobile app development. Firebase is well known for its robust NoSQL database that uses the JSON protocol for data storage actions.

#### Features
* Realtime Database
* Hosting
* Machine Learning
* Analytics
* APIs

Pricing
* Start for free
* Scale under a pay as you go model

[Get started with Firebase on Flutter](https://firebase.flutter.dev/)

### 2. [parseplatform](https://parseplatform.org/)
Parse is an open-source framework for creating application backends with support for many frontend development technologies, including Swift, React Native, Ionic, Java, and Xamarin. Parse can be used to develop mobile, IoT, and web apps.

### Features
* Spreadsheet like database
* APIs (REST and GraphQL)
* Push-Notifications
* Social Login
* Automatic emails

#### Price
* Free tier available
* Paid plans under Pay as you go


[Get started with parse on Flutter](https://pub.dev/packages/parse_server_sdk_flutter)

### 3. [AWS Amplify](https://aws.amazon.com/amplify/)
AWS Amplify another accessible cloud BaaS platform. It is among the most widely-used platforms today.

AWS Amplify offers secure and agile offerings for its global user base. Users can experience fast access to their resources and advanced functionality with this backend service.

#### Features
* Authentication
* GraphQL and REST APIs
* Datastore
* Analytics
* Notifications

#### Price
* Free tier available
* Paid plans under Pay as you go

[Get started with AWS Amplify on Flutter](https://docs.amplify.aws/start/q/integration/flutter)
 

### 4.[Appwrite](https://appwrite.io/)
Appwrite is a self-hosted solution that provides developers with a set of easy-to-use and integrate REST APIs to manage their core backend needs.

#### Features
* Database
* Storage
* Authentication
* Functions
* Console

[Get started with Appwrite on Flutter](https://appwrite.io/docs/getting-started-for-flutter)