<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Abdul wakeel</title>
    <description>The latest articles on Forem by Abdul wakeel (@awakeel).</description>
    <link>https://forem.com/awakeel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F236957%2Fbb596078-96c6-40c6-908d-e2716e7fd179.png</url>
      <title>Forem: Abdul wakeel</title>
      <link>https://forem.com/awakeel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/awakeel"/>
    <language>en</language>
    <item>
      <title>Crafting Code: A Symphony of Joy and Passion in Software Engineering</title>
      <dc:creator>Abdul wakeel</dc:creator>
      <pubDate>Mon, 08 Jan 2024 08:44:57 +0000</pubDate>
      <link>https://forem.com/awakeel/crafting-code-a-symphony-of-joy-and-passion-in-software-engineering-234d</link>
      <guid>https://forem.com/awakeel/crafting-code-a-symphony-of-joy-and-passion-in-software-engineering-234d</guid>
      <description>&lt;p&gt;Think of work/code as a special gift you offer to the world, something you create with your hands and your heart.&lt;/p&gt;

&lt;p&gt;Work/code is like building a home/software or crafting a piece of art. It's not just about making a living; it's about making a life. Imagine your work as a way to share your unique talents and skills with others.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contribute piece of yourself to the world
&lt;/h2&gt;

&lt;p&gt;When you work, you're not just doing a task; you're contributing a piece of yourself to the world. It's like planting seeds that will grow into something beautiful.&lt;/p&gt;

&lt;h2&gt;
  
  
  Passion
&lt;/h2&gt;

&lt;p&gt;Find joy in your work, whether it's big or small. It's not just about the end result but the love and effort you put into it. Work with passion, and you'll see the beauty in what you create.&lt;/p&gt;

&lt;h2&gt;
  
  
  Celebrate your abilities
&lt;/h2&gt;

&lt;p&gt;Remember, work is not a burden; it's a celebration of your abilities. It's a way to express yourself and make the world a better place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Masterpience
&lt;/h2&gt;

&lt;p&gt;So, as you go about your tasks, think of them as little pieces of art, each one adding to the masterpiece of your life and the world around you.&lt;/p&gt;

&lt;h2&gt;
  
  
  KG Quotes on work:
&lt;/h2&gt;

&lt;p&gt;Work is love made visible. And if you cannot work with love but only with distaste, it is better that you should leave your work and sit at the gate of the temple and take alms of those who work with joy.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AWS Kafka with Node.js</title>
      <dc:creator>Abdul wakeel</dc:creator>
      <pubDate>Mon, 27 Feb 2023 11:29:53 +0000</pubDate>
      <link>https://forem.com/awakeel/aws-kafka-with-nodejs-40jo</link>
      <guid>https://forem.com/awakeel/aws-kafka-with-nodejs-40jo</guid>
      <description>&lt;p&gt;To use AWS Kafka with Node.js, use the kafkajs library which provides a client for Kafka in Node.js. Here how to use kafkajs with AWS Kafka:&lt;/p&gt;

&lt;p&gt;Install the kafkajs library using npm:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm install kafkajs&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Create a new instance of the Kafka client with the AWS configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const { Kafka } = require('kafkajs')
const kafka = new Kafka({
  clientId: 'my-app',
  brokers: ['kafka-1.amazonaws.com:9092', 'kafka-2.amazonaws.com:9092'],
  ssl: true,
  sasl: {
    mechanism: 'scram-sha-256',
    username: 'my-username',
    password: 'my-password',
  },
})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a producer to send messages to a topic:&lt;br&gt;
javascript&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const producer = kafka.producer()
await producer.connect()
await producer.send({
  topic: 'my-topic',
  messages: [
    { value: 'Hello Kafka!' },
  ],
})
await producer.disconnect()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a consumer to receive messages from a topic:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const consumer = kafka.consumer({ groupId: 'my-group' })
await consumer.connect()
await consumer.subscribe({ topic: 'my-topic', fromBeginning: true })
await consumer.run({
  eachMessage: async ({ topic, partition, message }) =&amp;gt; {
    console.log({
      topic,
      partition,
      offset: message.offset,
      value: message.value.toString(),
    })
  },
})
await consumer.disconnect()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it! You should now be able to use AWS Kafka with Node.js using the kafkajs library.&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Keycloak: A Comprehensive Solution for Authentication, Authorization</title>
      <dc:creator>Abdul wakeel</dc:creator>
      <pubDate>Fri, 24 Feb 2023 11:28:38 +0000</pubDate>
      <link>https://forem.com/awakeel/keycloak-a-comprehensive-solution-for-authentication-authorization-1d40</link>
      <guid>https://forem.com/awakeel/keycloak-a-comprehensive-solution-for-authentication-authorization-1d40</guid>
      <description>&lt;p&gt;Keycloak is an open-source identity and access management solution that provides a comprehensive platform for managing user authentication and authorization.&lt;br&gt;
