teleren/devto huggingface dataset:
How to Integrate and Develop Artificial Intelligence Models in Linux Operating System
Tags: linux, acumosai, integration, deployment
Published: 2019-07-15 05:54:03

---
title: How to Integrate and Develop Artificial Intelligence Models in Linux Operating System
published: true
description: Acumos AI is the framework, which is used to develop & integrate AI models in Linux based operating systems. 
tags: Linux, ACUMOS AI, integration, Deployment
canonical_url: https://www.analyticsindiamag.com/linux-releases-new-open-source-framework-boreas-to-help-integrate-develop-ai-models/
---
Recently, the [Linux](https://mindmajix.com/linux-tutorial) based project ACUMOS AI released its updated version called "BOREAS" which is an open-source framework released after ACUMOS framework. This model enables to create and develop well versed AI models. Developers will able to integrate AI models with  machine learning, deep learning.

First you need to discuss about the ACUMOS.

##What is ACUMOS AI?##

ACUMOS is a open-source project , especially designed to integrate, train, build and deployment of AI models. The main aim of this project is to accelarate the innovations in  Machine learning, Artificial Intelligence, through a leaning space.

So let us deep dive into the 

###Latest Features of ACUMOS AI updated version BOREAS.###

Improved User experience in integration and deploying of AI models

Enhanced user support in the latest Acumos platform  under Kubernetes.

Additional support for onboarding of PFA, ONNX, and Dockerized models.

Support for AI/ML model suppliers to give a software license under commercial usage with ACUMOS market place. Which is used to track the activities , verify the license process etc.

Enabled support for ONAP with log management tools.

Reference:[Linux Foundation Official Page](https://wiki.acumos.org/display/AC)
Framework vs. skeleton. Your move as a #codenewbie
Tags: discuss, newbie, advice, help
Published: 2019-07-15 06:56:28

---
title: Framework vs. skeleton. Your move as a #codenewbie
published: true
description: 
tags: discuss, newbie, advice, help
---

I've been reading a lot of articles advising newbies about how to start their dev career. Some articles advise for frameworks such as Angular and React, others advise for going native and learning the language itself (e.g. JavaScrtipt, TypeScript).

What do you experts think?

In my opinion, learning the fundamentals of any language is always preferred over digging right into the framework itself.
Use prototyping to fail intelligently
Tags: startup
Published: 2019-07-15 06:46:39

---
title: Use prototyping to fail intelligently
published: true
description: Testing a startup idea for its market fit.
tags: startup
cover_image: https://images.pexels.com/photos/1076807/pexels-photo-1076807.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940
---
What is prototyping and why do I need it?
When many of us hear prototype the first things that pop in our brains are robots with some wires on them or making a work reference/blueprint for our next big tech ideas. Prototyping is rather just about testing a startup idea and pivoting ideas for its market fit. 
**Note: Prototyping is all about failing early so you don't fail late.**

It's not about getting it right the first or second time, but it's about rapidly improving your idea through try and error which is less risky than making a full deployment before testing your idea.

**Example**
![A chef](https://images.pexels.com/photos/887827/pexels-photo-887827.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940)
Let's say you are a chef who has a new idea. what you do is to make different versions of your product for your customers and as they consume your product you request for feedbacks which will help you refine your recipe to suit them. This isn't just showing people your idea but also improving on it.
PHP Frameworks Guide & Top 10 Best PHP Framework 2019
Published: 2019-07-15 06:02:36

PHP is used by almost 83% of websites across the world and is thus one of the widely used languages for web design and development throughout the world. Rasmond Lerdoff did not develop it as a programming language. It originated simply to manage his personal website. But later the official version was released in 1997 after many months of beta tests and improvement work. PHP was earlier abbreviated as Personal Home Page but it is better known as Hypertext Preprocessor now.

The latest version PHP 7 was aimed to optimize PHP performance by refactoring the Zend Engine and make use of more compact data structures with improved cache locality while retaining near-complete language compatibility. A framework is used for its faster development, easier maintainability, fewer issues, and better security reasons.
Why use a top PHP Framework?

There are some pretty reasons for using PHP frameworks:

    Organization of code and file is extremely easy
    Numerous libraries and tools are available that can help in form validation, database abstraction, input/output filtering, session, and cookie handling, and managing email, calendar, and pagination etc.
    Most of the frameworks follow MVC model architecture
    Frameworks help out with less code which ultimately speeds up development
    Frameworks come with various input and output filtering functions that add an additional security layer to protect the website against certain attacks.
    Frameworks suit well to teamwork
    With active community support, frameworks come with a solution for any query very quickly

Line Up of Best PHP Frameworks in 2019
1. Laravel

It continues to be the most favored and widely used PHP framework since 2015. Laravel simplifies the authorization logic and control access to resources. It supports object-oriented libraries that come along with many pre-installed features. Tools like Artisan are included and help perform tedious programming tasks which are otherwise manually performed by most of the programmers. It also has support for MVC architecture like Symphony that ensures clarity in logic and presentation.
2. CakePHP

The best thing about CakePHP is its 100% backward compatibility that makes it instantly upgradable. Although it does not adapt to newer PHP habits it has shown some consistency in form of stable releases. Going with Fat Models, Skinny Controller and automatic routing approach imply most of the work is automated.
3. Zend Framework

Re-usability of code is the biggest advantage of Zend framework. Imbibing all the goodness of object-oriented approach, making use of just what you need and removing other things, a package full of tools, components, and libraries, liberty to choose own model, a large community with elaborated documentation acts as an addendum to its richness and usability.

click Here to continue reading: https://simpliv.wordpress.com/2019/07/15/php-frameworks-guide-top-10-best-php-framework-2019/
The World's most dangerous search engine:Shodan
Tags: discuss, security, linux
Published: 2019-07-15 05:22:54


Its about a year ago when I started to learn about cyber security & hacking.

' I was working on a tool which helps me to find out particular router on internet but it was getting difficult me to find it.just after a minute I opened up my browser & searched about how to find webcams and router on internet? 

Wow!!
I saw something amazing which let's me amazed a shodan search engine .

SHODAN:

Shodan worlds most dangerous search engine over the internet that lets the user find specific types of computers (webcams, routers, servers, etc.) connected to the internet using a variety of filters.

![](https://thepracticaldev.s3.amazonaws.com/i/7bn2kfsej7wvccfq364z.png)

Shodan is also available as Linux tool it means we can use this dangerous search engine using Linux terminal.

![](https://thepracticaldev.s3.amazonaws.com/i/xgj4nkq0jphs6xytj6s9.png)

For more info visit Shodan official site.
Have you tried this Moon Landing Quiz
Tags: challenge
Published: 2019-07-15 04:39:13

I was trying this fun moon landing quiz yesterday and found it interesting enough to share. Sharing two sample question from the lot. 
They have free t-shirts for the winner who participates in the following coding challenge. 

Try and share your score. I got 25

<a href="https://www.hackerearth.com/challenges/competitive/MoonLandingQuiz/">The Moon Landing Quiz </a>

1. What was the name of the file that contained the master ignition routine?
     - Fire in the hole
     - Eagle on Fire
     - Burn Baby Burn
     - Ignition Routine
   
2. What programming language was used to code the moon landing?
     - BASIC
     - Assembly
     - Short Code
     - Plankalkül

This challenge comes from user <a href="https://www.hackerearth.com/challenges/competitive/MoonLandingQuiz/">The Moon Landing Quiz </a> on <a href="https://www.hackerearth.com/challenges/">HackerEarth </a>
Linux by example - Building different file utils
Tags: linux, file
Published: 2019-07-15 04:19:14

---
title: Linux by example - Building different file utils
published: true
description: We talk about building different file utils and how they can be stringed together to great usage.
tags: Linux, file
cover_image: https://thepracticaldev.s3.amazonaws.com/i/dy2il929a0xuo2hrrvmi.jpg
---

{% youtube IHu4bSQa2WY %}
Designing Continuous Build Systems - Parsing the Specification
Tags: ci, continuousdelivery, python, docker
Published: 2019-07-16 19:09:45

---
title: Designing Continuous Build Systems - Parsing the Specification
published: true
tags: continuous integration, continuous delivery, python, docker
canonical_url: https://tryexceptpass.org/article/continuous-builds-parsing-specs/
cover_image: https://tryexceptpass.org/images/continuous-builds-parsing.jpg
---
Every code repository is different. The execution environment, the framework, the deliverables, or even the linters, all need some sort of customization. Creating a flexible build system requires a mechanism that specifies the steps to follow at different stages of a pipeline.As the next chapter in the series Designing Continuous Build Systems, this article examines which instructions you’ll want to convey to your custom system and how to parse them.

[Read On ...](https://tryexceptpass.org/article/continuous-builds-parsing-specs/)
About Kellie Robb
Published: 2019-07-15 03:26:32

Kellie Robb is a project Manager with 10+ years of project management experience, which includes, project analysis, planning, cost control, budget forecasting, staff management, and reporting. Effective communicator who works well within intra-team and inter-team dynamics. Looking for full time employment, or a long-term contract, 12 months or more. PMP license is in process now, and will be completed in the summer 2019. Open to relocation anywhere in the U.S.
Middleware for Wordpress
Tags: wordpress, php
Published: 2019-07-15 02:36:07

---
title: Middleware for Wordpress
published: true
tags: ['wordpress', 'php']
cover_image: https://thepracticaldev.s3.amazonaws.com/i/kwykp9g1xe36528o5l42.png
---


When I originally began doing significant development around the Wordpress REST API, I was excited to finally get hands-on with it. 

Then, it came to write "middleware". If you are unfamiliar with middleware in web development, it is simply a series of checks between the inbound request and your controller actions.

This is the way you can perform middleware checks according to the current WP Codex:

```php
<?php
add_action( 'rest_api_init', function () {
  register_rest_route( 'myplugin/v1', '/author/(?P<id>\d+)', array(
    'methods' => 'GET',
    'callback' => 'my_awesome_func',
    'args' => array(
      'id' => array(
        'validate_callback' => 'is_numeric'
      ),
    ),
    'permission_callback' => function () {
      return current_user_can( 'edit_others_posts' );
    }
  ) );
} );
```

All we're left with is `permission_callback` to pass in a function string, or closure as seen in the documentation.

I decided to dig into the source code and see if I could create a more familiar looking middleware.

### WP Middleware

That's when I created a `middleware()` helper.

This helper simply takes the `WP_REST_Request` from the `rest_pre_dispatch` filter and injects it as a parameter into the callback in the `rest_pre_dispatch` hook.

This allows you to write simple checks, with all of the objects you need all in one place:

```php

middleware()->get('/wp/v2/posts', ['check_foo', 'check_bar']);

// callback check
function check_foo($request) {
    if( $request->get_param('foo') != 'foo' ){
        return reject();
    }
}

// callback check
function check_bar($request) {
    if( $request->get_param('bar') != 'bar' ){
        return reject();
    }
}
```
Simply return the `reject()` function to reject the request and return a `401`. You can also pass custom rejection messages and response code.

```php
return reject("foo doesn't equal bar!", 400);

```

### Authorization

This also opens the door to allow for certain API operations based on external sources, e.g. using user tokens from Cognito, or approving or denying requests based on other token data in the request, like Stripe.


```php
middleware()->post('/wp/v2/stripe-webhook', ['stripe_check']);

function stripe_check($request){
    // verify the webhook came from stripe
}

```

### Middleware Stacks

This also allows you to create pre-described middleware stacks that allow for portable, consolidated check logic across your application.

```php
$middlewareStack = ['check_foo', 'check_bar'];

middleware()->guard([
    '/wp/v2/posts',
    '/wp/v2/users' ], 
    $middlewareStack);
```

### Getting Started

For documentation, see the [ReadMe](https://github.com/christopherarter/WP-Middleware-Plugin/blob/master/readme.md).

To install this middleware as a plugin, use [GitHub](https://github.com/christopherarter/WP-Middleware-Plugin)

To install via composer:
`composer require christopherarter/wp-middleware`
Will software ever become "blue collar" work?
Tags: discuss, career
Published: 2019-07-15 02:22:04

This has come up in a few past posts

{% link https://dev.to/bananabrann/coding-a-blue-collar-job-pfn %}

{% link https://dev.to/stereobooster/developer-is-the-next-blue-collar-job-269b %}

But with every passing month or year, we gain more perspective. What do you think the outlook is for our work in these terms?
Showcase Generatrix Utility for Git Branches-Tags Markdown
Tags: python, git, utility
Published: 2019-07-15 10:03:22

---
title: Showcase Generatrix Utility for Git Branches-Tags Markdown
published: true
tags: python, git, utility
canonical_url: https://kodaman2.github.io/blog/Generatrix-Showcase/
---

I wrote this utility last week which I call [Generatrix](https://github.com/kodaman2/generatrix_py). It generates markdown for a repo branches/tags. I don't know how much of a problem this is for other people, but I figured to share it anyways. If you are doing a tutorial, and need to provide code to your users, and you split the code in branches or tags as you progress throughout the tutorial or lesson, you can too use generatrix. And then copy and paste the output in your readme.

## Backstory

I actually started doing a [static-site](https://kodaman2.github.io/generatrix/) on github pages, [repository](https://github.com/kodaman2/generatrix) but I sorta failed miserably because I suck at JS, well not really, I just suck at async code. I've never done any JS and I got frustated, I did asked for help which some folks provided awesome help and I still have to work on it. Site works but branches are spit out not in date order, sometimes, which is a problem. I am sure my JS code is a mess lol.

Out of order mkdown
![static_gtrix](https://kodaman2.github.io/blog/images/gtrix/gtrix_site.png)

## Python Version
I spent a few days on the static site, and then went and did the python version in a couple of hours.

![gtrix_cmd](https://kodaman2.github.io/blog/images/gtrix/gtrix.gif)

It works in all platforms since is piping git commands.

```
pip install Generatrix
```

Inside a git repo:
```
gtrix
  or
gtrix --help
  or
gtrix --tags
```

Optional, if you don't have .gitconfig configured:
```
gtrix --user "username"
```

All arguments have short version too, help documentation is on the repo posted in the beginning. Let me know if you've ever had to generate this manually for a readme file. I welcome feedback as well. :)
Quick Netlify Dev Tip for Complex Static Sites
Tags: development, staticsites, jamstack
Published: 2019-07-19 15:30:12

---
title: Quick Netlify Dev Tip for Complex Static Sites
published: true
tags: development,static sites,jamstack
canonical_url: https://www.raymondcamden.com/2019/07/15/quick-netlify-dev-tip-for-complex-static-sites
cover_image: https://static.raymondcamden.com/images/banners/tip.jpg
---

Hey everyone, this tip will probably have a _very_ limited audience, but it was a huge deal for me so I wanted to share it with others in case they run into the same issue. In case you don’t know it, [Netlify Dev](https://dev.to/scottw/netlify-dev-3je3-temp-slug-5267792) is a way to run the Netlify Platform locally. Which means features like redirects, functions, and more will work locally.

As a practical example, I use the redirects feature quite a bit as my site has gone through different engines and domains over the years. Being able to quickly test that support locally is awesome.

However, I ran into an interesting issue with my site. This blog has over six thousand entries. A complete build takes a bit over ten minutes. So when I work locally, I use a different config file that modifies the `exclude` parameter:

```
exclude: [_posts/2003,_posts/2004,_posts/2005,_posts/2006,_posts/2007,_posts/2008,_posts/2009,_posts/2010,_posts/2011,_posts/2012,_posts/2013,_posts/2014,_posts/2015,_posts/2016,_posts/2017,_posts/2018/01,_posts/2018/02,_posts/2018/03,_posts/2018/04,node_modules]

```

I also wrote a quick shell script called `start.sh` to make using this config easier:

```
#!/bin/bash
bundle exec jekyll serve --config _config.dev.yml 

```

As a quick aside, the `jekyll` CLI does support a “only render last N posts” option, but I discovered that _after_ I had used the `exclude` feature. Like with most things there’s more than one way to solve the problem.

This different configuration takes my typical build time down to about five seconds which is more than quick enough.

Sweet!

![Smiling Cat](https://static.raymondcamden.com/images/2019/07/happycat.jpg)

Unfortunately, when I started using Netlify Dev, I noticed immediately that my builds were taking the usual, very long, time. I was ok with it a bit as it let me do testing of my redirects but it was definitely less than ideal.

So of course I went over to the forum and [posted](https://community.netlify.com/t/configure-jekyll-config-with-netlify-dev/2038/4) a question about this.

And since I posted a question, I, of course, discovered how to do it about a minute later.

Turns out the CLI supports a way to bypass the normal startup command that Dev uses. It’s as simple as passing `-c` and the command you need. This is what I use for my blog:

```
netlify dev -c "bundle exec jekyll serve --config _config.dev.yml"

```

I modified my `start.sh` to use that and I’m good to go. Running both Jekyll locally and Netlify Dev.

![Console output showing the netlify dev version running](https://static.raymondcamden.com/images/2019/07/nd1.jpg)

_Header photo by [Sam Truong Dan](https://unsplash.com/@sam_truong?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on Unsplash_
Serverless of the future
Tags: serverless, docker
Published: 2019-07-14 23:49:05

---
title: Serverless of the future
published: true
description: Which serverless function implementation is going to win? A brief prediction.
tags: serverless, Docker
---

Serverless, oh so much in this word.

I made this prediction 5 years ago:

> Serverless is a great idea. But all the current implementations won't gonna win.

But let's talk about Docker first.

The overnight success of Docker happened because it was open, versatile, and vendor independent. I could deploy the same Dockerfile in premises, my local computer, or a cloud without code change.

But then AWS Lambda was marketed as a Docker killer. And people bought it.

The idea of serverless is great, but I can't run Google cloud function in AWS or vice versa.

Similar, I can't reliably run any of them on my laptop just like that, without any modifications.

Your serverless functions needs a Dockerfile of its own, say Functionfile.

Is there a Functionfile initiative to run serverless functions on ANY platform? I'd like to join. If not, then we have to create one.
Most private VPN I’ve ever seen: Mullvad
Tags: vpn
Published: 2019-07-15 14:30:32

---
title: Most private VPN I’ve ever seen: Mullvad
published: true
tags: VPN,vpn
canonical_url: https://kevinhq.com/mullvad-vpn-review/
---

Some days ago, when Proton VPN free servers were very slow to the point I couldn’t use it, I looked at my suggestion note for another VPN. Then, my eyes caught this Mullvad on that note. With no hesitation, I fired up the Firefox and looked for more information about it on DuckDuckGo.  Based on Sweden If Proton… 

[Read More »Most private VPN I’ve ever seen: Mullvad](https://kevinhq.com/mullvad-vpn-review/)