teleren/devto huggingface dataset:
SPSS Tutorial 
Published: 2020-08-07 14:41:28

The art of fetching useful insights from the data is now just not limited to the professional’s hand but modern tools like IBM SPSS are also capable of serving the best from a massive data set. Big organizations are using such tools to get valuable information from the data generated from multiple sources. Let’s see what is SPSS and how it is getting used in today’s work culture. 

What is SPSS?

SPSS is a versatile program which was developed for managing statistical procedures.  SPSS is the Statistical Package for Social Science and is used for the analysis of complex statistical data by researchers and organizations. This software package was launched in 1968 by SPSS Inc. But later in 2009, it was acquired by IBM. It was designed especially for management and analysis of social science data.

Officially SPSS was given the name - IBM SPSS Statistics. But the people mostly call it as SPSS. Whenever there is a task of social data analysis then first preference is always SPSS because of its user-friendly English-like command language. Its user manual is very simple to understand as it is straightforward and easy to get.

The application areas of SPSS are health research centers, marketing companies, government projects, education, data mining, etc. It is also used in survey organizations, data mining and many other statistical analysis operations.

Most of the research companies use SPSS for the analysis of survey data so that they can get their desired output and can fetch useful insights from the data.

If you want to read more click here: https://bit.ly/3fTHpSd
Daily Challenge #278 - Find all non-consecutive numbers
Tags: challenge
Published: 2020-08-07 14:06:12

---
title: Daily Challenge #278 - Find all non-consecutive numbers
published: true
series: Daily Challenge
description: Find all the elements of an array that are non consecutive.
tags: challenge
---
Your task is to find all the elements of an array that are non consecutive. A number is considered non consecutive if it is not exactly one larger than the previous element in the array. The first element always gets a pass.

You should return the results as an array of objects with two values i: <the index of the non-consecutive number> and n: <the non-consecutive number>.

###Example
For the the array [1,2,3,4,6,7,8,10], the result should be:
```
nconsecutive([1,2,3,4,6,7,8,10])
[
  {'i': 4, 'n': 6},
  {'i': 7, 'n': 15}
]
```

###Tests
[6,7,8,9,11,12]
[100,101,102,112,113,114,129]

Good luck!

