Some Curiosities of Oracle Error Codes


A blog post about Oracle error codes? If you doubt that this might be possible or of interest, then answer these two questions: database performance oracle code database performance error pl/sql code errorCuriosities about them, even?

Code 130

Optimizing Python code during development


For this blog post I want to focus on how you can leverage Dynatrace to get a lot of insight into your plugin code. Part 1 – The code as it stood. As the plugin needs to run in less than a minute, even on very large environments I have to monitor the execution time of my code.

Code 160

Reporting Code Coverage Using Maven and JaCoCo Plugin


Code coverage is a metric indicating the percentage of lines of code that are executed when running automated tests, specifically unit and integration tests , for instance. performance xml maven code code coverage tests jacocoIt’s known that having automated tests as part of your build process improves the software quality and reduces the number of bugs.

Code 141

Increase Throughput by Eliminating Blocking Code in Your Java REST App


Blocking code is code which blocks executing threads until their operations finish. This article assumes some basic knowledge about the differences between blocking and non-blocking code. java performance jvm blocking profiler tool blocking code

Code 164

Using React Loadable for Code Splitting by Components and Routes

CSS - Tricks

In a bid to have web applications serve needs for different types of users, it’s likely that more code is required than it would be for one type of user so the app can handle and adapt to different scenarios and use cases, which lead to new features and functionalities.

Code 68

CMake: The Case When the Project's Quality Is Unforgivable


This system is much older than the PVS-Studio static code analyzer, but no one has tried to apply the analyzer on its code and review the errors. CMake is a cross-platform system for automating software building from source code.

Code 130

Who Tests Code

Professor Beekums

Who writes code? The obvious answer is that developers write code. Who makes sure the code works? Many companies have separate QA departments that are responsible for making sure code works. The answer to this question also seems obvious.

Code 56

All Code Is Technical Debt

Professor Beekums

That’s because all code is technical debt. Developers often try to minimize the amount of technical debt they take on when building software. Many will even try to have “zero” technical debt. It sounds like a worthwhile goal.

Code 67

PPC Optimization: Excluding ZIP Codes by Income

Website Optimization

This article shows how to exclude lower income ZIP codes in Google Ads. For cosmetic dentists, proper targeting is everything in PPC advertising. Cosmetic dentists typically target more affluent clients that can afford their smile makeover services.

Code 56

Increase the Performance of your Site with Lazy-Loading and Code-Splitting

José M. Pérez

We are explicit about our dependencies, so we know what code we need to run to run a specific component. Lazy-loading and bundle splitting can have a huge impact on page performance: less code requested, parsed, and executed. You can see a demo here (check the code source ).

Code 141

7 ways to tidy up your test code

TechBeacon Testing

Your test code is a mess. You're not quite sure where anything is anymore. The fragility of it is causing your builds to fail. You're hesitant to make any changes for fear of breaking something else. The bottom line is that your tests do not spark joy, as organizing guru Marie Kondo would say. App Dev & Testing, Testing, Application Testing, Special Coverage: STAREAST Conference 2019

Code 83

Teach Writing Code First

Professor Beekums

Throughout my career as a software engineer, many people have told me that learning to write code is difficult. The real difficulty lies in the fact that most people are taught computer science before they are taught to write code.

Code 52

Can't Be A Software Architect Without Writing Code

Professor Beekums

They may spend a good portion of their day around whiteboards with various teams, but they also spend a decent amount of time writing code. They view writing code as beneath them What defines a software architect? It usually means someone has achieved a high level of technical skill. Most of the architects I’ve worked with have been quite good. Occasionally, I meet someone who has let the title go to their head.

Code 48

HammerDB Source Code moved to the TPC Council


The first step towards this goal is the recently announced move of the HammerDB source code to the TPC-Council GitHub repository. The previous developer owned GitHub repository sm-shaw github repository has been deleted and the TPC-Council repository will be the source code repository for ongoing and future HammerDB development. To understand the difference between the downloadable binaries and the source code view the post on HammerDB Concepts and Architecture.

"I Don't Want To Maintain Their Code"

Professor Beekums

The reaction from one of the developers was simply: “I don’t want to maintain their code.” The worst code is always other people’s code. I recently heard of a situation where a team needs to hire someone since they’re understaffed. I understand this mentality. For most developers, this is simply fact. What is also fact is that very little software of significance gets built by the lone wolf. Building software is a difficult endeavour

Code 48

Call for Code asks developers worldwide to collaborate on solutions to save lives

O'Reilly Software

