hacker news with inline top comments    .. more ..    15 Nov 2011 News
home   ask   best   7 years ago   
Spark - ----...-- in your shell. github.com
93 points by lrvick  57 minutes ago   10 comments top 6
scottyallen 18 minutes ago 3 replies      
Hmm, I get the following:

  [scotty@Scotty-Allens-MacBook-Air ~/bin]$ spark 1,2,3,4,5

I suspect this has something to do with my terminal settings, but I'm not sure quite what...

Nifty idea, regardless.

etanol 37 minutes ago 1 reply      
The script is not a proper POSIX bourne shell script, as it uses arrays.

For starters, it won't work in dash (Debian and Ubuntu /bin/sh implementation). So the shebang line should be changed to #!/bin/bash (not sure if it would work in Zsh either).

jmah 40 minutes ago 0 replies      
Ah, as inspired by Edward ttyfte.
jvoorhis 27 minutes ago 0 replies      
I hooked this up to my homebrew cohort-analysis script and saw a gratifying terminal hockeystick :D
premchai21 21 minutes ago 0 replies      
I'm curious: is there a reason U+2584 LOWER HALF BLOCK is missing from the character set, which otherwise contains the progression from U+2581 to U+2587?

Edit: U+2588 seems like an obvious candidate as well.

thechut 29 minutes ago 0 replies      
Holman never fails to impress
Saving a Life is Easy, But I Didn't danshapiro.com
128 points by randfish  2 hours ago   35 comments top 10
timr 2 hours ago 1 reply      
"At the time, the only way to donate marrow was to basically have someone drill holes in your bones and drain your skeleton, which kind of terrified me. Nowadays, of course, most donations require nothing more than sitting still for a few hours with an IV watching television."

That actually isn't really true. Marrow donations still require anesthesia and a surgical procedure. In the interest of providing full information:



