teleren/devto huggingface dataset:
How to overcome censorship by using tor system-wide on macOS
Tags: censorship, tor, banned, anonymous
Published: 2020-11-07 09:16:36

Today, I will demonstrate how one can use the `tor` program as a system-wide proxy on macOS and thereby avoid censorship and gain anonymity.

Step 1: Install tor
You can do this from your Terminal, simply by running
```
brew install tor
```
Step 2: Add the custom script to your `.bash_profile`
You can find the script at [my github repo](https://github.com/SaifurRahmanMohsin/dotfiles/blob/d6e4a5b0a99207da5c8910ef033105d6ba05e29d/.functions#L216-L241). Copy the 2 functions, and paste it into .bash_profile at the very end.

Step 3: Reset your terminal
For the functions to reload, you have to close and open the terminal app. Once done, you can run `starttor` and walla, it will start the tor network and show this:
![Screenshot 2020-11-07 at 2.43.49 PM](https://dev-to-uploads.s3.amazonaws.com/i/nrrvzjt5i3ogk1uwaiop.png)
 
And that's pretty much it. Surf the web anonymously now, and when you're done, go back to the terminal and hit Ctrl+C and it will cancel the tor relay.

Caveat: In case, the tor relay fails to cancel for some reason, the proxy will still be using the tor port and therefore the entire web will be unavailable. Simply run `stoptor` if this happens and it will clear up the proxy back to it's default setting i.e. no proxy.

For those who prefer a video version of the same, check this out:

[![Youtube Demo](https://img.youtube.com/vi/LrbsolUx34A/0.jpg)](https://www.youtube.com/watch?v= LrbsolUx34A)
My #100DOC - Day 72
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:07:07

### Day 72: November 06, 2020

#### **Today's Progress**: 
1. **[Continued with Confección y Publicación de Páginas Web Course](https://github.com/pablohs1986/confecci-nYpublicaci-nDeP-ginasWeb_SEPE)** (2h):<br>I did my exam, it turned out great.
2. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued with the second part of the exercise 4 making a Java program that calculates the distribution of the letters for the same text in English and Spanish.
    
#### **What I learned**: 
* What's and how to use a Java HashMap.
* Review o HTML & CSS

#### **Total time**:
4h.
My #100DOC - Day 71
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:06:48

### Day 71: November 05, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I ended implementing Caesar cipher in a Java program.
2. **[Continued with Confección y Publicación de Páginas Web Course](https://github.com/pablohs1986/confecci-nYpublicaci-nDeP-ginasWeb_SEPE)** (3h):<br>I did a quick refresher on HTML and CSS for my exam on Friday. To do this, I made a full page as a mockup.
    
#### **What I learned**: 
* Review of FileInputStream/FileOutputStream.
* What's Caesar cipher.
* Review o HTML & CSS

#### **Total time**:
5h.
My #100DOC - Day 70
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:06:32

### Day 70: November 04, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued implementing Caesar cipher in a Java program.
    
#### **What I learned**: 
* Review of FileInputStream/FileOutputStream.
* What's Caesar cipher.

#### **Total time**:
2h.
What programming language is used in Nike+ app?
Tags: language, programming, nike, app
Published: 2020-11-07 09:02:30



<div>There are 3 key languages that are used for building an app:

</div>

<div><b>Java</b> has been the language of choice for mobile app creation based on Google's Android platform. Java is an extremely common programming language that enables cross-platform support and ease of portability when developing applications for different types of hardware and OSes.

</div>

<div><b>Kotlin</b>, which is the newest of the programming languages highlighted in this list, was designed to completely interface with Java.

</div>

<div><b>Swift</b>, is basically used for ios applications.</div><div class="fi"><img src="http://95.182.121.107:9900/up/1188/4.webp" alt="what programming language is used in nike app"></div><br><br><a href="https://exceed-team.com/tech/what-programming-language-is-used-in-nike-app">What programming language is used in Nike+ app? | Exceed Team Blog</a>
My #100DOC - Day 69
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:06:11

### Day 69: November 03, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued implementing Caesar cipher in a Java program.
    
#### **What I learned**: 
* Review of FileInputStream/FileOutputStream.
* What's Caesar cipher.

#### **Total time**:
2h.
My #100DOC - Day 68
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:05:49

### Day 68: November 02, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued implementing Caesar cipher in a Java program.
    
#### **What I learned**: 
* Review of FileInputStream/FileOutputStream.
* What's Caesar cipher.

#### **Total time**:
2h.
My #100DOC - Day 67
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:05:32

### Day 67: November 01, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued studying File Java class with exercise 4. In the first part of this exercise, I am implementing Caesar cipher in a Java program, which will encrypt/decrypt all the files in a directory.
    
#### **What I learned**: 
* Review of FileInputStream/FileOutputStream.
* What's Caesar cipher.

#### **Total time**:
2h.
My #100DOC - Day 66
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:05:10

### Day 66: October 31, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued studying File Java class with exercise 3, doing some cool filters with FileNameFilter interface.
    
#### **What I learned**: 
* What's and how use Java FileNameFilter interface.

#### **Total time**:
2h.
My #100DOC - Day 65
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:04:49

### Day 65: October 30, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I continued studying File Java class with exercise 2, doing some recursive methods.
    
#### **What I learned**: 
* What's recursion.
* Apply recursion to Java.

#### **Total time**:
2h.
My #100DOC - Day 64
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:04:28

### Day 64: October 29, 2020

#### **Today's Progress**: 
1. **[File Java Class](https://github.com/pablohs1986/dam_ad2021)** (2h):<br>I fixed my problem with a exception and continued studying File Java class with exercises 1b and 1c.
    
#### **What I learned**: 
* Java exceptions review.
* Java File class methods review.

#### **Total time**:
2h.
My #100DOC - Day 63
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:04:08

### Day 63: October 28, 2020

#### **Today's Progress**: 
1. **[Company project for SGE](https://github.com/pablohs1986/dam_sge2021)** (4h):<br>I ended my business project.
    
#### **What I learned**: 
* Business creation basics.

#### **Total time**:
4h.
My #100DOC - Day 62
Tags: 100daysofcode, challenge
Published: 2020-11-07 09:03:50

### Day 62: October 27, 2020

#### **Today's Progress**: 
1. **[Company project for SGE](https://github.com/pablohs1986/dam_sge2021)** (4h):<br>I continued doing my business project.
    
#### **What I learned**: 
* Business creation basics.

#### **Total time**:
4h.
Connecting now...
Tags: learning, networking
Published: 2020-11-07 05:19:00

One of the thing that was stressed while I was learning to code was to network. We were encouraged to attend meet ups and have coffee with developers. 
But how you do that when meet up are cancelled and there's limited dine-in allowed?

I haven't been inside a restaurant since March. I don't plan dinning in for the foresee able future. Pull mask down to eat. Pull mask up as server approaches. Also being aware that I'm making servers, cooks, and staff wear masks and face shields. If you can be in person go online.

## Take meetings online. ##
The tech community was quick to transition to Online meetings. The local Nashville meet ups moved online rather fast. I'veto attended local meeting that I never could attended before due to distance or timing.

I also got to attend meetings and seminars that I wouldn't have been able to travel to in person. I attended [CodeLand Distributed](https://codelandconf.com/) back in July. Never would have done that in person. Bonus my son got to watch part of it. He help battle Roombas in an online demo. 

Another first attended a convention in first pajamas. The conference was on a Saturday. I slept in then took a long breakfast. It was time for the opening Keynote so I logged on. I watched the keynote settled in to learn and it was midday before I realized I hadn't changed. at that point why bother.
I know many people have done this the during pandemic but I usually change in the mornings. It helps me transition to my frame of mind. More importantly in the evening it helps transition back to sleep mode.  

## New Friends ##
I've joined Virtual Coffee, a group founded during the pandemic to give people a networking and friendship outlet. It was this group that helped me complete HacktoberFest for the first time. 


## New Events ##

There are some new events that have popped up since people still want to connect [TDevConf](https://tdevconf.com/) and Southern Dev Fest which is tomorrow November 7. [SouthernDevFest](https://southerndevfest.com). It's free so sign up. 

How are you staying connected now?

-$JarvisScript git push
My journey of hactoberfest2020
Tags: hacktoberfest
Published: 2020-11-07 08:59:08

###Intro

Hi,I'm shekhar17-sketch new to the DEV and I'm studying and learning new languages.

###background

This year 2020 is first time when I participated in Hactoberfest. one of my friend told me about hactoberfest so I searched about it and took participation 

### Progress

I've made 7 PR's out of which 6 are accepted and 5 of them have passed review period. I'm happy that I successfully participated and completed the task😃🤘

### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->
About my PR :-
1) I have added a js and html code to move element in an array by given position.
https://github.com/DPrinceKumar/HacktoberFest2020-1/pull/134
2) In this I have completed a task to add button link img of fav cricketer etc etc...in home.html file.
https://github.com/Rits1272/html/pull/21
3) In this I've aattached sone java codes to help beginners like reverse array of string.
https://github.com/thisisshub/HacktoberFest/pull/200
4) In this I addeda a Java file to traverse an array and count how many items of an array are equals to , greater than ,less than to a given input number.
https://github.com/thisisshub/HacktoberFest/pull/236
5)I added 2 python codes for complement and base conversion.
https://github.com/harshitbansal373/hacktoberfest2020/pull/543
6)wrote some codes like shift program to make shift operations like right shift left shift .
conversion program to input a number and its base and it will convert it to decimal number.
compliment code to find compliment of numbers till base hexadecimal.
https://github.com/AshuKulu/HacktoberFest2020/pull/281
7) I made a new branch and type sone codes in java ,python and js .🤗
https://github.com/Harshsngh07/Hacktoberfest2020/pull/320


### Reflections

Hactoberfest 2020 was great...and I'm happy that I participated and get awarded too...thanks hactoberfest to support open source code contribution...I learned a lot about github and how to contribute in repo how to fork,create,pull request on repo all to take participation in #hactoberfest...I seek to participate again in next year... Thanks #hactoberfest
Azure pipeline: Simple way to compile a Setup project (.vdproj) in pipeline
Tags: azure, devops, pipeline, setup
Published: 2020-11-07 08:56:20

After my team decided to incorporate [Azure Pipelines](https://azure.microsoft.com/en-in/services/devops/pipelines/) on existing projects, one of the most difficult parts of the task for me was to look for the right [pipeline task](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/tasks?view=azure-devops&tabs=yaml) that would compile the [setup project (vdproj)](https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects) present in my solution using a pipeline.


After a lot of research and hours of testing, I found a way to achieve it.

Just use a [command line task](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/command-line?view=azure-devops&tabs=yaml) and use a script in the format shown below to compile the solution 

`"<full path to devenv.exe" "<full path to solution file (.sln)>" /Rebuild "<configuration>|<platform>"`

Executing this task would compile all the projects present in the solution file, including setup projects. The outcome of setup projects like EXE and MSI files could be found in the configured the [output path](https://docs.microsoft.com/en-us/visualstudio/ide/how-to-change-the-build-output-directory?view=vs-2019)

If you have a requirement of compiling the solution as an administrator, then that's easy too. Just create a [shortcut of devenv.exe as an admin](https://stackoverflow.com/a/4132570/3978980) in any desired location, and use that path in the command line given above.
 

Let me know if it helped you!
Queick: A Simple Job Queue System for Python
Tags: python, jobqueue
Published: 2020-11-07 08:55:08

---
title: Queick: A Simple Job Queue System for Python
published: true
description: 
tags: python, jobqueue
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/8n9d9zg5sfju1ktbmn3p.png
 
---

Queick is a simple job queue system for Python.

https://github.com/asmsuechan/queick

![capture](https://dev-to-uploads.s3.amazonaws.com/i/976f1bwaot6fj9cm64dv.gif)

## Feature
* Written in Python **only standard libraries**
* Job-queue manager **without redis**
* Working for low-spec machines
* Retry
* Periodic execution
* **Retry on network available**
* Scheduling
* **Thread-base** job execution

## Main target
Queick can be fully utilized in **low-spec computers**, such as Raspberry Pi. This system does not aim to be used at the server-side of a normal Web service.

## Usage
First, install queick by using pip command.

```
pip install queick
```

Second, Second, prepare a job file (jobfunc.py) and an application (test.py).

```python
# jobfunc.py
import time
def function(arg):
    time.sleep(1)
    print(arg)

# test.py
from queick import JobQueue
from jobfunc import function
from time import time

q = JobQueue()
q.enqueue(function, args=("hello",))
q.enqueue_at(time() + 5, function, args=("world",)) # Run after 5 seconds

st = SchedulingTime()
st.every(minutes=1).starting_from(time.time() + 10)
q.cron(st, function, args=(1, 2,)) # Run every 1 minute after 10 seconds
```

Third, start queick worker.

```
queick
```

Finally, run the application.

```
python test.py
```

## Architecture
![architecture](https://dev-to-uploads.s3.amazonaws.com/i/s4bh79pd9lnn5fp6z4ec.png)

As mentioned above, a job is executed on a **thread** and implemented by **concurrent.futures**. Also, event notification is used instead of polling to receive jobs.

If a user specifies `retry=True` option to `q.enqueue()`, the job will be retried when it fails. The default retry function is **Exponential backoff**.

## Application
Queick is integrated into an entrance recording system made of **Raspberry Pi and NFC reader** at my laboratory.

![PXL_20201105_063113362](https://dev-to-uploads.s3.amazonaws.com/i/g48hdgpqlvvuuq7n4fnk.jpg)

This system records the students' entering/leaving history on **Slack** when they enter and leave by touching their student id.

![0.ezk306cosec](https://dev-to-uploads.s3.amazonaws.com/i/tt6knd6iglfqhlbzpah2.png)

**However, this system has a problem. The Raspberry Pi often disconnects the Internet for some reason.** Thus, a job queue system was needed to be integrated to retry the failed post.

> I developed a job queue system from scratch because I did not want to install and operate Redis server on the Raspberry Pi

## Conclusion
The core of Queick was made in 2 days, yes, my developing speed was **quick**, therefore, queick. I totally enjoyed developing it.

For further information, check [repository asmsuechan/queick](https://github.com/asmsuechan/queick).
Mecha CMS Installation Guide
Tags: php
Published: 2020-11-07 08:47:33

Mecha is a minimalist flat-file content management system written in PHP. Based on the experience that happened after the release of version 2.0.0, I found that so many users feel the difficulty in installing the application because of the documentation that is not beginner-friendly.

The following are dummy videos that demonstrate the installation process in a local web server. I don’t do much editing on them (not even at all), sorry. I will try my best in the future when the experience and resources are sufficient.

### Step 1: Installing the Core CMS

~~This video demonstrates how slow my computer is.~~

This video demonstrates the steps for installing Mecha on a web server. The `/media/taufik/0/web` location path is a custom location that points to the root domain. On the original web server, that location will usually be in `/var/www` folder. Please consult with your web hosting provider about where you should upload these files.

There isn’t any music on this video. Use your own damn music player while watching this video.

{% youtube GtUwY5oBj5o %}

### Step 2: Adding Pages

This video demonstrates how to add pages in Mecha.

{% youtube t452GJ5dvKk %}

### Step 3: Adding User Feature (Optional)

This video demonstrates how to install the user extension before installing the control panel feature.

{% youtube WOZU7K9q2HQ %}

### Step 4: Adding Control Panel Feature (Optional)

This video demonstrates how to install the control panel feature in Mecha after installing the user extension.

{% youtube hqe7-a8b8xA %}
IBM Data Science Professional Certificate Review- Should You Enroll?
Tags: datascience, machinelearning, career
Published: 2020-11-07 08:41:45

Planning to enroll in **IBM Data Science Professional Certificate...?** If yes, then you should definitely read **my experience with IBM Data Science Professional Certificate.** 

I hope my IBM Data Science Professional Certificate Review will help you to take your final decision for Enrolling in this Certificate program.

#**IBM Data Science Professional Certificate Review**

So, let’s start IBM Data Science Professional Certificate Review with the first section that is-

##**About**

**IBM Data Science Professional Certificate** is available on Coursera, an online learning platform for enormous online courses. This certificate program includes **9 courses** that begin with very basic to advanced level. All 8 instructors have experienced in data science.

After successfully completing all 9 courses, you will get a **completion certificate as well as 9 badges for each course**. You can add these certificates and badges to your **portfolio, and LinkedIn profile.**

Now let's see-

##**Who Should Enroll?**
[Click to continue reading...](https://www.mltut.com/ibm-data-science-professional-certificate-review/)
Hackoberfest
Tags: hacktoberfest
Published: 2020-11-07 08:40:06

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### [Intro Heading]
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
### Background

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →

### Progress

<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->

### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->


### Reflections
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->
Why October is so important
Tags: hacktoberfest, googlecloud, devjournal, halloween
Published: 2020-11-07 08:02:01

This year, October was a pretty busy time for developers, tech enthusiasts, students, engineers and of course Charlie and his chocolate factory. Needless to say, as developers we know how valuable stickers and T-Shirts are in the tech community. If a developer was to choose between a bottle of the finest wine and a bunch of stickers, he would choose the latter.

With all that said we will focus more on the technological part of October without completely ignoring Charlie.

##HactoberFest

This is probably the most famous tech fest that is well known among developers and students alike. It is a month-long celebration of open source software aimed at introducing beginners to Open Source Community, brought to us by **Digital Ocean, Intel and DEV Community**.

This is a great event to implement your learning on real life projects and helping the community build something useful.

#Google DevFest

As they would put it ‘The Code Concert’. This is an event where global developers come together for the weekend and share their technical learning and expertise on Google Technologies. An initiative of Google, Google Developer Groups, Women Techmakers and Google Developer Experts, this event empowers developers to teach, learn, and connect with other developers. 

This is a great event to learn new technologies or brush up on basics and learn new ways to implement tech. Since in the tech world everything is interdisciplinary so learning one technology empowers one to understand all other similar technologies.

{% twitter 1322672892719452160 %}  

##\#30DaysOfGoogleCloud

This is a more like a free coding bootcamp to give people an idea about various Google Cloud services and how/where to implement them with hands-on training. Generally, all the companies offer similar Cloud services so learning any one gives you control over the others too.

{% twitter 1344575389163692032 %} 


##Halloween :jack_o_lantern:

As promised, here’s Charlie. Charlie knows that all the developers are exerting themselves to learn and implement their technical knowledge in the various events discussed above. Charlie also knows that chocolate and celebrations are a way to ease stress and reduce burnouts. That’s why Charlie makes a variety of chocolates and candies in his factory for the event that marks the end of October. 

Charlie is smart that’s why he wants everyone to celebrate festivals and take some time out to rest and reward yourself.

![GIF](https://media.giphy.com/media/vxnoTUb2dWUu9sTaKo/giphy.gif)

#Conclusion

These swags are just incentives. While participating in these events don’t forget what the idea behind that event was else that just destroys the purpose. So, while you plan your next eventful month, I will make myself some :coffee: