teleren/devto huggingface dataset:
How to reset Django admin password
Tags: webdev, django, python
Published: 2023-04-29 09:07:30

`python manage.py createsuperuser` will create another superuser, you will be able to log into admin and remember your username.

To give a normal user privileges, open a shell with python manage.py shell and try:

`from django.contrib.auth.models import User
user = User.objects.get(username='normaluser')
user.is_superuser = True
user.save()`
Identifiers in Javascript
Published: 2023-04-29 09:05:59

Identifiers in JavaScript are simply unique names given to variable, functions, objects and arrays. These names are used to refer to variables, functions, objects and arrays elsewhere in a program. In other words they can be referred to as variable names.
consider the following code

![Example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dfltahzib68nqclqwr6z.png)
In the case above <u>**result**</u>  is the identifier. 
You might also ask what **const** represents in the program.
Here, const is used as a keyword. Javascript keywords are reserved words that are part of the syntax of a programming language.
More reference material can be found using the links below:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#identifiers
Ways to Find Best Place For research paper submission journals
Tags: research, devjournal, science, webdev
Published: 2023-04-29 08:44:39

As a student or a researcher, it is necessary to work in any of the research fields. After completing your thesis you also have to look for an appropriate place to submit research paper for publication. Choosing the right research paper submission journals is necessary so that your work is viewed by your target audience. Here are some of the tips that may help you to find the best place for online research paper submission.

**Best Tools For Finding Research Paper Submission Journals:**
 
ABCD Index database Journal finder is widely used for the researchers who need to find a journal that deals with the publishing of scientific journals. This particular journal finder uses smart research technology to obtain the best and desired journal for the researcher.

In case of your paper is in form of a manuscript, an Endnote match will be best for you. To get the perfect match you have to enter some search details in the toolbar such as abstract, title, and references of your paper. Endnote Match will find the best Journals according to the details you have entered.

Ijsret- [Best Journals To Publish Research Papers](https://ijsret.com/2018/09/08/best-journals-to-publish-research-papers/)

JANE or Journal/author name administrator is for those who have recently written any fresh paper and are confused regarding where to submit the paper. In such cases, JANE helps give the right directions to authors.

In case you need any high-profile and open access journals you can use spring Journal suggester.

Think.Check.Submit is a type of campaign where the researcher can search for a trusted and high-quality journal to submit their paper.

Lastly, the Web of Science master list possesses a collection of over 24,000 journals of several fields and all are indexed by a popular platform known as the Web of Science platform. It provides a search tool for the manuscript also. 

So these were some of the popular tools from where you can find the best journal for online research paper submission. Make sure to understand the journal scope and its guide to authors before you submit any of your work in such journals. Taking all such precautionary steps you can easily publish your paper in reputed journals.

**[IJSET](https://www.ijset.in/free-fast-publication-journals/)** is one of the leading and growing research paper submission journals. Here you can easily submit research paper for publication. They have clear policies and take reasonable time for the publication of your paper. The journal has a large-scale audience where your work can be read and appreciated. The fields 
**we entertain are as follows-
**
**Civil
Mechanical
Machine Learning
Computer Science
Cloud Computing
Machine Learning, and many more **
How to convert String to Integer in java
Tags: java, interview, strings
Published: 2023-04-29 08:28:16

for explanation watch the video

{% embed https://youtu.be/Vy4o8Zgdvbs %}


```
import java.util.*;
import java.lang.*;
class Demo{
	public static void main(String[] args){
		String s = "9999";
		int num1 = Integer.parseInt(s);
		System.out.println(num1);
		int num2 = Integer.valueOf(s);
		System.out.println(num2);
	}	
}


```
Popular tag(#security) last week top 5
Tags: security, c4r4x35
Published: 2023-04-28 13:32:11

##Seguridad en Golang
Cómo escribir código mas seguro en Go?

En esta ocasion, vamos a ver funciones de hash y de cifrado/decifrado con su principal diferencia. Como bonus, una repasada a las funciones pseudo aleatorias...
{% link https://dev.to/tomaslingotti/seguridad-en-golang-4f29 %}
##Prisma + ZenStack: An Alternative to PostgREST
Most web apps only consist of two things: a frontend UI and a backend transaction system. And most of the time, the "backend" is just a glorified intermediary that reads from and writes to a database....
{% link https://dev.to/zenstack/prisma-zenstack-an-alternative-to-postgrest-kak %}
##Recovering from Accidentally Pushing Sensitive Information to a Remote Git Repository
I'm Atsushi Suzuki, and I'm a software developer at a startup in Tokyo. I'm interested in working abroad in the future, so I've decided to start sharing my thoughts and experiences on dev.to, both to...
{% link https://dev.to/suzuki0430/recovering-from-accidentally-pushing-sensitive-information-to-a-remote-git-repository-539m %}
##Cryptography Explained: Types, Techniques, and Applications
What is Cryptography: Types, Techniques, and Applications in Computer Security

Cryptography is an essential aspect of computer security, protecting sensitive information from unauthorized access and...
{% link https://dev.to/abhaysinghr1/cryptography-explained-types-techniques-and-applications-47de %}
##Okta's auth0
Set up authentication in the most efficient way with Okta's auth0

We often deal with this requirement where we're ready with the website be it coding it's features and functionalities but...
{% link https://dev.to/yellowgem/oktas-auth0-28om %}
ABCD Index Approved Journal List 2023
Tags: research, devjournal
Published: 2023-04-29 08:01:45

ABCD Index Approved Journals is on high demand of scholars, scientists, professors, etc. Many of universities categorize the courses/degree research level as per the indexing of the ABCD portal. Such as for Masters' Degree allocation universities pass the ordinance for publication in D category journals of ABCD Index. Similarly, for Doctorates they request to publish journals having C, B or A categories. As per the university level of scholars, they adopt the higher degree of journal category from D to A.

[Free Conference Paper Publication
](https://abcdindex.com/blogs/free-conference-paper-publication)

So to get the desired list of journals belonging to A category just select Rating filter at the journal search option. Similarly, for B, C, and D. Lets, some list of journals are shown below:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0r3m7dnsd01xwf5gxgz3.jpg)

[CONFERENCE FOR PAPER PUBLICATION](https://abcdindex.com/blogs/conference-for-paper-publication)

**- [Engineering: Field ABCD Index ‘A’ category Journals
- Management: Field ABCD Index ‘A’ category Journals
-  Science: Field ABCD Index ‘A’ category Journals
- ART Field ABCD Index ‘A’ category Journals
- Medical:  Field ABCD Index ‘A’ category Journals
- Pharmacy:  Field ABCD Index ‘A’ category Journals](https://abcdindex.com/) ** 

This is to inform you that ABCD Index is an individual platform that has its own criteria to filter journals, it doesn’t mean that other indexing is low or high. Although transparency of author for publication in a good journal is more in ABCD portal
how to convert array to arraylist in java
Tags: java, interview, arraylist, arrays
Published: 2023-04-29 07:51:05

for explanation watch the video

{% embed https://youtu.be/LP-m3qPtOoM %}


```
import java.util.*;
import java.lang.*;
class Demo{
	public static void main(String[] args){
		Integer[] arr = {1,2,3,4,5};
		//List<Integer> al = new ArrayList<>(Arrays.asList(3,4,5,6));
		//al.add(45);
		List<Integer> al = new ArrayList<>(Arrays.asList(arr));
		System.out.println(al);
	}	
}

```
Artificial intelligence
Published: 2023-04-29 07:50:31

Artificial Intelligence (AI) tools have become increasingly important in today's world. They are used in various industries and sectors to automate tasks, improve efficiency, and provide insights that were previously not possible. AI tools have the ability to analyze vast amounts of data and identify patterns, which can help businesses make better decisions and improve their products and services. They also have the potential to revolutionize healthcare, education, and transportation, among other fields. With advancements in AI, we can expect to see even more benefits in the future, including increased safety and security, personalized experiences, and more efficient and sustainable systems.

Check out these 9 new mind-blowing AI tools you should try; https://lnkd.in/dJCen68J
How Much Do Ireland's CV Writing Services Charge?
Published: 2023-04-29 07:43:06

The fee for [CV writing services in Dublin](https://www.cvireland.ie/dublin) may vary depending on the level of difficulty involved. Generally, the cost ranges from **€50** to **€150** for a CV or resume customized for a particular job position. Resume service can evaluate an applicant's skills, qualifications, experience, and other qualities to customize the cv for a specific job. Some services may offer assistance with formatting and style to showcase the applicant's credentials. Prices may differ based on the number of revisions and any extra work requested by the customer.
Tutorial: How to build a fully internationalized Nextjs application using Lingui v4
Tags: lingui, nextjs, crowdin, internationalization
Published: 2023-04-29 07:20:46

The tutorial linked below will guide you through building an internationalized (i18n) Nextjs application using the latest v4 version of Lingui.js.

Completing the tutorial should result in a good understanding of the Lingui internationalization process as well as a fully functioning multi-language Typescript sample application with:

- Support for three languages (English, Dutch and Pseudo)
- Nextjs subpath routing
- Translation files in *.po format, ready for super smooth Crowdin online translations
- A language switcher (optionally)
- Working test suite integration using Vitest and the Lingui swc-plugin

https://bravo-kernel.com/blog/2023/05/how-to-build-a-fully-internationalized-nextjs-application-using-lingui-v4
What Kind of Music or Podcasts Do You Listen to While You Code?
Tags: discuss, beginners, codenewbie, watercooler
Published: 2023-04-29 07:00:00

Do you like to listen to music or podcasts while you code? If so, what kind of music or podcasts do you prefer?

Our team has a preference for instrumental music or lo-fi beats to help us focus on intensive projects. Some of our favorites include Nujabes, Lo-Fi Girl, and Tomppabeats. As for podcasts, we enjoy listening to tech-related shows like "CodeNewbie" (of course!) and "Syntax" to stay up-to-date on industry news and learn about new technologies. “Radiolab” is also a particular favorite here at DEV.

What about you? Share your favorite music or podcast recommendations in the comments below!

---
Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more awesome discussions and online camaraderie!

If you aren't already exploring or posting over on the #codenewbie tag, find the tag here!

{% embed [https://dev.to/t/codenewbie](https://dev.to/t/codenewbie) %}

Image by starline on Freepik.
What Are Some of the Worst Security Practices You’ve Ever Seen in Software Development?
Tags: discuss
Published: 2023-04-29 07:00:00

Was it a cringe-worthy password on a post-it note, a poorly secured database, or a misconfigured server? 😢 What are some of the biggest security mistakes you've seen in your career? And don't forget to share your tips on how to avoid these mistakes!

---
Join the conversation and [follow the DEV Team](https://dev.to/devteam) for more thought-provoking discussions!

{% embed https://dev.to/devteam %}

Image by pch.vector</a> on Freepik.
This week’s newsletter is out! (29-04-2023) - Cauldron of Synchronicities
Tags: javascript, tech, webdev, discuss
Published: 2023-04-29 06:42:31

---
title: This week’s newsletter is out! (29-04-2023) - Cauldron of Synchronicities
published: true
description: Another week of great javascript, tech and web development links.
tags: javascript, tech, webdev, discuss
---

Cauldron of Synchronicities

https://markjgsmith.substack.com/p/mark-smiths-newsletter-29-04-2023

Would love to hear any comments and feedback you have.

[@markjgsmith](https://twitter.com/markjgsmith)
Free GST Billing Software
Tags: billing, invoice, software, gst
Published: 2023-04-29 06:01:07

UniBillApp is **[Free GST Billing Software](https://unibillapp.com/)** that manages sales, purchases, expenses, inventory, and many more. This is one of the very easy-to-use software for online billing and user management, Stock & inventory management, and all business reports.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a83xeq0u5lfqrtwz6krz.jpg)
	
For More Details: -
Contact us: - +91 - 7078602005
Visit Us: - https://unibillapp.com/
Question re: drag and drop for reactjs
Published: 2023-04-29 05:50:45

Hi. I have a question re: drag and drop for reactjs. We need to use a drag and drop library that is well tested on mobile and tablet. The one we are using does not work.
React DnD and React Beautiful Dnd have been suggested to me.  Before implementing them, I just wanted to get feedback on this forum as to their stability.
Why Communication Is More Important Than Code
Tags: writing, beginners, codenewbie, career
Published: 2023-04-29 04:48:05

Junior engineers often focus too much of their time on technical skills. Here’s why I’d argue engineers should spend more time developing communication skills.

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

### Communication Is Higher Leverage
Programming is high leverage since it allows us to do useful work through machines. Since code costs almost nothing to replicate, we can write it once and deploy it everywhere.

Communication is even higher leverage since you can influence other engineers to ship what matters. This is strictly higher leverage than writing the code yourself.


###Communication Increases Your Visibility
Impactful code is only one piece of the puzzle for promotion. To get you promoted, your manager will need to convince the promotion committee. If your work is visible, this process will be much smoother since your manager doesn’t have to explain as much. Excellent writing and speaking help others understand and recognize your contributions.

### AI Will Code
Products like Github’s Copilot are already producing useful code. Although this code generation is far from superhuman, the technology is improving much faster than expected. If it continues at this pace, programming well will no longer be a scarce skill.

Communication will take much longer for AI to replace since it is harder to replace in-person conversation. Effective speaking will be what sets engineers apart when code flows like water.

---

By now, I hope you see the value in becoming a better communicator as an engineer. If you’re looking to improve your communication skills, here are two concrete ways to get started:

* Visit your local Toastmasters to improve your speaking skills. It’s an international public speaking club that provides a supportive environment to practice in. I’ve been doing it since college and it’s helped me better articulate myself during meetings.

* Write more and solicit feedback to become a better writer. That’s one of the top reasons I write this Substack. I can already tell my writing has improved a lot since the first few articles I wrote.

I am always looking to get to know more of my readers. If you’re looking for a tiny opportunity to practice writing, feel free to drop a comment and introduce yourself!

If you found something helpful, [subscribe for free to receive new posts and support my work](https://www.developing.dev/)

Thanks for reading,
[Ryan Peterman](https://www.linkedin.com/in/ryanlpeterman/)
What is an API
Tags: api, codenewbie, webdev, programming
Published: 2023-04-29 03:45:06

##**What is an API?**
API stands for "Application Programming Interface"

An API is a set of programming codes that enable data transmission between one software product and another. it also contains the term of this exchange. it is a set of functions and procedures allowing the creation of applications that access the features or data of an operating system, application, or other services.

###**How does an API work?**

![How does an API work?](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ixhzo77wm71mdqjmy1l.png)

###**Types of APIs**
- Private
- Partner
- Public or external

###**Types of APIs by availability**
Let's see this type in details

**1. Partner**
- Openly promoted but available for only business partners.
- End customers or business users are a potential target for audiences for such apps.

**2. Private**
- APIs are solely used within an organization.
- Apps are mostly built for company employees.

**3. Public or External**
- Available to any third-party Developers.
- Apps with public APIs are mostly developed for end users.

I hope you learned a thing or two from this article. If you have any questions, feel free to send me a DM on [Twitter](https://twitter.com/abdrzqsalihu) and I'll be happy to answer every single one.

You can help me with some donations at the link below Thank you 👇👇 [buymeacoffee.com/abdrzqsalihu](buymeacoffee.com/abdrzqsalihu)
1697. Leetcode Solution in Cpp
Tags: cpp
Published: 2023-04-29 03:35:03

```cpp
class UF {
 public:
  UF(int n) : id(n) {
    iota(begin(id), end(id), 0);
  }

  void union_(int u, int v) {
    id[find(u)] = find(v);
  }

  int find(int u) {
    return id[u] == u ? u : id[u] = find(id[u]);
  }

 private:
  vector<int> id;
};

class Solution {
 public:
  vector<bool> distanceLimitedPathsExist(int n, vector<vector<int>>& edgeList,
                                         vector<vector<int>>& queries) {
    vector<bool> ans(queries.size());
    UF uf(n);

    for (int i = 0; i < queries.size(); ++i)
      queries[i].push_back(i);

    sort(begin(queries), end(queries),
         [](const auto& a, const auto& b) { return a[2] < b[2]; });
    sort(begin(edgeList), end(edgeList),
         [](const auto& a, const auto& b) { return a[2] < b[2]; });

    int i = 0;  // i := edgeList's index
    for (const auto& q : queries) {
      // union edges whose distances < limit (q[2])
      while (i < edgeList.size() && edgeList[i][2] < q[2])
        uf.union_(edgeList[i][0], edgeList[i++][1]);
      if (uf.find(q[0]) == uf.find(q[1]))
        ans[q.back()] = true;
    }

    return ans;
  }
};

```
#leetcode
#challenge
Here is the link for the problem:
https://leetcode.com/problems/checking-existence-of-edge-length-limited-paths/
I made a todo-list with Preact
Tags: webdev, javascript, beginners, discuss
Published: 2023-04-29 03:13:11

Hello! I'm Faiz, a Computer Science student. Recently I made a todo-list with Preact, localStorage, and PWA. This is one of my side project to learn about web development, especially in the frontend world.

![Prudoo List Icon](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ptky5zi13qxchjoaxy4b.png)

## Why Preact?

I'm introduced to Preact by Vite's CLI. There's an option to make a project with Preact template. So I was curious about this. The name is very similar to React.

And... yeah, after a bit of research, as far as I know, Preact is simply a smaller React alternative. Not much I know about it but here I am. I'm planning to make a simple todo-list so I think React would be an overkill.

## Storing the data

I'm not the "Backend Guy". Making an API and tinkering with database is very difficult for me. And then I found this [series](https://dev.to/joelynn/series/12791) about making todo-list with localStorage by Joseph Lynn and give it a shot.

So I know that localStorage is a key-value-based storage system stored in the client's browser. It's very interesting for me.

## Make the app installable

The last thing I add is Progressive Web App or PWA. I tried it with vite-plugin-pwa for adding the service worker into the app. So the app is now installable on your devices!

---

Here's the GitHub repository of the project:

https://github.com/faizbyp/prudoo-list

And here's the live app:

https://prudoo-list.vercel.app/

---

**I'd love to hear some feedback and suggestion so that I can grow more in the learning process. Thank you very much :D**
Getting WKWebView to treat a WKURLSchemeHandler as secure
Tags: wkwebview, ios, wkurlschemehandler
Published: 2023-04-29 02:03:12

_The bad news upfront: you can't do this in an app you're going to submit to the App Store because it involves using a private API. But I thought it was interesting nonetheless._

In short: iOS's webview, WKWebView, allows you create a "custom scheme" and route all requests for it through your native code. So, for example, you could create `resources://` and any request sent to a URL within that scheme would be answered by your app. The big problem is that WKWebView does not consider this scheme "secure", which means if you load an `https://` URL it can't send requests to `resources://`, just like it can't send a request to `http://`.

But you can change that. There's a private method on `WKProcessPool` named [`_registerURLSchemeAsSecure`](https://github.com/WebKit/WebKit/blob/69d4593edf21fe717d6f5355a5279bb1669bbf30/Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h#L87) and it does... well, more or less what the name would lead you to believe. So how to use it? Surprisingly simply:

```
let pool = WKProcessPool()
let selector = NSSelectorFromString("_registerURLSchemeAsSecure:")
pool.perform(selector, with: NSString(string: "resources"))
```

Then just make your `WKWebViewConfiguration` has its `processPool` property set.

Ta-da! Now `resources://` is secure and you can send requests from `https://` URLs. So why doesn't Apple do this themselves internally? I suspect it has something to do with this being set at the WKProcessPool level: you add custom schemes per webview so it's possible for two webviews sharing the same process pool to have different custom schemes. Anyway, fingers crossed in a future release they'll be able to do the refactoring necessary to let us make custom schemes secure.