teleren/devto huggingface dataset:
New Year, New Goals
Tags: newyear, goals, newyeargoals
Published: 2021-01-13 11:18:37

I usually won't give two fucks about the start of a new year, especially since every day can count as the start of a year but for some reason, this one has got me in my feelings. I keep thinking about what I want to achieve this year and where I'd like to be in my career by the end of 2021, among other things.

So, I decided to share with you my career goals for this year to help me be accountable and maybe you can learn a thing or two from this.

To begin, let me quickly share some things about myself:
 
My name is **Sandrava Philips** and I reside in Sandton, South Africa for now. I'm currently unemployed but I do some freelancing and work on personal projects to keep my skills sharp. I love building stuff up, especially from scratch and speaking with people from diverse backgrounds. My dream role is with a startup working as a Software Engineer or Customer Engineer or something related to these two.

Moving on, I prefer to make short term goals for the period of 3 months and then reflect on what I achieved with regard to those goals after the time has elapsed. Afterwards, I add to or remove from those goals as I see fit.

With that in mind, these are my career goals for the first quarter of  2021:
1. Get a full-time/part-time job.
2. Network and be more social.
3. Be a better programmer.

Now, let's break down these goals to weekly/monthly goals:
1. Get a full-time/part-time job.
  * Apply to at least 5 jobs per week, i.e one every weekday.
  * Sharpen your skills(code at least every weekday) and broaden your knowledge(refer to goal number 3).
2. Network and be more social.
  * Post at least once every week on every social platform I use, i.e Twitter and LinkedIn(once every two weeks on LinkedIn).
  * Attend a networking event or conference, either virtual or in person, once every month and do cold outreaches at least once a week.
  * Publish an article at least once a month.
3. Be a better programmer.
  * Sharpen your skills everyday of the week, either by coding, reading or taking a course or a combination of two or all three. And since I prefer not to code on weekends, reading or simply taking a course will do.

And that's it. Feel free to join me and you can also send me an update on your progress by email(sandra_philips@outlook.com) or tag me on your post on [Twitter](https://twitter.com/SandravaPhilips); I'd love to read your stories.

Till next time, *aja aja, fighting*.
IOS keyboard doesn't open while autofocusing? aka. Fake it till you make it!
Tags: html
Published: 2021-01-13 11:15:25

