teleren/devto huggingface dataset:
An important lesson I learned
Published: 2023-06-27 08:53:03

Hello!! again my name is Mugisha Ghad the young boy.
I'm back again with my new story that talks about an important lesson I learned.
Remember in the story of my life I have been telling you about how I learned at the secondary level, where in A 'level  I studied History, Economics, and Geography but in both lessons I learned I like History more than geography and economics because History it helps to know some history of different countries, especially in RWANDA, History help me to know what happened in Rwanda during 1959 and 1994, it's not in Rwanda only I had studied how First and second world wars was started and done. 
it also helps me to know the different revolutions of the world during 19s and 20th centuries. 
In a few words that is a reason why I like HISTORY.
THANK YOU!!!!
Advancing AlgebraicJulia
Tags: julialang, mozilla, sciml
Published: 2023-06-27 08:50:12

Cross-posted from [Julia Forem](https://forem.julialang.org/gabrielfallen/advancing-algebraicjulia-329a)

Looks like the [Topos Institute](https://topos.institute/) got a grant from Mozilla to further develop [AlgebraicJulia](https://www.algebraicjulia.org/): https://blog.mozilla.org/en/mozilla/mieco-alegbraic-julia-brendan-fong/

AlgebraicJulia is a damn cool project. They use advanced categorical notions like cospans and what not as a basis for compositional modelling of physical-chemical-biological-epidemiological-etc. processes. But on the surface they use good 'ol "stock and flow" diagrams that are supposed to be drawn by unsuspecting scientists, possibly from different fields. That's where compositionality becomes crucial: it guarantees that combination of any two (or more) diagrams works as expected without falling apart.

I can only speculate why they decided to use Julia for this development, but my guess is to tap into rich ecosystem of [Differential Equations](https://sciml.ai). Which is necessary as long as "stock and flow" diagrams (as well as many other formalisms) define a system of differential equations modelling dynamics of a real-world processes.

Anyway, as long as Mozilla's [MIECO](https://future.mozilla.org/mieco/) program accepts and supports individual contributors, you can get paid for developing Category Theory in Julia! How crazy is that, huh? :smile:
My Android Learning Journey: Day 1
Tags: android, developer, beginners, kotlin
Published: 2023-06-27 08:38:19

---
title: My Android Learning Journey: Day 1
published: true
description: Welcome to my Android learning journey!
tags: android, developer, beginner, kotlin
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qo4enaeav04njek1wv0f.png
# Use a ratio of 100:42 for best results.
# published_at: 2023-06-27 06:55 +0000
---

##

After thinking about this for a really long time (10 minutes), I decided to publicly share my journey of learning Android!

I've been jumping around technologies for quite a while now. Although I understand all of them, I'm still searching for the infinity stone of confidence to build something. But for now, I've resolved I'll stick to Android.

So, I've created this friend group to learn Android together. This isn't the first time I've tried to create a friends group to learn something together but none lasted more than a few weeks. With all I've learned from those groups, I hope to keep this one alive until we achieve our goal, if not forever.

And, for today's progress, I started with the course [Android Basics with Compose](https://developer.android.com/courses/android-basics-compose/course). The course is divided into 8 units. Each unit is further divided into several pathways

I completed the first pathway of the first unit which has 3 pathways in it. It's called [Introduction to Kotlin](https://developer.android.com/courses/pathways/android-basics-compose-unit-1-pathway-1). It started off with a video of the course team greeting and an overview of the course.

Having practiced so many programming languages, Kotlin didn't seem any new. If you have experience with any other programming language, it would definitely come in quite handy. And, even if you don't have any experience, it wouldn't be so tough to learn it. Thanks to the super-detailed explanation from the course team, they explained everything in clear detail with visualizations that you'd usually see on basic programming courses.

They also included coding challenges which you'll have to copy and paste into the [Kotlin Playground](https://developer.android.com/training/kotlinplayground) and run to see the output. I just wish they could've just integrated it into the lessons where it could also run test cases like other platforms. But that isn't really a deal breaker for me as long as it's free 😁.

The pathway ended with a video and a quiz, after which you'll receive a cool-looking badge. Here's mine for the day:
![Introduction to programming in Kotlin](https://developers.google.com/static/profile/badges/playlists/android/android-basics-compose-unit-1-pathway-1/badge.svg)

Visit it [here](https://developers.google.com/profile/badges/playlists/android/android-basics-compose-unit-1-pathway-1)

Are you an Android Developer? or are you on the journey to becoming one? I'd really love to know about your experience, learning journey, and your thoughts. Drop them in the comments and let's talk!

That's all for today.
Sigh, in the age where everyone's using AI to write their posts, I spent 20 minutes writing this one.
A special family tradition
Published: 2023-06-27 08:28:48

My name is Mugisha Ghad, I'm going to share with you  A special family tradition which was:
1. Telling a story every night.
2. drinking together as a family.
3. Taking a walk together.
4. Throwing a family dance party.
5. Putting on a family game night.
6. The prayers of the family.
This was based on my family, point one my family members every night attended there at home to listen the one's stories of her/his life, after leaving home, because some of them were married.
after hearing the story of a family member, we continue to drink different beers, juice, etc.
at point three about the walk together, as a family we also prepare a journey, here I remember in July of 2023 we go to the Bugesera district as a family to visit my grandmother, it was an amazing day because it was the first time I see May grandmother in my eyes, I'm surprised, but there was anything I can't forget when we are reaching there my grandmother she doesn't know me!! she told me, I know you since the age of four years, but just now you're so old, it's not easy to know you.

here is point four:
In my family, we like to celebrate together when we are happy, we celebrate through dancing, novels, comedy, and singing songs all of that help my family to enjoy life because life it's so short.

I can say more and more but let's stop here thank you for reading my family tradition may God bless everyone.
Bitfinity Network (EVM) GRANT Up to $25k
Tags: ethereum, blockchain, web3
Published: 2023-06-27 08:23:05

**Overview**
Whether you’re an individual looking to use one of the projects or a developer wanting to build on Bitfinity Network (EVM), now is the time to get started.😊

Bitfinity Network is a Cross-Chain EVM with smart contract extensions. Leveraging the Internet Computer’s unique capabilities, devs have the potential to create groundbreaking projects across various sectors, from DeFi and prediction markets to voting systems and cross-chain communication solutions.

**Benefits**

✓Open-Source Adaptation: supports Solidity smart contracts and tooling (Truffle, Hardhat, Remix etc) out of the box; compatible with Metamask!

✓Optimized Performance: the efficient virtual machine rivals numerous Ethereum Layer 2 solutions, ensuring that you can build and deploy your projects with unparalleled speed and efficacy.

✓Outcalls Unleashed: Replace oracles with the Internet Computer’s (IC) HTTP outcalls
Seamless Integration: Connect with Bitcoin (and Ethereum)

✓Boundless Scalability: optimal transaction throughput and cost-efficiency with Bitfinity Network’s EVM multi-canister architecture

✓Comprehensive Support and Resources: our team has been working on a wealth of resources and documentation.

**Get Started**

Kickstarting the ecosystem, Please make sure to join the discord channel and introduce yourself in the **Dev Discussion Channel** tagging Moderator **dipobitfinitynet** to get you onboard.

NB:
Please Note, Moderator **dipobitfinitynet** will have your details penned on acquaintance and forwarded to the appropriate Heads

Discord: Discord 2
https://discord.gg/Bitfinity 2

See You in the Discord Server 🤝
Maximize Data::Printer strings length
Tags: perl, debugging, dumper, dataprinter
Published: 2023-06-27 08:22:47

The Perl data structures and objects pretty printer [`Data::Printer`](https://metacpan.org/pod/Data::Printer) would trim strings longer than `4096` characters (this is the default value). 

This is something that can be parameterized in the `~/.dataprinter` file:

```conf
# No limit!
string_max        = 0
```

This default is sensible, though, because you usually don't want the program output to fill with too much text.

It might be necessary to change this value, only in a specific place. You can pass a false value to `string_max` to display the whole string fields:

```perl
p $object_with_long_string_values, string_max => 0;
```

More information can be found in the [module *Customization* section](https://metacpan.org/pod/Data::Printer#CUSTOMIZATION), along with all the available configuration parameters.
技术网站
Tags: website, developers
Published: 2023-06-27 07:51:59

技术博客

- [DEV](https://dev.to/)
- [Medium](https://medium.com/)
- [Hashnode](https://hashnode.com/)
- [HackerNoon](https://hackernoon.com/)
- [Freecodecamp](https://www.freecodecamp.org/)
- [Indie Hackers](https://www.indiehackers.com/)

技术论坛
- [Stack Overflow](https://stackoverflow.com/)
redirecting the application in to new tab on click of anchor tag
Published: 2023-06-27 07:34:22

I am using testNg with selenium for UI automation and after running 1 - 2 test cases when executing 3rd test case webdriver is redirecting application to new tab on click of anchor tag. could some one help with root cause of the issue or aware about solution which can help prevent redirecting the application in to new tab on click of anchor tag.
The Future of PostgreSQL and the Role of EDB BigAnimal
Tags: postgres, biganimal, apacheage
Published: 2023-06-27 07:28:50

PostgreSQL is an open-source relational database management system (RDBMS) that has been growing in popularity in recent years. It is known for its scalability, performance, and flexibility, and it is a good choice for a wide variety of applications.

The future of PostgreSQL looks bright. The database is constantly being developed and improved, and it is gaining more and more traction in the enterprise market. As more and more organizations move to the cloud, PostgreSQL is well-positioned to benefit from this trend.

EDB BigAnimal is a cloud-based PostgreSQL service that is offered by EnterpriseDB. It is a fully managed service that provides high availability, scalability, and performance. EDB BigAnimal is a good choice for organizations that want to deploy PostgreSQL in the cloud without having to worry about the underlying infrastructure.

The future of EDB BigAnimal is also bright. As more and more organizations move to the cloud, EDB BigAnimal is well-positioned to grow. The service is constantly being improved, and it is becoming more and more affordable.

In the future, PostgreSQL and EDB BigAnimal will play an increasingly important role in the database market. PostgreSQL is a powerful and versatile database that is well-suited for a wide variety of applications. EDB BigAnimal makes it easy to deploy PostgreSQL in the cloud, and it offers a number of features that make it a good choice for enterprise deployments.

Here are some of the key trends that will shape the future of PostgreSQL and EDB BigAnimal:

* **The growth of the cloud:** As more and more organizations move to the cloud, PostgreSQL and EDB BigAnimal will become more popular.
* **The increasing demand for scalability and performance:** Organizations are increasingly demanding more scalable and performant databases. PostgreSQL and EDB BigAnimal are well-positioned to meet this demand.
* **The growing importance of security:** Security is becoming increasingly important for databases. PostgreSQL and EDB BigAnimal offer a number of security features that make them a good choice for organizations that need to protect their data.

Overall, the future of PostgreSQL and EDB BigAnimal looks bright. The database is well-positioned to benefit from the growth of the cloud and the increasing demand for scalability and performance. EDB BigAnimal is a good choice for organizations that want to deploy PostgreSQL in the cloud without having to worry about the underlying infrastructure.
Getting JSON with TypeScript types from ChatGPT response
Tags: chatgpt, typescript
Published: 2023-06-27 07:18:54

I updated [completions](https://github.com/lucgagan/completions) library to allow statically typed responses:

```ts
const response = await chat.sendMessage("Suggest a random startup name", {
  expect: {
    // These are the examples of what
    // the response should look like.
    examples: [
      {
        name: "OpenAI",
        domain: "openai.com",
      },
    ],
    // This is the schema that the
    // response must satisfy.
    schema: {
      additionalProperties: false,
      type: "object",
      properties: {
        name: { type: "string" },
        domain: { type: "string" },
      },
      required: ["name", "domain"],
    },
  },
});
```

Now the `response.content` value's type is:

```
{
  name: string;
  domain: string
}
```

Behind the scenes, the SDK will use the `expect` parameter to generate a prompt that will be sent to the API. The prompt will look like this:

```markdown
Suggest a random startup name

Respond ONLY with a JSON object that satisfies the following schema:

{
  "type": "object",
  "properties": {
    "name": { "type": "string" },
    "domain": { "type": "string" },
  },
  "required": ["name", "domain"],
}

Examples:

{
  "name": "OpenAI",
  "domain": "openai.com"
}
```

The SDK will parse the response and validate it against the schema. If the response is invalid, it will throw an error. If the response is valid, it will return the response.

```ts
response.content;
// {
//   name: "Dex",
//   domain: "dex.com",
// }
```

This abstraction makes it easy to get JSON response from ChatGPT and you get a typed result!
Unlocking the Potential of Online Education with LMS Monks
Published: 2023-06-27 07:13:55

In today's digital age, online education has emerged as a powerful tool for learning and knowledge acquisition. With the right Learning Management System (LMS), educators and learners can harness the full potential of this transformative educational approach. Enter LMS Monks – a comprehensive and innovative platform designed to revolutionize online education.

LMS Monks is more than just an LMS; it is a gateway to a dynamic and engaging learning experience. With its user-friendly interface, educators can effortlessly create and manage interactive courses, upload multimedia content, and track student progress. The platform empowers instructors to focus on what they do best – teaching – by streamlining administrative tasks and providing robust tools for course customization.

What sets LMS Monks apart is its commitment to personalized learning. Recognizing that every student is unique, the platform offers tailored learning paths that cater to individual needs and learning styles. Whether it's self-paced learning, collaborative activities, or immediate feedback on performance, LMS Monks ensures that students have the resources and support they need to succeed.

Data security is paramount in today's digital landscape, and LMS Monks takes it seriously. The platform employs state-of-the-art encryption, secure hosting, and stringent compliance measures to protect user data and content. Educators and students can have peace of mind knowing that their information is safe and secure within the LMS Monks ecosystem.

Furthermore, LMS Monks goes beyond its features and functionality to offer exceptional customer support. Their dedicated team is always ready to assist users with any questions or technical issues that may arise. The goal is to ensure a seamless and positive experience for educators and students alike.

With LMS Monks, the potential of **[online education system](https://www.lmsmonks.com)** is truly unlocked. It empowers educators to create impactful learning experiences and enables students to engage in personalized, interactive, and collaborative learning. Whether you're an individual educator, a school, or an educational institution, LMS Monks is the key to embracing the future of education.

Embark on a journey of transformative online education with LMS Monks and witness the power of knowledge unfold before your eyes. Together, let's redefine the way we teach and learn, embracing technology and innovation for a brighter educational future.
Deploying FastAPI app with Google Cloud Run
Tags: fastapi, cloudrun
Published: 2023-06-27 07:13:22


## **Introduction**

This post explains how to deploy a FastAPI app using Google Cloud Run.

## **Prerequisites**
- Google Cloud account
- gcloud CLI
- Docker
- Python

---

## **Project setup**
Create a FastAPI app using Poetry.

```
pip install poetry
poetry new sample
cd sample
mv sample app
cd app
poetry add fastapi
poetry add 'uvicorn[standard]'
```

Create app/main.py

```
touch app/main.py
```
Edit main.py as follows
```
# main.py

from fastapi import FastAPI

app = FastAPI()


@app.get("/", tags=["root"])
async def root():
    return {"message": "Hello World"}
```

Run it in uvicorn
```
poetry shell
uvicorn app.main:app --reload
```

---

## **Google Cloud Run setup**

If you have already installed gcloud CLI, update it as follows.
```
gcloud components update
```

Connect the gcloud CLI to your GCP account.
```
gcloud auth login
```

Set up your project ID
```
gcloud config set project PROJECT_ID
```

Region settings
```
gcloud config set run/region REGION
```

Docker settings
```
gcloud auth configure-docker
```

Prepare Dockerfile in the same hierarchy as the app directory.
```
FROM python:3.11.3
ENV PYTHONUNBUFFERED True

RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install --no-cache-dir -r  requirements.txt

ENV APP_HOME /root
WORKDIR $APP_HOME
COPY /app $APP_HOME/app

EXPOSE 8080
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]

```

Prepare requirements.txt file for Dockerfile.
(In this case, use requirements.txt in the Dockerfile.)
```
poetry export -f requirements.txt --output requirements.txt
```

Now that it is ready, deploy to Cloud Run.
```
gcloud run deploy sample --port 8080 --source .
```

If successful, it will be created with the name sample.
A URL will be created, so check the operation.

---

## **Conclusion**

With the above, you can now deploy your FastAPI app to Google Cloud Run.

Although the details are omitted here, it would be a good idea to actually add CORS and headers in middleware and implement an authentication function such as Firebase Authentication.

**Note:** The path to import must be specified from the app directory.

Example: app/lib/test.py 
```
# app/main.py
from app.lib import test
```
Optimize Project Performance with SAP Business One
Tags: sapb1projectmanagement
Published: 2023-06-27 07:04:52

Project management plays a crucial role in the growth of any enterprise. In this challenging time, enterprises, irrespective of their business models can stay ahead of the curve with robust project management practices. In this blog, we are going to discuss how a reliable and enterprise-friendly ERP software SAP Business One manages all projects effectively in one system. But, before moving ahead, let’s go through the key objectives of [project management.](https://sap.silvertouch.com/blog/how-sap-business-one-contributes-to-successful-project-management) 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ytatexyipqjnncudvod.jpg)

##Importance of Project Management in Modern Enterprises
Project management is not limited to assigning and monitoring tasks. These days, project management has multiple roles to play in enterprises across different industry verticals. Effective project management can handle all transactions, activities or processes, and resources. It is possible to make informed decisions in real-time and bring more flexibility to the company with the help of project management. 

Other major benefits of project management include more accountability, transparency, and on-time project completion. It can give companies a competitive edge over peers and assist to save big on resources and money. These days, start-ups and SMEs are looking for integrated project management software with user-friendly features to stay ahead of the curve. SAP Business One can meet this need by offering an inexpensive alternative to the Add-ons. 

##How Project Management in SBO standard includes various areas of enterprises?

Project Management for SAP Business One has an integrated ERP solution for SMEs with cost-effective software. It also allows mobile data access, to enable entrepreneurs and project managers to monitor all business processes on the move. Both web and mobile versions of the standard Project Management system in SAP Business One can perform the following functions-

* Evaluation of various business reports
* Ensure uniform administration of business partners
* Enhance transparency in processes and costs
* Perform process management in one place

SAP Business One Project Management is specifically designed to meet the diverse requirements of small and mid-sized service companies that are engaged in various projects. It offers the complete workflow under a uniform UI. Users can easily perform various tasks related to project management including data entry, invoicing, and financial analysis with the help of the Project Management software of SAP B1. 

With up-to-date access to all necessary information and real-time data, project managers can make informed decisions instantly and meet the deadlines for every project. Let’s understand the core functions of SAP Business One Project Management in brief. 

##For more info, contact us-

[https://sap.silvertouch.com/](https://sap.silvertouch.com/)
Contact: +91 99789 22159
Email: sap@silvertouch.com