skysight-inc/HackerNews huggingface dataset:
Some implementations of heap memory allocators manage free memory chunks as doubly-linked lists. There are multiple lists for chunks of equal size, i.e. 4, 8, 16, 32 ... 2^n.

This XOR linked list hack makes sense for smallest chunk size. On 32-bit system, two pointers will take 8 bytes, so minimum size of allocated memory block is 8 bytes without this hack and 4 bytes with this hack. On 64-bit system, this hack makes possible allocation of 8-byte block from heap without rounding up to 16 bytes.

For other practical purposes, I think that trading speed and code maintainability for memory size isn't good idea.
Education does not matter! talent is important to run a company.
Why Real-time Collaboration?
If as an expression is very nice indeed, especially in Lisp (where it comes from).

If you use CoffeeScript however, you also get expression if. Very handy.
>"How many successful entrepreneurs have you heard of without ideas, just totally empty heads and whole bunch of hustle?"

Other than the empty heads part, it's pretty common. That's why we will probably see millions of smartphone apps within a few years.

IMO, YC focuses on a particular type of entrepreneur. One of their features is that they don't place a high value on bootstrapping and place more value on working within a collaborative ecosystem. Those traits indicate flexibility.

Most of the ideas that YC companies pursue are not visionary in a way that correlates to the type of passion underlying an Apple or Oracle. They're usually more practical, limited and don't require a Jobs or Ellison.
Minor correction: You call nextval in PostgreSQL to increment a sequence and get the number. curval is for getting the last value returned by a nextval call within the current transaction. Since PostgreSQL implemented RETURNING for INSERTs and UPDATEs curval has become more of a utility function for use with psql and similar clients.
Malicious apps hosted in Google store turn Android phones into zombies
Completely agree. The only indication of Shift being pressed is the blue glow on the button itself, which is usually covered by your hand while typing. I often have to remove my hands again to see if I pressed Shift or missed it.
Chas's "Clojure Programming" book is great, and there is code throughout the book.

The book is divided into several parts: Part III "Tools, Platforms, and Projects" and part IV "Practicums" give you an overview on project patterns and structure, and this alone was worth it for me.
This doesn't really seem like a bug to me. It's like permalinks of the form /a/b/434-some-text-representation-of-object-434 (or like stack overflow does: /a/b/434/some-text )

It's purely cosmetic and meant for search engines (as noted in the article) and easy readability.
Learning LESS: Variables
We continue on our journey of Learning LESS today as we dive in to the wonderful world of Variables. If you haven’t read Learning LESS: An Introduction, be sure to read that first to cover some intro to this topic.
The person you're quoting / runs that site you're linking to is working for Oracle / gets paid as a consultant from Oracle.
Steal my startup idea: Rent-a-mum
The Only 300 Words You Should Read Today
I think you've clicked on the wrong site. Digg/Myspace is --------------> that way.
Analyzing your Gmail with Matplotlib
This post show how to analyze a gmail account using python.
Apple finally acknowledges OpenStreetMap data use in iPhoto for iOS
Sounds much more like Inktomi killed Inktomi.
Autumn | Amazing Autumn HD Desktop Wallpapers Pictures Gallery
It’s not necessarily about dependencies but about having one self-contained file (= deb/rpm) that can be deployed easily.

The idea about doing this kindled when we started deploying Django apps – you can see in the second example that it’s rather intricate. The dependencies are just a matter of `pip install -r requirements.txt`.
I don't want to spoil the party, but I feel like we've discussed this before:

http://news.ycombinator.com/item?id=1063287
http://news.ycombinator.com/item?id=2540460
http://news.ycombinator.com/item?id=1498136
http://news.ycombinator.com/item?id=3018462
http://news.ycombinator.com/item?id=2504971
http://news.ycombinator.com/item?id=1448788
http://news.ycombinator.com/item?id=1300335
http://news.ycombinator.com/item?id=2674154

and so on...
Micromax X660 Price in India, Micromax X660 Dual SIM Touch Mobile 
Micromax has recently launched new Dual SIM touchscreen mobile phone Micromax X660 in India. It sports a 3.5 inches HVGA touch display with screen resolution of 320 x 480 pixels. Micromax X660 has 3.2MP camera with smile detection and video recording feature. This is a low range of mobile comes with 54.9 MB of internal memory and up to 8GB external memory support via microSD card. The Micromax X660 supports Push Email, Instant Messaging, Java, Document Viewer, Opera Mini Browser, Bluetooth, GPRS/WAP and Wi-Fi Connectivity. Micromax X660 is a budget phone equipped with useful features like audio player, video player, FM radio, sound recording, MP3 ringtones and It is powered by Li-ion 1200 mAH battery that provides standby time up to 200 hours and talk time up to 4 hours. The new Dual SIM Touchscreen Mobile Micromax X660 price is around Rs. 3,800 in India
Vert.x – JVM Polyglot Alternative to Node.js
Well, its in the public domain now. So if it isn't patent pending, its not patentable.
I've always observed that those "unskilled" (entry-level) developers that are humble and know that they don't know much learn much better than the cocky, "I've been programming for two years in VB and I'm a programming expert!" kind.
Seeing Microsoft in that list reminded me how they bought a bit more than 1% of Facebook shares for $240 mio a few years ago. I guess that was a pretty good investment after-all...

http://www.msnbc.msn.com/id/21458486/ns/business-us_business...
I'm having problems with the checkout. Is it working for you?
I've always wondered what would happen if you read a big book (like Lord of the Rings) that was translated progressively into another language. So it starts in, say, English and finishes in Spanish. At the start the sentence structure could even be in Spanish form (word ordering-wise) and words are progressively switched to Spanish as the book goes on.

Probably wouldn't work at all but it'd be an interesting experiment.
This is not relevant, has nothing to do with the hashbang, and is not really a bug. It's an SEO feature. Most websites do this, including big names like Amazon for instance: http://www.amazon.com/The-Ultimate-Hitchhikers-Guide-Galaxy/... is the same as http://www.amazon.com/dp/0345453743 (and also the same as http://www.amazon.com/The-Holy-Bible/dp/0345453743).
I miss very often the top box too.
I have learned the relevancy of this top box, but I still miss it very often.
My eyes usually go right to the link with "Official site" tag.
I've heard the effect is called banner blindness.

However I use adblock on every browser. Therefore I have less training than others to ignore ads. When I see one, it just hit me stronger (it's a side effect of adblock).
I suspect Twitter is fully aware of this and decided it didn't matter when designing it. It's a fairly common pattern to make URLs more readable. I do it intentionally on a couple of my sites as well.
Bizarrely, two fingered tap only seems to work on editable text, not read only. So you cannot use it to select text on a Web page or a received e-mail.
Blackbeard's Treasure Campground - Surf City, North Carolina
I don't like mutating variables in an expression, and I don't get why username += '' is executed twice.

I like the declarative feel of the expression, but since it actually changes state, I find it dangerous, since you generally expect expressions to be side-effect free.

Edit: I guess the second username += '' should have been password += ''
For the record, Twitter are getting rid of the hashbang
Overpriced conferences are a great opportunity for local user groups. I'm a member of one and we often invite one of the local conference speakers to do a free, less formal talk after the first one.

Honestly, I believe that a conference ticket should only cover a venue and speakers travel cost. Even with this days economy it's not hard to find a sponsor and with ticket price around 100-200 euro it's certainly possible to provide great experience AND free beer.
Facebook's ownership structure
I've bought an onyx m92 ( http://www.onyx-boox.com/onyx-boox-m92 ) which has got me fairly close to this capability for reading PDFs (it's an ipad-sized device). It comes with a stylus which allows you to tap a specific point in the progress bar to change pages. Much easier than scanning back and forth using a kindle.

It's still not quite up to the standard of flipping back and forth in a book, but it's tolerable. I've also changed my reading flow to make a lot more bookmarks of interesting parts of the book, and use search more. Given the other advantages (portability, price of books) it's a solution that's working out really well for me, and allows me to read a lot more technical books than I would if I had to lug them about in print form.
Like Hilary Clinton getting shot at. I'm still shocked that she was let off after "well... I have those memories". That would have been the end of my political career.
True, my point was that is possible that the accountancy course was an unusual one, in that it had a large computing component.
The hashbang is an entirely separate issue.
Those generally use FastCGI, which again, is not vulnerable.
I believe that FB is way overpriced, but as Keynes said:

“The market can stay irrational longer than you can stay solvent.”

...so shorting it is still risky.
6 Tips to Max Your Business Problem Solving Skills
Should the CIO Know How to Code?
There is a video of Tim Ferris, where he explained that he used only a few sentences, translated to another language to get grasp of it and guide his learning. I imagine if you would know the book by heart, it would not be that useless. I suppose if the book is interactive if you can "peek" to see which words are which then it might just work!
Writing a jQuery plugin in CoffeeScript
JFDI.asia Singapore Startup Demo Day Pitches
More specifically, if people find what they're looking for in the first result, they ignore the rest.
Isn't that what we're all waiting for, the mythical "smart enough" compiler. Imagine constructing programs from abstract and composable high-level concepts, and the compiler does all the dirty hacks behind the screen. Producing fully parallelized, secure, efficient machine code on-the-fly. Could it? One can dream :)
Ranbir and Shahid Kapoor Reluctant to Work with Sonakshi Sinha
This article unintentionally highlights one of the difficulties in learning Chinese characters, that understanding them and reading them (in Chinese) are two completely different things. While understanding the meaning (Chinese characters are fun to learn!) isn't too difficult, getting to how it would truly be read is more tricky (the Pinyin for Mandarin being hàn zì hǎo xué).
Lines of code aren't at a premium. Why not favor readability over cleverness when possible?

I pity the person who'll be maintain this.
Samsung announces Galaxy S III
Startup scene in Eastern Europe is steaming hot Weekly update.
I'm weighing in here on the comments about "Solving a problem that doesn't exist" - the database is quite loaded, and we have Redis in the stack anyway. The solution to this problem is any backend which creates unique numbers atomically; I happened to choose Redis because I'm interested in it technologically and I like the API.

It's worth mentioning that Rails doesn't encourage access to the underlying database features - and that stepping outside of the Rails/ActiveRecord results in features which are difficult to test and more difficult to maintain in the face of an ever changing API.

I don't care where the next atomic ID comes from, as long as it comes from a datastore that is fast, and that I can trust.
It would. Not necessarily with a book like that because fantasy tends to have way, way more difficult worlds than ordinary writings. I am not a native english speaker, but I am working my way through A song of Ice and Fire as an audio book.

I can keep up with ordinary podcasts just fine, I can keep up with television shows for the most part (extremly heavy accents can be a problem) but I really, really have to listen to the words carefully.

I do believe you would be better of with a book that wasn't written as well. Atlas Shrugged would be pretty awesome for this precisely because it has so many repetitions.
Are Mobile Devices repeating PC History?
RIM stock price falls to eight-year low following BlackBerry 10 reveal
Almost reminds me of the Lingua Latina method I used to learn Latin.

You basically read a text that is totally in Latin, with occasional images to guide you.

It starts off very simply, and gradually introduces new vocabulary and grammar. You intuitively learn as you go along.

The books are out of print, but you can still get them on Amazon.
http://www.amazon.com/Lingua-Latina-Pars-Familia-Romana/dp/1...
The real benefit with Ruby is the creation of DSLs that make working with these UI elements much easier.

It's only a matter of time before someone creates a DSL that looks something like:

window = screen.main.new_window(
frame: true,
key: true,
visible: true
)

Or something like that. I'm not an iOS developer, so I'm not really sure what parts of the insanely-verbose method calls are actually necessary.

