skysight-inc/HackerNews huggingface dataset:
if you want to deal with characters with high numbers you should know code points stuff. for example, the String.length() would return a number of two-bytes chars, not real four bytes characters, which may confuse someone

//edit: this is about Java
where's the one that switching workspaces when you tap the left/right side of the laptop?
Worth their weight in gold is a common way of saying that something is very valuable.

Are you an Aspie? You're being far too clever/literal, reading too much into his statement with your weight of a great idea = 0 therefore worth = 0 calculation.

The natural and much easier interpretation of what he wrote is that good ideas are common as muck, whereas great ideas are of great worth.

You really have to go through some quite unnatural contortions to arrive at the conclusion you did; that he said all ideas are worthless.

BUT

You may be right, he may have been trying to have some subtle play with words. If so, I apologise. However, it isn't the way his statement would normally be read.
I store all of my code plus their git repos on my Dropbox, that's MY bias. ( And it's a useful one)
You should very much care about that, because if your tool stores text as UCS-2, it means that it doesn't support unicode at all, UCS-2 stopped being a valid encoding a long time ago.
Doesn't work on my new Thinkpad T510, running Ubuntu and Chromium 9.0.

I know it has an accelerometer (I've seen the bundled Windows software use it), but I don't know where the API to access that data is.
UNIX / Linux: 3 Ways to Send Signal to Processes
I keep hoping a string API will catch on in which combining marks are mostly treated as indivisible. Handling text one codepoint at a time is as bad an idea as handling US-ASCII one bit at a time--almost everything it lets you do is an elaborate way to misinterpret or corrupt your data.
i guess utf-8 requires more computations while processing strings. if you work with just 2 bytes chars, it (might) work faster

// upvoted all replies, you're right
Funny, a few of the startups I generated are actually available domains (and kinda catchy):

bridgeini.com
swiftmolsh.com
crunchmob.com <-- considering buying this one
molshoola.com
dateoola.com
jotperfect.com
inpoke.com

Good design, btw.
I think I cheated and used an existing regex library - it's been a while.

As far as the 6 months, it was my first major, major project and required so much learning and research on just how to structure code that it took a long time to craft.
It didn't help that the design was so complex that debugging it was a chore. :)

Hence the V2 rewrite that took a couple of days.
OOh, that does sound like fun. I've been toying with how to write a grammar generator on Node.js, lately - something in the vein of PyParsing.
Where to find real estate property listings in Newport Beach California
Broad backwards compatibility with ASCII is a strong reason to prefer UTF-8 in most applications, however I find the issues with UTF-16 are overstated and the advantages of it ignored.

"UTF-16 has no practical advantages over UTF-8" - UTF-16 is better - i.e., quite a bit more compact, since, e.g., Chinese characters always take 3 characters in UTF-8, for asian languages.

"A related drawback is the loss of self-synchronization at the byte level." - Maybe this is a problem, maybe not. Maybe the failure of UTF-8 to be self-synchronising at the 4-bit level is a problem is some circumstances. I don't mean to be flippant, but the wider point is that with UTF-16, you really need to commit to 16-bit char width.

"The encoding is inflexible" - I think the author has confused the fixed-width UCS-2 and the variable-width UTF-16.

"We lose backwards compatibility with code treating NUL as a string terminator." - Not true. NUL is a 16-bit character in UTF-16. Use a C compiler that supports 16-bit char width.
Wow, very nice find. I took a stab at the question via Google but gave up.

Exactly why quora is compelling. If you didn't know now you do
I doubt that they are encoded in UCS-2 as that character set isn't able to encode every (or even just the majority) of unicode code points.

You are right though (and this is why I upvoted you back to 1) that you shouldn't care. In fact, you not knowing the internal encoding the proof of that. In python (I'm talking python 3 here which has done this right), you don't care how a string is stored internally.

The only place where you care about this is when your strings interact with the outside world (i/o). Then your strings need to be converted into bytes and thus the internal representation must be encoded using some kind of encoding.

