teleren/devto huggingface dataset:
Which Java version?
Tags: java, explainlikeimfive, help
Published: 2020-10-20 12:47:02

I got into a rabbit hole when I needed to purge secret data from a repo and I learned about [BFG repo-cleaner](https://rtyley.github.io/bfg-repo-cleaner/). 

The thing is, it's written in Java and it requires a Java Runtime Environment (JRE) to run. Having been bitten a few times by not keeping stuff up to date (looking at you, Ruby), I checked my current version, which is 9. I think I installed it a few years ago when I was helping my son set up Eclipse for a uni project. I think I also have a version 8 JRE downloaded from java.com somewhere in my system as well.

Because I haven't touched Java for years, I set out to find out which version of Java I should have, both to run programs and to develop (since apparently Java is so great for back-end), and I'm utterly confused.

What I found out:
- Java 8 is free for users and developers. However it's super old and apparently only supported until Dec 2020 (according to [Oracle's FAQ](https://www.oracle.com/java/technologies/javase/jdk-faqs.html)).
- There is an open source version of the JDK available for developers on [jdk.java.net](https://jdk.java.net). The current version is 15.
- Oracle keeps a tight grip on the JRE. As a user, if you run a java app for your business, you have to pay a subscription. If it's for private use, you don't. But they point you to java.com where the latest JRE is version 8. So I have no idea how you'd run a program made with JDK 15.

So my question is: If you write programs with the latest open source JDK, say JDK 15, which JRE are your (non-business) users running? Do they have to install the JDK? Or do you distribute the JRE that comes with the JDK? Or do you bundle the java program into some sort of executable, like you can do with python? Or... what?

I couldn't find an answer so maybe I'm asking the wrong questions. I'd be grateful if someone could shed light on this.
What is difference between core Java and Java EE?
Tags: java, career, computerscience
Published: 2020-10-20 12:44:21

Terminology of Java and J2EE

Java is a tem given by Sun Microsystems to refer to the Java Standard Edition (Java SE). It’s a widely used programming language which derives much of its syntax from C and C++ with fewer implementation dependencies. J2EE, originally known as Java Enterprise Edition (Java EE), is a collection of Java APIs owned by Oracle Corporation used to write server-side enterprise applications.

Platform for Java and J2EE

Java is a high-level class-based programming language that is commonly used to develop and deliver content on the web. It’s a simplified version of C++ designed to run on all JVM-compliant platforms irrespective of the architecture. J2EE, on the other hand, is one of the core technologies of Java used for developing server applications such as websites and web applications.

Application of Java and J2EE

Java is robust and platform-independent, which means the compiled code can be executed on any platform running a Java Virtual Machine (JVM). It is write once and run anywhere language because of the bytecode which can run on different operating systems, making it a preferred choice for all kinds of platforms such as websites, servers, mobile phones, embedded systems, etc. J2EE, on the other hand, provides an architecture-neutral environment to develop large-scale enterprise applications.

Components in Java and J2EE

The three main components of Java language are Java Virtual Machine (JVM), Java Development Kit (JDK), and Java Runtime Environment (JRE). Each component works in conjunction with each other to simplify software development. J2EE, on the other hand, holds Servlets and JavaServer Pages (JSPs), along with Enterprise JavaBeans (EJBs) and Java Database Connectivity (JDBC).

Key difference: Java is a programming language, which has been influenced by the C language. It derives much of its syntax from C and C++, however it has fewer low-level facilities than either. J2EE is a computing platform that is based on the Java programming language. A computing platform allows the developed software to run.

Meet The Experts For Better Experience : https://nareshit.com/core-java-online-training/
2020 Hacktoberfest Repository for beginners
Tags: hacktoberfest, opensource, beginners, github
Published: 2020-10-20 12:35:50

After submitting more than 10 pull requests and some repository were ineligible to Hacktobertfest I decided to help beginners who are starting open-source with Hacktobest to get their pull request fast as possible.

This is the list of some repository that I have found:

1. Opensource edu-bot from facebook developerscircles. Click [Here](https://github.com/fbdevelopercircles/open-source-edu-bot/issues/37)

2. Hacktoberfest from Darsh2001. [Click Here](https://github.com/Darsh2001/HACKTOBERFEST-2020)

3.Hacktoberfest from tarunsinghofficial. [Click Here] (https://github.com/tarunsinghofficial/HacktoberFest)

4.Hacktoberfest from Arjun Adhikari.[Click Here](https://github.com/arjunadhikary/Hacktoberfest)

5.Hacktoberfest from Potential17.[Click Here](https://github.com/Potential17/Hacktoberfest-2020)

6.Hacktoberfest from subeshb1.[Click Here](https://github.com/subeshb1/developer-community-stats)
What I learnt from #100DaysOfCode challenge
Tags: codenewbie, 100daysofcode, productivity
Published: 2020-10-20 12:27:26

Hello Readers👋, let me introduce myself, I am Shreyasi. A second year IT undergraduate and a web development enthusiast. So recently I completed my 100DaysOfCode on twitter.

So I came across the 100DaysOfCode challenge on its official website and thought of giving it a try.

*Here is the link to the official website with all the rules if you are considering it(I highly recommend it)*
https://www.100daysofcode.com/

### Expectation:
My intention for taking up this challenge was
* **to become consistent**
*I was very inconsistent before*
* **to code more frequently**
*I was really passionate about problem solving and coding in general but was newbie( P.S still am😅)**

### Reality:
* Yes, I was able to be more **consistent**. *Obviously there is always scope for improvement,still I can proudly say I am better than the person I was before taking up this challenge*

* My efficiency in not only **coding** but **learning process** in general went drastically up. 

* This was unexpected but I met with many **Devs** with **similar interests** and this in turned motivated me to improving my skills. 

* I became better at **expressing myself**. *That being said , I am not being **extrovert** now . Infact ,not even close. But, as I said earlier*, **I am better than before**

* I got into the habit of keeping tabs of my progress. *I highly recommend trying it* . 

**That being said, there were many ups and downs as well and I made a few mistakes too**

### What I learnt from those mistakes
* Never rush to just complete the challenge. **Learning** is more important than completing.*

* Imposter syndrome is a real thing! Don't be hard on yourself

* Don't take this challenge if you have a really hectic schedule. In other words, it's fine to discontinue the challenge (during difficult situation) 

That's all .
Thank you for bearing with me🙏

You can contact me on 
[twitter](https://twitter.com/error404_sp?s=09)
(My DMs are open for any doubts/help for this challenge )

**Happy Coding!**
 
Let me know your views about this blog in comment section
Toko Bunga Sidamanik 081396353338
Tags: tokobungasidamanik, tokobungadisidamanik, tokobungapapansidamanik, floristdisidamanik
Published: 2020-10-20 12:18:56

toko papan bunga di sidamanik florist memberikan pelayanan pemesanan dan pengiriman papan bunga ucapan berbagai acara diantaranya pernikahan,pelantikan,peresmian,ulang tahun,wisuda,syukuran dan lainnya.

utk info lengkapnya bisa dilihat di:
[https://www.bungabuket.com/sidamanik-bah-birung-ulu-butong-tobasari/]
TIL: @NullAndEmptySource in JUnit5
Tags: junit5, testing, todayilearned
Published: 2020-10-20 12:16:36

---
title: TIL: @NullAndEmptySource in JUnit5
published: true
date: 2020-10-20 12:13:13 UTC
tags: junit5,testing,til
canonical_url: https://le0nidas.gr/2020/10/20/til-nullandemptysource-in-junit5/
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/v0xg6rnjayceim17tfl5.png
---

_This is a clear case of RTFM!_

I wanted to make sure that a function will return _null_ when given a _null_ or _empty_ string and what I ended up doing was something like this:

{% gist https://gist.github.com/le0nidas/24e7ee3947acd38e35f0d977501bd17e %}

[@ValueSource](https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests-sources-ValueSource) does not accept null values so I passed it indirectly!

I didn’t like it so after, finally, reading the [JUnit5 documentation](https://junit.org/junit5/docs/current/user-guide/) I learned that the library had me covered from the beginning by providing three annotations exactly for this use case:

[@NullSource, @EmptySource and @NullOrEmptySource](https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests-sources-null-and-empty) are meant to be used whenever we need to check the behavior of our code when given null or empty inputs.

So the test changes to:

{% gist https://gist.github.com/le0nidas/af368237b72e842a969fb84c4a9df4a3 %}

PS: for the curious, the `absent()` is part of the [hamkrest](https://github.com/npryce/hamkrest) library by Nat Pryce (yes, that [Nat Pryce](http://growing-object-oriented-software.com/))
Daily Developer Jokes - Tuesday, Oct 20, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-10-20 12:00:06

---
title: "Daily Developer Jokes - Tuesday, Oct 20, 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=Tuesday%2C%20Oct%2020%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/5e1258e0be565.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:___ How did pirates collaborate before computers ?

___A:___ Pier to pier networking.
 -->
Gossip-Place And Random-Talk for Online Video Chat
Tags: videochat, onlinechat
Published: 2020-10-20 12:00:05

Gossip-Place And Random-Talk is the best online random video chatting platform where you can direct free of cost talk to strangers person. Start free online random chat without doing any registration of the account. So, you can start free chat any time at any location so, there is no limitation while you a chatting with anyone. 

This is also the best alternation option of Omegle, Chatroulette, camsurf, and a lot type of website for online chat. so, if you are looking at a site like Omegle then you must visit the Omegle website at once for an online random video chat. Below we share the best Omegle and Chatroulette features type website so, check out and enjoy the visit chat. 

Omegle alternative

https://omegle.name/
https://omegle.surf/
https://random-talk.com/
Camsurf
Shagle
Ome tv
Expanding Your Digital Audience Using The Best Webinar Platforms
Tags: productivity, startup, management
Published: 2020-10-20 11:55:16

Even before the current pandemic situation necessitated alternatives to face-to-face meetings, webinars have slowly but surely been established as valuable and viable online means for interaction. [Webinar platforms](https://launchberg.com/best-webinar-platforms/) have provided an avenue through which people all over the world can share knowledge and ideas, conduct online training, advertise products and services, and more.

To help get you started, we’ve put together a quick guide on how to host a webinar and the [best webinar platforms](https://launchberg.com/best-webinar-platforms/) to conduct your virtual meetings on.

ClickMeeting
WebinarJam
GoToWebinar
Demio
WebinarNinja
WebinarGeek
Livestorm
Zoom
Zoho Meeting
EverWebinar

So, what's the best webinar software?

It really depends on the purpose of your webinar, as different platforms offer different features, with some geared towards specific users. If you’re looking for the best webinar software for marketing, ClickMeeting is our pick. For the best webinar surface for a novice, WebinarJam, or Zoom are the easiest to navigate through.

[How to Set Up a Webinar](https://launchberg.com/best-webinar-platforms/)
1. Determine your purpose
2. Choose the topic, title, and webinar format
3. Make the outline and finetune the structure
4. Check the equipment and environment
5. Choose a webinar platform
6. Schedule your webinar
7. Promote your webinar
Lernplattformen für Schüler und Kinder
Published: 2020-10-20 11:53:26

Gerade für Kinder bieten sich interaktive Lernmöglichkeiten an. Spielend lernen war schon immer dem sturen Pauken vorzuziehen. In den letzten zehn Jahren sind Lernplattformen, virtuelle Klassenzimmer und Nachhilfe-Plattformen nur so aus dem Boden gesprossen.

...

Lies weiter: [Lernplattformen für Schüler und Kinder](https://kursprofi.com/lernplattformen-schueler/)
Login & Signup Form In Bootstrap 5
Tags: css, html, webdev, uiweekly
Published: 2020-10-20 11:07:13

Login & Signup Form is an important part of the website, where users can Signup and use website features. So here we made simple Login & Signup Form using bootstrap 5 CSS framework with the help of CSS properties.

In this element, we used one bootstrap popup modal and also we used a grid system with the help of the helper class of bootstrap 5. Here we used a basic JavaScript function to show the login form and Signup Form on click. Here we also used font awesome icons to a login button side like login with Facebook and Google. This is fully responsive to mobile and tablets side.

Make it yours now by using it, downloading it, and please share it. we will design more elements for you.

[source code](https://w3hubs.com/login-signup-form-in-bootstrap-5/)
Is there a cloud service that allows me to have a cloud backoffice panel that will just consume my API?
Tags: help, recomendations
Published: 2020-10-20 11:28:37

In my work we are in a lack of developers and the ones exists have no frontend experience. Therefore for my backoffice panel I need a cloud service that will offer a drag-n-drop solution with scratch-like behavior on the frotnend that will consume my API or lambdas for authentication and any other backend functionalities.

Do you have any idea how I can do this?

In another words I want a wix-like service for the frontend that will consume my API or a set of serverless functions/lambdas offering to me a Backoffice/Control Panel
My Hacktoberfest Journey
Tags: hacktoberfest, opensource, github, digitalocean
Published: 2020-10-20 11:22:56

It's been many years that I have the will to participate in the [Hacktoberfest](https://hacktoberfest.digitalocean.com/) and I finally did it, but it wasn't always like this.

Despite knowing [GitHub flow](https://guides.github.com/introduction/flow/), some popular frameworks and have a job in the technology area. In the past few years, I always felt not enough, or not knowing enough to be able to participate in the Hacktoberfest.

But, in this crazy year of 2020, stuck at home only with the company laptop and I was thinking? 

"What the hell, I gonna try it, I'm bored anyway."

The first thing I did was to search some repositories with cool ideas and simple tasks to do like fix some documentation or add elements on a JSON file. These tasks seem too easy, useless, and even unchallenging, but I believe that these little bricks that we add made a huge difference in the top view. In addition, these simple tasks push us in confidence to contribute.

After that and feeling more adventurous, I tried to search for small tasks but a little more complex. So one of my PR, I developed a feature to Finish a lesson early in the [LibreLingo](https://github.com/kantord/LibreLingo/), and it was so cool, the project is awesome and so beautiful.

I hope to make more contributions to open-source projects in the next days of Hacktoberfest! 

The Hacktoberfest is one of the best events to meet (in this case virtually) more people, learn about projects, frameworks, open-source culture, and so on.

So, have a great Hacktoberfest, stay safe, and wash your hands. 👏
Why You Should Opt for Magento eCommerce Development to Thrive Your Business?
Tags: magento, wordpress, discuss, webdev
Published: 2020-10-20 11:20:47

The eCommerce sector is thriving while providing a lot of opportunities for startups and SMEs alike. Though giant players like Amazon and Alibaba has already written their success stories, still, the sector is wide open for new players to thrive. If you want to come up with a user-friendly and feature-rich online shop then Magento eCommerce development services can assist you. In this blog, we will see why you should opt for Magento to build a robust eCommerce store and grow your business online.

Rise of Magento as Most Popular eCommerce Framework

There is no exaggeration in mentioning that Magento is the backbone of an ever-growing eCommerce sector. Empowering over 2,40,000 online stores globally, Magento is the most popular eCommerce platform. It can easily handle all the tasks of modern businesses irrespective of their size and scale. Custom Magento development offers a cost-effective way to create fully functional eCommerce websites and web applications. Some of the top brands like Samsung, Ford, and Nike use this platform.

Your online business can survive and thrive amid growing competition as the Magento platform can drive more traffic to your website. Let’s go through some of the major business benefits of Magento website development.

Open-source and dedicated platform

Magento is an open-source platform, which is exclusively built for developing feature-rich eCommerce websites. It has three editions for growing your eCommerce business while meeting diverse requirements.
A Quick Look at the filter() Method in JavaScript
Tags: javascript, webdev, beginners
Published: 2020-10-20 11:09:26

```javascript
(╯°□°)╯ .filter()
```

The filter() function in JavaScript returns a new array containing items that match true from the condition passed in the function.


```javascript
const myArr = [1, 2, 3, 4, 5, 6]

const over2 = myArr.filter(el => el > 2)
// [ 3, 4, 5, 6 ]
```

We used `filter()` to return the elements that are `> 2`. Filter returns a new array with **all** the elements that match the condition `true`.

Let's have another look.

Let's say we have an array of objects and we want a new array that match a certain criteria.

```javascript
const goodBoys = [
  { name: "spike", trained: true },
  { name: "winston", trained: false },
  { name: "scruffy", trained: true },
]
const isTrained = goodBoys.filter(el => el.trained === true)

/* [ { name: 'spike', trained: true },
  { name: 'scruffy', trained: true } ] */
```

In the example we wanted a new array of objects containing all the dogs that are trained. Using `filter()` we iterated the elements and return the trained elements `=== true`

## Let's connect
Connect on Twitter - [davidbell_space](https://twitter.com/davidbell_space)
The setInterval() method in JavaScript and make your own Interval Function
Tags: javascript, beginners, webdev, tutorial
Published: 2020-10-20 11:08:40

`setInterval()` is a window method available to us. It takes two things:

- A callback function
- Time in milliseconds

```javascript
setInterval(() => {
console.log('Hoopla')
}, 1000)
// Hoopla
// Hoopla…
```

In the example an _*anonymous*_ function `() =>` is passed in. The time in **milliseconds** is passed at the very end `}, 1000)`. `Hoopla` is printed to the console **after** 1 second has passed once rendered and again every second after.

You can also pass a function into `setInterval`.

```javascript
const oneSec = () => {
console.log('Hoopla')
}
// Hoopla
// Hoopla…

setInterval(oneSec, 1000)
```

The function `oneSec()` is ran **after** 1000 milliseconds then again every 1000 milliseconds.

A nuisance with `setInterval()` however is that is doesn’t run the function for the first time until the time passed in has passed.

For example the function below will wait 5 seconds before ‘Hoopla’ is first printed to the console. And then continue to run every 5 seconds after.

```javascript
setInterval(() => {
console.log('Hoopla')

}, 5000)
```

You can however create your own interval function that will begin immediately.

## Make your own

```javascript
const hoopla = () => console.log("Hoopla")

const myInterval = (func, time) => {
  func()
  return setInterval(hoopla, time)
}
myInterval(hoopla, 2000)
// Hoopla
// Hoopla…
```

This functions takes a function as a parameter as well a time `function, time`. The function is immediately called and we return a regular `setInterval`. This is great because it works immediately with no day unlike a regular `setInterval`.

## Let's connect
Connect on Twitter - [davidbell_space](https://twitter.com/davidbell_space)
My hacktoberfest experience
Tags: hacktoberfest
Published: 2020-10-20 11:04:47

## What I Learned From Hacktoberfest

To be honest, it was a bit of a rollercoaster, I love the hacktoberfest premise, but wow what a lot of negativity around it.

I can't and won't believe everyone is just out there for the shirt, though it's a cool add on.

I loved being part of it, I finished my 4 pull request + more, and here are my key takeaways

## 1. I learned new things

The main thing for me was learning new things, not just coding-wise, but also in how to contribute, how to write proper tests, and even make clear what my pull-request was about.

The projects I've worked on were very good at helping and communication, so big kudos to you!

## 2. It was fun

It was fun doing something non-work related, almost refreshing to be able to provide value to open-source.
In the beginning, I was afraid it would be a long learning curve, but it's actually easy to get started with a small issue.

## 3. Would you do it again?

For me yes! It took quite a lot of side-time for me, but what I picked up was more than worth it!

Also, see my article about [hacktoberfest](https://daily-dev-tips.com/posts/make-your-first-contribution-during-hacktoberfest-%F0%9F%8D%81/)

Here are the projects I worked on:
- [Rando-php](https://github.com/Hi-Folks/rando-php)
- [Canvasboard](https://github.com/Canvasbird/canvasboard)
- [Abell website](https://github.com/abelljs/abell-website)