teleren/devto huggingface dataset:
Writing Resume as Code - Why not?
Tags: development, opensource, webdev
Published: 2023-10-13 06:29:48


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


## Why I Developed Resume as Code

I've explored various CV builder platforms over the years.
However, I encountered a host of issues that left me unsatisfied.
These issues included the inability to format my content precisely the way I wanted and a limited choice of components to truly showcase my skills and experiences.
Furthermore, transitioning between different platforms requires me to manual copy-pasting of my data.

These problems inspired me to create the `"Resume as Code"` tool. I envisioned a resume builder that could accept input in the form of a structured data format, such as `JSON` or `YAML`, and utilize the simplicity and versatility of `Markdown` to craft content. In doing so, users could effortlessly export their own data, then import to other tools that use the same structure that including other Resume builder tools. We can build a ecosystem together.

## The main features

#### 1/ Powered by Markdown Format

Markdown is a simple and widely-used formatting language, making it easy for users to create and edit their resumes. Whether you're a beginner or a seasoned coder, Markdown is a user-friendly choice.

#### 2/ Write with Familiar Language by YAML

Writing your resume in YAML, a human-readable data serialization format, ensures that your resume content is both structured and intuitive. 

#### 3/ Manage Multiple Resumes
For those with diverse skill sets or looking to apply for various positions, `"Resume as Code"` enables you to manage multiple resume.

#### 4/ Easy Export and Sharing

After writed and saved Resume, you can export to not only PDF but also JSON or YAML.

#### 5/ You Own All Your Data

I understand the importance of privacy and data ownership. Unlike other online platforms, `"Resume as Code"` stores all your data locally, ensuring that your sensitive personal and professional information remains in your control.

### Let’s try it out
https://topcv.vercel.app/

### Opensource

I've just published the source code here: 

https://github.com/huantt/resume-as-code
Lambda API Gateways Are Dangerous
Published: 2023-10-13 06:29:06

There is a **30 second timeout limit** for AWS API Gateway.

Meaning, your code will stop running after 30s. If it is doing a longish calculation by that time, it will **stop running immediately, without running any cleanup code**.

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

**This is really bad**, especially since NextJS popularized running lambda APIs so they are becoming more common nowadays.
Exploring the Benefits of Working with Commercial Financing Companies
Published: 2023-10-13 06:27:57

When it comes to making important financial decisions, working with a reliable and knowledgeable commercial financing company can be a great choice. These companies specialize in helping businesses secure the necessary funds to expand and grow. With years of experience and expertise in this field, they can help you make the best decisions for your business.

In this forum, let's explore the various benefits of working with **[commercial financing companies](https://cmsfunding.com/working-capital-loan/commercial-financing/)**. From understanding the different types of financing options to exploring the advantages of working with a qualified team of experts, it's important to know how these companies can help make your business dreams a reality.

We'll also discuss the potential risks associated with commercial financing and how to protect yourself and your business. We'll also cover topics such as the importance of researching different financing companies and the pros and cons of different financing options.

Let's get started and share our experiences, questions, and insights on working with commercial financing companies.
Where is the reach?
Tags: devto, webdev, javascript, beginners
Published: 2023-10-13 06:25:41

Hello **Guys,**

Hope you guys are doing well!

I have around 700 followers on devto.

I just wanted to know why the my posts are not getting proper reach?

**_My last 2 posts has only < 25 views._**

I have around _**70,705 **_views on my 25 posts.

Please let me know if you have any idea why its like that ?

Thanks
Audit H/M report Summary from Ondo code4rena
Tags: solidity
Published: 2023-10-13 06:07:27

## 1.Chain support chain cannot be removed or cleared in bridge contracts.
Contracts provide a way to add support for a chain; however, they do not provide a way to delete it.
When a contract offers an addition method, it's important to consider whether it should also provide a deletion method

## 2.Contract use msg.sender as remote chain receiver when bridge token.
AA wallet like safe has different wallet address on different chains.
This vulnerability requires us to be familiar with some commonly used third-party tools in order to discover it

