browse by category or date

Update on number of confirmed cases, and temporary closure of all mosques in Singapore:

[Sent by Gov.sg]

COVID-19: 12 Mar Update

As of 12pm:
New cases: 9
Total cases in Singapore: 187
Discharged today: 0
Total discharged: 96
Total remaining in Hospital: 91

Of the new cases, 3 are part of the SAFRA Jurong cluster, 5 are imported cases, and 1 is linked to a previous case.
Most in hospital are stable or improving. 9 are in the intensive care unit.

There is no change to the DORSCON level.
go.gov.sg/moh12mar

Temporary closure of mosques, suspension of mosque activities
– 4 mosques closed after confirmed case found to have frequented these mosques
– From 13 Mar, all mosques will be closed for 5 days for disinfection
– Mosques will cancel all mosque activities and classes for next 2 weeks
– Friday prayer at all mosques will be suspended on 13 Mar
More: go.gov.sg/mosquesclosure

PM’s update on the current Singapore condition in regards to COVID-19:

[Sent by Gov.sg – 12 Mar]

COVID-19 situation in S’pore

– More imported cases expected as global numbers rise
– More travel restrictions may be needed
– If there are many cases here, may need to hospitalise only those seriously ill; those with mild symptoms to see GP, rest at home

SG is NOT going to DORSCON Red
— We have the situation under control

Economic impact
– Measures to help affected businesses, workers
– Govt working on 2nd package of measures

Staying #SGUnited
👩‍⚕ Frontline staff working hard
💪 Singaporeans’ support crucial to overcome this

Everyone can do their part
– Practise good personal hygiene, adopt new social norms 🧼🙌
– Maintain social distancing 👋

Watch: go.gov.sg/pmo12mar

Stay safe and do social distancing, everyone!

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

FYI, I am still slowly reading this book:

Today I reached a page where it gives example of how to use regular expression to split string shown below:

“Acme, Inc”,”Excalibur Pte Ltd”,”Blackrock, Pvt”

Into collection of sub-strings shown below:

Acme, Inc
Excalibur Pte Ltd
Blackrock, Pvt

The regex pattern that the book gives is:


var rgx = new Regex("(?:^|,)(?=[^\"]|(\")?)\"?((?(1)[^\"]*|[^,\"]*))\"?(?=,|$)");

When I saw this pattern, I was totally shell-shocked by my inability to comprehend it. So here’s my attempt to understand it. First, I am breaking the groups found within the pattern to help me digest it.

(?:^|,)

According to the documentation, (?:subPattern) is a non-capturing group. It means this pattern will match to the beginning of line or comma, but it will not create a new group.

(?=[^\"]|(\")?)

(?=subPattern) means Zero-width positive lookahead assertion. So we expect anything other than quote or a quote, appear after the previous group. But the matching string can still be use by the next group.

\"?((?(1)[^\"]*|[^,\"]*))\"?

This pattern will capture everything, except comma

(?=,|$)

Another non-capturing group that will match comma or end of the string

That’s all, I hope it helps!

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

Today I was testing my JSON Table Editor on Microsoft Edge browser. After a while, I realize it failed to close the child window. After testing the same functionality on other browsers (Mozilla Firefox, Opera, Google Chrome), I can confirm that this problem only occurred in Microsoft Edge (version shown below) and Microsoft Internet Explorer 11 (it still exists lurking under Edge’s shadow :D)

Since this should be a Microsoft Edge bug, I filed a bug report https://aka.ms/AA7nfw2 (Only Windows 10 users will be able to see this bug report). The bug report details is below:

1. visit https://sodeve.page.link/tvQxphqV41i3KAiw9

2. Click the calendar icon in Locations column, a new tab will open

3. On the new tab, click “Finish Editing”, the tab will close

4. Click the calendar icon in Locations column, any other row, new tab will open

5. On the new tab, click “Finish Editing”, tab is failed to close

On other browsers, step 5 always successfully close the tab.

I hope they will take a look into this ASAP!

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant: