teleren/devto huggingface dataset:
Direct Hire: Senior Frontend Engineer
Tags: javascrit, react, angular, python
Published: 2022-04-21 12:33:06

Hi Developer Community! - I am a USA recruiter looking for USA based developers. Let me know if you are interested.

**Title: Sr. Software Engineer
2 positions: Frontend and Fullstack
Location: 100% Remote
Must be USA based / No sponsorship, it is direct hire.**

The company I am working with, is a disruptor in the cybersecurity space, with over 200 customers, including Fortune 100 companies and governments - high growth / dynamic environment, based out of Miami, FL

I have already placed 2 engineers and the director of engineering, which is the hiring manager. 

Salary around the $150k - $170k + 10% bonus + benefits + equity package. The salary is flexible for the right candidate.

**Growth opportunity 
Unlimited flex time off
401k
Full benefits include medical, dental, vision, short and long term disability, and life insurance
Home office setup stipend**

Let me know if this sounds like something you would like to know more about and I can send you the job description for your review.

Thanks!

Ruben / rrabines@segrera.com
The OtoReact RHTML framework
Tags: javascript, html, angular, otoreact
Published: 2022-04-21 12:30:25

Hello everyone,
While working at Otolift Stairlifts International, I created a new JavaScript framework **OtoReact** for building "reactive" (single page) web applications.
It combines aspects of frameworks like Angular and React, but I think it is quite easier to learn and use than either.
I also created an extensive documentation site: https://otoreact.dev.

Have a look at it, try it, and please tell me if you like it!
Any feedback is appreciated.
How load CSV files in your Drive with Pandas.
Tags: datascience
Published: 2022-04-21 12:27:14

## 1. Import Drive

First we need import Drive in our Note Book, use this commands:

```python
from google.colab import drive
```



## 2. Mount your Google Drive

Mount your Google Drive at the specified mount-point path.

```python
drive.mount('/content/drive')
```

This command ask for permissions for use your Drive

## 3. Import Pandas

For load CSV in our Notebook, we use:

Import Pandas

```python
import pandas as pd
```


## 4. Load CSV in Drive with Pandas

Read CSV file with Pandas

```python
pd.read_csv('/content/drive/My Drive/{csv location}')
```

_example_

```python
pd.read_csv('/content/drive/My Drive/Colab Notebooks')
```

If you CSV file has many pages, you can use this line

```python
pd.read_excel('{csv_location}', sheetname='{sheetname}')
```

_example_

```python
pd.read_excel('/content/drive/My Drive/Colab Notebooks', sheetname='january accounting')
```

If the columns in your CSV is separate with special character, you can use:

```python
pd.read_csv('/content/drive/My Drive/{csv location}' , sep='{special_character}')
```

_example_

```python
pd.read_csv('/content/drive/My Drive/Colab Notebooks' , sep='|')
```
Cheatsheet for YAML
Tags: yaml, github, webdev
Published: 2022-04-21 12:21:28

YAML is a data serialization language commonly used to create configuration files. YAML stands for yet another markup language or YAML ain't markup language (a recursive acronym) depending on who you ask, emphasizing that YAML is for data rather than documents.


Syntax for YAML
Perl, C, XML, HTML, and other programming languages are all represented in YAML. JSON files are valid in YAML because it is a superset of JSON.

Nesting is shown in YAML using Python-style indentation. Because tab characters are not permitted, whitespace is used instead. Braces, square brackets, closing tags, and quotation marks are not included in the standard format. The extension of YAML files is .yml or.yaml.


The creation of configuration files is one of the most prevalent uses for YAML. Even though they can be used interchangeably in most circumstances, it is advised that configuration files be written in YAML rather than JSON because YAML is easier to read and understand. YAML is utilized for Kubernetes resources and deployments in addition to Ansible. One advantage of utilizing YAML is that it can be incorporated to source control systems like GitHub, allowing changes to be recorded and audited.


See you soon.
ERROR Server
Published: 2022-04-21 12:06:35