This is what the .decode and .encode methods are used for.

Have a look at http://diveintopython3.org/strings.html which manages to say this better (and with more words) than I ever would be able to.
I just don't understand how they're going to conquer the network latency issue. Latency is everything to gamers. In theory this is an amazing idea with one huge gaping critical flaw -- I look forward to seeing them solve it. Quantum entanglement, anyone?
Instagram is inviting people to signup for access to the API. The API does not appear to be available yet.

Picplz launched their API today (the actual API, not an invitation).
Love me some organized files. We use Google Docs when we need to collaboratively edit a document, but the finalized versions are all stored in Dropbox.

Startup\ (Shared with all employees)
Competitors\
Contacts\ (folders for people/companies, better in a CRM at some point)
Customers\
Dev\
Concepts\ (mockups)
Web\
iPhone\
Android\
Specs\
Graphics\ (logo, frequently used images)
Marketing\
Presentations\
Press\
Reference\
Research\
Unfiled\
Whiteboards_and_Ideas\ (photos of whiteboarding/brainstorming)

Startup-Confidential\ (Shared with those who need to know)
Legal\
Agreements-Executed\
(Folders by name of person/organization)\
(Agreements signed by this person/organization and us)
Corporate_Records\
Master_Record_Book\
(Sequentially labeled, signed finalized documents
from the corporate record book)
YYYY-MM-DD_<Company-Event-Description>\
(Draft documents/revisions for each major legal event like
formation, board actions, hiring)
Employee_Records\
(Folders by name of employee)\
Important employee files, agreements
Forms
Template legal documents
Finances\

Startup\Interns\ (Shared with interns)

Startup-Working\ (for me)
Maybe add Disqus?
When I was applying for jobs about a year ago, the only times I got anything other than silence for a response was when I had a contact "on the inside". It has been said that the success rate for just sending in a resume is under 5%; of course, people do get jobs by sending in resumes (or so I hear) - this just wasn't my experience.

On the other hand, I learned that the contact does not have to be a friend - reaching out to an engineer working at a company shows you care, and makes the process more human. Note that I'm not advocating spamming busy people with your resume - I think this only works if the interest is genuine.

Doing interviews made me realize just how much theoretical CS knowledge I was missing, algorithms especially (I did Computer Engineering for my undergrad). So that was the final push that made me decide to do a Masters (though I did get an offer). I hope that was the right decision :) But more to the point, make sure you brush up on your theory and practice solving problems on a whiteboard.
I don't understand why companies don't make Android apps a priority right off the bat. Unless you are making an app that you plan to sell, most times you will get just as good or better traction on Android.

Look at Angry Birds (edge case, not exactly a great example) and how moving to Android caused them to move to advertising, which ended up making them more money and moving that model to the iPhone.

I think it is bad that there is this mentality that there is iPhone and then there are smart phones. The iPhone shouldn't get any special treatment, because at the end of the day it provides the same thing most any Android phone will.

Now that I realized that this has nothing to do with the OP, I have to say that it is good that Instagram has an API.
Gmails Security Checklist
>"We lose backwards compatibility with code treating NUL as a string terminator." - Not true. NUL is a 16-bit character in UTF-16. Use a C compiler that supports 16-bit char width.

Yea, it really should be "We lose backwards compatibility with code treating a zero 8-bit byte as a string terminator."

>"UTF-16 has no practical advantages over UTF-8" - UTF-16 is better - i.e., quite a bit more compact, since, e.g., Chinese characters always take 3 characters in UTF-8, for asian languages.

For pure CJK text files, yes.
VigRx Plus Male Enhancement is a scam
Instagram was started by a couple of people in August or September 2010. The platform choice was less obvious at that time. They could only pick one platform given that they only had a couple of people and they needed to build both a service and the mobile application.

According to an article on Techcrunch, the Android version of the app will be ready real soon now.
Perhaps this is overly simplistic, but by definition "work" is stuff I wouldn't do for free.

I definitely do technical things for free, but I'm free to walk away any time -- I think the essence of "work" is the inability to walk away (without terminating whatever contract is in place).
Its also important to note that Vegas is one of the few places in the US where sports betting is actually legal. See http://en.wikipedia.org/wiki/Online_gambling#United_States
Stewart Butterfield, Philosopher Game King
Are you able to show them your personal projects? It's possible that the stuff your applying for has a load of applicants, in which case you may find plenty of applicants with more targeted experience that may cause those hiring not to look much further.

My experience watching friends apply is that grad positions are quiet hard to get into.

Maybe you could look for a job that has .NET plus the opportunity to move into other languages down the track, from your post though it sounds like you don't really want to do that.

Maybe in the interim you could roll your own project that does show off your skills in another area, best case it might take off in it's own right, worst case you have something pretty good for the resume.
Yes I know. I gave my N1 to my boyfriend when I 'upgraded' to the 'more advanced' phone. The majority of phone are like my galaxy S not the N1. The environment seems to have a very deep flaw. Yet there are a bunch of diehards that cling to the N1 and NS model as the representative of the majority. Then there are the bunch that believe it's ideal to buy your phone then immediately flash it with a hacked together unfinished mods running unofficial kernels that guzzle battery and lockup like grandma's bowls.
What? No not at all. I've said nothing one way or the other about the US.
http://www.goodfuckingdesignadvice.com -- I'm pretty sure this is good f*cking design advice.
I propose the ycombinator turing test. Can you generate an application which will get accepted by ycombinator? This may require generating additional content to establish team credibility including twitter posts, blog posts, etc.
Me neither, all the coverage I have seen (and I haven't been following too closely I have to admit) has pointed to some magical prediction algorithm they've supposedly developed and having very local servers. Given on a great day I get a 30ms ping to servers in my city this would mean at best there is a 60ms delay between me hitting fire and seeing the result. Given that[1] is below the 24fps threshold you need to have to perceive smooth motion I expect you will be able to perceive the delays.

Perhaps they can colocate their servers with ISPs or telco exchanges or something but will that be enough and can that truely scale given the consistent hardware upgrade requirements they're going to have?

[1] 1000ms/60ms = 16.7fps
Hehe. Nice one. it is a good way of scanning through a bunch of crowd sourced ideas though.

Back to scanning through.
Wow... if you have had that many complaints maybe you should have returned it and moved on. Or just eBay and get a different phone.

>Just to repeat a recent stat 'Android users running newest version 0.4%. iOS users running the newest version 90%.'

Uhh, what? Reference? The real stats beg to differ. http://insights.chitika.com/2011/61-of-ipads-already-running...

I usually hate to call people trolls but I am not sure you aren't one.
All great except I can't fathom the decision to go with a wacky name like Couchbase when they already have a great name: Membase.
Not very impressive. No real explanation of the "Facebook solution" claim beyond a list of generic education portal features. And the bad spelling _really_ didn't help.
If you are willing to leverage proprietary services, you can use Panda Stream for video support.

http://www.pandastream.com/
http://addons.heroku.com/pandastream

For the editor, a WYSIWYG editor may better target your users, but I recommend keeping the formatting options to the bare-minimum you have already defined.

Providing enough options to typeset a book is cool, but would probably distract both editors and viewers.
did you mean the situation when for example "ä" can be transmitted as 00e4 alone or as 0061 "a" + 0308 "umlaut"?
Why don't we then add in the worldwide phone share and add windows laptops because they are mobile computers too? That means Windows has like 80% of the market cornered.

The headline specifically says US Smartphone marketshare and that statistic is interesting in itself. There is no need to pollute it just because you don't like the results.
20+ jQuery Plugins
jQuery has a wide plugin library, We post on continue basis for jQuery plugins for our readers. In this series today we have posted 20+ fresh and cool jquery plugins.
yep, here it is:
https://sites.google.com/site/picplzapi/home

We also released some code samples and a jquery plugin:
https://github.com/mxml
Maybe it's that they didn't need school, rather than dropping out of school that made them rich.
LG wants PlayStation 3 banned from US market
Whatever environments jumped on Unicode early, before it was realized that 2 bytes wouldn't be enough, all chose to use UCS-2 for obvious reasons. In particular, that includes Windows and Java.
We believe the Couch-part is worth mentioning given its unique capabilities (real-time Map/Reduce, Sync) and that the new name should reflect that it is a merger of the two previous companies CouchOne and Membase.
I lived in NYC during the entire period these pictures cover. Obviously not every block was like this, but the presence of 'urban decay' was undeniable. The incidence of street crime was much higher, and the general sense of potential danger was palpable.

"Taxi Driver" is an excellent depiction of the mood of the city during this era.
is it a parody on the startup bubble?

how funny it would be if some sophomore really implements one of these mock ideas and become a blnaire
A polar panorama? http://content.photojojo.com/tutorials/create-your-own-panor...
Coucbase: Can I get an Amen
Why the hell am I being downvoted? They used unnecessary quotes (amateur mistake) in their title, and a previous mention on the HN homepage suggested they were going for the jugular of TC.
For a poor black child to have a father in the home is currently atypical: http://www.theroot.com/buzz/72-percent-african-american-chil...
"this is where xxxx comes in"

wrote the phrase down to my english idioms book. all investors are mine!
> all chose to use UCS-2 for obvious reasons

Probably because they figured they could just ignore endianness issues and that ASCII compatibility would be Somebody Else's Problem.

There were always problems with UCS-2. UTF-8 would have had a number of advantages over it even if Unicode had never grown beyond the BMP (Basic Multilingual Plane, the first and lowest-numbered 16-bit code space).
This is a common misconception about UTF-8 vs. UTF-16. You're missing two important facts.

1. Most UTF-8 string operations can operate on a byte at a time. You just have realize that functions like strlen will be telling you byte length instead of character length, and this usually doesn't even matter. (It's still important to know.)

