teleren/devto huggingface dataset:
Low Code for Product Managers
Tags: lowcode, productmanagers, appdev, webapps
Published: 2022-11-08 10:37:34

I recently attended [product-con](https://productschool.com/productcon/san-francisco/) (a conference for product folks) & I had an opportunity to chat with product managers across length and breadth of tech companies across the world. Sure KPIs of product managers have nothing to do with delivering features or engineering them. However there is a business case for product managers for using low code tools. Lets dig in -

1. NPS or CSAT is one of the commonly found KPIs of product managers. As a PM your controllables are better quality product for a better outcome. However there are things beyond product usage. For instance — your customer wants his subscription plan paused or upgraded/downgraded by raising a support ticket. Such tickets attribute to ops overheads and need engineers time to resolve such tickets. To make it scalable — you need engineers to build tools to either make things self serve or enable support to resolve queries. Such ops features seldom have high priority on them.

2. [Custom features for specific customers](https://www.productplan.com/learn/feature-requests-from-prospects/) — as your customer base grows you would see incremental demand for features. While you have luxury to prioritize them however demand for features from strategic accounts can’t be ignored as your sales/account team wants them not to be a show stopper.

Allocating resources for features for NPS/CSAT is often met with resistance as their priority gets debated and this leads to deprioritization. Low code tools are now becoming powerful to build these features for self serve completely outside the product and embed it right inside the product and there by cutting the dependency on the traditional engineering line and yet enable such features to improve their CSAT/NPS.

In case of high value customer demanding a specific feature is often met with counter arguments from engineering. However bright chances are sales will push for this and they would win. Now this is a problematic space for two reasons:

1. you may or may not have a soft commitment from prospect

2. your investment to bring the feature alive and opportunity cost of not really building the feature you were looking at building

These two cases is where I have seen product managers really open to the possibility of building them with low code. While 90% of 1st case are possible to build with Low code, probability for 2nd case might be 50%. There is an obvious benefit here of using low code

1. build things faster

2. build with lesser resources

It would be interesting to learn perspective of product managers out here. Looking forward to your comments/feedback.
Functions in JavaScript
Published: 2022-11-08 10:24:57

**What are functions?**

In JavaScript, a function is comparable to a procedure—a collection of statements that carry out an action or compute a value. Basically, a function is a method to perform a desired algorithm. However, in order for a process to be considered a function, it must accept an input and produce an output with an evident connection between the input and the result. This blog post firmly explains the most basic properties of a javascript function and  


**What is the correct way of using functions? How can we play with functions? What is their visibility scope? How are variables checked?**

The function keyword is used to define a JavaScript function, which is then followed by the function's name and parenthesis (). Function names may also include underscores, dollar signs, and other characters (same rules as variables). Names of parameters may be included in parenthesis and separated by commas: (p1, p2, ...)  Curly brackets enclose the code that the function will execute: {} The function definition lists the function parameters between parentheses (). When a function is called, values are passed to it as arguments. 
The arguments (the parameters) behave as local variables within the function. When "something" invokes (calls) the function, the code inside will run: When something happens (when a user clicks a button), 
When JavaScript code calls (invokes) it, 
Automatically (self invoked) (self invoked).
A return statement in JavaScript causes the function to terminate. If a statement called the function, JavaScript will "return" to run the code that came after the statement that called the function. Frequently, functions calculate a return value. The caller is "returned" the return value. Variables can be checked by .typeof(var) built in function where var is the variable name. 
This is a very rough explanation on how functions work, but it still gets the job done. ƪ(˘⌣˘)ʃ
Thank you.
Day #4: How to promote your blog posts and how much traffic did I get?
Tags: startup, entrepreneur, marketing, solopreneur
Published: 2022-11-08 10:06:26

Yesterday I published day 3 of my solopreneur journey, where I talked about how to build multiple micro-startups. In this post, I will show you the results of the traffic I received and show you where I’ve promoted it.

Check out my strategy to promote my content and what were the results:
https://medium.com/@journeypreneur/day-4-how-to-promote-your-blog-posts-and-how-much-traffic-did-i-get-b34e40c65ea7
Django shorts: #4 Sending emails
Tags: webdev, django
Published: 2022-11-08 10:00:23

**Preface**

Django is such a diverse and intricate back-end web framework, that we can utilize it to do a great many things. One of these great things is to use it to send emails.

---

**Step 1:**

First of all you need to import the following at the top of your views.py file:

```
from django.core.mail import send_mail
```

This will allow you to make use of the send_mail function that is already imported with Django. Luckily, this comes built in with Django, so we don’t need to worry about installing any packages with pip.

---

**Step 2:**

Next you need to simply create a normal view, such as mine below:

```
def email_invoice(request)
   
    return render(request, 'email-invoice.html')
```

---

**Step 3:**

In the next step, you will need to make use of the send_mail function in your chose view like so:

```
def email_invoice(request)
   
   send_mail('Subject heading here', 'Your main message here', 'from@example.com', ['to@example.com]', fail_silently=False,)
   
    return render(request, 'email-invoice.html')
```

Let’s further analyze the send_mail function logic from above…

send_mail(subject, message, who the email is from, who the email is to, the email will raise an exception if there is any problem)

Please note the order of the parameters in the parentheses above (left to right):

1 — Your subject heading

2 — What is your message

3 — Who is the email coming from

4 — Who the email should be sent to

5 — Raise an exception if there is any problem

---

**Step 4:**
You will then need to make sure that you have configured the below configuration settings in your settings.py file:

```
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'me@gmail.com' # - Choose a host email to send from
EMAIL_HOST_PASSWORD = 'app password' # - Your app password
```

In the above example I’m making use of the GMAIL smtp server. Of course, you can utilize something else such as Amazon SES for example. We also need to configure our email backend accordingly to SMTP.

The default port will be port 587, this will differ according to various SMTP providers.

We need to ensure that we use TLS to secure our mail communication.

The email host user is from where we want the email’s to be send from by default.

So in this example I want all my default notification emails and email invoices to be sent from a Gmail account.

Since 2016 the option to turn on less secure apps has been disabled. So, now you will need to generate an APP password on your Gmail account, and use this as your email host password.

And that’s it! Happy learning!

---

**Final note:**
For those that are interested in learning more about Django. Feel free to check out my courses below:

[Python Django courses](https://www.cloudwithdjango.com/courses)
Discord marketing agency
Tags: nft, blockchain
Published: 2022-11-08 09:52:26

If you're looking for a [discord marketing agency](https://bit.ly/3DEVT5g) that specializes in keyword blogging, then you've come to the right place. We are a full-service discord marketing agency that can help you with all aspects of your keyword blogging strategy, from research to implementation. Contact us today to learn more about how we can help you grow your business with keyword blogging.
Learn Python Programming
Tags: python, programming, beginners, tutorial
Published: 2022-11-08 09:46:10

Python has been around since the 90s and an enormous amount of content is there to learn Python. While this is good for any language this creates information overload and decision paralysis in learning in a structured manner.
*Note: There is no official certification for Python programming*

Here is a list of materials to help beginners in Python programming:

## Interactive way

Here you can try on coding on the browser itself without installing anything.

- https://www.learnpython.org/
- [CodeAcademy](https://www.codecademy.com/learn/learn-python-3)

## Books

- [Automate the Boring Stuff with Python](https://automatetheboringstuff.com/2e/chapter0/)
- [Learn Python The Hard Way](https://learnpythonthehardway.org/book/)
- [Dive Into Python 3](https://diveinto.org/python3/table-of-contents.html)
- [Think Python](https://greenteapress.com/thinkpython2/html/thinkpython2002.html)
- [The Hitchhiker’s Guide to Python!](https://docs.python-guide.org/#the-hitchhiker-s-guide-to-python)

*A more extensive list of books can be found at [awesome python books](https://github.com/junnplus/awesome-python-books)*

## Courses

- [Programming for Everybody](https://www.coursera.org/learn/python)

## Videos

- [Programming with Mosh](https://www.youtube.com/watch?v=_uQrJ0TkZlc) : 6hr long Python course
- [Corey Schafer](https://www.youtube.com/c/Coreyms/playlists) : Python short tutorials
- [Intellipaat](https://www.youtube.com/c/Intellipaat/search?query=python): Python long tutorials in Hindi and all
- [freeCodeCamp](https://www.youtube.com/watch?v=8ext9G7xspg): 12 beginner Python projects
- [NeuralNine](https://www.youtube.com/c/NeuralNine/playlists): Python beginner, intermediate and advanced playlists
- [RealPython](https://www.youtube.com/c/realpython): Python tips and tricks
- [sentdex](https://www.youtube.com/c/sentdex/featured): Python beginner to advanced tutorials.
- [clearCode](https://www.youtube.com/watch?v=mDKM-JtUhhc): Learn Python by making games

*For more search awesome Youtube visit [awesome-youtubers](https://github.com/JoseDeFreitas/awesome-youtubers)*

## Tutorials

- [Project-based learning](https://github.com/practical-tutorials/project-based-learning#python)
- Much more can be found at [Ultimate Python](https://github.com/huangsam/ultimate-python)

## Newsletters

Newsletters usually published weekly keep you up to date on the latest developments in the Python world.

* [Awesome Python Newsletter](http://python.libhunt.com/newsletter)
* [Pycoder's Weekly](http://pycoders.com/)
* [Python Tricks](https://realpython.com/python-tricks/)
* [Python Weekly](http://www.pythonweekly.com/)

## Podcasts

If you are a podcast person, here is a list of podcasts related to Python.

* [Python Bytes](https://pythonbytes.fm)
* [Talk Python To Me](https://talkpython.fm/)
* [The Real Python Podcast](https://realpython.com/podcasts/rpp/)

This list will be updated from time to time whenever required.
Follow [soumendrak_](https://www.twitter.com/soumendrak_) for more such contents.
# Day 3 | How to resolve it?
Tags: javascript, beginners
Published: 2022-11-08 09:23:13

The problem:
Write a function called mostFrequentWords which get the ten most frequent word from a string?

```js
const paragraph = `I love teaching. If you do not love teaching what else can you love. I love Python if you do not love something which can give you all the capabilities to develop an application what else can you love.`

console.log(mostFrequentWords(paragraph, 3))
```

and the res should be:
```js
[
{word:'love', count:6},
{word:'you', count:5},
{word:'can', count:3},
]
```
I'm a CTO!
Tags: webdev, programming, watercooler
Published: 2022-11-08 09:15:25

Welcome to my journal, it's going to be a weekly blog about my journey into becoming a CTO.  

![Graham Morby CTO](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d421pqczlu90kcqorjvg.jpg) 

So something crazy cool happened! I'm a CTO! It's insane. 

I'm not even sure how it happened or why but it has. It's a very scary thought to think I have topped out in my career. I mean where do I even start, how to I switch my brain from developer to manager, where do I start with recruitment. How on earth do I manage a team?

The above thoughts have gone through my head in the last week and a half leading up to my first day. Even the drive to the office yesterday, my head was wracked full of various thoughts and ideas as to why this was a crazy bad idea! I mean I programme things, why on earth should I manage people!

I guess I'll be here to let you know how that goes over the coming weeks and months.
Cairo exercise: Polynomial Equation
Tags: cairolang, starknet, web3, polynomialequation
Published: 2022-11-08 09:04:19

## Problem
Write a program poly.cairo that computes the expression:


**x^3 + 23x^2+ 45x + 67 = 0, x = 100**

1. After the program ends, the value should be at [ap - 1].

2. For this exercise, you may assume that the fp register is constant and initialized to the same value as ap.

[Link](https://www.cairo-lang.org/docs/how_cairo_works/cairo_intro.html#exercise-a-simple-cairo-program) to the problem in Cairo documentation
## Solution
```rust
%lang starknet

func compute_poly() -> felt {
    [ap] = 100, ap++;
    [ap] = [ap - 1] + 23, ap++;
    [ap] = [ap - 2] * [ap - 1], ap++;
    [ap] = [ap - 1] + 45, ap++;
    [ap] = [ap - 1] * [ap - 4], ap++;
    [ap] = [ap - 1] + 67, ap++;
    ret;
}

```
## Explain the solution
Cairo receives instructions and operates on memory cells that are immutable and can hold one value. Therefore, first, we need to factor our equation to make instructions for each memory cell.


**x(x(x + 23) + 45) + 67 = 0, x = 100**




**x**: `[ap] = 100, ap++;`

Here we tell Cairo to put 100 to the memory cell at address `ap`, then we move to the next memory cell by `ap++`

Note: `ap` is the allocation pointer pointing to the available memory cells. Read more about it [here](https://www.cairo-lang.org/docs/how_cairo_works/cairo_intro.html#registers)

**x + 23**: `[ap] = [ap - 1] + 23,  ap++` 

Now we are at the second memory cell. To refer to the value of x which is in the first cell, we use `[ap - 1]`. We also move the pointer to the next cell by `ap++`.

**x(x+23)**: `[ap] = [ap - 2]  * [ap - 1] ,  ap++` 

At this step, we get the product of x which is 2 memory cells before the pointer and the previous memory cell's value x + 3. Then we call `ap++` again to move to the next cell.

We continue to do the same for the rest of our equation:

**x(x + 23) + 45**: `[ap] = [ap - 1] + 45, ap++;`

**x(x(x + 23) + 45)**:   `[ap] = [ap - 1] * [ap - 4], ap++ ;`

**x(x(x + 23) + 45) + 67**:  `[ap] = [ap - 1] + 67, ap++;`

## Test
`test_poly.cairo`
```rust
%lang starknet

from src.poly import compute_poly

@external
func test_compute_poly() {
    let res = compute_poly();
    assert res = 1234567;
    return ();
}
```
Run `protostar test tests/test_poly.cairo` to test the function.

## Conclusion

In this article, I've shown how to instruct Cairo to compute a polynomial equation. The more I understand Cairo, the more fascinating it becomes to me. Keep on learning!

If you have any questions, feel free to DM me on Twitter. I would love to talk.

[Github repo](https://github.com/peterblockman/cairo-exercise/blob/main/src/poly.cairo)
JS message inside a form
Tags: webdev, javascript, programming
Published: 2022-11-08 08:59:08

Hello.

I've got a form on my shop website.

The issue is that when I choose one concert option in a field of the form like for example, the country. I would like to add a text line after the field but I don't know how to do it. This is the exact function:

![Current function](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aeax8l4je6yjqoukycf6.png)
Create extension for webflow
Tags: help, webflow, webdev
Published: 2022-11-08 08:36:43

Hi everyone!

I want to create and deploy extension for Webflow. In general the idea is to make a simple solution which will help Webflow users to send contact form data directly to telegram...bot or particular chat doesn't matter.

I see third party integrations at webflow but i cant find documentation  on requirements for new extension and how to deploy them.
1544. Leetcode Solution in Java
Tags: challenge, java
Published: 2022-11-08 08:31:24

```java
class Solution {
    public String makeGood(String s) {
    char[] arr = s.toCharArray();
    int n = arr.length;
    LinkedList<Character> list = new LinkedList<>();
    for(int i = 0; i < n; i++){
        if(!list.isEmpty()){
            if(Math.abs(list.getLast() - arr[i]) == 'a' - 'A'){
                list.removeLast();
                continue;
            }
        }
        if(i + 1 != n && Math.abs(arr[i + 1] - arr[i]) == 'a' - 'A') i++;
        else list.add(arr[i]);
    }
    StringBuilder sb = new StringBuilder();
    while(!list.isEmpty()){
        sb.append(list.removeFirst());
    }
    return sb.toString();
}
}
```
#leetcode
#challenge
Here is the link for the problem:
https://leetcode.com/problems/make-the-string-great/
Text to Handwriting Conversion of Long Texts into Single PDF File
Tags: webdev, productivity, tooling, pdf
Published: 2022-11-08 08:23:23

Hello,

I'm Fatih, the creator of 10015.io. I've developed one of the most popular [**text to handwriting**](https://10015.io/tools/text-to-handwriting-converter) converters on web. It was a though development process as it has many difficult steps like conversion of html into images and also converting them into pdf files. 

One of the most requested feature of this tool was multiple page support. At first, it is not easy to figure out how to split text into multiple pages because the area of the text, line heights and fonts are all dynamic. After a long development process, I've added multipage support to text to handwriting converter on 10015.io.

Now, it automatically splits the text into multiple pages and you can download the image and PDF of each page separately or download all as a single PDF file. Here is how the output looks.


![text to handwriting](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4q1slk8bhupktujat1cp.png)

You can give it a try and comment about your thoughts about the new feature.

https://10015.io/tools/text-to-handwriting-converter

👋
Can anyone solve this dynamically using javascript
Published: 2022-11-08 08:22:52

Input:
[
{class: '10', section: 'A',mark:70},
{class: '10', section: 'A',mark:80},
{class: '10', section: 'A',mark:90},
{class: '10', section: 'B',mark:50},
{class: '10', section: 'B',mark:90},
{class: '11', section: 'A',mark:60},
{class: '11', section: 'A',mark:60},
{class: '11', section: 'B',mark:60}
]
Output:
{
"10-A": 80,// average mark
"10-B": 70,
"11-A": 60,
"11-B": 60
}
A Quick 10-Second Programming Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2022-11-08 08:00:05

---
title: "A Quick 10-Second Programming Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1258884db70.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ What do you call a busy waiter?

___A:___ A server.
 -->
What's your experience with using external utility API services or integrating utility libraries?
Tags: webdev, programming, github, api
Published: 2022-11-08 07:58:09

Most developers say that while libraries are easy to incorporate into existing code base, and give better control over the data being processed and stored; they bloat the application, use additional memory and compute resources, and are usually tied to a specific technology stack.
What're your thoughts?

P.s: Try out [ApyHub](apyhub.com) and let me know about your experience. If you like what you see, come support our [upcoming launch](producthunt.com/upcoming/apyhub)
Microsoft Edge Add-ons | Tell us more about your experience with browser extensions
Tags: extensiondevelopers, microsoftedge, browserextension, webdev
Published: 2022-11-08 07:23:00

Hello, browser extension developers!

Your continual, uninhibited inputs on the positives and challenges encountered with your browser extension journey has always helped us understand where Microsoft Edge Add-ons could improve. In that effort, we aim to better comprehend how you engage with extension stores and the various factors influencing your journey with extensions development.

We want you to be vocal again, to support you with more features.

Could you please spare some time to participate in a 5-minute survey?

### **[TAKE THE SURVEY](https://aka.ms/browserextdevsurvey_1022)**


The survey is designed specifically to gain further information on your extension development journey and discern your experience with the available features.

This would help us support you better in your journey around extensions.  Your insights are immensely helpful to us, in launching new updates to Microsoft Edge Add-ons.

We appreciate your effort & look forward to growing together.