Skip to main content

Home/ Groups/ ProgrammingPages
Thiyagarajan Sadasivam

The best intro book for any topic | BestIntroBook.com - 3 views

  •  
    Site that lists the best intro books for many subjects
Navneet Kumar

Synchronization and the Java Memory Model - 3 views

    • Navneet Kumar
       
      Assignment to a long, double, float variables are not Atomic.
  • as-if-serial property of these manipulations shields sequential programmers from needing to know if or how they take place. Programmers who never create their own threads are almost never impacted by these issues
  • All changes made in one synchronized method or block are atomic and visible with respect to other synchronized methods and blocks employing the same lock, and processing of synchronized methods or blocks within any given thread is in program-specified order. Even though processing of statements within blocks may be out of order, this cannot matter to other threads employing synchronization.
  • ...6 more annotations...
  • atomicity alone does not guarantee that you will get the value most recently written by any thread. For this reason, atomicity guarantees per se normally have little impact on concurrent program design
  • Thread.start has the same memory effects as a lock release by the thread calling start, followed by a lock acquire by the started thread
  • releasing a lock forces a flush of all writes from working memory employed by the thread, and acquiring a lock forces a (re)load of the values of accessible fields. While lock actions provide exclusion only for the operations performed within a synchronized method or block, these memory effects are defined to cover all fields used by the thread performing the action.
  • If a field is declared as volatile, any value written to it is flushed and made visible by the writer thread before the writer thread performs any further memory operation (i.e., for the purposes at hand it is flushed immediately). Reader threads must reload the values of volatile fields upon each access.
  • you will obtain either its initial value or some value that was written by some thread, but not some jumble of bits resulting from two or more threads both trying to write values at the same time
  • As a thread terminates, all written variables are flushed to main memory.
Navneet Kumar

JavaScript - Strings - 2 views

  •  
    javascript string handling
Navneet Kumar

10 secret MySQL client startup options you should know - 1 views

  •  
    mysql client options
Navneet Kumar

QuirksBlog: The AJAX response: XML, HTML, or JSON? - 1 views

  •  
    JSON vs XML in Ajax
Navneet Kumar

Structure and Interpretation of Computer Programs - 1 views

  •  
    full text html book "Structure and Interpretation of Computer Programs" by Albenson and Sussman at MIT press
Navneet Kumar

Vim: Seven habits of effective text editing - 1 views

  •  
    seven habits of effective editing
Navneet Kumar

MySQL AB :: MySQL 3.23, 4.0, 4.1 Reference Manual :: A.2 Server Error Codes and Messages - 1 views

  •  
    appendix of mysql error codes and their  messages
Thiyagarajan Sadasivam

mercurial_workflow_image - 1 views

  •  
    mercurial workflow
Navneet Kumar

SitePoint CSS HTML DOM Reference - 1 views

  •  
    SitePoint Reference
Navneet Kumar

An Unorthodox Approach to Database Design : The Coming of the Shard | High Scalability - 0 views

  •  
    shard architecture partitions data onto multiple servers, so each server holds a shard of data
Navneet Kumar

Bruce Eckel's MindView, Inc: 3-10-04 Generics Aren't - 0 views

  • Generics seem to only solve the problem of automatically casting in and out of containers.
  • So if we write generic code that actually takes a "type of anything," that type can only be an Object, and our generic code must only call Object methods on it.
  • generics have no advantage. In fact, it's confusing if you see them used, because you scratch your head and wonder "why does he need a generic here? What is the advantage?" Answer: none.
  • ...3 more annotations...
  • Java Generics use "erasure," which drops everything back to Object if you try to say "any type." So when I say <T>, it doesn't really mean "anything" like C++/ADA/Python etc. does, it means "Object."
  • So generics are really "autocasting."
  • That's the way of the Java world, and we are going to miss out on latent typing (it's actually possible to simulate latent typing using reflection, as I do once or twice in Thinking in Java, but it's messy and much less elegant).
  •  
    bruce Eckel article on java generics, and how it does  nothing more than  autocasting. Also templating or parameterized type in C++, Ruby, Python
Navneet Kumar

Tuning a MySQL server in 5 minutes - 0 views

  •  
    max_connections  max_user_connections table_cache
Navneet Kumar

HTTP/1.1: Method Definitions - 0 views

  • GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval.
  •  
    http method definitions. GET, POST, PUT, DELETE, HEAD, TRACE, CONNECT
Navneet Kumar

Joe Gregorio | BitWorking | ETech '07 Summary - Part 2 - MegaData - 0 views

  • the limits you need to put on yourself when storing a billion rows in a database, and they included: no joins, no transactions, no stored procedures, and no triggers.
  • Joshua has similar suggestions from his experience building del.icio.us: no joins, no transactions, no autoincrement
  • BigTable, Google's column-based store with no transactions
    • Navneet Kumar
       
      "Column Based"
  • ...4 more annotations...
  • What's the point in designing tables for a webapp when an RDF-backed store will manage the data for you and RDF queries will come back as tabular data anyway?
  • designing and maintaining yet another relational schema for yet another webapp - doing so is starting to make as much sense as designing my own filesystem or TP monitor.
  • RDF + SPARQL + distributed data sources from around the web?
  • reason that rails and django are so productive; they're highly optimised for domain models. Raw RDF doesn't really do domains like that; you have to expend effort distilling triples into 'things';
  •  
    Database design for huge data. Distributed, joinless, transactionless, de-normalized database
Navneet Kumar

Velocity - Velocity User Guide - 0 views

  •  
    user guide to velocity templating engine
Navneet Kumar

Struts and Velocity - 0 views

  •  
    Resources for apache struts
Navneet Kumar

Sorting HashMap based on its Values - 0 views

  •  
    sorting hashmap based on its values
Navneet Kumar

Seven steps to remarkable customer service - Joel on Software - 0 views

  •  
    seven things for a remarkable customer service
Navneet Kumar

Talk:Thunderbird:2.0 Product Planning - MozillaWiki - 0 views

  •  
    list of probable features for mozilla thunderbird 2
1 - 20 Next › Last »
Showing 20 items per page