(Edit: c'mon folks...why in the world would you vote this down? It's important information to know if you're going to be a donor.)

nknight 2 hours ago 5 replies      

To the extent it's still relevant in the modern world, our postal system really needs to work a little more like the phone system.

I can be pretty much anywhere in the US (or really, the world, if I want to pay international roaming fees), someone can dial my well-known phone number, and my phone will ring.

For ordinary first class mail, I should be able to generate unique ID numbers on the USPS's website, and associate them with any physical US address I wish at any time. Then I can keep one or more postal IDs pointed at the location(s) I actually receive mail at, and the scanners (virtually all mail is routed by optical scanners now, even hand-addressed envelopes) can just read the ID number and stamp on the current physical address.

danshapiro 2 hours ago 2 replies      


The first site is supposed to be more current, but isn't rendering properly for me on Firefox. On the second site, Scroll to the bottom for the button to start the process.



It appears that you opt-in when you donate blood. I don't see mention of an at-home swab program.






(Scroll down to see the partner organizations in many countries)

heimidal 1 hour ago 1 reply      
This inspired me to register, but once again I was thwarted by the US' arcane rule banning gay men from donating. The rule applies despite the fact that I've been monogamous for ages and am tested for everything under the sun twice a year.

A college frat boy who has had unprotected sex with a different girl every week for the past semester can give blood/marrow, but monogamous, healthy gay men can't. I don't get it.

dholowiski 2 hours ago 1 reply      
Shit. Can anyone post the links for other countries (like Canada) to donate? I'm signing up tomorrow.
If you want to really affect someone else's life, this is a way better way than building some web-app.
sequence7 18 minutes ago 0 replies      
If you're in the UK you can register with the Anthony Nolan trust as a donor. The whole process is incredibly simple, so please do.


Alex3917 43 minutes ago 0 replies      
Why not just put your email address on your blog, rather than messing around with their website?
andreipop 1 hour ago 1 reply      
Thanks for sharing a touching story - a bit of quick digging came up with the new Canadian equivalent:


qzio 35 minutes ago 0 replies      
great that this(signing up as a donor) get some attention! We need more bone marrow donors!
quizbiz 1 hour ago 1 reply      
Why don't they collect email addresses?
Google releases full Android 4.0.1 source code, includes Honeycomb too google.com
383 points by patrickaljord  10 hours ago   88 comments top 20
imurray 10 hours ago 2 replies      
[dead] comment by cdibona:
"Please don't sync yet, it's currently in a mixed state. The 'repo for-all git push' is still running and will take some time to complete, so if you sync now you'll get some parts with Gingerbread and some parts with ICS."

(If you accidentally post something twice, be careful about deleting one. The other one may be automatically killed, but you don't see it when your posts are killed.)

pingswept 10 hours ago  replies      
In the past, I've spent a fair bit of time criticizing Google for calling Android "open source", but not releasing the source. Now that it appears that they are actually doing it, let me be the first to say that this is great.

Well done, Google.

cppsnob 2 hours ago 1 reply      
Related: how's Apple's "open" FaceTime specification coming along? Still waiting on just the specification here. Not even code.
rst 4 hours ago 1 reply      
Not _quite_ full source code --- some proprietary graphics drivers are supplied in binary-only form. It won't matter much for most uses of the source code, but purists will be displeased.


decklin 6 hours ago 0 replies      
There are two links to this post on the front page right now. This one, https://groups.google.com/forum/#!topic/android-building/T4X... , loads fine on my computer and comes up in the "new" Google visual design. It completely fails on my phone (Android 2.3), displaying "Loading..." for a while and then bumping me to the front page of Google Groups with a little message saying I am now logged in (I tried several times). The other link, https://groups.google.com/group/android-building/msg/c0e01b4... , just works, everywhere, but shows the old Groups interface.

This is a really sad state of affairs. If Google can't guarantee that their fancy new Javascript-dependent links won't work everywhere, they should not be used as permalinks.

I really don't care about any arguments people might want to make about the visual redesign, or how to properly implement #! paths, or the extra effort involved in generating resilient URLs, or Google paying special attention to how the Android browser handles pages, or what evil things my phone company might be doing my my data stream, and how that's not their fault, or whatever. Permalinks should work. Everywhere. Period.

pasbesoin 10 hours ago 1 reply      
Why is Chris DiBona's comment in this thread dead? What he said is "from the horse's mouth", i.e. Google Open Source.

Comment: http://news.ycombinator.com/item?id=3235947

Profile: http://news.ycombinator.com/user?id=cdibona

Personal site (includes mention of his job): http://www.dibona.com/

P.S. Chris, you have http://dibona.com in your HN profile, but it just redirects.

thristian 2 hours ago 1 reply      
So, the Android website is packed full of information about how to clone the Android repository and build it from scratch, but I just want to browse it online. Is there some official "gitweb" site or something that I can poke at?
juliano_q 6 hours ago 1 reply      
Google releases every source code except Honeycomb. I think the code was really ugly, released urgently to support tablets. I cant blame Google, we who works with software in big companies know how pressure and strict timelines can be a pain, but I am glad that things are back on track.
melling 8 hours ago 2 replies      
Now the only thing missing is a winning strategy for desktops/laptops. :-)

Seems like Chrome OS should be folded into Android and many people would be comfortable using it at home. Same apps could run and sync on all devices.

vog 1 hour ago 0 replies      
Many thanks to http://gpl-violations.org/! Without their pressure this would have taken considerably longer. (Or wouldn't have happened at all?)
blantonl 8 hours ago 3 replies      
I've heard so many complaints from developers about the delayed source release, however I've never known Google to withhold source code for Android.

Could the slight delay in release simply be due to legal issues such as scrubbing patent issues and verification that OSS code isn't infringing?

shn 8 hours ago 1 reply      
while I found the opportunity that many commenting and interested in this topic, let me ask a question. Can one upgrade any android phone by himself? (I do not own one), or one need to wait for the carrier and or manufacturer need to do it?
xxiao 5 hours ago 0 replies      
I criticized google for holding back honeycomb, now it's finally releasing the code again. Great! Thanks Google.
bri3d 9 hours ago 1 reply      
Why don't they just tag all of Honeycomb?

If the reason is that there's no combination of project commits that can create a building Honeycomb, they should just admit to it and explain why.

The current approach seems like a weird attempt to snow something over - I understand that Honeycomb was a rushed, trashy Android release, and that there's some pride involved, but supposedly all of the rushed, trashy code is in the tree now, and hence there's no going back. The first thing everyone on xda-developers is going to do is go hunting for bad Honeycomb code anyway.

cnxsoft 6 hours ago 0 replies      
That source tree is huge. Over 6GB of data and it takes several hours to sync on my machine (not done yet).
DonnyV 6 hours ago 0 replies      
I'v never seen so many people BITCHING about getting free code. No less an entire OS that runs on hundreds of devices. Maaahhhh you didn't release it fast enough. Stop whining!!
zobzu 7 hours ago 0 replies      
'bout time !
Srirangan 7 hours ago 0 replies      
Well done Google!
ErikRogneby 10 hours ago 3 replies      
Only the Honeycomb GPL modules are available. The entire platform source is not available. see here: http://source.android.com/source/build-numbers.html
drivebyacct2 9 hours ago 0 replies      
Flash has nothing to do with Google's reasons for not open sourcing Honeycomb.
Modern Web Applications are Here pocoo.org
124 points by craigkerstiens  5 hours ago   39 comments top 13
bretthopper 4 hours ago 2 replies      
I agree that Modern Web Applications are here. The key point is that they don't have to be architected the same as Battlelog to be considered modern.

Most of us are too concerned (or straight up scared) of the JavaScript/HTML5 revolution that we can't see what is possible right now. Sharing templates server and client side is a magic bullet that everyone should be using.

Web applications are only going to get faster, and if you want to keep up, you're going to have to do implement modern solutions like Battlelog and Google+ do.

I can envision a time when full page refreshes are the exception and that isn't a bad thing.

nikcub 3 hours ago 1 reply      
With the last three projects I have started (none live, yet) the backend is nothing more than a REST API and the frontend a single HTML page with javascript, javascript, javascript.

This is what web applications are now and will be. The user experience can not be compared to the old style of application. If you are still building applications today that are GET, fetch, pause, render, etc. then you are years behind. It is awesome being able to click on a link to a 10-page forum thread or blog comment page and have it render in ~100ms.

I think all of the web server frameworks will have to adapt - from RoR to Django etc. since a lot of what they do is being moved to the client (and it becomes even cheaper to run large-scale web services because of this). There are also tons of gaps on the client side - from more capable and cachable templating engine through to a full-stack framework (something like RoR for Javascript but less confusing and hard to use than the current)

The server now is just db+REST, auth and pubsub - soon enough somebody will release a generic PaaS that does all this based on a schema. Almost no more, or very little, server-side code (unless you insist on supporting old HTML clients).

Fluxx 1 hour ago 0 replies      
While I'm excited about "modern web applications," my understanding is that they're harder to develop for and test (I haven't done one yet). If that's true, it's worth considering if the ROI is there to make your app a single-page javascript app vs how fast you can iterate via the more standard method. You may not have the traffic to where offloading rending to the client makes sense. It's likely many actions your app does are "fast enough" as well, so a rich UI experience isn't going to be a huge improvement. Reserving the highly interactive bits for where it really counts may be a better idea.

That said, it's only a matter of time before the "harder to develop and test for" goes away and rich apps will become more of the norm.

modeless 4 hours ago 2 replies      
Interesting, as Battlelog has been criticized by the gaming press including the Penny Arcade guys, who call it buggy and hard to use.

I have to say, too, that in my experience the more client-side state a web page keeps, the buggier it tends to be. Building applications this way is harder, and I hope we don't end up losing the characteristics that have made the Web so successful in the transition.

kwamenum86 4 hours ago 0 replies      
"All the pages can be rendered on both the client side via JavaScript as well as the server. How this work I cannot tell you"

There are plenty of templating engines that have been ported to Javascript. Mustache is the first example that comes to mind: http://mustache.github.com/

Once you have the templating engine the rest of the logic is pretty easy to build.

Rendering web apps entirely on the client in general is pretty awesome although there are two problems: 1) the push state API is not supported in all browsers yet, which forces you to resort the fragment identifier + onhashchange to approximate the same functionality. And of course the fragment identifier only affords you a fraction of the same luxuries as the push state API. And of course onhashchange is not supported in older browsers. 2) When you fall back to the fragment identifier rendering on the client is actually a little bit slower. The fragment identifier is not sent to the server meaning the javascript has to be loaded in the browser before anything at all is rendered. Does this lead to several seconds of delay? No. But it is noticeable. At least with push state you have the option of rendering the initial content on the server and all subsequent requests on the client without increasing complexity too much, assuming you have a good templating solution in place.

But yes I agree. Modern Web Apps are Here :)

azov 4 hours ago 4 replies      
I'm not sure I agree with the "work of beauty" statement. A browser plugin? Rendering all pages on the client via some massive JS framework? Intercepting all page loads and hooking into browser navigation? Compiling templates into Python & Javascript? Is all this complexity really justified?

I know that web apps is all the rage those days, but given the native plugin, pickiness about browser version, the fact that they apparently not care about being indexed by search engines, and all the trouble they went through to make it all work together - wouldn't they be better off to just implement the whole thing as a native app?

Too 1 hour ago 0 replies      
> The real interesting thing about Battlelog however is a Windows PC specific component. If you are heading to Battlelog from a Windows PC and you own the PC version of Battlefield 3 you can launch into a game right from within the browser. How does this work? It works with the help of a browser plugin that exposes additional functionality to the in browser client. Namely it has a function to start the game and pass it information as well as a general purpose function to ping an IP address which is used for the server browser.

Unreal did that back in 1998. They register the unreal:// protocol in windows so any hyperlinks that contain an address such as unreal:// will launch the game and connect to that ip. The good thing about this is that it can also be used by third party websites such as promoting your clans server and it is completely browser independent. I don't know if it could be abused to "rickroll-launch" the game but i haven't heard of any such incidents.

andreavaccari 3 hours ago 0 replies      
We are a startup called Glancee. We build a mobile app (iphone version + android version) that finds people in your area with friends or interests in common with you. The apps are native objective-c and java apps, and the backend is a mix of python, mondodb, and a bit of erlang.

A month ago we decided to build a facebook app to reach users that don't have a smartphone. We chose not to change one bit of code in the backend, and we were able to build the web app in 3 weeks with backbone, jquery, and websocket-js.

You can try it here: http://apps.facebook.com/glancee

The app is just one 40-line html page, the rest is javascript (and templates embedded in js). You never refresh the page when clicking a link, which gives you the feeling of using something as fast and robust as gmail.

CSS files and JS files are compressed with requirejs before being deployed, so to load the page you need three requests (plus images). Right now our biggest bottleneck is the facebook api, which is tremendously slow.

marknutter 4 hours ago 2 replies      
I don't see how this is different than using any of the myriad javascript mvc style frameworks that are out there in tandem with websockets.
baddox 2 hours ago 1 reply      
Does anyone have any good examples of a substantial web app using this architecture that doesn't require purchasing a video game or creating an account? I'd like to take a look at Firebug (actually, Chrome developer tools) and experience the snappy performance the author talks about.
andrewfelix 4 hours ago 0 replies      
My problem with Battlelog isn't necessarily that it's browser based. My problem is that I'm forced to run 2 other system based applications on top of it. Namely Origin, the sole focus of which seems to be forcing me to buy EA games through EA exclusively.

Battlelog as a stat tracker is great. As a system of convenience run in conjunction with Origin and the actual Game EXE it sux.

xtacy 4 hours ago 0 replies      
This reminds me of Quora's LiveNode stack: http://www.quora.com/Quora-Infrastructure/How-does-LiveNode-...
beggi 3 hours ago 0 replies      
FYI, Armin doesn't mention it in his article but the guys that built Battlelog, ESN, is releasing the web framework behind it: http://www.esn.me/product/planet/. They also have a great service, BeaconPush similar to Pusher, only better IMO. Both because it supports the notion of users and also it has both a Flash websocket and XHR long polling fallback where as Pusher only has Flash websocket fallback (believe me, this matters, I've tried both).
Cracking Siri applidium.com
390 points by nolanbrown23  13 hours ago   88 comments top 18
Xuzz 11 hours ago 0 replies      
Using an almost amazingly simple procedure a few weeks ago, I worked a bit with @tmm1 on figuring most of this out. We actually got custom commands working via both proxy and on-device interposing based methods: http://mobile.twitter.com/tmm1/status/131520489049960449
pflats 11 hours ago 0 replies      
A little googling shows some interesting info about the ACE request/header. From skimming, it looks like a header compression method for VOIP on cell/lossy connections.

Slide deck: http://www-rn.informatik.uni-bremen.de/ietf/rohc/ace-033100-...

Whitepaper: http://w3.ualg.pt/~bamine/B3.pdf

