teleren/devto huggingface dataset:
What is ChatGPT and why it's getting so popular?
Tags: productivity
Published: 2023-01-10 13:39:42

ChatGPT is a variant of the GPT (Generative Pre-trained Transformer) language model that has been trained specifically for conversational text generation. It is built using the same architecture as the original GPT model, but with a smaller number of parameters and a dataset that is more focused on generating human-like text in response to conversational prompts.

ChatGPT has become popular because it is able to generate human-like text that is coherent and contextually appropriate in a wide range of conversational scenarios. This makes it useful for a variety of applications, including chatbots, virtual assistants, and dialogue systems. ChatGPT is also relatively simple to fine-tune for specific use cases, which has made it easy for developers to create new conversational applications quickly.

Another major reasons of its popularity is the availability of pre-trained models provided by openai on GPT-3 which allowed many user, researcher to try the model on their own data, and having those models fine-tune to their use-cases which was not a case before.

Finally, it is relatively simple to use, as it can be integrated into a variety of different platforms and frameworks with minimal modification, and can be easily fine-tuned using a smaller dataset.

Overall, ChatGPT's ability to generate human-like text, its ease of use and adaptability are the main reasons why it has become so popular among researchers, developers and companies in recent years
Por que o monitoramento tradicional não atende suas necessidades ?
Tags: devops, monitoring, observalibilidade, sre
Published: 2023-01-10 13:39:09

1 Custoso para administrar, impossível manter-se atualizado
2 “Chuva” de Alertas tornam a identificação da causa raiz difícil e confusa.
3 Com o monitoramento básico e impossível ser proativo e estratégico

Uma das Minhas Ferramentas de Monitoramento Favorita e o LogicMonitor
Diferencias que mais gosto Dashboards incríveis/Alertas linkados com o Jira /Tem auditoria (audit logs)
O que e LogicMonitor ?
E uma Solução de monitoramento de desempenho baseado em SaaS para a infraestrutura de TI moderna. Ele monitora on-premise, nuvens e datacenters híbridos a partir de uma única plataforma.
Por que LogicMonitor ?
Maior velocidade na entrega através de uma rápida implementação em pouco tempo ela ja traz informações relevantes do seu ambiente com ações a serem tomadas o que traz uma melhoria significativa na produtividade e um retorno de investimento mais rápido através do gerenciamento inteligente baseado em automação
💡Hosted ETCD aaS
Tags: startup, saas, database, kubernetes
Published: 2023-01-10 13:37:22


  
Here's an Startup/SaaS idea to try out:

## 🌩 Hosted ETCD aaS

You know how [Kubernetes][k8s] is absolutely blowing up? Well there's one piece of technology that it all depends on -- [`etcd`][etcd].

ETCD is kind of known to be a pain to run and manage properly, but it's the central pieces of Kubernetes that not many people acknowledge -- Kubernetes does nothing but read & write from ETCD *all day*.

Why would anyone pay for a service like ETCD from you when they can run EKS/AKS/GKS and so on?

Companies run their *own* clusters (sometimes for cost reasons), using tools like [`kops`][kops], and [`kubeadm`][kubeadm] to set up their own clusters.

