teleren/devto huggingface dataset:
Hooked Book #4 - Variable rewards
Tags: design, books, ethic, resume
Published: 2023-12-20 14:15:00

_All businesses help users to achieve a goal_

Variable reward is the third phase of the Hooked model, and there are three types: the tribe, the hunt and the self.

Rewards of the **tribe** involve the search for social rewards fueled by connectedness with other people. 
These rewards keep users coming back and wanting more because our brains are adapted to seek rewards that make us feel accepted, attractive, important, and included. Examples of these kinds of rewards can be found on platforms like Facebook, Stack Overflow, or the video game League of Legends.

Rewads of the **hunt** is the search for material resources and information. Our need to acquire physical objects, such as food and other supplies that aid our survival, is part of our brain's operating system. This mechanism keeps us wanting and buying.

Rewards of the **self** is the search for intrinsic rewards of mastery, competence and completion. Here, we seek a more personal form of gratification.

Variable rewards are not a free pass. Understanding what truly matters to users is key to matching the right variable reward to their intended behavior.

Additionally, users need to maintain a sense of autonomy. If our autonomy is threatened, we feel constrained by our lack of choices and often rebel against engaging in a behavior. Experiences with finite variability become less engaging because they eventually become predictable
Discrimination Faced by Women In Tech
Tags: discuss, coding, career, programming
Published: 2023-12-20 14:12:55

This discussion is mainly for women in tech careers. Have you ever faced discrimination at any stage in your tech studies or career due to your gender? Or has any other woman that you know ever faced such issues? I will share some discrimination that I faced:

- A guy who was my teammate in a college project said to the teacher "Yes, we will finish the project ma'am". The project was for a hackathon and the hackathon had a rule that each team should have at least one female in it. So our team had three females and three males because the teacher had suggested the guy who formed the team to have equal number of girls. Now this guy when he said we will finish the project, he meant himself and the other two guys. He made that clear. He said that me and the other girls were not going to code and we did not because he never let us do anything, in fact the other two guys also did not do anything. But he made it look like only girls cannot do anything. Btw, this guy never got a tech job after college even though we studied computer science. He is in sales now. 
- Next, a guy always tried to undermine any work that I did, any code that I wrote, he never used my code even if he was working on a module where he could use my code, he just wrote everything from scratch, he behaved like anything that he wrote was priceless and any code that I wrote was shit. He disrespected me but buttered people who were higher in the hierarchy. So he cannot respect people who are equal to him but he wants to butter people who are higher than him who were men mostly. How unethical.
- Then, a **girl** always tried to undermine my work, if she was blamed for something, she would put the blame on me. But this bad politics did a lot of good for her and a lot of bad for me, but never mind, karma comes back eventually. She did not treat men like this and even she treated some women nicely but she particularly disliked me even though I absolutely did nothing to her. 
- Another **girl** bullied everyone that she disliked including me. Bullying included laughing at people's code, talking over people in calls, never letting other people speak, body shaming, etc. She did this only to women and not men.

Actually there are many incidents and instances but I want to keep the post light. I welcome you to share any discrimination that you faced as a woman. If you are a man, you can also share your experiences if any.
Recognito - NIST FRVT Top #1 Face Recognition Algorithm Developer
Tags: security, face, ai, webdev
Published: 2023-12-20 14:05:02

🌟 Exciting News! 🌟 We're thrilled to announce that our Face Recognition Algorithm has achieved the prestigious honor of being ranked Top 1 in the NIST FRVT 1:1 Leaderboards! 🏆✨

