teleren/devto huggingface dataset:
Mas, o que é SAP?
Published: 2020-04-17 01:11:44

Escrito especialmente para o @elasprogramam 

(Vale reforçar: **NÃO** estou abordando sob o ponto de vista de programador ABAP, Netweaver, e outras aplicações que requerem a base técnica de alguém já da área de TI).

Primeiro, é importante deixar claro o que é um ERP (Enterprise Resource Planning). Um ERP  é um software que integra todos os dados e processos de uma organização (todas as áreas: Finanças, Recursos Humanas, Materiais, Vendas,...) em um único sistema. O SAP é um ERP  criado por uma empresa alemã que tem o mesmo nome; é um software que fornece soluções customizadas para diferentes tipos de indústrias, por meio de módulos. 

O sistema divide em módulos cada departamento correspondente, como por exemplo o de vendas, gerenciamento de estoques, controlling, projetos, etc. Cada módulo, portanto, é responsável por muitos processos de negócio que são baseados nas práticas de cada empresa. No SAP, os módulos funcionais são representados por siglas, como por exemplo: FI (Finanças), CO (Controladoria), MM (Materiais), SD (Vendas), PP (Planejamento da Produção), QM (Qualidade).

Como já citei anteriormente, no SAP tem as áreas que irão precisar já desse conhecimento prévio em TI; por exemplo: as pessoas que atuam com programação ABAP (linguagem própria desenvolvida pela SAP) e BASIS (infraestrutura e aplicações). Bom, mas estamos falando de pessoas que não possuem essa base, que tem a formação (ou experiência) em Administração, Contábeis, Economia, Engenharia. São os funcionais. Estes, precisam entender a regra de negócio de um determinando módulo e são os responsáveis pelas customizações/configurações e suporte daquele módulo no Sistema.

A melhor maneira de ingressar na área é por meio das chamadas Academias ofertadas por empresas como processo seletivo. Algumas que realizam são: Accenture, IBM, Cast Group (Por gentileza, me corrijam ou acrescetem informações, eu realmente não tenho pesquisado muito sobre o mercado SAP). No Linkedin tem muita gente massa da área compartilhando material gratuito também, a quem já tiver curiosidade. ;-)
Using lists in go with structs
Tags: beginners, go, example
Published: 2020-04-17 00:47:09

This is a basic example in go using container/list and structs.

```
package main

import "fmt"
import "container/list"

type Person struct {
	name string
	age  int
}

func main() {

	person1 := Person{"John", 44}
	person2 := Person{"Julia", 22}

	list := list.New()
	list.PushBack(person1)
	list.PushBack(person2)

	// Iterate the list
	for e := list.Front(); e != nil; e = e.Next() {
		itemPerson := Person(e.Value.(Person))
		fmt.Println(itemPerson.name)
	}

}
Axios methods
Tags: javascript, help
Published: 2020-04-17 00:45:46

Hi everyone,
I've had a problem with DELETE (and PATCH) method of axios_modules.
When I want to remove an item from my todoList (by clicking on button "Delete"), I use delete method in my code and it doesn't work, the method delete cannot send the request to the server and update datas. ( It happens also to the method PATCH)
Can anyone help me please? :) If you have an another solution, can you show me the way??
Here is the link: https://github.com/codingTheWorld777/Draft-todoList_using_axios_AJAX
(You have to use json-server --watch db.json --port 9081 to start a JSON server at a port 9081).
Thank you very much.
zz
Tags: ubuntu
Published: 2020-05-10 09:58:53

---
title: zz
published: true
date: 2020-04-17 00:00:00 UTC
tags: ubuntu
canonical_url: http://jamessessford.com/blog/zz
---

Mattias Geniar (@mattiasgeniar) posted a link in the past couple of days that I found really interesting:

[zz: a smart and efficient directory changer by Leah Neukirchen](https://leahneukirchen.org/blog/archive/2017/01/zz-a-smart-and-efficient-directory-changer.html)

Without spoiling the end - the article is definitely worth the read!! - I'm slowly managing to change my workflow to use `zz` to get to where I need to be instead of `cd ../../../` once I've navigated into a project.

Thanks Leah!
Elm Calculator Part 6 - Supporting Negative Numbers
Tags: elm, webdev, beginners, codenewbie
Published: 2020-04-17 16:14:15

---
title: Elm Calculator Part 6 - Supporting Negative Numbers
published: true
date: 2020-04-17 00:00:00 UTC
tags: elm, webdev, beginners, codenewbie 
canonical_url: https://pianomanfrazier.com/post/elm-calculator-book/06-negatives/
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/u26mai0h3j5xcrz6tbis.png
series: Elm Calculator
---

_This post is part of a series. To see all published posts in the series see the tag ["elm calculator book"](https://pianomanfrazier.com/tags/elm-calculator-book/).If you wish to support my work you can purchase the book on [gumroad](https://gum.co/NwMtt)._

**This project uses Elm version 0.19**

- Part 1 - Introduction 
- Part 2 - Project Setup 
- Part 3 - Add CSS 
- Part 4 - Basic Operations 
- Part 5 - Adding Decimal Support 
- **_Part 6 - Supporting Negative Numbers (this post)_**
- Part 7 - Add Dirty State 
- Part 8 - Support Keypad Input 
- Part 9 - Combination Key Input 
- Part 10 - Testing 
- Part 11 - Netlify Deployment 

* * *

- **_browse:_** [https://gitlab.com/pianomanfrazier/elm-calculator/-/tree/v0.6](https://gitlab.com/pianomanfrazier/elm-calculator/-/tree/v0.6)
- **_diff:_** [https://gitlab.com/pianomanfrazier/elm-calculator/-/compare/v0.5...v0.6](https://gitlab.com/pianomanfrazier/elm-calculator/-/compare/v0.5...v0.6)
- **_ellie:_** [https://ellie-app.com/72p2Gt2gpkXa1](https://ellie-app.com/72p2Gt2gpkXa1)

Users need to be able to input negative numbers. Since negatives are different than the subtract operation we need to handle this separately.

Many RPN calculators I have seen have a toggle sign button.

```elm
section : Html Msg
section =
    div [ class "section" ]
    [ ...
    , cell (onClick SetSign) Single White "+/-"
    , cell (onClick Enter) Single Yellow "Enter"
    ]
