skysight-inc/HackerNews huggingface dataset:
>I'm a bit stumped on toggling comments, though. Any ideas?

" comentify/uncommentify a line or a visual block"
function! Komment()
if getline(".") =~ '^[ \t]*#'
let hls=@/
s/^\([ \t]*\)#\(.*\)$/\1\2
let @/=hls
else
let hls=@/
s/^\([ \t]*\)\(.*\)$/\1#\2
let @/=hls
endif
endfunction
:vnoremap // :call Komment()<CR>
:nnoremap // :call Komment()<CR>

If you want to use c style comment :
function! Komment()
if getline(".") =~ '^[ \t]*\/\*'
let hls=@/
s/^\(\s*\)\/\*\(.*\)\*\/\(\s*\)$/\1\2\3/
let @/=hls
else
let hls=@/
s/[ \t]*$//
s/^\(\s*\)\(.*\)\(\s*\)$/\1\/\* \2 \*\//
let @/=hls
endif
endfunction
:vnoremap <silent> // :call Komment()<CR>
:nnoremap <silent> // :call Komment()<CR>

edited formatting
Another site with responsive design and doesn't fix the sidebar with "position: fixed" in narrow viewports. Filed issue here: https://github.com/rigoneri/syte/issues/7
None of these are lies or even deceit by Apple (apart from a little bit of chartjunk).

Apple may have cherry-picked some particularly complementary surveys/analyses/metrics, but I'm not sure what you'd expect from the keynote of a company's premiere event.
First, DNA is not software and second, before we all get too excited about "Arudino for organisms", have a look at the actual parts:

http://partsregistry.org/Catalog

The biological world is very different from the world of man-made devices and you cannot expect to easily engineer, and even more so, to "program" things using DNA the way you build something from NAND gates or computer instructions - in engineering we strive very hard to make parts independent and abstract away low-level details, in biology everything is interacting all the time (even physically the molecules clash hundreds of times per second) and every low-level physical/chemical effect might be used to serve some purpose. Evolutionary "design" does not have any limits to the intellectual complexity of its results like our limited human intelligence forces us to have in our "purposeful" design process.

Even predicting the outcome of a single gene being expressed is very complicated, protein folding is now a separate field putting our knowledge of physics, chemistry, biology and computer science to a test, and what to say about predicting the interactions of those proteins inside the human body. I wish people would take a good university-level biology 101 course before making nonsensical simplifications and spreading those as "science news".

By the way, I do not doubt this is an interesting initiative and that some useful things will come out of it, I just strongly oppose the notion that we can all now "play with nature’s design".
Oh, I totally agree on patentability, but... not patentable and not getting past the USPTO are two very, very different things.

If HTC and/or Samsung were to get their own versions of the "slide-to-unlock" nonsense past the the USPTO, that would substantially affect at least the US theater of the mobile patent wars.
AMA Request: Paul Graham
Request for Paul Graham to do an "Ask me Anything" right here on Hacker News.
Please, pg.
Tufi Duek Summer 2013, São Paulo
gqap uses a paragraph as a text object so you don't have to be at the start of the paragraph for it to work, just somewhere inside it.
Thanks for saving me a few dollars by avoiding paid reviews. The pricing information/perspective was very helpful too.
I've heard good things about sendgrid
Thank goodness for Apple's curation.
And I'd love a follow up article telling how much hitting the front page of HackerNews helps your sales bump!!
I abhor things like this. Certain types of navigation completely override browser behaviour in this regard and it is somewhat maddening.
Shrinking book royalties and the earnings of his wife, who is a lawyer.
Nodurino - control Arduino using HTML5, Socket.IO and Node.js
Meh. I just want to shorten and share links. goo.gl does the job for me.
Of course they would take out statistics in their favor, it's their presentation. And since mostly Apple fans were tuning in, very little people would call them out on it.
Simpler alternative: tComment http://www.vim.org/scripts/script.php?script_id=1173
Speaking of hacky places to hide API keys, I've just learned you can also put your other non-AWS API keys in the "user data" field on an instance and retrieve them using this http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AE...

Now if those other API providers could also have automatically rotating temporary API keys where the key exchange is secure we'd be set!
All you Need to Know About Apple's New Retina Macbook Pro
I often paste into it texts from other sources, and enable syntax highlight quickly using the command palette. For example, if I paste an XML into a new tab, I'd click

CTRL+SHIFT+P - X - Enter

The first part opens the command palette, the second selects XML syntax, and enter applies it.
I totally agree with this! I wish we could "play with nature's design" like we can program computers. But alas, our technology is woefully inadequate for the task, and our understanding of the natural world is still sadly primitive. What is needed is a generation of people willing to commit themselves to basic science research.

Working in basic science is perhaps not as glamorous as working as an entrepreneur, a programmer, or whatever else. But over the course of a lifetime, the work is infinitely more satisfying.
Wow, not bad. I was surprised to see a new to-do list app do pretty well, knowing how many are out there. Well done!
It's probably best to post this when people are headed to work in GMT or US timezones, or in the afternoon before they leave.
There might be some hope, after all, at least according to David Pogue: "Many Apple observers also wonder if Apple thinks that desktop computers are dead, since not a word was said about the iMac and Mac Pro. An executive did assure me, however, that new models and new designs are under way, probably for release in 2013."

2013, really?

http://pogue.blogs.nytimes.com/2012/06/11/an-explanation-of-...
Yeah, the one big thing that this one has going for it is its noiselessness due to using its case as a heat sink. Torvalds has also talked about how he wants a "whisper-quiet" computing environment; I'm surprised that so few companies treat this as a design target. It's probably more popular among computers designed to be used as thin clients, which it looks like the mintBox is.

It's nice to see how much you can compress into that small package, though.
Pebble wasn't the first watch like this, it wasn't even the first from the company that posted the Kickstarter (they already made the inPulse watch for Android previously).
You can already as Paul Graham (PG) anything on Askolo:

http://askolo.com/pg
While signed in to my Google account, I can't view the public google+ post posted above without being forced to create a Google profile.
Public google+ posts appear in Google's search results. Doesn't that mean that anyone should be able to view it, not just members? Isn't that Cloaking which is against Google's own TOS?
I love these kind of naming conventions. I wonder what the next one in the series will be called and if FLT has been used yet.
Why can't you offload to render nodes?
That and command-clicking on Mac both need to be controlled for when capturing the click event for links for sure.
The system will upscale it to the same physical height by doubling the pixel size of it. No monocle needed (though highly recommended for its long-lasting style).
That's why I wish, over and over, for a Wine equivalent that runs OSX apps.

I have ran some windows audio applications on Ubuntu 10.04 and the timing accuracy (tested by specialist software) was several orders of magnitude higher. In addition, I can achieve higher workloads. This is all with software that wasn't even compiled for my OS.
What Can Go Wrong (a poem about code, art, etc.)
Zach Lieberman's stream of consciousness poem from the end of this year's Eyeo creative code festival.
Vanity plate leads to hit-run driver
A 29-year-old woman drove into a man and a boy in Allentown on Friday and then used a stun gun on the man’s son when he came to help, according to court documents. Yardley Joy Frantz of Allentown was trying to flee the collision at 6:55 p.m. in the 700 block of Clay Street, near N. Seventh Street, when Pedro Gonzalez Jr. confronted her and she zapped him in the chest with the stun gun, police said. Allentown police were able to track down the woman by her personalized license plate, which read ZOMBIE. Police were dispatched to Clay Street on a report of a hit-and-run pedestrian collision. Pedro Gonzalez Jr. told police a car hit his father, Pedro Gonzalez Sr., and his nephew Carlos Correa, who was riding a toy car. Gonzalez Jr. confronted the driver when she tried to leave and she used the stun gun on him. Other witnesses reported seeing the hit-and-run collision and the stun gun attack. They described the driver as a woman in pajama pants and took down her license continue
DNA manipulation would be orders of magnitude more difficult and time consuming with out computers as would anything involving chemistry, molecular biology and understanding genetic structure.

