skysight-inc/HackerNews huggingface dataset:
You didn't really understand what I meant, which I guess is my fault.

When I say parent I don't mean in the same table, I mean an unrelated parent (1 to many join).

And I use sort all the time without limit, I think it's important for data to always be displayed in a consistent order.

> And in cases where you can't fetch the data efficiently in a single query, you're probably doing it wrong

Example:

I have a list of buildings, then I have a list of room, then a list of contents.

I want to create a giant page on the website displaying this data. One table for each building, one row for each room, one cell for each content.

You can not get all this data efficiently in a single query.

You can get the data by joining all three tables, but you will be repeating the data about the building over and over for each content.
Internet Investors: Beware Of The Proxy Valuation
Ah, that's very useful! Thanks for the heads up.
Hard to believe after initial hack they didn't launch a group wide memo from the CEO to encrypt all personal data. Could have brought some DLP vendor in to find it and roll out rapid database level encryption without changing application code. SQL injection vulnerabilities in this day and age is unforgivable but unfortunatly not uncommon. Sony will not be the only global company with hundreds of such vulnerabilities
Both versions of the code do exactly the same:
1. Take description from memory
2. Allocate string and put the stripped version there
3. Output the string (here you might save if you don't use output buffering since no copying to the buffer happens but just output)
4. Release the memory allocated in 2.
Unfortunately, these tips were written by somebody who does not understand how PHP works. See detailed critique of the previous version here:
https://php100.wordpress.com/2009/06/26/php-performance-goog...
The article may have changed since then but some of the points are still valid.
It also doesn't mention current stable version of PHP (5.3) and still has no mention of bytecode caching. At least it mentions profiling now...
I think you're creating a false dichotomy. I used to believe that I was the "artist" type, but I was mainly just a procrastinator who didn't have good work habits. I became the "steady progress" type as I took on bigger, harder projects. And honestly, passion is a lot harder to come by when you're working on an intractable bug six years into a long-term project. If you rely on the muses to guide you, you rarely get things done, because that last 1% is rarely ever fun.

Also, you might be surprised by how many artists have a strict routine, and dedicate themselves to a regular pattern of practice. Twyla Tharp wrote an entire book on the subject:

http://www.amazon.com/Creative-Habit-Learn-Use-Life/dp/07432...
Exactly. Using hash maps and vectors are really elementary choices. Can you consider understanding enough in "systems programming" (see other comments for definition) without knowing that hash_map is implemented using hash tables and map using a tree? And that therefore adding elements to the map would incur rebalancing costs which hash_map wouldn't, as soon as you can estimate the number of elements to be processed. I consider it more a "meta" than a "language" decision.
Ask HN: Is Google down?
As of now 6/3, 1:30am pst, I can't access www.google.com, and all my App Engine apps. Can anyone else confirm?
Triunfo del Amor Capitulo 160
At Triunfo del Amor Capitulo 160, when the wedding procession entered the most important session of the ceremony, what had been said Alonso has surprised everyone, especially for Maria Desamparada. At Triunfo del Amor Capitulo 160 we will see a scene Alonso who ask pastor "Do you love Maria? Yes, Alonso replied firmly. But when the priest went on the question, whether you accept Maria Desamparada as a wife in love and grief? ... No , said Alonso.
Hackers advance addition Sony arrangement and column data (another attack) 
Hackers bankrupt into Sony Corp's computer networks and accessed the advice of added than 1 actor barter to appearance the vulnerability of the cyberbanking giant's systems, the most recent of several aegis breaches abrasive aplomb in the company
Unless you have 3 levels of tables to work through.

Yes, you can get all the data from the third level in one query - but then you have to find the keys you want from it in your client, and without an index. (Alternately you may be building a hash-index on the fly each time you retrieve the data, which isn't optimal either. For example if you store the key in a PHP array.)

Obviously you need to be smart about what you are doing. But simply always getting the data in bulk is not automatically correct.
.co.uk is up at 09:31 GMT
and .com pings fine.
I assume that the author does not play games.
I don't see a touchpad, or something touchable input devices can be better than a mouse, say, when you are playing SC or WarIII. how can you select single unit then move it quickly use finger or stick?
Yes I suspect it is for ease of understanding. Guessing they will see how people react and possibly introduce other license types.
Not down for me. You can also check here: http://www.downforeveryoneorjustme.com/google.com
I find this shallow and pedantic. monocle
Wedding Dresses,Cheap Wedding Dresses
Delhi Restaurant’s Latest Buzz is Spicy Tangy Romantic Outing
That's a different word than the OP's intended meaning. allot != a lot
A Matlab implementation and tutorial to give you an idea can be found here:
http://labrosa.ee.columbia.edu/~dpwe/resources/matlab/finger...
.co.za is up
Keep in mind that the current Go compilers are not mature yet, and don't do any significant optimizations. The GC is pretty primitive too.
$foo = $_POST['barf'] does not copy data.
http://www.downforeveryoneorjustme.com/www.google.com
When the multiverse and many-worlds collide
I believe the management tools for Xen (or lack thereof) were the reason for using KVM instead. None of my machines (I have 7 or 8) have ever used Xen.
Http://www.transformersmovie.com
> Untuned C++ will probably be slower then even tuned python

[citation needed]
I don't want to be stuck with a touchscreen. Screens should be ~30cm in front of you, at your eye height. I don't want to have to reach up there constantly.
توقعات الأبراج 2012
توقعات الأبراج 2012
توقعات الأبراج 2012
توقعات الأبراج 2012
توقعات الأبراج 2012
توقعات الأبراج 2012
http://www.almstba.com/vb/showthread.php?t=21671
http://www.almstba.com/vb/showthread.php?t=21671
The best way to make a web site "touch enabled" is to stick to simple, device-agnostic markup. The inventors of the web have advocated this since day one. The iPad and iPhone owe their very existence to the device-independent web and Apple has clearly put a lot of work into tuning them for it. If it wasn't for this quality of the web, we would all be using Windows PCs running the very native apps that you call "bullshit".

OnSwipe didn't take much input from the developers and designers of the Wordpress blogs that they surprise deployed to. And I don't know what input they or I could give without predefining what you are trying to accomplish.
It probably won't take long until someone does the same exercise with other languages. Maybe they should add it to the shootout.

Can't wait to see Modula-3's numbers…
Newman is saying it’d be nice to have it both ways. I’m saying you can’t have it both ways. He’s definitely right — it would be nice. But I’m pretty sure I’m right, too — that it can’t be done.

Strange how this whole argument seems like a step-by-step repetition of "GUI vs. command-line", a quarter of a century ago.

On one side, we have the beautiful new Apple system with no backwards compatibility. On the other side, there's the "industry standard" provider who has announced plans to extend their existing system with a cool new interaction layer while retaining full compatibility. (In 1986, this role was played by IBM with OS/2, but the GUI software was Microsoft's.)

Gruber even mentions DOS drive letters as an ugly wart of compatibility. This same argument could have been made in support of the Mac back then...

These fundamentally aesthetic points seem pretty weak in face of the appeal of backwards compatibility. If Windows 8 can make the "convertible tablet" finally work, it will sell.
the real paper at http://arxiv.org/abs/1105.3796
India Tours Guide,India Tour,Guided Tour India
India Tours Guide offer Tour packages to India, India Tours, Tourist Destinations in India,Holidays Trip to India and Best vacation packages to India.
Is it deceptive? I remember iterating through minor versions of Flash just to get Adobe Connect (a product of the very same company, just to emphase) to run without crashing on OS X. Yes, Flash on OS X is horrible mess, even more on Linux.
I vastly improved my browsing experience on OS X by actually following Grubers advice and only have one Browser with Flash enabled (Chrome). And even there, it is the single point of crashes(tm).

So this notion is not very surprising.
Show HN: Comments on Science
Comments on Science is a free and public user-generated database of scientific comments. Commenting on papers in academic journals is a complicated process, with many steps between an idea for a comment and the appearance of that comment in a (mostly closed-access) publication.
The goal of Comments on Science is to reduce this friction and enable accessible and free scientific communication.

About the site:
I decided to build something useful in the month of May and this is what I made. It has a few features like following (users, papers, or comments), tagging, voting, etc. It was a nice exercise in everything from idea generation to deploying on a web server.

So, what do you think? Do you have any suggestions on what to improve or which features to add or maybe even remove? I welcome all ideas and please don't be hesitant to criticize, input is input is input.

The site is accessible at: http://cos.juretriglav.si
Hmmm, 90% seems to be glueing Win32 APIs together for a GUI. That's not very exciting in assembly; neither is it significantly more efficient than doing it from C. It's also very unreadable, and I fear for maintainability.

And does this webserver serve many simultaneous connections? I doubt it. You'd learn more about proper webserver programming techniques by studying the source code to nginx [1] or mongrel2 [2].

As an example, it's more useful in showing how to build GUIs in assembly, and that's not very productive. You do get small executables, tho.

[1] http://nginx.org/en/

[2] http://mongrel2.org/home
This MG Sieger story is 32 minutes old, and it was posted here 25 minutes ago.

Same thing with every John Gruber post.

Laptops have already been sold without mice for over a decade - they have trackpads (or the buttonless clickpads).

But of course many are going to still use the mouse for things such as playing games on a Windows PC, touch screen or not.

And the mouse is more efficient if you are using it all day (like for work), as you don't have to reach up to the screen all the time (which is why the Minority Report stuff doesn't work well in real life). This is also why for example the Asus Slate comes with a bluetooth keyboard, because using an onscreen keyboard all day long for example would be horrible and slow.

