teleren/devto huggingface dataset:
What really is programming?
Tags: discuss, webdev, html, javascript
Published: 2020-05-20 15:05:48

We have again tech discussion over what is, and what is not programming. Twitter is in fire about HTML/CSS being or not programming.

There are voices saying it's not programming, but they don't say exactly why. Also such voices are immediately considered as going from gatekeepers, which is simple defense mechanism of people doing HTML. Another voices are saying that it is programming, as everything we say machine should do is programming, but such opinion makes me little laugh, as it reminds me that we can program also washing machine. I am then washing machine programmer?

But lets take step back. How far HTML markup is from any other text markup, and how far is from such complex language like C++. However in the end of the day, we all create text files which are finally interpreted by machine. Our text is compiled, parsed, interpreted and the machine makes something from it.

But, if making any markup is programming, we are very close to say that making any text document is programming, and from that we are close to ... I again remind my favorite washing machine example 😁. I have seen some voices that doing MS Word is not programming because it has GUI. Funny, as if I would be doing page design in some GUI (some of you remember MS FrontPage), so now it is not programming anymore, but if I will make tags manually it is. Not quite good distinction don't you think?

I am standing in any side here, I am not saying doing HTML is programming or not. For sure working with not Turing complete tool like HTML is a different thing than working with Turing complete one. The complexity is just at the different level. 

Wikipedia definition of programming starts from:
> "Computer programming is the process of designing and building an executable computer program to accomplish a specific computing result."

The first thing which is not accurate is "executable computer program", as for example all interpreted languages don't have compiler and don't create executable files. They are used in some virtual machines, they are interpreted. Doing SQL is considered as programming even though for sure there is no executable and its just interpreted by database engine.

Ok, to the point 😉. In my opinion both sides really don't know where is the border between programming and ... exactly and what? Doing HTML is designing, templating, configuring is what? Till now I thought that programming starts when we can express algorithms, which really probably is the same as saying that the tool you use needs to be Turing complete. If Turing completeness is not the border, then what is? 

What is your call here? Does programming starts with Turing complete languages? Or maybe the border is different? I will be very happy to know your opinion.
3D Collectathon
Tags: octograd2020
Published: 2020-05-20 15:05:21

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project and experience.)

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## My Project
This is a game created in Unity where the player has to collect 5 Mega Gems scattered across the area. The Mega Gems can be gotten by solving puzzles or clearing platforming challenges. The player is free to explore the 5 open terrains in first person and collect Mini Gems along the way. The player is scored at the end based on their time and Mini Gem count. The game is inspired by my love of 3D platformers and collectathons from the 90s and 2000s. It is designed to be an interactive, imaginative, and immersive virtual world.

