teleren/devto huggingface dataset:
kuda ussd code7
Tags: kudaban, transfer
Published: 2023-01-27 12:32:02

[https://www.bankfanz.com/kuda-bank-transfer-code/](https://www.bankfanz.com/kuda-bank-transfer-code/#utm_source=backlinks&utm_medium=search&utm_campaign=darry+ring+us&utm_content=Michelle)

https://plaza.rakuten.co.jp/gtbtransfer2023/diary/202301270000/
https://www.divephotoguide.com/user/Kudaussdcode7
https://www.producthunt.com/@kuda_ussd_code7
https://www.provenexpert.com/kudaussdcode7/
https://vocal.media/authors/kuda-ussd-code6
https://wakelet.com/@kudaussdcode7345
https://www.lifeofpix.com/photographers/kuda_ussd_code7/
https://rosalind.info/users/kuda_ussd_code7/
http://phillipsservices.net/UserProfile/tabid/43/userId/196016/Default.aspx
https://camp-fire.jp/profile/kuda_ussd_code7
https://app.roll20.net/users/11558361/kuda-ussd-code-t
https://seedandspark.com/user/kuda-ussd-code7
https://plazapublica.cdmx.gob.mx/profiles/kuda_ussd_code7/activity
https://www.zintro.com/profile/kuda_ussd_code7
https://peatix.com/user/15699281/view
https://www.metal-archives.com/users/kuda_ussd_code7
https://trabajo.merca20.com/author/kuda_ussd_code7/
https://www.intensedebate.com/people/Kuda_transfer7
https://www.mifare.net/support/forum/users/class3mailjanuary-com
https://pinshape.com/users/2562227-kuda-ussd-code7
https://www.kiva.org/lender/kudaussd9773
https://www.credly.com/users/kuda-transfer-code7/badges
https://www.myminifactory.com/users/kudaussdcode7
https://www.sqlservercentral.com/forums/user/kuda_ussd_code7
https://guides.co/a/kuda-ussd-code7
http://foxsheets.com/UserProfile/tabid/57/userId/119071/Default.aspx
https://storium.com/user/kuda_ussd_code7
https://speakerdeck.com/kuda_ussd_code7
https://www.kompasiana.com/kudatransfercode7
https://www.longisland.com/profile/kuda_ussd_code7
https://leanin.org/circles/kuda-ussd-code71
https://myanimelist.net/profile/kuda_ussd_code7
https://social.msdn.microsoft.com/Profile/kuda_ussd_code7
Best practices for writing clean and maintainable code
Tags: webdev, javascript, beginners, programming
Published: 2023-01-27 12:26:57

Writing clean and maintainable code is essential for any software development project. It helps to ensure that the code is easy to read, understand, and modify, which can save a lot of time and effort in the long run. Here are some best practices that developers can follow to write clean and maintainable code:

Follow a consistent coding style: Consistency is key when it comes to writing clean code. This means using the same indentation, naming conventions, and commenting styles throughout the project.

Keep it simple: Complex code is often harder to understand and maintain. Developers should strive to write simple code that is easy to read and understand.

Use meaningful names: Variables, functions, and other elements should have descriptive and meaningful names that clearly indicate their purpose.

Write comments: Comments can be very helpful in understanding the code, but they should be used sparingly and only when necessary.

Avoid duplication: Duplicate code can make the codebase harder to maintain and can lead to bugs. Instead, developers should strive to reuse existing code and keep the codebase as DRY (Don't Repeat Yourself) as possible.

Break code into small functions: By breaking code into smaller functions, it becomes easier to understand and test.

Properly organize code: Organizing code in a logical and structured manner makes it easier to find and modify.

Test your code: Writing tests for your code can help to ensure that it is working as expected and can be easily maintained over time.

By following these best practices, developers can write clean and maintainable code that is easy to understand, modify, and extend over time.
Trends in UI/UX design for mobile apps in 2023
Tags: ux, webdev, beginners, programming
Published: 2023-01-27 12:16:35

In 2023, we can expect to see a continued focus on simplicity and minimalism in UI/UX design for mobile apps. This trend is driven by the need to improve the **user experience** and make it as easy as possible for users to navigate and find the information they need.

Stay ahead of the game in mobile app development with these top UI/UX trends for 2023:

**Personalization** - creating unique experiences for individual users.

**Microinteractions** - small animations and interactions that enhance the user experience.

**Dark mode** - not only saves battery life but also reduces eye strain.

**Voice-controlled interfaces** - hands-free navigation and control.

**Virtual and augmented reality** - immersive experiences for gaming and e-commerce.

Keep these trends in mind for your next mobile app project and give your users a seamless and cutting-edge experience. Last but not least we have the responsibility to describe the necessity of elemental things of app designing as an **[on-demand app development company](https://www.uplogictech.com/ondemand-app-development-company)**. 

This elemental thing includes color theory, typography, wireframing, branding, responsiveness, and other layout designs.

To know more it: http://bitly.ws/zrJG
My First Console Game in Python: Blackjack.
Tags: python, codecademy
Published: 2023-01-27 12:09:13

Hi there, and thanks so much for taking the time to read my first blog post. In order to re-sharpen my object-oriented and Python programming skills back to their former glory, I have created a basic, but interactive, program that simulates a game of Blackjack between any number of players.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vo7nkoeted7ds5ro19q5.png)

I have taken a decent amount of steps to complete this program/game. For example, the program has been modularized as much as possible, utilizing two classes, 'Game' and 'Player', which primarily hold vital data that is constantly used and updated from the 'main()' function (e.g. player score, player name, game description, etc.). The 'Game' class has a very important class variable in the 'dict_of_cards', which holds a dictionary of available cards; this dictionary is used to pull and remove cards constantly as the game progresses through each round, acting as a sort of dealer, if you will. I have also created a file, 'helpers.py', which is used to keep a multitude of helper functions that the 'main()' function calls; this de-cluttered the 'main()' function significantly, down to 68 lines of code. Lastly, I have imported and used some external Python libraries; particularly the 'random' library, which handles the logic of pulling cards from the card dictionary in a completely unbiased way (As opposed to the built-in 'pop_item()' function, which runs the risk of not re-ordering the dictionary items.).

Here's the GitHub link, if you would like to clone the repository and play the game in your own terminal: https://github.com/kchoward48/CS101_Portfolio.git

This was a really nice step back into object-oriented programming, which I really hadn't done too much of since my days at Purdue University. It was also really nice to practice those skills in my language of choice, Python. Thank you so much for reading, and happy coding.
SwiftAutoGUI: Library for manipulating macOS with Swift
Tags: swift, macos
Published: 2023-01-27 12:08:36

## Introduction
I developed library for manipulating macOS with Swift. In this article, I will explain usage.

If you think it's good, star me!

{% embed https://github.com/NakaokaRei/SwiftAutoGUI %}

## Installation
SwiftAutoGUI is available through [Swift Package Manager](https://www.swift.org/package-manager/).　

in `Package.swift` add the following:

```swift
dependencies: [
    // Dependencies declare other packages that this package depends on.
    .package(url: "https://github.com/NakaokaRei/SwiftAutoGUI", branch: "master")
],
targets: [
    .target(
        name: "MyProject",
        dependencies: [..., "SwiftAutoGUI"]
    )
    ...
]
```

## Example Usage
### Keyboard
By calling a method of the SwiftAutoGUI class as shown below, you can send key input commands to macOS. Supported keys are written in [Keycode.swift](https://github.com/NakaokaRei/SwiftAutoGUI/blob/master/Sources/SwiftAutoGUI/Keycode.swift).

As shown in the sample below, you can also input shortcuts, such as moving the virtual desktop by sending the command `ctrl + ←`.

```swift
import SwiftAutoGUI

// Send ctrl + ←
SwiftAutoGUI.sendKeyShortcut([.control, .leftArrow])

// Send sound up
SwiftAutoGUI.keyDown(.soundUp)
SwiftAutoGUI.keyUp(.soundUp)
```

### Mouse
Similarly, mouse operations can generate basic commands such as mouse movement, clicking, and scrolling by invoking methods of the SwiftAutoGUI class.

```swift
import SwiftAutoGUI

// Move mouse by dx, dy from the current location
SwiftAutoGUI.moveMouse(dx: 10, dy: 10)

// Click where the mouse is located
SwiftAutoGUI.leftClick()

// Scroll
SwiftAutoGUI.vscroll(clicks: 10) // up
SwiftAutoGUI.vscroll(clicks: -10) // down
SwiftAutoGUI.hscroll(clicks: 10) // left
SwiftAutoGUI.hscroll(clicks: -10) // right
```

## Conclusion
In the future, we would like to add JIS keyboard support, support for other operating systems, and events.
How we deployed 9 years old project to AWS Lambda
Tags: webdev, aws, laravel, php
Published: 2023-01-27 12:03:45

## It was the most challenging task for me since we migrated to AWS in 2020. It took more than 3 months  to migrate completely. 
And here are 7 parts of my checklist and working plan how to do this without downtime and crashes. 


###1️⃣Part 1. Development and QA 
####_(November - December)_

1. Clean code from large files
2. Remove all unnecessary js/images/css
3. Optimize page speed 
4. Configure dockerfile 
5. Prepare stage environment
6. Verify on test data that everything is working 
7. Fix bugs

###2️⃣Part 2. Pre-Production: 
####_02.01-18.01.2023_

1. Prepare preproduction (same data but different urls)
2. Disable queues/scheduler for pre production (to prevent problems with data - data
3. Verify on real data that 
4. Fix issues

###3️⃣Part 3. Deploy code 
####_17.01.2023_  

1. Deploy New code to old servers
2. Verify everything is working 
3. Monitor full day and fix issues 

###4️⃣Part 4. Deploy Queues Workers and Scheduler the production 
####_18.01.2023_

1. Reconfigure queues to push to SQS (on old servers)
2. Deploy only queues workers and scheduler on Vapor 
3. Stop old Redis queues workers (on old servers)
4. Verify everything is working 
5. Monitor logs : Full day

###5️⃣Part 5. Deploy http: internal api and accounts management 
####_19.01 (Friday 🤯)_

1. Reconfigure preproduction domains in Vapor to production
2. Change DNS Cname on Cloudflare 
3. Verify everything is working 
4. Monitor load and logs full day + weekends

###6️⃣Part 6. Deploy admin (orders monitoring + content management system) 
####_24.01.2023_

1. Reconfigure preproduction domains in Vapor to production
2. Change DNS Cname on Cloudflare 
3. Verify everything is working 
4. Monitor load and logs full day

###7️⃣Part 7. Monitoring and optimization 
####_24.01-01.02_
1. Optimize order monitoring pages: reduce html volume(lambda limit - 5mb per page) 
2. Optimize archive statistics reports - lambda limit - 30 seconds timeout 
3. Monitor load 

---


It is just a quick overview of what was done, and there were a lot of challenges on each step. 5 and 6 were the easiest one. And 4 was the most stressful for me since it was tremendous change of architecture and there wasn’t chance for mistakes.

Despite of overwhelming count of challenges it was one of the most valuable contribution in the Dots architecture and future development. Therefore, I can tell a lot of Stories about difficulties and there solutions.

All in all, good team work helped us to find all issues before they went live. And a good plan ensured to deploy with minimal risks. 


￼
Unleashing the Power of Julia: Top 5 Must-Have Packages
Tags: julialang, programming, beginners, packages
Published: 2023-01-27 12:01:05

Julia is a high-performance programming language designed for numerical computing, data science, and scientific computing. It is known for its speed, ease of use, and flexibility. Julia has an active community of developers and users, which has resulted in the development of many useful packages. In this blog, we will take a look at the top 5 Julia packages that every data scientist or scientist should know about.

## [DataFrames.jl](https://dataframes.juliadata.org/stable/)
This package is an essential tool for data manipulation and analysis. It provides a data frame structure that is similar to the one in R and Python, making it easy for users to switch between different languages. DataFrames.jl also supports various data types, including CSV, Excel, JSON, and SQL.

## [PyPlot.jl](https://github.com/JuliaPy/PyPlot.jl)
PyPlot.jl is a plotting package that is based on the popular Python library, Matplotlib. It provides a wide range of plotting options, including line plots, scatter plots, histograms, and heatmaps. PyPlot.jl also supports different output formats, including PNG, PDF, and SVG.

## [Optim.jl]()
Optim.jl is a package for optimization and nonlinear programming. It supports various optimization algorithms, such as gradient descent, conjugate gradient, and Newton's method. Optim.jl also supports multiple-objective optimization and nonlinear constraints.

## [JuMP.jl](https://julianlsolvers.github.io/Optim.jl/stable/)
JuMP.jl is a package for mathematical programming. It provides a modeling language that allows users to express optimization problems in a natural and intuitive way. JuMP.jl also supports various solvers, such as Gurobi, CPLEX, and IPOPT.

## [MLJ.jl](https://alan-turing-institute.github.io/MLJ.jl/dev/)
MLJ.jl is a machine learning package that provides a unified interface for various machine learning libraries, such as Flux.jl, MLDataPattern.jl, and ScikitLearn.jl. MLJ.jl also supports model selection, tuning, and evaluation.

In conclusion, Julia is a powerful programming language that is suitable for a wide range of applications. The above-mentioned packages are just a few of the many available in the Julia ecosystem. They provide a great starting point for data scientists, scientists, and engineers who want to take advantage of Julia's speed and flexibility. With these packages, you can easily manipulate and analyze data, plot and visualize results, optimize models, and perform machine learning tasks.
Strapi: Fast and Easy to use CMS with bunch of cool features
Tags: webdev, strapi, beginners, javascript
Published: 2023-01-27 11:59:39

{% youtube HSbOOgBX7f0 %}

The new episode about Strapi is already on the Frontend House Youtube channel and website. Our frontend developers Aleksandra and Bartosz talk through the features of Strapi, show some of their recent Strapi projects and discuss if it is worth switching to Strapi.

Watch or read the article at [Frontend House](https://frontendhouse.com/experts-zone/strapi-fast-and-easy-to-use-cms-with-bunch-of-cool-features-experts-zone-30).
You need a manifesto
Tags: code, development, programming, codecraft
Published: 2023-01-27 12:01:16

---
title: You need a manifesto
published: true
date: 2023-01-27 11:53:00 UTC
tags: code,development,programming,codecraft
canonical_url: https://craignicol.wordpress.com/2023/01/27/you-need-a-manifesto/
cover_image: https://craignicol.files.wordpress.com/2020/03/wp-1583529282998.jpg?w=1200
---

_My software engineers’ manifesto:_

1. We write software to solve problems, not to create them.
2. We write software for everyone.
3. Those who don’t write software have things we can learn from.
4. Always leave the project better than you found it.
5. Sometimes the best contribution you can make is not writing code.
6. Sometimes the best contribution you can make is deleting code.
7. Sometimes the best contribution you can make is by talking to someone.
8. Software is inclusive. Women broke the Enigma code, and black women got us to the moon.
9. If you don’t hate in 5 years what you’ve written today, you haven’t learned enough.
10. If you don’t have compassion for whoever wrote that code 5 years ago, you haven’t learned enough.
11. If anyone can’t use your software, that’s a bug. Prioritize accordingly.
12. [Overtime is a bug.](https://dev.to/craignicol/unsuccessful-teams-5b59)
13. Debug your processes with as much attention to detail as you debug your code.
14. Asking for help is a sign of strength.
15. Work with the best. Don’t lower your standards to only work with straight cis white men.
16. Be pragmatic. Shipped code is far more useful than perfect code, but if you can have both, [future you will thank you](https://dev.to/craignicol/what-are-you-doing-now-that-your-future-self-will-thank-you-for-5b5b).

_Inspired by: You Need A Manifesto [https://pca.st/episode/33cb401f-a028-4de2-b20d-ec2c96f2b019](https://pca.st/episode/33cb401f-a028-4de2-b20d-ec2c96f2b019)_
Flatten a json file: simple command line utility written in Javascript
Tags: javascript, node, bash
Published: 2023-01-27 11:51:24

For a long time I needed a simple utility to flatten json files, (so that I could do a "grep" for "basket.fruits.?.apple." for instance), but I couldn't find one like I wanted. The issue is, json objects are multi-line, and locating specific nodes is difficult with single-line search tools like grep. (Yes, there are some ways and tools for doing that.)

As json objects are natively supported in Javascript (json = JavaScript Object Notation, after all), I wanted to try writing one with js, which turned out to be quite easy to implement. It also uses recursion.


**How to run the script from command line:**
```$ node json_flatten.js a.json```

Then you can easily filter the output with "grep" to include or exclude certain keys or values, for instance.

**The input file "a.json":**
```json
{
  "basket": {
    "fruitCount": 2,
    "fruits": [
      {
        "apple": {
          "colour": "red",
          "weight": "100g"
        }
      },
      {
        "pear": {
          "colour": "green",
          "weight": "150g"
        }
      }
    ]
  },
  "totalValue": "123.45"
}
```


**Output:**

```text
basket.fruitCount: 2
basket.fruits.0.apple.colour: red
basket.fruits.0.apple.weight: 100g
basket.fruits.1.pear.colour: green
basket.fruits.1.pear.weight: 150g
totalValue: 123.45
```


**The script:**
```js
// Example call from command line:
// $ node json_flatten.js a.json
// ------------------------------------
// GLOBALS:
const keyArray = [];

// ------------------------------------
// READ JSON FROM FILE:
// Note: do not import the json file directly,
// because if the file includes any js code,
// that will be executed too, which is a security risk.
if (process.argv.length < 3) {
  console.log("*** Error: specify a json file");
  process.exit(1);
}
const filename = process.argv[2];

const fs = require("fs");
const file = fs.readFileSync(filename, "utf8");
var json = JSON.parse(file);

// ------------------------------------
const printObjectEntries = (entries) => {
  for (let entry of entries) {
    const [key, value] = entry;

    if (typeof value !== "object" || value === null) {
      const keysPrefix = keyArray.length ? keyArray.join(".") + "." : "";
      console.log(keysPrefix + key + ":", value);
    } else {
      printObject(key, value);
    }
  }
};

// ------------------------------------
const printObject = (key, value) => {
  const entries = Object.entries(value);

  !!key && keyArray.push(key);
  printObjectEntries(entries);
  !!key && keyArray.pop();
};

// ------------------------------------
// MAIN:
printObject("", json);
```
Moodle App Docker Images
Tags: moodle, docker, compose
Published: 2023-01-27 11:43:46


## Moodle

![Moodle Docker](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4nvzmzgppn37ddb5m7cf.png)


## How to use this image:

1.Download the image from dockerhub
```
docker pull zakery1369/moodle:[tag]
```
2.Clone or download all files from  [GitHub Page](https://github.com/zakery1369/moodle/)
3.Download moodle.tar.gz from [Moodle Downloads](https://download.moodle.org/)
4.Extract moodle-xx.tar.gz to the following directory:
```
/var/www/html/moodle
```
5.Run the command below :
```
docker-compose up -d
```
6.Open up your web browser, and proceed to the following address to start the installation ( Remember that my configuration will start the server at port 80, in case you want to change the hostname/port, proceed to the next section to customize this image )

```
127.0.0.1
```
7.In the Database settings, adjust the following :
```
Database host = mysql
Database name = moodle
Database user = moodle
Database password = 147258369
Tables prefix = mdl_
Database port = 3306
Unix socket = it's blank
```


## Customize this image

- Use domain with SSL and change Nginx configurations
in the files downloaded from this [GitHub Page](https://github.com/zakery1369/moodle/)

1.In this directory, uncomment the lines in the ``moodle.conf`` and replace your domain with **example.com**
```
/nginx/conf.d/moodle.conf
```
2.Following the guides from [Letsencrypt](https://letsencrypt.org/getting-started/) (certbot), copy the privkey.pem and fullchain.pem to the following directory. (Remember that from the previous step, the cert files names should correspond with these config file) :
```
/nginx/conf.d/certs
```
3.In case you want to configure your Nginx, you can find the config file in the following directory :
```
/nginx/nginx.conf
```

- Change mysql configurations

1.Customize your configs in the following file :
```
/mysql/my.cnf
```
2.Change the mysql environment variables in the docker-compose.yml file :
```
environment:
        MYSQL_ROOT_PASSWORD: 147258369
        MYSQL_DATABASE: moodle
        MYSQL_USER: moodle
        MYSQL_PASSWORD: 147258369
```
- Change php-fpm configurations

Add your customized configurations in these files :
```
/php-fpm/php.ini-development
/php-fpm/php.ini-production
/php-fpm/www.conf
/php-fpm/php.ini
```

- Exposing external port

Edit docker-compose.yml to change the exposed ports :
``` 
ports:
     - 80:80
     - 443:443
```