The O’Reilly Media Podcast: Daniel Krook, IBM developer advocate, on the Call for Code Global Initiative at IBM. Call for Code is a worldwide, multi-year initiative that challenges developers to solve pressing problems with sustainable software solutions.

Code 85

Coloring Flame Graphs: Code Hues

Brendan Gregg

I recently improved flame graph code coloring. Code-type coloring was a regex hack that took five minutes. My hack was the following eight lines of code: if (defined $type and $type eq "java") { if ($name =~ /::/) { # C++ $type = "yellow"; } elsif ($name =~ m:/:) { # Java (match "/" in path) $type = "green" } else { # system $type = "red"; }. And that's what I coded. I had similar issues with JIT'd code for Node.js.

Code 40

Viewing and Sorting XEvents Efficiently (Code Samples) – XEProfiler

SQL Server According to Bob

The sample code is provided “as is” and any express or implied warranties, including the implied warranties of merchantability and fitness for a particular purpose, are disclaimed.

Code Reviews Are Awesome. Sometimes

Professor Beekums

Code reviews are seen as an essential part of software development. It makes a lot of sense to say that a programmer should have their work reviewed by another programmer. Authors and journalists have their work reviewed by an editor after all. Humans make mistakes and creators especially get a little tunnel vision when they are focused on making their creations. Having someone else look at it can catch many errors

Code 40

Comments on timing short code sections on Intel processors

John McCalpin

I usually precede the code that I want to test with a “warm-up” loop consisting of at least a few seconds of execution of instructions using the same SIMD width as the code that I want to test. This is even more confusing when you consider vectorization and loop unrolling, which the compiler may change significantly from one compilation to the next as you fiddle with your code. For simple loops, you can look at the assembly code and count instructions.

Code 40

How Much Testing Is Enough?


Whether you’re writing unit tests for your programs or finding bugs in closed-source third-party software, knowing what code you have and have not covered is an important piece of information. At its core, bncov is a code coverage analysis tool. A frequently asked question in software testing is: “is that enough testing, or should we do more?”

Improve the Quality of Your Software in 6 Steps


No matter what happened in the past, you are now responsible for not introducing any new quality issues with the source code that you write. tutorial performance ux software engineering software quality legacy code sonarqube sonarlintDo your customers keep complaining about bugs in your software application? Does it take you too much time to implement new features? If you answered yes , then you probably have issues with the quality of your software application.

Smart Bundling: How To Serve Legacy Code Only To Legacy Browsers

Smashing Magazine

Smart Bundling: How To Serve Legacy Code Only To Legacy Browsers. Smart Bundling: How To Serve Legacy Code Only To Legacy Browsers. A Practical Guide To Shipping Efficient Code. Shubham Kanodia. 2018-10-15T14:30:13+02:00. 2019-04-29T18:34:58+00:00.

Code 65

Code Migration in Production: Rewriting the Sharding Layer of Uber’s Schemaless Datastore

Uber Engineering

As our … The post Code Migration in Production: Rewriting the Sharding Layer of Uber’s Schemaless Datastore appeared first on Uber Engineering Blog. In 2014, Uber Engineering built Schemaless , our fault-tolerant and scalable datastore, to facilitate the rapid growth of our company. For context, we deployed more than 40 Schemaless instances and many thousands of storage nodes in 2016 alone.

Making Windows Slower Part 2: Process Creation

Randon ASCII

Code Reliability Investigative Reporting Performance Programming Application Verifier crashing pageheapWindows has long had a reputation for slow file operations and slow process creation. Have you ever wanted to make these operations even slower?

Self-Host Your Static Assets

CSS Wizardry

This is exactly what Rawgit did in October 2018, yet (at the time of writing) a crude GitHub code search still yielded over a million references to the now-sunset service, and almost 20,000 live sites are still linking to it!

Cache 284

More Manageable, Efficient Code Through 5S

Tim Kadlec

Sometimes code turns ugly. We add quick fixes or enhancements and our code starts to become a big tangle of functions that aren’t laid out in any sort of organized fashion. Over time, our code becomes bloated, difficult to maintain and what should be simple little fixes can quickly turn into long walks through messy syntax. By using the system applied to coding, we can make our code more efficient and much easier to maintain.

Don't Be Ashamed of Your Code

Tim Kadlec

Developers sometimes give a cold shoulder to developers whose code is not up to par. Particularly in an industry as fast moving as the web development industry is, you cannot afford to wait until you are an “expert” to code. You have to code using the best ways you know how, and continue to learn. Yes, they will use the knowledge they have to get the job done, which results in some unseemly coding at times.

Code 40

The Road to uChat: Building Uber’s Internal Chat Solution

Uber Engineering

Architecture Chat Platform Chef Chris Duarte Ed Wolf Employee Productivity Envoy Erlang Fullstack Labs Go Information Technology Marissa Alvarado-Lima Mattermost Messaging Platform Mobile Puppet Puppet Code Manager React Native SCCM Stanley Chan System Center Configuration Manager Technology Services Uber Uber Engineering uChat uDeploy XMPPTwo years ago, Uber’s previous chat application began showing signs that it would not be able to adapt to our growth.

Code 59

Unit Testing in ReactJS using Jest and Enzyme


According to Michael Feathers, “Any code that has no tests is a legacy code.” So as a developer it is your duty to avoid creating legacy code by using test-driven development (TDD).

Regression Testing: Tools and Techniques


Regression Testing, by its definition, is a type of software testing to confirm that a recent program or code change has not adversely affected existing features. Regression testing ensures that the old code still works once the new code changes are done.

Faster remainders when the divisor is a constant: beating compilers and libdivide

Daniel Lemire

In concrete terms, here is the C code to compute the remainder of the division by some fixed divisor d : uint32_t d =. ; // your divisor > 0. A line of code like (n % d) = 0 is typically compiled to the computation of the remainder ( (n % d) ) and a test to see whether it is zero. I make my benchmarking code available. Not all instructions on modern processors cost the same.

Time to First Byte: What It Is and Why It Matters

CSS Wizardry

Application runtime: It’s kind of obvious really, but the time it takes to run your actual application code is going to be a large contributor to your TTFB.

Java Or Scala Performance – Which One Is Better?

Alex Podelko

The Size and Quality of the Code. If you decide to use Java to write your programs with, be prepared to write longer lines of code to accomplish even the smallest tasks. Being able to fit more on a page allows you to easily organize your code with Scala.

Java 130

Automated scripted API monitoring with HTTP monitors


Other custom code. For more examples with code snippets that show how the examples were implemented, see Dynatrace Help. Post-execution scripts – to launch custom JavaScript code after an HTTP request is executed. Dynatrace news. link].

Don’t read your data from a straw

Daniel Lemire

readInt ( ) ; The benefit of this approach is improved abstraction: you do not care whether the data comes from an array of bytes or from disk, it is all the same code. If you are have serialization and deserialization code, it is probably written in terms of OutputStream and InputStream anyhow, so why not reuse that perfectly good code? My code is available. It is common for binary data to be serialized to bytes.

C++ 116

Keep Test Coverage Where it is Needed


I know teams that require 60%, 70%, or 80% test coverage for their code. I don't like having standards like this because different code has different requirements for testing. Straightforward code like getters and setters don't really need to be tested. However, more complex code that encapsulates business rules should be tested. I'm not a believer in having standards for test coverage.

Prioritizing technical debt as if time and money mattered

O'Reilly Software

Adam Tornhill offers a new perspective on software development that will change how you view code. Continue reading Prioritizing technical debt as if time and money mattered

Code 70

More fun with fast remainders when the divisor is a constant

Daniel Lemire

I expect that the compiler will turn this code into a sequence of instructions over 32-bit registers: uint32_t compilermod32 ( uint32_t a ) {. My source code is available. In software, compilers can often optimize away integer divisions, and replace them with cheaper instructions, especially when the divisor is a constant. I recently wrote about some work on faster remainders when the divisor is a constant.

How to fine tune failure detection


Automatic failure detection works well in most cases especially for web services and when developers follow good coding practices. It is basically an exception which the code doesn’t expect to occur and therefore doesn’t deal with. Code. …. }. What about HTTP error codes?

Tuning 155

Fostering a Web Performance Culture

José M. Pérez

There was something gratifying in taking a code that takes minutes to run and make it run in a handful seconds. Normally the team decides how well to cover and test the code, and it’s important that all developers in a team know how to write tests.

Tips for Technical Interviews

CSS Wizardry

The Principal Engineer, David Bates: Okay, it’s someone pretty technical; someone who writes code on a daily basis. Research the team’s stack, and prepare to shoot the sh*t about coding from the trenches. Do they want to see any code you’ve written (if yes, tidy up your repos and check relevant permissions for showing code you’ve written elsewhere). so in order to save everyone’s time, I’m going to write this out in pseudo-code.

Code 170

PyMongo Tutorial: Testing MongoDB Failover in Your Python App


In this post, we show you how to connect to an SSL-enabled MongoDB replica set configured with self-signed certificates using PyMongo, and how to test MongoDB failover behavior in your code. This would be simple code that keeps writing to the database unless interrupted by the user, and would print all exceptions it encounters to help us understand the driver and database behavior.