(As an aside, I have Vim rigged up to do autocompletion with Ruby. I'm sure it would work with these Cocoa libraries as well)
Manning Publications offers free ebooks when you buy physical copies.
(http://manning.com/)
> He didn't look at the Internet and say, "gee, I want to be an entrepreneur, what company can I start here?"

By your own quoting, he did exactly that. Maybe rephrased slightly, so as to frame "I wanna be an entrepreneur" as "I saw an opportunity", et c.

The point is, Bezos wasn't suddenly awestruck with the epiphany that the Internet was going to change selling books, which incidentally was one of his great passions.
> Sorry, but slugs serve a real purpose, so your solution is only a solution in the sense that walking is a solution for a broken down car.

This doesn't replace slugs, at all - the slugs are still generated, this replaces the SQL unique sequencer. The SQL sequencer which isn't universally supported, and has a different API on every platform.. many modern applications have Redis or a similar atomic structure store which could provide an interim solution, short of building a purpose built ticket provisioning system such as that employed by Flickr.
How does it combine the OO of smalltalk and the functional programming of lisp? What was smalltalk lacking that ruby added?
Juicy couture online outlet
There's been some invisible barriers for compilers
to start reorganising data and not just code.
It would seem to me that side has even more potential
than semantics preserving code optimization that
takes data layout as a given.
Buy Lingerie online 
Get online lingerie discount price at craffts.com.
Depends on what you're into, but from the database angle:

Learning SQL is a really excellent intro, and probably covers the majority of what your average developer is going to ever need to know about SQL ( http://shop.oreilly.com/product/9780596520847.do )

SQL and Relational Theory gives you more background on relational theory - basically gives a more academic background for existing practitioners of SQL. Date is pretty dry author with a few hangups, but it's largely good solid stuff ( http://shop.oreilly.com/product/0636920022879.do )

Oracle Essentials is a good solid introduction to Oracle, and gives a useful bit of background on how database management systems work ( http://shop.oreilly.com/product/9780596514549.do )

For other subjects:

Code Complete needs little introduction ( http://shop.oreilly.com/product/9780735619678.do )

I've only just started reading Version Control with Git, but it seems pretty good so far, and is well-reviewed ( http://shop.oreilly.com/product/9780596520137.do )
That was an interesting idea. To bad it I nearly couldn't finish it because of all the bigotry.
I believe these numbers are wrong. $60-75 is the current target according to the revised S-1

http://finance.fortune.cnn.com/2012/05/03/facebook-ipo-28-35...
And overkill for almost all intermediate sized installations, but a great use of their technology to meet their requirements, thanks for the link.

Of course Twitter have snowflake: https://github.com/twitter/snowflake and many other tools such as UUID[4r] - see an old discussion on HN: http://news.ycombinator.com/item?id=1396667

Of course I wanted sequential, small IDs, within a small margin of acceptable loss (if a save fails that ID is never used), that were't taking up a massive amount of space.
These overpriced tickets mostly come from the fact that companies/agencies send their employees there, book it as an expense and dont think about it.
If every attendee had to pay this with his own private cash, i am sure the average ticket price would be much lower.
Looks reasonably clean, though you can't get an aggregated list of invalid fields doing it this way. Instead, you'll have to discover your errors one by one, as you fix them.
I'd love to attend more conferences but as the author says it's too expensive to justify the cost in a majority of cases.

I did always wonder why they are so expensive. Are they the big cash cows we assume them to be? Or are they far more expensive to run than we think them to be?
Chiclet Keyboard on Upcoming Thinkpad X230?
We had a nice one in France. A small criminal (convicted for fraud, theft, setting fire...) was hired as the director of a small airport. He pretended to be a aviation engineer, a former army pilot and to have taken part in many wars. Everyone was completely satisfied with his work during 3 months, when he was finally caught.
When a billionaire trader loses his edge
I was incredibly excited when I found out Euruko is only £65; every other Ruby conference is extortionate. I don't care about fancy venues or freebies; I want to meet other people and learn something new.

Most of these conferences are pricing out the people who actually want to learn, and instead mostly just filling their seats with people who know it already.
Computer Repair New york
Do you decide to become an entrepreneur and then set about finding a business idea to exploit, or do you find a business idea to exploit and then set about becoming an entrepreneur?

This question assumes only one of these is a viable path to a successful business, when it's clear that the path into entrepreneurship, like the path into a good idea itself, is anything but linear. It's easy to insist on a priori grounds that someone is doing it wrong, but the only proof that matters is whether a viable business emerges from the end of the process.
Show HN: temporal extensions for PostgreSQL, with Active Record in mind
What Mobile Developers can learn from Game Studios
Yes, was going to mention it too. It's incredible and works so well... It's basically a khan academy for Latin and a shame not more people know about it. Definitely the way to go if you want to learn Latin the way a roman child learned it :-)
This company is doing fabulous job in this profession.
Bingo. And the sooner we rise up and get rid of this club, the better.
The ternary operator is one of my favorites because it acts like 'if' in a functional language (eg. it always returns a value)
I had that idea several years ago. A few years ago I hacked about and produced a story that progressively converted from English to Spanish, starting off with single words, then small phrases, then longer phrases, then full sentences. It used a mish-mash of Google translate and the same work but properly translated.

It worked remarkably well, but I lost it all in a disk crash and never did it again. I wonder how much of it stuck because I did the meta-work, and how well the actual resulting "book" would've worked.

Related: http://news.ycombinator.com/item?id=3921773
What the real online storage should be
Hell, I'm a natural English speaker (and quite literate), and I still have to pay attention when reading Tolkien.
So it's more like Twisted (a library) than Node (a runtime + a library).
Agreed. It would already make a lot of difference if the compiler could make decisions between (for example) structure of arrays or array of structures representations. The programmer could always organize the data in a human-sensible way, and the compiler would transparently convert it to an efficient internal representation, with only the fields that are necessary for certain computations.

Of course there are some cases in which the binary layout matters (for example, serialization, or buffer handling in network code), but those can be regarded as glorified (un)parsers instead of fixed data layout. Would also make the langsec people happy.
Have you seen how much hotels, conference centres charge for venue, beverages etc :)
Of course it is a bug. The tweet id doesn't belong to the username in the url. It should return a Page not found error.
Check out this Chrome extension that does exactly this, except for when you're surfing sites: https://chrome.google.com/webstore/detail/bedbecnakfcpmkpddj...

You can specify the level of immersion, and it uses Google Translate to swap out a certain percentage of words with the target language you're trying to learn. You can then hover over them to see the translation.
Personally, I think "deterrence" has an incredibly awful success rate. I also think that, if prisons should even exist, they should only be for physically dangerous people. Never for "money" crimes. Being locked away from society for years, your life destroyed and likely abused or even raped seems beyond "cruel and unusual" to me.

Personally I think the whole concept of prison is primitive and should be done away with. If someone is violent then they have something wrong in their head and should be treated. I know that currently asylums can be worse places than even prisons, but once we move away from this draconian "people must suffer so I can feel better about wrong in the world" strategy we can move much more focus on getting treatment and detection right.
At a certain point I think you just want real pattern matching: https://gist.github.com/2594296
Narcissists with skill sometimes seem to be good founders. Look at Howard Hughes, Steve Jobs, Julian Assange...
Joss Whedon Interview on the Avengers
You might like to read my book, The Geek Atlas, which contains many places related to the history of computing.

http://shop.oreilly.com/product/9780596523213.do
Why do two lookups when you can do one? Keep in mind this is an edge case.
The behaviour you described is specific to the iPhone. On the iPad, if you press on one key and move to another, it releases the original key and ignores the key press.
Gs and MoreRubySource
How To Develop Effective Singing Skills?
If you have dreams of becoming a famous singer, it is very important to learn how to sing well and you also need to select the best mentor that teaches you the basic tips of singing. In addition, you can also use online learning program as it offers you to develop singing skills at home without wasting any money.
Most EuRuKo venues since it started moving were actually fancy :). I still remember the days when they were hard pressed to find locations in germany that gave a cheap room with a projector to 20 rubyists :/.

I think the model of moving the conference through europe also ensures that there is a healthy competition between the user groups.

But there are other great conferences at a similar price point in the ruby world, for example Ruby Lugdunum: http://rulu.eu/ .
Yes, but I've also seen how cheaply a number of other conferences/events are able to run in the same or comparable venues.
No lookup required, you load the tweet with its id then compare the usernames.