## Demo Link
[https://abhiek187.github.io/3d-collectathon/WebGL](https://abhiek187.github.io/3d-collectathon/WebGL)

## Link to Code
{% github https://github.com/abhiek187/3d-collectathon %}

[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)

## How I Built It
The game was created in Unity 3D. Models were created using Blender and techniques like model management and baked lighting are used to deliver a smooth experience. Plenty of scripting in C# and particle effects are used to give objects intelligent behavior and make the world come to life.

## Additional Thoughts / Feelings / Stories
This is one of many games I've created in my spare time. Whenever I learn a new language, I always try to make a game out of it, big or small. I enjoy making games since they're fun to play around with when you're coding or looking back at old projects.

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
Day 20 of #100DaysOfCode: Brainstorming for CS50W's final project
Tags: 100daysofcode, design, webdev, brainstorm
Published: 2020-05-20 15:02:37

##Introduction
This year I tried to join CS50W from HavardX. The final project is to design the website by ourselves. So I have to ask myself these questions.
* What do I want to make?
* Where can I find interesting ideas?
* Which websites did I find?

This article is to note the websites I found recently.

## What do I want to make?
There are there points.
1. Relate to thing I have currently: software programming blog and 100DaysOfCode notes
2. Apply SEO skills to get more visitors
3. Apply some new skills like Next.js, TypeScript, and Redux


## Where can I find interesting ideas?
I found that producthunt.com(https://www.producthunt.com/) is a good website. It contains the latest or popular ideas, APP or websites.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ix70sa1x48sqkapm67h8.png)

## Which websites did I find?
There are some websites I like.

*1. Good example for the menu page: Learn From A Chief (https://learnfromachef.org/about-us)*

* The next action for users is very important that I have to add.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ct6m39cvdabv3qle7nmw.png)

*2. Good example for the products/portfolios page: Yeti.co (https://yeti.co/)*

* The introduction for products has a good images and clear description.  

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/frxe1j3bwigyh0e8r13d.png)

*3. Good example for the blocked links: datacamp (https://www.datacamp.com/)* 

* The blocked list is also a point that I can improve for previous projects

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/h301h9rwvt31kdygz34y.png)

## Articles
There are some of my articles. Feel free to check if you like! 
* My blog-posts for software developing: https://medium.com/a-layman
* My web resume: https://jenhsuan.github.io/ALayman/cover.html
* Facebook page: https://www.facebook.com/imalayman
Spotify Party
Tags: octograd2020
Published: 2020-05-20 14:58:04

## My Final Project
We can't see our friends due to the pandemic so Spotify Party is one way to connect with them. The service lets you sync your music with your friends so everyone is listening to the same song at the same time. It can be used to share new music, DJ for everyone while you play games, or just listen to the music knowing your friends are listening too.

## Live Demo
https://mrswagbhinav.pythonanywhere.com/

## Link to Code
{% github https://github.com/mrswagbhinav/spotify-party %}

## How I built it
I built it using the Flask framework in python and the SQLAlchemy database.
I ran into a lot of issues with the Spotify API and the spotipy library due to a lack of documentation but with a lot of experimentation, I got it working.

## Additional Thoughts / Feelings / Stories
It was pretty fun to make this because going in I had zero knowledge on any of the tools I used. I wanted to build this as a way to learn Flask and I was able to get some solid starting experience.
Black Hole Physics using Python
Tags: python, opensource, astropy, einsteinpy
Published: 2020-05-20 14:56:13

I was sitting in a guest lecture at my University [IIT Mandi](https://iitmandi.ac.in) about the General Theory of Relativity. Usually, whenever I go to these lectures, I am accompanied by my good friend [Bhavya Bhatt](https://github.com/spino17). We both stuck at a point where we're not able to visualize what exactly is going on with the Black Hole. I asked Bhavya, "Is there a way to possibly simulate this stuff?". He replied, "Yes, there is. It's called Einstein Toolkit. I've heard that it is difficult to install. But I will still try!". Few days passed by and we met again in the mess. I asked what the progress was, and Bhavya in a sad tone told me that he tried but this software was based on some weird Cactus Thorne Framework. 

A month passed and we had nothing. Then we gave up. I mentioned in the last meeting, about creating a Python Package which can make this easy. And then we saw a long radio silence.

After about 3 months, we were again in the same place, getting bored. And definitely had nothing good to do. So we decided that we will start writing the Python Package. We named it [EinsteinPy](https://einsteinpy.org). It was 30 January 2019 when we made the first commit to the repository. 

Then it never stopped. Now we have around 200 Stars, which is a big thing for a Scientific Python Package with so focused use case. 

![EinsteinPy Logo](https://blog.einsteinpy.org/img/logo.png)

We had accepted a student in Google Summer of Code 2020 and ESA Summer of Code in Space 2019.

EinsteinPy is an open-source pure Python package dedicated to problems arising in General Relativity and gravitational physics, such as geodesics plotting for Schwarzschild, Kerr and Kerr Newman space-time model, calculation of Schwarzschild radius, calculation of Event Horizon and Ergosphere for Kerr space-time. Symbolic Manipulations of various tensors like Metric, Riemann, Ricci, Ricci Scalar, Weyl, Schouten, Stress-Energy-Momentum, Einstein, and Christoffel Symbols is also possible using the library. EinsteinPy also features Hypersurface Embedding of Schwarzschild space-time, which will soon lead to the modelling of Gravitational Lensing! It is released under the MIT license.

The code can be seen here: [https://github.com/einsteinpy/einsteinpy](https://github.com/einsteinpy/einsteinpy)

The documentation can be seen here: [https://docs.einsteinpy.org](https://docs.einsteinpy.org)
Admeme
Tags: octograd2020
Published: 2020-05-20 14:53:48

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project and experience.)

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## My Final Project

Admeme is an iOS meme manager created to fulfill all your meme needs. You can have all your memes in one place and even classify them by template automatically.

## Demo Link

{% youtube Xtd8EHolvWw %} 

## Link to Code

{% github https://github.com/jhovan/Admeme %}

[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)

## How I built it (what's the stack? did I run into issues or discover something new along the way?)

The biggest challenge was to be able to classify the memes, specially since mobiles do not have as much resources as desktop machines, so it had to be done as efficiently as possible. Apple vision libraries were extremely helpful for this matter.

## Additional Thoughts / Feelings / Stories

This was my very first iOS original app, so it will always hold a very special place in my heart.

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
Flutter, what is it?
Tags: typescript, javascript
Published: 2020-05-20 14:52:26

I've been looking into many different frameworks live Svelte, Stencil etc.  Mostly due to articles posted here and encouragement from Dev.to folks. 

But the other day, as I read about one of them (can't remember the name) they described something like this (by memory and not necessarily correct).

```javascript
myComponent:{
    'stylesWereFirst': {
       LargeHeader={h2:font-size:5em;}
     
        'javascriptNext' : {
           let something = 'this';
           function getData(){return ['name':"one cool framework"];}
    
              'htmlLast':{<div class={{LargeHeader}}>{{getData()}}</div>
               } //end of html section
        } //end of javascript section
     } //end of style sections
} //end of component definition

```
After reading the article, the concept kept popping up in my mind over this past week, as a very good architecture.  The only problem, I can't remember it's name.

Has anyone seen this architecture?
Are there any good example applications on PyQt? 
Tags: pyqt
Published: 2020-05-20 14:40:43

PyQt is a GUI module for Python and many examples can be found on many places on the web. For instance, you can find <a href="https://pythonpyqt.com/">PyQt examples here</a>, <a href="https://pythonbasics.org/#PyQt">here</a> and <a href="https://pythonspot.com/gui/">here</a>

You can create the GUI design using <a href="https://pythonbasics.org/qt-designer-python/">QtDesigner</a> and apply functions by coding it using python.

There are many PyQt examples included in <a href="https://gumroad.com/l/pysqtsamples">this PyQt course</a>, it includes web browser, text editor and many more.

## What can you make with Qt (PyQt) ?

PyQt links the Qt framework, in which many apps are made. You can find a <a href="https://wiki.manjaro.org/index.php?title=List_of_Qt_Applications">list of apps made with Qt</a> here. Some of the more famous ones are the KDE desktop environment, FileZilla and VLC.

<img src="https://dev-to-uploads.s3.amazonaws.com/i/oh57pzg8vvk9vy7w0ozp.jpg" alt="filezilla">

Several web browsers have been made with PyQt, like qutebrowser and Falkon. PyQt includes the blink browser engine.

<img src="https://dev-to-uploads.s3.amazonaws.com/i/22sw86hihj8mf6sr3r7z.jpg" alt="falkon qt">

PyQt has a designer, that lets you design your interface. This makes it very easy to design complex UIs. 

<img src="https://dev-to-uploads.s3.amazonaws.com/i/w8ohu3h7760fcn4c8obx.jpg" alt="designer">

**Related links:**
* <a href="https://gumroad.com/l/pysqtsamples">Python PyQt book</a>
* <a href="https://pythonprogramminglanguage.com/pyqt/">More Examples</a>
An Unusual Way of following a Sports Match !
Tags: datascience
Published: 2020-05-20 14:36:41

I have always been fascinated by sports fans and about how they evaluated every point of events on a particular sports match and provide instant alternate strategies and suggestions that would've made the team win. This is a large untouched pool of data in our current circumstances. So I decided to tap on to it. How I did it ? Here it is.

1. Used Reddit as my primary social media data source to fan comments since they have more meaningful and content rich comments.

2. Used data mining algorithms like TF - IDF and K nearest neighbor to extract the key words mainly concentrated and spoken upon by the fans.

3. Performed sentiment analysis to extract fan emotions related to a particular event in the game.

4. Finally , combined all this data as the fan's perspective and sorted it for a sports team POV so as to improve their teams performance in future matches.
Testing My Static Sites Speed and SEO
Tags: html, css, javascript, netlify
Published: 2020-05-20 14:36:22

I recently decided to check out some of my pages scores on Google LightHouse to see how great the site load times and SEO REALLY were on a SSG on Netlify. Here are my results

[My main page](https://chrisconnelly.dev)

Build:

- Platframe
- PUG
- Stylus
- Babel 
- Roll Up

Hosting:

- Github
- Netlify

Performance: 98%

![Main site speed](https://dev-to-uploads.s3.amazonaws.com/i/e7jj16hwz5mm7w23pu4x.jpg)

![Main SEO](https://dev-to-uploads.s3.amazonaws.com/i/iuqdi3sk7oys4lrk13iw.jpg)

---

[My Portfolio](https://portfolio.chrisconnelly.dev)

Build: 
- Jekyll
- HTML
- SCSS
- JS
- Markdown

Hosting:

- Github
- Netlify

Performance: 100%
SEO: 100% 

![My Portfolio Speed](https://dev-to-uploads.s3.amazonaws.com/i/fvqf418q8tg4c9kqn130.jpg)

![My Portfolio SEO](https://dev-to-uploads.s3.amazonaws.com/i/8bdl4z86flwr4j0rq06c.jpg)
awesome project 🚢 docker + mysql/mariadb latest version
Tags: docker, mariadb
Published: 2020-05-20 14:34:46

**Quick and easiest way to setup mysql database using docker.**
[install docker & docker-compose]: https://docs.docker.com/get-docker
> after installing the docker and docker-compose follow the below 3 steps and that's it.
>
> 1. ☑ **clone the repository**
> 2. **☑ run the ./start.sh** 
> 3. **☑ enjoy !**

git repository: https://github.com/shahid-khans/docker-mysql
post article : https://syssoft.in/blog/build-docker-container-for-database/
## 🎯Quick Start

Just open in a terminal:

```docker
git clone https://github.com/shahid-khans/docker-mysql.git
cd docker-mysql
cp env-example .env
./start.sh
```
You can check the logs using `./logs.sh` command to see what's going on during the project startup.
you can stop the  mysql docker container using `./stop.sh`.
connect to mysql database `./mysqlconnect.sh`
default port for mysql is `3306` and credentials you can see in `.env` file.


#### **👍**Follow me on [GitHub](https://github.com/shahid-khans), or tweeter  [here](https://twitter.com/ishahidkhans). 

### 📢 Soon i will be publish more advance topics like backup & restore mysql DB. Need you likes for support and motivation 😎.

### 💟 Feel free to tweet me for any issues
What is the feature of the best asset tracking software?

Tags: assetmanagementsoftware, assettrackingsystem
Published: 2020-05-20 14:34:14

As the importance of implementing asset tracking software systems is increasingly being stressed on, several software solutions have surfaced in the market. They are built with different architectures, security protocols, app integration capabilities and finally different features. 

**[Asset tracking software](https://smartams.co/)** solutions can do wonders for your business. They help you rediscover what your business is truly worth, and enables you to significantly increase its prospects. That includes optimizing asset usage, asset acquisition, servicing them, allocating and transferring them to different individuals and departments, keeping track of the inventory and more. Such functions help you minimize expenditure and increase savings.

When you purchase an asset tracking software, you must ensure that it has certain key features. These features will help you effortlessly and efficiently perform asset management functions and grow your business. They are:

1. Ability to perform quick and comprehensive audits
2. Quick tools to add, remove, transfer, allocated and dispose of assets
3. Barcode generators and barcode scanners compatibility
4. Cloud technology integration
5. Advanced security protocols
6. Informative dashboard
7. Seamless third-party app integration
8. Elaborate reports and analytics generators
9. Search filters
10. Customizable parameters 

**SmartAMS** is an asset tracking software from **SmartPoint** that is robust and rich with the latest asset management features. Its functions suit businesses of all kinds. Contact them to get a free trial today.
Discord Community Hack Week 2019
Tags: octograd2020
Published: 2020-05-20 13:02:00

I really wanted to participate in the discord community hack week. Due to, well school I could only work on it at nights but it was worth it. My initial plan was to make a discord game bot. A game that has never been made in discord yet. A game I liked to play when I was younger was battleships so... I thought why not give that a shot? It was an.. interesting process :)

I started out with setting up the basic bot. Getting it up and running, answering to commands and drawing on a canvas and sending the picture. At this point I just started at the start of the game making progress. So first a way to start the game, a way to select where your ships would be, general text channel where you could take your turn to drop a bomb. Now I know I better could have started just planning everything and not give in to the excitement of just getting to the coding😅

At the end the bot functions 90% correctly. There are a few tweaks that should make it better but I'd rather make a version 2 from start. And this time start with making a good plan ;) Also the code is a giant mess, again with good planning I think I can do a lot better. Although it isn't perfect I really enjoyed working on this project and the excitement of participating in something.

You can get the bot running (I hope) for yourself if you want to check it out.
Github repo: https://github.com/Woutervdvelde/BattleShips
DotaHunt
Tags: octograd2020, githubsdp
Published: 2020-05-20 14:34:11

### Final Year Project
DotaHunt - Dota 2 Team finder to compete in E-Sports Tournaments in Malaysia

Basically, this web application is to help local Dota 2 player to find and complete their team so that it can compete in tournament with confident.

### Demo
{% vimeo https://vimeo.com/412332132 %}
 

### GitHub
https://github.com/xitox97/Esports-Team-Finder


### Stack
- Laravel
- Vue.js
- TailwindCss
- MySQL

### Stories
This project really teach me a lot how web development works. I learn from develop the project till deploy it on DigitalOcean. Laravel really easy to understand, as it is my first framework. I complete this project within 2 months. I Don't think I able to finish this quickly if not the productivity Laravel provides.
Uses of array_column function PHP
Tags: php
Published: 2020-05-20 14:30:51

PHP has a build function called ``array_column ()``

Using this function a new array be created with the values of a certain key in a multi-dimension array.

The function has 5 parameters & 2 are mandatory to use.

- **input** : Take value from the multidimensional array.
- **column_key** : The value of the key for the index.
- **index_key** : If you want to give a key to the index as a new array key. It is not mandatory to use it.

## Example

```php
<?php

$records = array(
    array(
        'id' => 2135,
        'first_name' => 'John',
        'last_name' => 'Doe',
    ),
    array(
        'id' => 3245,
        'first_name' => 'Sally',
        'last_name' => 'Smith',
    ),
    array(
        'id' => 5342,
        'first_name' => 'Jane',
        'last_name' => 'Jones',
    ),
    array(
        'id' => 5623,
        'first_name' => 'Peter',
        'last_name' => 'Doe',
    )
);

$first_names = array_column($records, 'first_name');
print_r($first_names);

?>
```

## Result

```php
Array (
 [0] => John     
 [1] => Sally     
 [2] => Jane     
 [3] => Peter 
)
```

Another example Using the index key,

## Example

```php
<?php

$records = array(
    array(
        'id' => 2135,
        'first_name' => 'John',
        'last_name' => 'Doe',
    ),
    array(
        'id' => 3245,
        'first_name' => 'Sally',
        'last_name' => 'Smith',
    ),
    array(
        'id' => 5342,
        'first_name' => 'Jane',
        'last_name' => 'Jones',
    ),
    array(
        'id' => 5623,
        'first_name' => 'Peter',
        'last_name' => 'Doe',
    )
);

$last_names = array_column($records, 'last_name', 'id');
print_r($last_names);

?>
```

## Result

```php
Array (     
 [2135] => Doe     
 [3245] => Smith     
 [5342] => Jones     
 [5623] => Doe 
)
```

Source Link :

https://www.php.net/manual/en/function.array-column.php

Thanks .