LeafStorm 12 hours ago 3 replies      
I'm kinda wondering why Apple bothered using HTTP for something that really doesn't use anything recognizable as proper HTTP. Was it just for HTTPS?
leoh 6 hours ago 0 replies      
Looks like guzzoni.apple.com is named after Didier Guzzoni (http://www.ai.sri.com/~guzzoni/), an employee at SRI.

He's also listed on an interesting Apple patent that was only filed a few weeks ago, "INTELLIGENT AUTOMATED ASSISTANT"(http://www.wipo.int/patentscope/search/en/WO2011088053).

Some very interesting implementation details there.

cjoh 11 hours ago 2 replies      
It'd be interesting to see whether or not Apple changed the Siri protocol since the acquisition. Was this originally how Siri worked when it was independent?

Because Siri has roots in government contracting (it's named after SRI International, and was originally funded by DARPA) I wonder if the roots of the obfuscation start there rather than at Apple.

tamersalama 11 hours ago 1 reply      
I wonder how Apple is taking all of this? Is Applidium risking their developer license?
jentulman 10 hours ago 3 replies      
The question that springs to my mind is not 'how can I play with this?' but 'Are Apple bringing Siri to the desktop?', seeing as it appears there's nothing specific to the 4S hardware in how this works.

I'd quite like to be able to add calendar entries or tweet without moving to another application.

spraveen80 5 hours ago 0 replies      
I didn't see anything in this article that mentions that the natural language understanding is done in the cloud. May be I am missing something, but I don't understand why everyone is jumping to the conclusion that the NLU is also done in the cloud and downvoting other's comments that said so.

From what I've seen, Siri sends compressed audio to the cloud which translates that to text. What happens to the text and how does that translate to action? Where is this being handled? Is there any proof that this is done in the cloud?

signa11 5 hours ago 0 replies      
can the server-side be a watson like computer cluster ? just curious...
victoknight 12 hours ago 3 replies      
<spolier> guess who doesn't verify the root CA.
Think of all the fun to be had with a Siri man-in-the-middle
pdenya 12 hours ago 1 reply      
Really interesting. I'm curious what their tools look like but the github repository the article links to is currently empty.
mirkules 12 hours ago 1 reply      
Is there a possibility to craft a Siri server reply with malicious code? Shouldn't be too hard for the applidium guys to attempt (maybe even use a fuzzer?)
jakubw 11 hours ago 1 reply      
I wonder if there are any characteristics about the microphone in Apple devices that the servers could check the audio against to prevent this sort of a thing. There should be a way to somewhat distinguish the device used to record a stream given Apple's control over the devices on which Siri runs and overcoming that would be hard enough for anyone to bother.
MatthewPhillips 11 hours ago 0 replies      
Cannot upvote this enough. Stuff like this is the reason I read HN.
mbq 10 hours ago 1 reply      
Anyway, this is a proof that siri is a pure cloud service and as such may work even on 5-yo Sagem...
baconhigh 12 hours ago 1 reply      
down for me :(
hc5 10 hours ago 3 replies      
> The iPhone 4S sends identifiers everywhere.

So if I'm reading this right, Apple is sending UDIDs over HTTP?

Volpe 8 hours ago 4 replies      
No one is at all concerned that this is a hack?

I know it's interesting stuff, but I'm curious what "rights" Applidium have in publishing this information.

With this information, (if I'm not wrong) it wouldn't take long to simply DDoS Siri...

Or port Siri to Android (effectively stealing IP).

(I have no bias either way, just pointing out, if someone figured out how to reverse engineer dropbox, so you could use their space, without a dropbox account, would we all be going "wow, this is so cool!" or would we be crying out "this is such an irresponsible hack!")

Stanford releases latest iOS 5 programming class apple.com
38 points by MaxGabriel  3 hours ago   2 comments top 2
fuzionmonkey 1 hour ago 0 replies      
The previous class on iTunes was extremely useful to me. I'm a college student and the fact that it was in a lecture format made it easy for me to digest.

Reading a book is one thing, but watching someone give a lecture in little chunks made it really easy.

I wonder how ARC changes the way they teach memory management.

ghoul2 16 minutes ago 0 replies      
is there any way to get these to download on Ubuntu?
Amazon EC2 Cluster Compute 2 - Slot 42 in the Top500 at 240.09 teraFLOPS aws.typepad.com
18 points by jeffbarr  2 hours ago   discuss
Touchscreens have no hand edwardtufte.com
29 points by yarone  3 hours ago   3 comments top 2
frankPants 1 hour ago 1 reply      
I am at odds to argue with Tufte but I will. The issue with touch screens is not that they lack the same surface texture as the objects they're imitating. It's that they're imitating real world objects in the first place. I think most people would agree with sculpture and painting, that the high point of those media was reached during the point of pure abstraction. When paint was allowed to simply be paint. Painting stopped being a way to represent the real world on a canvas and was allowed to be itself, the real advantages of paint came out.

Well, let's stop pretending that the tablet is a representation of the real world, and let pixels be pixels. Why pretend they're anything more than that? "Ceci n'est pas une pipe" as Magritte so eloquently put it in '28-29.

Pixels, while not having the 3 dimensional qualities of the real world, surely have many of their own unique qualities; that while we attempt to copy the real world, remain unexplored.

Tsagadai 1 hour ago 0 replies      
This is just a part of the world of impersonal mass production. Make everything the same. I sometimes wonder if electronics would benefit more from the world of welding and construction where the maker often leaves their personal mark somewhere on the finished product. Many hands went into the construction of a tablet but each is almost identical and has almost no hints as to its origin or the mood of the assembly line worker on that particular day or whether the sun was shining while it was on the delivery plane as it was landing. Companies often talk about 'brand identification' and 'personalization' but is it any closer to reality than the coat of fingerprint remover?
Pulse will come pre-installed on the Kindle Fire pulse.me
45 points by ebabchick  5 hours ago   10 comments top 7
potatolicious 1 hour ago 0 replies      
Incredibly huge win for Pulse. A huge congrats is in order to everyone involved in making this happen.
ghc 4 hours ago 1 reply      
Wow, not sure how I missed the existence of Pulse. It's a really interesting news reader.
ebabchick 5 hours ago 0 replies      
Huge win for Pulse as well as Amazon. If you're an Amazon Prime subscriber you've now got news, movies, tv, and books from the instant you boot up. Genius move on Amazon's part.
rudiger 3 hours ago 2 replies      
Without criticizing Pulse, why are you all so congratulatory of this move? What does Pulse do?
bcx 3 hours ago 0 replies      
Congrats guys! That is awesome!
plessthanpt05 4 hours ago 0 replies      
this is great; though as an android user, i much prefer the ui of taptu personally.
nikunjk 3 hours ago 0 replies      
Dang, this is awesome!
What the Vaio Z says about Sony's little design problem boingboing.net
79 points by danshapiro  7 hours ago   73 comments top 9
zobzu 5 hours ago 8 replies      
As a owner of a Z21 I can tell much of what is said in the article is just, simply wrong and misinformed.
The author most likely didn't even touch a Z21.

DISCLAIMER: I am using Linux full time on this laptop. Some people have issues with the fingerprint or trackpad on Windows - theses are software issues which aren't present on Linux.

Fan: they're not loud. It's quieter than my MacBook. In fact, I can't hear it in a quiet room.
It's only loud when running full speed; which is rare enough. And that's not louder than the Mac.

Trackpad: it's in.. the regular spot.

Software: it's loaded with Sony stuff mostly. You can remove or reinstall if you dislike it.

Key travel: yes, it's shorter. No I don't see the issue with it, after having used it for quite a long while now. I switch to longer key travel keyboards and back to the Z21 without noticing.

The rest is just "look, my iMac design didn't change in 4 years it's awesome, changing design sucks!".

Now... let's see what the Z21 has and the others.. just plain don't.

SSD: Hello raid0 SATA3 SSDs. Have you ever reached more than 500mbyte/s read/write? Heck, sometimes its going near the 1000mbyte/s sequential. Copying stuff, reading has never been faster. Non-raid0 desktop computer with the fastest SSDs are just way slower. Won't even mention Macs with their subpar SSDs.

Screen: Hello 1920x1080 anti-glare screen. How the hell are others not all anti-glare by default ?

CPU: Hello regular voltage i7 2620M. The air CPU suddenly look.. you know.. just not in the same range.

Heat: what heat? It's extremely well extracted on the side and the rest of the system is at room temperature. Even under extreme load. A problem Apple didn't really solve by the way.

Connectivity: USB? check. USB3? check. VGA out for those conferences? Check. HDMI out /w audio? Check. Audio jack, ethernet, sdcard, lightpeak? check check check check. Tell me when the mac book air doesn't need a bunch of adapters to do more than USB.
higher power USB for charging? Heck, check again.

Weight? Lighter than the Macbook air says enough.

Battery life? Extensible well above 10H via a laptop-wide sheet. Smart. Paris-New York, no need to charge. Of course, the standard battery isn't a let down either at ~5H real time use. (they're both rated 7h and 14h max as far as I can remember, but don't quote me on that)

Now with all that, what more could there be?
Oh wait.. I mentioned a lightpeak port didn't I.. so yeah, a 600gr+ device can be added to the desk while you're not on the move.. bundling a very decent ATI graphic card, a bluray drive, and more ports. You can drive 4 screens at the same time, although its convenient only up to 3. (oh noes.)

Oh and, does it run linux properly? yep.

So it's an expensive device, but considered all the above, it's pretty decent I guess.

Finally, the actual bad, and yes, there is some bad:

- speaker: they work, but god they're bad. they're terrible. Not a big deal, but still, at this price... the jack is very good tho.

- lightpeak will probably not take off, that said, its mostly used for the side device only and serves as USB port, so who cares.

- way the laptop sits on the desk you may sometimes find positions where its not sitting properly, if your "desk" is not flat

ghc 6 hours ago 5 replies      
Wow, what an ignorant article. I own the previous version of this (Sony does iterate...this is the 4th iteration of the Z series), and I absolutely love it. I can't speak about the new version, but the version I have has a fantastic keyboard with much more key travel than an Air. I wouldn't be shocked if Sony messed up the keyboard and trackpad though. They have a certain talent for screwing up ergonomics in the name of looks.

But really, my main issue is that this article appears to be written by someone with an agenda and little actual knowledge. The laptop's name, for example is the Z14, not that long string which is the model number. Practically all laptops, even the Air, have those model numbers associated with the specific configuration. The box for my Air has it listed on the back, in fact.

tikhonj 6 hours ago 1 reply      
When getting my new laptop, I spent some time looking at various "ultraportable" including the MacBook Air, some Toshiba (I forget what it was called) and the Z. I ultimately chose the Sony because it was, by a nice margin, the nicest computer of the lot.

The screen is really awesome, it's incredibly fast and I actually really like the touchpad. The keyboard is not great, but none of the options I physically touched--I never saw a physical Lenovo X1; that could be good--had particularly good keyboards. The Air's keyboard was not bad, but it had an annoying layout with small arrow keys and an odd ordering of meta keys along the bottom.

Overall, I am extremely pleased with this computer and would probably buy it again, although I would also consider looking at the X1. However, an X1 configured to similar specs as the Z costs about the same and I've heard both the screen--which is really awesome on the Z--and the batter life are worse on the Lenovo.

dmboyd 6 hours ago 6 replies      
> It's loaded with junkware, because paying two grand for a laptop doesn't get you a system that hasn't been sold to someone else.

On this topic, does anyone know of any major manufacturers who dont do this with their consumer machines?
I have had really bad experiences of late with Dell, Toshiba and HP, to the point where they come with what is essentially malware built in. As one example, our latest dell purchase redirects search queries, puts a link to ebay on the desktop which comes back once deleted, and prevents you from adding an alternative search provider to IE.

jbarham 6 hours ago 3 replies      
For my money, the best "ultraportable" around is a ThinkPad X: http://shop.lenovo.com/us/notebooks/thinkpad/x-series
w1ntermute 6 hours ago 1 reply      
> But Sony rarely iterates, even when it's onto something good.

This is very interesting, considering that one of the core philosophies of Japanese business is kaizen, or continuous improvement.

sjs 1 hour ago 0 replies      
The Vaio Z is a sweet series. If I didn't use a Mac I would almost certainly buy the Vaio Z. Last I scoped out notebooks that was the case anyway.
bonesinger 6 hours ago 3 replies      
I am an owner of this new Vaio Z. The laptop itself is amazing: the battery life is excellent, good performance, high quality screen (1080p), extremely fast (raid 0 SSDs will do that).

The specs are amazing for this 2.5 lb laptop, but it still doesn't do justice to how disappointed I am with the keyboard. The travel distance is so minuscule, its uncomfortable to type on. You find yourself slapping keys but feeling like you didn't really press the key. The space bar sucks, you have to hit it pretty hard to make it register.

The trackpad is pretty small and awful, 2-finger gestures only works 50% of the time. I had to disable the fingerprint reader because it would activate everytime using the touchpad (you would always hit it by mistake).

Those are literally the only 2 things I dislike about this laptop, the keyboard and touchpad. I use a portable bluetooth mouse a lot (Razer Orochi) which does alleviate a lot of the touch pad issues, but the keyboard is god awful.

That said, the power media dock is a novel feature, external graphics, blu ray and all...I haven't used it once haha. I think that's because I have a nice custom built desktop, no reason to use the PMD.

EDIT: The keyboard is worse in my opinion in comparison to a macbook air which I owned for a year before I sold it.

I just wanted to add on top that, I tested out a Lenovo T420 edge...quite possibly one of the nicest keyboards I've ever typed on.

ctdonath 5 hours ago 1 reply      
Power supplies. I've got a copier paper box full of Sony power supplies. Every product they make has to have a different battery, plug, voltage, wattage, whatever so you MUST buy a new one if break/lose it, at a princely sum comparable to the price of the device.

Sony has 90% great, like awesome, design - then screws up the remaining 10% with either "meh, screw the user" or "hey, dig into his wallet" wrecking the rest. I've had two of their ultraportables, and try as I might to love them there's just one neurotic breakdown after another; my next is a MacBook Air.

How to lose time and money paulgraham.com
140 points by tyn  9 hours ago   60 comments top 16
fferen 8 hours ago 6 replies      
I think this ties into the idea of MMORPGs. I used to play them a lot until I realized they were not fun, just addictive; they make you feel like you're accomplishing something by leveling and gaining skills, when really it's only your character that's improving - you're not getting better at anything.
goldmab 7 hours ago 5 replies      
If Paul Graham realized that people can easily lose lots of money by investing, why did he devote himself to investing large amounts of his own money in high-risk businesses?

I'm not being facetious, I just think that seems contradictory. If I had a lot of money and that same knowledge, I would invest very conservatively.

ggwicz 7 hours ago 2 replies      
"People fright at the concept of losing their money, yet they slave away their time without a second thought."

-Seneca the Younger, from Letters from a Stoic (highly recommended)

I think slaving away doing something you hate is far more harmful than "wasting" time having fun. I get more out of playing hacky sack and/or listening to podcasts than any homework or school work.

So, in relation to this article, I think we should maybe consider "losing time" as doing anything that you deeply don't want to do but are doing just to get more money.

The relationship between time and money is a fascinating one. Great article PG.

zipdog 8 hours ago 1 reply      
Sometimes I think the feeling of getting "basically nothing" done by the end of the day is not the right timeframe - there are projects that have gone on for weeks that ultimately were a complete waste of time. But while working through those projects I felt something productive was happening, which made it difficult to think of them as "basically nothing". I'm not talking about failed ventures that could have turned into something great, these projects were pretty much always going to amount to nothing (they just appeared at the outset to be different to what they were)
Arro 8 hours ago 0 replies      
I think for me this manifests itself in wasting time on reddit and twitter. Whenever I have a blank chrome tab, my unconscious reaction is to punch in one of these time-wasters.
orky56 7 hours ago 1 reply      
This is really a question of short-term gain versus long-term gain as well as tasks versus goals. For short-term fulfillment, we can entertain ourselves or keep ourselves occupied in some manner, regardless of whether it's productive.

The key is figuring out how it fits into our overall strategy or goals. Is that activity or task contributing to that long-term gain? More importantly, am I actively managing it as opposed to going on blind auto-pilot (e.g. for that investment or project)?

There's no substitute for hard work, just as there's no substitute for self-awareness.

aclements18 2 hours ago 0 replies      
I think a good simple way to determine whether I'm doing fake work or not is to ask myself two questions, "Is this challenging?" then "will this help me reach my goals?"

I find that if I say no to either then I'm probably doing fake work (or doing real work poorly).

Rinum 7 hours ago 0 replies      
I feel the same way about watching TV all day, except replace TV with reddit x.x
gabaix 7 hours ago 0 replies      
One of my alarms is looking at my long-term objectives and see if my work made me move in the right direction. I have my objectives written down in a prominent place, so I can make sure I stay focused.
johnl 5 hours ago 0 replies      
I always thought that the best way to avoid losing a lot of money is to diversify and avoid leverage.
Derivatives is leverage big time, it's speculation, not investing, you can lose much more than you invested.
Diversify and avoiding leverage as a VC would be to invest a relatively small amount
of money over many potential companies.
So can avoiding leverage to conserve your investments work the same way with time?
Leverage as a small company might be like sub'ing out your work to others. I've never read anything positive with that approach.
How about at the personal level of the article -
some wasteful activities can be avoided but stuff like email is not going away.
So leverage this down time by multitasking. It would take me 4 hours of planning for 2 hour of programming.
While I wade thought these emails I am also going to think about, plan, research, and write down what my 2 hours of programming is going to be.
During these non productive downtimes, I can get really boring jobs done, the time passes quicker,
and I have a head start when my productive time starts.
JoeAltmaier 9 hours ago 0 replies      
But is it actionable? I have to answer email, sometimes.
feralchimp 7 hours ago 0 replies      
"The solution is to develop new alarms."

...and get rid of some other ones.

gbog 8 hours ago 4 replies      
This short essay is not pg at his best in my view. Spending time having fun is Plain Good, and necessary, even for the most focused startup founder. But watching TV don't count obviously. Playing cards with friends at a terasse does.
teyc 9 hours ago 1 reply      
very timely advice. I was just thinking about investing a chunk of change. Thanks.
phzbOx 5 hours ago 1 reply      
If I give you 5M$ now, what would you do? Now, do exactly that, without those 5M$.
revorad 7 hours ago 1 reply      
If Alanis Morissette read PG's essays on time management and knew he also built HN, she'd probably write more meaningful song lyrics.
How Google makes Google(+) fast google.com
91 points by jvandenbroeck  8 hours ago   19 comments top 5
georgemcbay 6 hours ago 3 replies      
Google+ is certainly fast, I just wish it were quicker about showing me valid/updated state.

I've never used any website where the data I was seeing was so obviously out of date across the board as it is on Google+. Yes, eventually it coalesces towards correctness, but I don't think this model works well for things like notifications and such.

"Oh look I have a new notification... oh wait, no I don't, that's from like an hour ago and I already looked at it."

Speed is a feature, but so is not making your users think your software is just plain buggy and too much local state caching is basically indistinguishable from a bug for many users.. and in many contexts it can also be annoying even for those who know roughly why it is happening.

coderdude 24 minutes ago 1 reply      
"On a side note, you may have noticed that we load our CSS via a XHR instead of a style tag - that is not for optimization reasons, that's because we hit Internet Explorer's max CSS selector limit per stylesheet!"

Can anyone go into more detail about what they're talking about here? I didn't realize IE had a "CSS selector limit." Seems like a funny thing to mention when you're talking about how optimized your site is.

MrEnigma 5 hours ago 1 reply      
The little red box that shows how many notifications, is anything but fast...

Edit: It reminds me of the eBay motors data we got a few weeks ago. A lot of it is making the page appear to be loading (i.e. flush the buffer for 'above the fold' and then ajax everything else in)

dmix 5 hours ago 2 replies      
Are people outside of Google using closure to develop apps?

I used the closure compiler with Jammit but I've never tried the library.

rkon 6 hours ago 0 replies      
Cliff notes: By not having any users.
InstaCSS: the CSS docs you always wish you had instacss.com
395 points by idan  19 hours ago   91 comments top 34
rgarcia 15 hours ago 4 replies      
Hey there, creator of instacss here. Thanks for all the feedback! I posted this as a Show HN last week, but it's nice to see that someone has re-discovered it: http://news.ycombinator.com/item?id=3222253.

Since then I've added a few features, one of which being the ability to have permalinks so that you could use it as a google chrome search. This is why I push to the url bar as you type. I'm really open to feedback on how to do this without screwing with people's back buttons, since I agree that's pretty bad.

makmanalp 18 hours ago 1 reply      
Hey, pretty cool but you should have a delay between when the user types something and when the url gets updated and a query gets made. i.e. some sort of definition of "user stopped typing". This improves usability by a ton.

Second is, maybe you should have a sidebar on the right that shows you clickable / keyboard navigatable titles of all the search results so I don't have to scroll down browsing.

tomlin 16 hours ago 1 reply      
Love it. One thought - have standardized CSS listed first. I type in "background" and get "-webkit-background-composite" as a first result. I'd probably want to see just "background" come up, followed by declarations less popular. Regardless of this minor issue, I'll be using this regularly. Thanks for this!
snorkel 17 hours ago 3 replies      
Nice, but a few UX nitpicks:

* Default to sort by relevence: Put the more relevant matching properties at the top. For example, I type "backg" instead the highest result being the obscure "-webkit-background-composite" ... actually most relevant result "background" which should be the first result instead of the third.

* Default results list to condensed format: Instead of showing the full verbose docs for every matching result instead show a sparse summary of each result with a option to expand it. If there's only one matching result then show the complete doc for it

* Nice example palette for standard colors. How about an example palette for the standard font families?

mike-cardwell 18 hours ago 0 replies      
My immediate thought when I saw this was:

Takes regular expressions as user input. Probably DOS'able.

After looking at it for a few seconds, I realised that it's doing the regex matching on the client side, so it's ok.

If you ever accept arbitrary regular expressions as user input, be very careful: https://www.owasp.org/index.php/Regular_expression_Denial_of...

jasonkester 19 hours ago 5 replies      
Nice. To avoid the annoying type-to-search feature, just search for "a" and get the whole document at once:


Edit: ugh, that doesn't actually work. It only gives you p-z. Hey instacss! Please provide us with a link to the actual document. Preferably in plain HTML so we can download it. Alternately, anybody care to scrape this thing and post it in full?

estel 19 hours ago 5 replies      
The first thing I searched for (background-color) wasn't found. Uhh...
uptown 19 hours ago 0 replies      
The creator should really put the search field in the persistent top-bar.
thushan 2 hours ago 0 replies      
I can't take this seriously when it beings like this: "gimmeh teh CSS docs."
antidaily 18 hours ago 1 reply      
Rad. Lose this "gimmeh teh CSS docs." to get taken seriously.
initself 18 hours ago 0 replies      
This design breaks the back button pretty badly.
highace 19 hours ago 2 replies      
It filled my back button up with mess :(
joeshaw 15 hours ago 0 replies      
One minor bug: I notice the anchor (and results!) changing as I type and backspace, but if I backspace all the way to an empty it is stuck on the single-letter anchor. Would be nice if it cleared out entirely and took me back to the empty front page.
rmoriz 15 hours ago 1 reply      
I think your DNS for www.instacss.com is broken:

www.instacss.com. 300 IN CNAME http://morning-warrior-3377.herokuapp.com/.

CNAME accepts only hostnames or (depends on your RFC-acceptance-level) a FQDN. No URI/URL

tlb 17 hours ago 1 reply      
Nice! It's great that it has detailed version support info, like:

  *Support for multiple, comma-separated, background images was added in Gecko 1.9.2.*

but I wish it showed what fraction of web users that represents. Maybe with a little green/red fuel gauge icon.

donbronson 18 hours ago 0 replies      
This site would be even better if they included compatibility. Maybe there could be an API call to http://caniuse.com/ ?
alexhaefner 15 hours ago 0 replies      
I wouldn't say these are the css docks I wish I always had. see I want better presentation. I don't really want to scroll through the actual CSS docs from W3C, I want to get some quick view of what my search query returned (property, {values}, notes). After that I could click on the entry for that property and read it's docs. It's just information overload. Nice work though, but that's my suggestions.
perlgeek 17 hours ago 0 replies      
It would be nice to show something more useful on the front page before the user types anything into the search box. Like an index or a table of contents or so.
mikedougherty 7 hours ago 0 replies      
Any chance of getting it to apply the filter on page load as well? It appears that it's not possible to link to a result set. i.e., if I send someone a link to http://instacss.com/#background in order for results to be shown they must perform a keypress of some sort in the search field.

edit: Apparently if you've searched something before it does display it on page load (after a brief delay)? So it seems this link might not be a good example URL. But hopefully you can just edit the URL and submit it directly to see what I'm talking about.

jlongster 18 hours ago 1 reply      
I've found MDN to be the best resource: https://developer.mozilla.org/en/CSS
oinksoft 17 hours ago 0 replies      
In addition to the complaints about this flooding history, I expect the "background" style to appear first once I've typed "bac", and even with "background" there's some webkit thing first.
maw 9 hours ago 0 replies      
I searched for "layout" and found nothing. These are not docs I always wish I had.
csomar 18 hours ago 0 replies      
I typed "^color$" and it wreaked havoc on my page history. Usually, I open the story in the same window then hit the back button to see the comments. This time it took me handful clicks before I get to my previous page.
phzbOx 18 hours ago 0 replies      
Hell yeah, thank you. I've been so tired of googling up "css background" and click 2-3 website and hope they'd show what I want.
balac 18 hours ago 1 reply      
Really, nice resource. I would love some quick links after a search to save on scrolling.
ianmassey 17 hours ago 0 replies      
some things aren't meant for automatic submission as you type. this is a good example. it's annoying.

also - the automatic URL hashing of the query breaks the back button to a ridiculous degree.

cool content, bad design.

ErikRogneby 10 hours ago 0 replies      
searching for cursor yielded some nice content. A few proprietary things I didn't know about. Thanks!
Antelope 19 hours ago 1 reply      
The link is broken for me.
evilpie 12 hours ago 0 replies      
Some linking love to MDN and highlighting the wiki property would be nice.
tijs 17 hours ago 0 replies      
It would be nice if it sorted by relevance; i.e. a search for background would give you the definition of the background property first instead of the -webkit-background-composite property which is almost certainly less relevant (worse match, less used).
lovskogen 18 hours ago 0 replies      
What, no azimuth?!
baby 18 hours ago 1 reply      
how is it better than google -> check the first result?
sedev 17 hours ago 7 replies      
Oh look, it's another site that loads nothing with JavaScript off. What is wrong with you? Progressively enhance, or gracefully degrade, or display something other than a completely blank page to non-JavaScript visitors. I harbor many doubts re: your competence in the realm of usability.
Barnes & Noble Exposes Microsoft's Trivial Patents and Strategy Against Android groklaw.net
311 points by nextparadigms  18 hours ago   86 comments top 15
nextparadigms 17 hours ago  replies      
So let me get this straight. Not only does Microsoft have useless/trivial patents, but they shouldn't have gotten them in the first place because of prior art. Plus, with those patents they get to claim a license fee as large as the license fee for their whole OS - WP7. On top of that with those useless patents they get to act as if they owned the whole of Android, and get to dictate manufacturers how to make their Android phones?

I have no words for Microsoft, they're simply despicable and I don't know how anyone could support such a company that has proven time and time again they will adopt such tactics to destroy their competition. They've probably done a lot of this behind the scenes with Linux and other browsers before. We just didn't find out about most of it. And we almost didn't find out about this, either, if it wasn't for B&N.

But what I don't understand how could HTC, Samsung and all the others agree to this so easily? HTC has grown 3x every year for the past 2 years because of Android, and Samsung has become the largest smartphone manufacturer surpassing both Nokia and Apple thanks to Android, and they say nothing against Microsoft or try to protect the ecosystem that's been feeding them?

Shame on them for not standing up to Microsoft, and kudos to B&N, which wasn't even a manufacturer not too long ago, for having the guts to stand up Microsoft and protect the Android ecosystem.

brlewis 17 hours ago 1 reply      
As always, if you shouldn't look at patents, don't click to read the rest of the article.

Groklaw is right to write that. If you write software that will ever be in the public eye, you shouldn't look at software patents because they make you more liable for damages in infringement cases.

The constitution authorized congress to create a system "to promote the Progress of Science and useful Arts" by publishing information that innovators would want to look at. The system we have now hinders progress, not just in corner cases but across the entire software field.

Can you imagine anyone writing that sentence if we had a patent system that worked as intended? I can't. If the patent system promoted progress, innovators would constantly be reading patents.

3am 15 hours ago 1 reply      
They are a known, serial monopolist and at this point MSFT deserves the corporate death penalty. They should go ahead and force the company to split into consumer software, enterprise software, Windows, and hardware companies like the should have done more than a decade ago.

EDIT: A well reasoned rebuttal is worth a thousand downvotes. But my fault for getting involved in religious wars...

EDIT: I also want to note that whoever is doing this is not content to downvote this comment, but is also looking up my comment history and downvoting old comment of mine (fair warning to anyone posting in this thread)

Bud 5 hours ago 0 replies      
It's pretty sad that Microsoft has sunk this low: a company that is so afraid of its ability to compete honestly in the market that it becomes a multi-billion-dollar patent troll.
recoiledsnake 17 hours ago 2 replies      
From B&N's filing:

>Microsoft has shown its intent to drive out other open source software using overaggressive patent enforcement. The Microsoft dominated MPEG-LA consortium recently sent out a request for patents that would cover Google's VP8 video codec, and one company has already filed a private antitrust complaint against MPEG-LA for this behavior.3 MPEG-LA is a patent pool organized to collect and license patents on the H.264/MPEG video codec, a method of digitally encoding video files and decoding them for playback. Google is attempting to introduce its own codec, the VP8 codec, to compete with the MPEG codec. Once again, by seeking non-essential patents to assert offensively rather than defensively, Microsoft intends to drive out competition from open source developers.

Is MPEG-LA really dominated by MS in any sense of the word? Just curious.

MS seems to be actually paying them more for licenses in the end than what they get for a few patents they have in the pool. Not sure about Apple.

In any case, they're supporting VP8/WebM via user installed plugins in IE and have stated that they're not shipping it with the OS because they're afraid of patent trolls suing them for very high damages because they would be liable for hundreds of millions of Windows licenses.

Igor_Bratnikov 17 hours ago 3 replies      
As someone that has been on the defending side (legal representative) of a patent troll attack which is essentially the role MS is playing here it saddens you to see how low people can go with using the patent system. One of the case I analyzed was a patent that literally did not cover the technology and only a very loosely interpreting judge could interpret it as so. But the cost (at least 0.5 - 1 million dollars until a judge will even see your argument) are so staggering that we in fact encourage parties to throw around bs patents to racketeer money from parties that actually contribute positively to society by creating innovative products. Of course this also fuels the market for filing and selling/buying up bs patents.

The only way I can describe it is that its like a artery of someone that keeps eating bacon long after their doctor advised them to stop. The space keeps getting blocked up more and more. It is inevitable that serious problems are bound to occur and cause ever greater friction to innovation.

monochromatic 14 hours ago 1 reply      
This is a court filing by a litigant. It's hardly an unbiased source. The assertions of an interested party should not be an excuse to avoid critical thinking.

But hey, it's in line with what most of HN thinks about patents, so we're all willing to take it at face value.

jongraehl 14 hours ago 0 replies      
This is a legal denial of service attack (assuming B+N's story is substantially accurate). I wonder what kind of penalties are for that behavior - I assume being ordered to pay the other side's legal bills is a possibility.
fpgeek 5 hours ago 0 replies      
I love that B&N's lawyers cited Netscape Navigator 2.0b3 as prior art (with respect to background image loading in a web browser). I wish HTC and Samsung's lawyers were as clever with respect to Apple's bogus "Linkify" patent ("Live URLs" from 2.0b1 in that case).
ianstormtaylor 4 hours ago 0 replies      
Good luck finding developers for WP7...
kenjackson 14 hours ago 2 replies      
MS has no obligation to license their patents at a reasonable price or even at all. You may say the patents should be overturned, but that's a question for the USPTO and the courts. Their job is to maximize profits using their patents.

It's still very unclear to me what MS is doing that is illegal. They have no mobile monopoly. And "demanding" design guidelines certainly isn't illegal.

BN can sue because MS isn't nice to them, but that's about all I see.

scotty79 14 hours ago 0 replies      
I'd very much liked if someone called bullsh*t on the Microsoft's patents and then prepared joint lawsuit of all companies against Microsoft's "agreements". They look more like racketeering than cooperation.
civilian 13 hours ago 0 replies      
Cool! I'm going to try to do more Xmas shopping at B&N this season.
newgrad 15 hours ago 1 reply      
tl;dr, anyone?
cooldeal 17 hours ago 1 reply      
Groklaw used to be good a while ago, but now seems to have degenerated into extreme bias against Microsoft. We do not see such articles written by PJ on Apple, for example. While they're still interesting, they need to be taken with a large dose of salt.
How to read Haskell like Python ezyang.com
89 points by xtacy  9 hours ago   47 comments top 8
antipax 8 hours ago 4 replies      
To be fair, monadic code does not necessarily have side effects. It's just a useful way of thinking about computational steps. `Maybe` is a monad that is completely pure and has no side effects: http://www.haskell.org/ghc/docs/latest/html/libraries/base/s...

I understand that this article is geared towards beginners, so this is probably just a simplification on the author's part. Other than that it's a great article.

eru 8 hours ago 0 replies      
A set of useful lies.

Some of my co-workers were interested in learning to read Haskell, not so much in writing it. Let's see whether they like it.

mvzink 7 hours ago 0 replies      
> But Haskell programmers are allergic to extra variables.

Point-free style, best style. http://news.ycombinator.com/item?id=3233870

yobbobandana 7 hours ago 5 replies      
I've tried to learn Haskell a couple times, and I keep running into the basic problem of not being able to search for info on terms like ">>=". If you don't know what it means, how do you find out? I certainly never knew until reading in this article that they were called "fish" operators. I previously tried to work through 3 or 4 different Haskell tutorials, and still didn't know this.

This article seems very helpful for simply enabling someone with Python experience to learn Haskell.

switz 50 minutes ago 0 replies      
Is it weird that I know haskell and not python? I think so.
samg_ 7 hours ago 2 replies      
For me, one of the biggest obstacles to understanding lots of Haskell code is opaque infix operators.
kemiller 7 hours ago 0 replies      
I think the "dabbling" phase of learning a language is important, and this is the best intro for Haskell dabblers I've ever seen. Nice work, author.
rfugger 8 hours ago 7 replies      
Whoa, as a python guy, this makes me not want to learn Haskell at all. The syntax seems as bad a Perl.
       cached 15 November 2011 09:02:01 GMT