teleren/devto huggingface dataset:
Android Vs iOS App Development Comparison Chart — Fraction Tech
Tags: appdeveloper, androidappdevelopm, mobileappdevelopme, iosappdevelopment
Published: 2018-10-26 06:14:04

---
title: Android Vs iOS App Development Comparison Chart — Fraction Tech
published: true
tags: app-developer,android-app-developm,mobile-app-developme,ios-app-development
canonical_url: https://medium.com/@fraction.tech/android-vs-ios-app-development-comparison-chart-fraction-tech-e907994bef6e
---

As of March 2017, the App Store had slightly more apps available at 2.2 billion compared with Play Store’s 2.8 million apps. Also in Q1 2017, combined iOS and [Android app](http://www.fraction.tech/services/application-development) downloads were up 15% year-over-year, reaching a total of about 25 billion new downloads globally. With re-installs, these numbers could go much higher. In terms of in-app purchases, revenue likewise increased 45% year-over-year for a staggering $15 billion across the iOS and Android systems running worldwide. It’s definitely a good time for mobile app companies to continue [hiring app developers](http://www.fraction.tech/services/application-development) to work on a wide array of mobile app products-from mobile music apps to instant messaging and mobile game apps. These apps are forecast to generate close to $200 billion in in-app and in-advertising revenues in less than three years’ time. But the question is, should you want [develop Android or iOS apps](http://www.fraction.tech/services/application-development)? If Yes then [Let’s Get Started](http://www.fraction.tech/inquiry)

![](https://cdn-images-1.medium.com/max/564/1*V49WiLquB9YCf5-XW4rxzQ.jpeg)
Email Address Format, PHP filter_var Function And RFC 5321
Tags: emailaddressformat, php, filtervar, rfc5321
Published: 2018-08-09 09:19:35

---
title: Email Address Format, PHP filter_var Function And RFC 5321
published: true
description: 
tags: Email address format, php, filter_var, rfc5321, rfc 5321
---

The email address standarts is set by Rfc 5321. But in practice, things change a bit. Rfc5321 tells us that an email address might look like this: 

```
local-part@domain
```

The domain part can be any domain or sub-domain, or even a local domain that is not tld. But there are the following restrictions for the local part.

```
- A-Z, a-z latin letters
- 0-9 digits
- Not to be the first and last character, dot (.) character
- Special characters !#$%&'*+-/=?^_`{|}~
```

We are familiar with the - and _ characters between special characters, but other special characters are not common at all. While Google's email service does not allow special characters from popular email services, Microsoft's email service allows only - and _ special characters. For a different service, the following address may be possible.

```php
john`doe{software-developer}@domain.sub-domain.com
```

When the PHP filter_var function is used to controlling the mail address format

```php
filter_var('john`doe{software-developer}@domain.sub domain.com',FILTER_VALIDATE_EMAIL)
```

This function will not return a false for the format described in Rfc 5321. But if the domain part is gmail, we will accept an email address that should not be, because the gmail implementation is different. When you try to verify with a non-standard library or a different method, things will be unbearable. In a possible scenario, a validation for popular email services will fail for another email service implemented according to Rfc 5321. In a multilingual system, if you have email services used in different languages ​​and languages, the result is a fully disaster!
★ Announcing the Full Stack Europe conference
Tags: conference
Published: 2020-01-02 23:03:10

---
title: ★ Announcing the Full Stack Europe conference
published: true
date: 2018-08-09 08:25:00 UTC
tags: conference
canonical_url: https://freek.dev/1123-announcing-the-full-stack-europe-conference
---

The past few months my buddy [Dries](https://twitter.com/driesvints) and I have been preparing a brand new conference called Full Stack Europe. The conference will take place in the city of Antwerp somewhere in spring or early summer of 2019. With the conference, we want to welcome every type of developer, wether you identify yourself as full stack or are interested in front end, back end, devops, design or anything in between.

For more details read [our announcement post on Medium](https://medium.com/@driesvints/f49422f14308). To stay in the loop, subscribe to the mailing list [at the conference website](https://fullstackeurope.com/).

I'm pretty excited already and hope you are too!
React Weather App Video Course - 8
Tags: javascript, react
Published: 2018-08-09 08:16:41

---
title: React Weather App Video Course - 8
tags: javascript, react
published: true
description: React tutorial for beginners. Making weather app part 8.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ojsoibgy6hwt92m05eq8.jpg
---

I’m super proud of myself, managing to deliver a new episode daily so far.

Today we are going to fetch some real weather data.

* [Part 8](https://youtu.be/fimloo8wrwQ)
What are some blockers for you on contributing to open source projects?
Tags: opensource, discuss, git, beginners
Published: 2018-08-09 07:06:58

---
title: What are some blockers for you on contributing to open source projects?
published: true
description: A discussion to understand some of the problems faced by the community on contributing to open source projects
tags: #opensource, #discussion, #git, #beginner
cover_image: https://images.unsplash.com/photo-1458682625221-3a45f8a844c7?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=f53bc37ff31a9c27b92bb869ccc05a5e&auto=format&fit=crop&w=1867&q=80
---

I’m working on a project to help beginners get started on contributing open source projects.
It’s called First Contributions

{% github Roshanjossey/first-contributions %}

Currently, we have a [hands-on tutorial](https://github.com/Roshanjossey/first-contributions/blob/master/README.md) to help beginners make their first contribution by contributing to the same project. Secondly, we have a [web app](https://roshanjossey.github.io/first-contributions/) to suggest welcoming open source projects and communities to contribute to. Thirdly, we have a [slack community](https://join.slack.com/t/firstcontributors/shared_invite/enQtMzE1MTYwNzI3ODQ0LTZiMDA2OGI2NTYyNjM1MTFiNTc4YTRhZTg4OWZjMzA0ZWZmY2UxYzVkMzI1ZmVmOWI4ODdkZWQwNTM2NDVmNjY) where anybody can get help or discuss about open source.

We wanna evolve this project to addresses various problems faced by the community. We'd love to learn about your journey in open source community, the problems, blockers, pain points you had etc.
Building an API with Swagger
Tags: swagger, javascript, lowdash, polymer
Published: 2018-08-09 05:19:04

---
title: Building an API with Swagger
published: true
description: In this video, we build an API from a swagger file and implement the endpoints using Node.JS and lowDB. Lastly, we create a polymer frontend for editing notes.
tags: swagger, javascript, lowdash, polymer
---

{% youtube PbwQWw7xSOM %}
Install an older version of an npm package
Tags: npm, node
Published: 2018-08-18 09:56:20

---
title: Install an older version of an npm package
published: true
tags: npm, node
canonical_url: https://flaviocopes.com/npm-install-previous-package-version/
---

You can install an old version of an npm package using the `@` syntax:

```sh
npm install <package>@<version>
```

Example:

```sh
npm install cowsay
```

installs version 1.3.1 (at the time of writing).

Install version 1.2.0 with:

```sh
npm install cowsay@1.2.0
```

The same can be done with global packages:

```sh
npm install -g webpack@4.16.4
```

You might also be interested in listing all the previous version of a package. You can do it with `npm view <package> versions`:

```sh
❯ npm view cowsay versions

[ '1.0.0',
  '1.0.1',
  '1.0.2',
  '1.0.3',
  '1.1.0',
  '1.1.1',
  '1.1.2',
  '1.1.3',
  '1.1.4',
  '1.1.5',
  '1.1.6',
  '1.1.7',
  '1.1.8',
  '1.1.9',
  '1.2.0',
  '1.2.1',
  '1.3.0',
  '1.3.1' ]
```
[dev.to] #explain5levels | Explain subject in 5 levels of complexity
Tags: dev, discuss, explainlikeimfive
Published: 2018-08-09 02:25:23

---
title: [dev.to] #explain5levels | Explain subject in 5 levels of complexity
published: true
description: I propose we copy this and start doing this too.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/uh29tm7tqowj0obh0xjv.jpg
tags: dev, discuss, explainlikeimfive
---

<iframe width="560" height="315" src="https://www.youtube.com/embed/hYip_Vuv8J0?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

We have the [#explainlikeimfive](https://dev.to/t/explainlikeimfive) tag for those who want the simplest answer or introduction to a new subject. This generally is a great place to start learning anything new.

Today I came across a video on the [WIRED YouTube channel](https://www.youtube.com/channel/UCftwRNsjfRo08xYE31tkiyw) that reminded me of you guys. It explains blockchain technology not just to a five year old but in 5 levels of complexity. There is a [playlist](https://www.youtube.com/playlist?list=PLibNZv5Zd0dyCoQ6f4pdXUFnpAIlKgm3N) with 6 of these videos.

This is not a bad idea. I propose we copy this and start doing this too.
PHP Open File using fopen
Tags: php, tutorial, webdev, code
Published: 2018-08-09 03:25:45

---
title: PHP Open File using fopen
published: true
description: PHP Open File using fopen
tags: #php #tutorial #webdev #code
---

<a href="https://www.skptricks.com/2017/09/php-open-file-using-fopen.html">PHP fopen()</a> function is used to open file or URL and returns resource. The fopen() function accepts two arguments: $filename and $mode. 

1. $filename represents the file to be opened.
2. $mode represents the file mode for example read-only, read-write, write-only etc.

Syntax:
resource fopen ( string $filename , string $mode [, bool $use_include_path = false [, resource $context ]] )   
PHP Open File Mode:
Mode	Description
r	Opens file in read-only mode. It places the file pointer at the beginning of the file.
r+	Opens file in read-write mode. It places the file pointer at the beginning of the file.
w	Opens file in write-only mode. It places the file pointer to the beginning of the file and truncates the file to zero length. If file is not found, it creates a new file.
w+	Opens file in read-write mode. It places the file pointer to the beginning of the file and truncates the file to zero length. If file is not found, it creates a new file.
a	Opens file in write-only mode. It places the file pointer to the end of the file. If file is not found, it creates a new file.
a+	Opens file in read-write mode. It places the file pointer to the end of the file. If file is not found, it creates a new file.
x	Creates and opens file in write-only mode. It places the file pointer at the beginning of the file. If file is found, fopen() function returns FALSE.
x+	It is same as x but it creates and opens file in read-write mode.
c	Opens file in write-only mode. If the file does not exist, it is created. If it exists, it is neither truncated (as opposed to 'w'), nor the call to this function fails (as is the case with 'x'). The file pointer is positioned on the beginning of the file
c+	It is same as c but it opens file in read-write mode.

PHP Open File Example:
<?php  
// code to open file...
$handle = fopen("c:\\demo\\file.txt", "r");  
?>

Reference  :
----------------
<a href="https://www.skptricks.com/2017/09/php-open-file-using-fopen.html" > PHP Open File using fopen </a>
Requests from your DevTools Network tab to Postman
Tags: devtools, tip, postman
Published: 2018-08-09 03:25:37

---
title: Requests from your DevTools Network tab to Postman
published: true
description: Import to Postman the exact request you made in Chrome.
tags: devtools, tip, postman
---

From your Network tab in the Chrome DevTools, select the XHR call and option click -> Copy -> Copy as cURL.
![Network Tab](https://thepracticaldev.s3.amazonaws.com/i/u2xzn0hrvudir2ribqxb.png)

Now in Post man go to Import -> Paste Raw Text -> Paste
![Postman](https://thepracticaldev.s3.amazonaws.com/i/v79f3cca7iomit0fa66u.png)

This will copy the exact request, including User Agent, headers, cookies, method payload, etc.. and modify to your needs. 
Hope this allow you to debug/develop happier!
Setup RTSP over TCP/IP (Internet) on  XiaoFang WiFi Camera
Tags: actions, inspirations, cctv, flash
Published: 2019-10-01 16:37:02

---
title: Setup RTSP over TCP/IP (Internet) on  XiaoFang WiFi Camera
published: true
cover_image: https://esabook.files.wordpress.com/2018/08/maxresdefault.jpg
tags: Actions,Inspirations,CCTV,Flash
canonical_url: https://esabook.wordpress.com/2018/08/09/setup-rtsp-over-tcp-ip-internet-on-xiaofang-wifi-camera/
---

This good project [https://github.com/samtap/fang-hacks](https://github.com/samtap/fang-hacks), can make your own custom XiaoFang as robot eye like for Image Processing, Video Logging, audio processing, scheduling monitoring.

Let’s explore all possibility. ![😗](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f617.png)
What are you learning from the DEV open source codebase?
Tags: discuss, opensource
Published: 2018-08-09 02:02:43

---
title: What are you learning from the DEV open source codebase?
published: true
tags: discuss, opensource
---

First of all, huge congrats to the DEV team for hitting this milestone and making the codebase available to the community.

With the release of [dev.to's codebase](https://github.com/thepracticaldev/dev.to) going [open source today](https://dev.to/ben/devto-is-now-open-source-5n1), I'm curious what are some things you're learning from the codebase?

For me, I'm learning that [InstantClick is used to make all those awesome articles on the site show up *fast*](https://docs.dev.to/addl-tech/#%F0%9F%94%91-key-app-tech/services). Learning that [Rubocop is used to enforce a style guide](https://github.com/thepracticaldev/dev.to#style-guide) on the codebase.
Install openssh-server
Tags: install, ubuntu, linux
Published: 2018-01-27 20:02:11

---
title: Install openssh-server
published: true
description: Install openssh-server on Ubuntu, Linux Mint
tags: Install, Ubuntu, Linux
---

Note: edit sshd_config

```
sudo vim /etc/ssh/sshd_config
```
Install: openssh-server

```bash
psnc@psnc  sudo apt-get install openssh-server
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  linux-image-4.4.0-104-generic linux-image-4.4.0-109-generic linux-image-extra-4.4.0-104-generic linux-image-extra-4.4.0-109-generic
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
The following additional packages will be installed:
  openssh-sftp-server
Vorgeschlagene Pakete:
  rssh molly-guard monkeysphere
Empfohlene Pakete:
  ncurses-term ssh-import-id
The following NEW packages will be installed
  openssh-server openssh-sftp-server
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Es müssen 374 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.013 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] y
Holen:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-sftp-server amd64 1:7.2p2-4ubuntu2.4 [38,7 kB]
Holen:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-server amd64 1:7.2p2-4ubuntu2.4 [335 kB]
Es wurden 374 kB in 0 s geholt (1.163 kB/s).
Vorkonfiguration der Pakete ...
Vormals nicht ausgewähltes Paket openssh-sftp-server wird gewählt.
(Lese Datenbank ... 573932 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.4_amd64.deb ...
Entpacken von openssh-sftp-server (1:7.2p2-4ubuntu2.4) ...
Vormals nicht ausgewähltes Paket openssh-server wird gewählt.
Vorbereitung zum Entpacken von .../openssh-server_1%3a7.2p2-4ubuntu2.4_amd64.deb ...
Entpacken von openssh-server (1:7.2p2-4ubuntu2.4) ...
Trigger für man-db (2.7.5-1) werden verarbeitet ...
Trigger für ufw (0.35-0ubuntu2) werden verarbeitet ...
Trigger für systemd (229-4ubuntu21) werden verarbeitet ...
Trigger für ureadahead (0.100.0-19) werden verarbeitet ...
ureadahead will be reprofiled on next reboot
openssh-sftp-server (1:7.2p2-4ubuntu2.4) wird eingerichtet ...
openssh-server (1:7.2p2-4ubuntu2.4) wird eingerichtet ...
Creating SSH2 RSA key; this may take some time ...
2048 SHA256:8+QjbLm5qR8LJSCTc8r++wVjeQI/bvWGSRL/xheYRmM root@psnc (RSA)
Creating SSH2 DSA key; this may take some time ...
1024 SHA256:tiKYu5Y9MAb/jqNohH1QosX9flnOfnMKf+D+/P46A2g root@psnc (DSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:sCsK7LQZmcbs+sgYJ0XrNyIpmRkC9KE0uIxHYX7aJV4 root@psnc (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:JjgOPN6QwEFP2JjLBa0O8XzS2bSHdHSiORRvJJ67/DM root@psnc (ED25519)
Trigger für systemd (229-4ubuntu21) werden verarbeitet ...
Trigger für ureadahead (0.100.0-19) werden verarbeitet ...
Trigger für ufw (0.35-0ubuntu2) werden verarbeitet ...
```
Got My First Pull Request Accepted and Merged
Tags: discuss, opensource, git
Published: 2018-08-08 22:20:14

---
title: Got My First Pull Request Accepted and Merged
published: true
description: 
tags: discuss, opensource, git
---
# Holy Shit, I Made Something That Someone Else Was Like "Ya, that works."

Check out my tiny little commit to the Dev.to repo [here](https://github.com/thepracticaldev/dev.to/commit/c29e6a59e53b7769aae25b6fa9812cd3c0e42fac).

It's just a little 1 line change, but holy shit I'm excited.

Thanks Ben/Dev.to Team!
Scalability resources
Tags: scalability, interview, discuss
Published: 2018-08-09 17:25:36

---
title: Scalability resources
published: true
tags: scalability, interview, discuss
canonical_url: http://adityavarma1234.github.io/blog/2018/09/06/resources_to_learn_scalability
---

Few resources I know of to learn about scalability in web apps. 

- High scalability by Todd Hoff [link](http://highscalability.com/)
- Scalability for dummies 4 part series [link](http://www.lecloud.net/post/7295452622/scalability-for-dummies-part-1-clones)
- Storage scalability on interview bit [link](https://www.interviewbit.com/courses/system-design/topics/storage-scalability/#problems)
- System Design on interview bit [link](https://www.interviewbit.com/courses/system-design/)

Please let me know in the comments if you know anything else. May be a good book that I can look into. But from my experience I can only learn this thing from experience.
Introduction to Redis: Installation, CLI Commands, and Data Types
Tags: redis, database, data
Published: 2018-08-08 21:13:05

---
title: Introduction to Redis: Installation, CLI Commands, and Data Types
published: true
description: Learn how to install and setup Redis as well as commands to write, read, update, and delete data from the store using its core data structures.
tags: #redis #database #data
canonical_url: https://auth0.com/blog/introduction-to-redis-install-cli-commands-and-data-types/
---

In this Redis tutorial, we’ll learn how to set up Redis in our systems and how to store data in Redis using its core and most frequently used data structures. With this foundation, in future posts we’ll learn how to use Redis for caching, session storage, messaging, and real-time analytics. 

[Let’s get started 🎯](https://auth0.com/blog/introduction-to-redis-install-cli-commands-and-data-types/?utm_source=dev&utm_medium=sc&utm_campaign=redis_intro)

![Introduction to Redis: Installation, CLI Commands, and Data Types](https://thepracticaldev.s3.amazonaws.com/i/fm7oot5hgyqsvnq0a0x7.png)
Using Python and C together
Tags: python, c, tutorial
Published: 2018-08-08 18:38:59

---
title: Using Python and C together
published: true
description: How to use Python and C in the same project
tags: #python #c #tutorial
---
Python and C, two of the most popular and greatest languages that have come out of programming. Many languages can communicate with each other very easily, but with Python and C it's a little tricky. But first lets start of with why we would want this?

There's no doubt about it that both of these languages are powerful, and incredibly useful. And it pays off sometimes to have the raw performance of the C language being used in a Python project, it can certainly help with procedures such as reducing response and processing times.

# What we'll need
Python, and C. That's it.

# The code

In this example I'll be using a simple Fibonacci function to demonstrate it all.

```c

#include <Python.h>

// create the function like you normally would in C
int CFib(int n){
    if(n < 2)
        return n;
    else return CFib(n - 1) + CFib(n - 2)
}
// this function will be binding our python version and our C version together
// will only take one and only one non-keyword arguement
static PyObject* fib(PyObject* self, PyObject* args) {
    int n;
    if(!PyArg_ParseTuple(args, "i", &n))
        return NULL;
     return Py_BuildValue("i", CFib(n))
}
```
In the code we can see that we require the `Python.h` header file, this contains all the relevant methods, functions, attributes etc we need to allow the two languages to work together. We first start off by creating the function normally in C, then using the methods from the Python header file we create it again, but with a few more arguments.

As you can see we're using builders and parsers inside the function. These communicate between both languages to create the python versions of the function(s) in C.

Additionally we need a small setup script written in Python
```python
from distutils.core import setup, Extension

setup(name='ModuleName', version='1.0', ext_modules=[Extension('ModuleName', ['Fib.c'])])
```
most of it speaks for itself here. We're importing from a library that is built into Python 3+ that allows us to run setup and extension scripts, these both are compatible with C and the Python header file

In order to run this and save it as our own project we need to run these two commands
`python setup.py build`
`python setup.py install` 
this will then allow you to call your module from any other python project.

And now for the grand finale 
```python
import ModuleName # really should've chosen a better name
ModuleName.CFib(2)
```
prints out 1

This is available on my GitHub if you wish to fork it
[Click me!](https://github.com/Eros/PyCExtensions)
In addition this is a very basic version, you can follow up on how to go more indepth over at [The Python tutorial site](https://docs.python.org/3/extending/index.html)

Any errors or suggestions feel free to let me know <3
Programming in the Adult Entertainment Industry is Broken
Tags: programming, nsfw
Published: 2018-08-08 18:21:32

---
title: Programming in the Adult Entertainment Industry is Broken
published: true
description: All the broken parts of the Adult Entertainment Industry from the view point of a software developer
tags: programming, nsfw
---

I've deleted the post because some of you are [insert expletive]. The client I do work for is not doing anything illegal. There's no money laundering going on. It's a more legit business than some big-chain stores I shop at.

To those of you spreading the "you're admitting to fraud" comments, you're the reason we can't have nice things.

To those of you that supported the article, and were generally appreciative to read this, I want to thank you so much. You gave me a reason to want to continue writing more, but since others can't play nice, I won't be doing any other posts.
Building a professional profile online?
Tags: beginners, career
Published: 2018-08-08 17:44:24

---
title: Building a professional profile online?
published: true
description: 
tags: beginners, careers
---

Hi all, 

Currently undertaking a Software Development & IT apprenticeship (24 months) and I wanted to start building a professional profile online for networking. I'm currently acting as a QA Analyst on a project but I'm learning PHP in my spare time; most of our in-house solutions are built with PHP and Laravel. I also assist with the internal first line issues for other employees within the company.

Any advice on connecting with other people in the industry and building a solid professional presence?

Thanks 😊