skysight-inc/HackerNews huggingface dataset:
Why your body jerks before you fall asleep
I had the opposite feeling.

In general, I try to eat lowish carbs (maybe 50-100g a day) avoiding mostly grain based products. When I was more seriously tracking what I ate and did a lot of weight lifting, I ended up eating a few more carbs (maybe around 200g) on training days. Basically high fat/low carb on non training days, moderate carb/low fat on training days. Protein remained the same.

The days I was more satisfied were the carb days. The problem was the next day. Whenever I ate a lot of carbs, the next day I would just feel hungry all the time even though all I ate was protein and fat. The days following not having carbs, even though I ate carbs, I rarely felt hungry.
I've moved to Cinnamon, too.

I tried Gnome 3 for a few weeks, went back to a simple window manager for awhile (I had used Openbox for years), and also tried Unity and KDE4. Turns out I'm used to a certain kind of workflow based on "traditional" desktops. I prefer having resizable floating windows to maximized windows, I rely on too much desktop infrastructure to just use a window manager anymore, and KDE has extremely busy and cluttered interfaces. I've never seen anything like it, it was overwhelming.
I'm not interested in purchasing Apple products, for other reasons.
That does look intriguing. I'll have to do some research to see if its suitable to my use case. Thanks Martin.
Lots of people seem to declare ; or , to be useless keys and remap them. They're two of my most used movement keys in certain circumstances.

I used to have , remapped to <leader> but switched back when I realised what I was missing out on. I'd advise anybody else to reconsider if they've made the same mistake I did.
I used to use this guy's program for palm pilot when memorizing some foreign language vocabulary. It was a pretty nice program and he put a lot of thought into the repetition and spacing algorithm. The author seems to think that memorization is the most important thing in the world, the justification being that things can only have subconscious connections once memorized.
If only all my problems could be solved by memorizing facts!
Very interesting - I've had the 'you are x and I claim my five pounds' applied to me before, but the good captain is new to me. Having been to school an hour from Sevenoaks, I at first suspected someone who knows me, but thanks to google I see I can rest easy. Thanks for prompting an amusing bit of reading.
I have always asked myself why that is so? how did it happen that this "mistake" got into everyones mind? you don't say "meters" if you mean "kilometers"...
If Steam is now out on Ubuntu 12.04, they could make it work too on these Ubuntu Tablets?
I've been meaning to try out matcher[0] for usage with CtrlP, I'm not sure how well it works but it's written in C and is purported to speed up search. Not sure if it's still being maintained, however...

[0] https://github.com/burke/matcher
Are you also exercising more than before the diet? If so, it's an uneven comparison.
It depends.

I'm assuming you are not a mid or long distance runner, though.

If you talk to many runners, myself included, we really do crave carbs. Because our bodies need it for the distance we're running.

As a mid-distance runner, proteins are good, but I use them up as energy very, very fast (even when I'm not running), so I get hungry faster if I only eat protein.

IMHO and from my personal experience, of course.
> Why HN enable to change the top bar color?

In all sincerity, what?
I'm not sure why the author advocates job control (ie ctrl-z/fg/bg) instead of using tmux/screen. A multiplexer offers far more flexibility, and most importantly does not lose state even if your session ends (eg ssh connection drops).
Just a snark I guess, sorry...

But you write your paragraphs in sort of an inverted style. You should lead with a topic sentence that states your point and then follow up with specifics or scenarios, etc. It's much easier to read.
Koken will be FREE
What were people using previously? Just plopping their node.js or whatever straight on the network?
Two different approaches to bridging the digital divide
Fabada Asturiana... (Asturian bean and Sausage Stew).
On android: my phone does "just work" and it's got a good camera, and plays youtube videos. I prefer hacking on the raspberrypi, personally.
Sick children.

People maltreating startups we've funded.

Any sort of deal involving third parties that might let us down. E.g. fundraising, when we were a fund.
Wow, this is such a simple and elegant idea.

Might've been a bit more practical to build it as a story-hiding extension rather than a separate site. And I just happen to have such extension and... oh, look... it's under the BSD license... hint hint :)

