skysight-inc/HackerNews huggingface dataset:
> 1. Should I do it on the client or the server?

I think most applications use both client and server components. If your question is more on the lines of which one plays a major role, it depends mostly on the app. GMail won't be half as good without all the JS magic, but again, I assume it also has a heavy server component.

> 2. What should be travelling between the client and the server?

If you need any client side processing or are using a framework which works on raw data(backbone.js), then json/xml/...; or else if your goal is to run the app without reloading unnecessary parts, html is a better idea.

> 3. Based on the answer to #2, what else do I need on the client?

I am not sure what you are looking for here, but if your goal is to make a responsive app, there are some basic things to take care of.

Have bookmarkable links and don't break the back button. Doing that is breaking the base paradigm, and plain ajax does that.

Use something that provides bookmarkable links, and doesn't break the back/forwrad button; and at the same time, doesn't reload the whole page when only a small portion of the page needs reloading.

pjax is one such solution - the 37signals guys investigated it, then went with their home grown solution, but I think pjax will work just fine for majority of use cases.

The trick to pjax is serving content without layout if it is a pjax reques; with layout otherwise. There is nothing you can't handroll, but 1) why would you want to? 2) pjax uses pushState to preserve links and back button behavior.

Here is the pjax code:

https://github.com/defunkt/jquery-pjax

And here is a gist in Flask/Python which shows conditionally including the layout:

https://gist.github.com/830fc28c680e77759b4b
With Windows like these who needs enemies
'Brand New' commentary on the new windows logo
Study: Cell tower leaks enable easy location tracking
I regretfully have to agree. When I was pursuing a masters in math, I used latex all the time, and I loved it. When I write anything about math or computer science, I prefer Latex to any other tool I tried. I got to a point I could type in Latex faster than I could hand write the equations.

But then I switched to law school, which required the use of MS Word. I found Word quite amenable to writing nontechnical documents, and it was much easier to explain how to make a table of contents in Word to my non-technical classmates than it would have been to explain Latex.

I love Latex within its field, but I do not see the point of evangelizing it to non-technical users.
In terms of client-side MVC vs server-side renderings, the ratio is more like 90/10 or 95/5.

DHH, I think you misunderstood here; I believe Jeremy's referring to the blog post where you said Basecamp Next had almost as many lines of CoffeeScript as lines of Ruby. I think that's where the 50/50 number came from.

I'm less curious about the performance here than I am about the maintainability. I saw a tweet where somebody said he'd done things the same way and encountered a maintenance nightmare -- he mentioned nested caching and pjax specifically -- but without context or detail, I'm taking that with a grain of salt. I think disregarding it completely would be a mistake too, though.

It's also kind of tautological that DHH is going to have a more pleasant experience developing in Rails than he is in other frameworks. ;-)
>He's referring to the master key

Yeah, that.
To add to this, R has fantastic LaTeX interoperability through Sweave, which makes it pretty simple to write R syntax whose results are directly rendered in LaTeX. I wrote about 100 pages worth of stats problem sets this way, and it was a life-saver. Any science that requires stats can benefit from LaTeX.
Where can you learn to use it effectively in under five minutes?
[Without knowing the full details of the case or proceedings] I don't see how putting this, clearly quite gifted, young person in jail for 8 months is going to help him, Facebook or anyone else for that matter.

Surely, there must be other options except jail?! Maybe some form of community service where he would then be an asset rather than a cost to the general public. If he can infiltrate Facebook, I am sure there are government sites and systems with much more sensitive information that he could be testing and identifying security threats.

Eight months hard time, plus the stigma of a criminal record, just seem like such a waste.
Seeing as how Verizon's operating revenue is over $100 Billion a year (it's about the same as Apples). They'd have 1 year to make it work before it sunk the company. while I agree the mobile carrier biz is all sorts of mal-adjusted to market demands insufferably dis-jointed, the technology and it's robustness they bring to the table is really quite remarkable.
I remember the last two career fairs at my engineering school in late 2002 / early 2003. There were crickets chirping. Five airlines had booked booths, but only one sent a representative to say "we're not hiring.' The other four were left empty. Tech companies were about as sparse, but most at least sent a rep. The only ones doing any real hiring were FedEx (but not for technical positions - package handling only!) and a GeoEngineering firm that was looking for GIS grads.

Talk about depressing.
John Nash's Letter to the NSA
ditto. internet is making us lazy when it comes to taking initiative. i feel it might be an ego thing - noone wants to be told "No, I'm busy, and don't got time for you"
Well there are other benefits. [1]

Though I suspect you're just talking about cases that are best chalked up to: there's no accounting for the logic of the illogical.

[1] If you want to ensure a separation between display code and business logic, it's not a bad way to draw a line; some heavily data-driven problems do tangibly benefit from fetching JSON and formatting on the client; solutions that have multiple views on essentially the same data sets benefit in much the same way that solutions with multiple clients benefit; etc.
There is actually a huge amount of OneNote users out there. For note taking apps, it usually comes down to Evernote or OneNote.
> In many cases, this means that these shims cause many ES5 methods to silently fail.

Considering you don't even get the opportunity to detect the problem and turn off the failing progressive enhancement in favor of the non-js behavior, this doesn't seem like a realistic alternative to just writing pre-ES5 code that's known to work.
"This is nothing but feel good linkbait for the Apple fans to lap up."

"After all, this is a site where Gruber and Sieger get top billing but Paul Thurrotts Winsupersite is shadowbanned totally from even appearing on the site, probably due to sensitive fans' excessive flagging."

Those are not substantial critiques, those are insults. Those are bad contributions to the discourse here and make you look like an asshole.

"They have been recently releasing apps for iOS and Android ... they released OneNote for Android and iOS"

Much better.
Google explains how and why Safari privacy settings were circumvented
wtf. that's just awesome. why aren't everyone using that?
You misunderstand, knowing how someone else is going to trade allows you to do market manipulation, knowinf how you are going to trade yourself obviously doesn't help you do market manipulation
I'm pretty sure a real farm doesn't have much to do with FarmVille, except for the names and some concepts.
And besides, writing an algorithm to do what people do on FV is easy enough. The hard parts on a farm is data acquisition,
crunching it (which requires experts to write software for) and the manual labor.
It's not just the tools that are used. As Microsoft (and OpenOffice folks) understood in the 90's, it's all about file formats.

On one hand, you have things like CSV which Excel understands but doesn't prefer... easily generatable from a database or flat-file even using comamnd line cut/sed/awk.

On the other hand you have XLS(X) - which a TON of enterprise software generates - because it works better on Excel (lockin!) and supports things CSV doesn't (multi-sheet files, formatting, even pivot tables and such).

