โŒ

Normal view

There are new articles available, click to refresh the page.
Before yesterdayHariharan

POC : Tamil Date parser using parse

By: Hariharan
15 November 2024 at 18:05

Tamil Date time parser POC
https://github.com/r1chardj0n3s/parse

it requires external dependency parse for parsing the python string format with placeholders

import parse
from date import TA_MONTHS
from date import datetime
//POC of tamil date time parser
def strptime(format='{month}, {date} {year}',date_string ="เฎจเฎตเฎฎเฏเฎชเฎฐเฏ, 16 2024"):        
    parsed = parse.parse(format,date_string)
    month = TA_MONTHS.index(parsed['month'])+1
    date = int(parsed['date'])
    year = int(parsed['year'])
    return datetime(year,month,date)

print(strptime("{date}-{month}-{year}","16-เฎจเฎตเฎฎเฏเฎชเฎฐเฏ-2024"))
#dt = datetime(2024,11,16);
# print(dt.strptime_ta("เฎจเฎตเฎฎเฏเฎชเฎฐเฏ , 16 2024","%m %d %Y"))

How to view manually installed packages in ubuntu

By: Hariharan
2 November 2024 at 18:49

Hi all in the blog post we are going to list down the packages we installed manually.

why we need that information?
when we set up a fresh Linux Distro or migrate existing or converting Linux installation into a docker image that will very helpful to us

how we are going to get this thing done?
using the aptitude (high-level package manager command-line interface)

install aptitude first if not present in your system

sudo apt install aptitude 

wait a few seconds to complete installation after completing the installation run the following command to find the manually installed packages after the initial run of the

comm -23 <(aptitude search '~i !~M' -F '%p' | sed "s/ *$//" | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)

Image description

Voila we did it!

Python Course - Day 1 Meet & Greet

By: Hariharan
10 July 2024 at 17:23

Hi folks,
Today very excited to join first session of python course.

Whatsapp group notification sound asked me what are you waiting for come on click me.

I was completing my office works for that day i tried to complete as fast i can but unfortunately i cannot join the introductory session.

I only able to watch the python session on youtube live recording

In that introductory session i've done prepared a short intro about me to share a short in the community.

That Short

I'm not newbie programming,Now I'm working professional simply known for php application development in my organization.

What I know about python

I learned python 2 for a Machine Interface project to our existing PHP application

Then why I'm joined this course

I read python functionally to complete the project goal. My learning path has gaps on that time need to fill that gaps.

About the First day session

Python Usages
Syed Jaferk Brother Explained the python usages very well in layman terms. He covered the things automation, web application developement, api development,AI & Machine Learning, Iot these are quite more common now a days there is other department machine interfacing is also simpler and easyer using python

Colab Note Book Introduction

Colab Notebook is new thing to me i thought that its a online ide platform need to deep dig into it later.

Basic Print Command

Image description

My Python Installation

I have been using the following python installation though this is a basics covering course. I hope the course does not requires special functionalities which is available in latest version

Image description

About FOSS,FOSS communities in another blog

To Be Continued...

Open Source Software - an Introduction

By: Hariharan
7 July 2024 at 18:16

Properatiory Software - Def

Properatiory Software is nothing but software is available for selected users in binary form only

  • no access to the source code any support is given by only the Properatior
    • there are so many limitatation to end users
    • you cannot share the software
    • you cannot change the software

Open Source Software - Def

Open Source Software is nothing but software is available free to use but not only limited to use.

  • you have access to the source code
  • you can you can change customize the source code according to your needs
  • distribute binaries source code

Benefits of Open Source Software

  • low errors
  • able to get different thought process and implement
  • faster development
  • stable products
  • open to get new changes from community

Open Source Software giving rights to the consumers aka End Users
(GPL License giving 4 Rights)

  1. Where ever we can use
  2. Whatever you can change
  3. Sell or Giveaway
  4. Can Share the source code

Open Source Software - Emphasiszes Software freedom

Software is mixture of knownledge and science it should be open and owned by all of the human being ownership is not limited to a person / organization

Open Source Software - Oppurtunities of monitization

  1. you can give service for the software
  2. you can get money from installation service
  3. you can give online/offline support and can be charge for it
  4. you can charge for the customization you provide from open source software

History of GNU/Linux

Unix Family Tree

Rise of GNU

Richard M Stallman (RMS) MIT AI Lab (1980s)

  • Started from the Printer problem unable to manage queue
  • RMS started to fight for software freedom

GNU = GNU Not Linux
Ensures 4 freedoms

  • ** Use ** for any purpose
  • ** Study ** and adapt(modify)
  • ** Distribute ** free
  • Distribute ** the modifed source**

GNU Project Starts With

  • Compilers
  • Editors
  • Languages
  • Network Tools
  • Servers
  • Databases
  • Device Drivers
  • Desktop Utilities
  • Multimedia Apps
  • Games
  • Office Applications and more

Andruw S Thanebaum writes a book for minix book operating systems design and implementation which becomes inspration for Linus Torwards to create the Kernal named Linux

Image description

References

โŒ
โŒ