[0] http://swapped.cc/iip

[1] https://github.com/apankrat/internet-improvement-project/tre...
To be fair, it's something that we think happened based on the limited amount of awareness available to us thousands of years after the fact.
Thanks to bloggers everywhere.
Can vim do the following?

I'm editing some project with 10000 C++ files.

There is some C++ file I currently don't have open, say "palette.cpp" which is in a subdirectory "project/graphics/algorithms/color/".

Now I want to open palette.cpp without ever having to type, not even with tab autocompletion, that path.

IntelliJ (which I do use for C++ ;)) can do this easily: just press CTRL+R, then palette.cpp, ENTER, and there you are in that file.

Another thing: Some IDE's and editors have this feature where if you change lines, it marks it with some color on the left, as well as colors in the scrollbar, to immediately see which parts of the file were changed compared to git and/or the last time you opened it. Can Vim do this?

Thanks!
I'm inclined to think that this is more a matter of commodity PC manufacturers lacking the courage to do anything different. I'm sure if Dell wanted a large number of good-quality high-resolution 4:3 IPS panels, they could get a reasonable price. Yes, they'd be more expensive than 16:9. Even if the quantity was high, 4:3 is inherently a little more because it's more area for the same diagonal measurement. Everyone's strategy for the past few years seems to be "watch what Apple does and try to make a cheaper version of it".

There actually are two current production laptops I know of with 4:3 screens: the OLPC XO, and the Panasonic Toughbook 31.
This is fantastic, do you plan on extending perhaps with a nuclear-submarine style master key for production deployments?
It will be interesting to see how well they can market the benefits of a 4 MP camera over 8+ MP cameras on other smartphones.

I know that more pixels does not always make for a better camera, but I think the perception from the general public would be that higher = better.

Quite a bold move on their part.
Infographic: Is Your Facebook Page Performing Above The Average?
Ask HN: What is the best OS for a relatively tech-savvy non-programmer to run
I'm in the market for a new computer and I am completely sick of Windows and the Mac OS. Besides internet, I mainly use my computer for watching movies/tv although I sometimes write very basic programs on it. Is there a specific Linux environment that would be best?

Thanks
You could sacrifice most of the range to fit the bomb. A large external pod would be feasible. (This was how the B-58 Hustler carried a bomb.)

Does the Koean Air Force fly CAP 24/7?
There are plenty of ways to lose weight. Cutting calories is a very effective way of losing weight.

This doesn't discount the fact that cutting carbs also works. In my case, it has been working spectacularly. I believe that I don't need to cut calories or cut the amount of food I eat, and still lose weight, by choosing food that is very low in carbs. I limit myself to 1 granola bar per day, plus whatever incidental amounts of carbs I eat through other means, and I've been able to lose a lot of weight in a short period of time. I don't overeat meat or fat, I eat the same diet, just a lot less carbs.
I'm not clicking on any link with nsfw in the url.
iTerm2 has an absolutely amazing history playback, amongst other nice features.
I use a CSS grid framework called Neat (built on top of a Sass mixin library called Bourbon) to do exactly this. Keeps my markup semantic, and is very easy to implement.

Plus, Bourbon has an amazing selection of Sass mixins and functions that make building stylesheets a joy.

I couldn't imagine developing withouteother anymore :)
yup- that's what the voting system is for
As in Ctrl-z to background, and Ctrl-Z to fg back into vim from the shell?
Thanks for the feedback. We've actually been operating our largest program for over a year now. Also, many new, specialized bicycles designed for bikeshare use now exist. We definitely don't want to use $100 Walmart bikes. We make sure the bicycles are up to certain standards for durability and rider comfort, and perform regular and as-needed maintenance.
Thanks for the CSS script link!
Let's be honest here. The fact is college is more necessary then ever, its also desirable. The political conversation today is focused around jobs, and job creation. But its kind of deceiving. Our problem isn't that we can't find enough work for people, its that we can't find enough unskilled, or low skilled work for people. If you've ever spent months looking for a person, in this "high unemployment" era. It'll be obvious to you too, and it's not simply a matter of having unrealistic expectations.

