skysight-inc/HackerNews huggingface dataset:
SQL NULL. Javascript NaN.

Their behaviour is defined by the standards and special checks are required to identify these values properly.
In SQL, it's

X IS (NOT) NULL

, in Javascript it'd be

isNaN(X)

.

rand() (well, most of the time[1]). This you just have to know :)

Improperly expanding C macros:

#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
#define X isupper(getchar())
printf("X == X = %d\n", X == X);

And like lurker14 said, anything in general that has side-effects.

[1] It is possible rand() will return the same value twice in a row, just not very likely. Also the original author might have been twisted enough to memoize it. Thank you, "Higher order Perl", for that idea.
The process of SEO services
Search engine optimization also known as SEO is actually a process of a getting the more website popularity and the utmost visibility in various important search engines. For more information on affordable SEO services log on to www.brickblue.com
Outsource Web Development- Increase Your Business Revenue
Outsourcing is when you contract out your work to any other person or firm for a substantial period of time. The party which gets the work is responsible for finishing the work successfully. When a company outsources its business function to another company, it does so to concentrate on other core aspects of the business.
Please see the discussion on the git list where Junio recommends against this technique:

http://thread.gmane.org/gmane.comp.version-control.git/11312...

Also, I notice you're using ECB. Shouldn't CBC be used?
Japan May Face ‘Irreversible’ Blow to Power Capacity
You should propose alternatives that are similarly universally familiar.

Let's not forget that a Dog is not a dog; it's a word for a dog. A Bike is not something you can ride around on; it's a name for a concept you have in your head, by which you can classify real-world instances. Ceci n'est pas une pipe. I've noticed a lot of people who dislike OO seem to have a very distorted idea of what OO is and isn't...
You're missing message passing (though you can have that with a separate process as well). Something isn't OO just because it has its own memory.
Why is this upvoted? It's clearly wrong, those are syscalls to the windows kernel.
Uh, you're saying nuclear no, but then nuclear 45% of Sweden and 30% of Finland, so you must mean nuclear yes.
This is very true. I write most of my Python code using only procedural/functional constructs and limit the OO parts to a minimum and that's the way I want to do it.

Now, I haven't known exactly why I want to do this, except maybe that OO constructs soon turn my code ugly but that's a gut-feeling argument which I've kept to myself. Maybe I've thought that I've unconsciously absorbed from the athmosphere enough of that Java-hating mentality to let it show up in the way I write Python, too. But maybe I've been on to something as well.

I'm glad to read about someone else thinking in the same way.
OOP concepts aren't what's getting in the way. It's the boilerplate most languages require for their preferred object systems. A good language for beginners would have to make it easy to progressively encapsulate things as the program grows, without requiring substantial rewrites. It should be very easy to go from a few named variables to an array or dictionary, and then to add methods to that to make it a proper class.
Sorry about that; I just grabbed the URL from the address bar and didn't pay attention. I wasn't trying to highlight my comment.
Yick, then you've got an extra layer of type nonsense.
I really like the simplicity here. It solves a big problem without too much overhead.

One minor thought: You might consider adding a quick intro video so newcomers can see how to operate the site.
Terrible chart. There is no scale or legend to map color to "tax burden." Tax burden is not specifically defined anywhere (Overall tax rates? Absolute taxes paid? Taxes paid as fraction of total wealth?), so the chart is basically meaningless besides as a sensationalist tool to advance the author's political stance.

Another problem is that naturally one would perceive time as the independent axis (usually horizontal/X) while the various tax burdens are a function of that time.

I don't mean to diminish the author's point or disagree with his belief, but this chart does little service for the author.
> What they don't need is a patronizing attitude. These people are tough, and
> they will overcome.

So the rest of the world should just ignore the tragedy that happened because it isn't really a tragedy and the people are tough enough to get through it?

> Panic is the real problem here, and the rest of the world acting like the entire
> country has just been leveled by the fist of God is part of the problem.

Is the reaction of the rest of the world really causing the Japanese people to panic? Is this what you are so frustrated with?

