teleren/devto huggingface dataset:
Optimizing Older PCs to Learn How to Code
Tags: beginners, learning, linux
Published: 2023-12-11 23:32:42

Do you have an old clunky laptop and you want to learn programming, this is a simple guide to help you utilize the little resources available to you.

When I started learning how to code, I had a Dell Inspiron with 2GB RAM and an old processor that I don’t even remember again. Following the guides listed below helped me use my Inspiron to get my first-ever paid job until I was able to afford a better laptop. 

N.B: This might not be the best experience but it’s always greater than no experience.

1. **Discard Windows and install Linux**: 
   Lighter variations of Linux are known to operate functionally on old PCs. Giving up Windows and your favourite software might be hard but we are running on limited resources and we need the best output as much as we can. 

    Moreover, many Linux distros are beginner-friendly and can play your favourite media type. 
Select a user-friendly and lightweight Linux distribution for beginners. Consider options like Ubuntu-based distributions (Lubuntu, Xubuntu) or Linux Mint with the XFCE desktop environment for a familiar and efficient experience.

    Here’s an installation guide on some recommended options
    - Lubuntu’s [installation guide](https://manual.lubuntu.me/stable/1/1.3/installation.html)
    - Xubuntu’s [installation guide](https://xubuntu.org/download/)
    - Linux Mint’s [installation guide](https://linuxmint-installation-guide.readthedocs.io/en/latest/)
    - Linux Lite’s [installation guide](https://www.linuxliteos.com/manual/install.html)
    
2. Turn off desktop effects and animation

3. Use lightweight software alternatives

4. **Manage Startup Application**: 
   Manage your startup applications by removing unused applications to improve speed time and save resources

5. **Browser Optimization**: 
   Web browsers can be resource-hungry. Removing or disabling unnecessary browser extensions can be one way to improve your browser extensions. 
You can switch to light browsers like Midori or research ways to optimize settings in popular browsers.

## Conclusion

I hope you find this helpful and that it points you in the right direction. You don’t have you wait for a better PC, you can start now with what you’ve got. 

I am available to help, you can always reach me via:

X (Twitter): https://twitter.com/zt4ff

LinkedIn: https://www.linkedin.com/in/oluwasegun-kayode-07879b1aa/
Day 851 : Period.
Tags: hiphop, code, coding, lifelongdev
Published: 2023-12-11 23:30:15

_liner notes_:
- Saturday : So, there was a basketball game at the college so we didn't broadcast over the radio waves, but we still did the show online. Regardless if we are on air or not, we'll still be broadcasting on the website. Period. Had a great time as usual. The recording of this week's show is at https://kNOwBETTERHIPHOP.com

![Radio show episode image of an AI generated image of Santa in a pickup truck with an alligator in the back with the words Dec 9th 2023 #CiteYourSource](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e3lfm7rlryx8sq28c2v3.jpg)

- Sunday : Did my study sessions at https://untilit.works Got to do some research and built a POC that I think I can use for my side project. Pretty productive day.

- Professional : Today was a pretty good way to start the week. Had a meeting with my manager and I got to show them some stuff I filled out and a demo of an application I'm refactoring to use a new SDK. Got some feedback and they showed me what the native SDK demo was doing so I could match features. Had another meeting. Then worked on completing the new changes to my demo application.

- Personal : So, after my investigation from Sunday, I think I may have found something that I can use to be able to build dashboards with for future projects. This is good because my next side project will have different roles that have totally separate capabilities. So I'm thinking I can build out the basis with authentication and all of that and then use that foundation to build out the individual dashboards. We'll see how that goes. There's other functionalities that I want to get worked out before that.

![View from up high in a forest with a lot of trees looking at the other side with with a waterfall in the center](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ob4m7yigmw4g1y71yvk.jpg)

Tonight, I'm going to eat dinner and work my way through a list of features I want to have for my side project. Up next is to create a POC that when I upload an image or link to an image (will probably be using Cloudinary) and get the image back with the background removed. I'll see how long that will take because I want to watch "Dr. Who" before going to bed.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube NKEtAq4tEvI %}
Release 4.0
Tags: webdev, javascript, github, opensource
Published: 2023-12-11 23:04:01

I have created the pull request to merge all the work that I have contributed for the website Creation for Games_portal https://github.com/bratergit/webSiteCreation 

**1. Personalized Bliss:**
Powered by the 'ipify' API and navigator.geolocation, the site now knows you better than ever. Enjoy a personalized touch with content tailored to your location, creating a gaming haven just for the users.

**2. Effortless Navigation:**
Navigate through our gaming universe effortlessly with the addition of new links – "Games," "Reviews," and "News." I've fine-tuned the interface using HTML and CSS, making content discovery a breeze.

**3. Dynamic Games Galore:**
The "Games" page comes alive with dynamic listings, thanks to JavaScript magic. Each visit promises a fresh showcase of interactive gaming content, keeping the excitement levels soaring.

**4. Reviews Hub Unveiled:**
Our "Reviews" page is now your go-to destination for honest and insightful gaming experiences. Contribute your thoughts using our user-friendly forms and be part of a vibrant community sharing the passion for gaming.

**5. Stay in the Loop with News:**
Never miss a beat with our revamped "News" page. I've incorporated APIs and data scraping techniques to deliver real-time updates on game releases and industry buzz. Stay informed, stay in the gaming loop.

**6. Community Connection:**
Feel the pulse of the gaming community as we gather insights using data analytics. Engage in discussions, share experiences, and immerse yourself in a community that speaks your gaming language.

Currently, the pull request is awaiting the owner's approval. I've verified that all the updated code is functioning smoothly. No comments or feedback have been provided yet. Awaiting the green light for the merge. 🟢
#BTC Analysis for December 12, 2023
Published: 2023-12-11 22:53:00


After hitting the yearly high at $44,712, #Bitcoin experienced a brief pause in its upward trend, culminating in a correction. Within hours, the leading cryptocurrency fell by 8%, with a trading volume of 13,500 BTC on the hourly chart.

Although the overarching trend remains bullish, buyers need to consolidate above the $42,700-$43,300 seller zone to continue the uptrend, potentially retesting the $43,800 level and the yearly high.1116

The local trend is currently downward, with the asset seemingly poised for further decline.

If Bitcoin's downward trajectory persists, the next targets for sellers could be a retest of the $40,300 level and a test of the psychological threshold of $40,000. Failure to hold this level could signal the onset of a global bearish trend.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wrtqmbkyvpbj2m66x2j9.png)
Neues von AFFiNE, dem all in One-KM-System - Notion-, Trello- u. Miro- und Monday-Konkurrenten
Tags: webdev, python, programmers
Published: 2023-12-11 22:50:32

Neues von AFFiNE, dem all in One-KM-System - Notion-, Trello- u. Miro- und Monday-Konkurrenten :: Der OpenSource-Konkurrent von all den o.g. Projekten wie Online-Whiteboards (Miro) Note-Taking (Notion) und weitere Produktivitätstools  (zb. Confluence, Trello oder Monday) er befindet sich in einem stetigen Entwicklungsprozess

Auf Twitter erfahrt ihr stets das allerneueste - und hier passiert sehr viel!

Die neue  web version sie kommt auf ​https://app.affine.pro am 15  Dezember - also in wenigen Tagen. 


fast jeden  Tag gibt es Entwicklungen: 


Our web version will be moved to ​https://app.affine.pro on December 15, 2023. You can continue using https://insider.affine.pro until then. We know data migration can be inconvenient – sorry for any disruption!
Visit our blog for details: https://affine.pro/blog/affine-web-version-upgrade-12-2023
Change is for a smoother user experience. Your data is vital, and we're ensuring a seamless transition.
For any questions or issues, please reach out. Thanks for your understanding and patience.❤️

was noch ist neu erfährt man immer hier:  https://twitter.com/AffineOfficial :: 

learn more about AFFiNE
#AFFiNE #Beta #OpenSource 
#BuildInPublic #Privacy #Local
#Notion #Miro #Monday #Alternative

wichtige Infos, links und Quellen 

Demo:- AFFiNE Community: https://community.affine.pro/home

täglich werden auf Twitter alle Neuigkeiten vorgestellt  https://twitter.com/AffineOfficial - Architektur- und Designprinzipien von AFFiNE: AFFiNE, die Next-Gen Knowledge Base: Notion- in Open-Source :: AFFiNE, die Next-Gen Knowledge Base: Notion-, Miro- & Monday-Alternative in Open Source  AFFiNE, das neue System, das Miro (collaborating-whiteboard) und Notion (note-taking) und Monday resp. Trello. (Projektmanagement) ablösen will - es kündigt an die Integration der Features beider Systeme zu bieten - und quelloffen zu sein. Eine tolle Sache - notion hat nicht mal ein eigenes Diskussionsforum - sieht man mal von reddit ab...Alle neuen Daten u. Entwicklungen kann man auf dem Twitterkanal verfolgen - oder auf der Live-Communiy-Seite.

 weitere Links, Quellen, Ressourcen::

ein Artikel auf Medium:  https://medium.com/@affineworkos/affine-the-next-gen-knowledge-base-to-notion-and-miro-403f0afd9fba 

Social Links:
AFFiNE Community: https://community.affine.pro/home
GitHub: https://github.com/toeverything/AFFiNE
Discord: https://discord.gg/Arn7TqJBvG
Telegram: https://t.me/affineworkos
Twitter: https://twitter.com/AffineOfficial
Reddit: https://www.reddit.com/r/Affine
Medium: https://medium.com/@affineworkos
Release 0.4 Planning
Tags: github, opensource, javascript
Published: 2023-12-11 22:42:47

In this blog post, I'll discuss three GitHub issues I'll be working on related to ESLint, integrating map and fixing time display format in open source projects for my release 0.4.

### [Issue 1: Time Display Problem](https://github.com/ShivamMadlani/chatApp/issues/6)

**Problem:**
The time displayed under messages in the application is not rendering correctly. This issue aims to address the timestamp inconsistencies and ensure accurate and consistent display.

**Next Steps:**
To address this issue, my plan includes:

- Familiarizing myself with the project repository and need to do research on how can I 
- Review and refactor code responsible for rendering message timestamps. Ensure consistent and user-friendly timestamp formatting.
- Implement a real-time update mechanism for message timestamps. Utilize appropriate libraries or technologies for efficient real-time updates.
- Conduct thorough testing to confirm resolution. Verify accuracy and consistency of timestamps.
- Handle time zones for global users. Address visual inconsistencies or alignment issues in message display.

### [Issue 2: Adding Pick Up Location to the Campus Cart Project](https://github.com/hamitsehjal/CampusCart/issues/40)

**Problem:**
This is issue involve the implementation of the Google map from where the user can select the pick up location for their grocery pickup.

**Next Steps:**
To address this issue, my plan includes:
- Get familiar with Google Map API and Google cloud platform.
- How to add the Google Map into the application.
- Add the 3 pick up location for the grocery pick up.

### [Issue 3: lovasoa/whitebophir - Implementing ESLint and Resolving Errors ](https://github.com/lovasoa/whitebophir/issues/293)

**Problem:**
This issue involves implementing ESLint in the repository and addressing errors that may arise during the process. Also have to add ESLint job to the `CI.yml` file

**Next Steps:**
To tackle this issue, my approach includes:

- Researching the repository's current code quality and potential ESLint configurations.

- Integrating ESLint into the project and configuring it appropriately.

- Identifying and resolving any errors or warnings reported by ESLint.

- Collaborating with the repository maintainers and community to ensure the changes align with project goals.
Any STEM-themed gift or activity ideas for kids that aren't books?
Tags: discuss
Published: 2023-12-11 22:14:05

---
title: Any STEM-themed gift or activity ideas for kids that aren't books? 
published: true
description: 
tags: discuss
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-12-11 22:04 +0000
---

I welcome all your suggestions, ideally in the form of stocking stuffer sizes. 😀

But in seriousness any simple activity ideas for toddlers would be wonderful as well - something we could incorporate alongside the standard reading, drawing, singing, etc. 

Older kid stuff is also cool - always thinking about the future!
Unveiling the ConFoo Montreal 2024 Conference program!
Tags: conference, development, backend, frontend
Published: 2023-12-11 21:49:25

Ready to stay at the forefront of the industry? Mark your calendars for ConFoo Montreal 2024, happening from February 21 to 23!

With over [165 presentations](https://confoo.ca/en/2024/sessions), offered by local and international [speakers](https://confoo.ca/en/2024/speakers), ConFoo is a conference for Full-Stack developers covering everything from the backend to the frontend: JavaScript, PHP, Java, Dotnet, Security, Artificial Intelligence and much more.

It brings an outstanding diversity of content to expand your knowledge, increase your productivity and bring your development skills to the next level.

With a new schedule focused on and the latest news in cutting edge technologies, there’s a reason why attendees that come back from ConFoo says they learned more in these 3 days than in 3 years of college!

Secure your spot now and take advantage of a $100 discount by [registering before December 31st](https://confoo.ca/en/2024/register).
Adventofcode 🎄: Day 11 - Arrays
Tags: beginners, react, codenewbie, javascript
Published: 2023-12-11 21:38:32

Happy December 11th!! Let's see what we have for advent of code today....

**Arrays!!**

In Javascript, an array is a versatile global object (object that is accessible globally in any part of your code) designed for storing data. Arrays function as ordered collections or lists, accommodating zero or more data types. They employ numerical indices, starting from 0, to precisely access individual items within the array.

Numerous array methods are available in JavaScript, and one particularly powerful one in the context of React is the **.map()** method.

This method empowers you to execute a function on each element within the array, producing a new array as the outcome. In React, the **.map()** method finds a valuable application in creating lists dynamically.

**_Here is an example:_**

```
const myArray = ['kiwi', 'raspberry', 'orange'];

const myList = myArray.map((item) => <p>{item}</p>)
```
I hope that this short revision of arrays has helped, in the meantime...**KEEP CODING!!**
Explain AWS Lambda to your EC2 guy in 5 steps
Tags: serverless, aws, lambda, in5steps
Published: 2023-12-11 21:36:32



> About **in5Steps** series:
Designed for humans by keeping memorization in mind. [Read more](https://en.wikipedia.org/wiki/Miller%27s_law).

## Step 1: EC2 Instances vs. AWS Lambda

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

EC2 instances are like owning dedicated office spaces, where developers manage the infrastructure, scale manually, while AWS Lambda operates as flexible co-working spaces, where infrastructure management is abstracted, scaling occurs automatically, and developers focus solely on executing specific tasks with code functions.


## Step 2: Deployment and Scaling Differences

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

Deploying applications on EC2 involves configuring servers, managing load balancing, and manually scaling resources, whereas, with AWS Lambda, developers upload functions directly, allowing for automatic scaling and minimal configuration, adjusting resources based on incoming events or requests.


## Step 3: Cost and Resource Management

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

EC2 instances bill based on allocated resources, requiring manual scaling adjustments and steady cost regardless of usage, whereas AWS Lambda follows a pay-per-use model, charging only for function execution time, optimizing resource allocation and cost-efficiency.


## Step 4: Application Architecture

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

EC2-based architectures demand fixed structures with developers managing infrastructure, databases, and application logic, whereas AWS Lambda facilitates a modular, microservices-oriented approach, abstracting infrastructure concerns and enabling seamless integration with other AWS services.


## Step 5: Flexibility and Development Focus

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

EC2 development often involves juggling server configurations, diverting attention from pure code development, while AWS Lambda allows developers to concentrate solely on writing efficient, task-specific functions, eliminating server management burdens and streamlining development efforts.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f38laruhpyqnbut37z0q.jpg)
Unleash the Power of Gmail Integration for Developers
Published: 2023-12-11 21:34:24


Gmail is more than just an email platform. It's a powerful tool for developers to build apps that enhance user experience and streamline workflows.

Here's a quick overview of what you need to know:

- **Gmail integration**: Connect Gmail with other apps to access data, extend functionality, and automate tasks.
- **Benefits**: Increased efficiency, streamlined workflows, enhanced collaboration, improved decision-making, reduced app fatigue, and access to millions of users.
- **Types of integration**:
    - **Gmail API**: Powerful access, requires coding expertise and OAuth approval.
    - **Google Workspace Add-ons**: Seamless integration, limited UI capabilities and server-side development.
    - **Chrome Extensions**: Unconstrained UI, limited scope and security concerns.
- **Hybrid approach**: Combining Add-ons and API for best of both worlds.
- **Examples**: CRM integrations, project management tools, email marketing platforms.
- **Challenges**: Increased complexity, potential compatibility issues, and security concerns.
- **Aurinko**: Backend platform for Add-ons and Workspace apps, simplifying integration process.

Read the full article in the blog post: [Unleash the Power of Gmail Integration for Developers](https://www.aurinko.io/blog/gmail-integration/)
Don't use rAF with WebGPU (and canvas in general)
Tags: webgpu, webgl, javascript, performance
Published: 2023-12-11 21:14:17

So you want a pixel perfect rendering. You do a little bit of research and discover the [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) (RO) API with `device-pixel-content-box`. This enables setting of an integer number of screen pixels for images in canvas "swapchain".

What you also want is to run animations with a speed of screen refresh rate, using a familiar `requestAnimationFrame`(rAF).

Challenges arise in combining both APIs, each case presenting a downside:
- Rendering in rAF while resizing in RO results in an undesirable **black frame** effect.
- Rendering in rAF, resizing in RO, and rendering again resolves the issue but at the cost of rendering it **twice**!
- Attempting to optimize by saving size in RO for the next rAF introduces a one-frame **delay** on resize. The canvas image appears **stretched** during resizing.

As we can see, layout phase in browsers happens after the rAF, therefore we can't know in advance that size will change and suspend the rendering in order to do it in the ResizeObserver callback instead. 

Now, consider to stop using rAF for animations completely.
ResizeObserver has all the properties we want from rAF:
- Operates at the screen refresh rate.
- Pauses execution when the browser tab is invisible.
- Allows queuing for subsequent runs within its callback, even when no resizing is occurring.

So instead of conventional loop

```ts
function rafLoop() {
  device.queue.submit([cmdBuffer.finish()]);
  requestAnimationFrame(rafLoop);
}
requestAnimationFrame(rafLoop);
```

Do a ResizeObserver based loop

```ts
const observer = new ResizeObserver(roLoop);

function roLoop(resizeEntries: ResizeObserverEntry[]) {
  if (canvasEl.size !== resizeEntries[0]) {
    canvasEl.size = resizeEntries[0];
    // resize depth texture, etc
  }

  device.queue.submit([cmdBuffer.finish()]);

  // unobserve to trigger the callback
  observer.unobserve(canvasEl);
  observer.observe(canvasEl, { box: "device-pixel-content-box" });
}
observer.observe(canvasEl, { box: "device-pixel-content-box" });
```

That's it. Now we have a perfect rendering during resizing.
CRLF — The line break character
Tags: webdev, git, programming, beginners
Published: 2023-12-11 20:54:27

## Usecase 

Just yesterday, after i committed my lovely work on windows through vscode source control feature, I did a `git status` through wsl and then I find multiple files that are modified. So they are modified files in wsl terminal but not on powershell, not on git bash and certainly not on vscode. 

I did a `git diff` to investigate the issue and i find that all the lines in all files are highlighted in both versions except that they are the same. So why was git telling me there are changes when there was not, I wondered. 

I investigated the issue furthur through google and i found that the issue lies within the line break character which differs in windows from unix/unix-like systems.

## Line breaks (windows vs unix)

In unix, the line break character is the linefeed character `LF` but in windows it is both a carriage-return `CR` and a linefeed character, hence `CRLF`. 

By default, git commits whatever line character is in the text but when you turn on `core.autocrlf` in the repo or globally by `$ git config --global core.autocrlf true` what git does, is it will convert LF characters to CRLF when viewed on windows but it will convert CRLF to LF when you commit code. So the repo will have LF characters. 

This feature should always be turned on if you are working on windows. 

If you are on linux, you could do `$ git config --global core.autocrlf input` this will convert any CRLF characters to LF but not the other way around.