We've entered a new era of employment. It used to be that you could just take a high school student, assume he'll have what you need, then spend a few years mentoring him to fill in the rest. Today, that generic mold doesn't work. A lot of companies are carving value out of doing things more efficiently, and often that means finding people with very specific sets of skills.

Online education is EXTREMELY useful for this. I personally was able to get my current job by watching online lectures. I certainly wasn't an expert on the subject, but at the very least I was capable of demonstrating how capable i was to learn it on my own. Formalizing this process would only help this process!

If online education isn't working for some students, I don't think we should be questioning whether online education is the right path. Clearly it's necessary, and the small successes its had now has proven that it has potential. Instead of going backwards, we should be asking how we can go forwards.
We are using HAproxy to direct traffic and nginx only as a web server. The config looks something like this: http://stackoverflow.com/a/8640394/218413
Finding Happiness in the Transition from Founder to Programmer
It's popular right now because some dude wrote a book about it and goes around doing speaking engagements about it. In a year or two, the people who are doing it now will move on to whatever the new diet is. That's pretty much every single "fad diet" ever.
The CtrlP plugin will make opening these files a breeze. If you just trigger it and type palette.cpp, it should be the first match.
In the U.S. what would happen without the Penny? Value of the Penny through time
Thanks for your feedback. The next time we will simply post the link with the domain removed.
Interactive Map of Every Meteorite Impact Since 2,300 B.C.
Yes, it can run all of the standard desktop apps. The video talks about adding a keyboard and mouse and using it like a desktop.

I don't think it mentions whether it can run those apps while being a tablet, though. It's not clear if it'll let you do that or not. (I would guess it will, or at least it will if GTK and Qt add support for whatever windowing system this uses.)
It seems "find" will do you what you need. Source: http://stackoverflow.com/a/3407288

Not sure if this helps but FuzzyFinder: http://www.vim.org/scripts/script.php?script_id=1984

Source: http://stackoverflow.com/a/573097
note - I have the genes for running.

One marathon in an Ironman (3:48). Tried for a BQ this year, but was injured and pulled out 10 miles in.

I under-trained the run (three runs over 15 miles, but raced a few half ironmans in training) and did a lot of long bikes on an indoor trainer (3-4 hrs) with short runs after. When I got to the run, I felt fine and just paced myself. Most ironmans have aid stations every mile, so the last 10k, I walked the aid stations.
Do you have a spec reference for that? I was under the impression you could safely const_cast and modify pretty much anything. Perhaps it was just primitives like ints, or const member functions.
Here's an old userscript my co-founder built: http://userscripts.org/scripts/show/32404
> "As the saying goes, a new-born puppy knows no fear of a tiger. South Korea's erratic behavior would only herald its final destruction," North Korean diplomat Jon Yong Ryong told the meeting.

North Korean diplomats seem pretty childish.
There are only 4 macronutrients (foods metabolism can run on): carbs, fat, protein, & ethanol. So if you believe protein & fat are nutrients, then you must believe carbs are as well.
Just use more than one outbound mail server. All "normal" mail goes through a server that's rate-limited heavily -- a few dozen an hour, at the most. Bulk email has to be sent through a separate outbound mail server, and there can be much more scrutiny on what goes through that -- because the legitimate "mass mailings" are going to be comparatively rare, and are probably worth having someone take a look at them, to make sure they're OK.
1. It is done like this:

:e **/palette.cpp<CR>

2. You can try http://www.vim.org/scripts/script.php?script_id=3052 but I'm positive there are other implementations.
Excellent!

Now all we need is WebRTC.
Something like varnish or haproxy. In my setup I had varnish proxying "/websocket" directly to my app server, and everything else to nginx.
> Chinese hackers can be beaten. The reason they are so successful right now is that the average level of computer and network and security competence in the world is extremely low.

I bet they're constantly having laughs at our expense. They must think of the US as a bunch of flubby overrated dimwits.
I can live without Vim but cannot without Vim mode.

