teleren/devto huggingface dataset:
EuroPython 2021 Resources and Zoom license sharing
Tags: europython, news, resources, conferences
Published: 2020-11-10 23:41:36

###### (From original post: https://www.europython-society.org/resources)

For [EuroPython 2020](https://ep2020.europython.eu/), the EPS had to put a lot of work into investigating ways of turning our in-person event into an online one. We managed to make things work in the 4 months we had for this (from April - July 2020) and hope that [our existing research](https://www.europython-society.org/post/617463429296472064/sharing-our-research-and-licenses-for-going-online) will help other Python events go online as well.

For EuroPython 2021, we are working with a new set of documents

* [EuroPython 2021 - Online Conference Tools](https://docs.google.com/document/d/1LS6UFTeiBdARFlb1JoVTppzp_7Xii_qQSTMxlEaW2Is/edit#): This covers research on a lot of different tools available out there, our experience with them, hints and tips on how to use them effectively (esp. for Zoom and Discord). It includes the research we did for EP2020.
* [EuroPython 2021 - Virtual Conference Concept](https://docs.google.com/document/d/19tbbzBGTL0gD8j1XfRPCEwoDNE6LkmQD8z6v0JBet_0/edit#): For EuroPython 2021, we will use the experience we gained from EP2020 and refine the concept for next year’s online event. This is still very much work in progress.

The two central documents we had for EP2020 were:

* [EuroPython 2020 - Online Conference Tools](https://docs.google.com/document/d/1OAVtZnxVgmkDGvSV1vEzra7m5Nfjr-81kCrustzxAek/edit#): This document covers the research we did for EuroPython 2020.

* [EuroPython 2020 - Virtual Conference Concept](https://docs.google.com/document/d/1aGnYM3RlyLFUmdhnykGfgD6gNXJYo8zateu9Re_fdNg/edit#): Since we had to start afresh with the conference concept, we ran a brainstorming phase to come up with ideas and then started putting these into a concept, which we used for the event.

We also used guides for speakers and hosts, which are currently preparing for publication.

If you have questions around these documents and their content, feel free to contact us at helpdesk@europython.eu.

PS: Even though the above documents were mainly created for EP2020, we will keep updating them or post new documents on https://www.europython-society.org/resources.

## Sharing our Zoom Webinar and Pro licenses
In addition to sharing our research, we’d also like to share the Zoom Webinar and Pro licenses we have with other events, where possible. We have already shared them with:

* [PyAmsterdam](https://py.amsterdam/)
* [Remote Python Pizza](https://remote.python.pizza/)
* [PyLadies Munich](http://meetu.ps/e/JfkwW/Bp3pT/d)
* [Python Argentina Meetup](https://www.meetup.com/Buenos-Aires-Python-Meetup/)
* [Python Meeting Düsseldorf](https://pyddf.de/)
* [ADASS conference](https://adass2020.es/)
* [Python Glasgow meetup](https://www.meetup.com/Python-Glasgow/)

We can help with the configuration and share our existing experience, if needed, or even participate as a co-host to help with managing the tools. Just let us know.

If you are interested in the license sharing, please contact us at helpdesk@europython.eu.
Release 3.0 P-1
Published: 2020-11-10 23:11:59

For Release 3.0 we needed to create two pull requests, one to a external repository and one internal to Seneca College, this blog is about my pull request to a external repository.


For Release 3.0 I wanted to submit another pull request to a repository that I previously worked with (It also actually told us that we might want to do this is the assignment page) The repository that I chose was the one that I had the most trouble with previously, [Awesome Adoption](https://github.com/redxzeta/Awesome-Adoption). I liked contributing to this repository because:
1. I had some trouble fixing my past issues and it taught me a lot
2. I think the website could be useful and I support what the owner of the repo is trying to create

The pull request that I did you can find [here](https://github.com/redxzeta/Awesome-Adoption/pull/38), its about [issue #26](https://github.com/redxzeta/Awesome-Adoption/pull/38). Basically, I was tasked with creating a resource page in React and adding information about, Adoption, Covid-19, and Adoption during Covid-19. I found this pull request to be pretty interesting because I had to do a lot of research about adopting pets. Did you know that every year around 6.5 million companion pets enter shelters in just the USA, and thats only dogs and cats. Out of those 6.5 million, only 3.2 million are adopted and 1.5 million are euthanized (Statistics provided by <a href="https://www.aspca.org/animal-homelessness/shelter-intake-and-surrender/pet-statistics">ASPCA</a>).
**This leaves 1.8 million pets that go untouched each year**

This submission reinforced my ability in React web programming which funniliy enough was well needed since Senecas Telescope program is written with React. This pull request helped me greatly and was a refresher of the React syntax so when I started work on the Telescope problem I could get right into it.

Another reason why I think this pull request is important is because I think it shows a very important part of open source development, like my last pull request to this repo all I had to do was create a placeholder image. This pull request I had to do a lot of research, when working on Open Source projects you may be tasked to do something that doesn't entirely relate to programming but instead relates to the project it self. Even though I did a bunch more programming in this pull request than my last, I think both demonstrate something more about Open Source programming which weirdly enough is that it's not all about programming.
Day 253 : Respect the Process
Tags: hiphop, code, coding, lifelongdev
Published: 2020-11-10 22:49:37

_liner notes_:
- Professional : Wow! Today flew by quick! From what I remember was there was a couple of meetings and some coding in there. haha I'll be joining another live stream show tomorrow so I was working on preparing for that.

- Personal : Started up a blank project for my new side project. Every time I start new project, I like to see if there is anything new with the tools I'll be using and trying to get better and understand things more. Gotta respect the process. Refined the design some more.

![A stone road in North Bend, WA, USA with fields on either side with a mountain in the distance at sunset](https://dev-to-uploads.s3.amazonaws.com/i/mr0duahz5m5qqjnt1gu5.jpg)

Probably work on my side project a little and go to bed early. Got a meeting at the very beginning of the day and then the live stream. Going to try and get some work done.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube zYkzTynmD4w %}
Beginning and Motivations
Tags: learning, development, motivation, writing
Published: 2020-11-10 22:46:03

*Cover photo by Chillie Charlie*

For a long time, I've been trying to start a small-to-medium yet meaningful project to motivate myself into learning something new. I have always learned better by doing but I also get very bored with uninteresting stuff. Besides righting code, one of the things I enjoy the most is teaching and helping people with concepts they may find hard to grasp.

As the majority of programmers, I have a considerable list of unfinished (and mostly even untackled) projects and it has come to my mind that this often happens due to lack of **commitment**. Doing something to just yourself can be a noble act in it, as society keeps pushing us to share more and more of our lives, but sharing can also be a powerful **fuel** to drive us forward, if not from the sense of community, at least from the shame of failing or giving up.

![brett-jordan-hqWWD2ZGpn0-unsplash](https://dev-to-uploads.s3.amazonaws.com/i/4rz4kftlmp4vpiem20qo.jpg "Image by Brett Jordan")

I´ll not lie. I care more than I want (and should) to admit that the others' approval plays a major role in some decisions I make. Instead of fighting it, today I chose to invert the equation. I'll put myself at risk of being judged or embarrassing myself into failing to deliver something I consider good and to be proud of.

I'll share my whole process of doing the project, from this very moment of writing this first post, to the day I consider done a MVP of what I imagine. I'll not be teaching, but I hope someone can learn from it. I cannot guarantee that I'll do everything the best way, but I promise to listen to every (if any) advice and answer every (if any, again) question it may appear.

Sometimes there'll be more code and programming decisions, sometimes I'll be vague and perhaps even philosophical about the project.

---

*The secret of getting ahead is getting started.* – Mark Twain.
Using CodeArtifact from SAM
Tags: aws, sam, codeartifact, serverless
Published: 2020-11-10 22:39:18


Following my blog (https://www.inawisdom.com/amazon/codeartifact-storing-your-dependencies/) I have worked out how you can use private dependancies in CodeArtifact with SAM. The following is a quick guide.

Firstly use the get-authorization-token to get a secure token for CodeArtifact using your AWS CLI and store it in a env var called CODEARTIFACT_AUTH_TOKEN:

```
export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token --domain my-domain --domain-owner 112333322 --query authorizationToken --output text --profile my-profile --region eu-west-1 )
```
Then create a Pipfile with the CodeArtifact URL but note the use of the CODEARTIFACT_AUTH_TOKEN env var:
```
[[source]]
name = "pypi"
url = "https://aws:$CODEARTIFACT_AUTH_TOKEN@my-domain-12333222.d.codeartifact.eu-west-1.amazonaws.com/pypi/PrivatePyPi/simple/"
verify_ssl = true

[dev-packages]
pylint = "*"
#awscli = "==1.16.292"
#aws-sam-cli = "==0.40.0"
flake8 = "*"
flake8-print = "==3.1.4"
flake8-logging-format = "==0.6.0"
flake8-builtins = "==1.4.2"
flake8-eradicate = "==0.3.0"
flake8-comprehensions = "==3.2.2"
flake8-breakpoint = "==1.1.0"
flake8-docstrings = "*"
flake8-rst-docstrings = "*"
flake8-blind-except = "*"
pep8-naming = "==0.9.1"
cfn-lint = "==0.27.4"
pytest = "*"
pytest-cov = "==2.8.1"
moto = "*"
bandit = "*"
safety = "*"
twine = "*"

[packages]
pcb_common = "*"

[requires]
python_version = "3.8"
```
Then use pipenv to create a requirements file:
```
pipenv lock -r > src/requirements.txt
```
Then use the requirements.txt to pull the dependancies:
```
sam build  CommonLayer --template template.yaml --use-container --base-dir .
```

The result is the ability to pull your private library. Simple as that!
Is DevOps Automation a zero-sum game?
Tags: discuss, watercooler, devops, productivity
Published: 2020-11-10 22:09:03

---
title: Is DevOps Automation a zero-sum game?
published: true
description: Does DevOps-specific automation cost more money and time?
tags: discuss, watercooler, devops, productivity
//cover_image: https://direct_url_to_image.jpg
---

Some of my intention is to lean into the ambiguity of the definition of DevOps.

In general, when automation is created and introduced into an organization for the purposes of "progress" for a wide audience, is this improvement gained at the expense of an individual or a team?

---

Here's a made up example. Automatic alerts in a production environment of a web app for a small US company's online order form.

The primary customer live in US timezones. The assumed culture is that outages are to be avoided. 24/7 uptime.

Before alerting was introduced in this org, outages in production might not be known until traditional work hours when more complex workflows.

After alerting was introduced, the possibility of non-work hour wake up calls from alerts increased significantly. On-call/event-based compensation might balance the fairness to the person responsible, but that's a monetary cost paid from the org to offset a forced work-life cost.

In my opinion, the introduction of automation led to compromise by the individual, with practically no benefit to the business to make no change.
The AWS Community is Kind of a Big Deal
Tags: aws, community, discuss
Published: 2020-11-10 21:53:33

---
title: The AWS Community is Kind of a Big Deal
published: true
description: The story of how I got in to AWS Community Builders, what it means, and where I go from here
tags: aws, community, discuss
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/bkw4ycc3iqc2ukecb17p.png
---
Community work can be... a slog. You write stuff that sometimes doesn't get read. You participate in a community, and try to grow your skills, but the positive feedback isn't always immediate.

{% youtube iP0RdGLFM94 %}

Programs like the AWS Community Builders can help give that little bit of positive feedback so critical to keeping us all going.
Svelte with Tailwind CSS
Tags: svelte, tailwindcss, webdev
Published: 2020-11-09 13:03:37

Yet another Svelte and Tailwind CSS installation post.

I have been looking through several guides on how to install Tailwind CSS in Svelte and this is my final way of doing it. I am in no way an expert in this and there are definitely many correct ways of doing it.

Heavily influenced by these posts:
https://dev.to/swyx/how-to-set-up-svelte-with-tailwind-css-4fg5
https://dev.to/paul42/svelte-tailwind-css-minimal-install-ia2

Required: A Svelte installation

# Step 1 - Install dependencies

There is a package called `svelte-preprocess` that will handle all CSS processing so there is no need to change the npm scripts.

```
npm install -D svelte-preprocess postcss tailwindcss autoprefixer
```

# Step 2 - Setup configuration files

`tailwind.config.js`

```
// tailwind.config.js
const production = !process.env.ROLLUP_WATCH; // Or some other env var like NODE_ENV
module.exports = {
  future: { // For Tailwind 2.0 upcoming changes
    purgeLayersByDefault: true, 
    removeDeprecatedGapUtilities: true,
  },
  plugins: [],
  purge: {
    content: [
      "./src/**/*.svelte",
      "./public/**/*.html"
    ], 
    enabled: production // Disable purge in dev
  },
};
```


In your `rollup.config.js` add the import and the other lines in the bottom of the svelte section.

```
import sveltePreprocess from "svelte-preprocess";
```

```
svelte({
    // etc...
    preprocess: sveltePreprocess({
        sourceMap: !production,
        postcss: {
            plugins: [
                require("tailwindcss"), 
                require("autoprefixer")
            ],
        },
    }),
}),
```

# Step 3 - Add the Tailwind styles to the app

Now in your `App.svelte` or `Layout.svelte` add this:

```
<style global lang="postcss">
    @tailwind base;
    @tailwind components;
    @tailwind utilities;  
</style>
```

# Acknowledgement

This was heavily influenced by these posts:
https://dev.to/swyx/how-to-set-up-svelte-with-tailwind-css-4fg5
https://dev.to/paul42/svelte-tailwind-css-minimal-install-ia2
Advice for building a cross-platform RUST gui
Tags: help, rust
Published: 2020-11-10 21:37:00

`TDLR`; - What **Rust** desktop gui crate/framework do you use or recommend for use in *Windows* and *Linux*?

Need some advice on what some of you *Rustaceans* prefer to use to build desktop guis; especially cross-platform for *Windows* and *Linux*. I'll build it for *Mac* if there isn't much extra effort involved.

I've done my own research, but I'm just asking the community for your preferences/experiences. It's looking like `Druid` will be my first try unless I get some better advice, although I'll eventually try everything.

I recently re-wrote the CLI version of one of my programs (3rd iteration; 1st was *AutoHotkey* in Windows and 2nd is cross-platform in *Python*) in *Rust* and now I'd like to build the gui version for it. Not really much to the gui except for 2 *i32* inputs, displayed text, and possible a *copy to clipboard* feature.
Running Go Program on iOS and iPadOS with iSH
Tags: ios, go, shell, alphine
Published: 2022-08-28 16:20:36

---
title: Running Go Program on iOS and iPadOS with iSH
published: true
date: 2020-11-10 21:32:51 UTC
tags: ios, golang, shell, alphine
canonical_url: 
---

 **How about Debugging and running your Go Program with your iPhone? Huh, Why Not**

In this guide, I will be showing you how to set up a Go Environment on your iOS and iPadOS with iSH.

iSH

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1605043586839/SDoPGLXIV.png)

> iSH is a Linux-like shell on iOS. You can edit files with sed and cat, move them around, and more!

You can get it here https://apps.apple.com/us/app/ish-shell/id1436902243

Now that you have downloaded the App. Lets do the magic.

Install the Alpine Linux package manager apk: Run

```
wget -qO- http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86/apk-tools-static-2.10.5-r1.apk | tar -xz sbin/apk.static && ./sbin/apk.static add apk-tools && rm sbin/apk.static

```

Fetching Alpines repository list: Run `apk update`

```
Installing Node.js: apk add --no-cache --virtual .build-deps bash gcc musl-dev openssl go

```

Test to make sure Go is installed by typing go version, you should see something along the lines of

`go version go1.13.15 linux/386`
Laravel Collections Save The Day!
Tags: laravel, php, mysql
Published: 2020-11-10 21:21:44

If you use Laravel as a framework and you write a lot of tests you have most likely run into this situation. 

# The Issue
I recently created a test for one of my controllers and it was throwing an error because I was using `DATE_FORMAT()` which is not a valid function for SQLite. Most of us use SQLite for testing and MySQL for production. Below is the snippet of code I was using to create an array like this `['November => 2]`. I need to group the data into months then get a count of the data for each month in order to display on a chart. The function below works great but fails when you create a test and are using SQLite. 

```php
$data = Session::where('user_id', $request->user()->id)
            ->currentYear()
            ->select(
                DB::raw("DATE_FORMAT(session_start_date, '%M') as months"),
                DB::raw("SUM(session_amount) as sum")
            )->groupBy('months')->pluck('sum', 'months');
```

# The Solution
So what do you do when you run into this situation. Well, this is where Laravel Collections come in to save the day.

First, we want to create the collection that we want to work with.
```php
$results = $request->user()->sessions()->currentYear()->get();
```
Then we want to group the collection by the month and then map the count, sort, and then make it an array.

```php
$data = $results->groupBy(function($item){
            return $item['session_start_date']->monthName;
        })->map(function($item) {
            return $item->count();
        })->sort()->toArray();
```

The above result will also return `["November" => 2]` and the test will pass now because we're not using invalid functions that SQLite doesn't recognize.

Hopefully, this helps someone else out that's running into this issue. If you know of a more efficient way of accomplishing this please let me know in the comments below. Enjoy!
3D VPython in RapydScript
Published: 2020-11-10 20:22:13

Here is a port of VPython a 3D Physics simulator in RapydScript
You can test it here by selecting the samples

[RapydGlow](http://salvatore.pythonanywhere.com/RapydGlow/default/editor)

Here is a demo of a bouncing ball in a Box, you can play with it in real time...

```python
side = 4.0
thk = 0.3
s2 = 2*side - thk
s3 = 2*side + thk
wallR = box (pos=vec( side, 0, 0), size=vec(thk,s2,s3),  color =color.red )
wallL = box (pos=vec(-side, 0, 0), size=vec(thk,s2,s3),  color =color.red)
wallB = box (pos=vec(0, -side, 0), size=vec(s3,thk,s3),  color =color.blue)
wallT = box (pos=vec(0,  side, 0), size=vec(s3,thk,s3),  color =color.blue )
wallBK = box(pos=vec(0, 0, -side), size=vec(s2,s2,thk),  color =color.gray(0.7))

ball = sphere (color=color.green, size = vec(1,1,1) )
ball.mass = 1.0
ball.p = vec(-0.15, -0.23, +0.27)

attach_trail(ball, pps=200, retain=99)

side = side - thk*0.5 - ball.size.x/2
dt = 0.3
ball.pos = vec(1,1,1)

while true:
    rate(200,wait) # execute the move function about 200 times per second

    # Overloading operators to act on vector object
    ball.pos = ball.pos + (ball.p/ball.mass)*dt
    
    if not (-side < ball.pos.x < side): 
        ball.p.x = -ball.p.x
    
    if not (-side < ball.pos.y < side):
        ball.p.y = -ball.p.y
    
    if not (-side < ball.pos.z < side):
        ball.p.z = -ball.p.z
  
    # Note the three-way numerical comparisons here, not available in JavaScript:

```
My Introducation to Hacktoberfest
Tags: hacktoberfest
Published: 2020-11-10 20:40:34

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### Introduction :ocean:
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
Hearsay from friends and online groups , for some shitty reason generally people in India do not like to share such events coz of the competition mentality kappa

### Background

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here -->
Had basic knowledge of Java , C++ and was learning Markdown

### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->
https://github.com/t0xic0der/sysmon
https://github.com/jasonbch/business
Worked on the repos adding markdown files 

### Reflections :fire:
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->
It was a good learning experience altho to seriously contribute to it fruitfully would recommend you to study a single tech stack deeper and contirbute in that :D
Paths for a Computer Science Undergrad (Typical Indian Context)
Published: 2020-11-10 20:35:52

Starting afresh in a university is fun and stuff you get to make new friends, know new people both good and bad at the same time it is Confusing academically choosing between the various paths that lie ahead.
##Web Dev :bulb:
This further can be subdivided into 3 >>
- Front End
- Back End
- Full Stack (Both of the Above) :bug:

##Mobile Dev :fire:
- Android >> Kotlin || Java || Flutter
- IOS >> Swift || Flutter

##ML and AI :ocean:
 use python || RUST

##DataScience :nerd_face:
 python || julia

##Competitive Programming :monocle_face:
 use C++ || Java

##Masters :thought_balloon:
- M.Tech
- MBA
Haiperlinks 
Tags: django, webdev, python
Published: 2020-11-10 20:24:31

<!-- wp:image {"align":"center","id":1066,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://baltlogs.com/wp-content/uploads/2020/11/New-videos-very-Sunday-and-Friday.-2-26-1024x576.png" alt="" class="wp-image-1066"/></figure></div>
<!-- /wp:image -->


[https://www.haiperlinks.com](https://www.haiperlinks.com)

The reason why I created Haiperlinks is that I wanted to create a website where people could post about specific subjects of interest, and others will contribute by posting links to articles, videos, and other resources related to that initial topic.

{% youtube CAqaj5VsfJ8 %}

I recently finished the MVP for the website. The next milestone is to get as much feedback as possible and see what people think about the website.

One of the goals for me was to make the website as simple as possible and overall make it an intuitive tool.

There's no commenting or anything like that, just dropping links that are helpful for others. There's no profiles for users either. Both of these features have been suppressed by design. I wanted the website to be very simple and intuitive which is why there are no many features, but nothing is set in stone and everything is subject to change.

Leave any feedback in the comments section.


Personal Websites: [baltlogs](https://baltlogs.com)
Book: [Django Takeoff!](https://www.amazon.com/gp/product/B08H4W2WLD?pf_rd_r=RN5450NX3A20556788YY&pf_rd_p=edaba0ee-c2fe-4124-9f5d-b31d6b1bfbee)
Twitter: [balt1794 ](https://twitter.com/balt1794)