teleren/devto huggingface dataset:
What Makes a Business Intelligence Architecture Unique?
Tags: beginners, writing
Published: 2022-01-08 02:16:53

Business intelligence tools can be compelling for various business processes, but what makes them unique? Depending on the use, these tools can be highly complex, expensive, or have limited customization options. Here's what makes them different. You might be surprised to find that some of the best business intelligence (BI) tools are reasonably simple to use - they have a few more features than others. 

The first aspect of a **[business intelligence architecture](https://paradigminteractive.io/)** is storage. It is an extensive repository of data, but each department needs a separate repository for its data. Another element of this architecture is the data mart. It's smaller than the storage, focusing on specific aspects of a business. The benefit of this approach is that the data mart allows employees access to the correct information they need at any time. In addition, because each dataset is dedicated to a single department, data marts also help users avoid permission-based querying.

When choosing a business intelligence tool, it's essential to look for one that will provide easy-to-understand data based on real-time data. If a business intelligence tool is complex, it's necessary to check whether it is simple to use or highly complex. You should also consider the cost of implementation and training. If you're looking for a free trial, start by reading our guide on available features.

A business intelligence tool is designed to make data accessible to users of all levels. It means that users can configure alerts based on the KPI. It enables everyone to take action at the right time. Businesses are faced with difficult decisions every day, and it's often better to make these decisions based on data than on intuition. Therefore, a business intelligence tool must use the data already stored in a data warehouse.

It's crucial to understand how the data will be used. A business intelligence tool will help the organization track and measure metrics, which will allow the company to plan its future strategy. It will also help sales managers monitor their team members' performance by giving them context. They will also see their employees' contribution to the overall company goals. Other factors make a BI tool stand out.

A business intelligence tool will help a company make informed decisions. It will also help an organization understand what their customers are doing and improve it. Using a BI tool will help your company improve its supply chain management and inventory control. It will also streamline routine tasks like auditing. It will help your company become more efficient. It will be able to recognize and fix problems and improve its processes.

Read also: **[The Features of Business Intelligence Architecture](http://toparticlesubmissionsites.com/the-features-of-business-intelligence-architecture/)**
Javascript generator functions simplified
Tags: javascript, tutorial, webdev
Published: 2022-01-08 01:51:45

One of the coolest features of javascript which surprisingly not many developers know about or use is generator functions. In this tutorial I'll try to explain the generator functions in simple terms and with the help of examples.

A generator function, in short, is a function whose execution can be paused and resumed!

Notice that in other functions we don't have such a control over the execution of the function. This is different from conditional statements and loops where you just control the flow of the execution not the execution itself.

Before diving deeper, let's see an example. Assume we want to have a function to return  sequential numbers each time we call it. This is we do it normally:

``` javascript
let id = 0;
function getId() {
  return id++;
}

console.log(getId()) // 0
console.log(getId()) // 1
console.log(getId()) // 2
```

As you can see, actually to write such a function we have to use an external storage to keep the state of our function, a global variable `id` in this case. Obviously, now we have to take care of the global variable ourselves and the function doesn't have full control over it.

Now let's see how we do this with a generator function:

``` javascript
function* generateId(id = 0) {
  while (true) {
    yield id++;
  }
}
const ids = generateId();
console.log(ids.next().value) // 0
console.log(ids.next().value) // 1
console.log(ids.next().value) // 2
```

Ok, this looks crazy! I agree, and this is what I initially thought as well when I saw the syntax for the first time. But there is nothing we cannot break down!

`function*` means the function is a generator function, not bad huh?
Then we have `yield`, which you can be thought of as a generator-based version of the `return` keyword. The main difference is that `yield` pauses the execution of the function unlike `return` that ends the execution.

I said pause and that's what I exactly meant. In our weird function we have an infinite loop, and here is where the magic of generator functions happen. Each time the generator function returns a value using the `yield` statement its execution gets paused until the next call through the `iterator` it has returned.

I mentioned `iterator`, but to be specific a generator function returns a `generator` which is an `iterator` on its own. That's why we access the values using the `next` method of the generator object (`ids` in our example).

Let's keep it short and simple. If you liked this post and want to know more about `generator functions`, `yield`, `generators` comment down bellow and I'll be more than happy to write about it.

Also please not forget to check https://www.utopiops.com for hosting your applications for free. We're in our public beta and will love to collaborate with our users in any possible way. Happy coding!
tsParticles 1.39.0 Released
Tags: showdev, javascript, webdev, html
Published: 2022-01-08 01:10:00

# tsParticles 1.39.0 Changelog

## Bug Fixes

- Fixed priority on canvas styles
- Fixed react/preact/inferno components exports
- Improved image loading, now in parallel

## Improvements
- Added all files for supporting the smaller engine file, preparing for v2 incoming changes. The engine file can be included or imported for a clean setup, and the plugins can be chosen manually
- Renamed `Main` class to `Engine`, kept backward compatibility
- Improved image loading, now they are loaded in parallel, and now if an image is missing, it will be loaded at runtime

## Breaking Changes

- Enums are not exported anymore, this breaks their javascript usages

---

{% github matteobruni/tsparticles %}
100 días de código: 51, avances obtenidos en vacaciones... Aunque se supone que eran vacaciones.
Tags: spanish, 100daysofcode, beginners, javascript
Published: 2022-01-08 00:46:50

¡Hey hey hey!

Cuando comenzaron mis vacaciones pensé que tomaría el tiempo para descansar pero jamas me imagine como terminaría...

En él, me encontré con un problema generado por las ocupaciones de familia, pareja y mis propios proyectos generado por falta de tiempo dedicado a estas ocupaciones y que debido a mis planes no tuve en cuenta en ningun momento. 

No se si sera algo que le suceda a todos pero creo que la causa viene de que los programadores terminamos teniendo una estrecha relación entre vida personal y profesional que nos dificulta separar estas y dedicarle el tiempo necesario a cada una. Si piensas que te pasa algo similar te agradecería que me lo hicieras saber en los comentarios.

Cuando llego el día de año nuevo y yo me levante por la mañana un poco mas temprano solo para programar, me puse a reflexionar en que jamas me imagine que me entregaría a la programación de la forma en la que lo hago ya que incluso en vacaciones tomaba tiempo para dedicarme a escribir algo de código a diario. 

Sin embargo como no pude dedicarle el tiempo que me gustaría no lo tomare en cuenta para el reto.

Ahora me gustaría relatar los acontecimientos y logros de mis vacaciones. 

- Termine la mayoría de secciones de [The Odin Project](https://www.theodinproject.com/) exceptuando el backend y las entrevistas y puedo decir que estoy muy contento con todo lo aprendido en el. 
Realmente se lo recomendaría a cualquier persona que tenga algunas nociones de desarrollo web aunque no se si a los que recién inician ya que puede ser un poco abrumador toda la información que va enseñando.

- Comencé a crear los wireframes con ayuda de [autodraw.io](https://www.autodraw.com/). A pesar de que es una herramienta muy simple es poderosa por ello para la creatividad.

- Comencé a aprender NextJs siguiendo la [guia de su propia pagina web](https://nextjs.org/).

- Seguí practicando 15 min de Touch Typing a diario y aunque las velocidades de cada día son irregulares puedo decir con orgullo que un día obtuve 50 palabras por minuto.

- Aprendí mas acerca de algunos frameworks css y preprocesadores como [postcss](https://postcss.org/), [sass](https://sass-lang.com/) y [tailwind](https://tailwindcss.com/) el cual esta siendo bastante popular.

- Analice algunas web y comencé a pensar en un proyecto propio que a lo mejor llevare a cabo para obtener experiencia comprobable por mi mismo antes de conseguir un trabajo.

La verdad es que estoy muy contento con este inicio de año aunque comienzo a pensar que tal vez debería tomarme un descanso real para aligerar la carga de estrés y ansiedad que llevo acarreando estos meses. 

Espero que tengan un excelente año y que hayan disfrutado mucho las fiestas. Animo con sus proyectos.

¡Hasta luego!

Foto del cover de [Joshua Lam](https://unsplash.com/@jl1232006?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) en [Unsplash](https://unsplash.com/s/photos/chrismas?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
A review of "Django for Beginners". Finally someone gets it. 
Tags: python, django
Published: 2022-01-08 00:43:37

Stop me if this sounds familiar. You find an exciting new framework or piece of tech. You go the documentation like a good little dev. And the tutorial is as follows. ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i1resab0zct9m1jo8348.jpg)


**Before I get into my review let me lay out the most common issues I have run into.**
   

- A tutorial written or a video, starts off easy enough and then in the next sentence they are talking about setting up this simple microservice and connecting a database which they will skip because "it should be pretty self explanatory". Oh what is that ? You are using the latest package and the syntax/set up has changed? Sucks for you. 


-  On the opposite end of the spectrum, tutorials can go on and on covering the same concept without nailing the general point. After explaining to a friend what loops are, he asked me why the video course insisted on using complicated jargon and useless examples.


  



I have worked as dev professionally now for close to 4 years and wanted to pick up something new. I was very comfortable with python and flask, and kept hearing Django should be my next move. After a few tries at the documentation something just didn't click and I abandoned it. We only have so many hours in the day and I couldn't afford to spend hours on a resource that wasn't clicking for me. So I dropped Django, flask works fine.
     
## Enter: Django for Beginners

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ylydli9ko7hmrdvmwxtr.jpg)

Something didn't feel right, I kept reading raving reviews about Django. I did some more research. 

Quite frankly, this is the best resource on programming that I have ever laid my eyes upon. I am not exaggerating. As a self thought/bootcamp dev I own/have owned the following. 

- 98 udemy courses 
- an assortment of random ebooks I purchased from twitter
- 27 programming books
- a subscription for datacamp,codeacadmy,teamtree house

## Why is it so good? 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bd2lt0h30c068z8awnpn.png)

( I highly recommend this course https://www.coursera.org/learn/learning-how-to-learn)

To put it simply, rather than following the owl meme the books goes as such. 

1. Concept 
2. Working examples of the concept
3. Using concepts to build upon each other. 
4. Progressive resistance. 

The book has 5 projects and each one increases in difficulty. Will explains concepts in a way that they should be, and doesn't make assumptions about your knowledge. And he even has a github with updates as recent as two weeks ago for the latest version of Djnago. 

https://djangoforbeginners.com/

The price is only $40 but I can assure it is worth much more.
It's the Final Stretch of the MongoDB Atlas Hackathon — and We've Doubled the Participant Shop Prize 🎉
Tags: meta, atlashackathon
Published: 2022-01-08 00:29:45

---
title: It's the Final Stretch of the MongoDB Atlas Hackathon — and We've Doubled the Participant Shop Prize 🎉   
published: true
description: It's the final weekend of the MongoDB Atlas Hackathon on DEV. Don't miss your chance to participate!
tags: meta, atlashackathon
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1tah8m0zqe11xt7zknl5.png
---

#### *The MongoDB Atlas Hackathon on DEV closes next Thursday, January 13th, 2021 @ 11:59 PM UTC — and we've increased the [DEV Shop](https://shop.dev.to) participant* prize to $25 USD 📣  Don't miss out.* 

--- 

The MongoDB Atlas Hackathon on DEV ends in just a few days! Because all of us at DEV know how busy this time of year can be, I wanted to share a quick reminder about this fantastic contest as well as a bit of news...

> <mark>We're excited to share that all participants with a valid submission will now receive $25 USD to the DEV Shop. With that amount, you could score a [beanie](https://shop.dev.to/collections/2018-new-merch/products/black-dev-beanie), [a mug](https://shop.dev.to/collections/2018-new-merch/products/space-dev-mug), TWO [sticker packs](https://shop.dev.to/collections/2018-new-merch/products/sticker-pack-1), and many other awesome items from our shop. 10 runners up will win a limited-edition profile badge, $250 USD cash (or the equivalent value in your local currency) and a $150 USD gift code to the [DEV shop](https://shop.dev.to/). Five Grand Prize winners get a limited-edition profile badge, $1,500 USD in cash, and $300 USD at the DEV shop!<mark> 

**[>> Click here to read the rules and join the fun](https://dev.to/devteam/announcing-the-mongodb-atlas-hackathon-on-dev-4b6m)**


_*Note: the doubled participant prize applies only to DEV Shop credits for non-Grand Prize Winners and non-runners up with a valid submission._ 

If you'd like to tell us how your project is coming or meet the other participants, check out the MongoDB Atlas Hackathon [community discussion thread](https://dev.to/devteam/share-your-mongodb-atlas-hackathon-updates-5g4k). 

If you need help with your project or have a question about the hackathon rules or MongoDB, pop into the [help thread](https://dev.to/devteam/mongodb-atlas-hackathon-help-thread-3g3a). Members of the DEV and MongoDB teams are there to assist you.

Reminder that we're emailing participants a code worth $100 towards MongoDB to build your project. You'll find the sign up form to receive it embedded in [this post](https://dev.to/devteam/announcing-the-mongodb-atlas-hackathon-on-dev-4b6m0). Be sure to check your spam folder! 

Good luck, all participants 🍀  

---
_Click [here](https://dev.to/devteam/announcing-the-mongodb-atlas-hackathon-on-dev-4b6m) to find all the info you'll need to get started._ ✨
houry: A Simple Python App That Beeps Every Hour
Tags: python, beginners, desktop, app
Published: 2022-01-08 00:10:06

A few years ago, in the ‘pre-Apple-Watch’ era, I had a [Casio F-91W](https://www.wikiwand.com/en/Casio_F-91W). It was a very cheap watch, but it had a nice feature. There was a special setting that allowed it to _beep every hour_. And that was amazing! It was like a special notification for me to notice the moment. 

> Every time I heard a beep, I wondered if the thing I was doing was distracting me or helping me? In other words, that beep was very useful to me.

But then I bought the Apple Watch and the magic disappeared. I tried to find an app on my phone or laptop that would beep every hour, but could not.

So **let's bring the magic back!** I am going to use Python to create a little app for my computer with OS X that will make a sound every hour. Let’s go!

First, we need to teach our app to understand the time and play a sound. Google says these libraries should help with that:


``` python
import schedule
import time
from playsound import playsound
```


Now let’s find the sound. Go to [Soundjay](https://www.soundjay.com/) and choose something you like. I chose this [beep-sound](https://www.soundjay.com/buttons/sounds/beep-07a.mp3) and saved it to my project folder.

``` python
def beep():
    playsound('/beep.wav')
```

Now let’s play it every hour at 00 minutes:

``` python
schedule.every().hour.at(":00").do(beep)
```

And as the documentation says, I should add this to make a loop:

``` python
while True:
    schedule.run_pending()
    time.sleep(1)
```

Let’s try it. Everything works fine.

Now I want to make it a standalone app for my Mac. But I don’t like it to show up in the dock or menu bar. I just want it to run in the background, so here are some magic words for the setup.py file:

``` python
from setuptools import setup

APP = ['houry.py']
DATA_FILES = []
OPTIONS = {
    'argv_emulation': True,
    'iconfile': 'icon.icns',
    'plist': {
        'CFBundleShortVersionString': '0.2.0',
        'LSUIElement': True,
    },
}

setup(
    app=APP,
    data_files=['beep.wav'],
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)
```

As you can see, I created an icon for this app. Yes, you will only see it when you run this app, but I still wanted it to look nice. So I just took an emoji from [Emojipedia](https://emojipedia.org/), converted it via [Anyconv](https://anyconv.com/png-to-icns-converter/), and saved it in the main folder of my project.

And the last step. To create an app, we should type this in the Terminal:

``` python
python setup.py py2app
```

That’s it. Now you can find your app in the ‘dist’ folder. Do not forget to move it to the ‘Application’ folder and [add it to Login Options](https://support.apple.com/en-us/HT201476) on your Mac.

Happy houry!

[Project on GitHub →](https://github.com/skaplichniy/houry)
The OpenTelemetry collector
Tags: opentelemetry, opentelemetrycollect, observability
Published: 2022-01-10 12:57:28

---
title: The OpenTelemetry collector
published: true
date: 2022-01-08 00:00:00 UTC
tags: OpenTelemetry,OpenTelemetry,OpenTelemetrycollect,Observability
canonical_url: https://www.mourtada.se/the-opentelemetry-collector/
---

The OpenTelemetry collector provides a vendor-agnostic implementation on how to receive, process and export telemetry data. The collector is a single binary that can be run as an agent or a gateway.

## Versions of the collector

There are two versions of the collector. The core version contains components that are the foundation of the collector such as configuration and the most common receivers, processors and exporters. The contrib version contains all of the components of core but also more vendor-specific and experimental receivers, processors and exporters.

## Collector components

### Receivers

A receiver is how data gets into the collector. Data can either be pushed or pulled. One receiver can support multiple data sources(traces, metrics and logs). An example of a receiver is an OpenTelemetry Protocol(OTLP) endpoint or a prometheus scraper.

### Exporters

Exporters sends data to one or more backends/destinations. Like the receiver an exporter can also be push or pull based and support multiple data sources. For example an exporter could provide a prometheus endpoint or send data to a jaeger backend.

### Processors

Processors handles data after it’s received but before it’s exported. An example of a processor is the batch processor which puts incoming data in batches. This makes for better compressing of the data and limits the number of outgoing connections.
A DevOps simulation with toothpicks
Tags: devops, agile, simulation, workshiop
Published: 2022-05-31 08:18:46

---
title: A DevOps simulation with toothpicks
published: true
date: 2022-01-08 00:00:00 UTC
tags: devops,agile,simulation,workshiop
canonical_url: https://jhall.io/archive/2022/01/08/a-devops-simulation-with-toothpicks/
---

Last year I did a half-day DevOps workshop for a group of Scrum masters. I started out the workshop with a little group exercise I want to describe here. The goal of the exercise was to demonstrate the [silos problem](https://jhall.io/archive/2021/08/18/devops-isnt-about-automation/) that DevOps aims to resolve.

1. Set up

2. Phase 1, _5 minutes_

3. Phase 2, _2 minutes_

4. Phase 3, _3 minutes_

5. Phase 4, _2 minutes_

6. Discussion

* * *
_If you enjoyed this message, [subscribe](https://jhall.io/daily) to <u>The Daily Commit</u> to get future messages to your inbox._
Day 505 : Push
Tags: hiphop, code, coding, lifelongdev
Published: 2022-01-07 23:27:53

_liner notes_:
- Professional : Today was pretty good day. Basically spent the day trying to push this SDK to its limit and bend it to my will. haha And for the stuff that it can't do, I have to figure out a way around it. haha. It's a new SDK and the team is still working on it, so I'm going to give them feedback and see if we can get the changes implemented.

- Personal : Last night I worked on integrating the demo test application code I made to my side project. There's some info I would need to be provided from the front end so I jumped on to that, then I ran into an issue of how I wanted to layout the page, so I spent the rest of the night thinking about that. Good news is I think I figured it out in my sleep. haha

![Sand dunes in Canary Islands, Spain at sunset with a shooting star in the sky.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aw39j042x4dk85nan96z.jpg)

I need to go through some tracks for the radio show. I meant to do it during the week, but it flew by. After that, I want to see if I can get the layout I dreamed out, working. haha.

Have a great night and weekend!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube JJYtZIewJpk %}