Hello. I am a beginner here and in web development. I need some advice. Am working on a shopping cart program and i keep getting this..[Web Server ] Apr 21 13:13:10 |WARN   | SERVER GET  (404) / ip="127.0.0.1"
[Application] Apr 21 11:13:10 |ERROR  | REQUES Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET http://127.0.0.1:8000/"" at C:\Users\33769\my_caddie\vendor\symfony\http-kernel\EventListener\RouterListener.php line 130
Stand Alone Redux, beginner's code reference to understand the flow...
Published: 2022-04-21 12:02:57


Redux is a state management library, that keeps the state available application wide.  

see the code of Redux without reactjs below  
also now CreateStore is deprecated.

## Redux Program 1 
keywords 
reducer ->store -> subscribe -> dispatch -> action

run like a simple javascript file.

npm init
npm i redux
node mycode.js 
```
const redux = require("redux");

const counterReducer = (state = { counter: 0 }, action) => {
  if (action.type === "increment") {
    return {
      counter: state.counter + 1,
    };
  }
  if (action.type === "decrement") {
    return {
      counter: state.counter - 1,
    };
  }
  if (action.type === "multi5") {
    return {
      counter: state.counter * 5,
    };
  }
};
const store = redux.createStore(counterReducer);

const counterSubscriber = () => {
  console.log(store.getState());
};

store.subscribe(counterSubscriber);

store.dispatch({ type: "increment" });
store.dispatch({ type: "multi5" });
store.dispatch({ type: "decrement" });

```

## redux-toolkit program 2

do 
npm init
npm install @reduxjs/toolkit
node redux-toolkit.js

```
import pkg from "@reduxjs/toolkit";
const { configureStore } = pkg;

const initialState = { value: 0, myName: "Govind" };

function counterReducer(state = initialState, action) {
  // Check to see if the reducer cares about this action
  if (action.type === "counter/increment") {
    // If so, make a copy of `state`
    return {
      ...state,
      // and update the copy with the new value
      value: state.value + 1,
    };
  }
  // otherwise return the existing state unchanged
  return state;
}

const store = configureStore({ reducer: counterReducer });

console.log(store.getState());

store.dispatch({ type: "counter/increment" });

console.log(store.getState());

//We can call action creators to dispatch the required  action
const increment = () => {
  return {
    type: "counter/increment",
  };
};

store.dispatch(increment());

console.log(store.getState());
// {value: 2}

//Selectors
// Selectors are functions that know how to extract specific pieces of information from a store state value.
const selectCounterValue = (state) => state.value;

const currentValue = selectCounterValue(store.getState());
console.log(currentValue); //2

const selectMyName = (state) => state.myName;
const name = selectMyName(store.getState());
console.log(name);

```
Digital Marketing Ideas For Fashion Brands
Tags: digitalmarketingideas, digitalmarketing, fashiondigitalmarketing
Published: 2022-04-21 11:54:03

