teleren/devto huggingface dataset:
A personal realization by an IT personal for importance of exercise 
Tags: productivity, wfh
Published: 2020-10-21 11:04:15

As I step up in the corporate ladder, I started getting more roles and responsibilities. More responsibilities in my job means I have to perform many tasks and manage multiple things. With this I come to realize <a href='https://www.fitgangs.com/must-know-importance-of-exercise-and-importance-of-physical-fitness' title='importance of exercise' target='_blank'>importance of exercise</a> in our lives.

Normally, It was set 7-8 hours me doing my job on my desk and then leave for home. This continuous working bounds me in a chair with adjusting myself in various postures. Mostly, its the neck that gives me trouble for longer times because of neck down at the screen.

In the recent times, Covid-19 pandemic caused most IT workforce to work from home. At first, it looks good that you have to work from home but in actual your work hours increased. I personally working for 12 hours of my day time in my job. 
With troubling economy, you will do it because you never know when your company says goodbye to you.

This kind of work schedule causes various kind of problems like obesity, high blood pressure, high blood sugar and excess body fat etc. A study suggests that people who sat for more than 8 hours a day with no physical activities hurts your body in a really bad way.

These problems are not to be taken lightly. As the risks of dying is similar here like by dying from obesity and dying from smoking. This also creates risks in cardio-vascular diseases which again is a serious problem.

To overcome such schedule, there is no way but to create a positive work routine which maintains your health and as well as your productivity. There are some points which can be included in work schedule such as :- 

    1.  Start taking break after 1-2 hours
    2.  Must attend calls or conversation with standing not sitting.
    3.  Try working standing also with proper height work-station.
    4.  Do Stretches in between especially for back.
    5.  Must do walks in breaks

I personally use these hacks in my life to improve my health at my work.
If you intend to learn more such health hacks for healthy lifestyle, kindly
check out <a href='https://fitgangs.com' title='FIT GANGS' target='_blank'>FIT GANGS</a> a healthy lifestyle blog.
Webocity Technologies
Tags: web, seo
Published: 2020-10-21 10:41:12

Webocity is an excellent Website Development Company in Delhi NCR, India. We thoroughly comprehend the objective of website development for each of our clients. Whether you are looking at improving sales of your physical products through online presence or selling digitals products or may be seeking it as a means of advertisement to your clients. Being a Leading Website Designing company in Delhi, We have a team of dedicated professionals that will thoroughly understand what all can be achieved through a website for your website and accordingly offer you the best possible website development solution for your business needs . We use advanced platforms for web development like Word press and Magento to offer you the most effective websites.
13 general job interview questions
Tags: career
Published: 2020-10-21 10:38:28

Hi, I received questions about how to get a job as a programmer in Germany. Im still studying and dont have a job as a programmer yet, but as I had quite a few job interviews as a lawyer, I thought maybe I share my experiences about these job interviews. These were the most important questions to prepare for:

1. We want to get to know you. Please tell us about yourself.

2. Why do you apply for this position?

3. Why are you the right candidate for us?

4. What do you expect from yourself/us/the job?

5. What are your strengths/weaknesses?

6. What are you proud of, with what are you dissatisfied, what are your successes/failures?

7. What do you want to have reached in 3/5/10 years?

8. Why did you choose theses studies/job/activity?

9. Which areas did you specialize on?

10. How do you relax/spend your free time?

11. Which questions do you have for us?

12. Which work experiences do you have(details)?

13. Why do you want to quit your old job?

In general it is very important to be honest and not pretending to be someone you are not. Always prepare questions for your future employer(see 11.), I made good experiences with that. Which tips do you want to share for job interviews? Have a nice day!😊
Lead Generation Through Web Scraping
Published: 2020-10-21 10:30:33

Web scraping is one of the best ways to generate leads for your business quite easily.

Today we will look at a practical example of how to get leads from online business directories.

Here are 57 of them that you can scrape leads from

That's a lot. So in this article lets learn how to scrape one of them, Yellow pages so that you can use the same techniques to scrape data from the others. Here we are imagining a scenario where we are looking to generate a list of Dentists that we can target.

BeautifulSoup will help us extract information, and we will retrieve crucial pieces of information from Yellow Pages.

To start with, this is the boilerplate code we need to get the Yellowpages.com search results page and set up BeautifulSoup to help us use CSS selectors to query the page for meaningful data.

We are also passing the user agent headers to simulate a browser call, so we don't get blocked.

Now let's analyse the Yellow pages search results. This is how it looks.

And when we inspect the page, we find that each of the items HTML is encapsulated in a tag with the class v-card

We could just use this to break the HTML document into these cards which contain individual item information like this.

And when you run it.

You can tell that the code is isolating the v-cards HTML

On further inspection, you can see that the name of the place always has the class business-name. So let's try and retrieve that.

That will get us the names.

Bingo!

Now let's get the other data pieces.

And when run.

Produces all the info we need including ratings, reviews, phone, address etc

If you want to use this in production and want to scale to thousands of links, then you will find that you will get IP blocked easily by Yellow Pages. In this scenario, using a rotating proxy service to rotate IPs is almost a must. You can use a service like Proxies API to route your calls through a pool of millions of residential proxies.

If you want to scale the crawling speed and don't want to set up you own infrastructure, you can use our Cloud base crawler crawltohell.com to easily crawl thousands of URLs at high speed from our network of crawlers.
Season of Docs, Meeting-8
Tags: github, opensource, docker
Published: 2020-10-21 10:30:18

On 14th of October, I had a meeting with my mentors with regards to Google's Season Of Docs project. The mentors had assigned the following tasks:-
1. Removing redundancy in the installation section.
2. Change the heading "With Explorer" to "With SBOLExplorer"
3. Unify all installation instructions under the General Section even for different OS's.
4. Just give the link to Docker and Point them to install Git on their OS.
5. Replace the navigation step with this statement "Navigate to the directory where you want to install SynBioHub"
6. Try not to merge commands with the sentences
7. Change the Ordering, use no's only.
8. Take out "With Developmental SynBioHub"
9. Link to the plugins table.
10. Remove NGINX Config.
11. Resolving the issue on the Sub-section bar on the Right Hand side of the Plugins page.

I was able to complete almost all the assigned tasks, without any issues except one i.e, "Resolving the issue on the Sub-section bar on the Right Hand side of the Plugins page".

I have opened up an Issue on ACE-documentation's github page with regards to this problem, since it is an unusual one, but still minor. I haven't received any significant response from their side, and I hope to resolve this issue by the end of this week.

I hope to have a more fruitful discussion, about taking this project forward in the upcoming meeting i.e on the 21st of October.
Scraping Listings from Zomato with Python and BeautifulSoup
Published: 2020-10-21 10:23:14

One of the biggest applications of Web Scraping is in scraping restaurant listings from various sites. This could be to monitor prices, create an aggregator, or provide better UX on top of existing hotel booking websites.

Here is a simple script that does that. We will use BeautifulSoup to help us extract information and we will retrieve hotel information on Zomato.

To start with, this is the boilerplate code we need to get the Zomato search results page and set up BeautifulSoup to help us use CSS selectors to query the page for meaningful data.

We are also p[assing the user agent headers to simulate a browser call so we dont get blocked.

Now let's analyze the Zomato search results for a destination we want. This is how it looks.

And when we inspect the page we find that each of the items HTML is encapsulated in a tag with the class search-result.

We could just use this to break the HTML document into these parts which contain individual item information.

And when you run it.

You can tell that the code is isolating the cards HTML.

On further inspection, you can see that the name of the restaurant always has the class result-title. So let's try and retrieve that.

That will get us the names...

Bingo!

Now let's get the other data pieces...

And when run..

Produces all the info we need including ratings, reviews, price, and address.

In more advanced implementations you will need to even rotate the User-Agent string so Zomato cant tell its the same browser!

If we get a little bit more advanced, you will realize that Zomato can simply block your IP ignoring all your other tricks. This is a bummer and this is where most web crawling projects fail.

Overcoming IP Blocks

Investing in a private rotating proxy service like Proxies API can most of the time make the difference between a successful and headache-free web scraping project which gets the job done consistently and one that never really works.

Plus with the 1000 free API calls running an offer, you have almost nothing to lose by using our rotating proxy and comparing notes. It only takes one line of integration to its hardly disruptive.

Our rotating proxy server Proxies API provides a simple API that can solve all IP Blocking problems instantly.

With millions of high speed rotating proxies located all over the world,
With our automatic IP rotation
With our automatic User-Agent-String rotation (which simulates requests from different, valid web browsers and web browser versions)
With our automatic CAPTCHA solving technology,
Hundreds of our customers have successfully solved the headache of IP blocks with a simple API.

The whole thing can be accessed by a simple API like below in any programming language.

We have a running offer of 1000 API calls completely free. Register and get your free API Key here.
My Python project structures
Tags: python, machinelearning, template, structure
Published: 2020-10-21 10:13:52

## Machine learning, Artificial intelligent
```
.
├── documents/
│   ├── problem
│   ├── approach
│   ├── log
│   ├── result
│   └── application
├── data/
│   ├── dataset
│   └── download scripts
├── train/
│   ├── preprocssing scripts
│   ├── visualizing scripts
│   ├── training scripts
│   ├── validating scripts
│   └── models/
│       └── very_smart.ai
├── try/
│   ├── strange dataset/
│   └── try model scripts
├── requirements.txt
└── README.md
``` 
## Package
```
.
├── docs/
├── py-pkg/
│   ├── _init__.py
│   ├── __version__.py
│   └── pkg scripts
├── tests/
│   ├── test set/
│   │   └── test cases files
│   ├── __init__.py
│   └── test scripts
├── README.md
├── setup.py
└── requirements.txt
```
## Tool
```
.
├── documents/
├── resources/
│   ├── images
│   ├── sounds
│   └── videos
├── core/
│   ├── configurations/
│   │   └── settings files
│   └── tool scripts
├── test/
│   ├── test set/
│   │   └── test cases files
│   └── test script
├── requirements.txt
└── README.md
```
## Freestyle
😀I put everything in root
React newbie having to learn on an AMD project
Tags: react, explainlikeimfive
Published: 2020-10-21 09:36:23

Hi,
I've been working on the Java back end of my project but having to move over to doing some React enhancements on the UI.

I really want to get stuck in but finding it frustrating that I'm still trying to get React concepts into my thick head. Some of that is because, when I read web articles for assistance, nearly everything is (obviously) couched in terms of the latest guidelines.

What I mean by this is that React tutorials tend to present React class components in their ES6 format. Unfortunately, though, my project is stuck with AMD for the time being, for example:

```
define([], function(){
    return function renderDOM($, React, ReactDOM, antd, Promise, widgetHeight, widgetWidth, element){

        var CommSettings = React.createClass({

            propTypes: {
                widgetHeight: React.PropTypes.number,
                widgetWidth: React.PropTypes.number,
                setComm: React.PropTypes.func,
```
etc...

The above isn't helped by the fact that those who wrote the existing project code, erm..., shall we say, didn't take too much care over the Single Responsibility principle: so I'm not finding it easy to look at a single JSX file of 800 lines and appreciate what's going on.

But my real question is largely this: I'm getting to grips with the concepts explained in the ReactJS tic-tac-toe tutorial, but I want to understand how the standard ES6 declaration of a class constructor, passing of props and setting of initial state variables map back into the AMD way of doing things (as shown above). I just need an idiot's guide of how to achieve the same thing using React.createClass(), getInitialState(), propTypes:{...}, and so on.

Can anyone help ?
FineBet - Đánh Giá Nhà Cái Cược Trực Tuyến Uy Tín Tại Việt Nam
Tags: finebet
Published: 2020-10-21 09:34:52

<a href="https://fine.bet/">FineBet</a> là trang website chuyên đánh giá top các Nhà cái cá cược trực tuyến uy tín nhất tại Việt Nam.
Các môn thể thao chủ đạo được các nhà cái tổ chức như keno, xổ số và các trò như bầu cua, tài xỉu, bắn cá...Đảm bảo mang đến cho bạn sự hài lòng khi tham gia chơi tại FineBet.
Địa chỉ: Đông Thành, Đức Huệ, Long An
Email: Cs@fine.bet
Youtube: https://www.youtube.com/channel/UChMQEzYiA-1kZCfrpNB90rA/
Postgres: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.66.dylib
Published: 2020-10-21 09:23:42

The other day, after a restart, my Postgres did not want to run anymore. 

Checking the logs in `/usr/local/var/log/postgres.log` revealed the following message: 
```
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.66.dylib
  Referenced from: /usr/local/opt/postgresql/bin/postgres
  Reason: image not found
```

This was simply fixed by running:
`brew switch icu4c 66.1`
Faster Wordpress in 8 Steps
Tags: webdev, webperf, php, wordpress
Published: 2020-10-21 09:20:01

Just recently I was fed up with my [Wordpress based blog](https://www.timo-ernst.net). I was using a pre-canned theme and overall felt like the whole thing was sluggish and confusing in terms of usability and general visual appearance. As I was always jealous about dev.to's lightning fast loading speed I thought hey – why not turn this into a statically generated page using Gatsby? I mean, static is the new hype so why not use it?

## Gatsby was not the answer

After tinkering with Gatsby for quite a while I got something to work. The most difficult part was to export all Wordpress posts into Markdown – which was difficult but doable. However, I wasn't very happy with the themes available for Gatsby Blog. I wanted something extremely minimalistic but aesthetically pleasing at the same time. So, when I briefly checked one of my Wordpress posts I noticed that the time to first byte actually wasn't that bad and I thought: _Mhh... what if I could just tweak my Wordpress installation a bit and make it blazingly fast?_

## Challenge Accepted

So, here are the actions I took:

1. Found a [WP theme](https://wordpress.org/themes/gutenbook) which was visually close enough to what I wanted
2. Overwrote with custom CSS to get it cleaner
3. Removed all "Featured Images" from homepage
4. Installed [WP Fastest Cache](https://wordpress.org/plugins/wp-fastest-cache) and enabled all settings
5. Registered my site at [Cloudflare](https://www.cloudflare.com/) and have WP Fastest Cache push all static content to Cloudflare
6. Installed plugin [Disable/Remove Google Fonts](https://wordpress.org/plugins/disable-remove-google-fonts)
7. Changed css `font-family` so it works without Google Fonts
8. Used WP plugin [Smush](https://wordpress.org/plugins/wp-smushit) to compress all images

## The results

- Super clean new design
- Average time to first byte: *350ms*
- Average full load in: *450ms*
- 100/100 PageSpeed Insight Points for desktop computers
- 98/100 PageSpeed Insight Points for mobile devices
- Webpagetest.org results for speed:

![Webpagetest Results](https://dev-to-uploads.s3.amazonaws.com/i/x34es2x5mh9j6is43lsv.jpg)

## Conclusion

Creating super-fast websites with Wordpress/PHP is absolutely possible. The most important trick here is static caching and CDN usage. Check the result at [https://www.timo-ernst.net](https://www.timo-ernst.net). I'm a very happy webdev panda now 🐼. Got more tips on how to improve loading speed? Let me know in the comments below :-)

Ps: Follow my web dev journey on [Twitter](https://www.twitter.com/timo_ernst) if you want more stories like this one.

## Question on SEO

If there are any SEO experts reading this – I removed all featured images from the homepage to improve performance and kept images only within posts. Would this negatively impact SEO?
آموزش برنامه نویسی پایتون
Published: 2020-10-21 09:07:19

رستاوا اکادمی اولین  دوره های <a href="https://rastava.academy/">آموزش برنامه نویسی پایتون</a> که به صورت کارآموزی و پروژه محور هستند به صورت آنلاین برگزار می کنه. به وبسایت ما در rastava.academy سر بزنید.
How to resolve Netgear Router Orange light Issue?
Tags: netgearorangelight, discuss
Published: 2020-10-21 09:06:07

When you turned on your Netgear router, it will flash amber or orange light for some time, after some time it will change to green or white. This indicates that the router is working properly.

what do you mean by Netgear orange light mean? The answer to this question is based on this, it indicates that your Netgear Orbi router is in the worst condition and needs treatment. Therefore, in order to resolve the problem of <a href=https://routerfixiya.com/netgear-router-orange-light/><b>Netgear Router Orange Light</b></a>, read the steps given below, please continue reading.

<b>What are the causes behind the Netgear Orange light?</b>

There is a number of factors that cause the orange light on the Netgear router to flash. Here are some of them, which will be discussed below.

*<b>Old version updates</b> - If you are using an older version of the Orbi router that has not been updated for a long time ago, the processing speed is very slow. If you want the router to operate normally, you need to update it to the latest version.

*<b>No Connection</b> - The connection must have a strong link because weak signals are the main reason.

*<b>cables are Damage</b> - Damaged cables (such as USB and Ethernet cables) will cause the LED to light up.

*<b>power supply problem</b> - If the power is interrupted and there is not enough power for the router, this may be one of the reasons that Netgear lights up orange.
check my latest Smartcontract Deployment.
Tags: blockchain, devops, xinfin
Published: 2020-10-21 08:09:46

Today I have created a SmartContract for sending money, it was just a testing small code as follow

"pragma solidity ^0.6.0;
contract SendMoneyExample {
    uint public balanceReceived;
    function receiveMoney() public payable {
        balanceReceived += msg.value;
    } 
    function getBalance() public view returns(uint) {
        return address(this).balance;
    }
    function withdrawMoney() public { // not payable because we are taking money out, not in
        address payable to = msg.sender;
        to.transfer(this.getBalance());
    }
    function withdrawMoneyTo (address payable _to) public {
        _to.transfer(this.getBalance());
    }
}"

here is my deployment link on XinFin Network: https://explorer.xinfin.network/tx/0x4dc8aafeb6609027acfdfe0a2819b105c15eb9f0a45fd72593b01465486b8009

Check the video: https://www.linkedin.com/posts/mahalaxmi-perumal-244a291b8_video-smartcontracts-blockchain-activity-6724616598310719488-_6Ik
First Project with rails PosturaBook
Tags: rails, hotwire, stimulus, turbo
Published: 2020-10-21 08:40:06


1. [Chiarire le idee](https://www.buymeacoffee.com/markpostura/restart-posturacorretta)
2. [Facciamo un recap](https://dev.to/rails4business/launch-a-business-in-the-world-of-pain-and-massage-1b2d)
3. [Marketing e modello di Business](https://www.buymeacoffee.com/markpostura/primo-progetto-posturabook).
4. [Indice del libro è necessario chiedere l'accesso](https://docs.google.com/document/d/1bOimHwtlx_HvpMUNJFPxVEtP7uTqgam8a4taxxDJ8LY/edit?usp=sharing)
5.  [Preparare il Banco di lavoro](https://dev.to/rails4business/first-post-29n2/)  
6. [Creazione app. flowbite - Impostazione css e mockup.](https://dev.to/rails4business/crea-lapp-posturabook-con-rails-k4e)
7. Definizone database e relazioni.

## 3. Preparazione Banco di lavoro Per Mac (Se utilizzi un altro sistema operativo alcuni strumenti puoi utilizzarli, per altri dovrai trovare dei sostituti.)

Iniziamo a costruire l'applicazione posturabook, utilizzando Rails 7 Hotwire stimulus e Turbo e flowbite! Prendiamo come riferimento il tutorial di [hotrails.dev](https://www.hotrails.dev/turbo-rails)

Possiamo installare asdf per la gestione di versione
- [Installare asdf](https://asdf-vm.com/) 

Seguiamo [la guida del fantastico Chris](https://gorails.com/setup/macos/13-ventura) per installare:
- [Installare Homebrew](https://brew.sh/)
- [Installare ruby](https://www.ruby-lang.org/it/)
- [Installare nodejs](https://nodejs.org/en)
- [Installare rails](https://rubyonrails.org/) 

Poi si va ad:
- [Installare Postgres.app](https://www.postgresql.org/download/macosx/)
- [Installare Postico](https://eggerapps.at/postico2/)
- [Installare VisualStudioCode](https://code.visualstudio.com/)


[Buy me a coffe!](https://www.buymeacoffee.com/app/post/edit/2123745
)
Variables in Kotlin
Tags: kotlin, android, productivity, codenewbie
Published: 2020-10-21 08:39:59

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/03p00uh67y9vg34qgy6x.jpeg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/2bn5h3nuimus07zfh21y.jpeg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/2avm3jmbiht149dkii7v.jpeg)