To win or even compete in this space you need to support the file formats - Apple's Numbers supports XLSX, but the feature support is minimal and lots of edge-conditions that are not present when using Excel crop up here (as with Libre/OpenOffice).
Pandoc (http://johnmacfarlane.net/pandoc/) is also very good, allowing you to embed LaTeX inside markdown. So you might do

The greek for the letter _A_ is $\alpha$

mashing up the simple markup for bold, italic, lists, headers, and quotes from markdown with the more fully-featured LaTeX support for equations.
Yes, it should be easy to fix. That said, you downplay the weakness too strongly: it was because of the lack of working ASLR that allowed me to use the mempodipper exploit (as my port, "mempodroid" [1]) to get root on all the current ICS devices. (While sometimes you can adjust an exploit to work around ASLR, this exploit requires you to know an absolute address before the program executes.)

[1] https://github.com/saurik/mempodroid
How to piss off a kernel subsystem maintainer
"Why do you need a machine" DNA sequencer on a USB stick
Proud to have published technical books that still deliver value after 20+ years
It's funny you should mention ties, I thought of exactly the same analogy. :)

But again, I think it's frankly weird that when someone makes a request for consensus you start talking about "rules" that are "dictated" that "ban" speech. Would you call a co-worker who was older than you "mum"? Probably not. Are you "banned" from doing so? No. Was that a "rule" that was "dictated"? No.

I'll just point this out:

The words "boy" and "girl" are usually used for endearment
The correct counterpart to the use of girl seems to be guy

From my point of view (and I don't mean this insultingly--I have felt almost identically and it wasn't out of malice), your concern to not be dictated to is not a resistance to authority but an (unconscious) attempt to perpetuate a sexist status quo.
The marvinator • Metro
I think in most cases it will be more than 100ms. Much more than that. Just latency to basecamphq.com is 350ms from here (Europe.)
Why do developers resist writing good warning and error messages?
Microsoft makes new Windows 8 logo official, will be Metro styled
Individual ownership of driverless cars is out of reach, and always has been. This pilot program brings it a step closer, despite clearly just a test (e.g. requires two drivers in the car)
I linked http://www.guardian.co.uk/news/datablog/2011/mar/08/internat... elsewhere in the thread, you might find it interesting to peruse.
I agree and do not keep a blog, haven't updated my facebook in years, and do not use twitter in this way.

It is an issue of humble-ness for me as well. I'd rather be queried for data then have the thought/feeling I am forcing it on someone who doesn't want it.

I think this, and other things read here on HN have got me to accept the fact I need to follow suite.

Am I correct in saying that another potential benefit of this is that keeping the status of a project public makes it more difficult for the creator to ignore/procrastinate/quit the project?
((((())))))) Vitali Klitschko vs. Dereck Chisora
In my experience you need the driver to fully pay attention to the road with one hand on the kill switch and the other on the wheel while the passenger works the computers doing the driving. This is just legislating common sense.

These are Research Vehicles, not final products.
No. If they had registered it and it was sufficiently distinctive/original (questionable here, but that's beside the point), then they would have a relatively straightforward case. Big firms settle cases like this all the time.
... to gage students’ work ...

Really? "gage"? This is an academic blog ...
Politically, big companies often need outside experts to come in and tell them what many employees already know: http://www.overcomingbias.com/2012/01/why-so-much-consulting...
I wholeheartedly agree with you.

I use LaTeX exclusively (with Emacs as editor) for non-technical documents (I study languages), and for me, the most relevant advantages are tightly integrated bibliography and citation management, index and shorthand capabilities and the chance of "line-oriented version control", i.e. LaTeX in git.

And the thing for introducing beginners, help them set up a preamble with the packages they will need. My experience with LaTeX has been that no matter how long you have been using it, there will always be something you will have to alter or look up. But a basic setup is not hard to deduct and by picking the packages relevant to you, you keep your files lean and get to understand what each part does. If you then have other problems you can dive into weird code snippets that only make sense since someone published them saying "Ermh...look...it's complicated...but...works, so copy & paste & be happy".

Once you've set up a basic preamble, people can actually concentrate on the content, and if they have problems, let them write their content first, the beauty of LaTeX is that all formatting woes can be addressed after the content is done.
There was a HR story on the interwebs some time ago, when a job ad had a bullet with more years of .net experience that .net actually existed on the market.
I definitely wasn't encouraging the invention of the term "man logic"--I was pointing out that no-one even thinks about calling things "man logic". That's the dichotomy at play here.
"Those are content-consumption devices, occasionally branching out into cutesy creation."

Haven't we had this discussion way too many times before? How many HN stories have there been of "look at the feat of content creation this person pulled off with an iThing!"?

Specific varieties of work are best suited to the desktop computing UI paradigm. That's distinctly different from "iThings are just content consumption devices." It's insufficiently rigorous thinking; also it's bullshit.

Warren Ellis has written tremendous amounts of his serious work on a (non-iOS) mobile device. Mark O'Connor made an iPad his primary coding device [1]. Atomic Tom could perform a song off of just iThings as instruments on the subway.

Please stop repeating the 'mobile devices are just for content consumption' meme. It's bullshit.

1: http://yieldthought.com/post/12239282034/swapped-my-macbook-...
How To Build A Time Machine - Doc Ignite
And they're all riffing off a pretty old generalized concept.
http://en.wikipedia.org/wiki/Speech_balloon#History

Reminds me of the silly 'cloud' uniqueness debates:
http://www.hanselman.com/blog/ThereIsOnlyOneCloudIconInTheEn...
Those numbers tell how many people have bought the apps, not how many actually uses it. I have all 3 on my iPad, but apart from some early playing around, I've not used them. On paper, it's a great idea, and they are very nicely made. However, it's just way too cumbersome in everyday business.

I'm sure a lot of people benefit from those apps, but I would be very surprised if the "regular-usage" numbers are anywhere near the sales numbers.
I was first excited to see a post on requirements. Then, a little saddened, because as I read it, I noticed that there was little mention of the desired outcome, the overall vision or context, or stakeholders.
Agree on the no controversy. I went looking to make a chat icon for a project about a week ago, and looked on dribbble to see some ideas before I started. Chat icons all looked the same. I found examples that looked nearly identical to the hipChat icon and did something similar in my own icon. Never heard of hipChat but the logo is not original or unthought of. I can't see a problem here.
Italy police seize $6 trillion of fake U.S. T-bonds
Will 2012 Be the Year of the Health Tech Start-up?
RavenDB is an excellent document database for those of us who still have to (or choose to) use .NET. Personally its one of the last remaining factors when I reach for .NET over other tools.

Combining RavenDB with AppHarbor will be a great development story.
Even though AppHarbor's new pricing (IMO) does put off small projects and MVP projects, I still plan to migrate one of my bigger clients to AppHarbor and (hosted) RavenDB as running a VPS is a drag. Just need to get up the motivation to write some code to store PDF files onto S3 rather than the filesystem.
Now we have an operation definition of HTML5 :D
Don't know how it works in the US (or your country of being), but in my country ID laws expect you have to give companies explicit permission to handle your data in the recruitment process.
GOD U#(@&$#!) I HATE slideshows on the internet. I hate hate hate hate them. This was great information packed in a terrible format.

Which leads me to this: Who actually loves slideshows in real life? So why would we like slideshows on the web? It's the same exact problem, the same annoyances. A linear, one by one, hard to scan through, 1 sentence per slide, time consuming, experience.

I'd take a blog with 120 consequent images over a 120 slide slideshow any day. I'm so sorry for my bitching but we need to do something about slides on the web. Can we kill them? We're killing flash and look how much nicer the place is. The web without linear slideshows will be like a park without dog shit.
You speak about tiling window managers as if they were already an anachronism in 1985. Yet today, some of us continue to prefer them, and they remain in active development. What good is a window that's partially covered? I either want to completely see it or I want it to be completely hidden from view. The parlor trick of overlapping windows is useless to me.
That window is not flapping in the wind like the Windows logo.
Yeah, I don't love the type, but when I saw that, I was like, hire THAT guy again.
Welcome to KDE plasma. I actually kind of like it, but really it just needs some good theming.
It's rough times when a rectangle split into four is newsworthy and people suddenly realize they prefer something that was designed in 1985.
OP is measuring page render time on the server. Network latency is variable, and there isn't much one can do to fix it.
"Of course Apple locks down the app store on their iDevices for profit."

I doubt that Apple is solely concerned with profit and even if they were I guess I don't see that as the end of the world.

If Apple is solely concerned with profiting from apps why do they subsidize free ones and credit card fees? {If dev share is actually calculated post cc fees I'll plead ignorance and move on to the other part of the argument.}

99 cent app less 69 cents to developer less 40-70 cents to credit card company less bandwidth fees = loss.

(I've given a range on cc fees because they are shared if you purchase multiple apps within a few days, that mitigates the loss but ultimately someone motivated only by profit would be taking easily avoided losses all over the place in either scenario.)

Isn't it well known that Apple's direct profit on the App Store is a rounding error compared to their other business?

Isn't it then more likely then that their motivation is not primarily to directly profit from it?

While I do think Apple is interested in profit here, I very deliberately listed it as secondary to simplicity which is really at the heart of everything Apple does well. There's a book coming out soon about just this:

http://kensegall.com/blog/2012/02/and-now-a-different-kind-o...

The premise I'm building on is that Apple really profits by making great products that just work and make people happy. Having a super simple way to get apps is part of that.

For 98%+ of users 1 app store >> 2 app stores >> 10 app stores. One App Store just works. It also stops most malware without any action by the user. That's simplicity again.

"What I'm trying to express is my surprise that developers in the desktop world would opt in to a market like this"

I guess again I'll fall back on my Sears comparison. I don't know if Sears still sells software but they did for decades -- Wal-Mart still does for sure though and there's no way Wal-Mart is any more dev friendly then Apple. Way harder to get your product on the shelves at, harder to keep your product there, takes at least as large a cut, etc.

What Wal-Mart does have is tens of millions of customers though. Apple too. So of course devs are going to opt into those markets.
Ex-Apple Designer Creates Teaching UI That “Kills Math” Using Data Viz
Hey Apple used similar icon, let's write a blog post about it and enjoy the 5 minutes of glory!
The kerning immediately irked me, too, but I was thinking the 'W' and 'i' were too close.
And the point is? When was the last time you encoded video on mobile device, when you can off load the process to be done in some automatic batch on your PC, or online (there are at least 4 such services).
The trademark probably involves its usage with that brand name.
That's just FUD though. The potentially "silently failing" methods are all documented, and do not include any of the most commonly used ES5 features (Function.prototype.bind, Array.prototype.filter, etc.).
The GAP one is especially funny.
you meant window.onload
Vegans consume food according to what is pleasant within their ethical standards. Yes they refuse more food due to ethical boundaries, but that doesn't mean they've fundamentally changed how they consume food.

Meat-eaters for example mostly refuse to eat human meat, but choose to eat any other kind of meat that is pleasant--cannibalism excluded.

This standard is strict as well, there isn't any leniency allowed for cannibalism in the common day.
I had seen this technology but had not seen the Bible-writing robot that's linked from this page. Thanks for posting this.
A Benchmark for Reading Flat Files Into Memory
Stop paying your .NET tax and start using proper javascript.
Maybe porn world is more agile than the rest, and thus are able to choose more modern solution.
Direct link http://media.tojicode.com/q3bsp/
Schedule daily database backup with Hibernate and Quartz
This is sales. Correct? Aren't all sales jobs like this?
Apple Restricts Certain APIs to Mac App Store Applications
A thousand prior iterations in the Operating Systems market? Trademarks are specific to markets; that's why UPS can have the color brown but non-shipping-companies can also use brown.
I challenge you to find a better place to go online for specific, actionable advice on the many facets of building an internet business.
https://www.facebook.com/whitehat

Facebook themselves have a policy of tolerance toward white hat hackery (basically `give us a reasonable amount of time before releasing to the public' and `do what you can to protect other users' privacy). I want to hear their side of this.
I think I have an old resume up there.. also, its definitely more than 1 person, although some do call repeatedly, its amazing how rude they can be, if you don't answer they call again in 20 minutes and keep doing this 3-4 times.
I think they should have retained the distinctive red/green/blue/yellow colors of the Windows logo. And skipped the parallax.

The Metro look has lots of flat, colorful squares that are just crying out to become a Windows logo. See this Windows 8 screenshot, for example:

https://en.wikipedia.org/wiki/File:Windows_8_Developer_Previ...
OSNews Browser & OS Stats 2012
Is it possible to be a "white hat" hacker if you weren't actually contracted by the target for penetration testing?
I have ~60 apps installed. So, hardly a large number. The 30K is actually 83K that has been gzip compressed. The uncompressed file is a plist containing some encoded data. You can see the form at: https://gist.github.com/1855135
But, since I haven't taken the time to dig into decoding the data, and don't know exactly what it contains, I removed it from the posted file.