teleren/devto huggingface dataset:
Context matters
Tags: practices, advice, context
Published: 2021-05-01 13:39:34

---
title: Context matters
published: true
date: 2021-04-28 00:00:00 UTC
tags: practices,advice,context
canonical_url: https://jhall.io/archive/2021/04/28/context-matters/
---

The Interwebs are filled with all sorts of great team advice.

“Sprints are essential!”

“Pair programming is better than code review.”

“Mob programming is better than pair programming.”

“All production code should be developed with Test-Driven Development.”

“Pull requests are only useful for low-trust situation.”

“Everyone should turn on their camera during a Zoom meeting.”

“Never manually log into a production server.”

Some of these I’ve even said (sometimes on this very email list)!

And no doubt every one of these served someone, and made the life of their team better in some way, otherwise they wouldn’t be suggesting we adopt the same advice.

The problem, though, with every one of these pieces of advice is missing context. And every one of these pieces of advice can be _completely wrong_ in some situations.

Some of these should be seen as aspirational goals. Others might be stepping stones on our way toward our aspirations.

Whenever you see advice presented as a universal truth, remember that context matters. And if you see me offer this kind of advice, I’m hereby giving you an open invitation to call me out on it and challenge my context!

* * *
If you enjoyed this message, [subscribe](https://jhall.io/daily) to _The Daily Commit_ to get future messages to your inbox.
Ganymede Kernel 1.0.0.20210422 Released
Tags: java, jupyter
Published: 2021-04-28 22:53:12

---
title: Ganymede Kernel 1.0.0.20210422 Released
published: true
date: 2021-04-28 00:00:00 UTC
tags: Java,Jupyter
canonical_url: https://blog.hcf.dev//2021/04/28/ganymede-kernel-release-announcement.html
---

[Ganymede Kernel](https://github.com/allen-ball/ganymede) 1.0.0.20210422 is released.

The [Ganymede Kernel](https://github.com/allen-ball/ganymede) is a [Jupyter Notebook](https://jupyter-notebook.readthedocs.io/en/stable/index.html) Java [kernel](https://jupyter-client.readthedocs.io/en/stable/kernels.html) based on [JShell](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.jshell/jdk/jshell/JShell.html?is-external=true) combined with an integrated [Apache Maven](https://maven.apache.org/)-like POM, support for JVM languages such as [Groovy](https://groovy-lang.org/), [Javascript](https://www.oracle.com/technical-resources/articles/java/jf14-nashorn.html), and [Kotlin](https://kotlinlang.org/), and support for [Apache Spark](http://spark.apache.org/) and [Scala](https://www.scala-lang.org/) binary distributions.

<!--more-->

Binary and source downloads are available from [https://github.com/allen-ball/ganymede/releases/tag/v1.0.0.20210422](https://github.com/allen-ball/ganymede/releases/tag/v1.0.0.20210422).

Quickstart if Java 11 (or later) and [Jupyter](https://jupyter-notebook.readthedocs.io/en/stable/index.html) are already installed:

```
$ curl -L https://github.com/allen-ball/ganymede/releases/download/v1.0.0.20210422/ganymede-kernel-1.0.0.20210422.jar > ganymede-kernel.jar
$ java -jar ganymede-kernel.jar --install
```

Please see the project [page](https://github.com/allen-ball/ganymede) for detailed [installation](https://github.com/allen-ball/ganymede#installation) instructions and its [features and usage](https://github.com/allen-ball/ganymede#features-and-usage).
Day 354 : All It Takes
Tags: hiphop, code, coding, lifelongdev
Published: 2021-04-27 23:58:53

_liner notes_:
- Professional : Basically worked on my presentation for this week. Finished the slides and recorded the talk. Took so long. haha. I rather do it live so if I mess up, there's no going back. haha Now I just have to do some editing. Luckily after many takes, I got a recording where I don't have do any real video editing besides adding some music and citing the artist. Also, got to help out a team mate with an issue they were having with JavaScript / TypeScript.

- Personal : Didn't really do much of anything last night except work on my slides. I didn't realize all the different assets, like screenshots and videos, I needed to to create. Doing all it takes to get it done.

![View from a sparsely vegetated cliff overlooking the ocean at sunset in Cape Aya, Crimea](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m1hw79vrwr40b8p1e4sg.jpg)

Just need to add some music to parts of my presentation I'm showing demos so there are no silent parts. Hopefully, that won't take too long. Get it exported and send to the event organizers. Don't know if I'll do any coding. My brain is basically fried. haha May watch some anime. haha.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube nCqNbMs7Gno %}
Day 1 - Building my portfolio website
Published: 2021-04-27 23:38:58

27/04/2021
I started building my own portfolio website today. I mainly wrote the boiler plate code today and designed the basic layout of the website. I have an idea of what I want the page to look like. So yeah, first day. I still have to complete the freecodecamp html and css section. I also need to learn javascript for some of the components for my website.
🔐 Using WebAuthn to Secure Your Digital Life
Tags: security, webauthn
Published: 2021-04-27 23:20:31

Since ancient times, we have used passwords to grant access to privileged information. Guards allow access to buildings if correctly presented with a password. Soldiers exchange passwords and counter password to correctly identify each other. Even 8-year old secret societies allow entry to magical tree forts after declaring the super-duper secret passphrase. And when computers were first invented, how did we decide how to secure them? Passwords! Because, well, that’s all we had.

But if there is anything that we have learned since Robert Morris first started storing login passwords in a hashed form in the 1970s, it is that passwords are messy. They are hard to remember, easily guessed, and annoying if leaked.

[Read more...](https://auth0.com/blog/using-webauthn-to-secure-your-digital-life/?utm_source=content_synd&utm_medium=sc&utm_campaign=webauthn)
My experience with the Odin Project
Tags: html, css, javascript, career
Published: 2021-04-27 23:07:37

##What is The Odin Project
 The Odin Project is an open-source online curriculum for learning web development. It helps students to learn the skills they need to get hired as a web developer. It also has its own community which helps students too.

___

##Advantages
**TOP** have lots of advantages, some of them are:

- You will be doing projects from the beginning, which will give you a better understand, better experience, and it will prevent you from falling into the **Tutorial Hell**

- It's **free!** It won't cost you anything, you even can access content without signing up, but if you want to keep up your progress, you need to signup.

- You don't need previous experience, you will start from zero, which is very helpful for newbies.

- It has its own community, so you can connect with other students, so you can stay motivated and learn faster.

- You will be able to land a job when finishing, you won't get a certificate, but your projects will be good to land a job.

##Disadvantages

- There was a disadvantage that really annoys me, which is **repetition**, sometimes they will assign a bunch of articles to read, you won't notice a big difference, it will just be re-reading the same information but on a different source.

##My opinion
 For me, The Odin Project is very good for beginners, it will give you a good experience, also interesting projects for your portfolio.
**It worth a shot!**
Bootcamp Done. Next Steps Into A Tech Career
Tags: codenewbie, motivation, beginners, career
Published: 2021-04-27 22:37:47

So it has been a long time since I made the time to write something on here, the reasons? Maybe I was busy, maybe I didn't actually take the time to do this or maybe I was fighting some inner conflicts that made me hold myself back.

Alright, first thing first, let me give you a little background... About 4 weeks ago I finished a coding bootcamp I was doing since October. It was definitely a challenge but totally worth it and without it and my awesome teachers I would not be here. 

This bootcamp was absolutely free for me, online and possibly the best experience learning I have ever had. A huge thanks to [LaunchCode](https://www.launchcode.org/) who organized everything in NorthWest Arkansas (they do them in many other places so please look them up) and to everyone who has sponsored and keeps sponsoring their activities.
Not only this but the teachers were out of this world, honestly super grateful for this experience, may need to do a separate post to truly express my gratitude.

Ok, got off topic for a little bit there, getting back to the main thought...

After this bootcamp we have an option to be enrolled in a program called "Liftoff" with our teachers guiding us through personal projects, training us for future interviews and most importantly making us feel like we are bringing something to the table, as many already know, impostor syndrome is real and will mess you up.

So, right now I am doing this program and creating a personal project, but I have to admit it is actually harder than the bootcamp was. Probably because now it is truly up to us to show our potential and push forward, keep learning by ourselves exploiting every resource that we can.

VERY big challenge this is, at the moment I am trying to adapt to all of this. When you work all day and you know you have to keep working I tell you, it is not an easy task, even if you enjoy coding, being a newbie like me, you have to do a lot of research, spend time figuring stuff out that you don't know and much more.

I won't lie, if I didn't have such great mentors behind me, motivating me, pushing me, annoying me lol I really don't know where I would be. One of the best advice I can give right now at the stage where I am is find someone that you like to hang out with and ask them to be your mentor.

Reflecting and looking back, it can be hard to believe how far I've come and looking forward how much I have left to go. 

**Here are some of the big takeaways that keep me sane:**

--Focus on yourself
--Be proud of what you have accomplished no matter how small
--Do an activity that takes you away from everything
--Lean of people you look up to

That's all for today folks, hope you enjoyed and thanks for reading.

Follow me on:
[Twitter](https://twitter.com/santiareh)
Sharing Files in Flutter
Tags: flutter
Published: 2021-08-16 12:55:50

---
title: Sharing Files in Flutter
published: true
date: 2021-04-27 22:30:00 UTC
tags: flutter
canonical_url: https://mukhtharcm.com/sharing-files-in-flutter/
---

Sharing is an integral part of mobile apps. Millions of digital content are produced and consumed every minute. Because of this, we can’t avoid a feature like this on our mobile apps.

There is a package named `share` in Flutter to do just this. it can be used to share just text or even Files.

First, let’s add the package to our pubspec.yaml file.

```
dependencies:
flutter:
sdk: flutter
share: ^2.0.1 # add the latest version from pub.dev

```

To share a simple text, use `Share.share()` anywhere on our App.

```
Share.share("Your Text to Share");

```

It will bring up the share dialog of respective platform, whether if you’re using Android or iOs.

If we have to share Files, we can use `Share.shareFiles()`it accepts a list of File Paths to share.

```
File mycoolImage;
Share.share([mycoolImage.path,]);

```

below is the same example from [Generate Image from Widget Tutorial](https://dev.to/mukhtharcm/create-an-image-from-widget-in-flutter-1j4p-temp-slug-7132686), but with the added function of sharing the generated Image.

```
Future<void> takePicture() async {
RenderRepaintBoundary boundary = genKey.currentContext.findRenderObject();
ui.Image image = await boundary.toImage();
final directory = (await getApplicationDocumentsDirectory()).path;
ByteData byteData = await image.toByteData(format: ui.ImageByteFormat.png);
Uint8List pngBytes = byteData.buffer.asUint8List();
File imgFile = new File('$directory/photo.png');
await imgFile.writeAsBytes(pngBytes);
await Share.shareFiles([imgFile.path]);//Sharing the generated Image
}

```

Hope you found something useful here.

I’m always open to suggestions!

Let me know your suggestions and opinions in [Twitter](https://twitter.com/mukhtharcm) DM or drop a mail a [mukhtharcm@gmail.com](mailto:mukhtharcm@gmail.com).

If you’re feeling too generous, you can support me through [Buy Me a Coffee](https://buymeacoffee.com/mukhtharcm).

Finally, if you found this helpful, please share this within your reach so that more people can benefit from this. And Follow me on [Twitter](https://twitter.com/mukhtharcm) for getting more posts like these 😉.
DEV Community | Vue 3 Clone (or something like that)
Tags: vue, javascript, discuss
Published: 2021-04-27 22:27:34


I am building a dev.to clone or something similar. I thought that: Neah.. it's just a blog, how hard can it be  ? it's been more than a week and I just added a few features. 

https://ded-blog.surge.sh/

Features like:
Database logic: for now .. users,videos,folowers,profiles,tags,posts
All thanks to supabase Postgresql
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x7qo1z7ooynu3c4zjns5.png)

Auth: Login / Register via social login
Posts: on homepage, posts count, single post, user posts, post by slug, by id.
Videos: All videos, video single, by id.
Tags: Tags page, tags list ..
Dashboard: My Posts, Write Post with markup
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a6mmsq5vjnqqv16g7msx.png)
Abillity to Post, folow / unfollow, 

This whole project is made with Vue 3, composition-api style
vuex@next
vue-router@next
supabase

As for UI, it's mixture of custom css with good'ol bootstrap and element ui vue3 components for loaders, placeholders and fancy inputs.


I can see it's not that easy to build fully functional Blog.
[Video] How Queer Eye helped me be a better consultant
Published: 2021-04-27 22:08:48

Photo by [Paul Hanaoka](https://unsplash.com/@plhnk?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/cat?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
  
Several years ago, I'd been trying to find an approach to software consulting that made sense for me. I'd also been watching a lot of Queer Eye. Thinking about the former, while watching the latter, something clicked: a Queer Eye "make better" is, at its root, consulting. Each cast member is a subject matter expert sharing their knowledge; each episode's hero is a client of sorts. So, I started to dig into how Karamo, Bobby, Antoni, Tan, and Jonathan went about sharing their knowledge, and trying to make positive, lasting changes, and put together the following presentation to share what I'd found. I hope that this might help others to find a path to doing consulting work in a way that aligns with their values.

{% youtube 47Ap9BpO4l4 %}
GitUI - v0.15 released
Tags: github, terminal, productivity, rust
Published: 2021-04-27 22:03:15

[GitUI](https://github.com/extrawurst/gitui) is a terminal UI for git written in Rust. We aim to simplify common git tasks in a fast, keyboard-only and cross platform way without leaving your beloved text interface.

# Release Highlights

* file blaming ☝️
* support `commit.template` for commit message templates
* [more](https://github.com/extrawurst/gitui/releases/tag/v0.15.0)

Thanks for your interest and support!❤️
MUHTEŞEM TOSCANA KASABASI (Toscana Vadisinin Kalbi Montalcino)

Published: 2021-04-27 21:27:30

Avrupa’nın en eski tarihine sahip ülkelerinden biride İtalyadır. Başkenti Romadır. Buram buram tarih kokan İtalya’nın para birimi Eurodur. İtalya’ya tatile gitmek istiyorsanız illaki Schengen Vizesi almanız gerekmektedir.

İtalya tarihi turistik değerleri, gerekse Akdeniz’e yakınlığından dolayı her sene çok fazla yabancı turist çekmektedir.
Muhteşem bir doğaya ve tarihe sahip olan Avrupa’nın güzide ülkesi İtalya yemek kültürü,spor,sanat vb. Dalında pek çok ihtişamlı yapıta evsahipliği yapmaktadır.

Avrupa’ya gezi planınız varsa eğer gezmeye nereden başlayacağınıza bilemiyorsanız İtalya turistlik gezi başlanğıcı için çok iyi bir başlangıç olacaktır. İtalya’nın müthiş şehirlerinde ve tarihinde dolaşırken adeta büyülenecek bu ülkeden kopmak istemeyeceksiniz. Genel olarak Türk insanına çok benzerliğiyle bilinen İtalyanlar gerçekten bu yakıştırmayı fazlası ile hak ediyorlar.
Gelelim İtalya’nın en leziz şehirlerine;

Roma
Milan
Napoli
Floransa
Pisa
Torino
Palermo
Vatikan
Venedik
Bu şehirlerin tarihi dokusunu ve o doğal güzelliklerini bir kez kokladığınızda, bu ülkeden ayrılmak istemeyeceksiniz.
Peki ya çeşitli sorun ve sıkıntılarda dolayı bu senede İtalya turunu ötelediyseniz ne yapacaksınız. Size şimdiye kadar gördüğüm
en güzel İtalya Vlog kanalı Pizza Turca’dan bahsetmek isterim. Müthiş birİtalya rehberi olan bu kanalın sahipleri AKIN ve CEREN’in
kendi ağızlarından dinleyelim bu bu kanalı.

Herkese merhaba biz İtalya’dan AKIN ve CEREN . Pizza Turca Youtube macerasına çıkmamızın asıl amacı eğlenmek ve bunu yaparken de sizlerle paylaşmak.Sizler için kanalımızda herhafta yeni videolar paylaşıcaz.Kanalımızda İtalyan mutfağı, gelenekleri, adaları, pandemi , karış karış gezilecek yerleri, araba markaları, futbol ligi, dileklerin gerçeğe dönüştüğü aşk çeşmesi, herkes tarafından çok sevilen Amalfi, Portofino, Como Gölü ve dahası, heyecanlı a serisi maçları, kısaca İtalya denince akla ilk gelenleri İtalyanca ve Türkçe çevirileriyle beraber bizim bakış açımızla paylaşıyoruz. Siz de bizim çekirdek ailemizin bir parçası olmak isterseniz sayfamıza abone
olmanız ve videoların keyfini çıkarmanız yeterli.

 

AKIN VE CEREN’İN YOU TUBE KANALI

Pizza Turca
https://www.youtube.com/watch?v=WU5Z1tp9Wss
Day 67
Tags: 100daysofcode, programming, javascript
Published: 2021-04-27 21:17:16

Day 67/100 of #100DaysOfCode

I'm learning React JS from Learn with Sumit. And today's topics, Conditional Rendering, List & keys, Form Handling - Controlled vs Uncontrolled Component. And problem-solving on codewars using JavaScript.

Hours coded: 1.9 + 1
Lines of code: 225
Keystrokes: 2047

via @software_hq's #vscode extension
Matt's Tidbits #94 - Writing safe enums in TypeScript
Tags: mattstidbits, typescript, tidbittuesday
Published: 2021-04-27 21:08:32

[Last time I wrote about how to get started with React Native.](https://medium.com/nerd-for-tech/matts-tidbits-93-getting-started-with-react-native-acdec42c67f) This week, I have a quick tidbit about writing safe enums in TypeScript!

Many programming languages have support for enums, but they work slightly differently in TypeScript.

It’s really simple to define and use an enum — you can do so like this:
```ts
enum MyEnum {
  A,
  B,
  C,
}

function foo(enum: MyEnum) {}

foo(MyEnum.A);
```

What really surprised me is that it’s also perfectly valid to do this:
```ts
foo(42);
```

WHY?!!? To be honest, this really makes no sense to me at all. If I’ve gone through all the trouble of defining an enum (and specifying an enum as a parameter to a function), why can I specify any arbitrary number in place of this enum and have it still be valid code?

<5 minute meditation break/>

The good news is, there’s a way to guarantee that your enums cannot be used in this way!

As in many other programming languages, enums are typically represented as integers — the first enum value is equivalent to 0, the second is 1, etc. However, TypeScript has support for two other types of enums: string-based and heterogeneous enums.

Unfortunately, heterogeneous enums suffer from the same problem as numeric enums. But, string-based enums do not!

So, if you change your enum definition to look like this:
```ts
enum MyEnum {
  A = 'A',
  B = 'B',
  C = 'C',
}
```

Now the only way to call our `foo` function is by passing one of the valid enum values — passing arbitrary numbers (or strings) will produce the following compile error:
```
Argument of type '42' is not assignable to parameter of type 'MyEnum'.
```

There may be cases where you want to be able to specify arbitrary numeric values for enums, but I will be sticking to the string-based version!

For more information on enums in TypeScript, check out the official handbook: https://www.typescriptlang.org/docs/handbook/enums.html

If anyone knows why TypeScript enums were designed with this behavior, please let me know in the comments!

Interested in working with me in the awesome Digital Products team here at Accenture? [We’re hiring!](https://www.intrepid.io/careers)
Do your own research 🔍
Tags: watercooler, programming, learning, research
Published: 2021-04-27 21:04:21

Hi there! This post is just expressing a thought that popped into my mind after spending some time browsing through DEV. The philosophy behind it is simple - question everything you read on the Internet.

## The abundance of information 🤯
There is so much content for us to consume. I've been a member of DEV for just about a week and I couldn't be happier about it. I see many great, valuable posts everyday. However,  I've also seen some posts that were completely not true.

## The source of truth 🤔
Personally, whenever I write about something which I didn't entirely make up (unlike this post), I like to include sources. Not only does it give credit for actual authors, but also it provides people with a shortcut for validating everything they've just read - and even more! Isn't that great? I encourage each one of our awesome posters to do exactly the same thing. It will only increase your credibility!

## We're all learning 🤓
Please keep this one in mind. Learning is the inherent part of our job, something all of us have to do constantly in order to remain relevant. I'll speak for myself here - I'm not an expert on many things I'd love to master. *Yet*. If I post about something, I have just enough understanding of it that I can confidently share it with everyone. In case anyone questions it in the comments, I should have enough knowledge to freely discuss about it. But it doesn't make anything I write an undisputed truth.

## Keep on being nice! 🤗
If you ever see someone who is incorrect - don't be a jerk! I haven't seen any inappropriate behaviour on DEV, and it makes me super proud of being a part of the community. All the comments pointing out mistakes were kept in a friendly tone, rather than attacking authors. And we should put extra effort to keep it up! 🔥

## Wrap up 🎗
There's plenty of information available for everyone. Whenever you read something related to a subject yet unknown to you, make sure to double check it - for instance, see the official [React docs](https://reactjs.org/docs) after reading a blog post about hooks. 🪝

Thanks for reading! I know that doing research for your own is probably obvious for most of the people here. However, a short reminder doesn't hurt!