
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
By default, developers work with time up to the level of seconds, i.e. HOURS, MINUTES and SECONDS. There could be instances in which we may want to work on the

In computer programming, whitespace is any character or series of characters that represent horizontal or vertical space in typography. Learn how to to check if a character is whitespace, as
See how to figure out whether or not a given TimeZone supports the Daylight Saving feature and if it is in use. Java supports this with the help of observesDaylightTime()
To convert a code-point (Unicode surrogate pair) into a string, rely on the following code: String str = “hello world”;int cp = str.codePointAt(some_position_in_str);String ch = String.valueOf(Character.toChars(cp));
You can use the yield keyword to hold and return the data to the caller. See below for an example. Public static IEnumerable ExampleMethod(){ List li = new List(); foreach
Dates are an important part of all record keeping activities. Due to globalization, it is important to understand how each country represents the date. Some countries start the date with
For building faster SQL queries, follow these hints. 1. Use Smaller batches Always try to delete data or update data in smaller batches. If you try to delete thousands of
With MySQL, we can find out the quarter by providing a date. In the example below, we will look at the current quarter with input as current date. Query: SELECT
Looping the characters of a string can be done via charAt() or toCharArray() as follows: String str = “hello world”;for (int i = 0; i
With the Skip and Take methods in LINQ, paging has become a lot easier. All we need to do is have a simple logic such as is outlined below. This
You may choose to validate the data that you enter in a table either, at the database level or at the application level. Application level is feasible only if the
Sometimes it can be quite a tedious task to construct a simple SQL query. These queries usually includes a lot of repetition for similar, yet different results. If you take

AmazonRekognitionClient amazonRekognitionClient = new AmazonRekognitionClient(Amazon.RegionEndpoint.);byte[] imageData = System.IO.File.ReadAllBytes(inputImageFile);DetectFacesRequest facesRequest = new DetectFacesRequest();facesRequest.Image = new Amazon.Rekognition.Model.Image{Bytes = new MemoryStream(imageData)};DetectFacesResponse facesResponse = amazonRekognitionClient.DetectFaces(facesRequest);//If faces are detected, extract themif (facesResponse.FaceDetails.Count > 0){foreach (var
Hello Editor, I am Rooney Reeves working as a Business Development Executive at eTatvaSoft. I’m writing to become more actively involved with your publication and I’d love to contribute a guest post on your website. For my writing skill, You can check out some of my published article links as listed below: https://readwrite.com/2019/03/20/iot-and-ar-are-found-revolutionizing-the-world-of-mobile-apps/ https://blogs.sap.com/2019/01/21/combining-iot-with-custom-mobile-apps-is-it-an-opportunity-or-a-roadblock/ https://codepen.io/lisadawson/post/why-is-angularjs-going-to-be-the-hot-favorite-among-web-developers https://www.devsaran.com/blog/react-development-framework-taking-over-front-end-development https://www.getelastic.com/6-digital-payment-trends-to-keep-an-eye-on I’ve been brainstorming some topics that I think your readers would get a ton of value. I’d like to pitch that topics which I think would be of interest to your readers. Here are the details: Topic 1: Angular 2 ??? Learn The Role Of Different Zones Topic 2: Laravel 5: Repositories and Services- How To Use Them? Topic 3: Angular 2- How To Protect Routes Using Guards If you don’t like the topics, we can always switch to something more suitable. I’ll make sure the piece overflows with information that can’t be found. What do you think? Would that be of interest?
Starting with JDK 13, we can define multi-line strings using “”” as follows: String text = “””some textsome textsome text”””;
MySQL has lot of support for working with date and time. The following is a quick and neat way of converting the current time from Unix format to Readable format.
For faster SQL queries, follow these hints. Know your data:When you know your data, or the structure of where your data is coming from, you will know how to formulate
Use the max() function to determine the value of the maximum number in a list. ages = [56, 34, 22, 35, 56, 89]maximumValue = max(ages) That’s all there is to
Let’s assume that we have a proxy at address proxy.host:8888. We can set up this proxy via the JDK 11 HttpClient as follows: HttpClient client = HttpClient.newBuilder() .proxy(ProxySelector.of(new InetSocketAddress(“proxy.host”, 8888)))
The Formatter class is used to format the output as needed. Here, we are trying to print the current time formatted in more than one format. Please see the output
A short is a 16-bit signed integer. It has a minimum value of -215 (-32,768), and a maximum value of 215 ‘1 (32,767) short example = -32; short myShort =
Learn how to use enum effectively in a switch case block. There are multiple advantages to not making any mistakes since the originals are defined in the enum. public class
Tessaract is a popular OCR software that lets you convert image to text with high accuracy. We can utilize its SDK in .Net and convert image to text very easily.
Just passing the CompTIA Certification Exams can seem like a huge and daunting obstacle. The good news is there are lots of steps you can take to make sure you???re as prepared as possible. As with any exam, preparation is the key to success. Here are some of the top tips for getting ready for the CompTIA certification exams.??? Read it, Read it, Read it All!Even if you???re more of a hands-on learner, it pays to read up on material that???ll be on the exam. Because text books are often prohibitively expensive, it pays to reach out to your local library to see what kind of books they have on the subject. Cruising the thrift shops is another way to find helpful material. Many people pass their books off to one of these shops once they???re done studying for their own exam.??? Write It DownWhether studying on your own, or taking a series of classes, one of the most effective ways to commit something to memory is to write it down. Once you have a good variety of notes, comb through them carefully for the most relevant information and use it to make your own study guide.??? Get Hands-On ExperienceWhile it doesn???t make sense to go out and buy ten of the latest, greatest pieces of hardware so that you can practice your skills, you can cruise yard sales, classified ads, and thrift shops for older pieces of hardware. The older technology isn???t going to be on the exam, most likely, but if you can get an ancient hard drive networked, you???ll probably have a much better chance at figuring out what???s wrong in a newer setup.??? Practice, Practice, PracticeThere are lots of great resources on the internet, including CompTIA practice tests. Take advantage of them! Practice tests can help familiarize you with the style of the test, as well as give you some insight as to what kinds of questions you???ll be answering on the real thing.You also have a good opportunity to better understand networking through your own in-home devices. Look at how your computers link up on your home network. Take apart an old modem and get a better understanding of connections and routing issues, or use these exercises as a refresher before taking the exams. The technology that you use every day can help give you a better practical understanding of networking and security issues and how to deal with them.??? Use Your HeadSome of the questions you???ll encounter on the CompTIA Exams will be multiple choice. Even if you don???t know the right answer, you might be able to use logic and common sense to eliminate some of the incorrect answers. This will give you a better chance of picking the right answer from the remaining options.
The WITH TIES clause can only be used only with TOP and ORDER BY. Both TOP and ORDER BY are required. Now what does the WITH TIES clause actually do?
The StringJoiner class helps in formatting strings when there are multiple values and you want to present them with some delimiter and some pre and post suffixes. The delimiter, pre
The quickest way to create a custom RuntimeException is as follows (simply extend RuntimeException): public class IncorrectFileException extends RuntimeException { public IncorrectFileException(String errorMessage, Throwable err) { super(errorMessage, err); }}
The move method accepts three arguments. The 1st and 2nd being the source and target Path attributes and the 3rd being the replace option. import java.nio.file.*;import static java.nio.file.StandardCopyOption.*;public class FileMove{
The Dictionary class in Python provide an update() function that allows you to merge two dictionaries. For example: employeeScore = { ‘Emp1’:100, ‘Emp2’:98, ‘Emp3’:96}employee2019Score= { ‘Emp1’:101, ‘Emp2’:104} To merge, just
Learn more about how to use three very different SQL statements. ROW_NUMBER?Always generates unique values without any gaps. RANK? Has gaps in its sequence DENSE_RANK? Returns the same rank for