> I wouldn't be so frustrated if I didn't have to deal with daily phone calls from
> people back home asking whether or not I've grown a third head

Don't take that out on the rest of us.

> Youth groups, church football leagues, and all the other
> stuff you have in the US doesn't exist here.

> So, no, they're not like agnostic christians.

I never meant to imply that Shinto-Buddhists and Agnostic Christians were exactly alike. I'm sorry if you took it that way. I was hinting towards that fact that they might not participate actively in the religion as much as older folks do (and generations past might have), while at the same time self-identifying with the religion. Much in the way many Agnostic Christians identify as Christian, but don't belong to any church or attend any regular services.

Personally I don't see how being an Agnostic Christian has anything to do with youth groups, church football games, etc. Are you claiming that all (or even most) Agnostic Christians participate actively in a church community? I was using the term to represent people that self-identify as being Christian (or maybe only sorta feel like there must be some god in a generic sense), but don't really participate in the religion. Am I using the term wrong?

> most people don't identify with specific temples or shrines

Now maybe, but it's my understanding that in the past the temple at which your family was formally registered meant something more than what you are implying. (Though this was really imposed by the government of the time)

I'll admit that my viewpoints may be skewed because Jodo Shinshu 'temples' in the US and Canada were modeled after Christian churches because the Japanese immigrants were trying to fit in, and going to a more traditional temple would have just been another way that they were different. On the other hand, I've met 'ministers' that grew up (and studied) in Japan, and they didn't really say that things were so much different here. So I don't know.
If the purpose of OO is design and organization rather than a fundamental way to think about programs, then really we shouldn't say things like "Everything's an object."

If you are an ardent fan of OO, you might enjoy spending some time with modern functional programming in clojure. OO has become the common means by which we achieve encapsulation and polymorphism, but these features can be accomplished by other means which have a different (and to some, better) feel.

When we say "Everything is an object", the core sentiment is that "Variables behave similarly". It's jarring to use object.toString() sometimes and "" + 1 others. To (approximately) fix this in an "code belongs to objects" universe, you must make everything an object (and have lots of inherited interfaces). In a functional universe you can achieve a more satisfying fix by having multiple implementations of the same method. (str object) and (str 1) behave similarly without imposing interface requirements on the different types. To have large scale projects, this requires that the str function be implemented in different places and dispatch correctly, which is a sophisticated language feature that isn't available in all functional languages.

I have long been a fan of python and The Good Parts of JavaScript. They have their problems, but they have served me well thus far. But OO is actually fundamentally flawed, and you only need to look as far as the Java library situation to see how exponentially complex strongly typed and independently developed OO can get. Duck typed OO has tried to answer the call, but this still results in duplicate, inconsistent interfaces monkey patched at runtime to achieve a measure of sanity.

Clojure is really changing my opinion - you get great performance (compared to the majority of languages), optional static typing, and significantly less crufty code. Whether it will age well is of course unknown, but so far it beats the pants off of any other language I have used (including scheme and Common Lisp).
Pepsi 'cracks code' with all plant bottle
EARTHQUAKE WARNING FROM RUSSIAN INSTITUTE of PHYSICS of the EARTH
Google for Nonprofits, "You’re changing the world. We want to help."
Agreed. It's the hogs like Java, C# and C++ that gave OO a bad name. Moreover, in dynamic OO languages like Ruby, even scary things like design patterns usually take lot less time and lines of code to implement and, later, understand.
Unfortunately, GunShotWoundFactory now needs to implement AbstractGunshotWoundFactory so that we can support multiple types of gunshot wounds.

Of course, we'll need an AbstractGunshotWound as well and a subclass for each type of gun used.

Needless abstractions make my head HURT!
In R programming, you wouldn't get a TRUE or FALSE if you perform X != X when X is NA (Not Applicable). The result would be NA itself as it can't be determined.

You will have to use is.na(X) to find is X is NA.

So you don't just handle TRUE and FALSE cases but take NA into consideration as well.
Mach-O loader for linux
Well, 10 years ago paypal was 3 years old and the space was very far from proven.

Person-to-person payments still suck. I don't want to use paypal thanks in part to the stories about them freezing funds with no recourse but also because it's yet another account to manage.

Visa on the other hand has a huge established base and if they can make it easy (send x$ to CC No XXXX-XXXX-XXXX-XXXX? and that's it) I would definitely use it.

And since Visa is huge and has partnerships everywhere if this takes off in the slightest Mastercard will jump on board and suddenly nearly everyone with a credit card can accept payments from each other. Paypal's revenue will take a good hit for sure.

Big companies, especially in the financial sector, don't hop into a new market until it's both stable and large enough to make it worth their while. Person-to-person has now been proven to be big and viable by Paypal so the CC companies are right on schedule to try to muscle their way in and eat Paypal's lunch.
Japan plume to hit US Friday, NYT introduces "Arbitrary Units" of Radiation
As NZ_Matt pointed out, most of the quakes's epicenters are offshore. The strength of the shake decreases rapidly with distance. In Tokyo it's still bad but not as bad as it might appear on the map. Sometimes it's like this:

A: "So we need to add one table to the database and"

B: "Wait."

A: "What?"

B: "It's shaking."

A: "Oh, is it? ... Ah, yeah"

B: "OK now. So what about the backups?"

On the other hand, the bigger aftershocks were grade 3 or 4 (in the Japanese scale) in Tokyo, which ranges from "shaking noticeably" to "shaking quite a lot". Personally, I don't feel scared anymore because I'm pretty sure both my apartment and my office won't crumble. Still, it's quite stressful.

Oh, you probably haven't read it in the (English-language) papers because they're too busy talking about the impending "nuclear winter".
Unaccustomed Earth
As a former TA, I agree.

Objects are not ways of solving problems. They are a metaphor, which gives you a handle into the problem space.

OO design is building a metaphorical data storage mechanism for your system, and then you need to cross the data into the metaphor and back again.

I wasted countless hours when learning programming trying to wrap my head around coding in an OO fashion. Eventually I integrated enough OO to make my programs better. But I never really got 'into' OO, although I tried real hard!

I don't have good words yet to explain the problem in detail, but fundamentally, a metaphor is not the solution. Most discussions of object orientation badly confuse themselves with that. As an example - an interface (ala Java/C#) is not an interface as a hardware engineer would speak of it: an interface from the OO perspective is some sort of promised type or 'protocol'.

Are you building a model of your problem? Or are you solving your problem. I'm willing make a small wager that building models of your problem doesn't pay off until you really start scaling your system in some direction. If we use the Pareto idea, only 20% of your systems actually need the heavyweight approach - the other 80% can be put together without the heavy object-oriented machinery.

Anyway, I'd rather be given the opportunity to teach in Scheme or other functional untyped language, instead of Java or C++. :-)
To put those values in scale (something few radiation graphs do, in my experience, especially when dealing with anything with the word "nuclear" in it):

>"The average radiation dose from an abdominal X-ray is 1.4 mGy" [from Wikipedia: http://en.wikipedia.org/wiki/Gray_(unit)]

The normal value at the highest location is about 1000 nGy, with a spurt at double that for a few hours. Which means it takes 1400 hours to equal an abdominal Xray - 58.3 days. Not good, but people react to news of things like this as if they're expecting to grow a third arm if they don't have a lead bunker to hide in now. The next highest areas are 1/10th that, meaning it'd take about a year and a half to equal a single medical Xray, barring whatever info comes in for the N/A areas.
If only someone told me what on earth they mean by OOP...
Warning for those, who want to use MongoDB on FreeBSD: there is a known, unfixed bug, which locks database a lot:

http://groups.google.com/group/mongodb-user/browse_thread/th...

http://jira.mongodb.org/browse/SERVER-663
FWIW this is Yahoo Japan's earthquake website:

http://typhoon.yahoo.co.jp/weather/jp/earthquake/

By the way, it's part of their weather website and existed way before this disaster. It shows the last earthquake, the magnitude at the epicenter and a list of the magnitudes at surrounding areas. There's also a list of past quakes.
How did you get 3,000 people to sign up and post their pictures?
If you don't buy it then don't get distracted by it.

In Ruby's REPL, i can interrogate any object for the methods it has on it (unless it's using method_missing in horrible ways), effectively allowing me to list out it's API.

As far as i'm aware, that's not the case in python's REPL, or at least, i was never able to figure out how to do it (i will fully admit to not being a python expert, but at the same time i'm not a n00b either).

