Profile cover photo
Profile photo
Rajneesh Aggarwal
83 followers
83 followers
About
Posts

Post has attachment
Add a comment...

Post has attachment
Python: Nested Scopes
Python  2.2 introduced the concept of Nested Scopes( Details ) that affects the namespace search order. P rior to Python 2.2, when you reference a variable within a  nested function ,  Python  will search for that variable in the current  function's namespa...
Add a comment...

Post has attachment
Using Labmda Expression in File Filtering
Before Java 8: public static List fileList(String directory) {
List fileNames = new ArrayList<>();

DirectoryStream.Filter filter = new DirectoryStream.Filter () {
@Override
public boolean accept(Path file) throws I...
Add a comment...

Post has attachment
Converting PPT to Png
public class PptToPng {

public static void main(String[] args) throws Exception {
FileInputStream is = new FileInputStream("example.pptx");
XMLSlideShow ppt = new XMLSlideShow(is);
is.close();

double zoom = 2; // magnif...
Add a comment...

Post has attachment
Photo
Add a comment...

Post has attachment
How to Catch i18n Errors Early?
Internationalization (often abbreviated i18n) is the process of making an application localizable for users in different locales, while localization (often abbreviated L10n) is the process of actually localizing an application for a particular locale. In to...
Add a comment...

Post has attachment
Java 8 and Data Parallelism
By Definition, Parallelism reduces the runtime of a
specific task by breaking it down into smaller components and performing them
in parallel.  Since we are already in Big Data age, Data Parallelism
is going to play a big role. To achieve something meaningf...
Add a comment...

Post has attachment
How to Experiment with JavaScript Code inside your Browser?
Are you a JavaScript developer? Have you faced issues like how to readily test your JavaScript code?  There are couple of things that can be done to solve this issue: 1. Use some online tool like Codepen 2. Use some editors Using the first option requires t...
Add a comment...

Post has attachment
Creating an Embedded Video Streaming Server in Android
Different video streaming server provides different capabilities for streaming videos. What to do if you want to stream something inside your Android application. Here is how you can create a simple streaming server: NanoHttpd  is an open-source , small-foo...
Add a comment...

Post has attachment
What happens when we try to use String.trim in IE 8?
Problem:  var tempString = " my string "; //in modern browsers console.log(tempString ); //outputs " my string " console.log(tempString .trim()); //outputs "my string" //in IE 8 console.log(tempString.trim()); //error: Object doesn't support property or met...
Add a comment...
Wait while more posts are being loaded