-
Syed
Hiii
-
sugi
hi shrini
-
sugi
i had a intro about bootstrap in payilagam, but did not work on it, so let me try that
-
sugi
and let me connect after diwali - thanks
-
shrini-irccloud
Hello all
-
sethu_payilagam
Good morning Shrini
-
sethu_payilagam
Update for today: I am able to output the bill to a pdf file. But the format still has to be fixed. But the functionality is working
-
sethu_payilagam
very good learning :) in terms of how not to do things :D
-
shrini-irccloud
:-)
-
shrini-irccloud
That's the real learning
-
shrini-irccloud
Try different paper size for PDF too
-
shrini-irccloud
Regular a4
-
shrini-irccloud
And the small one we get in local shops
-
shrini-irccloud
Blog and code in git?
-
anish
hello everyone
-
shrini-irccloud
What library do you use for PDF export ?
-
shrini-irccloud
Hello anish
-
anish
i didn't make much progress today
-
anish
me and my friends were doing a group project
-
shrini-irccloud
That's fine
-
shrini-irccloud
Nice
-
shrini-irccloud
What is that project ?
-
anish
it is path planning project using dqn and channel attention
-
shrini-irccloud
What is dqn ?
-
shrini-irccloud
Can you explain more about your project ?
-
anish
i'm not fully aware of the project my team is working on
-
anish
but i help them with python stuff
-
anish
making csv files for the data produced
-
anish
making the graphs with the data
-
anish
nobody in our team was interested in taking the project but our co-ordinator forced us to if we had to pass
-
shrini-irccloud
Hmm
-
anish
so most of the code is also from github repositories
-
shrini-irccloud
Any project is good only
-
shrini-irccloud
By doing something only we can learn the basics
-
shrini-irccloud
When learning, we should do only small projects
-
shrini-irccloud
Building a project , from idea to a good working product , will give many learnings apart from coding
-
shrini-irccloud
Nowadays, we can get code from many places
-
shrini-irccloud
Stackoverflow, github, AI generators like chatcpt
-
shrini-irccloud
Gpt
-
anish
yes i know little about the project but the project they gave us is way too advanced right now with our knowledge
-
shrini-irccloud
But, we have to be good at basics, then only we can build what we want
-
shrini-irccloud
Most of the times it happens like below
-
anish
i don't understand
-
shrini-irccloud
We think like with our less knowledge, we can do only small projects
-
shrini-irccloud
But by doing big projects only we will get more knowledge
-
shrini-irccloud
Don't worry about project is big or small
-
shrini-irccloud
Try to split into 100s of small parts
-
anish
i will try my best
-
shrini-irccloud
And start doing those small parts
-
shrini-irccloud
All together combined, it will give nice experience and result
-
anish
ok shrini i will work on learninng it as much as i can
-
anish
on my first command i wanted to choose cd
-
anish
i had some doubts yesterday
-
anish
there are some directories which say permissioon denied if we cd went it
-
anish
can we somehow use sudo to get into those directories or is becomeing root the only option
-
shrini-irccloud
Becoming root is the only option
-
shrini-irccloud
Its all based on the folder permissions and ownerships
-
shrini-irccloud
ls -lh /
-
anish
ok shrini i will update in blog
-
shrini-irccloud
Run the above command and check the permissions of /root
-
anish
sudo ls works but i wanted to know if we could cd
-
shrini-irccloud
Explore about user, group, others permissions in Linux
-
shrini-irccloud
We can do cd into /root as normal user or sudo
-
anish
so we can cd if we alter permissions or file ownership
-
anish
i will check it
-
shrini-irccloud
Ok
-
amotbeli
in tamil linux community's youtube channel, watched the intro to databases presentation
-
amotbeli
it was by sethu_payilagam, i think? it was really good.
-
shrini-irccloud
Yes
-
shrini-irccloud
sethu_payilagam gave the talk
-
shrini-irccloud
Nice one
-
amotbeli
yeah, very accessible to absolute beginners too
-
amotbeli
looking forward to his next
-
anish
pwd: This command stands for print working directory. Like the namme suggests it is used to get the current working directory. Syntax = pwd
-
anish
is this good enough shrini or can i make it better
-
shrini-irccloud
This is good start
-
shrini-irccloud
install tldr
-
shrini-irccloud
then
-
shrini-irccloud
tldr pwd
-
shrini-irccloud
Give this to know most used options
-
shrini-irccloud
Share them all too
-
shrini`
amotbeli: any updates from you?
-
shrini`
for TVA, metadata scraping, add the below feature
-
shrini`
if we scrap a page successfully, store its url in a seperate file
-
amotbeli
shrini, i just watched that databases talk and am reading the configparser tutorial
-
shrini`
if failed, write the url on another file
-
shrini`
on next execution, skip the urls on the success file
-
shrini`
finally rerun for the failed urls
-
shrini`
take your time
-
shrini`
hope the deepavali time will be busy for all
-
shrini`
suji informed that she will join next monday
-
amotbeli
sure, shrini
-
sethu_payilagam
Apologies Shrini. my office standup went overtime
-
sethu_payilagam
Blog and code in git? - Yes Shrini. Infact captured a funny story during the debugging time as a separate post :)
-
shrini`
nice
-
shrini`
no need for apologies
-
sethu_payilagam
ok Shrini
-
shrini`
-
shrini`
good to read this
-
shrini`
share the blog posts link and git repo link here
-
shrini`
many people are reading the chat logs daily
-
shrini`
eventhough they can attend, they read the logs
-
shrini`
giving the links here will help them to explore more
-
shrini`
on what we are discussing here
-
sethu_payilagam
Thank you shrini!
-
shrini`
good to see the result pdf here
-
shrini`
-
shrini`
learn about configparse
-
shrini`
and environment variables
-
shrini`
get the db username, password, hostname from environment variables
-
shrini`
should not hardcode in the code we write
-
shrini`
make the PDF look like regular bill
-
shrini`
shop name, address on top, with some big letters
-
shrini`
then the table of items
-
shrini`
one item per line with no, name, price, quantity, bill price
-
shrini`
then at last, total in number and text
-
shrini`
then thanks note
-
sethu_payilagam
Sure Shrini. Yes, I too felt the same when hardcoding the connection string.
-
sethu_payilagam
I will change it and post the next version soon
-
shrini`
ok
-
shrini`
sethu_payilagam: send mail to kanchilug on next talk details
-
shrini`
for this sunday meet
-
anish
-
anish
link for one day one command
-
anish
i will soon update them in the mailing lists also
-
anish
bye everyone i have to go
-
sethu_payilagam
Sure shrini
-
shrini`
๐งจ๐งจ๐งจ๐งจ๐งจ๐งจ
-
shrini`
๐ช๐ช๐ช๐ช๐ช๐ช
-
shrini`
๐๐๐๐๐๐
-
shrini`
๐๐๐๐๐๐
-
shrini`
tons of wishes for deepavali
-
annamalai
-
annamalai
please have a look at it
-
annamalai
there is still some mess with MD/HTML tags which i will clean sooner
-
annamalai
Happy Diwali to all