teleren/devto huggingface dataset:
BD SSC Results 2020 Check Here
Tags: bangladesh, ssc, sscresults, ssc2020
Published: 2020-05-22 12:41:25

BD SSC Results 2020 will be release on May 31. Due to Corono virus situation, All Education Boards finally releasing the Bangladesh SSC Result today around 10 am. Bangladesh Dhaka Board SSC Result 2020 Declared on its official website https://www.schools9results.in/2020/05/bd-ssc-results-2020.html. The SSC examinations took place from February 3 to March 5 this year.

As per latest news Bangladesh SSC and equivalent exams results to be published on May 31. Mohammed Abul Khair, Pubic relations officer confirmed this matter on Thursday.

Bangladesh SSC Board was Establish on 7 May 1921. The Board Responsible for conduct SSC, HSC. The Secondary School Certificate (SSC) and its equivalent examinations under 11 education boards. Bangladesh All Education Board SSC Results 2020 Date is confirmed by Sheikh Hasina (Prime Minister), no it will be changed. So all the students need keep your roll number with you on result time.

How to Check BD SSC Results 2020 Online:

Visit the Bangladesh All Education Board Result official website or visit https://schools9results.in
Now you can Select the Examination Board and select year
Enter your Roll Number and Submit
Now appear the marks on the screen
Take a print copy for future use.
Deploying Docker to Google Cloud Run is dead simple and transparent, with HTTPS already set up
Tags: gcp, googlecloudplatform, docker, devops
Published: 2020-05-22 13:09:18

It is as simple as tagging the Docker with `gcr.io/$PROJECT_ID/$CONTAINER_NAME`.

I prefer to create `.env` with the following lines,

```sh
PROJECT_ID=
CONTAINER_NAME=
```

Then, run `source .env`, or use Oh-My-Zsh with dotenv plugin. Then run,

```sh
docker build -t gcr.io/$PROJECT_ID/$CONTAINER_NAME .
docker push gcr.io/$PROJECT_ID/$CONTAINER_NAME
```

With Domain Mapping (Beta), it is dead simple to use a custom domain.