All apps I have used since learning Vim has some kind of Vim bindings - Visual Studio, Eclipse, PyCharm and ST2. I also rely on browser vim plugins (vimium, vimperator).

It seems Vim mode is becoming ubiquitous in my apps.
It's a progressive news magazine startup published for tablets.

Info about the venture:

http://techcrunch.com/2011/10/14/vescere-bracis-meis/

Founder reflects on the venture half a year after launch:

http://pandodaily.com/2012/05/07/nsfw-corp-hmtl5/

3000 subscribers at 99 cents per single issue or $26 per 52 issue year as of recently:

http://betabeat.com/2012/09/nsfw-corp-paul-carr-war-nerd-joh...
The page only shows thumbnails. You can click on the image to get the full picture.
I answered no because I am a runner, but I have not run a full marathon yet. I am planning on doing my first one in June.
To speed up ssh login time, try adding the following to your ~/.ssh/config:

Host *
ControlMaster auto
ControlPath ~/.ssh/auth/%r@%h:%p
ControlPersist yes

For me this changes connection times from 1.7 seconds to 0.189 seconds when connecting to a host over the internet.
Charge leaks through the conductors as well into the connecting circuits, through the packaging and the adhesives. No insulator doesn't leak.
I've been using HAProxy in the interim.
Microsoft to link together Skype and Lync in June along with new mobile apps
It would make sense for Nokia to not put all its eggs in one basket. Windows is not doing well on mobile devices, so Nokia investing in other options would be the safe thing to do.
Most of the things of such kind are available as vim plugins (for the 'open file without path' thing, see e.g. http://www.vim.org/scripts/script.php?script_id=858) - you can then remap those new commands to keys/shortcuts.
Does an editorial titled "The Trouble With Online College" make no mention of colleges that only operate online? That seems... odd, I guess.

Ignoring that bit of my personal pedantry, this editorial was disappointingly shallow. I get this is a newspaper editorial and not an essay, research paper, or some sort of manifesto but still...

The author's position seems to pivot entirely on class-time (or, more broadly, face-time) with teachers. I posit that there are many more equally-pressing issues.

For instance (anecdotally speaking), first-year students either know what formats and incarnations to expect from traditional classes, or they are able to quickly learn what to expect; online courses often have very little in common with one another.

Online courses differ in interface, necessary/compatible software and hardware, and how and what course information is available. Online courses are still young and improving.

I'm still not sure how online course developers will ultimately tackle the most fundamental issue with online courses: trust. How can you as a teacher or course administrator be confident that the person on the other end is who he/she says he is and that the person isn't using contraband resources?

I was hoping for more depth in this article because determining and implementing the appropriate mix of technology in education is objectively necessary.
It's not bad, there's just the occasional curse word when dealing with frustration around the loss of a loved one. No photos of scantily-clad ladies parading about.
Of course if you watch till the end you see that the form changes depending on context. A phone docked to a tablet docked with keyboard/mouse, but ultimately driven by the phone. That would pretty convenient in all forms of input.
Jonathan Stray's Computational Journalism Course is Now Online
The only way to make carriers powerless is if consumers buy phones unsubsidized. Even Apple makes concessions to carriers.
one glaring flaw: you have to hold it

This isn't really a flaw, tablets aren't going to replace computers they are just another computer that is used differently. They are better for reading and passing around.

Products like the Surface Pro I think are overselling the form factor.
It's just that it gives me the heebee-jeebees to see everybody change their mind together.

Eliezer often cites a theorem from a mathematician that says that ideal rational agents can't disagree and applies it to normal conversation. In the LW circle this is used to bully people into conformity. No allowance is given for the time that it takes humans to think things through or negotiate on a set of priors based on their joint life experience. In practice at LW, it means that if you haven't conformed to a result that disturbs you within the course of a single conversation then you must be irrational. Because by Aumann's theorem rational agents will not remain in an undecided state.

They really are a bunch of borg.
That is true, but it's extremely rare to be able to take advantage of that. When people think of const as a potential optimization aid, it's almost always in the context of const pointers, which actually do nothing at all for optimization.
The python documentation is adequate. The only thing I think it needs is more example code.
I was in America, in LA, a few years back (I'm British), when the whole Obamacare thing was being debated everywhere.

The one thing I noticed, and it was a rule that didn't have a single exception, was that everyone I talked to could give at least one example of a time when either they or somebody they personally knew had been faced with a ruinous bill for healthcare. People who'd been bankrupted, people who'd fled to another state or even left the country to get away from a hospital bill.

And yet even after seeing whole families' lives literally torn apart, first-hand, they still were against any healthcare reform.

I tried then, and I've tried in the years since, but I simply cannot understand where they're coming from. How anyone can support a healthcare system in this day & age that can, and does, bankrupt or refuse to treat people.. I just can't understand it.
If you run Perl in CGI it creates a new VM for every single request. How is this different?
You can do `:sh` instead of `:!sh`.

Ctrl+z suspends Vim so that you are back to where you were when you started Vim.

:sh starts a new shell in Vim's current directory.

Both options have their use.
A 21km run though is really insufficient though for your long run!
Ubuntu is free so they need to make their money somehow, and consumers are unlikely to spring for Canonical's expert training, support, or consulting fees. Perhaps if you had to purchase Ubuntu for $29 on top of your naked device price (there's likely very little margin in the hardware), the incentive to charge carriers for customization wouldn't be there.
You're falling into the standard weight loss trap...

"It's too hard, it's too complicated, I'll never lose weight".

For the vast majority of people that need to lose weight, keeping it simple is the best thing.

Goal:

Eat less calories than you use each day. (fullstop!)

Once they've lost a chunk of weight, they can start dialing it in with complicated stuff about carbs vs. fat vs. protein etc, etc, etc,
Social Media and Cities Workshop at ICWSM 2013
The system does bankrupt people, but it doesn't refuse to treat people. That is why people go bankrupt - the hospital has to treat everyone, then hands them an immense bill.
He should have built the town in mirror image so as to account for driving on the right. It may be that the interaction of various turns across the road have an impact.
In terminal.
I do a large amount of my developing in vimdiff which, coupled with version control, does what you ask.
In which court would that suit be held in, and who would be the judge of any case? If the judging body ruled against China, how would any sort of punishment or punitive damages be enforced?

There seems to be a common myth that the "law" in "international law" is in anywhere near as strong as "domestic law". International law is mostly meaningless and just comprises agreements between countries that could be broken or ignored.
Indeed, went from unusable to smooth on a nexus 7
I'm not sure what is supposed to be noticed in the second video, but the first one is basically already possible with current tablets, other than the "everything is transparent".

I mean, there is no deep conceptual difference between something like leafsnap and what is shown there.

But even looking at that, it still doesn't show why a tablet form factor (thinking >9" diagonal) is better for this things than something sized like a larger phone, or a foldable thingy like the (sadly dead) MS Courier.
Android OTA code injection. [Video]
I have a pretty good cardio, so when I started running I felt like I had no limits. Lesson learned: beware of the shin splints. Seems like the solution is to use your forefoot instead of the heels.
There is one completely awesome thing here - the fact that the phone itself can/will drive all form factors via docking etc... tablet, TV and computer all driven off the phone. That's incredible if it comes to fruition.
Seems like you're essentially saying that you don't trust it because it's not a peer-reviewed crypto system using TLS. Can you see that it's flawed in its specific implementation?

This is a real community project. If you can see a way to improve something, just open a pull request on github.
>> Your Ubuntu tablet has multiple secure user accounts...

Thank goodness. The absence of this makes every tablet OS out there today pretty weak sauce. If I can't lock the screen, or inhibit another person in the house from opening my email, Dropbox folder, etc., let alone allow them to 'switch user', then no one else can borrow the device. An-ipad-per-child isn't terribly economical, in my book.
I received your email so I'll ping you back directly.
Thanks for reaching out!
I've had ; mapped to : forever.

Is there a use for `;` I'm missing out on? `;` just seems to be for stuff like "`fp` -- Oh wait, I didn't see all the p's between my cursor and the p I wanted. ; ; ; ;."

Now I use easymotion.vim which obviates that scenario.