A more interesting question is whether the stylus will come back or not. The HTC Flyer with stylus had over 3 million pre-orders, and the Tablet PCs like the HP tm2t or Lenovo tablets are starting to come down in price.
Looking for a UX designer (contract) for an ASP MVC web application. (having ASP MVC skills is a plus) Preferably based in London. Contact info in profile.
It's also an example of a Win32 program in assembler, together with a WndProc for a window. Does Win32 require a window if you want to write a web server?
Presumably, franchises or private equity. Building a new restaurant and IT concept MIGHT be a VC investment, but scaling out to a bunch of physical retail locations is either PE or IPO or a big debt (bond) issue (if corp owned, like Starbucks), or a bunch of franchises (e.g. McDonalds).
Can you tell us where in the world you are?
Linode is Xen VPS (it even says so in their google search description!)
Extending the joel test..
.com.sg is up
Newer processors don't just increase the performance of all programs equally. They have things like improved branch prediction, cache prefetching, better pipelining, and different cache sizes which can make a lot of performance optimizations that you get from C / C++ less relevant.
Hm, no rack adapter yet?

duck
Hi Steph, I just dropped you an email with good news :)
I keep that in mind. As well as it getting slower as it starts doing useful work and optimizations, thus losing its "fast compilation" edge (which is just about its only advantage right now)
By 'untuned' I'm also including using the wrong algorithm. For example, the using the usual recursive definition for the Fibonacci sequence in C++ as opposed to the loop or n^2 version of recursive Fibonacci in python. The python version will be faster in this case. It is probably true however that any decent programmer will churn out C++ that is faster than python for cpu intensive tasks most of the time.
Add embedded chat rooms to discussion pages: http://wompt.com
Or simply a "chat" link next to the "discuss" link in each entry that points to something like http://wompt.com/chat/hackernews/363
Mesothelioma Causes
Microsoft refuses to comment as .NET developers fret about Windows 8
>...that's how strongly I feel about manufacturers touching software that they shouldn't touch.

