Differences between revisions 17 and 18
 ⇤ ← Revision 17 as of 2019-05-31 13:06:54 → Size: 5752 Editor: scot Comment: ← Revision 18 as of 2019-05-31 13:24:48 → ⇥ Size: 6563 Editor: scot Comment: Deletions are marked like this. Additions are marked like this. Line 10: Line 10: Readonly '''Range calculations:''' Syntax gets shorter. Consider the following license plate number and state, that is then separated into two variables, plate and state. {{{#!highlight csharpstring x = "BVD789-TN";string plate = x.Substring(0, x.Length - 2);string state = x.Substring(x.Length - 2);}}}can become{{{#!highlight csharpstring x = "BVD789-TN";string plate = x[..^3]; //where 0 is assumedstring state = x[^2..]; //where length is assumed}}}'''Property pattern:''' allows you to use switch more easily. Consider the following{{{#!highlight csharpswitch(vehicle){   case Car c when c.Passenger == 1;      return 2.00m+0.50m;   ...}}}}Becomes:{{{#!highlight csharpswitch(vehicle){   case Car { Passengers: 0 }      return 2.00m+0.50m;   ...}}}}

# Current Events in CS & IT

I'll try to update this with events that are relevant for at least a semester or even a year. Some of these will be lists that relate to CS and CSA majors

2019-05-31

Looking at the C# 8 features. See: The video presetnation or see the webpage

Range calculations: Syntax gets shorter. Consider the following license plate number and state, that is then separated into two variables, plate and state.

   1 string x = "BVD789-TN";
2 string plate = x.Substring(0, x.Length - 2);
3 string state = x.Substring(x.Length - 2);


can become

   1 string x = "BVD789-TN";
2 string plate = x[..^3]; //where 0 is assumed
3 string state = x[^2..]; //where length is assumed
4


Property pattern: allows you to use switch more easily. Consider the following

   1 switch(vehicle)
2 {
3    case Car c when c.Passenger == 1;
4       return 2.00m+0.50m;
5    ...
6 }


Becomes:

   1 switch(vehicle)
2 {
3    case Car { Passengers: 0 }
4       return 2.00m+0.50m;
5    ...
6 }


2019-02-11

Security: Installed Suricata at home today as part of pfSense. I noticed that (unamed cell company) is using IKEv2 with weak parameters... Hmmm. Turns out it is the Galaxy Note 5 (Android 7.0) that is the instigator of this particular alert. Apparently all email coming from unamed cell company goes through their hosts (even if it is using the outlook app) using outdated VPN connection configurations. The next question would be, is it hackable. Perhaps more later.

2019-02-07

I'm playing with Docker Containers. I didn't have a full concept of what it does, so I started here on youtube. This video covers high level concepts related to efficiency, performance and security.

2018-12-29

I've been playing around with several things this break and I've been able (amid being sick) to catch up on a bunch of stuff.

1. I re-created my website using bootstrap. Don't judge to harshly, I just started playing with it. But at least now it will be visible on my phone.

2. I updated all my infrastructure at home - updated the firewall, got backups running correctly again, updated plex etc.
3. In an effort to create a dashboard that would monitor the various processes and backups etc, I started playing around with nodejs and express. And what did I find? A new tutorial resource that I think I'm going to love! I highly recommend taking a look at the Mozilla Developer Network tutorials at https://developer.mozilla.org/en-US/

2018-01-23

 Java - Pervasive Python - Web, Scientific Programming and Data Science Javascript - Web C++ - "C, C++ and C# will still be the most popular languages in 2018 because they power so much software" C# - Games, Enterprise, Web PHP - Web Perl - glue code Swift - Apple of course, but increasing in popularity R - Data mining... Rust - Systems language from Mozilla

2016-11-30

2016-11-16

10 Hot Programming Languages to Build Web Apps

 10 Hot Prog. Languages to Build Web Apps (11/14/2016) 10 Prog. Languages that will keep you employed (5/1/2015) HTML 5.0 Java CSS SQL Javascript Python Java Javascript PHP C++ Ruby C# ASP.NET (C#) PHP Cold Fusion* Swift Perl* GO* Python R

*These langauges seem to me to be a bit iffy for the list. Cold Fusion, may be around, but I don't see it much. Perl is aptly described in the article as "the chewing gum and baling wire of programming languages." Go seems trendy, but not popular yet.

1. CloudStack OpenStack derivative now computing with OpenStack.

2. OpenNebula aims at simplicity in Data Center Automation.

3. Eucalyptus For use with AWS style services

4. Ansible Tower is RedHat's cloud management software.

CurrentEvents (last edited 2022-04-14 13:29:42 by scot)