At [Recognito](https://recognito.vision), we take immense pride in delivering cutting-edge face recognition solutions, including face liveness detection and face analysis. 
This recognition by the National Institute of Standards and Technology (NIST) reaffirms our commitment to excellence and innovation in the field of biometric technology.

**Key Achievements:**
✅ **NIST FRVT Top 1 Rank:** Our face recognition algorithm has clinched the top spot in the highly competitive NIST FRVT 1:1 Leaderboards, showcasing the unparalleled accuracy and effectiveness of our solutions. [NIST FRVT Latest Report](https://pages.nist.gov/frvt/html/frvt11.html)

✅ **Proven Performance:** Rigorous testing and evaluation by NIST have demonstrated the robustness and reliability of our face recognition technology. This recognition is a testament to the dedication of our team and the advanced capabilities of our algorithms.

✅ **Comprehensive Solutions:** Beyond face recognition, our portfolio includes state-of-the-art face liveness detection and face analysis solutions. We are committed to providing holistic and secure biometric solutions for diverse applications.

**Why Choose Recognito for your next Face Recognition Project?**
🌐 **Cutting-edge Technology:** Our solutions leverage the latest advancements in biometrics to ensure optimal performance and accuracy.

🔒 **Security and Privacy:** We prioritize the security and privacy of our users. Our algorithms adhere to the highest industry standards to safeguard sensitive information.

🌍 **Versatile Applications:** From identity verification to access control and beyond, our face recognition solutions cater to a wide range of industries and use cases.

🤝 **Trusted Partnerships:** Join a growing list of satisfied clients who have chosen Recognito for their biometric needs. We forge lasting partnerships based on trust, reliability, and exceptional service.

Embrace the future of secure and efficient biometrics with Recognito. 
As we celebrate this remarkable achievement, we look forward to continued innovation and delivering unparalleled solutions to meet the evolving needs of our clients.

For inquiries and partnerships, contact us at https://recognito.vision.
DAY10: Python Day 13&14
Published: 2023-12-20 13:59:55

**Debugging**
some debugging principles that I really need to follow:
- run code often 
- print() often
- debugger: https://pythontutor.com/render.html#mode=edit

**Higher-Lower game**
```
import art
from game_data import data
import random 
from replit import clear

#print higher lower logo 
print(art.logo)
#create variable for while loop 
right_answer = True 
current_score = 0

def check_answer(guess, A, B):
  if A > B:
    return guess == "A"
  else: 
    return guess == "B"

def compare(A, B):
  if A["follower_count"]>B["follower_count"]: 
    return A
  else: 
    return B

#pick random two dictionaires from list, store into variables 
A = data[random.randrange(0, 49)]
B = data[random.randrange(0,49)]
#create while loop 
while right_answer: 
  #print compare A: dictionary item 1, dictionary item 2, dictionary item 3
  print(f"Compare A: {A['name']}, {A['description']}, {A['country']}")
  #print vs art
  print(art.vs)
  #print against B: same thing 
  print(f"Against B: {B['name']}, {B['description']}, {B['country']}")
  answer = input("who has more followers? Type A or B: ")
  right_answer = check_answer(answer, A["follower_count"], B["follower_count"])

  clear() 
  print(art.logo)
  
  #if right answer: 
    #move answer to variable A 
    #pick new dictionary assign variable B
  if right_answer: 
    current_score += 1
    print(f"You're right! current score: {current_score}")
    A = compare(A, B)
    B = data[random.randrange(0, 49)]
print("wrong. Game over")
```
Code works if there is data in a separate file called game_data. 
I felt a strong necessity to get more familiar with creating functions and the `return` keyword to make the code more concise. I will utilize this more actively in later projects.
🌟 #DEVImpact2023 Reflections
Tags: devimpact2023, braziliandevs
Published: 2023-12-20 13:57:23

### Proud Moments
I am thrilled and proud to see the growth in the posts in Portuguese, using the **#braziliandevs** tag. I have been heavily advocating DEV to the Brazilian community, and this year I saw soo many awesome articles in Portuguese!

### DEV Contributions
I think 2023 was the year I wrote the most articles for Dev, both in English and Portuguese. If I am not mistaken, 27 so far and we still have a few weeks to go! So, I'm hoping to end the year with 30 articles.

### Brilliant Fails
I haven't had any fails I consider brilliant this year, honestly, it was tough! I lost my dad, months after I lost my job and I am still jobless. So I guess I am just proud I took time for myself when I needed it and that I kept going.
Still looking for a new job tho 🥲

### Celebrate the Numbers 
I have 10.000 followers here!!!
After 4 years on Dev.to, this "place" become home for me and my words, so I am really REALLY happy with this, Thanks Everyone!!!!

![my DEV 2023](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/293odxppayql33l1u67r.png)

### Shoutouts
I want to shout out and give my thanks to two ladies whose articles and work inspired me.
@morgannadev & @blackgirlbytes 
And @michaeltharrington for the great job he does here.

THANK YOU FOR BEING AWESOME ❤️❤️❤️


### Future Goals 
I don't know... I am still looking for a new job so my hopes and dreams for 2024 are a mystery yet.

### What Does DEV Means to You?
DEV means a lot to me.
From the very beginning of my developer journey, I was here. I made some awesome friends here. 
And once I transitioned to Developer Relations it became an important working tool. 
It is my very favorite place on the internet.
Sending Emails with Node.js using Nodemailer
Tags: nodej, javascript, webdev, programming
Published: 2023-12-20 13:22:01

## What is Nodemailer ?

Nodemailer is a module for Node.js that simplifies the process of sending emails from a Node.js application. It provides an easy-to-use API for composing and sending emails using various email services and transport methods. With Nodemailer, you can send plain text emails, HTML emails, and even attachments.

## Install Nodemailer
Use the following command to install nodemailer :

```
npm install nodemailer
```

## Configure Nodemailer 
Below is an example of configuring Nodemailer with Gmail using the SMTP (Simple Mail Transfer Protocol).

```
const nodemailer = require('nodemailer');

// Create a transporter object using Gmail SMTP
const transporter = nodemailer.createTransport({
    service: 'gmail',
    auth: {
        user: 'your-email@gmail.com',
        pass: 'your-email-password'
    }
});

// Additional configuration options
const mailOptions = {
    //...
};

// Send email
transporter.sendMail(mailOptions, (error, info) => {
    if (error) {
        console.error('Error:', error);
    } else {
        console.log('Email sent:', info.response);
    }
});
```

## Additional Configuration Options
You can customise the email further by adding options to the mailOptions object.

```
const mailOptions = {
    from: 'your-email@gmail.com',
    to: 'recipient-email@example.com',
    subject: 'Test Email',
    text: 'This is a test email sent from Node.js using nodemailer.',
    html: '<p>This is a <b>test</b> email sent from Node.js using nodemailer.</p>',
    attachments: [
        {
            filename: 'attachment.txt',
            content: 'Attachment content'
        }
    ]
};
```
These options allow you to specify the sender, recipient, subject, email body (both plain text and HTML), and even attachments.

## Conclusion 

To wrap it up, Nodemailer is a handy tool in Node.js for sending emails easily. Whether you're just sending simple messages or dealing with more complex email tasks, Nodemailer is flexible enough to handle it. As you use Nodemailer, keep an eye on any updates and best practices to keep your email communication smooth and trouble-free. Enjoy coding!

So, If you find this helpful please like and share it with everyone.

Sharing is Caring!

Thank you :)
BEST BITCOIN RECOVERY EXPERT TO HIRE DIGITAL WEB RECOVERY
Published: 2023-12-20 13:07:44

My harrowing experience taught me valuable lessons about the importance of education and awareness in the world of bitcoin investments. It is crucial to thoroughly research and understand the platforms and services we entrust our funds to. Staying informed about the latest scams and security measures can prevent falling victim to cybercriminals. Due investigation and extensive research are necessary when investing in Bitcoin. It is important to research the platform's reputation, read reviews, and confirm its security measures before depositing any money. Seek out platforms with a history of happy users and openness about how they do business. After discovering Digital Web Recovery, I wasted no time in reaching out to them for assistance. Their responsive customer support team guided me through the initial steps of reporting the scam and gathering the necessary information. They made the process easy and straightforward, ensuring that I felt supported during this stressful time. Digital Web Recovery immediately took action after obtaining all the necessary information. With great care, their team of experts examined the blockchain, tracking and keeping an eye on the flow of the pilfered money. They were able to quickly identify the culprits and take legal action to get my wallet thanks to their wide network and collaboration with law enforcement. Their adeptness in navigating the intricate realm of blockchain technology with accuracy and efficiency astounded me. I was able to recover my lost money because of Digital Web Recovery's blockchain technology knowledge. Thanks to Digital Web Recovery's expertise and unwavering dedication, I was able to regain control of my bitcoin wallet and recover the funds that were once lost. WhatsApp contact: +14033060588 The process was not without its challenges, but their professionalism and determination never wavered. I am forever grateful to have stumbled upon this beacon of hope in the vast sea of scams. Helping victims of fraud and scams in the Bitcoin realm is Digital  Web Recovery's area of expertise. You can obtain advice on what actions to do in order to retrieve your stolen wallet by getting in touch with them and explaining the circumstances. They can guide you through the difficult process of recovering your misplaced money with their knowledge and resources. Tell Digital web recovery your needs via: digitalwebrecovery(@)mail-me.com Thanks.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pftz62au78806fqkkpmj.jpg)
BEST BITCOIN RECOVERY EXPERT TO HIRE DIGITAL WEB RECOVERY
Published: 2023-12-20 13:07:43