## 3.Two different transactions can result in the same txnHash value, thus breaking the approval process of transaction minting
```solidity
txnHashToTransaction[txnHash] = Transaction(srcSender, amt); 
```
Consider whether the keys in similar mappings are always unique?

## 4.Admin can’t burn tokens from blocklisted addresses because of a check in _beforeTokenTransfer
The burn operation prematurely calls the beforeTransfer function, but beforeTransfer needs to check if the address is blocked, which hinders the successful execution of the burn


## origin
<https://blog.coffiasd.cn/23-10-13.html>

## contact me for SC private review
Twitter:<https://twitter.com/coffiasse>
Github:<https://github.com/coffiasd>
TG:@coffiasd
Budget-Friendly Kids' Dress Shopping Tips: Save Money, Look Great
Tags: dress, kidsdress, news, help
Published: 2023-10-13 06:02:26

Raising kids is a wonderful adventure, but it can also be a costly one. One of the significant expenses that parents face is clothing, especially as children seem to outgrow their outfits in the blink of an eye. However, dressing your kids stylishly doesn't have to drain your bank account. With some strategic planning and savvy shopping, you can save money while ensuring your children look great. Here are some practical budget-friendly [kids' dress](https://wearochre.com/) shopping tips to help you achieve both style and savings.
How to recover from crypto scams
Published: 2023-10-13 05:26:32

It's also crucial to remain vigilant and cautious of any suspicious activities surrounding your BTC investments. This includes being wary of phishing attempts, suspicious emails, or unverified sources promising unrealistic returns. By staying alert and practicing good online hygiene, you can minimise the chances of falling victim to scams or fraud. Regularly monitoring your BTC investments and creating backups of your wallet are essential habits to develop. By frequently checking your account activity and staying up-to-date with the latest security practices, you can identify and address any potential issues before they escalate. Additionally, creating backups of your wallet ensures that even if something goes wrong, you can easily restore your funds. Incase you have already fallen victim to scams, reach out to GearHead Engineers, a cyber security company.
Ruby on Rails can scale - here is one example
Tags: ruby, rails, performance, programming
Published: 2023-10-13 05:21:17

Here is a website [https://archiveofourown.org](https://archiveofourown.org) built with Ruby on Rails

## Data

* **311 million visits** last month (September 2023) - according to [similarweb.com](https://www.similarweb.com/website/archiveofourown.org/)
    
* **6.3 million** users (as publicly shared by [archiveofourown.org](https://archiveofourown.org) on their main website)
    
![archiveofourown stats](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/svjkkv9eoi6dt45kyblt.png)


You can find data that is a bit bigger if you look at,for example [semrush.com](https://www.semrush.com/website/archiveofourown.org/overview/):

![archiveofourown stats from semrush.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g3st0kpnanpn9b5j9912.png)

Whatever data you pick, this is a big web app with 6 million users and between 300 million and 1 billion visits.

## Tech Stack

They use at the date of writing this article:

* **Ruby** version 3.0.5
    
* **Rails** version 6
    
![Tech Stack](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s5prcauhe7wh6wfzzb7t.png)

Source: their [open-source Github repo](https://github.com/otwcode/otwarchive)

## Conclusion

Ruby on Rails does scale!

---

Enjoyed this article?

Join my [**Short Ruby News**](https://shortruby.com/) **newsletter** for weekly Ruby updates from the community. For more Ruby **learning resources**, visit [**rubyandrails.info**](http://rubyandrails.info)**. You can also find me** [**on Ruby.social**](http://onRuby.social) **or** [**Linkedin**](https://linkedin.com/in/lucianghinda)
Running Notebooks with arbitrary dependencies in an AWS lambda
Tags: python, lambda, aws, jupyter
Published: 2023-10-13 05:18:18

Goals:

* Run notebooks files in a lambda.
* Allow them to install their own dependencies.

In this instance, I've used serverless framework, but the problems solved likely apply to other frameworks. After trying a number of approaches, the following seemed to work within the constraints of lambdas read-only file system:

* Create a dedicated workspace in /tmp.
* Copy the notebook and a script to start and execute a virtual environment into the workspace.
* Fork off to the script and allow it to run to completion.

Starting with the `serverless.yml` file, note "IPYTHONDIR" must be set to somewhere in `/tmp` since lambdas run on a read only file system:

```yaml
service: nb-exec
frameworkVersion: '3'
provider:
  name: aws

functions:
  hello:
    handler: handler.hello
    environment:
      IPYTHONDIR: /tmp/ipythondir

plugins:
  - serverless-python-requirements

custom:
  pythonRequirements:
    fileName: requirements.txt
    dockerizePip: true

package:
  patterns:
    - "!.venv/**"
    - "!node_modules/**"
```

Our `requirements.txt` file, which we will use to execute the notebook files:

```
nbconvert===7.9.2
ipython===8.16.1
ipykernel===6.25.2
```

Next, inside our handler:

```python
import os
import shutil
import subprocess
import uuid


def hello(event, context):
    unique_id = str(uuid.uuid4())

    workspace_path = os.path.join(os.path.abspath(os.sep), "tmp", f"workspace_{unique_id}")
    if not os.path.exists(workspace_path):
        os.makedirs(workspace_path)

    shutil.copy("execute.sh", workspace_path)

    notebook_dir_path = os.path.join(workspace_path, "notebook")
    os.makedirs(notebook_dir_path, exist_ok=True)

    shutil.copy("example.ipynb", notebook_dir_path)

    execute_script_path = os.path.join(workspace_path, "execute.sh")
    subprocess.run(["bash", execute_script_path], cwd=workspace_path)
```

And finally the `execute.sh` file:

```bash
# Make sure dependencies can be picked up from the deployment directory, as well as the
# built in AWS runtime dependencies.
export PYTHONPATH=$LAMBDA_TASK_ROOT:$LAMBDA_RUNTIME_DIR

# Create a virtual environment that inherits these dependencies.
python3 -m venv .venv --system-site-packages
source .venv/bin/activate

python3 -m nbconvert --to notebook --execute ./notebook/example.ipynb
```

One unsolved additional problem is the following error when installing dependencies from within a cell:

```
!pip install pandas
Error: out of pty devices
```

But replacing this with the following seems to work fine:

```
subprocess.run(["pip", "install", "pandas"])
```

---

Note, running untrusted code in a lambda environment is not secure as each invocation may have access to other invocations or AWS resources.
Functional and Non-Functional Testing
Published: 2023-10-13 05:17:59

Functional Testing : It is a type of software testing which is used to verify the functionality of the software application, whether the function is working according to the requirement. In this type of testing, each function is compared to the corresponding requirement to ensure whether its output is consistent with the end user's expectations.
The purpose of the functional testing is to check the primary entry function, necessarily usable function, the flow of screen GUI. Functional testing displays the error message so that the user can easily navigate throughout the application.
Example : Checking user interfaces, database, functionality of application etc.

Non Functional Testing: It is a type of testing to check non-functional aspects like performance, usability, reliability, etc. of a software application. It is explicitly designed to test the readiness of a system as per nonfunctional parameters which are never addressed by functional testing.
How many users can login simultaneously into the application can be taken as an example for Non functional testing.

Difference between Functional and Non Functional Testing
1) Functional testing is performed before Non Functional testing
2) Functional testing is done to validate the behaviour of the application where as Non functional testing is done to validate the performance of the application
3) Functional testing can be executed manually. On the other hand, its difficult to execute non functional testing manually
4) Functional testing is based on customer requirements where as the non functional testing is based on customer expectations.
5) Functional testing verifies each function/feature of the software whereas Non Functional testing verifies non-functional aspects like performance, usability and reliability.
6) Functional describes what the product does whereas Non Functional describes how the product works
7) Functional testing is carried out using the functional specification where as Non functional testing is carried out by performance specifications.
8) Example of Functional testing can be checking login functionality. For non functional testing , example would be to check how long does it take for the page to load in a given time.
9) Different types of functional testing includes 
-  Unit testing
-  Smoke testing
-  User Acceptance
-  Integration Testing
-  Regression testing
-  Localization
-  Globalization
-  Interoperability
Different types of Non-functional testing includes

-  Performance Testing
-  Volume Testing
-  Scalability
-  Usability Testing
-  Load Testing
-  Stress Testing
-  Compliance Testing
-  Portability Testing
-  Disaster Recover Testing
Automating Student Reviews with AI in Pupilfirst LMS
Published: 2023-10-13 04:57:45

The integration of Artificial Intelligence (AI) into educational systems is a fascinating frontier. One area where AI can make a significant impact is in the review of student submissions. At Pupilfirst LMS, we've leveraged our existing Github Action integration to automate this process, making it more efficient and personalized.

Pupilfirst LMS already had a robust Github Action integration in place. This system pushes each student's submission into a new branch of a dedicated repository. From there, Github CI actions can be triggered automatically, and we have actions to grade and report the status back to the LMS. This existing setup provided the flexibility needed to build and test a new system without altering the core functionalities.

Grade Action: https://github.com/pupilfirst/grade-action
Report Action: https://github.com/pupilfirst/report-action

The main challenge was to convert student submissions, which are in JSON format, into a format that the AI model could easily understand. After several attempts, we realized that the best approach was to pass the JSON submission as-is, but with an additional explanatory prompt. 


```json
# The student's submissions will be an array of objects following the provided schema:
{
  "kind": "The type of answer - can be shortText, longText, link, files, or multiChoice",
  "title": "The question that was asked of the student",
  "result": "The student's response",
  "status": "Field for internal use; ignore this field during your review"
}
```

This allowed the OpenAI model to discern which fields to consider and which to ignore.

The AI Auto Review Action was born out of this need. The logic is straightforward: we inform the AI about the context of the submission and prompt it to generate a grade and feedback. The AI model returns the data in a JSON format that is compatible with our existing grade action.

![The data flow for review action](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pjjrc6t3z5kcsb139s3s.png)


It took just a day to write the code, test the action, and deploy it. The system is now used across various courses for automated submission review. 

The integration of AI into our LMS has streamlined the review process, reducing the manual workload and enhancing the learning experience with personalised feedback.

It's a testament to how Generative AI addition can revolutionize traditional educational systems.

> If you want to test the Action checkout https://github.com/pupilfirst/ai-review-action
Breaking News - Bond.az: Stay Informed and Updated
Tags: news, bondaz, devops, database
Published: 2023-10-13 04:53:10

Welcome to the world of [Breaking News](https://bond.az/) - Bond.az! In this rapidly changing digital landscape, keeping up with the latest events and developments is essential. Bond.az is your go-to destination for staying informed, and in this article, we will explore the exciting world of Bond.az, offering you insights and FAQs that will keep you in the loop.

## Exploring the Platform

The Hub for Breaking News
Bond.az: Your trusted source for breaking news in a digital age. Bond.az stands out as a leading platform that caters to a wide audience looking for real-time updates on various topics, including current events, politics, technology, and entertainment.

## A User-Friendly Interface

Navigating Bond.az is a breeze. With an intuitive user interface, it ensures that you can access the information you need with ease. Whether you're on a desktop or a mobile device, the platform offers a seamless experience.

## Varied Content

Breaking News - Bond.az provides a wide range of content, from articles and videos to interactive features. You'll find something to pique your interest, no matter your preferences.

## Benefits of Using [Bond.az](https://bond.az/)

Real-Time Updates
One of the standout features of Bond.az is its commitment to providing real-time updates. Whether it's a major political development or the latest in the world of entertainment, you can trust Bond.az to keep you informed.

## Diverse Topics

Bond.az caters to diverse interests. It offers news and insights on a broad range of topics, ensuring that there's something for everyone. This diversity sets it apart from other news platforms.

## Expert Analysis

In addition to news updates, Bond.az also provides expert analysis and opinions. These insights help you understand the implications and nuances of the news stories that matter most.

## FAQ's
What Kind of News Does [Bond.az](https://bond.az/) Cover?
Bond.az covers a wide spectrum of news, including politics, entertainment, technology, and more. You can rely on it for comprehensive coverage of current events.

How Often is the Platform Updated?
The platform is updated in real-time. As soon as an event occurs, you can expect to find news and updates on Bond.az.

Is Bond.az a Credible Source?
Yes, Bond.az is known for its commitment to accuracy and credibility. It sources information from reliable outlets and experts in various fields.

Can I Customize My News Feed on Bond.az?
Absolutely! Bond.az allows you to personalize your news feed. You can follow the topics and categories that interest you the most.

Is Bond.az Mobile-Friendly?
Yes, Bond.az is optimized for mobile devices, ensuring that you can stay updated even while on the go.

How Can I Share News from Bond.az?
Sharing news from Bond.az is simple. You'll find social media sharing buttons on every [article](https://bond.az/), making it easy to share interesting stories with your network.
Join the MyLibrary Revolution: Unleash Your Creativity through Contribution
Tags: hacktoberfest23, opensource, hacktoberfest, frontend
Published: 2023-10-13 04:52:44


Hey there, tech enthusiasts, design aficionados, and eager learners! 🌟 Get ready to embark on a thrilling adventure as I unveil the remarkable journey behind MyLibrary, the cutting-edge project that's all set to transform the way you engage with the world of books. Brace yourselves for a riveting tale of collaborative innovation and the unwavering pursuit of knowledge! 💡

## From Challenge to Creation: A Tech Adventure Like No Other

The captivating story of MyLibrary originated from a challenging hiring task that dared me to push the boundaries of my coding prowess and creativity. It became more than just a project; it became a beacon of inspiration, fostering an inclusive environment for both seasoned tech maestros and enthusiastic newcomers to unite, collaborate, and weave magic through code. 📚

## Bridging Technology and Literature: A Seamless Fusion

At the heart of MyLibrary lies the seamless fusion of cutting-edge technologies and the timeless charm of literature. With the mighty Google Book API at its core, complemented by the robust security of Auth0 and the dynamic prowess of React.js and Tailwind CSS, MyLibrary offers an immersive, user-friendly interface that invites book enthusiasts to explore, discover, and revel in the joy of reading. 🚀

## Embark on the MyLibrary Adventure: Where Creativity Knows No Bounds

Join me on this exhilarating journey, where MyLibrary beckons you to unravel a rich tapestry of stories and knowledge that await your discovery. Dive into the mesmerizing world of MyLibrary at [MyLibrary](https://mylibrary01.vercel.app/), where you, whether a seasoned coding wizard, a visionary design virtuoso, or a budding talent hungry for knowledge, have a unique opportunity to contribute, learn, and be a part of this thriving community. Let's unite to create an extraordinary digital haven that redefines the very essence of book exploration! 📖

Every step you take with MyLibrary promises new adventures, discoveries, and untapped opportunities. So, gear up and get ready to immerse yourself in an extraordinary journey that's about to redefine the way you experience the magic of books! ✨

Let's set sail and make MyLibrary a digital sanctuary of boundless knowledge and unparalleled creativity! 🌊

Explore the MyLibrary project on [GitHub](https://github.com/suryanshsingh2001/MyLibrary) and experience it live at [MyLibrary](https://mylibrary01.vercel.app/). This project is proudly participating in Hacktoberfest 2023, and we welcome your contributions to make this a journey of collaborative excellence! 🎉

![Home Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lvlihw8rhcsrfiuhlpkc.png)