But not enough to actually buy a Xoom yet. So not all that strongly then.

Written on my iPad.
Karunanidhi defends his govt., schemes 
Dinamalar updated the top news every hour which includes top news stories, top headlines news, world top news, top online news, updated top business news,latest news, top sports news and covering virtual tour hindu temples, tamilnadu temples 360 degrees, 360 degree hindu temples
Open-Source Software Feels Insecure
They were never a Xen shop, they trialled Xen with a few customers but never rolled it out. This blog post has more detailed info:

http://blog.bytemark.co.uk/2011/02/28/why-we-skipped-xen
Could you give an example of where this would be the case? I write both Python and C++ code all day and I can't think of a single situation where I'd expect better performance from Python than a similar C++ implementation.
Gold Prices | Gold Rate
Take the most affordable prices for precious metals in the business, adapt it to the specific needs of web investors, add real-time staff, real-time knowledge, real-time pricing, and secure ordering. If you are considering precious metals for your long-term financial security,For more details please visit our website.
Beautiful. Our galaxy is pretty. I wish it could be seen a little more like this with the naked eye.
I'm sitting in front of a laptop with a bit ol' touchpad that does all the cool things the author is all excited about.

And I clicked the link to this article with my mouse.

QED, the mouse is doing just fine. It's simply a better input device for most purposes.
As for bandwidth savings, take a look at http://www.google.com -- it has unclosed elements which produce invalid markup.
Copenhagen Suborbitals might be launching HEAT1X/TychoBrahe on 3rd of June
The mouse might become an exclusive gaming device – like today’s gamepads.

It actually is for me. I rarely play games but from time to time I do and on those rare occasions I dust of my mouse. (Sometimes I’m too lazy to get the mouse and play a few minutes of Minecraft with the trackpad.)

I can’t imagine using that Windows UI with a mouse. It seems clumsy. You need a touchscreen or a large trackpad with gestures. I was just fooling around with Lion which is a lot less radical than Windows 8 but it was still obvious that you need a trackpad with gestures. (I have a 2007 MacBook Pro which doesn’t support any gestures except for two-finger scrolling. It’s working ok but it’s obvious that gestures would make the experience so much nicer.)

Calling the mouse “dead” might be hyperbole but if the mouse indeed becomes this decade’s gamepad or trackball I would argue that the hyperbole is justified.
I agree. However this doesn't exclude operation with a touch-pad, like for example Apple's stand-alone Bluetooth touch-pad.
>>And so what happens to the version of Excel that’s running in the background when you unplug the mouse and keyboard and go back reading an e-book on the device as a tablet? Does it somehow stop consuming resources? The difference between iOS and Mac OS X is far more than touchscreen vs. mouse-and-keyboard. It’s an entirely different set of rules and expectations for what an app can do, when it can expect to be running, and how much resources it can consume.

The only useful part in the whole article.
I can see this being really handy for development (and I'll probably use it), but it seems like for now god is a better fit for production.
I'd be surprised if the majority of their web properties were built in-house. A large chunk of the Japanese software industry is composed of companies that fight over contracts from the MNCs to do those kinds of projects (websites, software for embedded systems, customized software for internal use).
two things:

1. I would love it if MSFT, as the new owner, gave up on the cat-and-mouse of security through obscurity and obfuscation and settled on a published and peer-reviewed protocol. I am sick of the memory footprint and cpu spikes in having to run skype clients because 70% of its resources are dedicated to hiding what is really going on. I would love a nice, clean, light version

2. we can well assume that if this is happening in the public domain then it was probably done a few years ago behind closed doors at the NSA et al
Looks like Iran is doing business with several Nigerian dignitaries, helping them shift millions of US Dollars out of the country through Western Union.

What a scandal.
How to make your brand cool (2010)
Two words: gorilla arm. Big fat finger touch systems aren't good for everything.

A Kinect sort of interface could do it, though...
Github Has Surpassed Sourceforge and Google Code in Popularity
Am I alone in my hatred of touch-pads? I'm 10x more productive on a desktop with a mouse compared to a touch-pad on a laptop.
It's the fourth story on The Guardian's website, and the fifth on the BBC right now.
Have not been using a mouse for over 2 years. The trackpad on my MacBook Pro replaces it. But I can see mouse is needed for WW type games or intensive graphics work.
Understanding “randomness”
Ask HN: What books are you reading
What non-programming non-technical books are you folks reading? I'm looking for something interesting to read and I would appreciate your suggestions.

To make it fair I'll start: I just finished reading the Omon Ra that pavlov linked to in http://news.ycombinator.com/item?id=2590980 and Dubliners by James Joyce and I'm currently laughing my way through Mark Twain's Connecticut Yankee in the court of King Arthur. I would very much recommend it - its language is surprisingly modern (people are twittering and lolling and you can hear an occasional jabber) an even the satire is modern (poking fun at the patent office!). Besides the Yankee is an engineer so you can sympathize with him.
Hackers say they attacked Sony network again
sighhhhhhh.
Hey I am a grad student in theoretical physics and love both your concept and realization. I would love a little bit more elaborated tag system. Please go on!
Groupon’s $540 Million Loss May Leave Investors Leery of IPO
What was the code quality of the initial version of Google?
Buy Marble Idols Online in India from Infibeam.com
If you are gifting it to someone who owns a business, gift them this beautiful idols like Ganesha, lakshmi, Maa Durga, Lord Krishna & Tirupati Balaji to bring prosperity and the will surely display it prominently. Infibeam.com offers best God Idols at lowest price with free shipping in India.
No more Blue Screen of Death, here's what other colours they COULD use
Watch what they’re doing in those videos. How are you going to do some of those gestures with a mouse?

How are you going to do those gestures if you're sitting at your desk with two or three >20" monitors?
Martial Empires unleashes The Catastrophe of Babylon
Two finger scroll works, but still sucks.
Trackpad (mentioned in the article).
Thanks Knowledgesale!

I realize the tagging system needs a bit of work, I think especially a follow functionality for tags would be nice. So for example you could follow "antimatter" and have the new papers tagged with "antimatter" automatically come to your activity inbox.
It currently works like that for users, papers and comments. So if you follow a user, if that user posts a new paper or comment, you will get an update in the activity inbox in your profile.

Is that similar to what you had in mind?
I find that Windows users are not really known for their progressiveness. Lets divide them into three groups:

Business users, who have no choice anyway since IT installs their machines. As businesses are actually the main force behind Microsofts keen upholding of legacy code, there is little reason for them to get excited about a new interface. So here we have a very low adoption rate.

Non-Computer users: The kind of people who almost accidentally bought their PC at Walmart, still run Windows XP (maybe even 98SE), and mostly use the system to print ugly birthday flyers or play Solitaire. They would probably enjoy Win8, but they won’t ever notice it exists until they go and buy a new PC at Walmart. Here, we have another low adoption rate.

The enthusiast Computer user: These are people that grew up with Windows, know (and sometimes love) all of it’s kinks and quirks, and use it for a variety of tasks. They’re its avid defenders in Engadget comment threads and tend to be a tad regressive, since Windows has always worked for them quite well and as they fear loosing the high investment in Windows knowledge that they accumulated over the years. The less regressive, the higher the chance that this particular person has already switched to Mac or Linux. The more regressive, the higher the chance that he/she would actually reject or even despise radical Windows interface changes as it deviates too much from her/his well known Windows. The adoption rate should be pretty solid, but this market segment is also heavily courted by the alternatives.

For Microsoft, and for two out of these three groups, backwards compatibility is of uttermost importance. And that's why most energetic Windows users will love the Windows 8 approach of having everything, and this is also why most of them won't understand the complaints of Gruber et al: Because they like the looks of modern ui like iPad (or Windows 8 for that matter), but they love their 25 years of cruft.
Another 3 methods to change SQL password
Forgot your SQL Server Password? Have no idea about that? Here are 3 means to help you reset your password quickly.
Outside Oracle prepared queries make much less difference. They can improve performance is Postrgres used sparingly.

Obviously escaping is rather important...
Doesn’t Kinect require you to wave your arms around? That seems tiring. To say nothing of the space requirements.
No issues detected http://code.google.com/status/appengine
Ask HN: Alternative bitcoin proof-of-work tasks? 
Can anyone think of a "useful" computationally difficult task to underlie an alternative bitcoin economy? Something like fold@home, etc?
He's used the phrase "multiple devices" before, and he's clearly referring to more than mobile phones.

In this interview from last year he states [1]

"The world is emerging where there are multiple devices [...] to access the internet

Mobile devices are certainly a big part of it, tablet devices will be a part of it, televisions and PCs..."

the more these platforms adopt flash, they won't have to do anything else. It will just work"

Seems pretty clear to me.

[1] http://www.flashstreamworks.com/archive.php?post_id=12726539...