However, today I try Google App Engine ([for Nuxt](https://nuxtjs.org/faq/appengine-deployment)). I find it not as transparent as GCR, but not really harder...

Also, not sure about the costs.

There is this diagram, though. -- https://cloud.google.com/serverless-options

![serverless-options-guide](https://cloud.google.com/images/serverless-options/serverless-options-guide.svg)
Picticia
Tags: octograd2020
Published: 2020-05-22 15:54:48

### Steganography | Green Screen Composite | Greyscale
---
#### Here's [link to the website](https://himanshu-daga.github.io/Picticia/index.html) & [link to the code](https://github.com/himanshu-daga/Picticia)
---

### **What is _Picticia_?**
_Picticia_ is a web app which provides the following functionalities for images:
1. _Steganography_- Use it to hide a secret message inside another image.
2. _Green screen composite_- If you got your image with a green background and wanna replace that background with an exciting space landscape, try this feature.
3. _Grayscale_- Oh this is nothing special, it just converts a colored image to black & white version.

#### **Wondering why I chose this project to talk about on my graduation?**
Well, I built this project in my 2nd year and after that I've built many other AI and ML-based projects which are much more technical but this one is special. It was built in a span of 4 days in _between my 2nd year's semester exams_ and when I started this, I didn't know either JS or CSS. This vacation was followed by M3 (Mathematics-3) exam and I didn't like the subject at all. Mostly in such times, I'd spend my time until before the last night binge-watching, but this time was different. I don't know where I had banged my head, but I somehow decided to work on a tech project in a lousy attempt to justify my not studying for the coming exam ;p. At the moment, even I didn't realise that I- a 2nd year kid with no Web Dev background would learn and build this exciting project in the coming 4 days. It's completion gave me a real feeling of accomplishment!

_P.S.- I didn't fail that exam though ;p_

#### **FYI- Here's what I used to build this?**
It is built using vanilla HTML, JS, and CSS only!!

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
Web Software Developer and System Analyst
Tags: csharp, dotnet, python, javascript
Published: 2020-05-22 15:08:07


I've been studying technology since 2011, floating through computer networking, servers, scripting programming, web/mobile development, databases and devOps.
Currently I'm working as a .NET System Analyst at Tricard.

I did an scholarship program at the University of Toronto - Mississauga, Canada, and took some courses in the Computer Science major, besides an academic writing course, focusing on scientific articles production.

I've graduated at the Federal University of Ceará in Brazil under the major of Technology in Computer Networks.
Most of the knowledge I acquired through the years was self-taught, researching on the internet, practicing tutorials, chatting with friends, and hands on trying, failing and trying again.

http://otaviopires.github.io/
🤦‍♂️ Cartoonify Yourself!
Tags: showdev, javascript
Published: 2020-05-23 00:03:13

---
title: 🤦‍♂️ Cartoonify Yourself!
published: true
description: Coming to a browser near you.
tags: showdev, javascript
---

Last week I wrote up a post about how I'd trained a neural network to "cartoonify" pictures of peoples faces.

{% link https://dev.to/harrison_codes/i-trained-a-neural-network-to-turn-you-into-an-archer-cartoon-2hbd %}

I also made it available as a twitter bot (so you could tweet at me and have your profile pic cartoonified). I think about 30 or 40 people ended up using it to cartoonify their profile pics, which was a lot of fun 😀

Anyhow, I'm planning to retire the twitter bot soon (because 💸) - but I've now converted the code to run entirely in the browser using tensorflow.js, and made it available online. 

[Check it out here.](https://harrison.codes/cartoonify)

Note: Currently doesn't seem to work reliably (or possibly at all) on mobile browsers - working on fixing this. Also, the cartoonifying effect tends to only work on relatively close up pictures of faces (presumably as thats what it was trained on). So feel free to play around with other kinds of images, but the results probably won't be great.*
Explore Google Cloud functions for micro tasks
Tags: node, serverless, javascript
Published: 2020-05-23 05:15:39

Given tasks of integrating our current system with multiple third-party services for customer support purposes at RealStake, I often make use of available webhooks to distribute data to multiple places. But there are some trouble like bringing up separate Express app for such goals or how we centralize logs. Therefore I decide to explore how to utilize Google cloud functions in current tasks.

Under the hood, Google cloud function is already using Express library, so it is really easy to write functions as mini Express apps then deploy right away from local machines or set up Github actions for it. So connecting the dots, I come up with below flow.

![flow](https://dev-to-uploads.s3.amazonaws.com/i/a8v7yz0tqbfh0411uq6m.png)

The basic idea is the separate of concerns from updating data in our internal system and third party results via cloud functions.

For example, the requirements are after user signing up successfully via the tracking_id stored in browser cookies, such data needs to be sent to AccessTrade (a marketing affiliate provider). Then after our customer support team confirm such users are legitimate, we trigger an update for user status on AccessTrade for reporting.

First, I make an index.js file to export our Express app as a single cloud function.

![index](https://dev-to-uploads.s3.amazonaws.com/i/cfcdb51hf753a3avui3l.png)

Next is creating our Express app for necessary routes interacting with AccessTrade service.

![accesstrade](https://dev-to-uploads.s3.amazonaws.com/i/6dp6y5rt4duoqa8fz4q5.png)

I will not go into details of business route implementation because it is exactly the same approach when we normally built REST api with Express app. 

Then I think of how we centralize error log format in case we put in more third party service cloud functions in the future. It is convenient that Google already has provided a plugin for the famous Winston logging library. 

![winston](https://dev-to-uploads.s3.amazonaws.com/i/sry93wvodq5fl6cxpnh7.png)

I really love this library because we can define and format log to a universal JSON format and stream it to JSONpayload of Google cloud logging system.

![log](https://dev-to-uploads.s3.amazonaws.com/i/kt4vda1x17no1g8l77db.png)

Note: to test cloud functions locally, we can use https://cloud.google.com/functions/docs/functions-framework.

So far so good, I can make use of lightweight cloud functions and have a base structure for integrating different third party services later. 

However, to push my learning further, I am considering using Google Cloud PubSub to apply event-based trigger patterns. The main idea is using a cloud function A as publiser to publish data to a defined topic, then another cloud function B will subscribe to it and update data back to our internal system. 

But that will be for my later post.
webpack 5 Module Federation in 3 minutes
Tags: webpack, javascript, microservices
Published: 2020-05-23 05:27:01


>**Module Federation** allows a JavaScript application to dynamically load code from another application and  in the process, share dependencies.

- [Webpack 5 Federation. A Game-changer to Javascript architecture. - Webpack inDepth](https://indepth.dev/webpack-5-module-federation-a-game-changer-in-javascript-architecture/)

>**Motivation**

>Multiple separate builds should form a single application. These separate builds should not have dependencies between each other, so they can be developed and deployed individually.

>This is often known as Micro-Frontends, but is not limited to that.

- [Module Federation Concepts](https://webpack.js.org/concepts/module-federation/)

examples

- [Examples of Module Federation](https://indepth.dev/webpack-5-module-federation-a-game-changer-in-javascript-architecture/#examples-of-module-federation)

issue and pull request

- [Merge Proposal: Module federation and code sharing between bundles. Many builds act as one · Issue #10352 · webpack/webpack](https://github.com/webpack/webpack/issues/10352)
- [Merge Module Federation into webpack 5 beta by sokra · Pull Request #10838 · webpack/webpack](https://github.com/webpack/webpack/pull/10838)

code

- [lib/container](https://github.com/webpack/webpack/blob/master/lib/container)
- [test/configCases/container](https://github.com/webpack/webpack/blob/master/test/configCases/container)

and more

- [Zack Jackson (@ScriptedAlchemy) / Twitter](https://twitter.com/ScriptedAlchemy/status/1256834892454694917)
- [module-federation/automatic-vendor-federation: Utility to enable automatic vendor sharing within bundles using Module Federation](https://github.com/module-federation/automatic-vendor-federation)
- [Webpack 5 and Module Federation - A Microfrontend Revolution - DEV Community 👩‍💻👨‍💻](https://dev.to/marais/webpack-5-and-module-federation-4j1i)
- [webpack 5 の webpack federation という概念について - Qiita](https://qiita.com/mizchi/items/f335d3e37395dbffa593)
- [webpack@5で入るModule Federationについて - 技術探し](https://blog.hiroppy.me/entry/module-federation)
Revamp your profile's color scheme!
Tags: showdev, vue, python
Published: 2020-05-28 07:53:21

Hey awesome devs! :wave: As a side-project, I [created this app](https://frontend-esnyqpflcq-de.a.run.app/) to seamlessly browse color palettes for your account! If that's not your thing, you can also enter a username and scrape their profile to identify which colors they use.

## But why?
From a user point-of-view, I feel the color pickers in the profile settings aren't as intuitive as they can be (not all of us are gifted in color theory 😕). However if you have available hex values then good for you!

From a developer point-of-view, this is a part of my journey in learning Python. The frontend was fairly easily done with VueJS, but on the backend side I got to learn about web scraping with BeautifulSoup4. As a bonus, I also learned how to deploy images in Google Cloud Run :rainbow:!

Code available [here](https://github.com/reiallenramos/dev-badge).

*Shoutout to Michael from yo@dev.to for responding and pointing me to the right direction when using the DEV logo! :ok_hand:*
‘Let the system do its job, There should not be anarchy’ - Lawrence Jones urges Minneapolis protesters

Published: 2020-05-28 23:26:21

Mr. Lawrence Jones, a Fox News contributor has urged protesters in Minneapolis to “peacefully” gather Wednesday night as outrage grew over the death of George Floyd, whose violent arrest by police was recorded in a now-viral video.

“I understand the pain,” Jones said on “Hannity,” “but I would encourage people, if you are going to protest, do it peacefully and don’t cause more issues. Your mom and dad are at home and they want you to come home alive. You have a whole life ahead of you. Let the system do its job.”

Protests grew increasingly tense in Minnesota’s largest city Wednesday evening, as some stores were looted and at least one was set ablaze amid a tense standoff with police.

Video of the protest showed a line of officers slowly backing away from an intersection as protesters moved forward, carrying signs and chanting “I can’t breathe.”

“That is not all cops,” Jones said of the four officers in the disturbing footage — all of whom have since been fired.

“I believe the majority of cops go out every single day, trying to keep the community safe,” he explained, “but there is that small portion that abuse their power.”

Fox News’ Mike Tobin, reporting live from the scene of the protest said he felt pepper spray deployed by police get into his eyes.

“Some of the flashbangs have been deployed, primarily from the police on the rooftop,” Tobin said at one point, standing between the lines of protesters and police officers. 

“These stories are real,” Jones said. “They [the officers] deserve due process and to be tried in the court of law. There should not be anarchy … rioting, but there should be swift justice.”

“Now,” he emphasized, “if the system does not do its job, then we need to have a conversation. But at least allow the investigation to take place.” Continue Reading at: https://www.efogator.com/2020/05/let-system-do-its-job-there-should-not.html
My z-index nightmare
Tags: css, zindex
Published: 2020-05-29 00:11:37

# My z-index nightmare
Since I started developping, I ran into some issues with CSS, but lately I discovered why I was pulling my hair off

While I was working with my latest project, I encountered z-index issue

I was trying to make it work, but it did not

**But why ?**

The z-index property needs a position for it to work, that's what I discovered

You might already know that but I wanted to share it

Thank you for taking the time to read this post! 🙏
Using Brewfile to automatic setup macOS from scratch
Tags: macos, automation, homebrew, setup
Published: 2020-05-29 04:00:51

---
title: Using Brewfile to automatic setup macOS from scratch
published: true
description: 
tags: macOS,automation,homebrew,setup
canonical_url: https://jma.im/posts/brewfile
---

## brew bundle

[https://github.com/Homebrew/homebrew-bundle](https://github.com/Homebrew/homebrew-bundle)

The bundle is automatically installed once it is used.

## dump current apps to `Brewfile`

```bash
brew bundle dump
```

## Import from `Brewfile`

Run the cmd from the same folder of `Brewfile`

```bash
brew bundle
```

I put it in my dotfiles. This [one](https://github.com/imjma/dotfiles/blob/master/Brewfile) is mine
Simple Kubernetes Commands 
Tags: kubernetes, sre, devops, beginners
Published: 2020-05-29 05:56:27

I wrote a simple doc for people looking into starting with Kubernetes and want an easy to read and clear definition of commands. If you are interested, here it is:  

https://medium.com/@the.lazy.dev/k8s-zero-to-hero-commands-f878090309e4


Every week, I will publish simple, short k8s related content. Feel free to follow on medium if you want a simple guide to Kubernetes.
Do you pay for services your own money if you need it to work?
Tags: discuss
Published: 2020-05-29 08:33:38

As above but for clarification:

For example clients have o365 and you need to learn how to manage it and setup. Do you buy your own 365 / G-apps or anything else and try to configure it or setup live system (clients one)?

For example I'm using Gmail but clients are on o365 so i bought subscription so now i have both of them...

So i using Windows & Linux, i have Gmail & Office 365, using Android & iOS ... I told myself i pass subscription for office but then i ask myself "Client using it so what if ... ? I need to be in picture when they need someting."

Maybe many of you have homelab (windows, linux, AD ...) but what with online services?

Ill be glad for any advices or toughts.
Traditional testing pyramid vs user-focused testing pyramid - A Diagram
Tags: watercooler, testing
Published: 2020-05-29 11:23:53

Today's diagram illustrates the difference between a traditional testing pyramid that focuses on developers/cost/speed and my view of a testing pyramid in 2020 and what I call a user-focused testing pyramid.

![Traditional testing pyramid vs user-focused testing pyramid](https://dev-to-uploads.s3.amazonaws.com/i/hf2vc68een7sply68nty.png)

Check out the other posts in this series for more diagams. One diagram per day until I drew all diagrams I need for my book, www.gum.co/cloud-native-web-development.

[Diagram source](https://excalidraw.com/#json=6205040226205696,akXkaOWZMVjBXlzYfIcdnA) (if you want to edit/reuse it)
Bloquear Tráfego Por IP - X-Forwarded-For Apache 2.4
Tags: apache, linux, loadbalancer
Published: 2020-05-29 16:00:15

Quando seu apache recebe requisições de um LoadBalancer o IP de origem delas serão (claro) do LoadBalancer. Consequentemente, quando você precisar fazer algo como bloquear tráfegos indesejados por ip, o processo é um pouco diferente dos casos convencionais pois você não terá nas mãos o `REMOTE_ADDR` ou o simples `ip`, por exemplo.

No caso do exemplo abaixo, há um LoadBalancer redirecionando para o apache do servidor que ainda faz um proxy reverso para o container:

```
<VirtualHost *:443>
    <LocationMatch "/.*">
        Order Allow,Deny
        Allow from all
        ## você pode colocar uma lista de IPs
        SetEnvif X-Forwarded-For "xxx\.xxx\.xxx\.xxx" DenyAccess
        SetEnvif X-Forwarded-For "yyy\.yyy\.yyy\.yyy" DenyAccess
        Deny from env=DenyAccess
    </LocationMatch>

    ... # outras configs do seu serviço

    ProxyPreserveHost On
    ProxyRequests Off
    ProxyPass / http://container:port/ retry=1 timeout=180 nocanon
    ProxyPassReverse / http://container:port/
</VirtualHost>

```

Se isso lhe foi útil, deixe seu comentário!
App Onboarding - iOS
Tags: reactnative, ios, flutter
Published: 2020-06-15 23:49:35

*How to Onboard employee for your iOS app*
![App OnBoarding - iOS](https://dev-to-uploads.s3.amazonaws.com/i/2nq2ibyac0dy7w1lw5m0.jpg)
[Photo by Yura Fresh on Unsplash](https://unsplash.com/photos/n31x0hhnzOs)

There is a team of Developers, QA, Designers, and Products that works daily. Beyond, there are cross-functional teams, other departments., who want to get access to your apps such as Growth and Marketing.

If you are in a position that helps provide access to your iOS app, then you know how painful it is to manage these requests. You might never think of explaining how this process works to your co-workers who aren't familiar with the iOS ecosystem and new to the app development.

I want to share the below flow diagram, which helps you think about the options available and how to evaluate who belongs to which groups.

I hope this helps you with a clear understanding, and if it finds useful, please leave a comment or suggestion.

![App Onboarding - iOS](https://dev-to-uploads.s3.amazonaws.com/i/ndb3wqajqhutngytosnw.png)
JavaScript: typeof null
Published: 2020-05-29 21:17:09

The thing about programming languages is, they aren't facts of the universe, they were made by people, sometimes very quickly. This means that they are often full of little quirks and oddities. Some cause problems, some don't, some we can fix, and some we have to learn to live with.

One such example is what some would call the typeof null bug. 

So what am I talking about? In JavaScript, there are primitive values, and objects. Most value types fall under the heading of primitive, such as Number, String, Boolean, Null, and Undefined. An object, on the other hand, is more complex, being typically thought of as a collection of properties. 

Null is a primitive value, and has only the one possible value: null. But take a look at the following code, and make a guess about what it would output:

```
let x = null
console.log(typeof x, x === null)
```

Based on what I've said above, you would likely expect to see `null, true`. `typeof` returns the value type, and `===` strictly evaluates equality. x is null, so we'd expect to get null, and true.

Logical. Unfortunately, what you actually get is `object, true`. 

That's right, `null` is an object... But doesn't that seem off? 

Well, this is due to a quirk of the way null was defined in the early days of JavaScript, and can’t be altered at this point. It comes down to the way the creators of JavaScript defined types, and how this interacted with common representations for NULL on most platforms. [This post](https://bitsofco.de/javascript-typeof/) sums it up nicely:

>In the first implementation of JavaScript, values were represented in two parts - a type tag and the actual value. There were 5 type tags that could be used, and the tag for referencing an object was 0. The null value, however, was represented as the NULL pointer, which was 0x00 for most platforms. As a result of this similarity, null has the 0 type tag, which corresponds to an object.

The upshot of all this is, if you're writing a function and you need to check whether or not a value is null, you’ll need to use the `===` operator, not `typeof`, if you want to get accurate results. 

While I confess to lacking a great deal of the context for why this happened, it fascinates me that it did. I love getting little glimpses into the past that clear up why things are the way they are today. Sure, it may cause some confusion and I may grumble when it causes a hitch in my programming, but it helps me remember that ultimately, everything we do we do as people, in conversation with people past and present. Maybe I'm sappy, but as a social psych major I just think that's neat.
Daily Developer Jokes - Saturday, May 30, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-05-30 12:00:30

---
title: "Daily Developer Jokes - Saturday, May 30, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Saturday%2C%20May%2030%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12592f4bd15.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ Why do Java developers wear glasses?

___A:___ Because they don't C#!
 -->