Coronavirus Pandemic

Inane baanter or words of wisdom - you decide...
Post Reply
User avatar
KlaxonCow
Baaaaaaa!
Baaaaaaa!
Posts: 8447
Joined: Fri Dec 13, 2002 3:46 am 0
Location: A large grassy field.

Re: Coronavirus Pandemic

Post by KlaxonCow »

Regular Expressions, innit.

Well, more precisely, a RegEx can match up sequences of text.

And you can specify things like "one or two alphabet characters, one or more digits, any amount of white space (including none), a digit, a couple of letters" (which is my, no doubt actually wrong, specification for a UK post code) in a more abstract way, as well as simply "find the sequence 'pippo' in this string".

But programming languages that support RegEx - like, indeed, Perl / Python / PHP - usually have a "RegEx replace" function, so you can search with a RegEx and then replace what's found with something else (which might or might not contain "entities" from the search string).

That, yeah, with a few RegEx functions like that, you can do some mad "text processing" stuff and many programming languages - like the P* languages above - have this built-in.

And even some applications - like the Apache web server - can use RegEx for matching up URLs, so you can do stuff like "$/products/(.*)?/" and then convert that to "/products.php?product=$1" to re-format a URL like "/products/sauce_pan" into actually calling "/products.php?product=sauce_pan", so one "products.php" PHP file actually handles all URLs starting "/products/*" and passes in what product they're looking for as a "product" variable.

I'm not a great expert in the RegEx "Japanese" - some people are absolute wizards with this and can cook up a clever RegEx that does it all perfectly and optimised - but I've had to deal with them enough (with things like Apache and PHP for processing URLs or validating inputs from a HTML form) that I've got the gist of the RegEx "Japanese" to make basic searches and substitutions and stuff.

And, yeah, I get it. It's quite ridiculously powerful what you can potentially match up / replace with a well-written bit of RegEx, that I can see why these are used all over the place in languages and tools and stuff (because, yeah, AWK / SED / GREP can also take regular expressions as arguments for doing mad stuff at the command line too).

But, yeah, learning to read and write that RegEx "Japanese" to get good at using it is like learning its own mini-programming-language unto itself.

Anyway, yeah, it's "regular expressions" that you're describing there and, yeah, this is so ridiculously "off-topic" for the Covid thread, you should win an award for the most off-topic thing in a thread ever. :D
"Words ought to be a little wild - for they are assaults of thought on the unthinking."
- John Maynard Keynes
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Coronavirus Pandemic

Post by gilesgoat »

Back to pandemic .. there's been "tremendous shit in Rome" about 10,000 "No Green Pass" protesters assaulted the seat of the CGIL ( worker's union ) and even threw some bombs , had fights with police, injuried some people and apparently there was some "mix up" of them and some neo-nazi/neo-fascist groups ..

It's been "politically quite an incident" .. a serious one .. they were showing slogans taken from Mussolini times and overall it's been "a pretty strong right presence" .. right as in "right wings parties" ..

But the "real thing" is that they wanted to do a thing "USA style" and actually the real plan was to assault the Palace of the Government ..

It's .. bonkers mad .. as I said those "No Vax" movements now "supplemented" by those "No Green Pass" movements are quite STRONG .. and they are quite nasty as well they are FAR away from "normal protest" they really would like to destroy the current government and form a new one ..

It's .. shit actually ..
Giles the billy goat
"Baa"
User avatar
Harlequin
Baaaaaaa!
Baaaaaaa!
Posts: 6505
Joined: Wed Jun 05, 2002 4:19 am 0
Location: London, directly above the centre of the Earth.

Re: Coronavirus Pandemic

Post by Harlequin »

gilesgoat wrote:Back to pandemic .. there's been "tremendous shit in Rome" …

It's been "politically quite an incident" .. a serious one .. they were showing slogans taken from Mussolini times and overall it's been "a pretty strong right presence" .. right as in "right wings parties" ..
Incidentally, Mussolini is now back in power in Rome.

Benito's granddaughter, that is.
Emoticon and contraction free since... quite a while ago.
User avatar
Mat
Baaaaaa!
Baaaaaa!
Posts: 2660
Joined: Wed Feb 16, 2005 12:04 am 0
Location: The Grizzly Grotto

Re: Coronavirus Pandemic

Post by Mat »

