<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>diff on Jaaved Ali Khan</title><link>https://jaaved.netlify.app/tags/diff/</link><description>Recent content in diff on Jaaved Ali Khan</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 29 Jul 2023 19:46:02 +0400</lastBuildDate><atom:link href="https://jaaved.netlify.app/tags/diff/index.xml" rel="self" type="application/rss+xml"/><item><title>Encode/Decode in Python3</title><link>https://jaaved.netlify.app/notes/202105111623-encode_decode_in_python3/</link><pubDate>Sat, 29 Jul 2023 19:46:02 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202105111623-encode_decode_in_python3/</guid><description>tags Python Real Python ref
Decoding # Decode(v):convert (a coded message) into intelligible language. From this definition it means, in context of python, to convert a string of bytes(coded) to Unicode(intelligible).
In python3, strings are already decoded with Unicode. ref.
More about encoding/decoding in context of Unicode is found in there. There is no string without encoding # If you followed the discussion so far, you probably already picked up on a crucial point about saving and reading text on a computer: Having a string without knowing its encoding makes no sense at all.</description></item><item><title>Curl vs Python Requests SSL verification</title><link>https://jaaved.netlify.app/notes/curl_vs_python_requests_ssl_verification--20210929-180640/</link><pubDate>Sat, 29 Jul 2023 17:33:28 +0400</pubDate><guid>https://jaaved.netlify.app/notes/curl_vs_python_requests_ssl_verification--20210929-180640/</guid><description>curl vs
Having only the intermediate CA in the trust store is not sufficient for validation of the certificate, at least not with the current versions of Python. This feature would require the use of the OpenSSL flag X509_V_FLAG_PARTIAL_CHAIN for verification, which is neither currently exposed by Python nor set by default.
Contrary to this curl sets this flag by default in newer versions and thus works.</description></item><item><title>Difference Between Expose and Ports in Docker Compose</title><link>https://jaaved.netlify.app/notes/202212031539-difference_between_expose_and_ports_in_docker_compose_baeldung/</link><pubDate>Mon, 10 Jul 2023 14:21:35 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202212031539-difference_between_expose_and_ports_in_docker_compose_baeldung/</guid><description>Bookmark Notes # tags :
URL # Clipped text # In this article, we covered part of the networking configurations in the Docker Compose. We analyzed and compared port configuration using the expose and ports sections.
The expose section allows us to expose specific ports from our container only to other services on the same network. We can do this simply by specifying the container ports.
The ports section also exposes specified ports from containers.</description></item><item><title>Display Manager Vs Display Server Vs Desktop Environment vs Window Manager in Linux</title><link>https://jaaved.netlify.app/notes/display_manager_vs_desktop_environment_vs_window_manager--20211106-225241/</link><pubDate>Sun, 02 Jul 2023 16:45:55 +0400</pubDate><guid>https://jaaved.netlify.app/notes/display_manager_vs_desktop_environment_vs_window_manager--20211106-225241/</guid><description>Summary fc # position ease box interval due front 2.5 0 0 2021-11-06T20:39:jkj05Z ref
Desktop Environment # A desktop environment (DE) usually provides a window manager but a bunch of other stuff too: panels, start button, applets for volume, network etc. They provide an environment in which everything looks similar and easily recognisable, and provide GUI tools that allow you to do many admin tasks without having to type in a terminal.</description></item><item><title>Difference between messages and methods</title><link>https://jaaved.netlify.app/notes/20210808211117-difference_between_messages_and_methods/</link><pubDate>Sat, 14 Jan 2023 20:23:30 +0400</pubDate><guid>https://jaaved.netlify.app/notes/20210808211117-difference_between_messages_and_methods/</guid><description>Summary fc # A method is tied to a particular object. You find this in languages like Java and C++ where the method is bound early to the object at compile time.
A message is an abstraction whereby the actual method that’s being called depends on runtime conditions. The object’s method is late-bound, thereby offering greater flexibility to the executing program.
In Smalltalk, for example, an object may receive a message to invoke a non-existent method.</description></item><item><title>Mission vs Vision</title><link>https://jaaved.netlify.app/notes/mission_vs_vision--20221225-135125/</link><pubDate>Sat, 14 Jan 2023 20:22:11 +0400</pubDate><guid>https://jaaved.netlify.app/notes/mission_vs_vision--20221225-135125/</guid><description>tags :
Mission # A mission statement defines the organization’s business, its objectives, and how it will reach these objectives.
is what your company is doing right now. Vision # A vision statement details where the organization aspires to go.
what you hope to achieve in the future – where you are in this moment versus where you’re going.</description></item><item><title>Persistent Volumes (PV)</title><link>https://jaaved.netlify.app/notes/20210729171127-persistent_volumes/</link><pubDate>Sat, 14 Jan 2023 20:20:28 +0400</pubDate><guid>https://jaaved.netlify.app/notes/20210729171127-persistent_volumes/</guid><description>:ID: 964b5744-799c-46e1-858a-187cf7edf47b
Tags # Summary # ref Managing storage is a distinct problem from managing compute instances. The PersistentVolume subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed . To do this, we introduce two new API resources: PersistentVolume and PersistentVolumeClaim.
A PersistentVolume (PV) # is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes.</description></item><item><title>Difference between User Story and Feature</title><link>https://jaaved.netlify.app/notes/202103281429-difference_between_user_story_and_feature/</link><pubDate>Sat, 14 Jan 2023 20:18:34 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202103281429-difference_between_user_story_and_feature/</guid><description>Summary # ref: link According to Kent Beck and Martin Fowler stories() and features are SYNONYMS: A user story is a chunk of functionality (some people use the word feature) that is of value to the customer. What you call a feature is usually referred to as theme or epic. Themes and epics are used to group user stories to bigger feature sets, that make sense on their own.</description></item><item><title>Difference between Open(), StringIO and BytesIO?</title><link>https://jaaved.netlify.app/notes/202104051153-difference_between_open_stringio_and_bytesio/</link><pubDate>Sat, 14 Jan 2023 20:17:12 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202104051153-difference_between_open_stringio_and_bytesio/</guid><description>Summary # ref: link and stackoverflow
StringIO and BytesIO are methods(objects) that manipulate string and bytes data in memory(RAM). StringIO is used for string data and BytesIO is used for binary data. This classes create file like object() that operate on string data. The StringIO and BytesIO classes are most useful in scenarios where you need to mimic a normal file. Example # import io s = io.StringIO() print(s.write(&amp;#34;Hello World/n&amp;#34;)) # -------&amp;gt;Output: 13 # adding to the memory buffer using print statement print(&amp;#34;adding using the print&amp;#34;,file = s) # get all of the data written in the file print(s.</description></item><item><title>rocket.chat</title><link>https://jaaved.netlify.app/notes/rocket_chat--20221231-153735/</link><pubDate>Sat, 14 Jan 2023 20:16:00 +0400</pubDate><guid>https://jaaved.netlify.app/notes/rocket_chat--20221231-153735/</guid><description># tags :
Let every conversation flow - without compromise Secure and compliant collaboration platform. Own your data, customize anything, integrate everything. URL
Highlights # Trusted by 12M+ users over 150 countries
Projects # Used in On # https://marketplace.digitalocean.com/apps/rocket-chat
rocket.chat vs # :diff:permanent:
ref
rocket.chat vs # ref
Discord # Step up your game with a modern voice &amp;amp; text chat app. Crystal clear voice, multiple server and channel support, mobile apps, and more.</description></item><item><title>Difference between File and Stream?</title><link>https://jaaved.netlify.app/notes/202104051145-difference_between_file_and_stream/</link><pubDate>Sat, 14 Jan 2023 20:12:21 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202104051145-difference_between_file_and_stream/</guid><description> Summary # tags :
Stream is a representation of flow of data from one side to another e.g. from disk to memory and from memory to diskBuffer is used to hold stream data temporarily.
File is a representation to store data on disk file.
File uses streams to store and load data.
Nice tutorial about the Python file: https://www.knowledgehut.com/tutorials/python-tutorial/python-file-io
Related #</description></item><item><title>Difference between Definition of Done(DOD) and Acceptance Criteria (AC)?</title><link>https://jaaved.netlify.app/notes/202103272020-difference_between_definition_of_done_dod_and_acceptance_criteria_ac/</link><pubDate>Sat, 14 Jan 2023 20:11:10 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202103272020-difference_between_definition_of_done_dod_and_acceptance_criteria_ac/</guid><description>Summary # Difference between vs ?
Num 1 Generic(common) Specific 2 Abstract Concrete 3 Requirements to adhere Test scenarios ref: link
Definition of Done (DoD) is a list of REQUIREMENTS that a user story MUST ADHERE to for the team to call it complete. While the Acceptance Criteria of a User Story consist of set of TEST SCENARIOS that are to be MET to confirm that the software is working as expected.</description></item><item><title>Port vs Socket</title><link>https://jaaved.netlify.app/notes/202105241221-port_vs_socket/</link><pubDate>Mon, 04 Apr 2022 10:32:49 +0300</pubDate><guid>https://jaaved.netlify.app/notes/202105241221-port_vs_socket/</guid><description>Summary # ref
Port: # In simple language, &amp;ldquo;Port&amp;rdquo; is a number used by a particular software to identify its data coming from internet. Each software like, skype, chrome, youtube has its own port number and thats how skype or youtube knows which internet data is for itself.
Socket: # &amp;ldquo;IP address and Port &amp;quot; together is called &amp;ldquo;Socket&amp;rdquo;. It is used by another computer to send data to one particular computer&amp;rsquo;s particular software.</description></item></channel></rss>