teleren/devto huggingface dataset:
🦙 Mistral 7B & Ollama: LLMs 💏 Apache 2.0 Open Source on small hardwares
Tags: ai, opensource, python, beginners
Published: 2023-10-19 20:25:36

## 💭 About

I recently felt on this news:

{% embed https://techcrunch.com/2023/09/27/mistral-ai-makes-its-first-large-language-model-free-for-everyone/ %}

The two key points that kept my attention were:

> _the model was released under the `Apache 2.0 license`,..._

and

> _`Mistral 7B` is a further refinement of other “small” large language models like `Llama 2`, offering similar capabilities (according to some standard benchmarks) at a considerably smaller compute cost_

Then a few weeks later the release of the ["GenAI Stack"](https://neo4j.com/press-releases/neo4j-docker-ollama-langchain-genai-launch/):

{% twitter 1711407364459413547%}

👉 So I started to look around... and **find the benefits I could take out of these tools.**

## 💭 Then & now

Actually my only two options were:

- **Use my OpenAI account** and use [`gpt-3.5-turbo`](https://platform.openai.com/docs/models/gpt-3-5) flavours or [`gpt-4`](https://platform.openai.com/docs/models/gpt-4) to achieve custom projects (and share my data with OpenAI)
- **Use Kaggle GPUs** resources & play with resources for free... still with the need to share (at least temporarly my resources) with Kaggle

## 🎯 What we'll achieve

With these two announcements, **I wondered what I could achieve locally on my own hardware**:

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

👉 This blog post is dedicated to the **unboxing of this stack and the amazing  perspectives it unleashes... and why Open Source matters.**

## 🍿 Demo

{% youtube uq2Myz4uYkU %}

## 💡 Load any custom model into `ollama`

Below a short an easy trick on how to install a finetuned custom model into `ollama` : [`jackalope-7b`](https://huggingface.co/openaccess-ai-collective/jackalope-7b) (a fine tuned version of [`Mistral-7B`](https://huggingface.co/mistralai/Mistral-7B-v0.1)).

{% youtube 3BnnsQCmgLo %}

## 🔖 Bookmarks

- [🦙 `ollama.ai`](https://ollama.ai/)
- [🌬️ `mistral.ai`](https://mistral.ai/)
- [📢 `Mistral 7B` announcement](https://mistral.ai/news/announcing-mistral-7b)

More about GenAI stack

{% twitter 1713983398396526657 %}
MR VU - CEILING FAN FOR RICH PEOPLE, ART OF WIND
Published: 2023-10-19 19:45:14

https://mrvufan.tw MR VU specializes in the design and manufacturing of ceiling fans✔️ Our main goal is to create and maintain the highest quality for our customers✔️ which is why all of our fans are created here in Taiwan✔️✔️✔️
+886988760631
contact@mrvufan.tw
49-2, Ln, No. 520, Section 1, Shenlin Rd, Daya District, Taichung City, Taiwan
https://www.scribd.com/user/697609893/MR-VU
https://www.twitch.tv/mrvufantw/about
https://www.ultimate-guitar.com/u/mrvufantw
https://www.veoh.com/users/mrvufantw
What do front-end developers think of no-code DataViz tools?
Tags: database, javascript, tooling, discuss
Published: 2023-10-19 19:38:36

If you're tasked with connecting to a product database and presenting data in charts, embedded for users. 

Is something like Tableau, Looker, Mode, etc. just too complex to work with? Or would they not even be considered?

How would you approach this, say if you had a medical records platform and you needed to create dashboards that stated how many records have been created, the demographics of the patients, the region those patients were seen, and statistics on a subset of the answers to 30 of the questions in the medical forms they were asked questions about?

Build from scratch or use some third-party platform?

I'm asking about Tableau, Looker, Mode, because they seem to be focused more on the Business User, rather than the developer/engineer audience.

Does anyone have any thoughts on this? 🤔
Exploring Open Source AI/ML and Sustainable Data Storage: Day 1 at Open Source India Conference
Tags: opensource
Published: 2023-10-19 19:26:17

Imagine stepping into a world of innovation, where technology enthusiasts gather to discuss, share, and learn about the latest trends in open-source technology. That's precisely what Day 1 of the Open Source India Conference offered. We were there, and let me tell you, it was an enlightening experience. We attended some of the key sessions and workshops, where industry experts shared their wisdom and insights.

**Open Source AI/ML – AWS and India Opportunity**


![aws](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7nm3ci7r9diix3ed4cts.jpeg)
Dr. Biswajit Mohapatra's session got us off to an exciting start. He talked about the potential of open-source Artificial Intelligence and Machine Learning (AI/ML) solutions, particularly in India, and how AWS is a game-changer in this arena. He opened our eyes to the endless opportunities for innovation and growth.

**Harnessing The Power of Text Embedding**


![clari](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bj6vf8cgh1zg0fkvy5tc.jpg)
Next up was Srikar Yekollu, who took us on a journey through the world of text embedding, a fundamental technique in natural language processing. We dived deep into the applications of text embedding and saw how it's making a real impact in AI and data science.

**Green Data Storage in the Open Source World**

![pure storage](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4uy0tniw8l04jss943a1.jpg)

Ajeya Motaganahalli had an important message to share: the importance of green data storage. In a world that's pushing for sustainability, his insights on eco-friendly data storage solutions and open-sources thought-provoking.

**Embracing Inner Sourcing Towards Open Sourcing**

![Siemens](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4pmpqienefq5rwn1hdoh.jpg)

{% twitter 1714907737581322658 %}
The speakers from Siemens Technology Services wrapped up the morning session with an inspiring talk about "inner sourcing." They discussed how fostering collaboration and innovation within organizations can drive open-source development and create a culture of sharing and growth.

**Workshop: Mastering Site24x7: A Hands-On Monitoring Workshop**


![ws1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pgc94719lxquk3h34tju.jpg)
![ws2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wqenmsvsamrbafd7q2wh.jpg)

{% twitter 1714974198547026380 %}
The day concluded with a hands-on workshop led by Sarath Chandran. Here, we delved into the world of monitoring tools using Site24x7. It was a valuable opportunity to learn essential monitoring techniques, vital in today's tech-driven world.


Also got some swags 
{% twitter 1715047794564858280 %}
How to Login/Authenticate Terraform via Azure CLI
Published: 2023-10-19 19:24:14

There are multiple ways for authenticating.

1. [Authenticating to Azure using the Azure CLI](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/azure_cli) 
2. [Authenticating to Azure using Managed Service Identity](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/managed_service_identity)
3. [Authenticating to Azure using a Service Principal and a Client Certificate](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_certificate)
4. [Authenticating to Azure using a Service Principal and a Client Secret](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_secret)
5. [Authenticating to Azure using a Service Principal and Open ID Connect](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_oidc)

> Official Terraform documentation recommends authenticating via Azure CLI when using locally and They recommend using either a Service Principal or Managed Service Identity when running Terraform non-interactively (such as when running Terraform in a CI server) 

**Pre-requisites**
1. Install Azure CLI

## Step 1: Login 
Login using powershell and use command `az login`

## Step 2: Microsoft prompt
A prompt is opened in browser, and you can login using the credentials. 

## Step 3: PowerShell Json Response
Notice you will get below response after authorization.
```
PS C:\Users\Jasper> az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "3hfdg567-4564-6u78-k898-asdgesr34523",
    "id": "3hfdg567-4564-6u78-k898-asde8sr34523",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Azure subscription 1",
    "state": "Enabled",
    "tenantId": "3hfdg567-4564-6u78-k898-asdgesr34523",
    "user": {
      "name": "pemail@gmail.com",
      "type": "user"
    }
  }
]
```
Announcing… Tasky!
Tags: wasp, webdev, news
Published: 2023-10-19 18:53:27

Hey everyone! I have huge news. A new product! It is built with Wasp and is a top of the line to-do web app (maybe mobile, but that would be after launch by a significant amount). Right now, we are aiming for a launch in about… 6 weeks, but server issues could get in the way. More updates will be coming along soon! Best, TCG.
How create a recursive function using Javascript
Tags: javascript, webdev
Published: 2023-10-19 18:50:16

Hey, it’s Huferr.

Today, you’re gonna learn what is a recursive function and how to create one using Javascript.

### 🔎 What does recursion mean?

“In computer science, recursion is a method of solving a problem where the solution depends on solutions to smaller instances of the same problem. Recursion solves such problems by using functions that call themselves from within their own code.” - Wikipedia

Well, let's make it simpler to understand.

Basically, it means that you’re going call the function that you’re creating inside the function itself, at the same time of its creation.

To declare a recursive function, you need to use the function inside its own block of code:

```js
const func = () => {
  func() // Whaaaat???
}
```

⚠️ WARNING: You need to be careful, because you can easily create an infinite loop.

### ⚙️ Coding

Time to practice!

Let’s create a simple recursive function called `countDown`.

It will be responsible for displaying a count down in the console, starting from a given number.

Let’s set its argument as `fromNumber`. Then, console.log() it.

```js
const countDown = (fromNumber) => {
  console.log(fromNumber)
} 
```

Now, we need to decrease that number. So we can `console.log()` it again with a smaller one.

To achieve that, let’s create a constant called `nextNumber`, which has `fromNumber`, decreased by `1`.

```js
const countDown = (fromNumber) => {
  console.log(fromNumber)

  const nextNumber = fromNumber - 1
} 
```

Great, now we’re going to create a simple condition: If `nextNumber` is `greater` than `0`, let’s keep decreasing and displaying it in the console.

To do that, we can simply call this exact function (`countDown`) inside itself, passing `nextNumber` as its parameter.

And here we create the recursion:

```js
const countDown = (fromNumber) => {
  console.log(fromNumber)

  const nextNumber = fromNumber - 1

  if (nextNumber > 0) {
    countDown(nextNumber)
  }
} 
```

That’s it! You’ve created your first recursive function. 

To test it, Let’s call the function, passing the number `5` as the argument and reload the console.

Great, here are the results:


![Results](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zv0p2byr2202p358j4nm.png)


You can see that we have a controller for the Loop (or recursion), which is the condition:

```js
if (nextNumber > 0) {
  countDown(nextNumber)
}
```

Here, we’re telling the function to only call itself when `nextNumber` is `greater` than `0`. Other than that, It **won’t** be called.

If we remove that condition, we will be creating an **infinite loop**. A situation where your function continues calling itself without stopping.

### 🧠 Overview

- Recursive functions are those that call themselves within their own block of code;

- Need to be careful not to create infinite loops (function being called without stopping. Always add a validation;

Thanks for reading this article.

-- _**The Huferr**_!

Follow me on:

📹 Youtube => https://www.youtube.com/@thehuferr
🧵 X/Twitter => https://twitter.com/the_huferr
Balloon expanded Intracranial Stents Market Size, Type, segmentation, growth and forecast 2023-2030
Tags: business, marketing, growchart
Published: 2023-10-19 18:34:43


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ktf7zcvsx4exa70badxr.png)
Balloon expanded Intracranial Stents Market
The Balloon expanded Intracranial Stents Market is expected to grow from USD 685.00 Million in 2022 to USD 989.15 Million by 2030, at a CAGR of 4.70% during the forecast period.

Get the Sample Report:
https://www.reportprime.com/enquiry/sample-report/10499[](https://www.reportprime.com/enquiry/sample-report/10499)

Balloon expanded Intracranial Stents Market Size
Medtronic
Stryker
MicroVention(Terumo)
Abbott
Balt

Buy Now & Get Exclusive Discount on this 
https://www.reportprime.com/enquiry/request-discount/10499[](https://www.reportprime.com/enquiry/request-discount/10499)

Balloon expanded Intracranial Stents Market Segment Analysis
The market for Balloon expanded Intracranial Stents is primarily driven by factors such as the increasing incidence of intracranial aneurysms and an aging population that is more at risk for such conditions. Additionally, advancements in stent technology and increased access to healthcare are expected to drive growth in the market. The use of intracranial stents as a minimally invasive alternative to traditional surgical treatments is also expected to contribute to market growth.

Current trends in the Balloon expanded Intracranial Stents market include the development of stents that are more flexible and easier to deploy, as well as the use of advanced imaging techniques to improve accuracy during stent placement. Increasing investment in research and development is also a trend that is expected to continue, as manufacturers strive to create stents that are more effective and affordable.

The major challenges faced by the Balloon expanded Intracranial Stents market include the high cost of treatment, as well as the potential for complications associated with stent placement. The need for trained professionals and specialized equipment to perform stent procedures is also a challenge, particularly in areas with limited access to healthcare.

The main findings of this report suggest that the Balloon expanded Intracranial Stents market is expected to experience significant growth in the coming years, driven by factors such as technological advancements and increasing incidence of intracranial aneurysms. To capitalize on this growth, manufacturers are advised to focus on product innovation, as well as strategies for expanding access to healthcare and increasing affordability. Additionally, investment in research and development is recommended to further improve the safety and effectiveness of intracranial stent procedures.

This report covers impact on COVID-19 and Russia-Ukraine wars in detail.

Purchase This Report:
https://www.reportprime.com/checkout?id=10499&price=3590[](https://www.reportprime.com/checkout?id=10499&price=3590)

Market Segmentation (by Application):
Ischemic Stroke
Hemorrhagic Stroke

Information is sourced from www.reportprime.com
Learn Django Easily in 2023
Tags: webdev, django, python, developer
Published: 2023-10-19 18:31:18

🚀 You can learn Django easily 😄

Here's all you need to get started 🙌

1. Models
   - Defining Models
   - Fields and Data Types
   - Model Relationships

2. Views
   - Function-Based Views (FBVs)
   - Class-Based Views (CBVs)
   - URL Routing

3. Templates
   - Template Rendering
   - Template Tags and Filters

4. Forms
   - Creating Forms
   - Validating Forms
   - Form Handling

5. Django Admin
   - Building an Admin Interface

6. Authentication and Authorization
   - User Authentication
   - Custom User Models
   - Permissions and Groups

7. Django ORM
   - Querying the Database
   - Aggregation and Filtering
   - Migrations

8. Middleware
   - Custom Middleware
   - Request and Response Processing

9. REST APIs with Django
   - Building APIs with Django REST framework

10. Django Packages and Libraries
    - Django Packages for Enhanced Functionality

11. Testing in Django
    - Writing Tests
    - Test Cases and Test Runners

12. Django Project Structure
    - Project vs. App Organization
    - Settings and Configurations

13. Deployment
    - Deploying Django Applications
    - Hosting and Server Setup

14. Best Practices
    - Coding Conventions
    - Security Considerations

15. Optimization
    - Caching and Performance Tuning
    - Profiling and Debugging

16. Version Control
    - Git and GitHub for Django Projects

17. Django and Frontend Frameworks
    - Integrating Django with React/Vue/Angular

18. Internationalization and Localization
    - Building Multilingual Apps

19. Websockets with Django
    - Real-time Features

20. Task Queues
    - Using Celery for Background Tasks

21. Security
    - Protecting Django Applications

22. Django REST Framework
    - Building RESTful APIs

23. CI/CD with Django
    - Continuous Integration and Deployment

24. Scalability
    - Scaling Django Applications

25. Django Packages and Libraries
    - Popular Packages and Libraries

26. Community and Resources
    - Forums, Blogs, and Django Communities

27. Contributing to Open Source
    - How to Contribute to Django

28. Best Practices and Code Quality
    - Writing Clean and Maintainable Code

29. Upcoming Django Features
    - Stay Updated with the Latest Django Updates

Best resources to learn Django quickly
. Documentation
   - Official Django Documentation: djangoproject.com

2. YouTube Channels
   - Corey Schafer: https://shts.me/l6I6k
   - JustDjango: https://shts.me/zCSiw
   - Django for Beginners: https://shts.me/bA58
3. Books
   - Django for Beginners: djangoforbeginners.com
   - Two Scoops of Django: twoscoopspress.com

1. Documentation
   - Official Django Documentation: djangoproject.com

2. YouTube Channels
   - Corey Schafer: youtube.com/c/Coreyms
   - JustDjango: youtube.com/c/JustDjango
   - Django for Beginners: https://lnkd.in/dyFqpr4C

3. Books
   - Django for Beginners: djangoforbeginners.com
   - Two Scoops of Django: twoscoopspress.com

Feel free to add anything I missed. 🤝
Игра Тока Бока
Published: 2023-10-19 18:30:34

[Игра Тока Бока](https://bluedroid.ru/3290-toka-boka-vzlom-vse-otkryto.html) В чем суть токи Боки?
Игра "Тока бока - построй город" стимулирует воображение и позволяет создавать собственный мир. Построй свой город. Игровой мир разделен на четыре зоны: квартира, школа, ферма и курортный отель. Суть игры заключается в том, чтобы строить город и собирать персонажей мира токи боки
Built a little web game in Vue :)
Published: 2023-10-19 17:54:14

Hi,

just got my #sideproject to an acceptable level: [A little spaced repetition game to practice basic Egyptian Arabic sentences](https://basic-arabic-sentences.koljapluemer.com/). 

Would love feedback on the project itself or on [the code](https://github.com/koljapluemer/basic-arabic-sentences). Cheerz!
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-19 17:50:53

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
AI: My New Sidekick in Software Development
Tags: ai, softwaredevelopment, webdev, design
Published: 2023-10-19 17:48:31

Lately, I’ve been reflecting on how AI has morphed the way I work with computers and technology. It’s kinda like having a new sidekick who’s got my back, allowing me to dive into bigger ideas and system designs without getting bogged down by language syntax.

Debugging, for instance, has become less of a headache. AI helps in catching those small syntactic errors like a missing semicolon, but it goes a step further by spotting logical mistakes and offering troubleshooting advice. It’s definitely shaved hours off my debugging time, making the development process smoother and way more enjoyable.

Over the last three weeks, I found some cool ways to optimize my workflow with AI. One area where it’s been a game-changer is design. I’m a coder, not a designer, so figuring out the right style and colors was always a bit of a struggle. Now, AI helps me with styling, color picking, and even learning CSS. It’s like having a design-savvy friend who’s there whenever I need advice.

I’ve also tapped into AI for research and brainstorming. It’s amazing how it can help you think outside the box and come up with creative solutions. Plus, it’s been a fantastic tool for interview prep. I set it up to act like an interviewer, throwing coding questions my way without giving away the answers. It’s a great way to stay on my toes and prep for real interviews.

I also dabbled in using AI for generating different images to visualize designs. It’s a neat way to get a fresh perspective and refine the aesthetic aspect of my projects.

In a nutshell, harnessing the power of AI has seriously upped my game as a developer. With the right knowledge, it’s amazing how much you can boost your development experience. So, if you haven’t yet, I’d say it’s high time to invite AI into your coding toolkit!
I will share my favourite props in my next post!
Coding in Costume! Join Our Halloween Costume Contest! 👻🎃
Tags: meta, watercooler, discuss
Published: 2023-10-19 17:44:00

'Tis the season to be scary, and what could be more chillingly delightful than a Halloween Costume Contest in our phenomenal developer community? It's time to unchain your creativity and reveal your coding spirit 👻 like never before! Muahahaha!

---

### 📸 How to Participate

- Dress Up: Get into the Halloween spirit and put together your most creative, tech-themed, or just plain spectacular costume.
- Snap a Photo: Take a snapshot of yourself wearing your fantastic Halloween attire.
- Share in the Comments: Post your photo in the comments section of this announcement. Don't forget to tell us a bit about your costume and what inspired it!

---

### 🏆 Prizes

![Pictures of 4 Halloween Badges!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/74kyibpl2y78h7cibnb6.jpg)

- 1st Place: The costume with the most ❤️ (hearts) from our awesome community will win the prestigious title of **Ghostly Genius** and receive a coveted digital badge for their profile!
- 2nd Place: Our second-place winner will be dubbed **Halloween Hacker** and also receive a digital badge.
- 3rd Place: The third-place winner will earn the title **Web Weaver** along with their badge.
- All participants will receive the charming **Costumed Coder** badge as a token of their spirited involvement in our Halloween coding celebration!

---

### 🗳️ Voting

Voting is simple! Just ❤️ (heart) the costumes you think are the best and most creative. You can vote for multiple costumes!

---

📆 Deadline
The contest will run until November 2. After that, we'll tally up the ❤️ (hearts) and announce our winners!

---

So, fire up your imagination, and let's make this Halloween a hauntingly fantastic coding celebration! Don't miss your chance to win these exclusive badges that will make your profile shine like a ghostly apparition in the moonlight.

Remember, it's all about having a fang-tastic time and showing off your wicked creativity. We can't wait to see your boo-tiful costumes!👾