Ketan's Home

April 30, 2016

Working Lego Particle Accelerator

Filed under: Uncategorized — Tags: , — ketan @ 6:21 PM

tumblr_nf1mi67N121qzicj3o3_500Playtime just got a lot more physical and experimental with this Lego "Large Brick Collider."

Read more on MAKE

The post Working Lego Particle Accelerator appeared first on Make: DIY Projects and Ideas for Makers.

from Make: DIY Projects, How-Tos, Electronics, Crafts and Ideas for Makers http://ift.tt/1NjBN3l

Convert Geological Information into a Custom Map Fit for 3D Printing and Milling

Filed under: Uncategorized — Tags: , — ketan @ 6:05 PM

40 - 1SXfZ8s (Small)You can download the files to CNC mill a map of this map of the United States, or, better yet, learn all the steps to do it yourself.

Read more on MAKE

The post Convert Geological Information into a Custom Map Fit for 3D Printing and Milling appeared first on Make: DIY Projects and Ideas for Makers.

from Make: DIY Projects, How-Tos, Electronics, Crafts and Ideas for Makers http://ift.tt/1qXYXCe

April 29, 2016

WebForms can Gulp too – Using Node Tools with ASP.NET WebForms

Filed under: Uncategorized — Tags: — ketan @ 7:52 AM

Visual Studio 2015 brought a set of tools into the IDE from the Node environment that are great for web developers to use.  Many folks who build JavaScript applications or single-page-applications were eager to see the introduction of these tools to Visual Studio.  Can the tried and true ASP.NET Web Forms framework use Gulp, npm,… Read more

from .NET Web Development and Tools Blog http://ift.tt/1NZFTc6

April 28, 2016

How does Git work? Git Tutorial for Beginners

Filed under: Uncategorized — Tags: — ketan @ 6:29 AM

1. Introduction Version Control Systems are one of the software tools that help developers manage the source code over time. They keep track of the modification, compared with different versions of the source code. As the number of lines increases, it could go up to thousands and thousands lines. In real life, it could be …

from Java Code Geeks http://ift.tt/1SRLTLj

April 27, 2016

Videos of my talk at YOW! Nights

Filed under: Uncategorized — Tags: , — ketan @ 10:09 PM

from Martin Fowler http://ift.tt/1SwsSL2

April 22, 2016

Article: Build Your Own Container Using Less than 100 Lines of Go

Filed under: Uncategorized — Tags: , — ketan @ 8:11 AM

Shipping containers and software containers share a lot in common, but the analogy has limits. This article explores this relationship further by demonstrating how it possible to build a simple container using less than 100 lines of Golang code. Topics covered include namespaces, cgroups and layered filesystems.

By Julian Friedman

from InfoQ http://ift.tt/1VKPn2z

Java 8 New Date And Time Overview

Filed under: Uncategorized — Tags: , — ketan @ 7:55 AM

In this article we will discuss about Java 8 Date/Time API. The new Date/Time API was one of the long pending request from the Java developer community. As the existing Date related API is not developer friendly. With the older versions of Java we used third party date time libraries likeJoda-Time. As part of Java 8, the implementation of  JSR 310 lead by Joda-Time author Stephen Colebourne along with Oracle provided Date and Time API. This will be available under java package java.time

The main reasons behind the new Date and Time API are,

from DZone Java Zone http://ift.tt/1U8mZ9i

April 19, 2016

ImplicitCAD: Programmatic CAD Built with 3D Printing in Mind

Filed under: Uncategorized — Tags: , — ketan @ 6:29 AM

Programmatic CAD, in particular the OpenSCAD language and IDE, has accompanied the maker movement for a while now. After its introduction in 2009, it quickly found its way into the 3D printing toolbox of many makers and eventually became what could be called an Industry Standard among open hardware labs, makerspaces and tinkerers. The Prusa i3, one of the most popular DIY 3D printers, was designed in OpenSCAD, and even Makerbot, the company that sold 100.000 3D printers, uses the language for its “Customizer” – an online tool that allows users to customize 3D printable models with minimal effort.

OpenSCAD …read more

from Hackaday http://ift.tt/1Ve3gpR

April 18, 2016

Introduction to Java 8 Streams

Filed under: Uncategorized — Tags: — ketan @ 11:09 PM

In Java 8, we have a new feature called “Streams.” These “Streams” are similar to collections, but there are some differences. Primarily the collections are the data structures which will hold the data. To process the data, we need to get the data from the collections and execute some logic. For example, we have a list of students. We need to sort the students based on the marks secured, in descending order. To perform the above-said logic, we have to follow these steps.

Create a Comparator

package org.smarttechie;

import java.util.Comparator;

public class MarksComparator implements Comparator<Student>{

@Override
public int compare(Student student1, Student student2) {

   if (student1.getTotalMarks() > student2.getTotalMarks()) {
       return -11;
    } else if (student1.getTotalMarks() < student2.getTotalMarks()) {
      return 1;
    } else {
      return 0;
   }
  }
}

Call the Method

 Collections.sort(students, new MarksComparator());

With Streams we can do this in a simple way. The code snippet is given below.

from DZone Java Zone http://ift.tt/1oN7JSb

April 15, 2016

Weight Tracking, Wise Cracking IoT Bathroom Scale

Filed under: Uncategorized — Tags: , — ketan @ 4:53 AM

For those fighting the battle of the bulge, the forced discipline of fitness bands and activity tracking software might not be enough motivation. Some who are slimming down need a little gentle encouragement to help you lose weight and keep it off. If that sounds like you, then by all means avoid building this weight-tracking IoT scale with an attitude.

Then again, if you live in fear of your scale, [Jamie Bailey]’s version is easy to hate, at least when your numbers are going in the wrong direction. Centered around a second-hand Wii Balance Board talking to a Raspberry Pi …read more

from Hackaday http://ift.tt/1Seeebn

Older Posts »

Blog at WordPress.com.