Apps and programming/automation have everything to do with the future of the field, its not just test tubes.
Quick error, on the request an invite page, once you request one, there is no link back to the main website.
Seems like one possible way would be to overflow: hidden the background scrollable area while a popover is open, assuming that doesn't screw up its scroll position. Big problem with that is that it makes scrollbars go away :/
CRM Applications - Agiline
Surado Solutions, the developers and manufacturer of the Surado Customer Relationship Management (CRM) solutions and Agiline, LLC has entered into a Strategic Partnership agreement that authorizes Agiline to support and develop the Surado CRM product line.
Yes - its meant to be a publicly available page. Not sure what's happening for you - I too am signed into google, but have not created a public profile nor do I have a google+ account.
They don't play in the premium segment for high-end desktops anymore. That's their right but it does bum out users who would like a high-end OS X desktop.
That's why I say f*ck it :) You're right.
I love when this gets brought up because Apple was one of the first to move from 4:3 to 16:10 in the first place.
Unless I'm misunderstanding the purpose of your 'TwiddleCase' function, you can simply highlight the text that you want to flip and hit ~ to invert the case.
You can also hold Ctrl and click to get another cursor
>But anywhere in Australia with 3G access (i.e. populated areas) all have the same data tariff, which is comparable to the US price

How do you know the details of AT&T's roaming agreements with Australian carriers?

I know you don't, because your statement is 1000% incorrect.
Thanks a bunch for this, very helpful stuff. And congrats on your well-earned success!

I just launched an app a couple of weeks ago and am past that first spike on your graph (we were reviewed on AppAdvice last week and on TheNextWeb yesterday).

So following your formula for success, I need to add some iOS 5 features and get Apple to feature it. I'll get on that right away. ;) It seems like every single success story of app devs has that in common: they were featured by Apple. That's the maddeningly frustrating part of it all because that process is such a black box.
PEGACSSA_v6.2 exam
PEGACSSA_v6.2 exam, Pegasystems PRPC PEGACSSA_v6.2 exam training materials.exam1pass PEGACSSA_v6.2 study guides. - exam1pass
I agree. The first couple Oatmeal comics I saw were amusing enough, but the formula gets old, fast.
This is very, very cool. One request: would you consider making the color thing not part of the license but just a "polite request"? I understand where you're coming from and have no problem complying, but it's a little confusing and unclear what the legal implications of the rule might be. For example, what if someone forks it and changes the design, getting rid of the border around the pic entirely? I think your rule is very reasonable, but would be better enforced through the honor system, not the law. (Or edit it to make it clear it's not part of the license.)

Also, I personally found it surprising that a second click on one of the social links (e.g. Github) opens the full page on Github. I expected it to be a toggle where the second click would make the Github tab disappear. Not sure if that's just me, but maybe a separate "pull out" or "full window" icon you can click would be more intuitive.
Ask HN: grad school vs full-time founder?
I'm currently in my 2nd year of part-time master's at a top 3 US CS school. Also recently after half a decade working in the industry I left to pursue high tech entrepreneurship full time (I saved up for years just for this). We have 0 revenue at this point in time, and are still in the exploratory phase, so I wouldn't expect any income whatsoever for a long time.

I'm contemplating dropping out of school. Paying out of pocket for a private institution like that is extremely expensive. With that kind of money I could probably stay afloat for an extra year or longer (my goal is to avoid working for someone else again for alap). I'm also not learning much, at least not compared to the hands-on experience of actually hustling and building. The contacts are good though, lots of very smart and somewhat experienced folks all interested in the startup world.

Hypothetically, let's say I can no longer stay afloat in a couple of years, and need to go back to work for a company. Would they rather have an extra year of experience of me running my own company and building and pitching most of the software for it, or would they rather see a really fancy degree? I personally know how much that degree is worth, but does the rest of the world see it that way?

What other options are there out there for people who want to have some income while still working on their ideas? I'd join a startup, but that's mostly "just another job" that goes way beyond 9 to 5, and the employee equity generally isn't really a big incentive. I hear contracting is an option, although I don't know enough about it to be able to tell if I'd still have enough time for my own company and would make enough to feed myself.

Thanks, any suggestions are much appreciated!
Also Microcontroller nerds (at least at my school) swore by Windows. VS integration with Atmel's dev kit is reliable and eliminates some of the elbow grease needed to work with those things (and I have had some nightmares working with them).
I've only seen this one. Is HN bubbling us in? By this I mean an effect similar to google search results being personalized to the person who is searching.
True they still control a huge proportion of the desktop market, but most of that is business desktops. Apple's market share is heavily lopsided towards the high end consumer market. It's similar to their position with the iPhone. They have a minority market share, but its the most valuable part of the market.

For over a decade Microsoft has essentially been able to behave as if they have no competition, while Apple still has a culture of being lean, mean and hungry - plus they now have a hundred billion dollar war chest. I'm glad I'm not working for a competitor of theirs right now. At least

Microsoft does seem to be well aware of the problem, but the question is are they too big and slow to be able to react effectively? In mobile the answer was no. On the desktop they have the advantage of a real and significant market share dominance. It's going to be very interesting to see where things stand in 3 or 4 years time.
Nitpick - ctrl-c isn't exactly the same as esc (it doesn't invoke certain autocommands).

