Geeks With Blogs

Josh Reuben
Annotations (Metadata) embed metadata in source code, for design-time/compile-time/ru... processing Syntax - @<annotation-name>(&l... initializations>) the bedrock of JEE Annotation Definition Import java.lang.annotation package @interface - indicates an annotation type annotation types automatically extend Annotation interface - specifies ......

Overview A scalable cloud based architecture has converged upon a common design meta-pattern leveraging the following components, which are explained below: A Forward-Cache Proxy An elastic service Load Balancer Stateless Server Facade Nodes A Shared Memory State Cache Client requests hit the Forward-Cache Proxy which returns any memoized service requests ......

IMHO, docker lightweight virtualization is an incredible game-changer. It totally sweeps the “DevOps” board and along with etcd and Kubernetes pods, supports complex application chain orchestrations through mapped ports. In this short post, I have summarized my investigations into the Docker CLI. Image Management build <dockerfile> - create an ......

01
Mar 15
Back in the day, I did a fair bit of work with BioPython – I thought it was time to revisit this glue language ! Classes Python allows for the definition of classes. The builtin __init__ function serves as the ctor. Remember to pass self as 1st param to all class functions class MyClass(): def __init__(self): self.y = 5 def doSomething(self): pass x ......

Jumping around between programming languages, its very easy to forget what is what.Here's my short summary of Java Collections (obviously you can go a step further with Guava !) Collections Overview In java.util package generics, autoboxing/unboxing, ranged for loop, type safety. Algorithms defined as static methods within the Collections class for ......

Overview OpenCV is a Computer Vision / Image Processing library. It used in ffmpeg video processing / streaming and ROS robot operating system. you can install it from here: http://opencv.org/downloads... Modules in the lib directory: opencv_core - data structures , maths opencv_imgproc -image processing. opencv_highgui - image / video reading / writing ......

Overview Native activities – create an application based only on native code, without a single line of Java. Use cases: Android sensor polling – more accurate than Java eventsCross platform 3D – include a common OpenGL static lib that can also be linked in say an ObjectiveC app. (If writing purely for Android, just use the Java API and import android.opengl.GLES20.* ......

*note: for brevity, error checking code has been left out of this post. Overview The JNI API allows Java applications to invoke native C/C++ code and native C/C++ code to invoke Java. Using the JNI comes at the cost of losing JIT portability & type safety – recompilation of native code is machine instruction-set specific. Usage Declare a Native ......

in java.util.concurrent package - JDK 7 A Framework for Divide and Conquer recursively divides a task into smaller subtasks until threshold check indicates subtask size is small enough to execute serially. Optimal threshold is affected by specific computational steps & obtained through profiling – heuristic: between 100 and 10000. abstracts multithreading ......

Overview OpenCL is a GPGPU API that abstracts over acceleration devices (be they CPU, GPU or FPGA) to provide data-parallelism (as well as task-parallelism) behavior. heterogeneous portability is achieved by avoiding high level abstractions and exposing the hardware in a context that explicitly defines its work scheduling capabilities. An OpenCL application ......

Copyright © JoshReuben | Powered by: GeeksWithBlogs.net | Join free