```

And then let's add the message type and update the model.

```elm
type Msg
    = ...
    | SetSign
```

We need to do some string checking to make this work.

```elm
update : Msg -> Model -> Model
update msg model =
    case msg of
        ...
        SetSign ->
            -- don't allow the user to make a negative zero
            if model.currentNum == "0" then
                model

            -- drop the negative sign from the string
            else if String.startsWith "-" model.currentNum then
                { model | currentNum = String.dropLeft 1 model.currentNum }
            -- add the negative sign
            else
                { model | currentNum = "-" ++ model.currentNum }
```

And that's it. We now have a working calculator.

The next few chapters will be adding some nice extra features.
Fold for COVID
Tags: pandemic, rosettaathome, boinc, balena
Published: 2020-04-16 23:50:15

---
title: Fold for COVID
published: true
description: Help fight the COVID-19 pandemic with your old laptop, Raspberry Pi, or other spare computer
tags: pandemic, rosettaathome, boinc, balena
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/98nfcrx4s0zmofjrsfs6.png
---

Hi.

As some of you fine folks may know, I work as a backend software engineer for [Balena](https://www.balena.io/), occasionally building [cool robots](https://www.hackster.io/james-harton/augie-the-hexapod-robot-8e5125) or [shooting things with lasers](https://www.balena.io/blog/add-new-functionality-to-affordable-cnc-machines-using-cnc-js-and-balena/).

I don't usually post about work stuff, but I wanted to share my pride in our team's efforts to get the [Fold For COVID](https://foldforcovid.io/) site up and running.  We're using our IoT platform to provide prebuilt images that will boot a bunch of devices directly into [BOINC](https://boinc.berkeley.edu/) and start folding proteins for the [Rosetta@Home](https://boinc.bakerlab.org/) project at the [University of Washington's](http://www.washington.edu/) [Baker Lab](https://www.bakerlab.org/).

This project was initiated by our very own David Tischler, with support from a bunch of other Arm folks got the Rosetta@Home project compiling on ARM64.  If you want more information about that you can [read David's blog post](https://www.balena.io/blog/balena-enables-more-devices-to-join-rosetta-home-to-research-covid-19/) about it.

We don't just support Arm, if you have an intel machine lying around unused you can download an image which will flash it from a USB stick.  Time to drag that old laptop out of the cupboard and get started.  If you want to use a Raspberry Pi then you'll need at least a Pi 4 with > 2GB of RAM.

What are you waiting for? Go [Fold For COVID](https://foldforcovid.io/)!
12 Important Lessons from The DynamoDB Book
Tags: database, serverless, aws, datamodeling
Published: 2020-04-17 12:21:15

---
title: 12 Important Lessons from The DynamoDB Book
published: true
date: 2020-04-16 23:48:09 UTC
tags: Databases,Serverless,aws,data modeling
canonical_url: https://www.jeremydaly.com/important-lessons-from-the-dynamodb-book/
---

Fellow serverless advocate, and AWS Data Hero, Alex DeBrie, recently released The DynamoDB Book, which ventures way beyond the basics of DynamoDB, but still offers an approachable and useful resource for developers of any experience level. I had the opportunity to read the book and then speak with Alex about it on Serverless Chats. We … [Continue reading "12 Important Lessons from The DynamoDB Book"](https://www.jeremydaly.com/important-lessons-from-the-dynamodb-book/)

The post [12 Important Lessons from The DynamoDB Book](https://www.jeremydaly.com/important-lessons-from-the-dynamodb-book/) appeared first on [Jeremy Daly](https://www.jeremydaly.com).
Day 118 : Smiling Faces
Tags: hiphop, code, coding, lifelongdev
Published: 2020-04-16 23:15:30

_liner notes_:
- Professional : Had a team call this morning. It was really good to see everyone's smiling faces. Much needed in these current times. Went through some more code reviews for some pull requests. More blog research. Actually did some communication on Twitter and Instagram.

- Personal : Last night, I worked out the "About the Site" Web Component layout in CodePen. Used CSS Grid, <fieldset>, <details> and an SVG. Also got some Media Query breakpoints in there. Looks pretty good. Went through a bunch of tracks for this week's radio show. Don't need too many since I put together A LOT last week.

![Aerial view of Mount Tamalpais, CA, USA](https://dev-to-uploads.s3.amazonaws.com/i/v600vg9pvfmfi51b3blb.png)

Going to start working on turning the CodePen I created into an actual Web Component using Stencil. Not sure if that's going to happen now, because it looks like the power just went out. Awesome. Using my phone's hot spot to connect to internet and I get horrible reception where I live.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube Oc9nB3Odcq0 %}
Looking for a CSS framework that I don't have to fight against it (also Vue Framework)
Tags: vue, webdev, help
Published: 2020-04-16 23:13:15

Example of frameworks that I have to fight against them (due to global styling and common class names)

- Bootstrap
- Bulma

Example of Vue frameworks that also have global styling

- Vuetify
- Buefy

Well, I was using Buefy all these times.

What should I try next? Can I avoid creating Vue components all by myself?

I am working on this project BTW, which works very well, except if one doesn't use Bulma.

{% github https://github.com/patarapolw/blogdown-cms no-readme %}
The CSS Box Model... built only with CSS
Tags: codepen, css
Published: 2020-04-16 22:46:07

---
title: The CSS Box Model... built only with CSS
published: true
description: A responsive description of the CSS box model... built using CSS! Without a single line of JavaScript or HTML.
tags: codepen,css
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/iwkjpm93cri86dxj19gb.png
---

<p>A responsive description of the CSS box model... built using CSS! Without a single line of JavaScript or HTML<sup>*</sup>.</p>

{% codepen https://codepen.io/alvaromontoro/pen/MWaymPe %}

<p>*It needs a body, so technically it is a single-element, but it looks cool without a single element in the HTML tab :P</p>

Read this [DEV.to article for more information about the CSS Box Model](https://dev.to/alvaromontoro/the-css-box-model-4i32).
Bored? 🙄 see what you can do now
Tags: javascript, webdev, contributorswanted, react
Published: 2020-04-16 23:11:22

Hello World,

We have made a small funny game to see what you can do now. You can try it [here](https://abdelrahmanahmed.github.io/next-activity/) .



**Note**: the content needs more of your contribution.
Mac - Changing Font Size Without Lowering Display Resolution
Tags: mac, productivity, apple
Published: 2020-04-23 14:42:50

---
title: Mac - Changing Font Size Without Lowering Display Resolution
published: true
date: 2020-04-16 22:40:32 UTC
tags: mac, productivity, apple
canonical_url: https://www.devsurvival.com/mac-increase-font-size-without-lowering-resolution/
---

Many other guides on this topic solve this problem by changing your display [scaling](https://www.devsurvival.com/setting-native-resolution-on-mac/). Although this methods works and is fairly simple, it does result in a minor degradation of visual quality or display resolution.

  

This tutorial is a little bit different. I am going to show you how easy it is to change your system font without the side effects of lowering your resolution. Let’s get started.

### Who is this guide for?

If you are a person who likes to take your gadgets and experiment with them, then this guide is for you. If you are just trying to quickly change the font size or the scaling of your mac’s appearance without downloading extra software, then I recommend using the provided [display settings](https://www.devsurvival.com/setting-native-resolution-on-mac/) provided by Apple in your mac’s preferences.

### Step 1

Download [TinkerTool](https://www.bresink.com/osx/TinkerTool.html). This tools allows you to tweak certain things in your mac that are usually not exposed to the common user. Don’t worry it is legal 😉.

### Step 2

Open the Tinkertool dmg file and open the TinkerTool app. There will be a couple pop-ups, just click continue on those.

[![TinkerTool dmg](https://www.devsurvival.com/static/0377c71e68c413870c54cf74e60c7572/a6d36/tinkerToolDMG.png "TinkerTool dmg")](/static/0377c71e68c413870c54cf74e60c7572/0d0e4/tinkerToolDMG.png)

### Step 3

Navigate to the “font” panel. Once you are there, you can change any of the available font options according to your needs. There is no need to save your changes once you are done, just restart any application and you will see the update, and that is it. You can always go back and fine tune it to suit your preference.

[![tinkertool font panel](https://www.devsurvival.com/static/878c56451fee76d1b0afcf6bd8d65693/a6d36/tinkerToolPreview.png "tinkertool font panel")](/static/878c56451fee76d1b0afcf6bd8d65693/ae28e/tinkerToolPreview.png)

### How do I reset everything and pretend this never happened?

Simple. Navigate to the _reset_ panel and click “reset to pre-tinkertool state”.

[![reset tinkertool](https://www.devsurvival.com/static/aa622b4bbfe0d3c4c08bfc954f047cf0/a6d36/resetTinker.png "reset tinkertool")](/static/aa622b4bbfe0d3c4c08bfc954f047cf0/ae28e/resetTinker.png)

  

> “It’s still magic even if you know how it’s done.”-Terry Pratchett,
Easy serverless google function creation with all the goodness of EXPRESS !
Tags: serverless, googlefunction, npm, javascript
Published: 2020-04-16 22:16:24

# Hello.

I am new to contributing to opensource. And I am starting this exciting journey by writing npm packages. Recently I wrote a simple google function creator library, it makes your google function / any serverless / Express code small with default provided setting; you just have to add what you need to add , no more unnecessary coding, no CORS problem! Everything is configured , and also can be fine tuned with custom stuff. You can create normal express app too with this library.
here is the link and the basic usage has been described. For further customization , you can see the index.ts/index.d.ts file inside the source. Updated readme will be provided later. 
## npm Link
https://www.npmjs.com/package/google-function-http-tool
## Git Repo
{% github darkie8/google-function-http-tool %}
## Conclusion
Just use it and give me feedback ,I will love to get new idea on this one.
Exciting Mac mini Unboxing
Tags: unboxing, streaming, tech, upgrade
Published: 2020-04-16 22:02:48

---
title: Exciting Mac mini Unboxing
published: true
description: With the 6-core i7 Mac mini, hopefully, we will have better streaming and tutorials coming!
tags: Unboxing, streaming, tech, upgrade
---
Big thanks to [TerminusDB](https://terminusdb.com/)!

With the 6-core i7 Mac mini, hopefully, we will have better streaming and tutorials coming! Watch me on [Twitch](https://www.twitch.tv/cheukting_ho) for my tutorials including World of WoqlCraft tutorial every Friday at 4pm UK time and Python beginner tutorials every Sunday at 1pm UK time. Follow TerminusDB [here](https://www.youtube.com/channel/UC5kZt8pP-FM0u-R0BQr78YA) for weekly Webnibar that I hosted and knowledge-rich contents.
A helpful cyber-security game for parents/kids in 2020
Tags: beginners, leadership
Published: 2020-04-16 20:42:03

DEV network,

I do not have any children myself. Only some plants and a 100 pound German Shepherd (who is a little too addicted to eating snow if you ask me).

But I have a fairly extended family/friend network who are parents & my immediate community is extremely family-friendly. Many of us may be working and schooling from home for the foreseeable short term.

This means that young (read: malleable) minds WILL be spending more time on social media, on school chats, on zoom meetings (where we know that strangers can pop in), church service chats, podcasts, video game chats, TikTok, etc...

Critical election campaigns are also ramping up for the next 6 months. 

Online traffic is flowing at exponentially higher levels than when you and I were kids (if dial-up was still feasible in 2020, every Quinceañera or Bar Mitzvah should mark a 1-year custom where Junior must survive on a dial-up modem connection as a rite of passage). Tradition! OK enough chattering from me. 

Google has kindly developed a fun game to teach people the tenets of Internet Safety, malware/phishing attempts, pyramid schemes, and develop critical thinking skills::

https://beinternetawesome.withgoogle.com/en_us/interland

Research indicates that during heightened global instability (and more vulnerable circumstances) there are spikes in cases of extremism/recruiting/discrimination efforts online: https://www.american.edu/centers/university-excellence/research.cfm

My job is not to tell you how to censor what your children consume as digital media. Or to give up unprecedented loss of our personal liberties/privacy through legislation::
https://www.eff.org/deeplinks/2020/03/earn-it-act-violates-constitution

But there are useful content blockers (think OpenDNS or Quad9) for devices to block malware/spam, adult content, etc. We all have that elderly family member who is even more naive about the Internet than the 12 year-old. So a lot of lessons can even be learned in old age. I am astonished at the intelligence of many younger generations who learn new code languages and IT in general. I started an interest at a young age myself but the strides they make today is a welcome sight. 

My last soapbox stanza here will be on "disconnecting". As fun as Netflix is, as fun as playing Prince of Persia can be (cool reference bro, [I know]) ...

I fully believe you need to disconnect to play with the cat/dog/alpaca, go on a trail walk by yourself, plant a garden, volunteer to help a vulnerable community in any capacity, play an instrument, write a journal, or work out at the makeshift home "gym". We will get through the fog while we need to learn/endure some difficult lessons. Be easy on yourself and on each other.

Other privacy/security tools are pinned to my profile for further information. Also, can't wait for the DEV podcast!
Code Ownership
Tags: discuss, code, career
Published: 2020-04-16 21:40:04

---
title: Code Ownership
published: true
description: Thought on accepting code ownership
tags: discuss, code, career
---

What are you thoughts around code ownership?
What would you pick in below list and why?

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">From an ownership standpoint, which one would you pick?<a href="https://twitter.com/hashtag/coding?src=hash&amp;ref_src=twsrc%5Etfw">#coding</a> <a href="https://twitter.com/JavaScriptDaily?ref_src=twsrc%5Etfw">@JavaScriptDaily</a> <a href="https://twitter.com/hashtag/softwaredevelopment?src=hash&amp;ref_src=twsrc%5Etfw">#softwaredevelopment</a></p>&mdash; Gyandeep Singh (@gyandeeps) <a href="https://twitter.com/gyandeeps/status/1250896975391752195?ref_src=twsrc%5Etfw">April 16, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Electron app opening multiple windows or processes in spectron test
Tags: javascript, html, node, electron
Published: 2020-04-16 21:25:31

My electron app works as expected but it keeps on opening new windows when I run spectron test that tests for number of windows opened.

Versions Installed
npm ls --depth=0 demoelectronapp@1.0.0 C:\demoCLS\demoElectronApp +-- assert@2.0.0 +-- electron@8.2.2 +-- electron-packager@14.2.1 +-- mocha@7.1.1 +-- path@0.12.7 `-- spectron@10.0.1 


