Author: Roy Zafar

How do SSDs work?

By Joel Hruska We’ve often discussed the difference between different types of NAND structures — vertical NAND versus planar, or multi-level cell (MLC) versus triple-level cells (TLC). Now, let’s talk about the more basic relevant question: How do SSDs work in the first place? To understand how and why SSDs are different from spinning discs, we need to talk a little bit about hard drives. A hard drive stores data on a series of spinning magnetic disks, called platters. There’s an actuator arm with read/write heads attached to it. This arm positions the read-write heads over the correct area of the drive to read or write information. Because the drive heads must align over an area of the disk in order to read or write data (and the disk is constantly spinning), there’s a non-zero wait time before data can be accessed. The drive may need to read from multiple locations in order to launch a program or load a file, which means it may have to wait for the platters to spin into the proper position multiple times before it can complete the command. If a drive is asleep or in a low-power state, it can take several seconds more for the disk to spin up to full power and begin operating. From the very beginning, it was clear that hard drives couldn’t possibly match the speeds at...

Read More

Seagate launches a monstrous 60TB SSD

By Jamie Lendino If you’ve been wanting as much storage as possible in an SSD form factor that doesn’t break the bank, well, you’ll have to keep waiting. But for those few with enough money to buy a private island — or at least a private data center — Seagate Technology has taken the wraps off of an unbelievable 60TB solid state drive (pictured above) at the Flash Memory Summit in Silicon Valley. The drive features a power efficiency of just 4TB/watt (15 watts total), comes in a 3.5-inch form factor packed with ultra-dense 3D NAND flash from Micron, and delivers more density than two 16TB 2.5-inch SSDs as a result. The 60TB SAS (Serial Attached SCSI) SSD is intended for large-scale enterprise data centers that need maximum storage and compute performance. With just 17 of these drives, you can hit 1PB of storage; Seagate says it’s ideal for large local or cloud-based storage arrays, active archives, online video, and read-intensive environments. According to Anandtech, the drive sports dual port 12Gb/s SAS, with sequential read and write speeds of 1.5Gbps and 1Gbps, respectively. Seagate claims the drive simplifies the process of accommodating “hot” and “cold” data, eliminating the need to separate data out for “near-term availability or long-term storage.” Seagate also says the drive can hold 400 million photos or 12,000 DVDs, and that the design can scale to...

Read More

Creating a Smart Home Chat Bot

by Florian Rappl We utilize the Microsoft Bot Framework in conjunction with LUIS to make a Node.js powered bot available online via an ASP.NET Web API proxy. A software mock for the smart home system is supplied. Likewise a tutorial for a hardware mock using the CC3200 and / or sensor tags is provided. Download Microsoft Bot Connector Proxy – 20 Kb Download Luis Project File – 2 Kb Download Local Chat Bot Client – 143 Kb Download the CC3200 Energia Project – 5 Kb Download the Speech-To-Bot Sample – 15 Kb We utilize the Microsoft Bot Framework in conjunction with LUIS to make a Node.js powered bot available online via an ASP.NET Web API proxy. A software mock for the smart home system is supplied. Likewise a tutorial for a hardware mock using the CC3200 and / or sensor tags is provided. Contents Introduction Background The Solution Architecture Microsoft Bot Framework and LUIS Skills: Combining Intentions and Entities Configuration Management Using the code Bot Connector Proxy Setup The Software Mock Single CC3200 Instance Multiple Sensor Tags Bonus: Speech To Bot Points of Interest References History Introduction Ever since I watched the movie “Minority Report” I dreamed of having a proper conversation with my home. Essentially, whenever I want it I can ask queries such as “What’s the temperature?” or “Are all doors closed?”. Furthermore, I can actively control...

Read More

.NET CORE 1.0, MVC6 & ANGULARJS2 – STARTUP

by Shashangka Shekhar   In this article we are going to explore .Net Core, Know how to use MVC6 & AngularJS2, how to manage client side dependencies with Node package manager (NPM). Download CoreMVCAngular2.zip – 5.5 MB Table of Content: Setup Environment Overview on ASP.Net Start with .Net Core 1.0. Explore Initial Template (Empty) How to Add MVC6 AngularJS2 Manage Client-side Dependencies Use Package Manager (NPM). Use Task Runner Bootstrapping using Type Script Build & run application 1. Setup Environment Prerequisites: The following prerequisites are needed. Visual Studio 2015 ASP.NET Core 1.0 Visual Studio 2015: If you already have a copy of Visual Studio 2015 installed, you may update Visual Studio 2015 with Update 3. Or Download Visual Studio Community 2015 for free. .NET Core Downloads: You may download one of these: .NET Core SDK  (Software Development Kit/Command Line Interface) tools .NET Core 1.0.0 – VS 2015 Tooling Preview 2 (Run apps with the .NET Core runtime) We are all set to go. Before we dive into our main topic let’s get an overview on ASP.Net. 2. Overview on ASP.Net Let’s differentiate both. .Net Framework: Developed and run on Windows Platform only. Built on the .NET Framework runtime. Supported (MVC, Web API & SignalR) Dependency Injection (DI). MVC & Web Api Controller are separated. .Net Core: Open Source. Developed & run on Cross Platform. Built on the .NET Core...

Read More

Row level security in Entity framework

by Ali_Khalili Implement row level security in C# and entity framework Introduction In this article we are going to implement row level security, its solution makes our application refactoring based and this feature let us manage project easily. and this way will reduce your business code and if you use DDD can significantly reduce codes in services. overall there are various ways for implementing this solution but one of the easiest ways for this task is to write usable interfaces and using its validation on your generic repository. Background assume that we have two models, “User” and “Post”. Now, I want to create a generic repository that has professional functionality. its repository can automatically select Posts records of expected User plus if that user is an admin, should see all posts.  we can easily implement this feature using row level security in our custom repository. Using the code Now, we start coding, I use visual studio ide and I’m going to create Console Application that named “Console1” and it would be something like below First, we need download entity framework using NuGet packages manager. after that create a folder named “Models” and inside that create a class named “User”. and it would be something like this   using System; namespace Console1.Models{    public enum UserType    {        Admin,        Ordinary    }    public class User    {        public int Id { get; set; }...

Read More