My harrowing experience taught me valuable lessons about the importance of education and awareness in the world of bitcoin investments. It is crucial to thoroughly research and understand the platforms and services we entrust our funds to. Staying informed about the latest scams and security measures can prevent falling victim to cybercriminals. Due investigation and extensive research are necessary when investing in Bitcoin. It is important to research the platform's reputation, read reviews, and confirm its security measures before depositing any money. Seek out platforms with a history of happy users and openness about how they do business. After discovering Digital Web Recovery, I wasted no time in reaching out to them for assistance. Their responsive customer support team guided me through the initial steps of reporting the scam and gathering the necessary information. They made the process easy and straightforward, ensuring that I felt supported during this stressful time. Digital Web Recovery immediately took action after obtaining all the necessary information. With great care, their team of experts examined the blockchain, tracking and keeping an eye on the flow of the pilfered money. They were able to quickly identify the culprits and take legal action to get my wallet thanks to their wide network and collaboration with law enforcement. Their adeptness in navigating the intricate realm of blockchain technology with accuracy and efficiency astounded me. I was able to recover my lost money because of Digital Web Recovery's blockchain technology knowledge. Thanks to Digital Web Recovery's expertise and unwavering dedication, I was able to regain control of my bitcoin wallet and recover the funds that were once lost. WhatsApp contact: +14033060588 The process was not without its challenges, but their professionalism and determination never wavered. I am forever grateful to have stumbled upon this beacon of hope in the vast sea of scams. Helping victims of fraud and scams in the Bitcoin realm is Digital  Web Recovery's area of expertise. You can obtain advice on what actions to do in order to retrieve your stolen wallet by getting in touch with them and explaining the circumstances. They can guide you through the difficult process of recovering your misplaced money with their knowledge and resources. Tell Digital web recovery your needs via: digitalwebrecovery(@)mail-me.com Thanks.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pftz62au78806fqkkpmj.jpg)
It's time for Advent of Code! 🎄
Tags: webdev, programming, beginners, codenewbie
Published: 2023-12-20 12:43:52

Advent of Code is an annual online event where participants solve a daily programming puzzle from December 1st until Christmas. Each puzzle is part of a continuing story and becomes progressively more challenging. It's designed to fit a wide range of skill levels, from beginners to experienced programmers. This event not only offers a fun way to improve coding skills but also fosters a global community of enthusiasts sharing solutions and insights.

https://adventofcode.com/
🔍🚀 Unlock the Power of Snowflake! Are you ready to revolutionize your data management and analytics? Exciting news!
Tags: snowflake, consultingservices, datamanagement, dataanalytics
Published: 2023-12-20 12:40:21

Snowflake's innovative cloud data platform has transformed how businesses manage and utilize their data. Our expert team at Softweb Solutions is dedicated to helping you harness the full potential of Snowflake, enabling you to make data-driven decisions with agility and precision.

What we offer:
🔹 Tailored Snowflake Implementation and Optimization
🔹 Seamless Migration to [Snowflake's Cloud Data Platform](https://www.softwebsolutions.com/snowflake-consulting-services.html)
🔹 Performance Tuning and Scalability Enhancements
🔹 Advanced Data Warehousing and Modeling
🔹 Real-time Analytics and Insights

Partnering with us means unleashing the true power of Snowflake to drive innovation, improve operational efficiency, and gain a competitive edge in today's data-driven landscape.

Why choose Softweb Solutions:
✨ Unmatched Expertise in Snowflake's Capabilities
✨ Proven Track Record in Successful Implementations
✨ Customized Solutions Aligned with Your Business Objectives

Ready to elevate your data infrastructure with Snowflake? Reach out to learn more about our Snowflake Consulting Services.

#Snowflake #DataManagement #CloudAnalytics #ConsultingServices #DataDriven #BusinessTransformation #DataWarehousing
Understanding Dependency Injection in C#
Tags: csharp
Published: 2023-12-20 12:25:48

Dependency Injection (DI) is an important concept in C# programming that allows for loose coupling between different components of an application. It enables the flexibility to change the behavior of an application without altering its code, promoting modularity and maintainability.

In simple terms, DI allows us to inject dependencies into a class rather than letting the class create those dependencies itself. This not only makes our code more testable but also reduces the direct dependencies between classes, making it easier to replace or extend components later.

There are different ways to implement DI in C#. One common approach is using constructor injection. In this method, dependencies are passed into a class through its constructor. This way, the class depends on interfaces rather than concrete implementations, allowing it to work with a variety of dependencies without any modification.

Another method is property injection, where dependencies are assigned to properties of the class. This approach is useful when we have optional dependencies or want to change certain dependencies at runtime.

Furthermore, there is method injection, where dependencies are passed to the methods instead of the constructor or properties. This is useful when we need specific dependencies for a specific method.

Overall, dependency injection is a powerful technique that promotes code reusability, maintainability, and testability. By decoupling components and relying on interfaces rather than concrete classes, we can easily swap implementations, modify behavior, or test our code in isolation. It is a concept that every C# developer should understand and utilize to write clean, modular, and extensible code.
Trực Tiếp Bóng Đá
Published: 2023-12-20 12:23:49

Trực tiếp bóng đá là nơi gắn kết những tâm hồn yêu thể thao với thế giới bóng đá, xem bóng đá trực tiếp mang người hâm mộ đến những bất ngờ qua những trận đấu hấp dẫn và kịch tính.
Điện thoại: 09032568899
Địa chỉ: 26/1 Đường Phú Thọ Hòa, Hoà Thanh, Tân Phú, Thành phố Hồ Chí Minh
Website: https://tructiepbongda.net/
#tructiepbongdanet #tructiepbongda #ttbd

https://twitter.com/a_tiep
https://vimeo.com/tructiepbongdanet
https://www.pinterest.com/Tructiepbongda7/
https://www.tumblr.com/tructiepbongdanet7
https://www.twitch.tv/tructiepbongd/about
https://www.reddit.com/user/Tructiepbongdanet7
https://www.youtube.com/@Tructiepbongdanet7
https://500px.com/p/tructiepbongdanet7?view=photos
https://www.openstreetmap.org/user/Tructiepbongdanet7
https://www.webwiki.com/tructiepbongda.net
https://techcommunity.microsoft.com/t5/user/viewprofilepage/user-id/2211224#profile
https://www.fundable.com/truc-tiep-bong-da-7
http://uid.me/tructiepbongdanet7#
http://www.video-bookmark.com/bookmark/6061036/tr%E1%BB%B1c-ti%E1%BA%BFp-b%C3%B3ng-ae%EF%BF%BD%C3%A1/
67. Nearing the assignment 3 finish line (Day 65)
Published: 2023-12-20 12:23:12

Today, I received my Assignment 2 marks - 94%! I am happy. I lost marks on the written theoretical component - I think I wasn't detailed enough. Lessons learned!

Hope my assignment 3 (due Sunday) fares well also. I am mentally preparing to put in everything over the next 3.5 days - hard work, fewer distractions, and marathon sessions at the coding desk! If I can submit the assignment on Sunday morning, that will be a great result.

My remaining work on the assignment is as follows:

- Clean up code
- Make some final GitHub commits
- Commence PowerPoint presentation
- Commence video presentation
- Clean up the Readme file

Doesn't look like a lot of work but trust me it can easily end up being one!