In IOS mobile devices (at least in Safari), the keyboard isn't allowed to show up without the user clicking on the input field. It's by design, BUT you can do something about it. 
I call it: 
##### Fake it till you make it
![keyboardgif](https://dev-to-uploads.s3.amazonaws.com/i/anaxmq47hg1rovg5hhz2.gif)
 
All you should do it creating a fake input element and telling IOS that you are on that input while actually 1000ms later you already deleted the element. 
IOS doesn't detect that the input is deleted and your keyboard stays opened. 
What to do? here we go: 
Let's say you want to toggle a search pop up with a text input inside it. 
first you open it in any way you do in your code: 
`const toggleSearch = () => {
    setSearchOpen(!searchOpen);
// here
}`

then you add this to the function. 
  
`...
    const fakeInput = document.createElement('input');
    fakeInput.setAttribute('type', 'text');
    fakeInput.style.position = 'absolute';
    fakeInput.style.opacity = 0;
    fakeInput.style.height = 0;
    fakeInput.style.fontSize = '16px'; // disable auto zoom
    document.body.prepend(fakeInput);
    fakeInput.focus();
    setTimeout(() => {
      // cleanup the fake input
      fakeInput.remove();
    }, 1000);
  };`

Those style lines are only to hide, prevent to zoom and change your layout height. No more than that. 

Enjoyed? happy hacking!!
Hinode: VSCode Color Theme Inspired by Traditional Japanese Colors
Tags: color, vscode, plugins, theme
Published: 2021-01-13 11:13:06

---
title: "Hinode: VSCode Color Theme Inspired by Traditional Japanese Colors"
 
published: true
description: 
tags: 
  - color
  - vscode
  - plugins 
  - theme
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/zav6r115r6lnt4515tqh.png
---


I just published a vscode color theme "Hinode" inspired by traditional Japanese colors.
Hinode(日の出) means sunrise in Japanese.

* [Hinode in vscode marketplace](https://marketplace.visualstudio.com/items?itemName=aimof.hinode)
* [Hinode source repo](https://github.com/aimof/hinode)

## Preview

![go preview](https://dev-to-uploads.s3.amazonaws.com/i/1z7b13vv1g1h5yt17sm3.png)

([golang/go LICENSE used in preview](https://github.com/golang/go/blob/master/LICENSE))

## Why did I Create this Theme?

I want a theme that highlights in bright orange on a dark blue background.
I couldn't find the color theme I wanted, so I made my own color theme.
When creating the theme, I decided to use traditional Japanese colors because I am Japanese.
I also decided the name Hinode(日の出) at that time.

## Why don't you Download it?

Open Extensions in VSCode and search for `hinode`.
Luxurious Life Of First Class Python Functions
Tags: python, beginners, oop, firstyearincode
Published: 2021-01-13 11:11:31

[![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nurhujobn0bd1pnfiafb.jpg)](https://aagamsheth.com/luxurious-life-of-first-class-python-functions)
# [**Luxurious Life Of First Class Python Functions**](https://aagamsheth.com/luxurious-life-of-first-class-python-functions)

Click on the Image or the header to view my blog on my personal Site.
I created my first game after quitting web development! 🎮
Tags: showdev, gamedev
Published: 2021-01-13 10:57:50

WARNING I do not intend to start a battle because of my cover image in this article. I just thought it would be funny.

<h4>Hello, users! 👋</h4>

Long time we don't read each other!
<br>
<img src="https://media.giphy.com/media/KwwfncWUy8xO/giphy.gif">
<br>

So it's been almost 6 months since I left web development and joined the gamedev journey. The why's and how's, however, won't be included in this article.

So after all I've been learning I can finally show <b>my first official game</b>... ¡Space Walk! 🥳

<h2>Space Walk</h2>

Space Walk is a **2d-platform-shooter**, a project I created for school. In other words, <b>my homework</b>. However, I'm really happy with the result and I wanted to publish it and show it in my portfolio.

Some images:

![Space Walk gameplay](https://dev-to-uploads.s3.amazonaws.com/i/xfrhstykba4oc5g408sp.png)

![Space Walk gameplay](https://dev-to-uploads.s3.amazonaws.com/i/g9dyclbqsm704p52c559.png)

![Space Walk gameplay](https://dev-to-uploads.s3.amazonaws.com/i/04su88x8p2y8i3bjxa0t.png)

![Space Walk gameplay lose screen](https://dev-to-uploads.s3.amazonaws.com/i/kz3azf5gmviwjq79knw5.png)

You can play it <a href="https://helleworld.itch.io/space-walk-project" target="_blank">here</a>. ✨

<h2>The challenge</h2>

As homework the requirements were not extensive, but I wanted to take this assignment as a personal challenge and create a game from beginning to end, with a closed level and some mechanics that were hard for me to code.

<h2>Thanks!</h2>

So I just wanted to show this because I'm really proud I could create this from scratch and with my own knowledge.

Hope you have a great week, read you soon! 👋

PS; You can read the postmortem <a href="https://helleworld.itch.io/space-walk-project/devlog/211409/space-walk-postmortem" target="blank">here</a>.

🌷
AnimationCPU Creative Space is open! 🤓🤩🚀
Tags: computerscience
Published: 2021-01-13 10:55:23

Animation CPU reactive mobile development platform for iPad

Screenshot:
https://imgur.com/RNgmc1K

Please fill out the form to connect to Animation CPU TestFlight! https://forms.gle/1okEgyz3QcUVhgXA8

Join on Discord
https://discord.gg/VCVveZVVK2

Follow Twitter
https://twitter.com/AcpuStudio

{% tag ios %}
Visualise CPU Registers
Tags: javascript, showdev, pinball, sideprojects
Published: 2021-01-13 10:52:22

Visualize retro machines inner working is something I really like, maybe because it's a bit weird or because it forces you to look at a machine in a different way.

Anyway I visualize the Condition Code CPU register of a Motorola 6809 CPU on a art print. What's the Condition Code register? Condition codes are extra bits kept by a processor that summarize the results of an operation and that affect the execution of later instructions (Mark Smotherman).

Check it out at https://www.concealed-art.com/product-page/circus-voltaire-condition-codes - I hope you like it!
Build BULLETPROOF 💣 applications
Tags: webdev, javascript, frontend, backend
Published: 2021-01-13 10:50:53

---
title: Build BULLETPROOF 💣 applications
published: true
description: 
tags: webdev, javascript, frontend, backend
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/5q4n4ioewz9ulc7v48op.png
---

You build amazing Web applications that people love to use. They are fast and user-friendly. It's time to take security seriously. Web Security model and industry standards are complex and omitted by many developers. Let's upgrade your skills.

​
**What is inside newsletter**

Clickjacking, XSS, CSRF, Brute-force attacks, HTTP Headers, OWASP Top 10, hashing, salting, OAuth, cookies, JWT and much more! ⚡

​
**What is the technology behind**

It does not matter if you use Angular or React, Java or Node, Python or .NET. There are many (technology-agnostic) proven strategies to improve Web applications security.


**Join here** 👉 https://tuesday.websecurity-academy.com 👈
UNIVERSALLY 5 BEST SERVICE PROVIDERS FOR MAGENTO DEVELOPMENT COMPANY
Tags: magento2, magentodevelopmentcompany, magentoangency
Published: 2021-01-13 10:49:51

Magento Development empowers many e-commerce stores universally. There are so many service providers around the globe. But better services are given by very fewer companies. Millions of users are having this to take their business to the international competitive e-market. The 5 best companies in Magento Development is being narrated here.


Universally 5 best service providers for Magento Development,


##1.Webnexs
Webnexs is a universally well known Magento Development service providers who give the best packages to all its customers. It is a trending e-commerce platform where customers can launch their business universally.

Webnexs is with all functionalities and many dedicated professionals to help the customers 24x7. Full customization and digital management are some unprecedented. Millions of e-commerce stores have Webnexs products universally. Webnexs provides all the necessities to the users for all small businesses, any entrepreneurs and all industries. 

**[Request For A Free Live Demo](https://www.webnexs.com/magento-development.php)**

##2.MAGNETO IT SOLUTIONS
 
Even though they are Magento specialists, they begin and do all from the strategy to design with development. This permits their Magento professionals, a part of what they have to offer. Magneto is the must, if e-commerce is the main core of your business, then you have to go with a company which has the main focus on e-commerce.

**[Get A Free Quote](https://magnetoitsolutions.com)**

##3.ZFORT GROUP

Zfort Group is one of the software development company to handle business problems. They are known for their Magneto service, and they build all websites to serve business objectives. If you need to build a normal e-commerce site then Zfort Group is right choice.

**[Call Me Now](https://www.zfort.com/magento-development-services)**
 
##4. IDS LOGIC

IDS is particular in communicating correctly what they perform. If you want a challenger brand, IDS Logic isn’t a good one, but it’s the competent service provider of digital services and anyone can choose IDS Logic for you.

**[Build Your Ecommerce Store](https://www.idslogic.com/magento-development/)**

##5. ELOGIC

Elogic with their sincere Magento teams and with e-commerce professionals, they offer well-dedicated migration offers to those who need it; but who really want Magento migration. They have better knowledge and  before starting to work with them get a clear idea of their previous works

**[Contact Us](https://elogic.com)**

 
##Conclusion
Magento's e-commerce platform is the boon for e-commerce stores and has many advantages. The basic platform is acting as a backbone for an e-commerce site, but you have to hire the best Magento development company to make it great. Always call the best service provider for more help!
How to live without Docker for developers - Part 2 | Native approach to build an image with Buildah
Published: 2021-01-13 10:41:24

You already know that Kubernetes is going to drop support for Docker. Starting from version 1.20 that was recently released in December 2020 you will see a deprecation warning for Docker. Docker runtime support will be completely removed from Kubernetes in version 1.22 that will be release in late 2021. After that you will need to switch to one of the other compliant container runtimes, like containerd or CRI-O inside your clusters. Despite both containerd and CRI-O know how to pull docker images and run them and Docker Images Manifest V2 and OCI image specification are almost the same, nobody knows how long Docker images will be supported.

As developers, we need to be prepared to build either docker or OCI images in just a one click and get used to living without Docker.

Therefore I decided to create a series of videos with the common title - How to live without Docker for developers.

The [second episode](https://youtu.be/CLhzNZ9ZavQ) is already published. In this episode I will show you the native approach to build an image from scratch using Buildah commands. As a result, you don't need to create a Dockerfile for your application anymore.

Please check it out and subscribe to my channel to be notified when my new episodes will be released.

Thank you in advance.

Link to video: [https://youtu.be/CLhzNZ9ZavQ](https://youtu.be/CLhzNZ9ZavQ)

Link to the first episode: [https://youtu.be/Fl0iLoAMdzc](https://youtu.be/Fl0iLoAMdzc)
Session Security
Tags: security, webdev
Published: 2021-01-13 09:57:53

Over the years, web application security began with sessions and now sessions are based on tokens to improve overall session security. 

According to the most recent OWASP Top 10, “*Application implementations related to authentication and session management are often implemented incorrectly, allowing attackers to compromise passwords, keys, or session tokens, or to exploit other implementation flaws to assume other users’ identities temporarily or permanently.*” 

These security flaws can be extremely critical to web applications. This can impact high risk to businesses. Not just the exposure of sensitive data,  but it can also allow hackers to steal accounts from others and impersonate users. Both internal and external attackers can take advantage of these vulnerabilities.

A session is started when a user authenticates to an authentication server to prove their identity using a password or another authentication protocol. Session management needs secure cryptographic network communications, ie, secure sharing of secrets with authenticated users. 

Some of the popular attacks on session:

* ***Manipulator in the middle attack (MITM)*** occurs when an attacker intercepts a request between a user and the server. 

* ***Cross-site scripting (XSS)*** is a security exploit which allows an attacker to inject malicious scripts into a website.

* ***Cross-site request forgery (CSRF)*** is an attack that forces an authenticated end-user to execute unwanted actions on a web application.

* ***Session fixation*** is an attack that permits an attacker to hijack into a valid user session. 

How to secure a session:

* *HTTPS communication*
* *Validate JWT tokens*
* *Do not hardcode tokens*
* *Secure and HTTPonly cookies*
* *Lengthy and random session ID*

***

*More detailed version along with how you can avoid these vulnerabilities is published at :* [*https://beaglesecurity.com/blog/article/session-security.html*](https://beaglesecurity.com/blog/article/session-security.html)
Why Most Mobile Apps Fail?
Tags: mobileapps, applications
Published: 2021-01-13 09:36:59

Mobile industry is growing rapidly and app stores are jam-packed with lots of mobile applications that strive to attract user attention. Every year millions of applications are developed and still less than 1% of these apps are said to be successful. So, in today’s saturated market, what does it take to develop a successful mobile app? 

App’s success or failure is beyond a bug or defect that can be improved. Also there are some common issues that cause an app to fail. Knowing these issues and avoiding it will help your app to succeed. It will also help you to proceed wisely and look for the signs of things that could take a nasty turn. Market competition is high and failure is not always a result of getting lost in the noise. Many organizations look for guidance as they want to understand the reasons for app failure. If you are one of them, then you are at the right place. Here we’ll discuss the common reasons that will help you to understand the app failure.  

#Top Reasons Of Mobile App Failure-
**1. Poorly Research About Market & Audience-**
Some of the companies build a mobile application of their own without carrying proper research. As a mobile app development company, you should always search for what your competitors are doing. This will keep you ahead with the latest trends, and also you will realize that the details you know about are genuine. Technology market is consistently evolving and app developers should always keep themselves upgraded with the modern trends. Before starting development of app, analyze the similar apps developed by competitors and try to find out the defects in them so that you can address them in your development. 

Launching a product to market should be an iterative process to validate the assumptions related to user behavior and product. It is good for continuously meeting the needs of users and maintaining engagement. There are a few questions that every developer should think about, for instance: 

Is there any market for my app or not?
Can this app solve customers’ problems?
Who is my competitor?
Are there no apps that perform similar functions?
Would your customers like to use it or not?
Explore the market through MVP(minimum viable product). MVP is a process designed to identify user pain points and determine the appropriate functionality to address those needs over time. Building a MVP provides quick market entry and a basic user experience that allows organizations to figure out how users respond to the application’s main purpose, and with this understanding, make logical decisions about how to achieve both business and product objectives.

Know more at- [https://solaceinfotech.com/blog/why-most-mobile-apps-fail/]
Wednesday Links - Edition 2021-01-13
Tags: java, tls, spring, gradle
Published: 2021-01-13 10:21:37

Array patterns and varargs patterns (3 min read) 🍓
https://mail.openjdk.java.net/pipermail/amber-spec-experts/2021-January/002695.html

Consistent Core (8 min read) 🥝
https://martinfowler.com/articles/patterns-of-distributed-systems/consistent-core.html

AdoptOpenJDK Welcomes Dragonwell (3 min read) 🐉
https://www.infoq.com/news/2021/01/adoptopenjdk-welcomes-dragonwell

Waiting to happen (3 min read) ⌚
https://blog.ploeh.dk/2021/01/11/waiting-to-happen

Gradle 6.8 Released (30 sec read) 🎉
https://twitter.com/gradle/status/1347612442155692033

SDKMAN! with M1 support (30 sec read) 🎉
https://github.com/sdkman/sdkman-cli/releases/tag/5.9.2

The HTTP Status Codes Problem (6 min read) 📇
https://twirl.medium.com/the-http-status-codes-problem-40b3160a189f

Mitigating Obsolete TLS (2 min read) 🛡️
https://github.com/nsacyber/Mitigating-Obsolete-TLS

Spring Playground - useful tools when building Spring Boot Apps (2 min read) 🤾‍♀️
https://github.com/odrotbohm/spring-playground
Why Web Analytics?
Tags: analytics, firstpost
Published: 2021-01-13 10:17:23

![A person holding an iPad](https://dev-to-uploads.s3.amazonaws.com/i/v4f4xxp0zrcq4ur42s9y.jpg)
Metrics 📈 don't have any biases or expectations. Many managers instinctively use their intuition or their "gut feeling" to make key business decisions. While there's nothing wrong with following your gut, there's no way to argue with numbers. They are black ⚫ and white ⚪.

There is an increasing demand by people for privacy and security while online this goes against the surveillance capitalism business model of the established companies today such as Google analytics who profit from selling the personal data of its users to advertisers.

People have now recognized that if they are not paying for a product, they are the product.

A number of Google analytics alternatives have sprung up all of them catering to different people such as Page Insight, Splitbee, Plausible, Fathom etc.

I have used different website analytics platforms and the one that really meet my requirement is [Page Insight Analytics](https://pageinsight.app). It is privacy friendly, GDPR compliant. It easy to integrate into my website, the user interface is very easy to understand. I love the fact that it gives me all the data I need in a single page. This saves me the time of having to go through several layers of menus or through the headache of creating a custom report as is usually the case with other web analytics platforms. I can track an unlimited number of website. I also get weekly and monthly email notifications to inform me about the status of my websites. If there is a traffic spike on my website, I receive a notification and so much more.

The metrics collected by these web analytics platforms give website owners into what is happening on their website. This will guide them in knowing what aspect of the business to focus and put more effort in improving. The old ways of using your gut feeling to predict what is happening in your business is not going to cut it going forward.
Sloved Euler project - problem 5
Tags: python
Published: 2021-01-13 10:15:31

We return with another problem from Euler

 Solve the Euler Project - Problem Five

 Website: www.projecteuler.net

Question :
2520 is the smallest number that is divisible by any number one to 10 with no remainder.

The smallest number you can say to each of the numbers one to 20?

Solving language: Python

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/41w3n5e7diqozph18lzv.jpg)