I am just running a small demo, below I will give code snippet

**Note: I am running the spectron test pointing to .exe file generated by electron-packager.**

Does Anyone have an idea what is the issue if possible how to solve it?

**main.js**
```
const { app, BrowserWindow } = require('electron')

function createWindow () {

  let win = new BrowserWindow({
    width: 800,
    height: 600,
    webPreferences: {
      nodeIntegration: true
    }
  })

  win.loadFile('index.html')
}

app.whenReady().then(createWindow)

```
**index.js**
```
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Hello World!</title>
    <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
  </head>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>
```
**test.js**
```
const assert = require('assert');
const path = require('path');
const Application = require('spectron').Application;
const electronPath = require('electron');

const app = new Application({
    path: 'C:/demoElectronApp/winx64/demoelectronapp-win32-x64/demoelectronapp.exe',
  });

  describe('client_settings_app', function () {
    this.timeout(10000);
  
    beforeEach(() => {
      return app.start();
    });
  
    it('shows only one initial window', async () => {
      const count = await app.client.getWindowCount();
      return assert.equal(count, 1);
    });
  })

```
**package.json**
```
{
  "name": "demoelectronapp",
  "version": "1.0.0",
  "description": "",
  "main": "main.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "electronpackage": "electron-packager . --out winx64"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "path": "^0.12.7"
  },
  "devDependencies": {
   "electron": "^8.2.2",
    "electron-packager": "^14.2.1",
    "assert": "^2.0.0",
    "mocha": "^7.1.1",
    "spectron": "^10.0.1"
  }
}
```