This is especially the case for companies running on [*bare metal*](https://aws.amazon.com/about-aws/whats-new/2022/04/amazon-ec2-bare-metal-instances/). Those companies dont *want* to manage ETCD *on top* of everything else.

Some people were already wondering when AWS would do this [*back in 2021*](https://twitter.com/lucalanziani/status/1346089908683894786?lang=en).

This was originally posted @ [Unvalidated Ideas (Edition 37)](https://unvalidatedideas.com/editions/37)

[k8s]: https://k8s.io
[etcd]: https://etcd.io/
[kops]: https://kops.sigs.k8s.io/
[kubeadm]: https://kubernetes.io/docs/reference/setup-tools/kubeadm/

Photo by <a href="https://unsplash.com/@benjaminlehman?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">benjamin lehman</a> on <a href="https://unsplash.com/photos/GNyjCePVRs8?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Is php still worth in 2023?
Tags: php, webdev, programming, beginners
Published: 2023-01-10 13:36:16

PHP is a server-side scripting language that is widely used for web development. It is the language behind many popular content management systems such as WordPress, Drupal, and Joomla, and is also used by many websites and web applications. In 2023, PHP is still a viable language to learn for web development and there are many reasons why you might consider learning it.

One of the main advantages of PHP is that it is relatively easy to learn, especially if you have prior experience with other programming languages such as C, C++, or JavaScript. The syntax is similar to other C-style languages, and the language has a large number of built-in functions and libraries that can make development faster and more efficient. Additionally, because PHP is open source, there is a huge community of developers who contribute to the language, which means that there is a lot of support and resources available for those who are learning it.

Another advantage of PHP is its wide adoption. Because PHP has been around for over 25 years and it's used by a large number of websites, there is a high demand for developers who are familiar with it. This can make it easier for you to find job opportunities as a PHP developer, especially if you are looking to work for small-to-medium-sized businesses or startup companies.

Additionally, many web hosting providers support PHP, which means that it's easy to deploy PHP web applications on shared hosting or VPS with minimal setup. PHP has a simple integration with many databse (mysql, postgres, sqlite, etc) and working with databases is very easy to pick up.

That being said, it's important to note that PHP is not the only language you should learn to be proficient in web development. While PHP is well-suited for server-side scripting and building dynamic web applications, there are many other languages that you should consider learning as well, such as JavaScript for client-side scripting, and Python for machine learning.

In summary, PHP is still a viable language to learn in 2023, but you should also keep in mind that web development is a constantly-evolving field, and it's important to stay up-to-date with the latest technologies and trends. If you are interested in web development, it may be a good idea to learn PHP as it can open up many job opportunities in the industry and easy to pick up , but also consider learning other languages such as JavaScript and Python as well in order to be a well-rounded developer.

## Reference
https://developerwings.com/should-i-learn-php-in-2023/
Kubernetes – Your Next Java App Server
Tags: programming, devops, kubernetes, webdev
Published: 2023-01-10 13:25:46

🧑‍💻 Modern applications are optimized for scalability, elasticity, failure, and speed of change. Driven by new principles, architectures today require a different set of patterns and practices.

Burr Sutter from Red Hat demonstrates how #Kubernetes and #OpenShift give you the critical runtime infrastructure you need for JVM-based applications.

{% embed https://youtu.be/pwxAZWqt4I8?list=PLEx5khR4g7PKuDrMVDkHvItDxCsB0msAs{% embed  %}
Flutter: Basic MVVM setup with provider
Tags: flutter, mvvm, provider
Published: 2023-01-10 13:24:36

## 0. Update pubspec.yaml
```
dependencies:
  flutter:
    sdk: flutter
  provider: ^6.0.0
```

## 1.Create ViewModel
Create a new class that extends `ChangeNotifier`
```dart
class HomePageModel extends ChangeNotifier {
  // we make _items private, modification should only be done through
  // `addItem` function
  final List<String> _items = [];

  // get method to for public to access _items;
  List<String> get items => _items;

  void addItem(String item) {
    _items.add(item);
    notifyListeners();
  }
}
```

## 2. Create View (Widget), link to ViewModel
```dart
class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Consumer<HomePageModel>(
      builder: (context, value, child) => Scaffold(
        floatingActionButton: FloatingActionButton(
          onPressed: (() {
            value.addItem("new item");
          }),
          child: const Text("+"),
        ),
        body: ListView(
          children: value.items.map((e) => Text(e)).toList(),
        ),
      ),
    );
  }
}
```
- Use `Consumer<HomePageModel>` to access the view model, via the `value` param
- Access list of items through `value.items`
- Add item to list through `value.addItem`

## 3. Wrap the widget with `ChangeNotifierProvider`
```dart
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: ChangeNotifierProvider(
          create: (context) => HomePageModel(),
          child: const HomePage(),
        ));
  }
}
```
- Wrap `HomePage` widget with `ChangeNotifierProvider`.
- Inject an instance of `HomePageModel` as the view model
How to use TailwindCSS & Bootstrap in the same project
Tags: css, webdev, tailwindcss, programming
Published: 2023-01-10 13:22:08

Hello Developers!
TailwindCSS has been a favorites css framework for me since I knew about it. I rarely use any other css framework such as Bootstrap. However, we can't deny the fact that bootstrap has many features that we can't neglect such as modals, tooltips, navs & tabs and much more that makes the web development experience very joyful. 

But now many developers are confused that how can take advantage of the both worlds. If we embed both frameworks into our project then there will be classes' conflicts such `mx-2` `py-4` and much more.

In this blog, we are going to see how you can embed both css frameworks into your project without creating any conflict. 

Keep in mind that we can't change the css classes for bootstrap but what we can is that we can add a prefix to tailwindCSS classes after the new updates of tailwind. 

So let's see how we can do that. 

Here is the code to add '`tw-`' prefix if you are using tailwindCSS CDN.

## TailwindCSS CDN

```
  <script>
    tailwind.config = {
      prefix: "tw-",
      corePlugins: {
         preflight: false,
      }
    }
  </script>
```

However, if you have installed tailwindcss into your project through npm or any other package manager, then you can use the following code into your tailwind.config.js

```
module.exports = {
    content: ["./**/*.html"],
    prefix: "tw-",
    important: true,
    corePlugins: {
        preflight: false,
    }
}
```
Now whenever you using tailwindcss classes, you need to add 'tw-' before classes. For example, `py-2` will be `tw-py-2`.
That's how easy it is to use tailwindcss and bootstrap in the same project.

## Reference
https://developerwings.com/tailwind-and-bootstrap-together/
Google’s Extension SDK aims to bring latest features to older Android versions
Tags: android, playstore, google, feature
Published: 2023-01-10 13:13:07

Fragmentation has been a longstanding complaint about the Android ecosystem. Often users miss out on features of the latest Android version because they are using older devices that are no longer updated. To reduce the gap, Google has released the first public version of the Extension SDK, which aims to bring features of the latest Android version to older iterations.

As a part of this announcement, Google is opening up Photo Picker API support to Android 11 and Android 12. Photo picker lets users give access to select photos from their library to an app — right now, only Android 13 users can use the latest photo picker interface.

Notably, as this is an SDK app developers will have to include this functionality in their apps. But users won’t need a system update to use the photo picker.

The Extension SDK also brings support to implement AdServices APIs to prepare for the launch of the Android Privacy Sandbox. The Android Privacy Sandbox is Google’s new ad stack to replace cookies in Chrome. Currently, Google is testing Privacy Sandbox on a limited number of devices running Android 13 with a wider beta launch expected this year. With components like the Extension SDK, Google will aim to roll out Privacy Sandbox support to devices running older versions of Android.

Google has tried to compress feature rollout times through programs like Project Mainline, which was introduced with Android 10 to make the operating system more modular and push features through Google Play. So users don’t have to wait for phone makers to issue a software update. The Extension SDK is another step in that direction.
Ractjs webpack
Tags: react, webdev, reactnative, webpack
Published: 2023-01-10 13:10:18

Hi, i tryed to implement webpack for my blog, but i have a little problem on build of css. Can someone help me? 

[This is my repo ](https://github.com/fedcal/portfolio-personale-reactjs), there is the branch feature/webpack

[And this is my website](https://www.federicocalo.dev)
How ChatGPT may be used by cybercriminals for hacking, ‘fraud and more
Tags: ai, chatgpt, machinelearning, openai
Published: 2023-01-10 13:05:18

In the last month or so, AI tool ChatGPT has become quite the talk of tech town. ChatGPT can be used to answer questions, write reports, and even software codes. And now it seems like cybercriminals are using for malicious activities. According to cybersecurity research firm, ChatGPT was used by bad actors to develop malicious tools. In underground hacking forums, threat actors are creating infostealers, encryption tools and facilitating fraud activity. 

For creating info stealers

According to Checkpoint Research, on December 29, 2022, a thread named “ChatGPT - Benefits of Malware” appeared on a popular underground hacking forum. The publisher of the thread disclosed that he was experimenting with ChatGPT to recreate malware strains and techniques described in research publications and write-ups about common malware. These posts, according to Checkpoint Research, seemed to be demonstrating less technically capable cybercriminals how to utilise ChatGPT for malicious purposes, with real examples they can immediately use. 

For creating multi-layered encryption tools

Similarly, on December 21, 2022, a threat actor dubbed USDoD posted a Python script, which he emphasised was the ‘first script he ever created’. When another cybercriminal commented that the style of the code resembles openAI  code, USDoD confirmed that the OpenAI gave him a “nice [helping] hand to finish the script with a nice scope.” “This could mean that potential cybercriminals who have little to no development skills at all, could leverage ChatGPT to develop malicious tools and become a fully-fledged cybercriminal with technical capabilities,” said Checkpoint Research. 

Using ChatGPT for fraud

According to Checkpoint Research, a cybercriminal showed how to create a Dark Web marketplace scripts using ChatGPT. The marketplace's main role in the underground illicit economy is to provide a platform for the automated trade of illegal or stolen goods like stolen accounts or payment cards, malware, or even drugs and ammunition, with all payments in cryptocurrencies. 
Sergey Shykevich , Threat Intelligence Group Manager at Check Point , said, “Cybercriminals are finding ChatGPT attractive. In recent weeks, we’re seeing evidence of hackers starting to use it to write malicious code. ChatGPT has the potential to speed up the process for hackers by giving them a good starting point. Just as ChatGPT can be used for good to assist developers in writing code, it can also be used for malicious purposes.”
You Must-Have This Effect on Your Website
Tags: css, javascript, tutorial, beginners
Published: 2023-01-10 13:00:20

{% youtube av_p3PvrPxQ %}

Scroll reveal is an effective way to add a unique visual effect to your website.
It can make the content on your page more engaging and eye-catching.
With vanilla JavaScript, you can create this effect easily and quickly without having to rely on any libraries or frameworks.

[Source code](https://www.patreon.com/posts/scroll-reveal-77043715?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link)
IPv4 Vs. IPv6
Tags: ipaddress, ipv4, ipv6, beginners
Published: 2023-01-10 12:58:09

Previously, we talked about IP addresses, their types, and the versions [here](https://dev.to/pragyasapkota/ip-address-a-concept-we-must-know-30al). Now, we will see the differences between the two versions of [IP addresses](https://dev.to/pragyasapkota/ip-address-a-concept-we-must-know-30al) — IPv4 and IPv6.

In the table of the difference between IPv4 and IPv6 presented below, we will discuss around 22 differences including deployment date, address space, checksum, conversion, Variable Length Subnet Mask (VLSM), DNS Records, example, and so on.

Let’s see all of them in one table.

| S.N. | Factors | IPv4 | IPv6 |
| ---- | ------- | ---- | ---- | 
| 1. | Deployment Date | 1981 | 1998 |
| 2. | Address Length | 32-bit (4 bytes) | 128-bit (16 bytes) |
| 3. | Address Space | 4.29×10^9 | 3.4×10^38 | 
| 4. | Address Representation | Dot-decimal | Alphanumeric Hexadecimal | 
| 5. | Required Bytes | 576 | 1280 | 
| 6. | Header | 20-60 bytes | 40 bytes fixed |
| 7. | IPSec | Optional – depends on application | Inbuilt IPSec |
| 8. | Connection Integrity | Unachievable | Achievable |
| 9. | Configuration | 	DHCP (Dynamic Host Configuration Protocol) and Manual | Auto and renumbering | 
| 10. | Checksum | Available | Not available | 
| 11. | Packet Fragmentation | Routers and sending hosts | Sending hosts |
| 12. | Packet Flow Identification | Not available | Available (also uses the flow label field in header) |
| 13. | Encryption and authentication facility | Absent | Present |
| 14. | IP to MAC | Broadcast Message Transmission Scheme [Broadcast ARP] | Multicast and anycast message transmission scheme [Multicast Solicitation Neighbor] |
| 15. | Conversion | Can be converted to IPv6 | Only a few can be converted to IPv4 |
| 16. | Fields Count | Four fields separated by dot (.) | Eight fields separated by colon (:) | 
| 17. | Variable Length Subnet Mask (VLSM) | Supports VLSM | Doesn’t support VLSM |
| 18. | Local Subnet Management Group | Internet Group Management Protocol (ICMP) | Multicast Listener Discovery (MLD) |
| 19. | Address Reuse | Addresses must be reused and masked. | Every device can have unique address. |
| 20. | DNS Records | Pointer (PTR) records + IN-ADDR + ARPA DNS Domain | Pointer (PTR) records + IP6.ARPA DNS Domain |
| 21. | Class | Five classes - [Class A, Class B, Class C, Class D, Class E] | No classes |
| 22. | Example | 192.22.181.111 | 3111:0000:2928:dfei:0057:0000:0000:fefb |

> **Note:** — The raw version of the table is available publicly on GitHub gist. Please click the [Difference.csv](https://gist.github.com/pragyaasapkota/901308cb4c6de240a6827e973fe32532) in the bottom left side of the table if you want to take a look at it.

{% embed https://github.com/pragyaasapkota/System-Design-Concepts %}

**_I hope this article was helpful to you._**

**_Please don’t forget to follow me!!!_**

**_Any kind of feedback or comment is welcome!!!_**

**_Thank you for your time and support!!!!_**

**_Keep Reading!! Keep Learning!!!_**
Why Telegram is not working in pakistan
Published: 2023-01-10 12:52:26

Telegram is a messaging app that uses the internet to allow users to send messages, make voice and video calls, and share files. In some countries, including Pakistan, access to Telegram and other internet-based communication tools may be blocked or restricted by the government for various reasons.

In case of Pakistan, In 2020, Pakistani government has banned the Telegram in the country due to the reason of national security and to stop the circulation of "blasphemous content" on the app. Government of Pakistan has a monitoring body Pakistan Telecommunication Authority (PTA) to monitor and filter the online content that goes against the laws of the country. They have said that the app was not willing to cooperate with Pakistani government to remove the illegal content that are shared on the app.

If Telegram is not working in Pakistan, it's likely because the app's domain and IP addresses have been blocked by the government. In such cases, if you want to use the Telegram service, you could try using a virtual private network (VPN) or proxy server to bypass the block and access the app. However, it's important to note that using a VPN to bypass internet restrictions is illegal in some countries and could result in severe penalties.

Read More : [How to use telegram In Pakistan](https://sunnytechpoint.live/use-telegram-without-vpn-pakistan/)
ChatGPT is at capacity right now
Published: 2023-01-10 12:49:50

Explain the status of ChatGPT as a sea otter.
Squeak squeak! Sorry, ChatGPT is very popular right now. Please try again later! Squeak squeak!
server of chat GPT has gone down in many countries. I'm sorry, but I am not aware of any specific instance of a GPT-powered chat server going down. Without more information, it's difficult for me to say why this might be happening. There could be a variety of reasons why a server might go down, including technical issues, maintenance, or even a cyber attack. If you are experiencing difficulty accessing a specific GPT-powered chat server, I would recommend contacting the server's administrator or technical support team for more information.
By 

[Sunny Tech Point](https://sunnytechpoint.live)