|
To quote Douglas Crockford's excellent JavaScript: The Good Parts,
JavaScript has two sets of equality operators: === and !==, and their evil twins == and !=. The good ones work the way you would expect. If the two operands are of the same type and have the same value, then === produces true and !== produces false. The evil twins do the right thing when the operands are of the same type, but if they are of different types, they attempt to coerce the values. the rules by which they do that are complicated and unmemorable. These are some of the interesting cases:
'' == '0'
0 == ''
0 == '0'
false == 'false'
false == '0'
false == undefined
false == null
null == undefined
' \t\r\n ' == 0
The lack of transitivity is alarming. My advice is to never use the evil twins. Instead, always use === and !==. All of the comparisons just shown produce false with the === operator.
For reference types == and === act consistently with one another (except in a special case).
var a = [1,2,3];
var b = [1,2,3];
var c = { x: 1, y: 2 };
var d = { x: 1, y: 2 };
var e = "text";
var f = "te" + "xt";
a == b
a === b
c == d
c === d
e == f
e === f
The special case is when you compare a literal with an object that evaluates to the same literal, due to its toString or valueOf method. For example, consider the comparison of a string literal with a string object created by the String constructor.
"abc" == new String("abc")
"abc" === new String("abc")
Here the == operator is checking the values of the two objects and returning true, but the === is seeing that they're not the same type and returning false. Which one is correct? That really depends on what you're trying to compare. My advice is to bypass the question entirely and just don't use the String constructor to create string objects.
Reference
http://www.ecma-international.org/ecma-262/5.1/#sec-11.9.3
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
> Column headers align to the left regardless of data type OR Headers are aligned with their data (keeps the vertical lines of the table clean, and provides consistency and context) and center alignment is not recommended
> Columns that have a sub heading are centred across the span
> Values: All text left aligned, All numbers right aligned, Single characters are centered, Numbers that are not values, like product codes for example, are treated like text and left aligned, Use the same number of decimal places for all numbers in a column, Left align dates, Use 2 digits and leading zero for day numbers (this may be cultural?), and use the same format for dates throughout.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
12 June 2012:
Rupee has fallen to 55.3 per dollar after touching 56 +. It is most steep fall in last 3 months, about Rs. 8.
20 Sep 2016:
Rupee has fallen further 67.03 (has touched 68.47 before and recovering)
23 May 2017:
Rupee has rose to 64.75 (has touched 63.90 on 17 May 2017 before falling again)
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
modified 23-May-17 6:59am.
|
|
|
|
|
Just being curious and feel sad to see another airline to go badly, of same company MHA.
RIP to all passengers. May god bless those families.
I am just running a repository of links, just for my info where does these news items take turn.
1)
Australian family hit by both MH17, MH370 tragedies. Kaylene(right pic) lost her brother and sister-in-law on MH370, and her stepdaughter and stepson-in-lawon MH17[^]
2)
A DUTCH man has escaped death twice by changing his tickets at the last minute for both flights.[^]
3)
MH17, a Boeing 777, made its first flight on July 17, 1997, ended 17 years later on July 17 2014[^]
4)
MH17, MH370: The questions surrounding Malaysia Airlines[^]
5)
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
Tips and Tricks for Visual Studio[^]
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
If you unshelve one and then use the command line TFS power tools to compare the other one with the review commandtfpt review /shelveset:shelvesetName;userName
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
D- Present a wizard-like UI, require user input to start and run to completion
W- Runs in background with no user input
D- runs sync
W- runs async
D- cannot be auto-triggered, to be started by user
W- can be triggered by user(on demand), or auto-triggered
D- can query CRM data
W- cannot query CRM data
D- can call child dialogs and pass information to them
W- can call child workflows but cannot pass info?
D- can be run on one record at a time
W- can be run on multiple records
Extra checks with workflows:
> cannot undo - updated records cannot be reverted
> avoid infinite loops
> test db outside of live crm db
> check security rules to ensure users have the ability to execute workflows but not create process
> use advanced finds to monitor completed system jobs
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
http://codepen.io/elmahdim/pen/hlmri[^]
OR
<select>
<option>Pineapples</option>
<option selected>Apples</option>
<option>Chocklate</option>
<option>Pancakes</option>
</select>
.styled select {
background: transparent;
width: 150px;
font-size: 16px;
border: 1px solid #ccc;
height: 34px;
}
.styled {
margin: 50px;
width: 120px;
height: 34px;
border: 1px solid #111;
border-radius: 3px;
overflow: hidden;
background: url(http://www.stackoverflow.com/favicon.ico) 96% / 20% no-repeat #eee;
}
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
modified 29-Sep-15 8:58am.
|
|
|
|
|
Best & Cheap:
1) Router => TL-WR841N
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
The Domain Model contains information and functionality related to what it means to be a User.
The Service contains information and functionality related to performing atomic units of work.
Data models are used for describing the data in your system and relations or associations between them.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
Regex in SQL
Below applies to SQL Server 2008 R2
Symbol & Meaning
LIKE '5[%]' & 5%
LIKE '5%' & 5 followed by any string of 0 or more characters
LIKE '[_]n' & _n
LIKE '_n' & an, in, on (and so on)
LIKE '[a-cdf]' & a, b, c, d, or f
LIKE '[-acdf]' & -, a, c, d, or f
LIKE '[ [ ]' & [
LIKE ']' & ]
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
> gluten-free food - Birmingham restaurants:
-Warehouse Cafe, Digbeth -good for dal, gluten-free toasted bun with potato wedges and salad
-Bodega, Bennetts Hill -good for dark chocolate
-Zizzi -good for vegan pizza/pasta
-Jyotis, Stratford Road, Hall Green -Indian vegetarian
> Kids & Fun
-Splashtastic water party at Alton Towers £15 per child
-West Midland Safari Park £25 per child and two adults
-The Snowdome £12 per child
> vegetarian lunch
-Bodega cantina (avocado, sweet potato, black beans, salsa, cocktails)
-Purnell’s Bistro (roasts)
MEMORIES:
> My All time favs (as of year 2010):
-McDonalds at NewStreet & Old Library
-Subway on Corporation street
-Wetherspoons at Old Library
-Nandos at MailBox
-Pizza Express at Mailbox
-Deli lunch near SuperDrug store on corporation street
-( more to add )
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
1) using-jsfiddle-with-angularjs
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
|
List 1 - Hindi Pops
1) Wo Chali Wo Chali - Bombay Vikings
2) Kya Soorat hai - Bombay Vikings
3) Dooba dooba rehta hu
4) Kabhi aane tu meri gaali
5) Breathless - Shankar M.
6) Tanha Dil - Shaan
7) Pal - Shaan
8) Krishna - Colonial Cousins
9) Rabbi Shergill- Jinhe naaz hai hind pe
10) Lucky Ali - Dekha Hai Aise Bhi
11) Ankhaon Mein - Aryans
12) Bakhuda Tumhi ho
List 2 - English
1)
2) Sia Cheap Thrills
3) Replay - Iyaz
4) B.o.B Airplanes
5) B.o.B Bautiful Girls
6) Owl city - Good Time
7) Owl city - Fireflies
8) Marron 5 - one more night
9) David Guetta - Without You
10)David Guetta - Just One Last Time
11)David Guetta - Titanium
12)David Guetta - Work Hard Play Hard
13)Akon - Smack That
14)Pitbull - Rain Over Me
15)David Guetta Ft. Nicki Minaj - Turn Me On
16)Rihanna - Rude Boy
17)Rihanna - Love the way you lie
18)Rihanna - Please dont stopthe music
19)Not afraid - Eminem
20)Swedish Mafia - Dont you worry Child
21)Avicii - The Nights
22)Avicii - Wake Me up
23)Chris Brown - Dont wake me up
24)Ellie - Burn
25)Katy Pery - Roar
26)Demons- Imagine Dragons
27)Fun - We are young
28)Macklemore - thrift Shop
29)Pitbull - Give me everything
30)TPain - 5 o Clock
31)Timberland - Carry out
32) Pass out by Tineh Timpah
33) Yeah by Usher
34) What is Love - Haddaway
35) Nothing gonna change my love
36) Here I am - Bryan Adams
37) Inside out - Bryan Adams
38) 18 till I die - Bryan Adams
39) Everything I do - Bryan Adams
List 3 - English
1) Ronan Keating - Nothing at all
2) Ronan Keating - If tomorrow never comes
3) Viva la vida - coldplay
4) Livin'da vida loca - ricky martin
5) Coldplay - yellow
6) Coldplay - fix you
7) Coldplay - hymm
8) Coldplay - amsterdam
9)Coldplay - scientist
10)Coldplay - rush of blood
11)Coldplay - low
12)Coldplay - trouble
13)Coldplay - dont panic
14)Coldplay - god put a smile
15)Coldplay - magic
16)Coldplay - paradise
17)Coldplay - clocks
18)maria - ricky martin
19)Summer of 69 - Bryan Adams
20)Counting Stars
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
> A service is something helping you to implement your business use cases.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
1) it’s more efficient to bring the computation to the data, rather than bringing the data to the computation.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
Tell your manager, while you code: "good, cheap or fast: pick two. "
|
|
|
|
|
Thank You Friends for visiting my message board and my profile.
I welcome your Suggestions and Queries...
All the Best in your walks of Life
Regards,
Ravi Santlani
This message was posted after 4,960 reputation points...
|
|
|
|
|
Hello amigo!
Congratulations again for your new job.
People with high attitude deserve the standing ovation of our highest finger!
My Technical Blog![ ^]
|
|
|
|
|
Hey thanks Mate. Today i am week old to new job
Where do you work, on which technology?
|
|
|
|
|
RaviSant wrote: Today i am week old to new job
Awesome! So got adjusted with the new environment, made new friends?
RaviSant wrote: Where do you work, on which technology?
My story so far :
I am fresh out of college, with some 10 months of experience, working as a VSTO(Visual Studio Tools for Office) developer. So the technology is .NET here.
Couldn't get into biggies. Infosys took 119 students from my college but I wasn't among them. Birlasoft took some 50-60 but I wasn't among them! (Damn what's wrong with me! )
I am currently not satisfied with my job so I shall start finding a new job with .NET as technology.
Lets see where destiny is going to take me!
People with high attitude deserve the standing ovation of our highest finger!
My Technical Blog![ ^]
|
|
|
|
|
Yes, made few of new friends
VSTO, thats great. there must be lot of reflection out it, i guess.
Nothing wrong, sometimes its good you did not went initially into biggies. Some of friends got into campus and i did not got. After 5-6 years i see them as tester or support guy majority of them, and i am developer. You will get into Big companies Sooner or Later, just make yourself strong in technology you work and keep looking.
All the Best
Which city you are from?
|
|
|
|
|
RaviSant wrote: Yes, made few of new friends
Great have a good time there!
RaviSant wrote: VSTO, thats great. there must be lot of reflection out it, i guess.
I didn't get the reflection part. But basically VSTO is about programming Office applications like Word, Excel and PowerPoint, to automate things. I am not liking this stuff so that's why looking for a deviation from this and get into the actual programming world. That's why I keep learning, so I learned WPF(Its awesome!), XML, LINQ (currently learning XLINQ), learning ASP.NET to get myself ready.
RaviSant wrote: Nothing wrong, sometimes its good you did not went initially into biggies.
That's true. Like in the case of Infosys, many of my friends only got projects a month ago, they were in bench before that. In case of BirlaSoft many of them did not get good technology, like some HP tool, Web support etc. Glad I didn't get placed there.
Here I got .NET but its not enough, I need to be more professional.
RaviSant wrote: Some of friends got into campus and i did not got. After 5-6 years i see them as tester or support guy majority of them, and i am developer.
Awesome good for you sir! It was a blessing in disguise.
RaviSant wrote: <layer>You will get into Big companies Sooner or Later, just make yourself strong in technology you work and keep looking.
Yes that's what I am hoping more, got to make myself strong in .NET.
It would be great if you could tell me the best companies which hire .NET developers so that I can target them and grow more professionally.
RaviSant wrote: All the Best
Which city you are from?
Thanks a lot Ravi sir!
I am a Delhite and you?
People with high attitude deserve the standing ovation of our highest finger!
My Blog![ ^]
|
|
|
|
|
Hey, Delhi Dude, sir mat bolo.. bas dost is fine..
I am from Ulhasnagar near mumbai.. my room mate was from rohini (delhi).
There are many-many .Net companies. Some biggies, some Emerging. You can never target a company and learn. You have to keep trying and look for good work in start (0 to 3) years. There are thousands of companies in India. In Delhi-NCR, HCL is good pick. my room-mate worked there while lving in Delhi. Next is Wipro. In pune and banglore, its plenty.
One of my friend got into 'Vistex', a very small SAP company and stayed there, did good work. The company has grown high in last 4-5 years and he has best SAP knowledge in market and earns thrice what we do.
It is also matter of destiny. As said, you need to keep trying and keep looking.
|
|
|
|
|
RaviSant wrote: Hey, Delhi Dude, sir mat bolo.. bas dost is fine.. I am from Ulhasnagar near mumbai.. my room mate was from rohini (delhi).
Sure! Aah Mumbai awesome yaar. One must stay and get a feel of Mumbai.
Thank you so much for the insight. I shall try the companies you mentioned, my friends also told me that, south and pune is the place where actual development happens and one should work there. I will try in Accenture too. My friend told me that internally they have tie-up with Microsoft and there are lot of .NET projects. If I land up a job there, I will be kind of working for Microsoft and will get an ID too.
RaviSant wrote: One of my friend got into 'Vistex', a very small SAP company and stayed there, did good work. The company has grown high in last 4-5 years and he has best SAP knowledge in market and earns thrice what we do.
Wow that's great. SAP is a good technology.
Hmm opportunities are endless with so many companies.
Yep I shall keep trying for the best!
Thanks again!
People with high attitude deserve the standing ovation of our highest finger!
My Blog![ ^]
|
|
|
|
|