Also, please note, i'm not dissing Python, i like python (just not as much as i like Ruby).

I stand by my argument about OO. It should be possible to quickly and succinctly describe what OO is supposed to do, and demonstrate how your language uses them to bundle up functionality. If you can't do that, you're doing it wrong.

Objects should not get in the way of being able to write code.

Lastly, please don't put words in my mouth. I don't think monkeypatching is relevant to the discussion, and the fact that len is not a method on objects is weird, but ultimately inconsequential.
No, I am arguing the opposite. I said there are many people who consider themselves to be web designers who do not have the skills to implement their ideas. These people are common in marketing agencies and all they do is make PSDs for devs to implement. This is a problem when the dev is faster at doing it all by himself, including design which he can often do just using Firebug. I am saying that front-end devs are designers by definition and in general they should avoid working for other designers who are stuck in Photoshop.
I work from home and I admit it's not easy sometimes.

But..

1. I have a dog which forces me to go out.

2. I also live in an urban setting which means I am forced to interact with people when I go out.
Hm, nobody seems to have yet mentioned that OOP was practically invented as a teaching tool for novice programmers: http://samizdat.cc/shelf/documents/2004/08.02-historyOfSmall...
Can I say "Super Perigee Moon Double Rainbow Rolling Bomber Special[1]" without repercussion? Because I really want to...

[1]: http://www.youtube.com/watch?v=W2BBl7_-4JA
I don't think enough people are understanding (1) how cool this is (switch to the tunnel presets and start tweaking the inputs and the shader!) and (2) how important this is for introducing/teaching people about computer science. Now, for the first time ever, we can actually teach kids how to program cool 3D graphics with just a browser (no downloads, no messing with installation issues, no platform-dependent crap).

I'm planning on teaching a class on WebGL for high schoolers at my university (for those of you who are curious, it's through this program [1]). All I have to do is get them to open Chrome/Safari, show them this page and teach them a few basic concepts about OpenGL/vertices/textures/shaders and they can start learning stuff on their own. Hacking and tweaking stuff is the most fun way to learn something. And I think this could be a major milestone for computer science education.

[1] http://www.stanfordesp.org/
i didn't downvote, but regardless of the motivation it's still just a little creepy
Originally for floating-point, and being NaN (not a number).

For example a sorting routine might never finish, if it has to sort such numbers/values.
I believe you are wrong about optional static typing; type hints in clojure are purely an optimization and for clarifying dispatch:

user=> (defn foo [^Integer i] (prn (type i)))
#'user/foo
user=> (foo 1)
java.lang.Integer
nil
user=> (foo [1])
clojure.lang.PersistentVector

see also: http://clojure.org/java_interop#Java%20Interop-Type%20Hints
Ahhh, the old "Mark Zuckerberg" ruse!

