browse by category or date

Guidelines on workplaces with suspected or confirmed cases:

COVID-19: What should employers do if there are suspected or confirmed cases at the workplace?
MOM’s guidelines say:

For suspect cases, employers should:
👀 Identify close contacts
📝 Notify others of test outcomes
👨‍⚕ Get employees to monitor health, adopt good personal hygiene, see a doctor immediately and stay home if unwell

For confirmed cases, employers should:
🔁 Cooperate with contact tracing officers from MOH
⛔ Vacate and cordon-off the area where the case worked; no need to evacuate floor/building if there’s no sustained and close contact
🧽 Clean and disinfect thoroughly: go.gov.sg/NEAadvisory
💵 Consider providing additional medical coverage

More: go.gov.sg/covid19-workplace

Updates on number of confirmed and recovery cases:

[Sent by Gov.sg]

COVID-19: 20 Feb Update

As of 12pm:
New cases: 1
Total confirmed: 85
Discharged today: 3
Total discharged: 37
Total still in hospital: 48

Most in hospital are stable or improving. 4 remain in ICU.

Today’s new case is a Chinese national, Singapore work pass holder.

Contact tracing is underway to establish any links to previous cases or travel history to China.

More: Go.gov.sg/moh20feb

Thanking our unsung heroes keeping Singapore safe:
Go.gov.sg/togetherwecan

Stay safe and vigilant everyone!

GD Star Rating
loading...

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:

This is a continuation of my previous post, where I am trying to complete reading this book:

So, C# 7.0 also introduce pattern matching in switch statement. Consider below example function:

public static string detectParam(object o) {
	switch (o) {
		case int i when i > 10:
			return "Big Integer";
		case int i:
			return "Integer";
		case double d when d > 10:
			return "Big Double";
		case double d:
			return "Double";
		case string s:
			return "String";
		default:
			return "Object";
		case null:
			return "Null";
	}
}

We can then test the output of the function:

public static void Main()
{
	object o = 15;
	Console.WriteLine($"{o} is {detectParam(o)}"); // 15 is Big Integer
	
	object o1 = 9;
	Console.WriteLine($"{o1} is {detectParam(o1)}"); // 9 is Integer
	
	object o2 = 15.1;
	Console.WriteLine($"{o2} is {detectParam(o2)}"); // 15.1 is Big Double
	
	object o3 = 9.9;
	Console.WriteLine($"{o3} is {detectParam(o3)}"); // 9.9 is Double
	
	object o4 = "15";
	Console.WriteLine($"{o4} is {detectParam(o4)}"); // 15 is String
	
	object o5 = new Object();
	Console.WriteLine($"{o5} is {detectParam(o5)}"); // System.Object is Object
	
	object o6 = null;
	Console.WriteLine($"{o6} is {detectParam(o6)}"); // is Null
}

We can actually shorten the switch statement even further:

public static string detectParam(object o) {
    var result = o switch {
		int i when i > 10 => "Big Integer",
		int i => "Integer",
		double d when d > 10 => "Big Double",
		double d => "Double",
		string s => "String",		
		null => "Null",
		_ => "Object"
	};
	return result;
}
GD Star Rating
loading...

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:

It seems many people (including one famous celebrity) has been secretly violating their 14-days LoA (leave of absence). Thus, MOH is introducing new measure:

[Sent by Gov.sg – 19 Feb]

“Stay-Home Notice” (SHN) to fight COVID19

Who will be issued a SHN?
– S’pore Citizens, PRs, long-term pass holders and foreign employees issued with work passes, who have been in mainland China (outside of Hubei) in the last 14 days

What must you do during the SHN period
🏠 remain home at all times
🙅‍♀ minimise contact with others; no visitors
🧾 keep a record of persons you come into close contact with
🌡 monitor your health
🧼 maintain personal hygiene

Info on SHN: Go.gov.sg/StayHomeNotice

Leave of Absence Support Programme
– Extended to businesses and self-employed persons affected by SHNs
– Apply for $100 daily per worker on SHN

More: Go.gov.sg/loasp

Update on number of confirmed cases and recoveries:

Sent by Gov.sg]

COVID-19: 19 Feb Update

As of 12pm:
New cases: 3
Total confirmed: 84
Discharged today: 5
Total discharged: 34
Total still in hospital: 50

Most in hospital are stable or improving. 4 remain in ICU.

2 of the new cases have links to previous cases.

More: Go.gov.sg/moh19feb

Supporting Singaporeans impacted by COVID-19

Stabilisation and Support Package
– Help employers to retain workers & increase wages
– Corporate Income Tax rebates
– Flexible rental payments for Govt-managed properties
Go.gov.sg/support-companies-workers

Tourism, transport, retail and F&B sectors get additional support

Stay safe and vigilant everyone!

GD Star Rating
loading...

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: