Skip to main content

Home/ Coders/ Group items tagged where

Rss Feed Group items tagged

sahargull

Spent 10 Days' Vacation ON Your Budget | pacificrentacar - 0 views

  •  
    When you want to spent your vacation outside there are a lot of beautiful places which you can visit and enjoy your vacation with your family. There are many people who don't know that from where t...
fspore

Values, Types, and Operators :: Eloquent JavaScript - 0 views

  • Not all operators are symbols. Some are written as words. One example is the typeof operator, which produces a string value naming the type of the value you give it.
  • Having such numbers is useful for storing strings inside a computer because it makes it possible to represent them as a sequence of numbers. When comparing strings, JavaScript goes over them from left to right, comparing the numeric codes of the characters one by one.
  • There is only one value in JavaScript that is not equal to itself, and that is NaN, which stands for “not a number”.
  • ...16 more annotations...
  • In practice, you can usually get by with knowing that of the operators we have seen so far, || has the lowest precedence, then comes &&, then the comparison operators (>, ==, and so on), and then the rest. This order has been chosen such that, in typical expressions like the following one, as few parentheses as possible are necessary:
  • The difference in meaning between undefined and null is an accident of JavaScript’s design, and it doesn’t matter most of the time. In the cases where you actually have to concern yourself with these values, I recommend treating them as interchangeable (more on that in a moment).
  • . Yet in the third expression, + tries string concatenation before numeric addition
  • When something that doesn’t map to a number in an obvious way (such as "five" or undefined) is converted to a number, the value NaN is produced.
  • Further arithmetic operations on NaN keep producing NaN, so if you find yourself getting one of those in an unexpected place, look for accidental type conversions.
  • g ==, the outcome is easy to predict: you should get true when both values are the same, except in the case of NaN.
  • But when the types differ, JavaScript uses a complicated and confusing set of rules to determine what to do. In most cases, it just tries to convert one of the values to the other value’s type. However, when null or undefined occurs on either side of the operator, it produces true only if both sides are one of null or undefined.
  • That last piece of behavior is often useful. When you want to test whether a value has a real value instead of null or undefined, you can simply compare it to null with the == (or !=) operator.
  • The rules for converting strings and numbers to Boolean values state that 0, NaN, and the empty string ("") count as false, while all the other values count as true.
  • where you do not want any automatic type conversions to happen, there are two extra operators: === and !==. The first tests whether a value is precisely equal to the other, and the second tests whether it is not precisely equal. So "" === false is false as expected.
  • The logical operators && and || handle values of different types in a peculiar way. They will convert the value on their left side to Boolean type in order to decide what to do, but depending on the operator and the result of that conversion, they return either the original left-hand value or the right-hand value.
  • The || operator, for example, will return the value to its left when that can be converted to true and will return the value on its right otherwise. This conversion works as you’d expect for Boolean values and should do something analogous for values of other types.
  • This functionality allows the || operator to be used as a way to fall back on a default value. If you give it an expression that might produce an empty value on the left, the value on the right will be used as a replacement in that case.
  • The && operator works similarly, but the other way around. When the value to its left is something that converts to false, it returns that value, and otherwise it returns the value on its right.
  • Another important property of these two operators is that the expression to their right is evaluated only when necessary. In the case of true || X, no matter what X is—even if it’s an expression that does something terrible—the result will be true, and X is never evaluated. The same goes for false && X, which is false and will ignore X. This is called short-circuit evaluation.
  • - to negate a number
David Rietz

Beyond SoundEx - Functions for Fuzzy Searching in MS SQL Server - 0 views

  •  
    Quite often we come across a requirement where we may need to perform some sort of fuzzy string grouping or data correlation. For example, we may want to correlate the customer records of a database by identifying records that are similar but not necessarily exactly the same (due to spelling mistakes for example). Obviously a simple group by, will not successfully group such data. We will need to employ what is commonly referred to as a distance algorithm or a string metric in order to determine how close 2 string values are.
Joel Bennett

Don Norman's jnd.org / UI Breakthrough-Command Line Interfaces - 0 views

  •  
    Want to know what I think the next UI breakthroughs will be? Here are two, both of which can be considered a return to fundamentals: 1. Command line languages; 2. Physicality: the return to physical devices, where we control things by physical body movement, by turning, moving, and manipulating appropriate mechanical devices.
Joel Bennett

.NET Book Zero by Charles Petzold - 1 views

  •  
    Charles Petzold's free .Net Book Zero is a great introduction to .Net and C# for the C/C++ programmer ... if you're a Windows programmer who's been curious about C# but haven't known where to start, this is where.
  •  
    How to make $ 40,000 in one month with very quickly. What you need. The latest American news article. Immediately visit www.killdo.de.gg www.fiverr.de.gg www.newss.de.gg www.reddit.de.gg www.newsbbc.de.gg
Joel Bennett

Managed Extensibility Framework - CodePlex - 0 views

  •  
    Managed Extensibility Framework (MEF) is a new library in .NET that enables greater reuse of applications and components ... but it's (currently) licensed under the unacceptable MS-LPL ... where that extra L stands for "lock-in"
Xiaobin Huang

LiteratePrograms - 0 views

  •  
    LiteratePrograms is a unique wiki where every article is simultaneously a document and a piece of code that you can view, download, compile, and run by simply using the "download code" tab at the top of every article.
Joel Bennett

Wal*Mart shutting down DRM server, nuking your music collection - Boing Boing - 0 views

  • we strongly recommend that you back up your songs by burning them to a recordable audio CD
    • Joel Bennett
       
      Is it just me, or does this say: we strongly recommend you circumvent the DRM system if you want to keep your music!
  •  
    This is why any encryption system which depends on phoning home should not be an option when you're considering where to spend your money. Buy CDs, or DRM-Free tracks (which is all that Wal-Mart sells, now).
Joel Bennett

Bug Labs Build-a-BUG Challenge - Popular Science - 1 views

  •  
    A contest where you can win the "BUG" modular computer system by writing an app for it using their Java SDK
Fabien Cadet

The Duct Tape Programmer - Joel on Software - 0 views

  •  
    « A 50%-good solution that people actually have solves more problems and survives longer than a 99% solution that nobody has because it's in your lab where you're endlessly polishing the damn thing. Shipping is a feature. A really important feature. Your product must have it. »
David Corking

Object Vs Model - 0 views

shared by David Corking on 11 Jun 09 - Cached
  • Data Hiding simply doesn't make sense with regards to a reflective system where the data must regularly be updated by observers of reality (i.e. by one or more actors) and where the data inherently comes from the outside. This is, perhaps, one source of ObjectRelationalImpedenceMismatch?. Relational is designed for modeling data that came from an outside world whilst object-oriented is designed to... well... create and manipulate objects
    • David Corking
       
      why data hiding makes no sense in some programs
  • You can make them work together until you try to add virtualization - abstract objects for which the associated data isn't known.
David Corking

Nabble - Squeak - Beginners - Getting at the squeak beneath eToys? - 0 views

  • - Disable the etoyFriendly preference to get the regular world menu   when you click. The preferences tool is in the supplies flap, object   catalog, alphabetic, P category.
    • David Corking
       
      works for me!
  • - Or, press Alt-Shift-W to bring up the world menu.
  • control-comma
  •  
    Etoys has become a great branch of Squeak (it branched from 3.8, but in the course of its development for OLPC, it has gained some nice fonts and a nice toolbar, among other things.) It behaves in a slightly more mainstream way, in that Etoys users no longer save the Etoys images, just save the project file (which is referred to in help as "Keep a current project"). The Squeak image itself restarts pristine and untouched each time it is restarted. \n\nSqueakers and developers who want to save their whole image (window positions, preferences, the lot, in classic Smalltalk style) will want the save command in the World menu. Bert Freudenberg explains where the World menu is hidden.
David Corking