No thanks, dude!
New Launches House/Houses Singapore
KJHOME-buy/sells new launch condo in Singapore, Singapore condos, new launch house/houses in Singapore, condominium house in Singapore, new launches developers, condo for sale in Singapore, Singapore new property launches.
Sometimes the tone of an article overwhelms the content, and in this case that leads me to be confused about whether I'm being warned about impending earthquakes, or asked to buy vitamins, or emailed about helping someone move a large sum of money overseas, or make ferrari money in my spare time placing classified ads.
In other arbitrary news, the information content of this article is approximately 6.02 * 10^-23.
Japan, the Persian Gulf and Energy
Good Chevy Chase reference.
The 5 Whys
You don't have to wait for a 9.5 earthquake to come along to test a design. That's what computer models are for. How do you think they came up with the estimate of what magnitude of a quake the existing design could withstand (assuming that the statement that this quake was "five times stronger" than what the plant was rated to handle has some basis in fact and isn't just a number plucked out of thin air)?
Object Oriented programming exists because it is how humans conceptualize the world around them. Humans think in objects and actions on, in and between objects. OOP is a translation of natural thinking into systems and behaviors. Why is this a bad thing, especially for learning?

I guess my question is, why does OOP and an natural translation between the real world and the code world lead to this discussion and a certain level of condescension around utilizing the concepts of OOP?
actual variable name I have seen in production code I was trying to maintain:

TheThing
appreciate it brother. i submitted it so we'll see. I'm learning how to code so either way, i'm building it! The World Is Mine!
The first point is not too much of a downer, actually: it's not much harder to learn the IO monad as pure syntactic sugar than to learn printf and its ilk.
Google Docs got tweets
This is a cashew.
Real News Reporter

Real News for Sovereign People
I had a Jawbone Hero for approximately 8 days (I bought it so I could communicate with my team while I drove home). In any case the device was great, less the fact that it has only 3-4 hours of talk time... but that is standard for bluetooth. I loved it and would continue to use it but it was stolen from my office desk.....
So basically anywhere along the entire West coast of North and South America is in danger of an earthquake soon. Thanks for narrowing that down geographically to like 20% of the entire oceanic coastline of the world.
Great article. If you want to know more about Windows memory layout here's a couple of great books:

http://technet.microsoft.com/en-us/sysinternals/bb963901

http://www.amazon.com/Windows-File-System-Internals-Develope... (Yes it's about file systems but it's an awesome book about Windows internals)

http://www.amazon.com/Windows-Device-Development-Classic-Rep...
Go isn't the only language that matches those requirements though. I took a long hard look at Go for very similar reasons and ended up deciding on Scala.

It feels like a scripting language, incredible performance, extremely compact code when you need it to be, actors.

>Easy CSP-style concurrency: goodbye races and deadlocks w/ threaded code.

I actually disagree with this, CSP style, actors, message passing, you still have potential race conditions and deadlocks. What you gain is a nice separation between what is shared and what isn't. Just don't think Go's concurrency is the many-core silver bullet anymore than locks or Tx Memory is...
Without types, how do you know you're not writing nonsense?
Stay Healthy During Pregnancy
Organic Baby Class is for moms with children already as well as for pregnant moms who are purchasing and registering for products for baby
I can't help but feel that the media is exercising a pre-existing anti-nuclear agenda. For example http://www.nytimes.com/2011/03/13/world/asia/13japan.html?pa... - trains swept away - people actually dead or unaccounted for - yet where are the calls for trains in the US (or UK for that matter) to undergo additional safety checks?

Not that the nuclear situation isn't serious, but stuff like this is pure hysteria.
Best Online Chemist Uk
Online pharmacies, or Internet pharmacies, are pharmacies that operate over the Internet. Many such pharmacies are, in some ways, similar to community pharmacies; the primary difference is the method by which the medications are requested and received.Chemist is an online pharmacy based in the UK. We deliver medicines and health products within the UK, aiming to despatch as quickly as possible.For more details visit us.
A Slow Economy Means Lots of Opportunity For Outsourcing and Automation Business
Any viable competitor to the Paypal tyranny would be quite welcome. Competition is a good thing.
It will overwrite the hidden partition. The 'outside' partition doesn't know about the hidden one. When you are mounting the outside partition you do have an option to protect the hidden one by providing the password for the hidden one, but if you don't, you can end up overwriting it by filling up the outer partition.
I love dropbox and we use it personally and for our company (we are paid subscribers). But it seems to me that this space has fewer barriers to entry than say Groupon. People argue that Groupon has little barriers to entry but the fact is that it cost a lot to sell and get merchants on board. Dropbox is a very unique and helpful product but what will stop the competition from creating something similar and possibly better?
They're going to freak people out with that kind of nonsense.