
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.
You can replace new lines and spaces inside a field with a statement similar to the following: REPLACE(REPLACE(LTRIM(RTRIM(FIELD_NAME)), CHAR(13), ”), CHAR(10), ”)
It’s always a good idea to get an instant preview of the layout while optimizing your CSS code. It helps you to understand and debug CSS styles better. There are
Iterating a list and printing the values is very simple, as illustrated by the code snippet below. import java.util.*;public class DoubleColon{ public static void main(String args[]) { DoubleColon doubleColon =
The ExceptionDispatchInfo class can be found in System.Runtime.ExceptionServices namespace and is used to capture an exception that occurs at a point, and it can be thrown later using the ExceotionDispatchInfo.Throw
This class belong to java.time package. There are many options available, but here we will be using the ZoneId to get the current time. import java.time.*;public class UsingOffsetDateTime{ public static
Setting a default NULL Date in SQL is quite easy, you just need to concentrate. A statement similar to the following will convert any NULL value inside the specific DATE
This code uses the class loader that loads the current class and getClass() could return something unexpected, like a subclass, or a dynamic proxy. This is hardly ever what you
HTTP2 is binary protocol released some time after 2015. It is completely multiplexed and allows you to send multiple requests via a single TCP connection. It also reduces additional round
https://play.google.com/store/apps/details?id=com.steevjames ‘The Typing Game’ helps improve ones skill in typing in mobile. It is a fun, addictive and educational game. Compete with you friends and have fun ! * This is a small sized game ( Just 1 MB ).* The game does not have any sorts of advertisements.* It is a very user friendly app.* The Typing Game does not require any permission to install or run making it fully safe.* The game uses a simple approach that is easily understandable so even small children can use it.* The app is rated for age 3+ in google play.* This game does not run in the background.
Devart introduced a significant update of dotConnect for MySQL, a powerful ORM-enabled data provider, with the full support for recently enhanced MySQL 8.0. Devart, a Czech software vendor of data connectivity solutions and database tools, has rolled out a greatly improved version of dotConnect for MySQL, a fast and advanced ADO.NET provider. Following the recent update of MySQL Server by Oracle, the tool now fully supports the latest version of MySQL with improvements across the board. Here???s the scoop on the key enhancements implemented in new dotConnect for MySQL: MySQL 8.0 support for seamless MySQL-based application developmentThe support for caching_sha2_password, the new default MySQL authentication pluginExtended list of MySQL charset collations Improved performance of SSIS Lookup component The above represents some of the highlights. Drill further into the complete list of other useful features of dotConnect for MySQL at https://www.devart.com/dotconnect/mysql/ . About Devart Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects. For additional information about Devart, visit https://www.devart.com/ .
See how to use the rotate method in Collections to rotate the elements to a specified position. import java.util.*;public class UsingRotateInCollections { public static void main(String args[]) { UsingRotateInCollections usingRotateInCollections
Right-click on a shortcut icon and then go to the shortcut tab. From there you can assign a keyboard shortcut in the shortcut key text box. Just save and the
Not all stories need to be success stories. Reality is also not like that. We would like to share a true, disappointing story (but a phenomenal learning experience) that may be beneficial to you. This is a story about optimizing memory utilization of a web application. This application was configured with a lot of memory (4GB) just to service handful of transactions/sec. Thus, we set out to study the memory utilization patterns of this application. We captured heap dumps of this application using ???jmap??? tool. We uploaded the captured heap dump to HeapHero tool. HeapHero is a heap dump analysis tool just like Eclipse MAT, JProfiler, Yourkit. HeapHero tool profiled the memory and provided statistics on total classes, total objects, heap size, histogram view of large objects residing in the memory. On top of these traditional metrics, HeapHero reported the total amount of memory wasted due to inefficient programming practices. In modern computing, considerable amount memory is wasted because of inefficient programming practices such as: Duplicate object creation, suboptimal data type definitions (declaring ???double??? and assigning only ???float??? values), over allocation and underutilization of data structures and several other practices.

You can check which providers are installed on your server with this command: EXEC sp_MSset_oledb_prop
Devart released the upgraded version of ODBC Driver for xBase with extended compatibility options that include the support for Codebase and Clipper DBF file formats.
The snippet of code below is a common practice to replace title from a text-based title to an image: h1 {text-indent:-9999px;background:url(“title.jpg”) no-repeat;width:100px;height:50px;} Explanation: text-indent:-9999px; throws your text title off screen,
In MySQL, you can know the permissions granted to an user using the following statement. We will now use this code to find the permissions available for user user_admin. This
We can now have conditional catch blocks in C#. The catch block will execute only if the condition evaluates to true. Please see below for an example. catch (Exception ex){
At times, it is necessary to replace full or partial value in a column. The following command will be handy in achieving the this result. UPDATE TABLE_NAME SET COLUMN_NAME =
Dramatically reduce the execution speed of your queries using SET ARITHABORT ON as it saves time by not calculating unnecessary numerical data.
In HTML5 and later, you can add speech recognition to a text input, as simple as adding an attribute to your elements. We can enable speech input by using the x-webkit-speech attribute like this: When speech input is enabled the element, you should see a small microphone icon displayed on the right of the input. Clicking on this icon will launch a small tooltip to show that your voice is now being recorded.
Hello, My name is Monique Plummer, Customer Experience Agent for Yaasa. Yaasa is a world class adjustable furniture and accessories company that intuitively adapts to improve our customers comfort and wellbeing. We create products that enhance people’s individual living experiences, simply & affordably, and all our products are delivered right to your door. After the success of our mattress-in-a-box business, we knew we had to go further into the world of comfort and wellness in order to stand out in the marketplace. So, we recently introduced the Yaasa Adjustable Bed to our portfolio to complement our mattress and accessories, and provide a more enhanced rest experience. The bed has already been featured on Touch of Modern and has been getting amazing reviews from both our affiliates and customers. I wanted to see if the Yaasa Adjustable Bed was something that you would be interested in featuring on your site? Below is a link to the full press kit with all the information and assets you will need, of course should you need any more details I, or any of the Yaasa team will be happy to help. I can also offer a demonstration in person with one of our team if you think this would help and inform your article so you can see the power of adjustability in action! https://www.dropbox.com/sh/ocxl64q50zyrihd/AAC1U5HrqFRgNUe692j2_Jk3a?dl=0 We have a lot of exciting adjustable innovations in the pipeline for 2018/19, and I look forward to sharing more news regarding those launch dates and events as they happen. In the meantime, thank you for your time and I look forward to hearing back from you. Best wishes, Monique Plummer Customer Experience Agent YaasaIt???s Time To Adjust
Devart has announced a significant update of its Delphi Data Access Components with support for Lazarus 1.8.4 and numerous handy features that enhance data access and confidentiality. Devart, a Czech software vendor of database tools and data connectivity solutions, rolled out new versions of Delphi Data Access Components, the fast and reliable data connectivity solutions for any database. The new release includes the support for Lazarus 1.8.4, brand-new features of cloud and database providers in UniDAC and many others to assist programmers in developing fast and native applications. Here???s a closer look at the most noteworthy improvements implemented in the release: MySQL Data Access Components (MyDAC) now support MySQL 8.0, as well as sha2_password, caching_sha2_password authentications. The new version of SQL Server Data Access Components (SDAC) include MARS, NonBlocking mode and Query notifications in TDS. InterBase and Firebird Data Access Components (IBDAC) now provide System Encryption Password (SEP). Moreover, updated IBDAC offers the ability to grant/revoke admin role for a Firebird user using IBCSecurityService component.Oracle Data Access Components (ODAC) now allow significantly enhanced data fetching in the Direct mode. The new version of PostgreSQL Data Access Components (PgDAC) supports HTTP/HTTPS tunnel.SQLite Data Access Components (LiteDAC) now support WAL in the Direct Mode for non-Windows platforms.Upgraded Universal Data Access Components (UniDAC) include updated cloud providers that support App center client authentication for Salesforce MC, FreshBooks new version, Magento 2.x, NetSuite Sandbox and ZohoCRM Domain.What???s more, performance of batch operations is greatly enhanced in all Delphi Data Access Components. Got interested? For more goodies about a bunch of brand-new features in upgraded Delphi Data Access Components, visit https://www.devart.com/dac.html . About Devart Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects. For additional information about Devart, visit https://www.devart.com/ .
ASP.NET’s Web APIs support custom formatters. One of the best examples for a custom media formatter is a Vcalendar data format that can used in calendar software such as Outlook.
The Java.net package has an API that does the hard work of collecting all the details and returns the server name. It’s easy with the code snippet listed below. Pass
Continuous Integration/Continuous Deployment (CI/CD) has become central to software development. To ensure high-quality software releases smoke tests, regression tests, performance tests, static code analysis & security scans are run in CI/CD pipeline. Despite of all these quality measures, still applications are facing OutOfMemoryError, CPU spikes, unresponsiveness, degradation in response time in production environment. These sort of performance problems surfaces in production because in CI/CD pipeline only macro level metrics such as: Static code quality metrics, test/code coverage, CPU Utilization, memory consumption, response time??? are studied. In this article let???s review the micrometrics that should be studied in CI/CD pipeline to delivery high quality releases in production. We will also learn how to source this micrometrics and integrate it in to CI/CD pipeline. How Tsunamis are forecasted? You might wonder why Tsunami forecasting is related to this article. There is a relationship :-). A normal sea wave travels at a speed of 5 ??? 60 miles/hr, whereas Tsunami waves travel at a speed of 500 ??? 600 miles/hr. Even though Tsunami wave travels at a speed of 10x ??? 100x speed of normal waves, it???s very hard to forecast Tsunami waves. Thus, modern day technologies use micrometrics to forecast to Tsunami waves. Multiple DART (Deep-ocean Assessment and Reporting of Tsunami) devices are installed all throughout the world. DART contains two parts: a. Surface Buoy: Device which floats at the top of ocean water b. Seabed Monitor: Device which is stationed at the bottom of the ocean Deep ocean water is about 6000 meters in depth. (20x of tallest San Francisco Sales Force tower). Whenever the sea level raises more than 1 mm then DART automatically detects it and transmits this information to satellite. This 1 mm raise in sea water is a lead indicator of Tsunami origination. I would like to request you to pause here for a second and visualize length of 1 mm in the scale of 6000 meters sea depth. It???s nothing, negligible. But this micrometric analysis is what used for forecasting Tsunamis. How to forecast Performance Tsunamis through Micrometrics? Similarly, there are few micrometrics that you can monitor in your CI/CD pipeline. This micrometrics are lead indicators of several performance problems that you will face in production. Raise or drop in values of these micrometrics are the great indicators for the origination of performance problems. 1. Garbage Collection Throughput 2. Average GC pause time 3. Maximum GC pause time 4. Object creation rate 5. Peak heap size 6. Thread Count 7. Thread States 8. Thread Groups 9. Wasted Memory 10. Object Count 11. Class Count Let???s study each micrometrics in detail: 1. GARBAGE COLLECTION THROUGHPUT Garbage Collection throughout is the amount of time your application spends in processing customer transactions vs amount of time your application spends in doing garbage collection. Let???s say your application has been running for 60 minutes. In this 60 minutes, 2 minutes is spent on GC activities. It means application has spent 3.33% on GC activities (i.e. 2 / 60 * 100) It means Garbage Collection throughput is 96.67% (i.e. 100 ??? 3.33). When there is a degradation in the GC throughput, it???s an indication of some sort of memory problem. Now the question is: What is the acceptable throughput %? It depends on the application and business demands. Typically, one should target for more than 95% throughput. 2. AVERAGE GARBAGE COLLECTION PAUSE TIME When Garbage Collection event runs, entire application pauses. Because Garbage Collection has to mark every object in the application, see whether those objects are referenced, if no one is referencing then will be evicted from memory. Then fragmented memory is compacted. To do all these operations, application will be paused. Thus when Garbage collection runs, customer will experience pauses/delays. Thus one should always target to attain low average GC pause time.
In order to read from an Excel Spreadsheet through SQL you need to install the Office 2010 Database Engine. Afterwards, run statements similar to the following: EXEC sp_configure ‘Show Advanced
If a style is marked with !important, it will be used with priority even if there’s a overwriting rule below it. .page { background-color:green !important; background-color:blue;} In the example above,
LineNumberReader is a cool class in Java from which numerous line related tasks can be performed: import java.io.FileReader;import java.io.LineNumberReader;import java.io.IOException;public class UsingLineNumberReader { public static void main(String args[]) { UsingLineNumberReader
The IIS admin interface lets you view the worker process details that are sometimes helpful to debug server performance issues. Choose the “Worker Processes” in the list of options in