Digital marketing should remain an important part of your overall strategy. Because so many companies are going digital these days, you need to make yours stand out. There are so many [digital marketing agency](https://www.dotcominfoway.com/internet-marketing/) strategies for fashion firms that it's difficult to know where to start. This list of digital marketing post ideas will keep you motivated for quite some time.

Here are a few tips to help you establish successful [fashion digital marketing agency](https://www.dotcominfoway.com/fashion-digital-marketing-services/) strategies for apparel manufacturers and businesses:

- Increase brand awareness
- Ensure that you have a mobile presence
- Join the Social Networking World
- Use cutting-edge technologies, such as chatbot integration, to your advantage
- Make your own packaging
- Run Facebook ads that are retargeted
- Create style guides and start a blog
- Make a gift guide
- Develop relationships with potential customers
- Coupons for birthday discounts
- Keep an eye on your info
Automate Facebook APIs with Python ( Publish a Post on Facebook using Python )
Tags: python, beginners, tutorial
Published: 2022-04-21 11:49:47


Here we are going to discuss how to publish a post on Facebook with Facebook graph API using python

**First We are Going to Getting Know about What is Facebook Graph APIs**
The Facebook Graph API exposes URL endpoints to which you can make GET and POST calls to interact with your Facebook page or upload data and posts to your Facebook account. The Graph API is the primary way for apps to read and write to the Facebook social graph.
using Facebook Graph API,

1. Read the messages on your timeline,
2. Send messages,
3. Read posts,
4. Create posts, edit posts or even delete posts and etc…

**Before You Start, You will need ( see video tutorial ):**

1. Register as a [Facebook Developers](https://developers.facebook.com/docs/development/register)
2. Create a [Facebook App](https://developers.facebook.com/apps/?show_reminder=true)
3. Open the [Graph Explorer tool](https://developers.facebook.com/tools/explorer/) ( this tool lets you make calls to Facebook’s Graph API)
4. Get brief understanding of the structure of the Facebook Social Graph from our[ Graph API Overview](https://developers.facebook.com/docs/graph-api/overview#nodes) guide

** Main Step 01 **( Create a Facebook App )
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v8p14f5vmr4yyl8zmk68.png)
 ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p2f9o0g8tc2zp6f170yw.png)
 ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dkf3p1l5kjuvs3p1lrse.png)
 

** [Main Step 02](https://vimeo.com/701609024) ** ( Get your Facebook Page Access Tokens )
see this video https://vimeo.com/701609024
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xex41d6msvrjifukqecu.png)
 
** Main Step 03 ** ( Send Request Using Python )

We will be using the requests library for sending the HTTP requests. Requests allow you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs or to form-encode your PUT & POST data — but nowadays, just use the json method!

```
python -m pip install requests
```
2. You will also need a page ID — for the Facebook page you would like to post to. You can get your page ID directly from your Facebook page, under the “About” tab. Copy this ID and paste it into your code.

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

3. This is the code for creating a post

```
import requests
#Your Access Keys
page_id_1 = 123456789
# Your Page Access Token
facebook_access_token_1 = ‘Your Page Access Token’
# Post Content as Text
msg = ‘hi buddy’
post_url = ‘https://graph.facebook.com/{}/feed'.format(page_id_1)
payload = {
‘message’: msg,
‘access_token’: facebook_access_token_1
}
r = requests.post(post_url, data=payload)
print(r.text)
```

Thank you!
New Things Added - Laravel 9.9 Released
Tags: php, laravel, webdev, programming
Published: 2022-04-21 11:33:10

Let's get started quickly I found new things in Laravel 9.9
Released I wanted to share with you.

- Add a "throw" Method to the PendingRequest Class
https://github.com/laravel/framework/pull/41953

```php
private function client(): PendingRequest
{
    return Http::baseUrl('https://www.getrevue.co/api/v2/')
        ->withHeaders([
            'Authorization' => 'Token ' . config('services.revue.api_key'),
        ])
       ->throw();
}
```
Here you make an exception for the error, if any
```php
Http::acceptJson()
    ->get('http://laratips.test/api/test')
    ->throw()
    ->json();
```

- Eloquent Builder withoutEagerLoads() Method
https://github.com/laravel/framework/pull/41950

```php
// Before
$query->setEagerLoads([]);
// After
$query->withoutEagerLoads();

$query = User::with(['logins'])->whereNotNull('email_verified_at');

$query->first(); // with eager loads

$query->withoutEagerLoads()->first();
```

-  Get All Tables Support for SQLite and SQLServer
https://github.com/laravel/framework/pull/41896

```php
Schema::getAllTables();

collect(Schema::getAllTables())->pluck('name_db');
```

I hope you enjoyed with me and to learn more about this release visit the sources and search more. I adore you who search for everything new.

Source :- https://laravel-news.com/laravel-9-9-0
Source :- https://www.youtube.com/watch?v=ynJfINXM6U8
Things to try before Neural Networks.
Tags: machinelearning, ai, deeplearning, datascience
Published: 2022-04-21 11:28:26

**It is not always the big stuff or the latest packages that help improve the accuracy or performance of our machine learning models.**

**At times we overlook the basics of Machine Learning and rush higher order solution. When the solution is just right there in front of us.**

**Here are the 10 simple things you should remember to try first before throwing in the towel and jumping straight to RNNs and CNNs(of course there are datasets which merit you to start straight from LSTMs and BERT). Let us remind ourselves of our checklist before bringing out our Calculus skills.**

## Domain Knowledge :

**Try to understand as much as about the domain as
you can. This will greatly help you in your predictive
models and in coming up with great features.**

## Get More Data :

**You can simply request for more data. The data you
have might not be enough to give you an accurate
model with a good bias-variance output.**

## Treat Outliers :

**When using optimizers like RMSE or MSE, leaving
outliers untreated in your dataset would lead very
poor results.**

## Try transforming your Data :

**Simple transformations like "square" or "square
root" can give your model "ideas" to better see
patterns in your dataset. And of course if you
suspect a lognormal distribution, then taking logs on
your features would be very beneficial (especially
when using linear models)**

## Do feature selection :

**The curse of dimensionality is not good. So, selecting
the most relevant features to include in your model,
not only helps you reduce overfitting, it also helps
your model run faster. So throw in some LASSO and
let's see which features would survive.**

## Do cross validation :

**Your test dataset should really be like your last
defender before taking your model to production. So
use cross-validation to reduce variance and obtain a
model which generalizes well with new data.**

## Try many algorithms :

**In beginning you are not very sure of the distribution
of your data. So try a couple of models and see which
one optimizes your objectives or criteria with time
you would be better at knowing which model to use.**

## Hyperparameter Tuning :

**Off course, you have to tune those hyper parameters
like "Learning Rate" so that your gradient descent is
able to avoid being trapped in a local minima. You
need to prune those decision trees to avoid overfitting.**

## Use Ensemble :

**Bagging and Boosting have helped many win kaggle competitions why not try same with your dataset.**

## Reshuffling your data :

**Yes, You read it right. The best ideas are the simplest.
Just try it. Merely reshuffling data often helps improve
the performance. Who said machine learning models
do nor need our help to avoid bias?**
My_bio
Tags: beginners, programming, books
Published: 2022-04-21 11:10:25

## my first post
### привет всем. Меня зовут Фарзона и это мой первый пост.

- I'm 18
* I study at TMA
  - medical management faculty



 **29.02.2004** *18.04*

[tg](https://t.me/kakhramanovnaaa)
Migrate C# project to Istio
Tags: istio
Published: 2022-04-21 11:02:39

My team has a C# project. This project is deployed using k8s. There was a task to migrate to corpotive Istio using a certificate, a gateways and a virtual service but without a service mesh.
If you have such type of a task there are my recomendations:
1. It's needed to create a file with a certificate:

```
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  labels:
    istio-certificate: "true"            # if it would be used with gateway object, the value should be set to "true"
    app.kubernetes.io/managed-by: {{ .Release.Service }}
  name: {{ .Values.environment.servicename }}
spec:
  dnsNames:
  - {{ .Values.service.name }}.{{ .Release.Namespace }}.{{ .Values.environment.cluster }}
  issuerRef:
    kind: ClusterIssuer
    name: certificates-issuer
  secretName: {{ .Values.environment.servicename }} # the secretName should be equals to the certificate name
```
If you want to learn more about certificate resources, there is  pretty documentaions [here](https://cert-manager.io/docs/usage/certificate/)
The second thing is needed to do is to add a gateway description.
The istio gateway provides a description of ports & protocols which will be used. More information [here](https://istio.io/latest/docs/reference/config/networking/gateway/)
```
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: {{ .Values.service.name }}
spec:
  selector:
    company/istio-ingressgateway: common
  servers:
    - port:
        number: 443                                       
        name: https
        protocol: HTTPS                                   
      tls:
        mode: SIMPLE                                      
        credentialName: {{ .Values.environment.servicename }} 
      hosts:
        - {{ .Values.service.name }}.{{ .Release.Namespace }}.{{ .Values.environment.cluster }}               # use a correct hostname for your namespace 
```
Istio VirtualService describes routing. It's needed to specify hosts, ports and other things. All documentation available [here](https://istio.io/latest/docs/reference/config/networking/virtual-service/)
```
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: {{ .Values.service.name }}
spec:
  hosts:
    - {{ .Values.service.name }}.{{ .Release.Namespace }}.{{ .Values.environment.cluster }}
  gateways:
    - {{ .Values.service.name }}                        # join the virtualService with the gateway
  http:
  - name: "default"
    route:
    - destination:
        port:
          number: {{ .Values.environment.serviceport }}       
        host: {{ .Values.environment.servicename }}-service
```
Telegram sohbet grupları
Tags: telegramsohbet, telegramgruplari
Published: 2022-04-21 10:57:02

Telegram sohbet grubu içerisinde en aktif olarak kullanılan sohbet grupları bulunmaktadır. Telegram sohbet grupları sayesinde gün içerisindeki boş vakitlerinizde insanlar ile konuşarak zaman geçirebilirsiniz.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vjl2l6fthb9oiuz55qm8.jpg)
 
Kaynak: [telegram sohbet grupları](https://sosyalgruplar.com/telegram/sohbet/)
How to get out of a rut. Or not 😬
Tags: beginners, codenewbie, devjournal, webdev
Published: 2022-04-21 10:52:45

I am writing a day late. It’s been a crazy two weeks and I haven’t been coding much 😭

Child sick, me sick, Easter holidays and family visits. All of that distracted me so much and at the same time made me so tired that I lost my thread.

But I was able to gain some energy while being with my family and got some time to relax. So I am getting back on track and I just wanted to write something to not lose it here, too.

So off I go! Starting to learn where I left it two weeks ago…
Freelancing: create a brand or not?
Tags: webdev, discuss, mobile, design
Published: 2022-04-21 10:50:07

I’m unsure on this topic. Whilst freelancing do you represent yourself as yourself or do you create a ‘brand’/company to trade as? 

I would like your thoughts on which one comes across as more professional and wether you think it really matters as long as your work and customer service is professional. 

I’d love to hear your thoughts on this matter.
Download Stickman Warriors Mod Apk (Unlimited Power)
Published: 2022-04-21 10:43:43

If you love playing stickman warrior game and you want the modded version of this game then you here is the article that will tell you how to download and play the stickman warriors mod apk. Please follow the article till the end.
Action games are always loved by the young generation from start to 2022. Young people are crazy to play these kind of games. Thus Stickman warriors is one of the action based game that has anime characters. So the whole game is revolved around it.
How to Download Stickman Warriros game?
If you really want to downlaod the modded version of this game. then follow the simple steps given below
click on the link given below so it will take you to the targeted page where you can download direclty
follow this link: https://apkgrey.com/stickman-warriors-mod-apk/

## Features

## Characters
There are different characters that you can choose to play this game. Now its up to you. There are 100 different character that can be choose.

## Tournament
There are different tournament are available on this game. Thus you can play tournament with people around the world.

## Easy And Simple
You might be thinking that playing this game would be tricky? but you are totally wrong. This game is simple to play. All you need is to use the control accurately and thats it.

## Conclusion
The game offers up a unique mix of platforming and combat that challenges players to use their quick reflexes to navigate treacherous levels filled with obstacles and enemies. With over 30 levels spanning 4 worlds, Stickman Warriors is sure to keep gamers entertained for hours on end.
The top-level-await experiment is not enabled
Published: 2022-04-21 10:33:01

Hey there! Every time I try to run my dev server or create a production build, this error pops up: 

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

I have no idea why this is happening, especially because I can't remember changing anything in there. I hope someone can help me!

Greetings, Finn