***
_This [challenge](https://www.codewars.com/kata/58f8b35fda19c0c79400020f) comes from thecodeite on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
GitHub remote graduation swag
Tags: github, dev, graduation
Published: 2020-08-07 14:39:15

GitHub education organized online graduation for the graduates of 2020. I have graduated during the lockdown of Covid19, back in April. It was really sad not to have an official graduation ceremony at my university. During that time GitHub decided to do an online graduation ceremony for all the graduates around the world in a live event. It was really nice initiative from GitHub and I have enjoyed it a lot. 
  
{% github education/graduation%}

Today I have received a package from GitHub with some of their swag. I know it's not that much but it feels nice when a company sends physical things rather than just an email. 

Thank you GitHub and DEV for making my graduation special.



![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nuexr7i1h4sorhogsktf.jpg)
Postlify - Create fast API request builder based on REACT
Tags: showdev, javascript, webdev, react
Published: 2020-08-07 14:32:54

Postlify - Create a fast API request builder, built with React and Redux. It is alternative for `Post(WO)Man`.

# Website

- Website - [https://postlify.netlify.app](https://postlify.netlify.app)
- Repo - [https://github.com/elangosundar/postlify](https://github.com/elangosundar/postlify)
- Report Bug - [Report Bug](https://github.com/elangosundar/postlify/issues/new/choose)
- Request Feature - [Request Feature](https://github.com/elangosundar/postlify/issues/new/choose)

# Core packages

- React - Web Components
- Redux - State Management
- React Router - Routing
- Styling - Styled Components
- API request calls - Axios

# Features

- API Request for all methods like `GET`, `POST`, `DELETE`, `PUT`, ..,etc.
- Mainitaining History for all api request
- Fastly retrieved the API response
- Multiple theme configuration

<hr>

Contributions are welcomed! <3
Made with :heart: and React.
How to debug workflow console projects in Visual Studio 2019 using Designer Breakpoints
Published: 2023-03-31 00:47:54

---
title: How to debug workflow console projects in Visual Studio 2019 using Designer Breakpoints
published: true
date: 2020-08-07 14:32:00 UTC
tags: 
canonical_url: 
---

I ran into an issue with debugging a Workflow Foundation workflow by using breakpoints in the designer in Visual Studio 2019. The breakpoints in the designer were not being hit when running the console workflow program in debug mode. 

A question posted by another member of the community at [https://developercommunity.visualstudio.com/content/problem/846593/not-able-to-debug-windows-workflow-designer.html](https://developercommunity.visualstudio.com/content/problem/846593/not-able-to-debug-windows-workflow-designer.html) led me to another link at [https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/retargeting/4.7.2-4.8#windows-workflow-foundation-wf](https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/retargeting/4.7.2-4.8#windows-workflow-foundation-wf). 

In that last page, at the bottom, under the "Workflow XAML checksums for symbols changed from SHA1 to SHA256", I found the piece of configuration code to add to my app.config file in the console workflow VS project. The following is the full configuration of my project that allowed VS to pause at the designer breakpoints:

> <?xml version="1.0" encoding="utf-8" ?>
> 
> <configuration>
> 
>     <startup>
> 
>         <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
> 
>     </startup>
> 
>     <runtime>
> 
>         <AppContextSwitchOverrides value="Switch.System.Activities.UseSHA1HashForDebuggerSymbols=true" />
> 
>     </runtime>
> 
> </configuration>
Call for messy HTML (yours or what you’ve spotted)!
Tags: a11y, help
Published: 2020-08-07 14:29:50

---
title: Call for messy HTML (yours or what you’ve spotted)!
published: true
description: 
tags: accessibility, help
//cover_image: https://direct_url_to_image.jpg
---

Send me messy, inaccessible HTML. I'm doing a presentation on accessibility and want to demonstrate how to clean it up.
#100DaysOfCode | Day 13
Tags: 100daysofcode, python, challenge, codenewbie
Published: 2020-08-07 14:06:25

Hey everyone, I'm still working on my new project.
I'm working on __Snake Game__ which I thought could be so cool and amazing to create to challenge myself a little bit and it's making so excited to work with GUI!
Actually I'm working with __Turtle__  which is a _built-in_ module.
I'm so happy to make a game for myself but don't worry, cause I'll share my codes and my experience here to show the power of __Snakes__!
That was my experience in day 13 and I hope keep moving forward every day and learning new things.


Keep Moving Forward __ツ__

Enjoy Your Journey 👊

Code with __💛__

__🅑🅐🅝🅙🅘__
Syzer⚡: update all npm dependencies at one go
Tags: showdev, npm, productivity, javascript
Published: 2020-08-07 14:05:19

I've always hated updating my npm dependencies manually. It's a very annoying and tedious work. I know there is already `npm update` but it only updates the packages internally and does not update the `package.json` with the latest version tags.Therefore I ended up creating [Syzer](https://github.com/rocktimsaikia/syzer)

[Syzer](https://github.com/rocktimsaikia/syzer) is a node CLI tool that checks your package.json for outdated dependencies and updates it with the latest versions available.

![](https://raw.githubusercontent.com/rocktimsaikia/syzer/master/.github/screenshot.png)

```bash
Usage:
	$ syzer

	$ syzer --update || syzer -u

	$ syzer -u -i <package_name>

Options:
	--update, -u  updates package.json.

    --ignore, -i added right after -u to ignore specific packages.

   	--version, shows the npu current version.

   	--help,  shows the user guide.

 Example:
 $ syzer
 //shows all the packages.outdated packages are highlighted.

 $ syzer -u
 //updates all the outdated packages to its latest versions.

 //or

 $ syzer -u -i express nodemon
 //updates all the packages except express & nodemon.

 $ npm install
 //then running npm install will install the latest dependencies
```
This updates your package.json with the latest version tags. Then just run our usual `npm install` to install the latest updated packages. 🚀

The reasons behind building this: 📝

1) I personally hate updating my project dependencies manually.

2) There are other similar libraries that do the same thing but I tried one and too much config. Also, I didn't like the idea of specifying the package.json file to update it. then what was the point of using that library. So ended up creating one myself.

3) `npm update` already exists I know but it does not update the package.json file with the latest version tags.

for more info on how to use the tool check, it's README(https://github.com/rocktimsaikia/syzer)

---
What is the DOM?
Tags: javascript
Published: 2020-08-07 14:03:34

The DOM stands for Document Object Model, a representation of the web page, made up of HTML. The interface is essentially what we see on the web page. You can manipulate the DOM and make various changes to it.

The DOM is an organizational chart of the HTML elements that make up a web page. Your web browser generates the DOM. The DOM is a hierarchy allowing you to see structure of the nodes.

On a standard web page, the DOM always consists of these three basic levels - the document element, html element, and the head and body are both on the third level. 

An individual unit in the DOM is a node. We have the document node, html node, head node, body node, title node, etc. The document node holds all of the other nodes. It is the parent node. There are text nodes, which are the content inside nodes such as title and paragraphs. Text node is the lowest level node and it cannot hold other nodes. These are the strings of characters that you can read on a web page. Element nodes are nodes such as `<p>`, `<body>`, `<a>`, `<div>`, etc. 

This is a basic representation of the structure.

```
1st level: document
 2nd level: <html>
  3rd level: <head>
   4th level: <title> 
    5th level: Title of Project
   4th level: </title>
  3rd level: </head>
  3rd level: <body>
   4th level: <p>
    5th level: Here's the content of our project
   4th level: </p>
  3rd level: </body>
 2nd level: </html>

```
[Tutorial Linux] Terminal: Removendo programas obsoletos
Tags: linux, terminal, autoremove, braziliandevs
Published: 2020-08-07 13:57:22

Digite no terminal:

```
$ sudo apt autoremove
```

- **$** indica que você deve usar o **usuário comum** para fazer essa operação.

- **sudo** serve para pedir permissões de administrador temporariamente.

- **apt** do inglês, *Advanced Package Tool*, em português, Ferramenta de Empacotamento Avançada; é a ferramenta que nos ajuda na instalação, atualização e desinstalação de programas, entre outras funções.

- **autoremove** remove versões antigas de programas já atualizados ou dependências de pacotes removidos, que não são necessários para o sistema.

![usando autoremove](https://dev-to-uploads.s3.amazonaws.com/i/8j9ovxmvc1ustuih9v5o.gif)

É importante frisar que as versões antigas do kernel também serão removidas com esse comando e, caso você tenha algum problema com o kernel atual, e deseje voltar ao kernel antigo, não será mais possível.
Advanced Java Online Training- Naresh I Technologies
Published: 2020-08-07 13:47:40

For every update in java version, it releases 3 flavors

J2SE - Java to Standard Edition (Core Java)
J2EE - Java to Enterprise Edition (Advanced Java)
J2ME - Java to Micro Edition
Among these three

J2SE is used for Stand alone applications, it is also known as core Java. The editor used for J2SE is Eclipse

J2SE concepts :

OOP’s concepts (Inheritance, Abstraction, Interface, Polymorphism, Encapsulation)
File Handling
Thread
Exception
Arryas
Collections
J2EE is used for Enterprise applications ( used in IT industry) such as authentication using login and many more web applications, it is also known as Advanced Java. The editor used for J2EE is Eclipse

J2EE concepts :

JDBC (Java Data Base Connection)
Servlet concepts
JSP (Java Server Pages)
Java API (Java Application Program Interface)
Frameworks (Hibernate, Spring etc…)
J2ME is used for Mobile application development for creating apps. The editor used for J2ME is Android Studio

Naresh I Technologies provides you the 100% assurance on your Advanced Java Online Course with Success. Our Advanced Java online training Course focuses on practical oriented training. You can now learn Advanced Java online training from the real-time developers of the IT industry. Join us today to experience the best of best Online Advanced Java Training! The 'Advanced Java' comprises very complex advanced programming. The advanced java programming covers the Swings, SocketÂ Programming, AWT, Thread Concepts as well as the Collection objects and classes.

For more details please visit: https://nareshit.com/advanced-java-online-training/
Machine Learning with Python Done Automagically
Tags: machinelearning, resources, beginners, python
Published: 2020-08-07 13:44:32

Today has been yet another exciting day of my journey into researching the vast field of Machine Learning. And guess what? I found yet another resource that is taking me closer to my goals. Have you found any precious gems like that yourself?

Alright, alright...I'll share mine first.😜 I've stumbled into a very cool ML tool for beginners that works like magic. 

In short, with [OttoML](https://bit.ly/2F2DgxF) you can choose a specific problem that you want to tackle with ML, and then **the wizard generates the Python Code for achieving the task as an output**. Almost like magic, right? 😊

I'm surely going to be playing with this for the next few days. How about you? 

{% twitter 1287858675655286785%}

*P.S. This is not a sponsored post. My aim here is to share useful resources along my ML journey so I can give back to the awesome community of Dev.to that has helped me so much over that past months.*
Dates are hard folks
Tags: discuss, programming
Published: 2020-08-07 13:25:41

I saw this posted yesterday and thought it would be fun to discuss. "Scientists rename human genes to stop Microsoft Excel from misreading them as dates".

{%twitter 1291723650748551173 %}

Dates can be hard when handling them in code. There's a reason people reach for date libraries. 😉

Anyone have some great stories about working with dates?
Mid Meet Py - Ep.18 - Interview with Vincent D. Warmerdam
Tags: python, chat, talkshow, rasa
Published: 2020-08-07 13:02:00

---
title: Mid Meet Py - Ep.18 - Interview with Vincent D. Warmerdam
published: true
description: We meet in the middle of the day, in the middle of the week to chat about Python. This week we have Vincent D. Warmerdam - co-founder of PyData Amsterdam, Developer Advocate for Rasa with us.
tags: Python, chat, talkshow, rasa
---
PyChat:
  [PyCon Africa is happening now](https://africa.pycon.org/) data science for beginners workshop this Sunday
  [PyData Global DfP extended to 16th Aug](https://global.pydata.org/pages/cfp.html)([Joke about PyData CfP](https://twitter.com/DiegoATorresQ/status/1289633316564541441))
  [PyjamasConf CfP is opened](https://pyjamas.live/cfp/)
  [PyBamn just joined NumFocus](https://github.com/pybamm-team/PyBaMM?eType=EmailBlastContent&eId=5f12e53e-8fa3-4c16-8741-46244d87e6c5)
  [Numfocus is looking for a Dev Rel](https://numfocus.org/jobs/open-source-developer-advocate?eType=EmailBlastContent&eId=5f12e53e-8fa3-4c16-8741-46244d87e6c5)
  [Raspberry Pi Keyboard in Japanese](https://twitter.com/Raspberry_Pi/status/1290977599859183616)
  [Create google assistant with Raspberry PI???](https://twitter.com/ThePiHut/status/1290977130482933763)

Mid Meet - Hall of Fame:
  Vincent D. Warmerdam - co-founder of PyData Amsterdam, Developer Advocate for Rasa
  Follow Vincent on [Twitter](https://twitter.com/fishnets88)

PyPi Highlights - [Rasa](https://rasa.com/)

[Listen to MidMeetPy podcast](https://anchor.fm/midmeetpy)
Server Optimization
Tags: iot, esp, webserver
Published: 2020-07-31 08:35:29


For better performance of the webservers, server optimization is done.
Checkout the previous post for adding web contents to arduino sketch https://dev.to/dhiranegi/web-contents-in-arduino-sketch-3o0c for a webserver running in esp8266. 

**Simple minification techniques** can be used for removal of tabs and whitespaces. Many online tools are available for that. I use https://htmlcompressor.com/compressor/
Compress your html and custom js and css file.(graphics and text files can't be compressed using this)

**Using GZIP compression Techinque**

Download 7-zip https://www.7-zip.org/download.html .

It's good to make a GZIP folder to keep all your zipped versions of files. To minified versions of files, apply gzip compression.
(7-Zip>add to archive).

For adding GZIPPED files to arduino sketch, replaces C String with HEX values(convert the files to HEX values with any online tool like http://tomeko.net/). 

Server has to inform clients that the data being sent is in GZIP format, that is done with content-encoding header by using server.sendHeader() function. Sending "content-encoding" "gzip" header for all server files. Here is one handler function and should be done for all the handler function in the code.

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

You can verify Content compression and server response time reduction with **wireshark**.
It is possible to further speed up server response time and reduce bandwidth usage by using cache control or expires header.

ESP Arduino core has some flash memory reserved for file system
called SPI Flash file system. You can choose from Tools>Flash Size

Flash Layout:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mp5ydj7lhgvk8f0tq3ro.JPG)

Follow the installation process from https://github.com/esp8266/arduino-esp8266fs-plugin

Make a folder "data" inside arduino sketch folder and place all GZIPPED files inside that. Do Sketch Data Upload.
You can remove arrays and handler functions from arduino sketch. 

**Reading files with file system library**

You can find an examples here :
File>Examples>ESP8266WebServer>FSBrowser and study it.

Include FS.h library in your arduino code and initialize it by calling begin function in setup(SPIFFS.begin();)
Call handleFileRead() inside server onNotFound(). You can also send expires header before stream file function is called.

Get the code https://github.com/DhiraNegi/server-optimization 

The method is same for mikroC TCP/IP libaray. Add HTTP header in simple uncompressed form on Start of Gzipped array, then use

Net_Ethernet_Intern_putByteTCP() 

for sending only single array that contains both HTTP header and Gzipped data.
Use exactly same technique for STM32 or any other ARM chip with Lwip TCP/IP stack.

HAPPY LEARNING :smile:
How do you fight the developer instinct of trying to reinvent the wheel?
Tags: discuss
Published: 2020-08-07 12:54:20

your brain is saying "use the existing tool", but deep inside you believe that building something from scratch would be better.

- Anybody relates?
- Any success stories about "reinventing the wheel" and gaining something from it?
- Do you have any practical technique for approaching these decisions?
- Where do you draw the line?
Powerful ways to Supercharge your NGINX server and improve its performance
Published: 2020-08-07 12:50:08

You don’t need to be a DevOps expert to make the optimizations explained in this post. Anyone who is new to web applications and is using NGINX can use these steps. All you have to do is edit your NGINX config file.

Read full post here [https://nive.sh/powerful-ways-to-supercharge-your-nginx-server-and-improve-its-performance](https://nive.sh/powerful-ways-to-supercharge-your-nginx-server-and-improve-its-performance)
Personal portfolio: Gatsby vs Next?
Tags: webdev, discuss, gatsby, nextjs
Published: 2020-08-07 12:36:43

---
title: Personal portfolio: Gatsby vs Next?
published: true
description: 
tags: webdev, discuss, gatsby, next
cover_image: https://miro.medium.com/max/2560/1*p9hK1ig8GJfR25gyFwlmog.png
---
When it comes to the tech stack for personal portfolios many devs decide to go with static site generators due to SEO, speed, performance, security, version control, hosting, maintainability and other concerns.

What's your take on this? 
Do you prefer [Gatsby](https://www.gatsbyjs.org/), [Next](https://nextjs.org/) or some others like [Jekyll](https://jekyllrb.com/), [Hugo](https://gohugo.io/) and [Nuxt](https://nuxtjs.org/)? Or none of them and use your own approach?
Introducing Linked Objects
Tags: linkedobjects, linkeddata, jsonld, json
Published: 2020-08-07 12:36:39

# What is a Linked Object?

A [linked object](https://linkedobjects.org/) is is an object which you get from an URL, the URL is its id.

# What are the Benefits?

It allows you to update nested objects independently of each other and reference them within multiple different objects since they are by reference.

# Linked Object Notation (LION)

The Linked Objects Notation (LION) is a simple subset of [JSON-LD](https://json-ld.org/).  It aims to avoid most of the complexity, and enables getting started quickly, using a familiar notation.  LION is compatible with JSON-LD and offers a full upgrade path.

# A Simple Example

```html
<script type="application/ld+json">
{
  "@id": "http://dbpedia.org/resource/John_Lennon",
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
}
</script>
```

## @id

@id is the URL of the object.  It can also be written "id".  The @id can be absolute or relative.  @id is optional but recommended, and makes an object into an Linked Object.

## @type

@type is the type of for that object.  It can also be written "type".  @type normally maps to a URL.  Type is optional.

## @context

@context is optional.  It provides full compatibility with JSON-LD and and maps various items in the object to URLs in a more readable way.

## Spec

Full details on @id, @type and @context can be found in [here](https://w3c.github.io/json-ld-syntax/#syntax-tokens-and-keywords)

## References

- [JSON-LD 1.1](https://w3c.github.io/json-ld-syntax/)
- [JSON Tiny Proposal](https://lists.w3.org/Archives/Public/public-rdf-wg/2011Mar/0565.html)

# Linked Objects is Open Source

Linked Objects is open source under the MIT license.  Please visit our [repository](https://github.com/linkedobjects/linkedobjects) or raise an [issue](https://github.com/linkedobjects/linkedobjects/issues)
Studds Accessories Limited
Tags: helmet
Published: 2020-08-07 12:34:54

STUDDS Accessories Limited, established in 1983 is the leading helmet and motorcycle accessories manufacturers and exporters in the world. Headquartered in Faridabad, India the company has a four manufacturing plants with state-of-art facilities with an annual production capacity of 14 million helmets. STUDDS different type of helmets such as full face helmets, open face helmets & modular helmets and riding accessories that cater to commuters and specialty riders alike. The company also offers sporting helmets and bicyle helmets. For more information, please visit: https://www.studds.com