Before reading that article, I was prepared to give her the benefit of the doubt, as you shouldn't judge someone by who their ancestors were. But then I noticed she represents a far-right party.

It really is worrying how populism and far-right support is increasing worldwide. I seem to remember Yuval Noah Harari comparing nationalism to a virus, and it would appear he's not wrong. When a state becomes increasingly nationalistic, it would seem neighbouring states become nationalistic in order to protect themselves from the increasingly hostile neighbour.
User avatar
PFVA
Sheepie Whore
Sheepie Whore
Posts: 14996
Joined: Fri May 24, 2002 1:40 am 0
Location: Paralel 38

Re: Coronavirus Pandemic

Post by PFVA »

gilesgoat wrote:I feel a bit awful BUT .. I just "kicked out from the house" ( figuratively speaking ) a relative that wanted to visit me because he's not vaccinated ..

"Sorry the rules of the house is, no vaccine, no entry" ..
You are not the only one
Brazilian President Jair Bolsonaro said on Sunday he was not allowed to attend a league match between Santos and Gremio because the home club did not allow unvaccinated supporters into their stadium.

The soccer match was Santos' first with supporters present since the start of the COVID-19 pandemic, but the club insisted it would only permit entry of vaccinated people or those who had a negative PCR test.
https://www.the-star.co.ke/sports/footb ... cer-match/



Note: For those who don't know the city of Santos is the location of the commercial harbour for São Paulo and the Santos club was Pelé's club for almost all his football career. And Bolsonaro and the governor of São Paulo have strong different opinions about vaccination and Covid 19 prevention measures such as masks.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Coronavirus Pandemic

Post by gilesgoat »

