teleren/devto huggingface dataset:
Display A Text File In A Browser
Tags: html, javascript, webdev, leadership
Published: 2024-06-27 21:36:59

Sometimes It Come To Be That You Want To Allow A User To Select A File From Their Computer, And Have That Text File Rendered Into The Javascript.

It Happens. This Is The Internet.

This Is A Bootstrapping Example For Accepting And Displaying A Text File.

{% codepen https://codepen.io/theholyspirit/pen/JjqVVMY %}
Computer Vision Meetup: Leveraging Pre-trained Text2Image Diffusion Models for Zero-Shot Video Editing
Tags: computervision, ai, machinelearning, datascience
Published: 2024-06-27 21:33:47

Text-to-image diffusion models demonstrate remarkable editing capabilities in the image domain, especially after Latent Diffusion Models made diffusion models more scalable. Conversely, video editing still has much room for improvement, particularly given the relative scarcity of video datasets compared to image datasets. Therefore, we will discuss whether pre-trained text-to-image diffusion models can be used for zero-shot video editing without any fine-tuning stage. Finally, we will also explore possible future work and interesting research ideas in the field.

**About the Speaker**

[Bariscan Kurtkaya](https://www.linkedin.com/in/bariscankurtkaya/) is a KUIS AI Fellow and a graduate student in the Department of Computer Science at Koc University. His research interests lie in exploring and leveraging the capabilities of generative models in the realm of 2D and 3D data, encompassing scientific observations from space telescopes.

Not a Meetup member? Sign up to attend the next event:

https://voxel51.com/computer-vision-ai-meetups/

Recorded on June 26, 2024 at the AI, Machine Learning and Computer Vision Meetup.
World of Microsoft Advertising campaign
Tags: ai, azure, discuss, news
Published: 2024-06-27 21:32:01


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6wevzr9vczq3nkvpli2w.png)
Certainly! Let's dive into the world of Microsoft Advertising campaigns. 🚀

**1. Audience Campaigns:**
   - Audience campaigns leverage Microsoft AI to display compelling ads to your ideal audience across various web placements. These ads can appear on sites like MSN, Microsoft Start, Microsoft Edge, Outlook.com, and publisher partners. For more details, check out [What are audience campaigns?](https://help.ads.microsoft.com/apex/index/3/en-us/51016) and learn how to create an [audience campaign](https://help.ads.microsoft.com/apex/index/3/en-us/51016).

**2. Performance Max Campaigns:**
   - Performance Max campaigns focus on assets and allow you to manage campaigns easily. Optimize ads to reach the right audience at the right time across the entire Microsoft Advertising Network. Learn more about [Performance Max campaigns](https://help.ads.microsoft.com/apex/index/3/en-us/51016) and how to create one.

**3. Search Campaigns:**
   - Search campaigns display your ads to potential customers actively searching for your products or services. Microsoft Search Ads appear alongside search results on platforms like Microsoft Bing, AOL, Yahoo, DuckDuckGo, and more. Dive into [Microsoft Search Ads](https://help.ads.microsoft.com/apex/index/3/en-us/51016) and explore how to create a [search ad campaign](https://help.ads.microsoft.com/apex/index/3/en-us/51016).

**4. Shopping Campaigns:**
   - Shopping campaigns allow you to create product ads using imagery and data from your Microsoft Merchant Center store's product feed. These ads appear on search results pages. Get started with [Microsoft Shopping campaigns](https://help.ads.microsoft.com/apex/index/3/en-us/51016) and create product ads.

Remember to organize your campaigns into ad groups, confirm that everything is enabled, and check your payment method. If you need more guidance, explore the [Learning Lab](https://learninglab.about.ads.microsoft.com/training/training-certification/)
Open-source AI on-call developer
Tags: ai, incident, observability
Published: 2024-06-27 21:30:03

Hey guys, we’re excited to introduce to you what we’ve been working on for the past few months. Merlinn is an open-source AI on-call developer that lives in Slack. It can help you alleviate the pains of on-call developers by connecting to your favorite tools and pair with you to triage the incident. 

Our goal is to help companies reduce MTTR, keep your SLAs in check and improve the on-call experience. Checkout our repo for more information:
https://github.com/merlinn-co/merlinn

That's it! If you have any questions/feedback/thoughts, we'd love to hear them :)
Configuração do logging.php em Projetos Laravel
Tags: laravel, php
Published: 2024-06-27 21:16:56

O arquivo `logging.php` em projetos Laravel desempenha um papel crucial na definição de como as mensagens de log são processadas e armazenadas. Configurar corretamente este arquivo não apenas melhora a monitoração e depuração de erros, mas também contribui para a segurança e desempenho geral da aplicação.

## Introdução

No ecossistema Laravel, o `logging.php` é onde você configura os canais de log, níveis de log e como os registros de log devem ser tratados. Por padrão, o Laravel oferece configurações básicas que podem ser personalizadas para atender às necessidades específicas do seu projeto.

## Procedimentos 

### Configuração Básica

Ao acessar o arquivo `config/logging.php`, você encontrará um array associativo que define diferentes canais de log, como `stack`, `single`, `daily`, entre outros. Cada canal pode ser configurado com seus próprios níveis de log e handlers.

### Canais de Log

- **Single Channel**: Útil para ambientes de desenvolvimento, onde todos os logs são escritos em um único arquivo.
  
- **Daily Channel**: Recomendado para produção, onde os logs são rotacionados diariamente, mantendo os arquivos de log mais gerenciáveis.

- **Stack Channel**: Combina vários canais, permitindo que você envie logs para diferentes destinos simultaneamente, como arquivos, Slack ou e-mail.

### Personalização Avançada

Além dos canais padrão, o Laravel permite a criação de canais personalizados, como envio de logs para serviços de terceiros ou integração com sistemas de monitoramento externos.

## Conclusão

Configurar o `logging.php` de forma eficiente não apenas simplifica a manutenção e depuração de aplicações Laravel, mas também contribui significativamente para a identificação precoce e resolução de problemas. É fundamental revisar e ajustar as configurações de log conforme a escala e os requisitos do projeto.

Para mais insights sobre boas práticas de Laravel e soluções avançadas para problemas comuns, visite o [Site DevOps Mind](https://devopsmind.com.br) e explore nossas recomendações sobre gerenciamento de permissões e otimização de logs.
Confira também esta postagem sobre como resolver de forma definitiva um dos problemas mais comuns com o Laravel:
```
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: permission denied
```
[https://devopsmind.com.br/troubleshooting/resolver-erros-de-permissao-no-laravel/](https://devopsmind.com.br/troubleshooting/resolver-erros-de-permissao-no-laravel/)

---

Visite o [Site DevOps Mind](https://devopsmind.com.br) para mais artigos sobre Laravel, DevOps e melhores práticas de desenvolvimento.
I'm creating a link between West and East.
Tags: ai, relaxation, mandarin, javascript
Published: 2024-06-27 21:15:45

I'm creating a resource APP aimed at the 1 billion plus Mandarin speakers. I want it to focus on educating people about alternatives to eastern medicine that exploits our worlds limited natural resources.I instinctively sense that there is a market for Western types of relaxation such as Classical Music, Wine, high end foods (caviar, cheese and herbs) and products that are economically and environmentally sustainable. The Chinese LOVE certain aspects of the UK and US and I feel relaxation and "destressing" is a good entrance point. I can use AI to adequately translate English to Mandarin and vice versa but would love someone that is fluent in both languages because the app would be seamless then. Monetisation would involve advertising initially but ultimately the sale of high end produce and alternatives to unsustainable materials like Rhino horn. Education would be the entrance point but a vast selection of own brand vitamins and supplements the exit. Just persuading 1% of these people, I would estimate could account for up to half of all sales from supplements. Many of these people will not entertain anything refined so I would put emphasis on products hard to obtain in China like Manuka Honey. Instinctively I know this will work.
The beggining of my journey.
Tags: beginners, programming, discuss, learning
Published: 2024-06-27 21:09:35

hi guy, this is my first post ever in this social media, and from time to time I think about documenting my journey of learning how to code,my experiences and so on. So I ask you to empathize with me and that if you have tips for my growth, I will be immensely grateful. Now I'm on the way to learn JavaScript with the udemy course from Jonas Schmedtmann. At the moment I'm not sure which programming area I'm going to professionally, but I plan to learn about cloud computing, back-end development (Java, C#, i am still thinking about what lang to learn), networking and the basics of DevOps.
PSA: sorry abou any mistakes that i made, english it is not my first language.


I'm counting on you to help me on this academic and professional journey❤️🙌🏼
How To Install SQLite On Windows
Tags: sqlite, tutorial, howto
Published: 2024-06-27 21:07:58

Howdy, In This Article We Will See How To Install Sqlite On Windows OS.

### Installing Steps
1- Go To **[Sqlite Download Page](https://www.sqlite.org/download.html)** And Download `sqlite-tools-win-________.zip`

![sqlite website](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/21690mgjrymntbusg8rr.png)

.
2- Now Extract The zipped File Then Rename The Extracted Folder To `sqlite`

![Folder Content](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iepg3s4idgzgy0hn488s.png)

.
3- Move The `sqlite` Folder To This Path `C:\Program Files`
> You Can Put The Folder At Any Path You Like!

.
4- Open Windows Search And Type `Environment Variables` Then Click On It, And Add The `sqlite` Folder Path To The **Environment Variables Path** By Clicking On Environment Variables > Choose Path > New > Paste The Path > Ok.

![Adding Path To Environment Variables](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n7onw6tewd9ydie7xckw.png)
> You May Need To Restart Your PC If The sqlite Didn't Worked In The Last Step.

.

## Verifying The Installation
> Let's Make Sure That sqlite Is Installed And Working Properly.

Open command prompt `CMD` And Type:
```
sqlite3 --version
```


If You Got This Message Congrats! Installation Success:
![verifying installation](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gvk8om9io88jdqsl22xg.png)

<br>
**That's All, Thanks For Reading.
Please Follow Me For More Tutorials ❤️**
Unveiling Deep Nude: The Dark Side of AI and Its Applications
Published: 2024-06-27 20:50:27

**Unveiling Deep Nude: The Dark Side of AI and Its Applications**
The Rise of [Deep Nude](https://undressaiapp.pro)
In recent years, the emergence of Deep Nude technology has sparked widespread controversy and concern. This technology, powered by artificial intelligence (AI), has the capability to generate hyper-realistic nude images of individuals with just a few simple inputs. While the intention behind this technology may have started with innocent motivations such as artistic expression or entertainment, its misuse has raised serious ethical questions.
**
The Dark Side of Deep Nude**
One of the most pressing issues surrounding Deep Nude is its potential for misuse and exploitation. The ease with which this technology can create fake nude images of individuals without their consent poses significant risks, particularly in terms of privacy and consent. Such deepfake content can be weaponized to harass, blackmail, or defame individuals, leading to severe emotional distress and reputational damage.

**Ethical and Legal Implications**
The proliferation of [Deep Nude](https://www.deepnudeaitool.com/) raises important ethical and legal considerations. The creation and dissemination of non-consensual deepfake nude images constitute a violation of privacy and autonomy. In many jurisdictions, the distribution of such content may also constitute a criminal offense, further underscoring the need for robust regulation and enforcement mechanisms to combat its harmful effects.

**Potential Positive Applications**
Despite its dark side, Deep Nude technology also holds potential for positive applications. For instance, in the field of art and design, this technology can be used to generate realistic human figures for creative projects. Additionally, in the realm of fashion and beauty, Deep Nude has the capacity to revolutionize virtual fitting experiences, allowing consumers to visualize clothing and makeup in a more personalized manner.

**Safeguarding Against Misuse**
To mitigate the risks associated with [Deep Nude](https://undressaifree.pro), it is crucial for tech companies, policymakers, and society as a whole to implement stringent safeguards. This includes developing robust authentication mechanisms to verify the authenticity of digital content, establishing clear guidelines on the ethical use of AI-generated images, and educating the public about the dangers of deepfake technology.

**Conclusion****
In conclusion, Deep Nude represents a double-edged sword in the realm of AI technology. While it offers innovative possibilities for creative expression and personalization, its misuse can have detrimental consequences for individuals and society at large. By addressing the ethical, legal, and technical challenges posed by Deep Nude, we can harness its potential for positive impact while safeguarding against its dark side.
Front End Technologies
Tags: webdev, javascript, programming, react
Published: 2024-06-27 20:42:19

I'm a front end developer on an internship at https://hng.tech/internship.

I wish to improve my skills at react due to the fact that vanilla JavaScript can't be used to build scalable apps unlike react, to then advance to learning nextjs because the both have different features which you can find below 👇

ReactJS and NextJS are two distinct JavaScript tools used for crafting user interfaces, each with unique strengths and purposes.

ReactJS is a library that:

- Enables building reusable UI components
- Concentrates on the visual aspect (View) of the MVC model
- Excels at creating intricate, interactive UI elements
- Requires manual setup of routing and state management
- Offers high customizability and flexibility

NextJS, built upon ReactJS, is a framework that:

- Facilitates building high-performance, server rendered and statically generated React applications
- Encompasses the entire MVC architecture
- Optimizes building swift, scalable, and search engine-friendly web applications
- Includes integrated routing, state management, and server-side rendering capabilities

In essence:

- ReactJS suits complex UI component development with manual configuration
- NextJS excels at building fast, scalable, and SEO-optimized web applications with streamlined configuration.
You can join me at   https://hng.tech/premium to improve your skills and connect with a lot of developers like you.
JavaScript MMORPG - Maiu Online #babylonjs - Ep: 25 - Monsters AI System
Tags: babylonjs, mmorpg, indiegamdev, javascript
Published: 2024-06-27 20:38:48

Hello, 
Finally I finished work on first prototype of monsters AI module. Monsters have several states: IDLE, PATROL, DEAD, FLEEING, COMBAT.
Idle monsters are non active even when someone attack them. Patrolling ones are walking around and checking each 0.5s is they have someone to attack in a range if yes then they start chase target (combat state) and attack when in range. Dead are obvious and fleeing is triggered when monster is enough far away from the position where  it switched into combat state.
I also added death to the monsters after 120s they respawn.
Implementation have some bugs and AI it's just bunch of ungly if's but It enables further development and testing. I will go back to this after some time and try to impove it.

From the technical point of view it's designed in a way that monsters service is independent from the main engine loop. It can be deployed on separate machine, I hope this will very significantly unload main engine in the future, I'll be able to afford very inefficient AI implementation without compromising game performance.
Monsters are pretty much like players but are not connected by websocket's proxy but by internal api(redis pub-sub in future, right now I'm working on the mock for simplicity but have prepared redis and mocked implementation). 
Monsters service keep replicated state of the whole simulation and 'AI agent' is responsible for handling all monsters logic.


Hope You like it!

{% youtube 6jVQdxqfqc0  %}
Hi, I'm CyRil.exe
Tags: beginners, firstpost
Published: 2024-06-27 20:28:43

I didn’t ask to be passionate about Tech. This life chose me and now I just have to live with it, but honestly, I have no complaints.
Hi, I am CyRil and welcome to my first blog post. So I won't waste your time, I'll give you a rundown of what to expect.

This blog is mainly to track my progress and keep me accountable in my tech journey. I'll also sprinkle in some useful tech tips once in a while, but don’t hold me to that.

I was advised to start a blog by two separate people, who I’m pretty sure don’t know each other. So it must be a sign or a coincidence, your pick.

So who am I?

In tech, I am a Data Scientist, but outside of tech, I make music and write stories.

I’m currently a university student and my hobbies are reading novels, reading comics (manga), watching anime, watching eSports and listening to music. I also play sports (mainly basketball) and I workout. If I’m doing neither of those in my free time then I’m most likely binge watching YouTube.

I currently live on planet Earth and I am Nigerian. English is my first language but I also speak Russian at a comfortable level, Привет. Don’t expect any posts in Russian in the nearest future.

So, if blog posts about project progression with tips, rants and hopefully successes are for you then I hope you stick around.

I plan to post at least once a month and at most twice a month.
You can follow me on X (Twitter) at [here](https://x.com/CyRil_dot_exe) and I hope to see you later.
Back-of-the-envelope Estimation System Design
Tags: systemdesign, capacityestimation
Published: 2024-06-27 20:27:30

Back-of-the-envelope estimation is a technique used to quickly approximate values and make rough calculations using simple arithmetic and basic assumptions.

---


### Estimation Techniques



#### 1) Rule of Thumb → 

General principals applied to make good estimates. eg : 1 user generates 1MB of data on social media / day.

#### 2) Approximations → 

Rounding of complex calculations to powers of 10 or 2 to simply and get to the estimates easily. eg: 1 day = 10^5 seconds.

#### 3) BreakDown and aggregation → 

Breaking down bigger problems to smaller components and estimating them individually along with aggregating or combining them to reach the results. eg: Social media data = User Data + Multimedia Data + Metadata .

#### 4) Sanity check → 

Just having an overall check over the possibility of the estimates not varying a lot from reality is needed at last . For eg : The numbers achieved should match the original real life data.

---


### Types of Estimations 

#### 1) Load Estimations 

Designing a post generation social media platform.
Daily Active Users ( DAU ) → 100 Million
Avg. Posts → 10 per user per day
Total posts → 100 M * 10 = 1B post/day

Hence Request rate per second = 1B / 10^5 requests/second = 10000 req/sec.

#### 2) Storage Estimations 

Twitter Storage
DAU → 500 M
1 user = 3 tweets (avg)/day
1 tweet text ~ 250B 
1 photo ~ 200KB [10% contain photo]
1 video ~ 300MB [5% contain video]

Total storage/day ~ 1500M * (250B + 20KB + 15KB)
                  ~ 375 GB + 30TB + 225TB ~ 255TB

#### 3) Bandwidth requirements

- Estimate the daily amount of incoming data to the service.
- Estimate the daily amount of outgoing data from the service.
- Estimate the bandwidth in Gbps (Gigabits per second) by dividing the incoming and outgoing data by the number of seconds in a day.

#### 4) Latency Estimation

For eg. API consist of RestCall 1 , Rest Call 2 , Rest Call 3

Total Latency → 50ms + 100ms + 150ms ~ 300ms [ if it is sequential ]
              → max(50,100,150) ~ 150ms [ if it is parallel ]

#### 5) Resource Estimation

1 req ~ 10ms of CPU
total req ~ 10000req/sec
total cpu time ~ 10000 * 10 = 100000 ms/sec.
1 CPU can handle 1000ms/sec
Total CPU core = 100000 / 1000 = 100
Adult content POS
Published: 2024-06-27 20:02:12

Hey everyone,

I'm reaching out to see if any programmers are interested in collaborating on a new venture. Creating a payment processor specifically for adult websites. There's a significant gap in the market with minimal competition, and the adult film and adult content industry has a critical need for reliable payment solutions. Traditional POS systems often categorize these transactions as high risk, not due to the transactions themselves but because of the nature of the industry. This categorization leads to unnecessary complications and limitations. By developing a specialized payment processor, we can provide a stable, secure, and efficient solution tailored to this niche. If you’re interested in starting a company focused on POS systems for adult content, let’s connect and discuss this further!
Massive users data exposure
Published: 2024-06-27 20:01:56

**Reward $1500**

**Overview of the Vulnerability**
Sensitive data exposure can occur when sensitive data is not encrypted, or behind an authorization barrier. When this information is exposed it can place sensitive data, such as secrets, at risk. This can occur due to a variety of scenarios such as not encrypting data, SSL not being used for authenticated pages, or passwords being stored using unsalted hashes. Examples of such data include, but are not limited to: personally identifiable information (PII), Social Security numbers, medical data, banking information, and login credentials.

Sensitive data relating to the business was exposed. This data could be exfiltrated and used by an attacker to sell access to databases and database content, or use credentials identified to take over accounts, amongst other attack vectors.

When performing an analysis at the root of the application, it was possible to find a file "users.csv", which contains information on 5412 users.
The information is: ID, Username, Title, First name, Last name, email, and status (active or inactive).
Information like this is very important, particularly for phishing attacks and social engineering as a whole.

**Steps to Reproduce**
Access the url below and it will perform an automatic download of the mentioned file:
https://c4ng4c31r0[.]com/users.csv
https://c4ng4c31r0[.]com/users.xlsx

**Proof of Concept (PoC)**

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


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

**Status:**
Resolved.

**Reward:**

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