Remember Smalltalk? | Gartner Blogs 2008 - 1 views

  • 2) If you are BIG fan of dynamics languages (closures, meta programming, and all that cool stuff) then consider giving Smalltalk a look.  You might like what you see.  Its like Ruby but with bigger muscles.  You think Rails is cool? Check out seaside. In the end we’ll see a up tick in Smalltalk momentum over the next few years. 
  • Please don’t talk about Smalltalk. I enjoy my competitive advantage over the Java/NET crowd
  • Where Smalltalk really shines recently is in field of web applications due to its dynamic nature (live upgrading, debugging etc.) and because its shortcoming are not relevant here.
  • ...9 more annotations...
  • On the Desktop - Dolphin creates 500k exe’s with ease - its a 1 button click (you just have to follow some of their easy put things in packages rules).
  • Remember LAN MAN? OS2? Both were heavily endorsed by Gartner.
  • I laugh when people say poor performance on older hardware was a mjor Smalltalk weakness. We routinely delivered applications that ran on 386 and 68020 processors with 8MB RAM. And yes, they were quite snappy. No, the reason Smalltalk didn’t catch on is because Sun spent more money on Java marketing than was spent on all computer languages combined, since the dawn of time.
  • I’ve listened personally to whiny ROR programmers groan and whine about PHP devs LEARNING ROR and undercutting them.
  • I didn’t fall for it for the marketing. I fell for WORA, for the language/runtime separation, for the multi-vendor approach (Sun never wanted to be the single provider for any Java centric product niche, and in fact was never the leader), for the comprehensive set of vendor-neutral APIs for all sorts of execution environments/applications,
  • For now I would like to see more use of Smalltalk like constructs in Java (Groovy).
  • Smalltalk must have sofisticated CASE tools, business process simulation tools, large development environments etc. etc. etc.
  • I stayed to teach Smalltalk since 1993 and am very happy about this information. Each academic year, we produce a small group of new Smalltalkers in the Czech Republic.
  • Joe Barnhart // Apr 4, 2009 at 2:48 pm At the company where I work, we have used Smalltalk for 19 years. Our tiny team of programmers has beat the pants off of competitors who employ teams 100 times our size.
  •  
    trend spotting
David Corking

Stevey's Blog Rants: Execution in the Kingdom of Nouns - 2006 - 0 views

  • For the lack of a horseshoe, EquestrianDoctor.getLocalInstance().getHorseDispatcher().shoot();
  • the stories all take a definite shape: object construction is the dominant type of expression, with a manager for each abstraction and a run() method for each manager. With a little experience at this kind of conceptual modeling, Java citizens realize they can express any story in this style.
  •  
    The nursery rhyme looks familiar, but how realistic is it? Smalltalk and Self appear at first glance to be in danger of this kind of horror, especially Smalltalk where every object has a class, yet a Smalltalk statement consists largely of verbs. Yegge seems to have missed an important detail in his analogy - verbs are not functions - they are symbols (selectors) that resolve to a function (method) when they are looked up (depending on ... whatever - Smalltalk the class of the receiver, CLOS the types of the arguments and so on). C and FORTRAN don't have verbs, they just have functions (actions).
findbestopensource

Free Web based commenting system reviewed. Embed directly in to your site - 0 views

  •  
    Comments are very important for a blog or website to get feedback from their users. Comments could be threaded where users could be discuss and post reply to the comment.You need to embed their javascript code in your every page and it will take care the rest of the task.
ma rody candera

Babbling News: Libya Latest News March 27, 2011 - British Missiles Destroy Five Libya A... - 0 views

  •  
    British war planes had destroyed five armored vehicles in an air strike against Libya Muamar Gaddafi's troops in the city of Ajdabiya and Misrata, where rebels fight the regime of Gaddafi. Libya's defense ministry reported on Saturday (26 / 3)
Joel Bennett

T# Studio from Pretty Objects - 0 views

  •  
    Visual T# is a new generation unit testing tool with it's own language where testing concepts become first-class constructs.
Tarik Guney

Singleton pattern - Wikipedia, the free encyclopedia - 0 views

  • the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object.
  •  
    In software engineering, the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects (say, five). Some consider it an anti-pattern, judging that it is overused, introduces unnecessary limitations in situations where a sole instance of a class is not actually required, and introduces global state into an application.
Pooja Runija

Google modular phone, A new era of smartphone | Blog - 0 views

  •  
    Google project ara modular phone is a concept where a Smartphone made of different modules. All those modules can work independently and coordinate with the other modules.
Pinhopes Job Site

Common interview mistakes to avoid | Pinhopes - 0 views

  •  
    An interview can be your game-changing opportunity where you can sell yourself effectively to hiring managers and land your dream job. But interviews are nerve-racking experiences even for experienced candidates.
« First ‹ Previous 41 - 60 of 194 Next › Last »
Showing 20 items per page