MA DIO (*&^&$^&*"£^$&*£$"

The "Passenger Locator Form" I MUST compile before to enter UK asks for "please enter or scan the QR code proof of vaccination" .. ( or upload a document that contains it ) ..

EXCEPT that in WALES, such documents contains not one but TWO QR codes .. one for each vaccine dose ...

Guess what ? .. the site is NOT capable of reading/validating TWO QR codes, I tried to put one but even that did not work :x :x

Luckily it says "put NO and we'll ask proof for you at the borders" ..

BUT THEN .. after more questions it asks "what time and date you plant to enter UK" .. I put it and it tells me then OH NO YOU CAN NOT MAKE THIS FORM NOW, it MUST be completed NOT BEFORE 48 hours your departure !!

WHAT ? .. it's just a form asking me address and shit and stuff that WILL NOT CHANGE IN 48 HOURS !!!

So long for "I'll start a bit sooner NOT TO MAKE everything LAST MINUTE !!!" ..

Seriously ? GB Governmente ! F**K O** !!!! :x :x :x

And thanks goat I decided to make "an account" so "the data is retained I don't have to re-insert it again" ...
Giles the billy goat
"Baa"
User avatar
Orava
Sheepie Whore
Sheepie Whore
Posts: 12698
Joined: Sat Mar 13, 2004 12:13 am 0
Location: The West Country

Re: Coronavirus Pandemic

Post by Orava »

Apparently, as someone put it wisely; COVID, just like Brexit, will not make everything crash down all at once. It will just make everyday life a bit more difficult and annoying.

Today the shops had no eggs, I am not sure if I should blame COVID or Brexit.
Holier than thou
User avatar
zip accident
Sheepie Whore
Sheepie Whore
Posts: 13928
Joined: Sun Feb 20, 2005 1:58 pm 0
Location: Bristol, UK

Re: Coronavirus Pandemic

Post by zip accident »

Orava wrote:Apparently, as someone put it wisely; COVID, just like Brexit, will not make everything crash down all at once. It will just make everyday life a bit more difficult and annoying.

Today the shops had no eggs, I am not sure if I should blame COVID or Brexit.
Blame Brexit, it probably is the cause, and we know people were responsible for that, while Covid seems to have been random.
"My way is the way of not fighting":- the book of Enter the Dragon.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Coronavirus Pandemic

Post by gilesgoat »

.. so THANKS GOAT I managed to get the ( required ) PCR testing I need to travel back to UK ...

"How does it work in Italy ?" .. well .. this is my story ...

To book the test hasn't been too difficult, found a site of a clinic that does THAT type of test ( the one that costs 70 EUR instead of 20 or so "that are no good to travel aboard" ) , phoned them 3 times .. set an appointment ..

Appointment "today at 10.00 am, be there by 9.30 am" .. hum ok ...

So you think you go there at 10, you do your test and you get out ? .. WRONG !

First you get there at 9.30 AM .. you find there are already 20 or so people "waiting for something" in front of you ...

Turn out 15 of them has to do some blood tests and "they have priority" BUT ALSO there are these factors :

- there's some sort of STRIKE around going

- they lack personnell "cause something imprecised" so everything is slower and they cut booking in half

- they closed the distribution of "waiting numbers" at 9.00 AM ( and the ONLY way to know it would have been to be there some days ago and read a sign that anyway they probably put up just yesterday ) - SOME things, luckily NOT mine even if you have an appointment "for day/hour X" REQUIRE you get there and you pick up a number ( ticket ) if you don't have it you can't be served

- there are a number ( 15 out of 20 ) OAP "grumbling and ranting A LOT about everything" ( and well ready to KILL you if you only DARE to pass in front of them even if you have an appointment before them booked months in advance )

Speaking of the last one, this is SADLY "overall true in all Italy" DON'T KNOW WHY but if you want to see "the most BADLY BEHAVED/ASSHOLE BEHAVIOUR you could think of", just go to any Italian hospital/er/ambulatory/etc. .. for whatever reasons when people are in those places "they seems to take all the worst out of them".

Things you would NEVER ever believe they can happen, including people trying to throw other people out "so they can be first" .. it's insane ...

So anyway they start doing blood tests .. they start calling numbers "you don't know how is possible" but 1/2 of those numbers they call "do not exist" so like there's person "10" but no "11" but there's "12" .. what happened to the missing numbers ? Boh ?

During all that peole with NO appointment whatsoever TRY to "get in" and get told "sorry we can't fit you in today we have few personnel we can do only people with appointment" .. some drama ensues ...

Meanwhile "old lady has a problem with some papers" NO IDEA what was going on but I kinda got she had some wrong kind of paper .. drama for about 30 mins ...

Meanwhile turns out about 5 of us had to do this PCR testing .. one is a lady that turns out to be "another of those anti-vaxxers thigns" start talking about "no more freedom" "this government is playing games with us" "this Covid is a fabrication" and stuff like that .. Soap Opera starts ...

At some point "a guy with no appointment" tries to sneak in, he explains something not very clear what they say "ok ok listen if you wait when we done ALL the people before you then maybe we can fit you in" ..

Turn out .. he needed a PCR test for travelling, like us, BUT "he has to take an airplane to Bangladesh TODAY LATER ON" .. at this point the clinict try to explain him that's "impossible" because even if they do the test NOW it's going to take 24 hours before he can get results and that they have to send the sample "somewhere in Trieste" so there's absolutely no way he can have what it needs "Now".

BUT, they *TRY* to explain him that if he goes in ANOTHER clinic that is about 5 miles away from this one they may be able, at an extra cost, to do one of those "super rapid tests" and he may get the results immediately ( they don't tell him that's going to cost 200 eur or so but it doesn't matter ) ...

"It doesn't matter" because this guy starts to fall on the floor screaming and crying "that he lost 1000 eur his flight to Bangladesh" .. the clinic trying to explain him "that even if they do the test NOW he won't get results until tomorrow" BUT they CONTINUE TO TRY TO EXPLAIN HIM "go the the other clinic they MAY give you the instant test" ..

Mind you, IF he would have asked even some days in advance, they would have probably found a spot for him and he'd had the test done, thinking that "you can have it all in some mins" .. "he hasn't get information enough" because "that's not going to happen" ..

So while 3 of 4 people are trying to explain him "TRY TO GO TO THE OTHER CLINIC YOU MAY GET THE TEST" he's on the floor crying and sobbing and saying incomprehensible things blocking all the quques .. they try to wait 20 mins to sort him out .. he's still in that state ..

So they continue with tests while they call the police, not to arrest him but at least to see "if they can manage to bring him to the other clinic and sort him out".

Meanwhile "the anti vaxxer lady" is almost starting a political debate outside .. Soap Opera continues ...

They make me change my mask, wear some latex gloves, disinfect all, take my temperature "ok you can go in".

Finally I get my test done, after I signed FOUR PAPERS *ALL ABOUT PRIVACY CONSENT* !!! This to "authorize them" to actually give me back MY TEST RESULTS and put them for me to collect "in a safe logins site" ... they give me some login data and shit to access it, we'll see if it did work tomorrow ..

Ah yes "thank goat I still have my Italian NHS card" I would have done NOTHING without it as it's needed for this and that ..

Finally "they really poked my nose and hurt me quite a bit" .. so on the way out I look at that no "anti vaxxers lady" and I tell them looking sorry "OOUCH THEY REALLY DID HURT MY NOSE !" .. lady goes banana and start yelling things like "bastards they do it on purpose I KNOW it!!" .. Soap Opera continues ...

At that point I had a huge grin under my mask :D

Finally on the way out I trashed all the stuff and passing by a bakery that also sells coffee I took an espresso.

I nearly got thrown out "because we close at 11.00 AM we open at 5.30 AM !" "Oh ? I did not know that .. " ...

The coffee was good anyway ...

So FINGERS CROSSED I SHOULD get my result tomorrow, if not I'll have to drop by that clinic again.

While I was there I also heard things like ".. yeah Monday we had an emergency WE HAD TO SHUT DOWN ALL TESTS/APPOINTMENTS!!" ...

Glad I did not have to be there on Monday ...

YOU CAN *NEVER* trust "things will go as they SHOULD" in Italy ...

[edit] - ah yes .. 70 EUR for all that IN CASH because "sorry we can NOT accept cards/etc. " .. ..

Oh well ...
Giles the billy goat
"Baa"
User avatar
merman
Sheepie Whore
Sheepie Whore
Posts: 10943
Joined: Wed Feb 16, 2005 1:44 pm 0
XBL Gamertag: merman1974
Yahoo Messenger: andrewrfisher
Location: Skegness, England
Contact:

Re: Coronavirus Pandemic

Post by merman »

12,000 dead since “Freedom Day”

Boris on holiday while MPs publish the critical report saying how bad the Government response was.
Twitter, Xbox, Wii U and Steam - merman1974
ZZAP is back - https://www.patreon.com/zzapmagazine
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Coronavirus Pandemic

Post by gilesgoat »

Yahey incredibly but true it did work .. Insert this code, insert this PWD .. grab results .. "negative" :D

Oh well, at least it did work in the end :)
Giles the billy goat
"Baa"
User avatar
merman
Sheepie Whore
Sheepie Whore
Posts: 10943
Joined: Wed Feb 16, 2005 1:44 pm 0
XBL Gamertag: merman1974
Yahoo Messenger: andrewrfisher
Location: Skegness, England
Contact:

Re: Coronavirus Pandemic

Post by merman »

Private lab in Wolverhampton made mistakes in over 40,000 tests.

A lab given a fast track contract by former Health Secretary Matt Hancock worth £120 million.

Private companies have been a waste of money throughout this pandemic.
Twitter, Xbox, Wii U and Steam - merman1974
ZZAP is back - https://www.patreon.com/zzapmagazine
User avatar
Cloudane
Baaaaaaa!
Baaaaaaa!
Posts: 7937
Joined: Wed Jun 15, 2005 6:05 pm 0
Location: VRchat

Re: Coronavirus Pandemic

Post by Cloudane »

I have to conclude that nothing has been learned. Quite a few at work now who are suffering quite visibly (and audibly) with colds and other bugs but in spreading them around as they feel they're "too busy" (and too important) for time off. Back to old normal, nothing has changed (except for the excuse to stop all the good stuff like the canteen...
User avatar
merman
Sheepie Whore
Sheepie Whore
Posts: 10943
Joined: Wed Feb 16, 2005 1:44 pm 0
XBL Gamertag: merman1974
Yahoo Messenger: andrewrfisher
Location: Skegness, England
Contact:

Re: Coronavirus Pandemic

Post by merman »

Boris and Carrie Johnson had a friend stay over at Christmas last year, breaking the rules.
Twitter, Xbox, Wii U and Steam - merman1974
ZZAP is back - https://www.patreon.com/zzapmagazine
User avatar
pyroxian
Baaaaa!
Baaaaa!
Posts: 1308
Joined: Sat Nov 06, 2004 2:05 pm 0
Location: OX-ford

Re: Coronavirus Pandemic

Post by pyroxian »

merman wrote:Boris and Carrie Johnson had a friend stay over at Christmas last year, breaking the rules.
You were still allowed to form a support bubble with one other person though, so that would still be allowed I guess?
Post Reply