2. UTF-16 is still a variable-width encoding. It was originally intended to be fixed-width, but then the Unicode character set grew too large to be represented in 16 bits.
But UTF-16 is variable encoding, too?
How Angry Birds really took off: 200m minutes a day spent playing it
Voicebuzz, Add voice to your Facebook status
Facebook – the unstoppable Brand Facebook is getting bigger
Facebook, the social network of the century, has become an important part of life for people from different walks of life.
This is the first time I've heard of Asana or Lunascript, but that sounds amazingly like the application server, language and framework I worked on at the previous company I was with.

Reactive / dataflow languages are just perfect for UI binding, and in data-intensive applications (think things like insurance quotes, finance) they can minimize the amount of kludgy UI update logic. The language I wrote was called Gravity (because it kept on sucking in responsibility), and compiled to .NET, which was very easy because it could just use Reflection.Emit and DynamicMethod.

With an in-process debugger I wrote, and the state storage mechanism it used (a bit like a Smalltalk image but with the code referred to via an intranet http URL, so it was really small, less than 60K usually), it had other powerful features, like migrating an app session from one machine to another (think of a helpdesk investigating a problem), playback of the entire application session (for testing or fault reproduction), or post-mortem investigation of the heap.

These kinds of features are very hard to get if you just take what a host language gives you and try and build a DSL on top of it. I understand why many people shy away from it, but the productivity advantages can be substantial, sustainable and strategic. The grammar and semantics of the Gravity language I developed for this were very similar to a subset of C#, except with more SQL-like null handling. That can minimize the learning and unfamiliarity overhead without losing a lot of that advantage. If I were doing a startup today, and it involved the same kinds of challenges, I'd still take a similar approach - and as a compiler engineer in my day job, I don't have illusions as to the depth of the technical problems around production-ready languages and tooling.
The fragmentation issue has been over blown to a certain extent but for apps just starting out it is an issue. There are tons of Android apps out there and virtually no way to test your app on all of them.

Apple on the other hand has almost as many users and you can test your app with just a few phones. As an individual who has his old 3GS, a new iPhone 4 and an iPad I literally have everything I need to test an iOS app.

If Google were smart they'd collect all the various Android devices and offer a testing service to developers. If they charged for it they'd get a new profit stream while simultaneously making it easier for developers to create Android apps.
I love the text it proposes to share on Twitter:

"OMG ShopMob is the next Quora!! #omgnextquora"
You can view source on this page for the normalization code to harmonize both implementations:

http://studio.html5rocks.com/samples/orientation/index.html (see VideoPhysicsController.prototype._onTilt() )
Wasn't a dig on this service specifically, just being an Android fan and user since day one, I find it backwards that Android still gets ignored even though it is a huge force and has great traction. I guess ultimately though, things are changing for the better on all platforms.
When pitching investors how do u non-defensively anser Qs related to competition
This service was basically created to showcase the capabilities of KooKoo (http://www.kookoo.in).Do let us know what you think of voice on Facebook.There has recently been some interest in India, with Aircell, a service provider, providing this service.

If you are calling from outside India, call 091-40-30512834
Actually step seven is "add to instafetch",

but yeah, it isn't perfect.
> endianness issues

what are the issues?

> ASCII compatibility would be Somebody Else's Problem

for many of those outside "A" in ASCII (euphemism for America :) there were already a ton of problems, so endianness was the least (i personally never hit this problem)

// disclaimer: i'm not that serious about predominance of Latin script, this is sorta irony
Nice to see this hypothesis observed by others. I long suspected that "failing to handshake with a cell tower" incurred a significant drain on the battery.
Blaming the state of affairs in NYC in the 70's on rent control is simplistic in the extreme. Rent control (and rent stabilization) are questionable policies for sure, but they were around since WWII, and every tenement owner was aware of the state of the rent roll when they bought the apartment buildings (so the ramifications were built into the price).

The truth is that a confluence of bad policy and economic conditions converged to create the mess our cities were in during that time. Some cities (Detroit, Baltimore?) have yet to recover.
They're not obese because they eat too much, they're obese because they can only afford shitty, carb-laden, borderline toxic food which causes insulin resistance and eventually diabetes.

Obese mice on a ton of insulin can literally starve to death without losing weight.
The point with Git isn't to not have a central repo, it's that you can have any structure of repos you want.
Supporting Our Own Innovation
I wish I could meet an investor now, just to say to him "This is where the jousting monkeys come in".
Instagram picked up 100,000 users in its first week and a million in its first month as an iOS exclusive. Do you think it would have done that on Android? I don't.
IPhone Game Development - Catch Your Viewers by Amazing Apps
Wine? That sounds like one of those gifts you give somebody that you really wanted to give to yourself. With engineers you'd be better off with beer, soda, or ganja. Wine is what you give to your marketing team.
There is still room for a new type of viewer. Currently the only way to browse Instagram is by what has been recently popular.
Queuing theory books on line
I have never seen a bug zapper inside a house. That sounds like a Jeff Foxworthy joke.
Two people, six months - most of it discussion, ~40K C# code, in my previous job we had a framework, compiler, debugger, mini IDE, app server with a kind of tiny in-memory database (supported object-graph-style navigation) that let us write interactive UIs using databinding with minimal repeated or hacky code, and a whole bunch of other hard-to attain features (for example, application code version rollovers with old sessions running in parallel with new versions until they're finished with, without needing to restart any process or machine anywhere). I've seen it done - more than that, I've been part of doing it - and I have yet, in the intervening 4 years, to see anything as well suited to its purpose.

It's cheap and easy to be cynical about these kinds of things. But it's very important to realise that there is so much that is possible today, but will be dismissed by cynics, that tomorrow we'll say "sure, that was easy, anybody could have done it" - but very few did.
The problem with corporal punishment (in an Indian perspective) is, the highly underpaid teachers don't quite know when to stop beating the child. Almost every month, I hear about kids being beaten to death in schools in rural / semi-urban India, and the helpless parents can only wail as the justice system is so screwed up.