<zorz>
ppetrov^: the bullshit is if you screw up with this file, python cannot read it... vis editor, works ok. i need to try vim aswell in this.
<ppetrov^>
olive oil?
<ppetrov^>
hmm
<ppetrov^>
how can you screw up with it?
<zorz>
haha
<zorz>
ppetrov^: i scan scrap 4 major supermarkets in greece.. create sql database and compare prices.
<zorz>
ppetrov^: the sql is running on a webpage without php.
<ppetrov^>
that does not mean much to me man, i am a simple biologist
<zorz>
and will pay to screw after.
<zorz>
haha
<zorz>
ppetrov^: how is going day off today?
<ppetrov^>
having some beers, maybe i will buy a second hand workstation for work
<zorz>
cool
<ppetrov^>
how is you saturday
<ppetrov^>
apart of the CSVs
<ppetrov^>
btw, for data analyses... have you tried R? :P
<zorz>
no petrov never tried R i was wanting to try it with crypto... but since i have basic knowledge of python i stayed with python. I think that R is superior to python for data analysis.
<zorz>
petrov, look a small tiny part of on supermarket as i scrap it... man 3 hours to write 3 lines.
<farkuhar>
zorz: you might want to protect $1 in your yt-d() function so that the shell doesn't try expanding any special characters in the url (or backgrounding the process when it sees &).
<farkuhar>
oh, and if you often work with CSV in an environment where you cannot install python modules or R, there's a lot you can do with standard Unix utilities. https://datascienceatthecommandline.com/
<zorz>
farkuhar: thanx man... but it is for personal use
<farkuhar>
zorz: that's for OpenBSD, right? What happens if host(1) fails to resolve the given argument? In that case you should check [ -n "$ipawk" ] before running the curl command.
<farkuhar>
zorz: why you scrape 4 major supermarkets in Greece to compare prices? Is your currency experiencing inflation on the same level as the Nigerian naira?
<farkuhar>
I seem to recall remiliascarlet taking advantage of the depressed yen, in transactions with overseas customers. Are you looking for a similar way to profit from price disparities among Greek supermarkets?
<zorz>
farkuhar: is of korn shell yes
<ppetrov^>
zorz, for bash, satamash is your friend for processing such stuff
<ppetrov^>
i have a port for it
<zorz>
farkuhar: it started as a hobby to help people... but now a company wants to pay me to have the prices everyday
<ppetrov^>
farkuhar, no idea how it works with python stuff
<ppetrov^>
>which does not include any of the numerous required dependencies for the package, such as...
<ppetrov^>
yep, too bad
<farkuhar>
why there was never an attempt to make a python counterpart for cpan2crux ... maybe the endless cycle of wheel-reinvention discouraged anybody from committing to a build system like setuptools, lest it soon be deprecated in favor of 'python -m build' or whatever the latest fashion is.
<ppetrov^>
right
<ppetrov^>
well, i hope that's not the case with R
<ppetrov^>
btw, is cpan2crux still maintained?
<ppetrov^>
this Alan guy, is he active? His tool was the final drop that made me switch to crux, believe it or not
<farkuhar>
zorz, you like using extended regular expressions? Then you can answer ppetrov^s question this way: lynx -dump https://www.mizrahi.com.ve/crux/ports/ | grep -E '20[0-9]{2}-[0-9]{2}-[0-9]{2}' | sort -k3 | tail
<lavaball>
fuck me.
<lavaball>
animal fight promoter, you there?
<lavaball>
SiFuh_, !
<lavaball>
i actually had to look up your name.
<lavaball>
...
<lavaball>
where is he?
<zorz>
lavaball: he is long weekend in KL
<zorz>
lavaball: come back on Monday to fight with him :-)
<zorz>
farkuhar: hahaha
ppetrov^ has quit [Quit: Leaving]
<remiliascarlet>
zorz: To me Arch has been perfectly secure, but I can agree on it being a mess.
<remiliascarlet>
Especially in more recent times, now that they are pandering more and more to new Linux users.
lavaball has quit [Remote host closed the connection]
<remiliascarlet>
And because of the increase of people who have never used any Unix-like system (apart from maybe macOS) going to Arch and Artix, their communities have grown increasingly toxic, their staff have become more hostile towards the more experienced people, and questions there are getting more and more stupid.
<zorz>
remiliascarlet: i do not trust the devs, and especially aur.
<zorz>
and people use a lot of aur.
<zorz>
its out of hand it is not controllable.
<remiliascarlet>
Of course, that's what AUR even means.
<remiliascarlet>
Arch User Repository.
<remiliascarlet>
But honestly, it's no different from enabling all the unofficial ports collections on CRUX, although the difference is that CRUX users are generally more knowledgeable, but also less willing to actively contribute.
<zorz>
remiliascarlet: i am simple man, i only use firefox, vis, emacs, python, mysql, redis, ffmpeg thats why i settled with openbsd. python pypy is full of shit.
<remiliascarlet>
"i am simple man, i only use firefox...python, mysql, redis" such contradiction...
<remiliascarlet>
Be a real simple man, and give NetSurf a try.