Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Usage



  How to find which process a file is being written by in Linux?

Some people ask a file is being written by one process and they want to check this process, but they cannot find the process even with sof. This question is very common and there are many solutions, here we introduce a straightforward method. In Linux, each file will be stored on one device and of course there will be a relative inode, then we can use vfs.write to know who is writing the inode on one specified device continuously. Luckily there is inodewatch.stp in the installation package of s...

   Linux,process,file write     2013-03-16 21:44:35

  The Best Wireless Headphones for Everyday Use

Wireless headphones have consumed a little bit of slamming during the previous six months, complying with Apple's debatable choice to clear the newest set of Apple iPhone of the reliable old earphone port. HTC observed fit using the U Ultra and also in businesses and undergone lots of objection from both customers and market professionals. Several sets are more concentrated on sports and also exercise and set in additional functions to perform so that some others are created mainly for hearing t...

   HEADPHONES,WIRELESS     2017-10-12 10:54:56

  Android Tutorial: Creating and Using an SD Card in the Emulator

In a previous post, I mentioned how user-friendly Android is for developers. There’s extensive documentation and information on the architecture, the different components and best practices. However, the documentation has a few blind spots. Many of the tools have little documentation and no usage examples. The information is there, it’s just hidden behind a few layers of Android theory.So I’m going to try and document a few of the basic things that you’ll probabl...

   Android,Emulator,SDCard,Load,Create     2011-04-13 12:08:41

  Scala Macros

This is the home page of project Kepler, an ongoing effort towards bringing compile-time metaprogramming to Scala. Our flavor of macros is reminiscent of Lisp macros, adapted to incorporate type safety and rich syntax. Unlike infamous C/C++ preprocessor macros, Scala macros: 1) are written in full-fledged Scala, 2) work with expression trees, not with raw strings, 3) cannot change syntax of Scala. You can learn more about our vision of metaprogramming from our talks. We propose to enrich Scala ...

   Scala,Macro,Efficiency,Maintainebility     2012-02-01 00:12:15

  Transparency in Cloud Services

37signals recently launched public “Uptime Reports” for their applications (announcement). The reaction on Hacker News was rather tepid, but I think it’s a positive development, and I applaud 37signals for stepping forward. Reliability of cloud applications is a real concern, and there’s not nearly enough hard data out there. Not all products are equally reliable; even within 37signals, the new reports show a 3:1 variation in downtime across apps. That said, ...

   Cloud,Transapency,37signals,Announcement     2012-01-10 07:24:02

  Week 1 : Research - Elements of Successful iPhone Games.

This weekend I started work on my first full blown game for the iPhone. I’m not ready to share the details of what the game will be specifically as I’m sure these will change dramatically over the coming weeks. All I’m sure on is it will be a platform game built with Corona SDK. To get me started I’ve been downloading a bunch of games from the app store, jotting down some of the areas contributing to their addictiveness and success. Short levels I do most of my ...

   iPhone,Game design,Mobile,Facors     2012-01-16 09:47:53

  Stop Making Apps

There are a bunch of iPhone apps I own though I have no clue what they do. These apps include but aren’t limited to; FLUD, Apptitude, Cartoonatic, Can’t Wait!, Punch, Pah, Prize Claw, Traveler, Concur, Jajah, Fast Customer, Pimple Popper and many more whose names I can’t even remember.Occupying my valuable homescreen real estate are also a bunch of apps whose purpose I remember only because they were built by people I know or am friends with, but that I sadly never use. And ...

   App,Apple,Android,Stop     2011-11-12 10:54:42

  A String is not an Error

I decided to write a little article to discourage an unfortunately common pattern in Node.JS modules (and browser JavaScript, to a lesser extent) that can boil down to these two examples: // A:function myFunction () {  if (somethingWrong) {    throw 'This is my error'  }  return allGood;} and // B: async Node.JS-style callback with signature `fn(err, …)`function myFunction (callback) {  doSomethingAsync(function () {    // …    if (...

   JavaScript,Node.js,String,Error object     2011-12-23 08:00:32

  Building the new AJAX mail UI part 2: Better than templates, building highly dynamic web pages

This is part 2 of a series of technical posts documenting some of the interesting work and technologies we’ve used to power the new interface (see also part 1, Instant notifications of new emails via eventsource/server-sent events). Regular users can skip these posts, but we hope technical users find them interesting. As dynamic websites constructed entirely on the client side become de rigueur, there are a number of templating languages battling it out to become the One True Wayâ„...

   Web design,Dynamic,Ajax,UI     2012-02-21 05:32:29

  Deep Understanding of ReentrantLock: Unlocking the Mysteries of Java Concurrent Programming

ReentrantLock introduction ReentrantLock is a class in the Java concurrent package, java.util.concurrent.locks, and is an implementation of the Lock interface. As its name suggests, it is a reentrant mutual exclusion lock. A mutual exclusion lock is a synchronization tool used to protect shared resources, ensuring that only one thread can access the resource at a given time. Reentrant means that a thread can acquire the same lock multiple times without causing a deadlock. This lock provides some...

   JAVA,REENTRANTLOCK,CONCURRENCY,MULTITHREADING     2023-05-22 08:01:13