But ctrl-[ is exactly the same.
2012 Apple Design Award Winners are...
Dallas HR consulting services - strategic training and coaching
Adviant is not only an HR outsourcing firm - we offer services to the extent that HR policies, procedures and regulations affect our client's total rewards programs.
Bad Breath
At Teethintel blog you get to know about the various causes that are responsible for teeth problems such as toothache or bad breath, and tips to maintain proper dental health.
I actually just don't get why, architecturally, a platform should have any incentive (besides business) to favour this app or that app.

You can see how this becomes complicated when Twitter & FB both recieved integration, as they both directly compete with each other in a number of spaces.

This kind of deep integration should've been done at an API level, where the user has more control over what kind of apps are deeply integrated, rather than the closed system that Apple supports.
A few years ago, MySpace decided to get creative and re-branded to "My_". [1] And we all know what happened to My_.

[1] http://techcrunch.com/2010/10/08/new-myspace-logo/
My 2c ... its not immediately apparent what it does ... I think you should give a lot more significance to the "One Summary Email Every Day" tagline.

And there's a spelling mistake - its Achieve (or Archive?)
Co-Working Office Space
Co-Working Office Space, Shared & Virtual Office Space Locations. Cloud Virtual Office offers hundreds of office space locations nationwide and worldwide. Cloud Virtual Office shared office space for independent workers, telecommuters & solo entrepreneurs.
True, but from what I've seen biologist for the most part can get along just fine with only a basic knowledge of REGEX and spreadsheet software.

The biologist I've worked with tend to be a resourceful bunch, capable of solving difficult problems with simple tools.

EDIT: Granted, there is a growing need for data-scientist who can help sort through mountains of data for relevant information. But I don't think there is much need for pre-built software solutions. Each lab faces unique problems, and their software development needs, if any, are unique.
You too. Mine's been back-ordered since I ordered it. Which was within the first 24 hours after the launch.
hah I clicked on it thinking it was the python package Humanize. Still, pretty cool
China will be a very significant market for Apple. Here Google gains too much competitors, the biggest competitors are partners of Apple now.

And also the market potential, there are still lot of demand of iOS devices, Mac OS devices, more than North America.
You should probably spell 'Archive' correctly. (or am I missing some trendy pun?)
IOS 6 check out these awesome features that are missing
Very interesting...only if the link worked :P
JavaScript - Named Function Expressions and the IE dilemma
I still think it would be useful and interesting for pg to do an AMA on HN, as it could generate a lot of interesting and balanced questions. There are still lots of relevant things to ask him, such as the recent Facebook IPO. I can't come up with good questions by myself. Thus the AMA request.
But if the masses are made aware of the potential for a better deal, might not their willingness to accept such a price decrease?

In a more competitive, transparent market, I would think others could exploit such dissatisfaction.
So true. At this price range, i'm just gonna buy a Mac mini.
Are they going to include 64bit support? The earlier versions of Visual Studio Express didn't which was a right royal pain for me. I produce a Python library and since Windows users don't have compilers have binary downloads available. To get 64 bit command line compiles I had to do an unholy wedging of VSE and the platform dev kit. (I'd much rather the Python developers used free software instead of forcing this stuff onto the rest of us.)

If anyone is curious you can see the downloads and popularity at http://code.google.com/p/apsw/downloads/list
> V=IR is a mathematical model of a resistor

It's the basis for a model of a resistor, but it's an exact equation of resistance. There is a difference.

> they're testing the model, gathering new data to see how well the models hold up.

No, they are not testing the model, they are trying to improve the model by recording what it did in the past.

To test the model you make a prediction of what it will do in the future, then wait and see if it happens the way your model shows. It can't be done for climate though since it would take decades. They do try to test it by giving it old data and seeing if it predicts current conditions - which is great, but does not help in predicting the future since the input will be different this time.

> you're acting as if those poor scientists haven't realised this yet.

They most definitely do realize how poor the results are (just see how many weasel words they put in the paper linked to this topic), they just have no better options.

> try looking at http://en.wikipedia.org/wiki/Mathematical_model - what do you see? Ooh - equations.

Do you really not understand the difference between a model and a fundamental equation? A model does not have perfect input, and a model may not include all things that can affect the output.

An physical law (an equation usually), is exact. It might not apply to real physical objects (like the ideal gas law), but that doesn't make the equation a model - the equation is correct for where it's used, it just doesn't cover everything.

Excellent quote BTW, but don't take from that that everything is a model. The real world is not a model - if I test something and it does something in the real world, I have real information. In a model I only have the information I put in it, and it's simply impossible for me to put in everything.

I found a great example for you: http://en.wikipedia.org/wiki/Castle_Bravo#Cause_of_high_yiel...

They made a model - but they missed something. Good thing they were able to test it, and see what they missed. But if you don't have the ability to test? (Like climate.) Then your model is useless.

A model is useful only if you can test it. The model will help you know what to test, the model will help you see if you understand the topic. But a model you can not test is useless.

(Just to repeat myself: I'm not arguing about models, I'm arguing about models that can't be tested.)
Wonder if it'll integrate with Square.

Bring your iPhone with a coupon, have iPhone based POS recognize it wirelessly or via QR code.
I use both Emacs and vim on a daily basis. Emacs is my main editor and vim is for quickly dropping in to make a change in a terminal either locally or on a server.

Both are amazing. Both are rock solid. Both are infinitely extensible. Both are free as in beer and as in freedom.

I'm not afraid of paying good money for software. I don't think it is necessary to pay for a closed-source text editor when such good open-source options exist that can do everything the commercial product can do and more.

TextMate (and now Sublime Text) have been popular in the hacker community, particularly with Rails people. The only advantage I can see is eye-candy. They look great on Macs.

I tried TextMate and put it in the trash as soon as I found it had no split windows. Not only that, I couldn't add split windows even if I had the time. If vim or Emacs is missing something, you can add it.

End of rant.
How it should be, IMO. Seems to me the NSA is on the short list of places you would absolutely want to staff with (some of) your best-and-brightest.

Assuming, of course, that you agree with the mission and methods of the NSA.
I'm not even signed in, and I can read it fine. I think there must be some other bug going on here.
How and Why Twitter uses scala
This is nice if you just want a really really lightweight date humanizer with no i18n support. If you want a full-blown date/time parser/formatter/humanizer, I highly recommend moment.js

http://momentjs.com/
It's set up like that in https://github.com/rigoneri/syte/blob/21ed38790bbfab3e7a7321... .

Could be changed to only preventDefault/stopPropagation if it doesn't match one of the specially tagged links, or by setting up a different selector for the specially handled links.
How To Mock C Functions with Isolator++
I really wanted to hate this, but this is actually really well done. Great integration while making it feel native to the site. I love this.