Keycloak provides a range of authentication mechanisms, including username and password, social media login, and multifactor authentication. It supports integration with external authentication providers such as LDAP, Active Directory, and SAML. Keycloak also supports multiple identity providers, enabling users to choose the one they prefer.&lt;br&gt;
Authorization is equally important, and Keycloak provides a range of features for managing it. One of the essential features of Keycloak is its ability to manage roles and groups. Roles allow administrators to assign permissions and access rights to users based on their job responsibilities or other criteria, while groups enable users to collaborate and share resources within a defined context. These features provide fine-grained control over who can access what resources, making it easier for businesses to maintain compliance with regulatory requirements.&lt;br&gt;
Bearer tokens are a critical part of Keycloak's authorization mechanism. Bearer tokens are short-lived tokens that grant access to a specific resource. Keycloak uses these tokens to authenticate users and authorize access to resources. When a user logs in, Keycloak issues a bearer token, which is then used to access protected resources.&lt;br&gt;
Bearer tokens can be configured to expire after a specific period, ensuring that users are required to log in periodically to maintain access. This feature enhances security, as it minimizes the risk of unauthorized access to resources.&lt;br&gt;
In conclusion, Keycloak is an excellent solution for managing user authentication and authorization. Its support for multiple authentication mechanisms, external authentication providers, and identity providers make it a versatile and flexible solution. Keycloak's ability to manage roles and groups, along with its use of bearer tokens for authorization, provides businesses with a comprehensive platform for managing access to resources. With Keycloak, businesses can ensure that their applications are secure and compliant with regulatory requirements.&lt;/p&gt;

</description>
      <category>rss</category>
      <category>automation</category>
      <category>ai</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Overcoming the Challenges of Running Predictions on Large Machine Learning Models</title>
      <dc:creator>Abdul wakeel</dc:creator>
      <pubDate>Fri, 24 Feb 2023 11:27:52 +0000</pubDate>
      <link>https://forem.com/awakeel/overcoming-the-challenges-of-running-predictions-on-large-machine-learning-models-3pij</link>
      <guid>https://forem.com/awakeel/overcoming-the-challenges-of-running-predictions-on-large-machine-learning-models-3pij</guid>
      <description>&lt;p&gt;As machine learning models become increasingly complex and large, running predictions on these models can become a challenging and resource-intensive task. This is particularly true when dealing with large amounts of data, where the processing and storage requirements can quickly become prohibitive. In this article, we'll explore some strategies to overcome these challenges and ensure that you can successfully run predictions on large machine learning models.&lt;br&gt;
Optimize Your Data Pipeline&lt;br&gt;
The first step to overcoming the challenges of running predictions on large machine learning models is to optimize your data pipeline. This means taking a close look at your data processing and storage infrastructure and making sure that it's designed to handle large amounts of data. You may need to invest in more powerful hardware or cloud-based services to ensure that your infrastructure can keep up with the demands of your machine learning models.&lt;br&gt;
Use Distributed Computing&lt;br&gt;
Distributed computing is another strategy that can be used to overcome the challenges of running predictions on large machine learning models. This approach involves breaking down the machine learning model into smaller components and running them on multiple machines in parallel. By using distributed computing, you can significantly reduce the time and resources required to run predictions on large machine learning models.&lt;br&gt;
Use Cloud-Based Services&lt;br&gt;
Cloud-based services like AWS and Google Cloud offer powerful machine learning services that can help you overcome the challenges of running predictions on large machine learning models. These services provide scalable computing resources, which can be used to quickly process large amounts of data and run predictions on complex machine learning models. Additionally, cloud-based services can help reduce the cost and complexity of building and maintaining your own data processing infrastructure.&lt;br&gt;
Implement Model Compression Techniques&lt;br&gt;
Model compression techniques can also be used to reduce the size and complexity of machine learning models. This approach involves using algorithms to compress the model while retaining its accuracy. By using model compression techniques, you can significantly reduce the processing and storage requirements of your machine learning models, making them easier and more efficient to run.&lt;br&gt;
In conclusion, running predictions on large machine learning models can be a challenging task, but by optimizing your data pipeline, using distributed computing, leveraging cloud-based services, and implementing model compression techniques, you can overcome these challenges and successfully run predictions on even the largest and most complex machine learning models.&lt;/p&gt;

</description>
      <category>gratitude</category>
    </item>
  </channel>
</rss>
