teleren/devto huggingface dataset:
Day 755 : It's Been A Long Time
Tags: hiphop, code, coding, lifelongdev
Published: 2023-06-05 23:55:12

_liner notes_:
- Update : It's Been A Long Time. So, I've been on vacation for a week and traveled to South Carolina. Really nice area, really terrible roads. haha Then I attended and spoke at the RenderATL conference in Atlanta, Georgia. Also snuck in a lightning talk at the North Atlanta.JS meetup group. Did a little sightseeing and other activities. You can check them out at https://Dwane.in/RenderATL
- Saturday : I was still in Atlanta when doing the show. My co-host was sick so we weren't able to broadcast over the radio waves back in Orlando. Before the show, I got a chance to go to the National Center for Civil and Human Rights. Really cool spot. Took a bunch of 360 videos and photos and posted at https://Dwane.in/RenderATL The recording of this week's show is at https://kNOwBETTERHIPHOP.com

![Radio show episode image of jeans, brown button up shirt, white t-shirt, an afro pick, a book about the Black Panthers, and a picket sign that says "Web Components Unite!" on a bed with the words June 3rd 2023 Preparedness](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e09fn3az452wicwu0rdo.jpg)

- Sunday : Flew back home and basically went to sleep.

- Professional : First full day back at work. Got up early to sit in on a meeting. Had a couple more. Helped out with a community question. Had to update my computer which took some time. Did a training that's due soon. Not a bad day.

- Personal : So.... trying to buy land is a lot more difficult than I thought, haha. You really need to look for details that the listings don't show. Like, why has the land been on sale for so long. You have to put in a lot of effort to uncover why. Still looking though. Maybe I'll try another area. Also, I put in a pre-order for the new Google Pixel Fold and Lenovo Yoga Book 9i. Both pretty much dual screen devices but different sizes. haha. I was able to deploy my first of a series of side projects that others can set up themselves. It's up at https://posted.pics Started working on the next one I want to put out.

![A tree growing on the end of a log with a waterfall in the background of Fairy Lake, BC, Canada](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pniryg2qapcl9ydjx7ee.jpg)

Going to work on my new side project. Getting the layouts of the pages together. I pretty much know what tech I want to use. Definitely need to catch up on some anime also.

Have a great night! Feels good to be back!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube qWPmRSYq-f8 %}
Curious about your Magento2 experience
Tags: magento, php, webdev, rant
Published: 2023-06-05 22:21:57

I'm working on a client his Magento2 shop which is an existing shop which needs cleaning, modifications and new solutions to fit their current needs.

I love Magento, but i really hate it every now and then. If I compare it to other (big) projects it costs a lot more energy and time to get the same result apart from the initial setup.

I'm curious about your experiences with theme, plugin or other design, development or usage of the system?
We're tempting to create a nextjs headless frontend and use magento2 with graphql and all the other fancy stuff as a backend.

I want to hear those rants and juicy stories.
Caption This! 🤔💭
Tags: watercooler
Published: 2023-06-05 22:10:00

Weird photo. No context. We need your genius to bring this image to life!


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

Follow the DEVteam for more online camaraderie!

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
Higher-order functions JS
Published: 2023-06-05 22:09:56

Higher-order functions are functions that can take other functions as arguments or return functions as their results. This concept enables powerful and flexible programming techniques in JavaScript. Here's an explanation and example:

In JavaScript, functions are considered first-class citizens, which means they can be treated like any other value, such as strings or numbers. This allows us to pass functions as arguments to other functions or even return functions from functions.

Let's consider an example where we have a higher-order function called `calculator` that takes two numbers and a callback function as arguments. The `calculator` function performs a calculation on the two numbers and passes the result to the callback function.

```javascript
function add(a, b) {
  return a + b;
}

function subtract(a, b) {
  return a - b;
}

function calculator(num1, num2, callback) {
  return callback(num1, num2);
}

console.log(calculator(5, 3, add)); // Output: 8
console.log(calculator(5, 3, subtract)); // Output: 2
```

In this example, we define two simple arithmetic functions `add` and `subtract`. The `calculator` function takes two numbers and a callback function as arguments. It calls the callback function with the given numbers and returns the result.

When we call `calculator(5, 3, add)`, the `add` function is passed as the callback. The `calculator` function executes the `add` function with the arguments `5` and `3`, which returns the sum of the two numbers (`8`).

Similarly, when we call `calculator(5, 3, subtract)`, the `subtract` function is passed as the callback. The `calculator` function executes the `subtract` function with the arguments `5` and `3`, which returns the difference between the two numbers (`2`).

This example demonstrates how higher-order functions can be used to encapsulate reusable logic and make code more modular. It allows us to pass behavior (functions) as arguments, providing flexibility and enabling code to be more expressive and adaptable.
Use cases of AI
Published: 2023-06-05 17:50:12

**Digital assistance**: Google Assistant, Amazon Alexa, Apple, Siri, Microsoft Cortana, Samsung Bixby, etc. Which could help in controlling simple devices, play music/videos, set timers/reminders, open applications, read notifications, etc

Personal Driver: has 5 levels: level 1 being driver assistance (cruise control), level 2 being partial automation (Tesla autopilot), level 3 is conditional automation (Audi traffic jam pilot), level 4 is high automation ([defunct] Google's Firefly pod-car) this level does not include pedals or steering wheels and could be control automatically under _most_ condition, lastly is level 5 which is Full automation basically a more advance version of level 4 but works under _every_ condition

Item management: One notable example is Amazon sorting facility in which computers take customer orders and decide where to route merchandise, the robots act as mules carrying the pallets and inventory around the warehouse and human are only responsible for the "last mile" problem by handpicking the items and delivering it

Others applications involve smart homes, researching development, gaming, movie making, data analysis and more.
Apple's Vision Pro: Stepping Into the Future of Spatial Computing
Tags: ios, swift, mobile, development
Published: 2023-06-05 21:58:53

Guess what? Apple has just dropped something HUGE. They've unveiled their latest creation - the "Vision Pro" VR headset, and it's not just a headset, it's a groundbreaking leap into the future of spatial computing! So, buckle up, let's dive in!

Check this out first: https://twitter.com/tim_cook/status/1665806600261763072

---

## What's the Big Deal About Vision Pro?

Spatial computing? What's that, you ask? Well, it's all about blending digital content with your physical space. With Vision Pro, you navigate this digital world with your eyes, hands, and voice. Imagine being able to rearrange your digital workspace or create a to-do list with just a glance or a wave of your hand. Sounds like something out of a sci-fi movie, right? But guess what? It's now a reality!

---

## Cool Features to Look Out For:

Let's take a moment to appreciate some of the cool features of this bad boy:

1. **See and Understand:** The Vision Pro comes equipped with advanced cameras and sensors that provide clear visuals and can understand your surroundings. This isn't just any VR; it's an all-new level of interaction.

2. **Stunning Display:** Get ready for a visual feast because Vision Pro delivers more pixels than a 4K TV to each eye. Yes, you heard right!

3. **Capture and Relive:** Vision Pro lets you capture 3D spatial photos and videos, so you can relive those special moments like never before. How cool is that?

4. **New Apps:** There's a whole new world of apps designed just for the Vision Pro, along with your favourite iPad and iPhone apps. Your favorite apps are about to get a major upgrade.

5. **Personal Theater:** And here's the best part - with Vision Pro, any room can be your personal theater with immersive sound and high-quality visuals. Movie night just got a major upgrade!

---

## What Does This Mean for You?

The Vision Pro isn't just for fun and games; it's also a game-changer for professionals. Imagine making your meetings more interactive, collaborative, and meaningful, all from the comfort of your home or office. The possibilities are endless!

---

## Join Me on This Exciting Journey:

I can't tell you how excited I am about this. In fact, I'm so excited that I'm diving headfirst into iOS development, particularly in the AR/VR space.

And here's the really exciting part - I'm putting together a close-knit, ambitious community of folks who are as excited as I am and want to learn this technology with me, from scratch. We have plenty of time before the headset launches next year, and who knows? This community could be the next big thing in tech!

If you're as thrilled as I am and want to join me on this journey, don't be shy, reach out to me on [Twitter](https://twitter.com/yatendrakumar27) or [LinkedIn](https://www.linkedin.com/in/yatendra2001/)! 

Let's shape the future of tech together!

---

## Want to Know More?

For more details about the Vision Pro, check out Apple's official page here: [Apple Vision Pro](https://www.apple.com/apple-vision-pro/)

Until next time, stay tuned for more exciting updates!
ATS - Apache Traffic Server
Published: 2023-06-05 21:51:21

<div align="center"><img src="https://upload.wikimedia.org/wikipedia/commons/6/68/Apache_Traffic_Server_Logo.svg" height="177"></div><br />
	
O **Apache Traffic Server (ATS)** é um servidor de proxy reverso e de encaminhamento modular de alto desempenho, geralmente comparável ao Nginx e ao Squid. Foi criado pela Inktomi, e distribuído como um produto comercial chamado Inktomi Traffic Server, antes da Inktomi ser adquirida pelo Yahoo!.

Pouco depois que o Yahoo! lançou a fonte TS para o Apache como um projeto Apache Incubator em julho de 2009, um editor convidado na publicação on-line do Yahoo! O Static afirmou que o Yahoo! usa TS em produção para servir mais de 30 bilhões de objetos por dia em sites como a página inicial do Yahoo! e Yahoo! Sports, Mail and Finance.

Em 21 de abril de 2010, a placa Apache aceitou o Traffic Server como um TLP, graduando o projeto fora da incubação.
Let Keyword in javascript
Tags: javascript, webdev, programming, tutorial
Published: 2023-06-05 21:49:22

In JavaScript, the `let` keyword is used to declare variables with block scope. Variables declared with `let` are limited in scope to the block (enclosed within curly braces) in which they are defined, including nested blocks. Here's an explanation of how `let` works:

**1. Block Scope:**
   Variables declared with `let` have block scope, which means they are only accessible within the block in which they are defined. This includes if statements, loops, and any other block of code. For example:

   ```javascript
   function greet() {
     if (true) {
       let message = "Hello";
       console.log(message);
     }
     console.log(message); // Throws ReferenceError: message is not defined
   }

   greet(); // Output: Hello
   ```

   In this example, the `message` variable is declared with `let` inside the `if` block. It is accessible within the block and can be used for logging. However, trying to access the variable outside the block will result in a `ReferenceError` since it is not defined in that scope.

**2. Block-level Declarations:**
   Variables declared with `let` are not hoisted to the top of their scope like variables declared with `var`. They are only accessible after they have been declared. For example:

   ```javascript
   console.log(name); // Throws ReferenceError: name is not defined
   let name = "John";
   console.log(name); // Output: John
   ```

   In this case, attempting to access the `name` variable before it is declared will result in a `ReferenceError`. The variable needs to be declared before it can be used.

**3. Shadowing:**
   Variables declared with `let` can "shadow" variables with the same name in outer scopes. This means that the inner variable takes precedence over the outer variable within its block. For example:

   ```javascript
   let count = 5;

   if (true) {
     let count = 10;
     console.log(count); // Output: 10
   }

   console.log(count); // Output: 5
   ```

   In this example, there are two `count` variables, one declared in the outer scope and another declared in the `if` block. The inner `count` variable shadows the outer `count` variable within the block, so the value of `count` logged inside the block is 10. Outside the block, the outer `count` variable retains its value of 5.

**4. Redeclaration:**
   Unlike variables declared with `var`, variables declared with `let` cannot be redeclared in the same scope. Attempting to do so will result in a `SyntaxError`. For example:

   ```javascript
   let count = 5;
   let count = 10; // Throws SyntaxError: Identifier 'count' has already been declared
   ```

   In this case, the second declaration of `count` using `let` causes a `SyntaxError` because the variable has already been declared in the same scope.

The `let` keyword introduced block scoping in JavaScript, providing more predictable scoping behavior and reducing the chances of accidental variable redeclaration and hoisting-related issues. It is generally recommended to use `let` instead of `var` for declaring variables within block-level scopes.
Ruby - Conhecendo o método zip
Published: 2023-06-05 21:45:21

Esses dias estava pesquisando sobre a classe _Array_ em **Ruby**, e me deparei com um método bem bacana para fazer de maneira menos penosa o merge entre arrays e assim podermos fazer algumas operações com eles.

```
a = [45, 13, 90]
b = [30, 9, 180]
c = []

a.zip(b) { |x, y| c << (x < y) }
print c
=> [false, false, true]
```
Nesse bloco de código pergunto se cada elemento do _array_ _a_ é menor do que cada elemento do _array_ _b_, e salvo a resposta(booleano) dentro do _array_ _c_.

Podemos também, somar os elementos do _array_, confiram abaixo:

```
a = [45, 13, 90]
b = [30, 9, 180]
c = []

a.zip(b) { |x, y| c << (x + y) }
print c
=> [75, 22, 270]
```
Nesse outro bloco, o processo é o mesmo, no entanto, estamos somando.

Se precisarmos somente mesclar o elementos e inserir novos valores, é simples:

```
a = [14, 54, 60]
b = [23, 44, 12]

[20, 30, 40].zip(a, b)
print c
 => [[20, 14, 23], [30, 54, 44], [40, 60, 12]]
```

E é isso, achei interessante e resolvi compartilhar com a comunidade. ;)

**Referências:**
[Ruby-Doc.org](https://ruby-doc.org/core-2.7.0/Array.html#method-i-zip)

[RubyGuides](https://www.rubyguides.com/2017/10/array-zip-method/)

[APIdock](https://apidock.com/ruby/v2_5_5/Enumerable/zip)
The 13th day of the 100 days of code challenge
Published: 2023-06-05 21:00:45

Sadly, I had to take a quick break due to a busy school week. School comes before anything and this was because I had a lot to catch up on, and a better planning of my time will sure prevent this in the future.

I'm already planning on practicing a bit during the summer vacation and learning some new things before they're taught in the next school year to make sure I have enough time to do what I want to do, which is program.

But enough of that.

Programming-wise, I have a school project that is about making a site about a leader of your choosing that contains simple authentication and a dashboard for admins. No tokens, no anything. This I don't consider part of the challenge, although the CSS is looking pretty pretty good. For that I am proud.

Working on a quick side project, an iOS app that involves recording, working with text-to-speech and speech-to-text services, LLM's, and all the fun stuff in an introductory fashion yet super useful. All these things are unimaginably powerful.

I am not at all ashamed to say that ChatGPT is certainly my coding buddy, I do my best to talk to him just like I would talk to a colleague and ask questions that are spot-on and solve specific problems, to not let it take over the problem solving element of the journey. Especially breaking things down into smaller tasks.

I've kept my reading habit consistent, already at page 120 and went on a walk with a friend today after having studied and coded a bit, I feel like this is essential especially if the topics of conversation are engaging yet effective for one's improvement of mindset. For this, the right people are needed.

The last week was super stressful catching up on a lot of math I missed and that's why I bailed for a bit on the programming, but it never left my mind and only taught me that I need to manage my time better.

That's it for today,
Happy coding everyone!
Are you cream of the tech crop?
Tags: career, startup, webdev, community
Published: 2023-06-05 21:17:45


Teqo aims to bridge the gap between exceptional talent and cutting-edge organisations. 

Our platform will provide a dynamic space for developers to showcase their skills, connect with visionary companies, and embark on transformative projects that shape the future.

We want to foster a vibrant community of tech enthusiasts who value collaboration and diversity. 

Be among the first to showcase your skills to potential employers using the Teqo interactive digital profile and repository. Join the waitlist to be part of the beta trial https://teqo.digital/

We can't wait to embark on this journey with you!

Team Teqo 🚀
Journey into the Mind: Unveiling the Secrets of Self through an Interactive Python Game
Published: 2023-06-05 20:16:48

Have you ever felt the incessant ringing in your head, blurring the lines between reality and illusion? Do you yearn to understand the depths of your own mind, to confront the enigma of your existence? If so, join me on an extraordinary adventure into the depths of self-discovery. In this blog post, we unveil a Python-based interactive game that invites you to embark on a captivating journey, where uncertainty becomes your compass and the truth lies shrouded, waiting to be discovered.


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


My Python game, crafted with meticulous attention to detail, transports players into a world of intrigue and introspection. Through an immersive storyline, thought-provoking dialogues, and unpredictable encounters, the game ignites a sense of curiosity within each player. Powered by the elegance of Python's object-oriented programming, the game features carefully structured classes for the player and enemy characters. These classes bring to life captivating elements such as health management and sanity loss, adding depth and realism to the gaming experience. Furthermore, functions for input validation, text typing animation, and text coloring enhance the visual presentation, ensuring a seamless and captivating journey into the unknown.

Code on GitHub: https://github.com/dueselder/minds_oddysey/tree/main

Conclusion:
Embark on an extraordinary adventure of self-discovery with our Python-based interactive game. Allow the immersive storyline, intriguing choices, and captivating narrative to guide you through the labyrinthine corridors of your own mind. Uncover the hidden truths that lie within, challenging your beliefs, and inspiring personal growth. By harnessing the power of Python, we have created an experience that blurs the boundaries between fiction and reality, inviting you to embrace the enigma of your existence.

Take the first step into the unknown and experience the transformative power of Python in crafting immersive and introspective games. Your journey awaits—venture forth and unveil the secrets that lie within your own mind.
One more thing - Apple's push on web apps on macOS
Tags: webdev, webapp, news, discuss
Published: 2023-06-05 19:55:56

The Conclusion of WWDC2023 Keynote: Apple's Unexpected Emphasis on Websites and Web Apps on macOS

With the recent conclusion of the highly anticipated WWDC2023 keynote, the internet is abuzz with discussions about Apple's latest Mac computers, chips, and the innovative Vision Pro. 

---

However, amidst all the excitement surrounding these groundbreaking advancements, there's one aspect that seems to have slipped under the radar: Apple's renewed focus on websites and web apps for macOS.

Although I haven't had the opportunity to experience it firsthand, the concept certainly piques my interest.

Apple had previously introduced web apps on iOS, which garnered significant attention and widespread adoption. However, at some point, Apple seemed to lose momentum and halted progress in this domain. Developers were left in a state of limbo as Apple imposed restrictions on web app functionality and even obscured the "Add to home screen" button.

Now, with their latest push for macOS, Apple is taking a different approach — one that promises seamless integration without the need for any special configurations or implementations on the part of website owners.

On the surface, this approach appears promising, as it eliminates the need for website owners to implement custom solutions to ensure compatibility.
However, on the other hand, it raises concerns about relinquishing control over website layout and user interface (UI) and user experience (UX).

Naturally, I'm filled with curiosity about this development and eager to explore it further. 
I'm interested in hearing your thoughts on the matter.
Does this announcement resonate with you?
Do you find the idea appealing, or does it evoke feelings of apprehension and discontent?

---
Picture by [Firmbee.com](https://unsplash.com/@firmbee?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) at [Unsplash](https://unsplash.com/de/fotos/eMemmpUojlw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
Day-1/60 #SDESheetChallenge
Tags: programming, tutorial, sdesheetchallenge
Published: 2023-06-05 19:54:33

day-27/100 5th June [env day special]  , Ib -2q, Coding ninja - 3q, LC-5q, CF-2q || Development - stopped js mastery dashboard and now following another mern dashboard 7 h , social media mern app upcoming