Apply yourself, or submit others as a candidate, Build a recruitment team to submit others as a candidate, submit RFP to be considered for projects in future, Try to become a vendor so that you are asked to submit consultants/resources in future
Jul 10
#Canada: #IT Jobs:#Consultants, #Contractors, #Analysts, #Engineers, #Developers, #Technology Consultants, #IT-Consultants Opportunities2021-07-11
Jul 10
#Sensor: #Canada: #Job/Contract/Project: #Sensor, #Tracking, #Fusion, #Estimation, #Surveillance, #sensor network, #target #tracking, #security 2021-07-11
Date Posted:2021-07-11 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria
Keywords Used:sensor,fusion,sensor network,tracking,target tracking,surveillance,self driving car,self-driving,estimation,security,signal processing,image processing,autonomouse vehicle,facial recognition,signal,recognition,sensor fusion
Jul 10
Still fails: cyber security
Despite Global Cybersecurity Spending Predicted To Exceed $1 Trillion From 2017-2021, Still failures are too common, apparently.
https://cybersecurityventures.com/cybersecurity-market-report/
From Google search, not my opinions or beliefs
Despite: "No one knows how many scientific journals there are, but several estimates point to around 30,000, with close to two million articles published each year." where many must be in security, security measures still fail. https://www.universityworldnews.com/post.php?story=20180905095203579
Why are cyber security controls failing? https://www.huntsmansecurity.com/blog/why-are-cyber-security-controls-failing/
The failing approach of managing cybersecurity : https://www.securitymagazine.com/articles/92960-the-failing-approach-of-managing-cybersecurity
7 signs your cybersecurity is doomed to fail in 2020: https://www.helpnetsecurity.com/2019/12/20/cybersecurity-fail-2020/
3 reasons businesses are still failing at strong cybersecurity: https://www.techrepublic.com/article/3-reasons-businesses-are-still-failing-at-strong-cybersecurity/
Why Do Commonly Used Security Measures Fail: https://securitytoday.com/articles/2018/02/01/why-do-commonly-used-security-measures-fail.aspx?admgarea=ht.networkcentric&m=1
Majority of Companies are failing at cyber security metrics, and investing blindly: https://thycotic.com/company/blog/2017/11/22/companies-fail-at-cyber-security-metrics-invest-blindly/
What Causes An Information Security Program to Fail? https://www.veracode.com/blog/managing-appsec/what-causes-information-security-program-fail
How Smart Companies Fail to Secure Their Data: https://www.uscybersecurity.net/how-smart-companies-fail-to-secure-their-data/
Why Cybersecurity Is So Difficult to Get Right: https://hbr.org/2015/07/why-cybersecurity-is-so-difficult-to-get-right
Cybersecurity Failures: Top 6 Reasons: https://theceoviews.com/top-6-reasons-for-cybersecurity-failures/
kaseya-failed-to-address-security-before-hack-ex-employees-say : https://www.bloomberg.com/news/articles/2021-07-10/kaseya-failed-to-address-security-before-hack-ex-employees-say?srnd=premium-canada
Jul 10
XmlTextReader Overview #Misc .Net
Brought from our old site: http://salearningschool.com/displayArticle.php?table=Articles&articleID=626&title=XmlTextReader%20Overview
Overview of .Net XmlReader and XmlWriter Object
XmlReader
Can read XML data both from file or stream. Readonly access. Also, provides information about the XML data.
XmlTextReader class is derived from XmlReader. It provides faster access to XML data though it does not support
validating DTD or XML schema.
XmlValidatingReader class supports both DTD and schema validation.
Attributes of XmlTextWriter class are AttributeCount, Depth, HasAttributes, HasValue, IsEmptyElement, Item, Value. Some methods are: IsStartElement, MoveToElement, MoveToFirstAttribute, MoveToNextAttribute, Read, ReadAttributeValue, ReadString, ReadStartElement, ReadEndElement, Skip
Example
dim reader as New XmlTextReader("")
while reader.Read()
select case reader.Nodetype
case XmlNodeType.Element
Console.Write("<"+reader.name);
While(reader.moveToNextAttribute())
Console.Write(" "&reader.name & "='" & reader.value & "'")
End While
Console.Write(">")
if reader.HasAttributes then
while reader.movetonextAttribute()
Console.Write(reader.value)
End While
end if
case XmlNodeType.Text
Console.Write(reader.value)
case XmlNodeType.EndElement
Console.WriteLine("")
end select
end while
From: http://sitestree.com/?p=3768
Categories:Misc .Net
Tags:
Post Data:2016-07-17 15:02:21
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
Jul 10
Overview of XML programming in Dot Net #Misc .Net
Brought from our old-site (a very old short-note): http://salearningschool.com/displayArticle.php?table=Articles&articleID=625&title=%3Ch2%3EOverview%20of%20XML%20programming%20in%20Dot%20Net%3C/h2%3E
Overview of XML programming in Dot Net
XML DOM (Document Object Model)
Three ways to read XML documents in dot net are: XML DOM, SAX, XMLReader.
DOM loads entire XML data into memory for processing, it is both read-write, I mean you can change XML data and save. DOM uses data-structures to represent the data in the RAM.
SAX does not load all XML data in memory rather processes sequentially. SAX is good for just reading large XML file/data but as it does not store the data in the RAM and does not use any data structure, it can not perform complex operations(search) on the data.
XmlReader class of the .Net framework can also be used to read and process XML data. It provides read only and forward only access.
How XML DOM works?
The root node of an XML document is represented by the XmlDocument. XmlDocument is derived from XmlNode class. XmlDocument provides methods such as Load(Load XML data from file), LoadXml(takes XML string as parameter to load), and Save(to save XML data into a file). Also, you can use XmlDocument to traverse through the XML data and process/print
Example code:
Vb.net
dim xmlDo as New XmlDocument
xmlDoc.load(emp.xml);
//or xmlDoc.loadXml
(“”);
Console.WriteLine(xmlDoc.InnerXml.ToString)
xmlDoc.save(“newDoc.xml”);
C#
XmlDocument xmlDoc = New XmlDocument();
xmlDoc.load(emp.xml);
//or xmlDoc.loadXml(“”);
Console.WriteLine(xmlDoc.InnerXml.ToString())
xmlDoc.save(“newDoc.xml”);
Parsing an XML document
————————
C#
count=0;
i=1;
XmlNode node=xmlDoc.ChildNodes[1];
foreach(XmlNode node1 in node.ChildNodes)
{
foreach(XmlNode node2 in node1.ChildNodes)
{
Console.WriteLine(xmlDoc.DocumentElement.FirstChild.ChildNodes[count].Name+”:”+node2.FirstChild.Value);
count = count + 1;
}
i=i+1;
count=0;
}
—
count =0
i=1
dim node1 as XmlNode;
node1 = xmlDoc.ChildNodes(1)
foreach node1 in node1.ChildNodes
dim node2 as XmlNode
foreach node2 in node1.ChildNodes
xmlDoc.DocumentElement.FirstChild.ChildNodes(count).Name
+”:”+node2.FirstChild.value
next
i=1+1
count=0
next From: http://sitestree.com/?p=3766
Categories:Misc .Net
Tags:
Post Data:2016-07-17 15:01:55
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
Jul 10
Understanding .Net Application Deployment: .Net Deployment Features #Misc .Net
Brought from our old-site: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1116&title=Understanding%20.Net%20Application%20Deployment:%20.Net%20Deployment%20Features
- Features you are required to understand: No-impact applications: isolate applications, remove DLL effects, Keeping the Components Private: components available only to the application, Controlled Code Sharing using GAC, Side by Side Versioning: Multiple versions of the same application, Xcopy Deployment: Without registry entries (copy to a directory), On the fly updates, Integrated with Microsoft Windows Installer, Enterprise Deployment: Use Active Directory to deploy applications on user login or computer start.
- Packaging: Assemblies (deploy the .dll and .exe files), Cabinet Files (.cab): Compress the .exe files into .cab files, Create .msi files
- Distribution: Xcopy or FTP: CLR applications with no registry entries, Code Download, Use windows installer
- Four types of deployment projects: Setup, Web-setup, Cab, Merge Module
- Creating different types of deployment projects: Visual Studio: File-> New project ->other project types-> set up and deployment -> then select Setup, Web Setup, Merge Module, or CAB project
- Structuring a .NET Application For Easy Deployment
- About Merge Module Projects: Installing and deploying components
- Implementing Versioning and Side-by-Side Deployment: Deploy assemblies with different version numbers in the global assembly.
From: http://sitestree.com/?p=3761
Categories:Misc .Net
Tags:
Post Data:2016-07-17 07:21:59
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
Jul 10
Deploying .Net Windows Applications #Misc .Net
Brought from our old-site:http://salearningschool.com/displayArticle.php?table=Articles&articleID=797&title=Deploying%20.Net%20Windows%20Applications
Deploying .Net Windows Applications
- Ways to deployment: XCOPY, Automated setup application
- Use XCOPY only when there is no external dependencies other than .Net framework. And it is guaranteed that .Net framework is installed in all the target machines. Also, make sure the application directory contains all the files
- Command example: XCOPY d:myApplication c:deployedApplication /s — /s indicates subdirectories will also be copied
- Setup Applications: two types: setup projects and merge module projects
- Setup projects: installs your application to the target machine
- Merge module projects: Used to deploy controls and components. It can be merged with a setup project
- To create setup project: File Menu->Add Project -> New Project->setup project-> setup project creation wizard comes. Select options as appropriate. It will be mostly common sense.
- Merge module project: File Menu->Add Project -> New Project->setup and deployment project-> setup wizard. Select options as appropriate. It will be mostly common sense.
- Setup project is also displayed in the project explorer. Right click and select properties to provide build properties.
From: http://sitestree.com/?p=3757
Categories:Misc .Net
Tags:
Post Data:2016-07-17 08:30:59
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
Jul 10
Debug and Trace classes in .Net #Misc .Net
Brought from our old-site (yes, pretty old short-note): http://salearningschool.com/displayArticle.php?table=Articles&articleID=636&title=Debug%20and%20Trace%20Classes%20in%20.Net
Debug and Trace classes in .Net
You can always debug your applications line by line. However, when the applications get very bigger/larger, debugging line by line may not be an efficient way for finding errors in code (well, you can first find out the error region and then can debug line by line). Debug and Trace classes are handy in such cases. Using Debug and Trace classes, you can find errors and write them in a file or create an event log. Later, you can check the file or the event log to see what kinds of errors the applications are causing. They both provide the same functionalities except that Debug class works only in the debug mode. Trace can work even after the applications are released and also you can control the error reporting from released versions. In a .config file you can change the behavior of the Trace class.
Logging Trace Output into a text file
- 1. Create a FileStream object instance and map it to a file
- 2. Create a TextWriterTraceListener instance and make the text file as the targe of this listener
- 3. Add this listener to the Trace.Listeners collection
- 4. set Trace.AutoFlush to be true
- 5. where required you can use Trace.Write method to send error messages to the file
- 6. Trace.Write, Trace.WriteLine, Trace.WriteIf, Trace.WriteLineIf can be used to send error message to the file
- 7. Trace.Assert method writes error messages only if the supplied condition fails. Trace.Assert also displays the error in a MessageBox
- 8. Trace.Fail causes an Trace.Assert unconditionally
Logging Trace output into an Event Log
- 1. Create or open an Event Log
- 2. Set the Source property of Event Log
- 3. Create an instance of EventLogTraceWriter and specify the new event log as it’s target
- 4. Use Trace.AutoFlush[automatic sending], or Trace.Flush [send error messages explicitly]
- 5. Where required, you can use Trace.Write method to send error messages to the file
- 6. Trace.Write, Trace.WriteLine, Trace.WriteIf, Trace.WriteLineIf can be used to send error messages to the file
- 7. Trace.Assert method writes error messages only if the supplied condition fails. Trace.Assert also displays the errors in a MessageBox
- 8. Trace.Fail causes a Trace.Assert unconditionally
TraceSwitches
TraceSwitch/BooleanSwitch class can be used to control the error messaging that the Trace class generates.
From: http://sitestree.com/?p=3753
Categories:Misc .Net
Tags:
Post Data:2016-07-17 09:54:12
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
Jul 10
XML Related Classes in .Net #Misc .Net
Brought from our old site (yes, very old short-note): http://salearningschool.com/displayArticle.php?table=Articles&articleID=633&title=XML%20Related%20Clasees%20in%20.Net
XML in ADO.net VB.NET C#.NET
XML is the foundation of .NET. .NET internally represents data as XML and hence can provide inter-operability and interaction among applications written in different platforms and languages [.Net compatible].
XmlReader
In .Net you can use XML with SqlCommand object. You first create a connection to the SQL server database using the SqlConnection object. Then you can use a SqlCommand object with that SqlConnection object to query sql server databases(in XML format). You can use the ExecuteXmlReader() method to execute a query. A select operation will return data that can be grabbed into a XMLReader [similar to DataReader object] object. You know that in SqlCommand object you can specify the Query or the stored procedure name to execute. XmlReader object has a Read method like the DataReader object that helps to navigate through the nodes. Mentionable, the query must have FOR XML clause.
XML with DataSet
DataSet object has two methods to work with XML. You can use ReadXml to read a XML file or stream. Also, you can use WriteXml to write the contents of the DataSet to a file, stream, or an XmlWriter or TextWriter object.
XmlDataDocument Class
You can load XML data into a XmlDataDocument object[from a file or from a dataset]. DOM can be used to manipulate the data. A DataSet containing XML data can also be loaded into a XmlDataDocument object(constructor parameter).
XSLT Transform:
XmlDataDocument and XslTransform classes are used to transform XML from one form to another. An XslTransform object contains the style definition and loads a style file using it’s Load method. The Transform method of XslTransform transforms XML data according to the style sheet rules. Transform takes a XmlDataDocument[or objects implemented IXPathNavigable interface] object as a source XML data to transform. Transform also, takes another parameter for the destination[a file, stream, XmlWriter, or TextWriter]
All these apply for both VB.net and C#.net. I will provide some code examples in future.
From: http://sitestree.com/?p=3751
Categories:Misc .Net
Tags:
Post Data:2016-07-17 08:47:21
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
Jul 10
Database Programming in .Net: ADO.Net Overview #Misc .Net
Overview of ADO.net
Purpose
- Components of ADO.net and their functions
ADO.net provides disconnected database access to make minimum resource (RAM,Page Table,Heap) use. Database connections are open as long as the connection is required. Afterwards, the connection is just closed. If connections are kept active and if new connections are used for new operations, the system resource will easily used up. Further, it can consume database licenses quickly.
ADO.net has two major entities. DataSet and Data Provider
Data Set
Data set is in-memory representation of data. After querying a database, you may keep your data in a DataSet. DataSet may contain 0, one or more tables. The tables in DataSet are termed as DataTables. DataTables have two concepts/collections DataColumns, and DataRows. DataRows contain the data. DataSet also contains DataRelations collections that may be used to create relations among the DataTables in the DataSet. Additionally, DataSet contains ExtendedProperties collections to contain custom information about the DataSet
Data Provider
It is actually a collection of several components. Some data provider objects are:
- SQL Server Data Provider: To interact with MSSQL Server Databases
- OLE DB.Net data provider: May be used to interact with other databases.
- ODBC (.Net) Data provider
- Oracle Data Provider: For efficient interaction with Oracle Databases
Data Provider Components
- Connection Object: To connect to the database. Objects: SqlConnection(for MS Sql Server), OleDbConnection(for wide range of databases), ODBC Connection(to connect through ODBC), OracleConnection(for oracle). The main property of Connection objects are the ConnectionString.
- Command Object: like SqlCommand, OleDbCommand. After creating a connection a command object may be used to query the database or to run a stored procedure. It has methods like ExecuteNonQuery(For Insert,Update,Delete), ExecuteScalar(to access a single value),ExecuteReader(returns ResultSet, may be kept in a DataReader object)
- DataReader Object: Like, SqlDataReader, OleDbDataReader, [ODBCDataReader,OracleDataReader]. It is a read-only, forward only, connected data stream. It uses the connection exclusively and tries to use minimum system resources[contain only one row in the RAM]
- DataAdapter Object: It is the object that provides disconnected data access in .Net. DataAdapter fills a DataSet or DataTable by using it’s Fill method. Unlike DataReader DataAdaptor can propagate the changes in DataSet/DataTable to the database using it’s Update method. DataAdapter contains queries(select,update,insert,delete) in four properties like SelectCommand, InsertCommand,DeleteCommand,UpdateCommand. When fill method is called the data returned by SelectCommand query are saved in DataSets/DataTables. Remember Update is another method, that copies DataSet data to the Database.
From: http://sitestree.com/?p=3749
Categories:Misc .Net
Tags:
Post Data:2016-07-16 16:46:07
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada
