teleren/devto huggingface dataset:
Doodle 0.10.0 can host React, supports WebAssembly and much more
Tags: webdev, javascript, opensource, kotlin
Published: 2024-02-20 16:28:56

Doodle [0.10.0](https://github.com/nacular/doodle/releases/tag/v0.10.0) has been released. This is a major update that brings some key improvements including the following.

* [Hosting React and other web components](https://nacular.github.io/doodle/docs/whatsnew#hosting-arbitrary-html-elements)
* WebAssembly Support
* [More powerful Desktop apps](https://nacular.github.io/doodle/docs/whatsnew#multi-window-apps)
  * Multi-window Support
  * Native Window Menus
  * Native Window Context Menus
* [More powerful key-event pipeline](https://nacular.github.io/doodle/docs/whatsnew#key-event-filters-and-bubbling)

[Doodle](https://nacular.github.io/doodle) helps you create beautiful, modern apps entirely in [Kotlin](http://kotlinlang.org). Its render model is intuitive yet powerful, making it easy to achieve [complex UIs](https://nacular.github.io/doodle-tutorials/docs/introduction) with pixel level precision and layouts. This simplicity and power applies to everything from user input to drag and drop. Doodle lets you build and animate anything.
Berkshire Computer Recycling
Published: 2024-02-20 16:17:18

With our company, computer and IT asset disposal in Newbury is simple. You supply the old computers, mobile phones and laptops and we do the rest. Most electronics are accepted whether they are broken or are now an outdated model. We are WEEE compliant and offer free collection services for Maidenhead, Slough and the Berkshire area. There is really no reason you should not choose to recycle your antiquated technology with Berkshire Computer Recycling.


[recycle computer equipment](http://berkshire-computer-recycling.co.uk)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7sc23a92q1pt6kjvg9xz.jpg)
The Best Digital Marketing Company In Ambala
Tags: digitalworkplace
Published: 2024-02-20 16:15:03


Digital marketing uses digital technologies like websites, social media, emails, apps and ads to promote products and services online. The main goals are to connect with customers, build brand awareness, generate leads and drive sales. As we enter 2024, digital marketing is more important for businesses than ever before. From SEO to social media and beyond, digital marketing services help companies strengthen their brand, generate leads, and drive sales.
With consumers spending more time online and on mobile devices, digital channels have become integral for brands to reach and engage their target audiences. 

Some key trends in digital marketing include:

- The continued rise of social media marketing. Platforms like Facebook, Instagram,Twitter, and You tube are where consumers are spending their time. Brands need a solid social strategy with both paid advertising and organic content creation. Video content in particular is hugely popular across social platforms.

- The need for omnichannel marketing. To provide a seamless experience, brands must have a unified marketing strategy across platforms like mobile, web, in-store, etc. Using data and analytics to target consumers based on their omni-channel behaviour is key.

TEEMERS is a forward-thinking IT solutions company that offers comprehensive digital marketing support to enable business growth. Their services include website design and development, search engine optimization, paid advertising, email marketing, and social media management. With in-depth analytics and reporting, TEEMERS tracks campaign performance and refines strategies for maximum ROI. As a trusted technology partner, they stay on top of digital marketing trends to deploy innovative solutions tailored to each client's business goals. With TEEMERS' digital marketing expertise, companies can elevate their online presence, connect with more customers, and thrive in today's digital world.

The marketing landscape will keep rapidly evolving. Brands that keep up with digital trends, utilize data, and provide relevant omnichannel experiences will have big advantages this year. Agile marketing strategies centred around constantly understanding and reaching customers will be essential.

For more info, visit our website : https://www.teemers.in/
1480. Running Sum of 1d Array(leetcode)
Tags: beginners, java, dsa, leetcode
Published: 2024-02-20 15:16:04


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

## Introduction
Here the problem says, what we have to do is, we have to store the sum of values form 0 to running index. Like if we want is ans[3] = num[0]+num[1]+num[2]+num[3]; same goes for other index of ans.

## Examples

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


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


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

##Steps
- ans[0] = num[0]
- take a for loop, which starts from 1 and ends to nums.length
- ans[i] = ans[i-1] + num[i]
- return the value.

## Code

```
class Solution {
    public int[] runningSum(int[] nums) {
        int [] runningSum = new int[nums.length];
        runningSum[0] = nums[0];
        for(int i = 1; i< nums.length; i++){
            runningSum[i] = runningSum[i-1]+nums[i];
        }
        return runningSum;
    }
}
```

#Output

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x566f4t2odhh6ukqub67.png)
A cliché rusty project built using rust
Tags: rust, tutorial, programming, beginners
Published: 2024-02-20 15:50:09


So, it's been a week, and I have been relearning **Rust**. Hopefully, without falling into many pitfalls, I was able to cover the basics of **Rust** in a detailed and explanatory manner.
 
By incorporating fundamental concepts such as enums, structs, tuples, vectors, loops, strings, types, match, etc., I have successfully created a simple yet functional project—a task manager designed to operate in the command line interface (CMD).

The project building was fun, mainly because there weren't many confusing parts or head-scratching doubts or errors that I fell into. I believe it's mainly because of having a good foundation to stand upon. I have recorded the live coding of the project as a document.

The main aim of this blog is to keep track of my Rust progress, so that later when I look back, I can see the steps I have climbed in my learning journey. Rust is a tough language, but dedicating appropriate time and having good resources to learn will always be beneficial.

And a simple piece of advice to fellow readers: if you learn anything, always try to build something with that knowledge, even if it's small—no problem. It doesn't have to be perfect, bug-free, or very attractive. Just build; it will boost your confidence along with your motivation to code. Try to document the journey, take up challenges one by one. Likewise, you could build a strong foundation, and that foundation will support you forever, even if whatever AI comes to take over.

So, thank you, and have a great day! Don't forget to write at least a line of code today 😂. Below, I will provide the link to the live coding of the project, along with the GitHub repository link. If you have time and interest, do check it out.

Github repo - [Link](https://github.com/JoelJaison394/Rust_Taskmanager)
{% embed https://youtu.be/FfmfWk_kOA4 %}
How do you choose the best job offer out of many..?
Published: 2022-11-05 06:24:36

Creating a solid resume, preparing for interviews, and getting the job offer is one side of the story, and the other side is when you have multiple offers to decide, which job offer to accept, and which company to join.

A lot of time times, we are under tremendous pressure, and confusion unable to make the right decisions on which job offer to accept and which company to start working with.

We try to consult with friends, seniors, peers, family members, and others

We have seen a lot of people posting in communities, and forums and asking other people which is a better company out of the two.

It's like asking what should I eat between pizza, burger, salad, and rice. People who love rice would say rice is good, likewise, you would get answers depending on their personal choices.

Don't make others' choices your choice.

Try to ask yourself what you need, what you enjoy doing, what gives you a sense of accomplishment, what environment you would like to work and others.

Define what you really are and what you really need. Your one identity is important. Your identity should define what your requirements and needs are.

So coming to the original problem of how do you choose one out of the two job offers you might have?

I have created a sample spreadsheet that can help you here.

Use this spreadsheet and enter all your requirements/needs/preferences, and give a score of 1 if it meets your requirements. Please don't ask here or someone if you should put a score of 1 or 0, you have to think and enter.

Finally, whichever company gets the highest score, join that company since that would meet your overall requirements and keep you happy

Another tip is you need to talk with the hiring company to get clarity for all your questions so that you can easily answer them here.



![Job Offer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7jj4gdbxz8ehhr1gdh1t.jpeg)
Coding Cosmos Exploration
Tags: webdev, javascript, java, adobeexperiencecloud
Published: 2024-02-20 15:30:25

Title: "#WebDev, #JavaScript, #Java: Exploring Adobe Experience Cloud"

Introduction:
Hello, Developers! 🚀 Join me on a journey through #WebDev, #JavaScript, #Java, and the transformative Adobe Experience Cloud. Let's dive in!

Content:

1. #WebDevChronicles: Crafting Digital Experiences
   - Explore the impact of web development on creating digital experiences.

2. #JavaScriptJive: Frontend Dynamics
   - Celebrate JavaScript's role in shaping interactive frontend experiences.

3. #JavaJuggernaut: Backend Powerhouse
   - Delve into Java's stronghold in backend development.

4. #AdobeExperienceCloud: Elevating Digital Experiences
   - Introduce Adobe Experience Cloud and discuss the role of Java and JavaScript.

Conclusion:
In the code cosmos of #WebDev, #JavaScript, #Java, and #AdobeExperienceCloud, innovation knows no bounds. Ready for this coding odyssey?

Call to Action:
👉 Share your experiences and insights about WebDev, JavaScript, Java, or Adobe Experience Cloud in the comments! Use hashtags #CodingJourney and #DigitalInnovation. Let's connect in the world of coding possibilities! 🌐💡🚀
How to Import Data from the Command Line
Tags: dbforge, devart, sql, sqlserver
Published: 2024-02-20 15:19:44

Here, we'll look at the command line as a tool for automating data imports. To accomplish this, we will utilize the Data Import Wizard integrated into dbForge Studio for SQL Server to build a template file containing all the import settings. Afterward, we will be able to import data just by mentioning the name of this file on the command line, bypassing the need to navigate through each page of the wizard. 

Read the article to get more info: https://www.devart.com/dbforge/sql/studio/import-sql-server-data-through-command-line.html
Introduction to Ruby on Rails
Tags: ruby, rails, webdev, programming
Published: 2024-02-20 15:03:31

<h2>What is Ruby on Rails?<h2>

<p>
Ruby on Rails is a web development framework written in the Ruby programming language. It follows the MVC (Model-View-Controller) architectural paradigm, which means it separates the business logic of data presentation and manipulation into three distinct components: Model, View, and Controller.
</p>

<h3>Model</h3>
<p>
In the Model we have the layer responsible for data manipulation. Models represent the real-world objects that your application interacts with and are typically mapped to tables in a relational database. Rails uses a library called ActiveRecord to map objects into relational databases.
</p>

<h3>View</h3>
<p>
In View we have the layer responsible for presenting data to the user. Views are typically composed of HTML code with Ruby code embeds to dynamically render data. Rails uses the ERB (Embedded Ruby) template engine for this, allowing you to write HTML with Ruby embedded.
</p>

<h3>Controller</h3>
<p>
And in the Controller, we have the layer that handles HTTP requests and decides how to respond to them. Controllers are responsible for receiving requests from the browser, interacting with models to fetch or manipulate data, and rendering the appropriate views to be sent back to the browser. They contain the actions (methods) that respond to different HTTP requests.
</p>

<p>
In addition to these three core components, Ruby on Rails also provides a number of other functionalities, including:
</p>

<h3>Routing</h3>
<p>
Rails offers a routing system that maps URLs to controller actions. This allows you to easily define your application's routes and specify which controller actions should be called for each URL.
</p>

<h3>Helpers</h3>
<p>
Helpers are auxiliary methods that can be used in views to generate HTML in an easier and cleaner way. They help keep views cleaner and more organized.
</p>

<h3>Migrations</h3>
<p>
Migrations are a way to version the database schema. They allow you to define database schema changes in Ruby files, which can be versioned along with the rest of your source code and automatically applied to the database when your application is updated.
</p>

<h3>Scaffolding</h3>
<p>
Rails offers a tool called scaffolding that can automatically generate the basic code for create, read, update, and delete (CRUD) resources. This can speed up the initial development of your application by providing a functional starting point.
</p>

<h3>Conclusion</h3>
<p>
These are just some of the main concepts and features of Ruby on Rails. Overall, Rails is designed to be a powerful and productive framework for web development, allowing developers to quickly build robust and scalable web applications.
</p>
Introdução ao Ruby on Rails
Tags: ruby, rails, webdev, programming
Published: 2024-02-20 15:00:19

<h2>O que é Ruby on Rails ?<h2>

<p>
Ruby on Rails é um framework de desenvolvimento web escrito na linguagem de programação Ruby. Ele segue o paradigma de arquitetura MVC (Model-View-Controller), o que significa que ele separa a lógica de negócios da apresentação e da manipulação de dados em três componentes distintos: Model, View e Controller.
</p>

<h3>Model</h3>
<p>
No Model temos a camada responsável pela manipulação de dados. Os modelos representam os objetos do mundo real com os quais sua aplicação interage e geralmente são mapeados para tabelas em um banco de dados relacional. O Rails utiliza uma biblioteca chamada ActiveRecord para mapear objetos em bancos de dados relacionais.
</p>

<h3>View</h3>
<p>
Em View temos a camada responsável pela apresentação dos dados ao usuário. As views são geralmente compostas de código HTML com incorporações de código Ruby para renderizar dinamicamente os dados. O Rails utiliza o mecanismo de template ERB (Embedded Ruby) para isso, permitindo que você escreva HTML com Ruby embutido.
</p>

<h3>Controller</h3>
<p>
E no Controller, temos a camada que lida com as requisições HTTP e decide como responder a elas. Os controllers são responsáveis por receber as requisições do navegador, interagir com os modelos para buscar ou manipular dados e renderizar as views apropriadas para serem enviadas de volta ao navegador. Eles contêm as ações (métodos) que respondem às diferentes requisições HTTP.
</p>

<p>
Além desses três componentes principais, o Ruby on Rails também fornece uma série de outras funcionalidades, incluindo:
</p>

<h3>Roteamento</h3>
<p>
O Rails oferece um sistema de roteamento que mapeia URLs para ações de controller. Isso permite que você defina facilmente as rotas da sua aplicação e especifique quais actions de controller devem ser chamadas para cada URL.
</p>

<h3>Helpers</h3>
<p>
Helpers são métodos auxiliares que podem ser usados em views para gerar HTML de forma mais fácil e limpa. Eles ajudam a manter as views mais limpas e organizadas.
</p>

<h3>Migrations</h3>
<p>
As migrações são uma forma de versionar o esquema do banco de dados. Elas permitem que você defina as mudanças no esquema do banco de dados em arquivos Ruby, que podem ser versionados junto com o restante do seu código-fonte e aplicados automaticamente ao banco de dados quando sua aplicação é atualizada.
</p>

<h3>Scaffolding</h3>
<p>
O Rails oferece uma ferramenta chamada scaffolding que pode gerar automaticamente o código básico para criar, ler, atualizar e deletar (CRUD) recursos. Isso pode acelerar o desenvolvimento inicial da sua aplicação, fornecendo um ponto de partida funcional.
</p>

<h3>Conclusão</h3>
<p>
Esses são apenas alguns dos principais conceitos e recursos do Ruby on Rails. No geral, o Rails é projetado para ser uma estrutura poderosa e produtiva para o desenvolvimento web, permitindo que os desenvolvedores construam rapidamente aplicações web robustas e escaláveis.
</p>
Joblib
Published: 2023-06-25 07:52:32

## Joblib
Joblib is a set of tools to provide lightweight pipelining in Python. In particular: transparent disk-caching of functions and lazy re-evaluation (memoize pattern) easy simple parallel computing.

### Why it is used?

- Better performance
- reproducibility
- Avoid computing the same thing twice
- Persist to disk transparently

### Features
Transparent and fast disk-caching of output value
Embarrassingly parallel helper
Fast compressed Persistence

### Importing libraries
```
from joblib import Memory,Parallel, delayed,dump,load
import pandas as pd
import numpy as np
import math
```

### Data Creation
```
my_dir = '/content/sample_data'
a = np.vander(np.arange(3))
print(a)
output: [[0 0 1]  [1 1 1]  [4 2 1]]
```

### Memory
```
mem = Memory(my_dir)
output: [[ 0  0  1]  [ 1  1  1]  [16  4  1]]
sqr = mem.cache(np.square)
b = sqr(a)
print(b)
output: [[ 0  0  1]  [ 1  1  1]  [16  4  1]]
```

### Parallel
```
%%time
Parallel(n_jobs=1)(delayed(np.square)(i) for i in range(10))
output: CPU times: user 2.85 ms, sys: 0 ns, total: 2.85 ms
Wall time: 3 ms
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
%%time
Parallel(n_jobs=2)(delayed(np.square)(i) for i in range(10))
output: CPU times: user 42.7 ms, sys: 762 µs, total: 43.5 ms
Wall time: 75.9 ms
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
%%time
Parallel(n_jobs=3)(delayed(np.square)(i) for i in range(10))
output: CPU times: user 92.9 ms, sys: 8.93 ms, total: 102 ms
Wall time: 151 ms
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
```

### Dump
```
dump(a,'/content/sample_data/a.job')
output: ['/content/sample_data/a.job']
Load
aa = load('/content/sample_data/a.job')
print(aa)
output: array([[0, 0, 1],        [1, 1, 1],        [4, 2, 1]])
```

### References

Documentation: https://joblib.readthedocs.io
Download: https://pypi.python.org/pypi/joblib#downloads
Source code: https://github.com/joblib/joblib
Report issues: https://github.com/joblib/joblib/issues

Source: 
https://medium.com/r/?url=https%3A%2F%2Fgithub.com%2FSharathHebbar%2FData-Science-and-ML%2Ftree%2Fmain%2Fcodes%2Fjoblib
Dev.to: Where the Bots Outnumber the Devs? (But Seriously, Let's Discuss)
Tags: discuss, devto, news, webdev
Published: 2024-02-20 14:58:32

What's the deal with all these Dev.to posts lately? They're just these clickbait lists of the "hottest" tech, courses, or languages. Feels super fishy, you know? And what's even weirder, every single post has every single reaction! Come on, who actually clicks every heart and unicorn on every single thing they see? It's like they're trying too hard or something. Am I the only one thinking this?


> Example: one post I found
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3aczk15p12wr1pltktpw.png)


I may be buggin', but the whole thing smells a bit fishy. Maybe it's just me, but what do you think?  Are these posts legit or what? And what's up with all the reactions? Let's chat!
Book of Rage Sample Loops Free Download
Tags: audioloops, samplemusic, audiobank, multiplatform
Published: 2024-02-20 14:53:59

In the dimly lit corners of a world shrouded in mystery and unrest, "**[Book of Rage](https://audioloops.com/product/book-of-rage/)**" emerges as a gripping tale that delves into the depths of human emotion and societal upheaval. Authored by an enigmatic writer, the book serves as a profound exploration of the turbulent landscapes that shape the human soul. The narrative unfolds in a realm where shadows dance with secrets, and the echoes of past injustices reverberate through time. Against this backdrop, the protagonist, a reluctant hero burdened by the weight of his own anger, embarks on a journey fueled by a thirst for justice and a desire to unearth the truth that lies hidden in the recesses of his own existence. **[The Book of Rage](https://audioloops.com/product/book-of-rage/)** is not just a physical tome within the story; it is a metaphorical repository of the protagonist's tumultuous emotions, a chronicle of the collective fury of a society grappling with its demons. The author weaves a tapestry of emotions that resonate with readers on a visceral level, taking them on a rollercoaster ride through the highs and lows of human experience. As the protagonist navigates a world on the brink of collapse, the lines between right and wrong blur, and morality becomes a shifting landscape. The narrative is punctuated by intense confrontations, both internal and external, as the protagonist battles not only external forces but also the demons within. The prose is a symphony of words, invoking vivid imagery and evoking a myriad of emotions. The author's mastery lies in creating a world that is both fantastical and relatable, where readers find themselves questioning their own capacity for rage and the boundaries of empathy. Book of Rage" is not merely a story; it is a mirror reflecting the complexities of the human condition. It invites readers to explore the depths of their own emotions, challenging preconceived notions and leaving an indelible mark on the soul long after the final page is turned.